/* ==========================================================================
   HERO V2 — PRODUCTION HOMEPAGE HERO
   Grace and Praise Bangladeshi Church
   --------------------------------------------------------------------------
   Source: preview/homepage-v2/homepage-v2.css (approved preview).
   Differences from the preview stylesheet:
     - No global `html` / `body` / `img` / `*` rules. Everything that the
       preview applied to the document is rescoped under `.v2-hero` so this
       file cannot affect any other part of the production homepage.
     - Preview-only chrome (skip link, preview header/nav, watermark) removed.
     - Design tokens live on `.v2-hero` instead of `:root`.
   The hero is intentionally dark in BOTH light and dark site themes; see the
   THEME ISOLATION block at the end of this file.
   ========================================================================== */

/* ---------- Design tokens (scoped to the hero, not :root) ---------- */
.v2-hero {
    /* Premium navy */
    --v2-navy-900: #060d1a;
    --v2-navy-800: #0a1526;
    --v2-navy-700: #0f2036;
    --v2-navy-600: #16304f;
    --v2-navy-500: #1d3d63;

    /* Warm gold */
    --v2-gold-300: #fbe6b0;
    --v2-gold-400: #edc766;
    --v2-gold-500: #e7b84a;
    --v2-gold-600: #cf9a2f;

    /* Cultural accents (subtle) */
    --v2-bd-green: #0f7a5a;
    --v2-bd-red: #d1483c;
    --v2-us-navy: #1b325f;
    --v2-us-gold: #e7b84a;

    /* Neutrals / text */
    --v2-ink: #f4f1e9;
    --v2-ink-soft: rgba(244, 241, 233, 0.78);
    --v2-ink-muted: rgba(244, 241, 233, 0.58);

    /* Glass */
    --v2-glass-bg: rgba(255, 255, 255, 0.07);
    --v2-glass-border: rgba(255, 255, 255, 0.16);
    --v2-glass-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.65);

    /* Type */
    --v2-font-heading: 'Cinzel', 'Playfair Display', Georgia, serif;
    --v2-font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Layout */
    --v2-maxw: 1240px;
    --v2-radius: 20px;
    --v2-ease: cubic-bezier(0.22, 1, 0.36, 1);
}


/* ---------- Scoped reset (never global) ---------- */
.v2-hero *,
.v2-hero *::before,
.v2-hero *::after {
    box-sizing: border-box;
}

.v2-hero img {
    max-width: 100%;
    display: block;
}

.v2-hero {
    position: relative;
    max-width: var(--v2-maxw);
    margin: 0 auto;
    padding: clamp(2.5rem, 5vw, 5rem) 1.5rem clamp(3rem, 6vw, 6rem);
    overflow: hidden;
    /* Hero owns its own continuous dark background so the whole section
       (content + cross + photo cards) is one unbroken navy field. */
    background: linear-gradient(160deg, var(--v2-navy-900) 0%, var(--v2-navy-700) 55%, var(--v2-navy-800) 100%);
}

.v2-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.v2-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
}

.v2-bg-glow--gold {
    width: 46vw;
    height: 46vw;
    max-width: 620px;
    max-height: 620px;
    top: -14%;
    right: -8%;
    background: radial-gradient(circle, rgba(231, 184, 74, 0.5), transparent 70%);
}

.v2-bg-glow--teal {
    width: 40vw;
    height: 40vw;
    max-width: 520px;
    max-height: 520px;
    bottom: -18%;
    left: -12%;
    background: radial-gradient(circle, rgba(15, 122, 90, 0.4), transparent 70%);
}

/* soft Bangladesh red accent glow (very subtle) */
.v2-bg-glow--rose {
    width: 30vw;
    height: 30vw;
    max-width: 380px;
    max-height: 380px;
    top: 30%;
    right: 26%;
    opacity: 0.4;
    mix-blend-mode: screen;
    background: radial-gradient(circle, rgba(209, 72, 60, 0.32), transparent 70%);
}

/* subtle geometric grid */
.v2-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 72%);
}

/* Bengali-inspired Jamdani lattice + Nakshi Kantha running-stitch (very subtle) */
.v2-bg-textile {
    position: absolute;
    inset: 0;
    opacity: 0.28;
    background-image:
        /* Jamdani diamond lattice with floret nodes */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cg fill='none' stroke='%23e7b84a' stroke-width='0.6' opacity='0.5'%3E%3Cpath d='M32 2 L62 32 L32 62 L2 32 Z'/%3E%3Cpath d='M32 16 L48 32 L32 48 L16 32 Z'/%3E%3C/g%3E%3Cg fill='%23e7b84a' opacity='0.42'%3E%3Ccircle cx='32' cy='32' r='1.5'/%3E%3Ccircle cx='32' cy='2' r='1'/%3E%3Ccircle cx='32' cy='62' r='1'/%3E%3Ccircle cx='2' cy='32' r='1'/%3E%3Ccircle cx='62' cy='32' r='1'/%3E%3C/g%3E%3C/svg%3E"),
        /* green kantha running stitch */
        repeating-linear-gradient(38deg, transparent 0 11px, rgba(15, 122, 90, 0.10) 11px 17px, transparent 17px 30px),
        /* red kantha running stitch */
        repeating-linear-gradient(-38deg, transparent 0 13px, rgba(209, 72, 60, 0.08) 13px 18px, transparent 18px 34px);
    background-size: 64px 64px, auto, auto;
    mask-image: radial-gradient(ellipse at 55% 42%, #000 22%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse at 55% 42%, #000 22%, transparent 78%);
}

.v2-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

/* ---------- Text column ---------- */
.v2-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 1.1rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--v2-gold-400);
}

.v2-eyebrow-mark {
    width: 34px;
    height: 2px;
    background: linear-gradient(90deg, var(--v2-gold-500), transparent);
}

.v2-hero-heading {
    font-family: var(--v2-font-heading);
    font-weight: 700;
    line-height: 1.04;
    margin: 0 0 1rem;
    font-size: clamp(2.4rem, 6vw, 4.3rem);
    letter-spacing: 0.01em;
}

.v2-heading-line {
    display: block;
    white-space: nowrap;
}

.v2-heading-accent {
    background: linear-gradient(120deg, var(--v2-gold-300), var(--v2-gold-500) 55%, var(--v2-gold-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.v2-tagline {
    font-family: var(--v2-font-heading);
    font-size: clamp(1.05rem, 2.2vw, 1.4rem);
    color: var(--v2-ink);
    margin: 0 0 1.1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.v2-lede {
    max-width: 46ch;
    margin: 0 0 1.8rem;
    font-size: clamp(1rem, 1.6vw, 1.12rem);
    line-height: 1.6;
    color: var(--v2-ink-soft);
}

/* Service details */
.v2-service {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    margin: 0 0 1rem;
    padding: 1rem 1.2rem;
    border-radius: 16px;
    background: var(--v2-glass-bg);
    border: 1px solid var(--v2-glass-border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    width: fit-content;
    max-width: 100%;
}

.v2-service-item {
    margin: 0;
}

.v2-service-item dt {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--v2-gold-400);
    margin-bottom: 0.25rem;
}

.v2-service-item dd {
    margin: 0;
    font-family: var(--v2-font-heading);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 600;
    color: var(--v2-ink);
}

.v2-service-divider {
    width: 1px;
    align-self: stretch;
    background: linear-gradient(180deg, transparent, var(--v2-glass-border), transparent);
}

.v2-welcome-line {
    margin: 0 0 1.9rem;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    color: var(--v2-ink-muted);
}

.v2-welcome-line span {
    color: var(--v2-gold-500);
    padding: 0 0.35rem;
}

/* CTAs */
.v2-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin: 0 0 2rem;
}

.v2-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 1.7rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.25s var(--v2-ease), box-shadow 0.25s var(--v2-ease), background 0.25s var(--v2-ease);
}

.v2-btn--primary {
    background: linear-gradient(135deg, var(--v2-gold-400), var(--v2-gold-600));
    color: var(--v2-navy-900);
    box-shadow: 0 16px 34px -14px rgba(231, 184, 74, 0.85);
}

.v2-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -14px rgba(231, 184, 74, 0.95);
}

.v2-btn--secondary {
    background: transparent;
    color: var(--v2-ink);
    border: 1px solid var(--v2-glass-border);
    padding-left: 1.9rem;
    padding-right: 1.9rem;
    gap: 0.65rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* Static play glyph for recorded sermons — deliberately not the red live dot. */
.v2-play-icon {
    width: 11px;
    height: 13px;
    flex: 0 0 auto;
    fill: var(--v2-gold-400);
}

.v2-btn--secondary:hover {
    transform: translateY(-2px);
    border-color: rgba(231, 184, 74, 0.6);
    background: rgba(255, 255, 255, 0.05);
}

.v2-btn:focus-visible {
    outline: 2px solid var(--v2-gold-300);
    outline-offset: 3px;
}

/* Identity swatches */
.v2-identity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    color: var(--v2-ink-muted);
}

.v2-identity-text {
    margin-left: 0.35rem;
}

/* ==========================================================================
   VISUAL COLUMN — cross composition + glass photo cards
   ========================================================================== */
.v2-hero-visual {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Southern California mountain / palm / sunset silhouette */
.v2-socal {
    position: absolute;
    left: 50%;
    bottom: -3%;
    transform: translateX(-50%);
    width: 112%;
    max-width: 640px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.9;
    mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}

.v2-socal svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Bangladeshi flowing textile ribbon */
.v2-ribbon {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: v2-ribbon-drift 12s ease-in-out infinite;
}

.v2-ribbon svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}

@keyframes v2-ribbon-drift {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-1.2deg); }
}

.v2-cross-stage {
    position: relative;
    z-index: 6;
    width: min(410px, 80%);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v2-cross-composition {
    display: contents;
}

.v2-halo {
    position: absolute;
    inset: 6%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(231, 184, 74, 0.28) 0%, rgba(231, 184, 74, 0.08) 45%, transparent 70%);
    box-shadow: inset 0 0 60px rgba(231, 184, 74, 0.2);
    border: 1px solid rgba(231, 184, 74, 0.25);
    animation: v2-halo-breathe 7s ease-in-out infinite;
}

@keyframes v2-halo-breathe {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.04); opacity: 1; }
}

/* translucent hexagons */
.v2-hex {
    position: absolute;
    background: var(--v2-glass-bg);
    border: 1px solid var(--v2-glass-border);
    clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.v2-hex--1 { width: 74px; height: 84px; top: 4%; left: 6%; animation: v2-float 8s ease-in-out infinite; }
.v2-hex--2 { width: 52px; height: 60px; bottom: 8%; right: 4%; animation: v2-float 10s ease-in-out infinite reverse; }
.v2-hex--3 { width: 38px; height: 44px; top: 14%; right: 16%; animation: v2-float 9s ease-in-out infinite; }

@keyframes v2-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(4deg); }
}

.v2-cross {
    position: relative;
    z-index: 5;
    width: 54%;
    height: auto;
    filter:
        drop-shadow(0 3px 8px rgba(6, 13, 26, 0.9))
        drop-shadow(0 12px 26px rgba(231, 184, 74, 0.5));
    animation: v2-halo-breathe 7s ease-in-out infinite;
}

/* Glass photo cards */
.v2-photo-card {
    position: absolute;
    margin: 0;
    border-radius: var(--v2-radius);
    padding: 8px;
    background: var(--v2-glass-bg);
    border: 1px solid var(--v2-glass-border);
    box-shadow: var(--v2-glass-shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.2s var(--v2-ease), box-shadow 0.2s var(--v2-ease), border-color 0.2s var(--v2-ease);
}

@media (hover: hover) and (pointer: fine) {
    .v2-photo-card:hover {
        transform: translateY(-3px);
        border-color: rgba(231, 184, 74, 0.45);
        box-shadow: 0 26px 48px -22px rgba(6, 13, 26, 0.95);
    }
}

.v2-photo-frame {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
}

.v2-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.v2-photo-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 0.28rem 0.6rem;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--v2-navy-900);
    background: rgba(231, 184, 74, 0.92);
    border-radius: 8px;
}

.v2-photo-caption {
    padding: 0.5rem 0.4rem 0.2rem;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--v2-ink-muted);
    text-align: center;
}

.v2-photo-card--main {
    width: 66%;
    right: -2%;
    top: 6%;
    z-index: 3;
}

.v2-photo-card--community {
    width: 46%;
    left: -9%;
    top: -3%;
    z-index: 2;
}

.v2-photo-card--family {
    width: 46%;
    right: 1%;
    bottom: 7%;
    z-index: 4;
}

/* Desktop-only collage refinement: badges float above the photo, larger cards */
@media (min-width: 761px) {
    .v2-photo-card {
        padding-top: 30px;
    }

    .v2-photo-frame {
        overflow: visible;
    }

    .v2-photo-img {
        border-radius: 14px;
    }

    .v2-photo-badge {
        top: -26px;
        left: 2px;
    }
}

/* Desktop editorial composition: dominant Worship over a Community/Family pair,
   with the cross demoted to a supporting element beneath the cluster. */
@media (min-width: 1320px) {
    /* The headline's `white-space: nowrap` sets the text column's min-content
       width, which starved the visual column. Trimming it to 3.4rem frees the
       room the larger photographs need. */
    .v2-hero {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .v2-hero-inner {
        grid-template-columns: minmax(0, 1fr) 454px;
    }

    .v2-hero-heading {
        font-size: 3.4rem;
    }

    .v2-hero-visual {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 18px;
        row-gap: 10px;
        align-content: center;
        min-height: 0;
    }

    .v2-photo-card,
    .v2-photo-card--main,
    .v2-photo-card--community,
    .v2-photo-card--family {
        position: relative;
        inset: auto;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        width: auto;
        margin: 0;
        transform: none;
        z-index: 3;
    }

    .v2-photo-card--main {
        grid-column: 1 / -1;
        grid-row: 1;
        justify-self: end;
        width: 446px;
    }

    .v2-photo-card--community {
        grid-column: 1;
        grid-row: 2;
    }

    .v2-photo-card--family {
        grid-column: 2;
        grid-row: 2;
    }

    .v2-cross-stage {
        grid-column: 1 / -1;
        grid-row: 3;
        justify-self: center;
        width: 90px;
        z-index: 1;
    }
}
/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Large desktop refinement */
@media (min-width: 1400px) {
    .v2-hero-visual { min-height: 640px; }
}

/* Laptop / small desktop */
@media (max-width: 1080px) {
    .v2-hero-inner { gap: 2rem; }
}

/* Mobile: intentional single-column document flow, independent of the desktop collage. */
@media (max-width: 760px) {
    .v2-hero {
        height: auto;
        min-height: 0;
        padding: clamp(2.25rem, 8vw, 3.25rem) clamp(1.25rem, 6vw, 1.5rem) 2rem !important;
    }

    .v2-hero-inner {
        height: auto;
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .v2-hero-content {
        width: min(100%, 34rem);
        margin-inline: auto;
        padding-top: 0;
        text-align: center;
    }

    .v2-lede-desktop-detail {
        display: none;
    }

    .v2-eyebrow {
        justify-content: center;
        gap: 0.5rem;
        margin-bottom: 0.8rem;
        font-size: clamp(0.72rem, 2.6vw, 0.82rem);
        letter-spacing: 0.18em;
    }

    .v2-eyebrow-mark {
        width: 28px;
        background: linear-gradient(90deg, transparent, var(--v2-gold-500), transparent);
    }

    .v2-hero-heading {
        margin-bottom: 0.85rem;
        font-size: clamp(2rem, 8vw, 2.35rem);
        line-height: 0.98;
        letter-spacing: 0.01em;
        text-align: center;
    }

    .v2-heading-line {
        white-space: normal;
    }

    .v2-heading-accent {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.02em;
    }

    .v2-heading-accent::before {
        content: "Bangladeshi";
    }

    .v2-heading-accent {
        font-size: 0;
    }

    .v2-heading-accent::before,
    .v2-heading-accent::after {
        background: linear-gradient(120deg, var(--v2-gold-300), var(--v2-gold-500) 55%, var(--v2-gold-600));
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        font-size: clamp(2rem, 8vw, 2.35rem);
        line-height: 0.98;
    }

    .v2-heading-accent::after {
        content: "Church";
    }

    .v2-tagline {
        width: min(100%, 23rem);
        margin-inline: auto;
        margin-bottom: 0.85rem;
        font-size: clamp(0.96rem, 3.8vw, 1.08rem);
        line-height: 1.35;
        letter-spacing: 0.05em;
        text-align: center;
    }

    .v2-lede {
        width: min(100%, 22rem);
        margin-inline: auto;
        margin-bottom: 1.45rem;
        font-size: clamp(0.98rem, 3.8vw, 1.06rem);
        line-height: 1.55;
        text-align: center;
    }

    .v2-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .v2-hero-visual {
        order: 2;
        position: static;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        inset: auto;
        width: 100%;
        height: auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 20px;
        margin: 0;
        transform: none;
    }

    .v2-socal,
    .v2-ribbon {
        display: none;
    }

    .v2-cross-stage {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        inset: auto;
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 24px 0 32px;
        margin: 0;
        overflow: visible;
        transform: none;
    }

    .v2-cross-composition {
        position: relative;
        width: clamp(220px, 64vw, 260px);
        aspect-ratio: 1 / 1;
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        margin: 0;
        overflow: visible;
    }

    .v2-halo {
        position: absolute;
        inset: 4%;
        margin: 0;
    }

    .v2-hex {
        position: absolute;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        inset: auto;
        margin: 0;
        opacity: 0.5;
        transform: none;
        animation: none;
    }

    .v2-hex--1 {
        top: 10%;
        left: 8%;
    }

    .v2-hex--2 {
        right: 7%;
        bottom: 9%;
    }

    .v2-hex--3 {
        top: 16%;
        right: 13%;
    }

    .v2-cross {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        inset: auto;
        margin: 0;
        transform: none;
        animation: none;
        width: clamp(130px, 38vw, 160px);
        height: auto;
        display: block;
        flex: 0 0 auto;
    }

    .v2-photo-card,
    .v2-photo-card--main,
    .v2-photo-card--community,
    .v2-photo-card--family {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        inset: auto;
        width: 100%;
        margin: 0;
        margin-left: 0;
        margin-right: 0;
        transform: none;
        z-index: 3;
    }

    .v2-photo-card:hover {
        transform: none;
    }

    .v2-photo-img {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .v2-service {
        width: 100%;
    }

    .v2-cta-group .v2-btn {
        flex: 1 1 auto;
        justify-content: center;
    }
}

/* Small mobile */

/* Small mobile */
@media (max-width: 460px) {
    .v2-service {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .v2-service-divider { display: none; }
}


/* ==========================================================================
   HERO ENTRANCE MOTION
   Uses `animation-fill-mode: backwards` (not `forwards`) so the pre-delay state
   is held without leaving a transform on the element afterwards — a forwards
   fill would outrank and break the photo-card hover transform.
   ========================================================================== */
@keyframes v2-rise-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
}

@keyframes v2-photo-in {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.985);
    }
}

@keyframes v2-cross-in {
    from {
        opacity: 0;
    }
}

.v2-hero-content > .v2-eyebrow,
.v2-hero-content > .v2-hero-heading,
.v2-hero-content > .v2-tagline,
.v2-hero-content > .v2-lede,
.v2-hero-content > .v2-service,
.v2-hero-content > .v2-welcome-line,
.v2-hero-content > .v2-cta-group {
    animation: v2-rise-in 500ms var(--v2-ease) backwards;
}

/* Group 1: welcome + headline */
.v2-hero-content > .v2-eyebrow,
.v2-hero-content > .v2-hero-heading {
    animation-delay: 60ms;
}

/* Group 2: supporting copy + service information */
.v2-hero-content > .v2-tagline,
.v2-hero-content > .v2-lede,
.v2-hero-content > .v2-service,
.v2-hero-content > .v2-welcome-line {
    animation-delay: 200ms;
}

/* Group 3: calls to action */
.v2-hero-content > .v2-cta-group {
    animation-delay: 340ms;
}

.v2-photo-card {
    animation: v2-photo-in 560ms var(--v2-ease) backwards;
}

.v2-photo-card--main { animation-delay: 260ms; }
.v2-photo-card--community { animation-delay: 360ms; }
.v2-photo-card--family { animation-delay: 460ms; }

.v2-cross-stage {
    animation: v2-cross-in 620ms var(--v2-ease) 520ms backwards;
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .v2-hero-content > .v2-eyebrow,
    .v2-hero-content > .v2-hero-heading,
    .v2-hero-content > .v2-tagline,
    .v2-hero-content > .v2-lede,
    .v2-hero-content > .v2-service,
    .v2-hero-content > .v2-welcome-line,
    .v2-hero-content > .v2-cta-group,
    .v2-photo-card,
    .v2-cross-stage {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .v2-hero *,
    .v2-hero *::before,
    .v2-hero *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}


/* ==========================================================================
   THEME ISOLATION
   The site-wide light/dark theme system must not recolor the hero: Hero V2 is
   approved as a permanently dark band in both themes. These selectors carry an
   attribute qualifier so they outrank themed overrides without !important.
   ========================================================================== */
html[data-theme="light"] .v2-hero,
html[data-theme="dark"] .v2-hero,
html:not([data-theme]) .v2-hero,
body[data-theme="light"] .v2-hero,
body[data-theme="dark"] .v2-hero {
    color: var(--v2-ink);
    background: linear-gradient(160deg, var(--v2-navy-900) 0%, var(--v2-navy-700) 55%, var(--v2-navy-800) 100%);
}

html[data-theme="light"] .v2-hero .v2-hero-heading,
html[data-theme="dark"] .v2-hero .v2-hero-heading,
body[data-theme="light"] .v2-hero .v2-hero-heading,
body[data-theme="dark"] .v2-hero .v2-hero-heading {
    color: var(--v2-ink);
}

html[data-theme="light"] .v2-hero .v2-heading-accent,
html[data-theme="dark"] .v2-hero .v2-heading-accent,
body[data-theme="light"] .v2-hero .v2-heading-accent,
body[data-theme="dark"] .v2-hero .v2-heading-accent {
    background: linear-gradient(120deg, var(--v2-gold-300), var(--v2-gold-500) 55%, var(--v2-gold-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

html[data-theme="light"] .v2-hero .v2-tagline,
body[data-theme="light"] .v2-hero .v2-tagline {
    color: var(--v2-ink);
}

html[data-theme="light"] .v2-hero .v2-lede,
body[data-theme="light"] .v2-hero .v2-lede {
    color: var(--v2-ink-soft);
}

html[data-theme="light"] .v2-hero .v2-photo-caption,
html[data-theme="light"] .v2-hero .v2-welcome-line,
body[data-theme="light"] .v2-hero .v2-photo-caption,
body[data-theme="light"] .v2-hero .v2-welcome-line {
    color: var(--v2-ink-muted);
}

html[data-theme="light"] .v2-hero .v2-btn--secondary,
body[data-theme="light"] .v2-hero .v2-btn--secondary {
    color: var(--v2-ink);
    background: transparent;
    border-color: var(--v2-glass-border);
}

html[data-theme="light"] .v2-hero .v2-btn--primary,
body[data-theme="light"] .v2-hero .v2-btn--primary {
    color: var(--v2-navy-900);
}

html[data-theme="light"] .v2-hero .v2-service-item dd,
body[data-theme="light"] .v2-hero .v2-service-item dd {
    color: var(--v2-ink);
}

html[data-theme="light"] .v2-hero .v2-service-item dt,
body[data-theme="light"] .v2-hero .v2-service-item dt {
    color: var(--v2-gold-400);
}


/* ==========================================================================
   PRODUCTION ADAPTATION
   The preview rendered the hero as a 1240px band on an already-navy page
   body. Production's body is white in light mode, so the hero must run
   full-bleed and constrain its own inner grid instead. Inner width stays at
   the approved 1192px (1240 - 2 x 1.5rem), so the tuned desktop geometry is
   pixel-identical to the approved preview.
   ========================================================================== */
.v2-hero {
    max-width: none;
    width: 100%;
}

.v2-hero-inner {
    max-width: 1192px;
    margin-inline: auto;
}

/* Production global rule `main a[href]...` forces underlines on body links.
   The hero CTAs are already excluded via [class*="btn"], but the badge and
   caption anchors inside cards must stay undecorated too. */
.v2-hero a {
    text-decoration: none;
}

/* styles.bundle.css paints alternating page backgrounds on every top-level
   <section> via `body:not(.dark):not([data-theme="dark"]) section:nth-child(odd)`,
   a (0,3,2) selector that outranks `.v2-hero` no matter the load order. The
   hero root keeps id="home", so an ID-qualified selector restores the hero's
   own navy gradient in BOTH themes without resorting to !important. */
.v2-hero#home,
html[data-theme="light"] .v2-hero#home,
html[data-theme="dark"] .v2-hero#home,
body[data-theme="light"] .v2-hero#home,
body[data-theme="dark"] .v2-hero#home {
    background: linear-gradient(160deg, var(--v2-navy-900) 0%, var(--v2-navy-700) 55%, var(--v2-navy-800) 100%);
}

/* The preview inherited its typographic baseline from a global `body` rule
   that must not be copied into production. Re-establish that same baseline
   scoped to the hero so every descendant matches the approved design instead
   of inheriting production's Inter / 1.7 line-height. */
.v2-hero {
    font-family: var(--v2-font-body);
    color: var(--v2-ink);
    line-height: normal;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* styles.bundle.css zeroes the top padding of the homepage hero via
   `body.homepage #home` (1,1,1) — a leftover from the old full-viewport hero.
   Restore the approved hero padding with a selector that outranks it. */
body.homepage .v2-hero#home {
    padding-top: clamp(2.5rem, 5vw, 5rem);
}

@media (min-width: 1320px) {
    body.homepage .v2-hero#home {
        padding-top: 3.5rem;
    }
}

/* styles.bundle.css applies `p { line-height: var(--leading-normal) }`, which
   beats inheritance from .v2-hero. `:where()` keeps this baseline at zero
   specificity for the class, so every hero rule above still wins. */
:where(.v2-hero) p {
    line-height: normal;
}

/* styles.bundle.css recolors every anchor in dark mode via
   `body[data-theme="dark"] a` (0,1,2), which outranks `.v2-btn--*` (0,1,0)
   and turned both hero CTAs blue. The hero is theme-independent by design,
   so pin the approved CTA colours in every theme/state combination. */
html[data-theme="light"] .v2-hero .v2-btn--primary,
html[data-theme="dark"] .v2-hero .v2-btn--primary,
body[data-theme="light"] .v2-hero .v2-btn--primary,
body[data-theme="dark"] .v2-hero .v2-btn--primary,
body.dark .v2-hero .v2-btn--primary,
body[data-theme="dark"] .v2-hero .v2-btn--primary:hover,
body.dark .v2-hero .v2-btn--primary:hover {
    color: var(--v2-navy-900);
}

html[data-theme="light"] .v2-hero .v2-btn--secondary,
html[data-theme="dark"] .v2-hero .v2-btn--secondary,
body[data-theme="light"] .v2-hero .v2-btn--secondary,
body[data-theme="dark"] .v2-hero .v2-btn--secondary,
body.dark .v2-hero .v2-btn--secondary,
body[data-theme="dark"] .v2-hero .v2-btn--secondary:hover,
body.dark .v2-hero .v2-btn--secondary:hover {
    color: var(--v2-ink);
}

/* styles.bundle.css also recolours paragraphs in dark mode via
   `body.dark p, body.dark .tagline, …` (0,1,2). The light-theme half of the
   isolation block above already outranks it; these are the dark-theme
   counterparts so hero copy is byte-identical in both themes. */
html[data-theme="dark"] .v2-hero .v2-eyebrow,
body[data-theme="dark"] .v2-hero .v2-eyebrow,
body.dark .v2-hero .v2-eyebrow {
    color: var(--v2-gold-400);
}

html[data-theme="dark"] .v2-hero .v2-tagline,
body[data-theme="dark"] .v2-hero .v2-tagline,
body.dark .v2-hero .v2-tagline {
    color: var(--v2-ink);
}

html[data-theme="dark"] .v2-hero .v2-lede,
body[data-theme="dark"] .v2-hero .v2-lede,
body.dark .v2-hero .v2-lede {
    color: var(--v2-ink-soft);
}

html[data-theme="dark"] .v2-hero .v2-welcome-line,
html[data-theme="dark"] .v2-hero .v2-photo-caption,
body[data-theme="dark"] .v2-hero .v2-welcome-line,
body[data-theme="dark"] .v2-hero .v2-photo-caption,
body.dark .v2-hero .v2-welcome-line,
body.dark .v2-hero .v2-photo-caption {
    color: var(--v2-ink-muted);
}
