:root {
  --lc-1: 12px; --lc-2: 14px; --lc-3: 16px; --lc-4: 20px;
  --lc-5: 26px; --lc-6: 34px; --lc-7: 48px;
  color-scheme: dark;
  --plum: #1a0f1f;
  --mint: #6ee7b7;
  --gold: #f5d87a;
  --page-gutter: clamp(24px, 4.45vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--plum); color: #fff; font-family: "Plus Jakarta Sans", sans-serif; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
.skip-link { position: absolute; top: 16px; left: var(--page-gutter); z-index: 20; padding: 12px 16px; background: var(--plum); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* Retain the shared Brotherhood backdrop and its existing reduced-motion behavior. */
.cosmos {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    linear-gradient(135deg, #1a0f1f 0%, #2a1635 22%, transparent 45%, transparent 55%, #2a1635 78%, #1a0f1f 100%),
    linear-gradient(135deg, #1a0f1f 0%, #2a1635 30%, #3d2050 50%, #2a1635 70%, #1a0f1f 100%);
}
.cosmos canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; mix-blend-mode: screen; }
body { isolation: isolate; }
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px 64px;
}
.site-logo {
  font-family: "Bebas Neue", sans-serif; font-size: var(--lc-5, 26px); line-height: 1;
  color: rgba(139, 92, 246, .72); text-decoration: none;
  text-shadow:0 2px 4px rgba(0,0,0,.95),0 4px 14px rgba(0,0,0,.85);
}
.site-logo-letter { display:inline; }
.site-login {
  position: relative; top: 2px;
  font-family: "IBM Plex Mono", monospace; font-size: var(--lc-2, 14px); font-weight: 400;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  color: rgba(255,255,255,.6);
  padding: 9px 22px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px;
  background: transparent; transition: color .2s, border-color .2s, background .2s;
}
.site-login:hover { color:rgba(255,255,255,.95); border-color:rgba(255,255,255,.4); background:rgba(255,255,255,.05); }
@media (max-width:768px) {
  .site-header { padding:16px 24px; }
  .site-logo { transform:translateY(2px); }
  .site-login { top:0; right:-4px; padding:7px 16px; }
}

.hero-opening { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-art {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 22%, rgb(0 0 0 / .5) 55%, transparent 95%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 22%, rgb(0 0 0 / .5) 55%, transparent 95%);
}
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgb(26 15 31 / .08), rgb(26 15 31 / .15) 35%, rgb(26 15 31 / .4) 65%); }

/* Anchor the title to the viewport bottom, leaving a 32–48px breathing margin. */
.hero-content {
  position: relative; width: min(100%, 1120px); margin-inline: auto;
  padding: 160px var(--page-gutter) clamp(32px, 5svh, 48px);
  text-align: center;
}
h1 { margin: 0; font-size: var(--lc-7); font-weight: 400; text-shadow: 0 2px 16px rgb(13 6 19 / .8); }
main h2 { font-size: var(--lc-6); }
h1 span { display: block; }
.hero-name { font-family: "Cinzel", Georgia, serif; font-size: var(--lc-7, 48px); line-height: 1.2; letter-spacing: .06em; }
.hero-of { margin-top: 14px; font-family: "Cormorant Garamond", Georgia, serif; font-size: var(--lc-2, 14px); line-height: 1.2; letter-spacing: .03em; }
.hero-place { margin-top: 4px; font-family: "Cinzel", Georgia, serif; font-size: var(--lc-6, 34px); font-weight: 400; line-height: 1.3; letter-spacing: .06em; }
.hero-introduction { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 96px var(--page-gutter); text-align: center; }
.hero-statement { width: 100%; max-width: 1000px; margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: var(--lc-7, 48px); font-weight: 300; line-height: 1.25; letter-spacing: .01em; color: #f4edf8; }
.hero-statement span, .hero-statement strong { display: block; }
.hero-statement strong { color: inherit; font-weight: inherit; text-wrap: balance; }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Each paragraph has its own illustration; all words are visible in the baseline reading flow. */
.problem-section { position: relative; }
.problem-stage { max-width: 1120px; margin-inline: auto; padding-inline: var(--page-gutter); }
.problem-beat { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; padding-block: 48px; }
.problem-art { height: clamp(320px, 60svh, 680px); overflow: hidden; }
.problem-art img { opacity: .4; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 80%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 80%, transparent); }
.problem-text { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: var(--lc-6, 34px); font-weight: 400; line-height: 1.45; letter-spacing: .005em; color: #f4edf8; text-align: left; text-wrap: pretty; }
.problem-progress { display: none; }

/* One viewport for the stage plus one viewport of scroll for each of two statements. */
.problem-section.is-enhanced { height: 300svh; }
.is-enhanced .problem-stage { position: sticky; top: 0; width: 100%; max-width: none; height: 100svh; padding: 0; overflow: hidden; }
.is-enhanced .problem-art { position: absolute; inset: 0 auto 0 0; width: 60%; height: 100%; opacity: 0; transition: opacity .65s ease-out; will-change: opacity; -webkit-mask-image: linear-gradient(to right, #000 10%, rgb(0 0 0 / .85) 30%, rgb(0 0 0 / .5) 55%, rgb(0 0 0 / .18) 78%, transparent 100%); mask-image: linear-gradient(to right, #000 10%, rgb(0 0 0 / .85) 30%, rgb(0 0 0 / .5) 55%, rgb(0 0 0 / .18) 78%, transparent 100%); }
.is-enhanced .problem-art img { transform: scale(var(--art-scale, 1.03)); transform-origin: 30% 50%; }
.is-enhanced .problem-reading { position: absolute; z-index: 2; top: 64px; bottom: 64px; left: 52%; display: grid; align-items: center; width: calc(48% - var(--page-gutter)); max-width: 520px; opacity: 0; }
.is-enhanced .problem-beat { position: absolute; inset: 0; display: block; padding: 0; pointer-events: none; }
.is-enhanced .problem-word { opacity: .12; }
.is-enhanced .problem-progress { position: absolute; bottom: 40px; left: 52%; display: flex; gap: 10px; }
.problem-progress span { position: relative; width: 32px; height: 2px; background: rgb(244 237 248 / .18); }
.problem-progress span::after { content: ""; position: absolute; inset: 0; background: #f4edf8; transform-origin: left; transform: scaleX(var(--fill, 0)); }

/* A quiet typographic pause after the illustrated problems. */
.platform-section { position: relative; }
.platform-stage { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 96px var(--page-gutter); text-align: center; }
.platform-stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgb(212 168 67 / .055), transparent 65%); pointer-events: none; }
.platform-content { position: relative; width: 100%; max-width: 1040px; margin-inline: auto; }
.platform-heading { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: var(--lc-7, 48px); font-weight: 400; line-height: 1.12; letter-spacing: -.015em; color: #f4edf8; text-wrap: balance; }
.platform-heading span, .platform-support span { display: block; }
.platform-support { margin: 36px 0 0; font-size: var(--lc-4, 20px); line-height: 1.7; letter-spacing: .015em; color: #eee6f4; }
.platform-support strong { font-weight: 500; }
.platform-section.is-enhanced { height: 220svh; }
.is-enhanced .platform-stage { position: sticky; top: 0; height: 100svh; }
.platform-section.is-enhanced .platform-heading, .platform-section.is-enhanced .platform-support { opacity: 0; }

/* A welcoming, unhurried reading moment after the four-column offer. */
.inviting-section { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 96px var(--page-gutter); text-align: center; }
.inviting-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 65%, rgb(212 168 67 / .065), transparent 65%); pointer-events: none; }
.inviting-content { position: relative; width: 100%; max-width: 900px; }
.inviting-content::before { content: ""; display: block; width: 48px; height: 1px; margin: 0 auto 32px; background: rgb(245 216 122 / .55); }
.inviting-content h2 { margin: 0 0 28px; font-size: var(--lc-2, 14px); font-weight: 500; line-height: 1.5; letter-spacing: .2em; text-transform: uppercase; color: #eee6f4; }
.inviting-lead { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: var(--lc-7, 48px); font-weight: 400; line-height: 1.28; color: #f4edf8; text-wrap: pretty; }
.inviting-values { max-width: 700px; margin: 28px auto 0; font-size: var(--lc-3, 16px); line-height: 1.7; color: #eee6f4; }
.inviting-values strong { font-weight: 600; }
.inviting-section.is-reveal-ready .inviting-content { opacity: 0; transform: translateY(16px); transition: opacity .9s ease-out, transform .9s ease-out; }
.inviting-section.is-reveal-ready.is-revealed .inviting-content { opacity: 1; transform: none; }

@media (max-width: 700px) {
  .inviting-section { padding-block: 72px; }
}
@media (max-width: 700px) and (max-height: 600px) {
  .inviting-section { padding-block: 40px; }
  .inviting-content::before { margin-bottom: 24px; }
  .inviting-content h2 { margin-bottom: 24px; }
  .inviting-lead { font-size: var(--lc-5, 26px); line-height: 1.25; }
  .inviting-values { margin-top: 24px; }
}

/* The Brotherhood four-column offer component; only the page copy is replaced. */
.hiw-section { position: relative; overflow-x: clip; --gold: #d4a843; }
.hiw-stage { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 72px 0; }
.school-hiw-offer {
                width: 100%;
                min-height: 0;
                display: flex;
                flex-direction: column;
                padding: clamp(18px, 2.5vh, 28px) 0
                    clamp(14px, 2vh, 22px);
                border-top: 1px solid rgba(174, 130, 223, 0.13);
                border-bottom: 1px solid rgba(174, 130, 223, 0.1);
                background:
                    radial-gradient(
                        ellipse 58% 72% at 50% 38%,
                        rgba(139, 92, 246, 0.13),
                        transparent 72%
                    ),
                    linear-gradient(
                        90deg,
                        rgba(8, 4, 12, 0.08),
                        rgba(20, 9, 27, 0.22) 50%,
                        rgba(8, 4, 12, 0.08)
                    );
            }

            .school-hiw-offer-eyebrow {
                margin: 0;
                padding-bottom: clamp(10px, 1.4vh, 16px);
                font-family: "Raleway", sans-serif;
                font-size: var(--lc-6, 34px);
                font-weight: 100;
                line-height: 1.15;
                letter-spacing: 3px;
                text-align: center;
                text-transform: uppercase;
                color: rgba(110, 231, 183, 0.72);
            }

            .school-hiw-offer-subhead {
                margin: 7px 0 0;
                font-family: "IBM Plex Mono", monospace;
                font-size: var(--lc-2, 14px);
                letter-spacing: 3.5px;
                text-align: center;
                text-transform: uppercase;
                color: rgba(212, 168, 67, 0.78);
            }

            .school-hiw-focus {
                flex: 1 1 auto;
                min-height: 0;
                display: grid;
                grid-template-columns: repeat(4, minmax(0, 1fr));
                margin-top: clamp(12px, 2vh, 20px);
            }

            .school-hiw-area {
                min-width: 0;
                display: grid;
                grid-template-rows:
                    clamp(135px, 20vh, 190px)
                    minmax(calc(2.4em + 36px), auto)
                    auto;
                align-content: center;
                justify-items: center;
                padding: 8px clamp(12px, 1.5vw, 22px);
                text-align: center;
            }

            .school-hiw-area + .school-hiw-area {
                border-left: 1px solid rgba(255, 255, 255, 0.07);
            }

            .school-hiw-figure {
                width: 100%;
                height: 100%;
                margin: 0;
            }

            .school-hiw-figure svg,
            .school-hiw-figure canvas {
                width: 100%;
                height: 100%;
                overflow: visible;
            }

            .school-hiw-section .inst-anim {
                transform: scale(1.35);
                transform-origin: center;
                opacity: 0.84;
            }

            .school-hiw-area-title {
                margin: 0;
                padding-top: 36px;
                font-family: "Cormorant Garamond", Georgia, serif;
                font-size: var(--lc-6, 34px);
                font-weight: 400;
                line-height: 1.05;
                color: rgba(255, 255, 255, 0.95);
            }

            .school-hiw-area-body {
                max-width: 38ch;
                margin: 12px auto 0;
                font-family: "Plus Jakarta Sans", sans-serif;
                font-size: var(--lc-3, 16px);
                font-weight: 300;
                line-height: 1.65;
                color: rgba(255, 255, 255, 0.56);
            }

            .school-hiw-area-sub {
                max-width: 36ch;
                min-height: calc(3 * 1.65em);
                margin: 10px auto 0;
                font-family: "IBM Plex Mono", monospace;
                font-size: var(--lc-4, 20px);
                font-style: normal;
                font-weight: 300;
                line-height: 1.65;
                letter-spacing: 0.35px;
                color: #c4c2c4;
            }


.school-hiw-section .inst-radiate .spoke,
            .school-hiw-section .inst-sweep .seg,
            .school-hiw-section .inst-sweep .rad-seg,
            .school-hiw-section .inst-cross .ring,
            .school-hiw-section .inst-cross .corec {
                stroke-width: 4px !important;
                vector-effect: non-scaling-stroke;
            }

            .school-hiw-section .inst-radiate .spoke {
                stroke: #ae82df;
                stroke-width: 4;
                stroke-linecap: round;
                stroke-dasharray: var(--len);
                stroke-dashoffset: var(--len);
                opacity: 0;
                animation: school-inst-ray var(--dur, 3.5s) ease-in-out infinite;
                animation-delay: var(--delay, 0s);
            }

            @keyframes school-inst-ray {
                0% { stroke-dashoffset: var(--len); opacity: 0; }
                8%, 58% { opacity: 0.38; }
                58%, 100% { stroke-dashoffset: 0; }
                100% { opacity: 0; }
            }

            .school-hiw-section .inst-sweep .comet {
                transform-box: view-box;
                transform-origin: center;
                opacity: 0.4;
                animation: school-inst-sweep 8s linear infinite;
            }

            .school-hiw-section .inst-sweep .seg,
            .school-hiw-section .inst-sweep .rad-seg {
                stroke: #ae82df;
                stroke-width: 4;
                stroke-linecap: round;
                fill: none;
            }

            .school-hiw-section .inst-sweep .seg.hot { stroke: #ae82df; }
            @keyframes school-inst-sweep { to { transform: rotate(360deg); } }

            .school-hiw-section .inst-cross .ring,
            .school-hiw-section .inst-cross .corec {
                fill: none;
                stroke: #ae82df;
                stroke-width: 4;
                transform-box: view-box;
                transform-origin: center;
            }

            .school-hiw-section .inst-cross .corec {
                stroke: #ae82df;
                opacity: 0.4;
                animation: none;
                transform: none;
            }

            .school-hiw-section .inst-cross .ring {
                opacity: 0;
                vector-effect: non-scaling-stroke;
                animation: school-inst-sonar-ring 5.5s ease-out infinite;
            }

            .school-hiw-section .inst-cross .ring.r2 { animation-delay: 0.47s; }
            .school-hiw-section .inst-cross .ring.r3 { animation-delay: 0.94s; }

            @keyframes school-inst-sonar-core {
                0%, 100% { transform: scale(1.12); opacity: 0.4; }
                62% { transform: scale(0.6); opacity: 0.14; }
            }

            @keyframes school-inst-sonar-ring {
                0% { transform: scale(1); opacity: 0; stroke-width: 4; }
                8% { opacity: 0.34; }
                83%, 100% { transform: scale(5.6); opacity: 0; stroke-width: 4; }
            }


.hiw-section.is-enhanced { height: 260svh; }
.hiw-section.is-enhanced .hiw-stage { position: sticky; top: 0; height: 100svh; padding: 32px 0; }
.hiw-section:not(.is-in-view) .inst-anim * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .hiw-section .inst-radiate .spoke { stroke-dashoffset: 0; opacity: .38; }
  .hiw-section .inst-cross .ring { opacity: .25; transform: none; }
}
@media (max-width: 768px) {
.school-hiw-offer {
                    padding: 40px 0 24px;
                }

                .school-hiw-offer-eyebrow {
                    font-size: var(--lc-7, 48px);
                }

                .school-hiw-focus {
                    grid-template-columns: 1fr;
                    margin-top: 28px;
                }

                .school-hiw-area {
                    padding: 36px 12px 44px;
                }

                .school-hiw-area + .school-hiw-area {
                    border-top: 1px solid rgba(255, 255, 255, 0.07);
                    border-left: 0;
                }

                .school-hiw-figure {
                    height: 160px;
                }

                .school-hiw-area-title {
                    font-size: var(--lc-6, 34px);
                }

                .school-hiw-area-body {
                    font-size: var(--lc-3, 16px);
                }

                .school-hiw-area-sub {
                    min-height: 0;
                }


}

@media (max-width: 700px) {
  .problem-stage { padding-inline: 0; }
  .problem-beat { position: relative; display: flex; flex-direction: column; gap: 0; min-height: 100svh; padding: 0 0 64px; }
  .problem-art { position: relative; width: 100%; height: 65svh; min-height: 300px; -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent); mask-image: linear-gradient(to bottom, #000 65%, transparent); }
  .problem-art img { object-position: center 45%; }
  .problem-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 35%, rgb(26 15 31 / .25) 65%, var(--plum)); pointer-events: none; }
  .problem-reading { position: relative; z-index: 2; width: 100%; max-width: 680px; margin: -12svh auto 0; padding-inline: var(--page-gutter); }
  .problem-text { font-size: var(--lc-5, 26px); line-height: 1.32; }
  .is-enhanced .problem-art { inset: 0 0 auto; width: 100%; height: 68svh; -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent); mask-image: linear-gradient(to bottom, #000 65%, transparent); }
  .is-enhanced .problem-art img { transform-origin: 50% 40%; }
  .is-enhanced .problem-reading { inset: auto 0 56px; display: block; width: 100%; height: auto; max-width: 680px; max-height: 47svh; margin: 0 auto; padding-inline: var(--page-gutter); }
  .is-enhanced .problem-progress { left: 50%; bottom: 24px; transform: translateX(-50%); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-content { animation: hero-arrive 1.1s ease-out both; }
  @keyframes hero-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

@media (max-aspect-ratio: 1/1) {
  /* Helmet occupies roughly 33–50% of the artwork: 72svh keeps it above the title. */
  .hero-art { height: clamp(480px, 72svh, 800px); bottom: auto; }
}

@media (max-width: 600px) {
  .hero-art img { object-position: 50% top; }
  .hero-name { font-size: var(--lc-6, 34px); line-height: 1.25; letter-spacing: .015em; }
  .hero-place { font-size: var(--lc-5, 26px); letter-spacing: .025em; }
  .hero-introduction { padding-block: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Invitation and four connected parts share one stage. */
.hiw-invitation { max-width: 1100px; margin: 0 auto 32px; text-align: center; }
.hiw-invitation .platform-heading { font-size: var(--lc-7, 48px); }
.hiw-section .school-hiw-offer-eyebrow { font-size: var(--lc-2, 14px); font-weight: 400; letter-spacing: .2em; padding-bottom: 0; }
.hiw-stage { padding-block: 40px; }
@media (min-width: 769px) { .hiw-section .school-hiw-area { grid-template-rows: clamp(100px, 15vh, 145px) minmax(calc(2.4em + 24px), auto) auto; } .hiw-section .school-hiw-area-title { padding-top: 24px; } }
@media (max-width: 768px) { .hiw-invitation { margin-bottom: 36px; } }

/* Keep the invitation outside the panel and anchor the panel to the stage floor. */
.hiw-section .hiw-stage { display: flex; flex-direction: column; justify-content: flex-end; padding: 48px 0 0; gap: 36px; }
.hiw-section.is-enhanced .hiw-stage { padding: 40px 0 0; }
.hiw-section .hiw-invitation { flex: 0 0 auto; width: 100%; max-width: 1100px; padding-inline: var(--page-gutter); margin: auto auto 0; }
.hiw-section .school-hiw-offer { flex: 0 0 auto; padding-bottom: 0; border-bottom: 0; }
@media (max-width: 768px) { .hiw-section .hiw-stage { gap: 36px; } }

/* Let the four columns occupy most of the desktop stage. */
@media (min-width: 769px) and (min-height: 700px) {
  .hiw-section .hiw-stage, .hiw-section.is-enhanced .hiw-stage { padding-top: 28px; gap: 24px; }
  .hiw-section .hiw-invitation { margin: 0 auto; }
  .hiw-invitation .platform-heading { font-size: var(--lc-7, 48px); }
  .hiw-section .school-hiw-offer { flex: 1 0 auto; min-height: 70svh; padding-top: 24px; }
  .hiw-section .school-hiw-focus { margin-top: 24px; }
  .hiw-section .school-hiw-area { grid-template-rows: minmax(190px, 30svh) minmax(110px, auto) auto; align-content: start; padding-top: 16px; padding-bottom: 28px; }
  .hiw-section .school-hiw-area-title { padding-top: 32px; }
}

@media (min-width: 769px) { .hiw-section .hiw-stage { min-height: 100svh; } .hiw-section.is-enhanced .hiw-stage { height: 100svh; } }

.hiw-section { margin-top: 50px; }

.hiw-section { margin-top: 100px; }
.hiw-section.is-enhanced { height: 460svh; }

/* Personal context leads into the invitation and future form. */
.founder-section { max-width: 1200px; margin: 0 auto; padding: 120px var(--page-gutter); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.founder-portrait img { display: block; width: 100%; height: auto; border-radius: 2px; }
.founder-copy h2 { margin: 0 0 30px; font-family: 'Cormorant Garamond', Georgia, serif; font-size: var(--lc-7, 48px); font-weight: 400; color: #e5c77f; }
.founder-copy p { font-family: "IBM Plex Mono", monospace; font-size: var(--lc-4, 20px); line-height: 1.8; color: #eee6f4; margin: 0 0 24px; }
.founder-copy p:last-child { margin-bottom: 0; }
.inviting-content::before { display: none; }
.inviting-section { min-height: 60svh; }
@media(max-width: 700px) { .founder-section { grid-template-columns: 1fr; padding-block: 80px; gap: 36px; } .founder-portrait { max-width: 360px; margin: 0 auto; } }

/* Brotherhood card treatment, mirrored so the portrait fades in from the right. */
.founder-section { display: block; max-width: 1280px; padding-block: 100px; }
.founder-card { position: relative; overflow: hidden; border: 1px solid rgba(174,130,223,.12); border-radius: 20px; background: rgba(80,38,104,.32); box-shadow: 0 26px 68px rgba(0,0,0,.16); }
.founder-copy { position: relative; z-index: 1; width: 66%; padding: clamp(32px,4.5vw,64px); }
.founder-portrait { position: absolute; inset: 0 0 0 auto; width: 46%; max-width: none; margin: 0; -webkit-mask-image: linear-gradient(to left,#000 0%,#000 25%,transparent 100%); mask-image: linear-gradient(to left,#000 0%,#000 25%,transparent 100%); }
.founder-portrait img { height: 100%; width: 100%; object-fit: cover; object-position: center 30%; border-radius: 0; }
.founder-card.is-portrait-ready .founder-portrait { opacity: 0; transition: opacity 1.4s ease; }
.founder-card.is-portrait-ready.is-visible .founder-portrait { opacity: 1; }
@media(max-width:700px) { .founder-section { padding-block: 64px; } .founder-card { display:flex; flex-direction:column; } .founder-portrait { position:relative; inset:auto; width:100%; height:380px; -webkit-mask-image:linear-gradient(to bottom,#000 30%,transparent 100%); mask-image:linear-gradient(to bottom,#000 30%,transparent 100%); } .founder-copy { width:100%; padding: 0 28px 32px; margin-top:-40px; } }

/* Brotherhood's immersive application screen, with an introduction form on the right. */
.invitation-form-section { position:relative; isolation:isolate; min-height:100svh; display:grid; align-items:center; padding:64px clamp(24px,5vw,88px); overflow:hidden; }
.invitation-backdrop { position:absolute; inset:0; z-index:-2; }
.invitation-backdrop img { width:100%; height:100%; object-fit:cover; object-position:center; opacity:.55; }
.invitation-form-section::before { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(15,7,20,.75),rgba(15,7,20,.35)),linear-gradient(to bottom,var(--plum),transparent 22%,transparent 80%,var(--plum)); }
.invitation-form-layout { width:100%; max-width:1280px; margin:auto; display:grid; grid-template-columns:1fr 1fr; gap:clamp(40px,7vw,100px); align-items:center; }
.invitation-message h2 { font-family:'Cormorant Garamond',Georgia,serif; font-size:var(--lc-7, 48px); font-weight:300; line-height:1.18; margin:0; text-wrap:pretty; text-shadow:0 3px 14px rgba(0,0,0,.7); }
.invitation-message p { font-family:Raleway,sans-serif; font-size:var(--lc-4, 20px); line-height:1.7; color:rgba(255,255,255,.8); margin:24px 0 0; }
.introduction-form { background:rgba(5,2,8,.76); border-radius:30px; padding:clamp(26px,3vw,40px); display:grid; gap:22px; }
.introduction-form h3 { font-family:'Cormorant Garamond',Georgia,serif; font-size:var(--lc-6, 34px); font-weight:400; margin:0 0 4px; }
.introduction-form label { display:grid; gap:9px; font-size: var(--lc-2, 14px); line-height:1.5; color:#eee6f4; }
.introduction-fields { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.introduction-form input,.introduction-form textarea { width:100%; min-width:0; border:1px solid rgba(255,255,255,.2); border-radius:6px; background:rgba(255,255,255,.04); color:white; font:inherit; padding:12px; outline-offset:3px; }
.introduction-form textarea { resize:vertical; }
.introduction-form input:focus,.introduction-form textarea:focus { outline:1px solid #d4a843; }
.introduction-form button { padding:15px 20px; border:1px solid rgba(212,168,67,.6); border-radius:6px; background:rgba(212,168,67,.15); color:#f4e2af; font:inherit; }
.form-preview-note { font-size: var(--lc-2, 14px); line-height:1.5; color:rgba(255,255,255,.55); text-align:center; margin:-10px 0 0; }
@media(max-width:768px) { .invitation-form-layout { grid-template-columns:1fr; gap:40px; } .invitation-form-section { padding-block:80px; } .introduction-fields { grid-template-columns:1fr; } }

/* A lighter, quieter invitation with a choice of written or spoken response. */
.invitation-backdrop img { opacity:.78; }
.invitation-form-section::before { background:linear-gradient(90deg,rgba(26,15,31,.38),rgba(26,15,31,.12)),linear-gradient(to bottom,var(--plum),transparent 18%,transparent 85%,var(--plum)); }
.introduction-form { background:rgba(43,24,52,.57); border:1px solid rgba(238,220,250,.18); box-shadow:0 20px 60px rgba(10,3,18,.12); backdrop-filter:blur(14px); gap:18px; }
.introduction-form input,.introduction-form textarea { background:rgba(255,255,255,.07); border-color:rgba(255,255,255,.27); }
.contact-note,.voice-hint { font-size: var(--lc-2, 14px); line-height:1.6; color:rgba(255,255,255,.73); }
.journey-response { border:0; padding:0; margin:0; min-width:0; }
.journey-response legend { font-size:var(--lc-2, 14px); line-height:1.6; padding:0; margin-bottom:12px; }
.response-options { display:flex; gap:8px; margin-bottom:12px; }
.introduction-form .response-options button { padding:7px 13px; font-size: var(--lc-2, 14px); background:transparent; border-color:rgba(255,255,255,.24); color:#eee6f4; cursor:pointer; }
.introduction-form .response-options button[aria-pressed=true] { background:rgba(255,255,255,.13); border-color:rgba(255,255,255,.6); }
#recorded-response audio { width:100%; margin-top:12px; }
#voice-status { font-size: var(--lc-2, 14px); line-height:1.5; }
.voice-hint { margin:0 0 12px; }
.introduction-form button[type=button] { cursor:pointer; }

.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }

.invitation-screen { min-height:100svh; display:grid; place-items:center; padding:80px var(--page-gutter); text-align:center; }
.invitation-screen h2 { max-width:900px; margin:0; font-family:'Cormorant Garamond',Georgia,serif; font-size:var(--lc-7, 48px); font-weight:400; line-height:1.25; text-wrap:balance; }
.introduction-form button[type=submit] { padding:20px 24px; font-family:'IBM Plex Mono',monospace; font-size:var(--lc-2, 14px); font-weight:600; letter-spacing:3px; text-transform:uppercase; color:#1a0f1f; border:1px solid rgba(245,216,122,.55); border-radius:999px; background:linear-gradient(135deg,#f3d063 0%,#d4a843 55%,#c9972f 100%); box-shadow:0 22px 50px rgba(0,0,0,.35),0 8px 22px rgba(212,168,67,.35),inset 0 1px 0 rgba(255,255,255,.45); }
#intro-voice { text-align:center; }
#intro-visualizer { display:block; width:100%; height:70px; margin:12px auto; }
#intro-live { text-align:center; }
#intro-live span,#intro-duration { font-family:'IBM Plex Mono',monospace; font-size: var(--lc-2, 14px); margin:12px; }
#intro-review audio { width:100%; margin-bottom:12px; }
#intro-note { font-size: var(--lc-2, 14px); line-height:1.6; }
#intro-note:empty { display:none; }
.response-options { gap:12px; }
.introduction-form .response-options button { flex:1; padding:14px; }

/* Clear choice controls and response readiness. */
.invitation-form-section { padding-block:28px; }
.introduction-form button[type=submit] { transition:opacity .25s ease,filter .25s ease,box-shadow .25s ease,transform .2s ease; cursor:pointer; }
.introduction-form button[type=submit]:disabled { opacity:.35; filter:saturate(.5); box-shadow:none; cursor:not-allowed; }
.introduction-form button[type=submit]:enabled:hover { filter:brightness(1.08); transform:translateY(-1px); }
.introduction-form .response-options button { border:1px solid rgba(255,255,255,.4); background:rgba(255,255,255,.07); box-shadow:inset 0 1px 0 rgba(255,255,255,.08); transition:background .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease; }
.introduction-form .response-options button:hover { background:rgba(255,255,255,.14); border-color:rgba(245,216,122,.7); transform:translateY(-2px); box-shadow:0 5px 16px rgba(0,0,0,.12); }
.introduction-form .response-options button:focus-visible { outline:2px solid #f3d063; outline-offset:3px; }
.introduction-form .response-options button[aria-pressed=true] { background:rgba(212,168,67,.18); border-color:#d4a843; }
@media(prefers-reduced-motion:reduce) { .introduction-form button { transition:none; transform:none!important; } }

@media(min-width:769px) and (min-height:650px) { .introduction-form { min-height:calc(100svh - 56px); align-content:center; } }

/* Application finale: clear artwork, edge-set card and Brotherhood scroll beats. */
.invitation-form-section { padding:30px 30px 30px clamp(24px,5vw,88px); }
.invitation-form-layout { max-width:none; grid-template-columns:minmax(0,1fr) minmax(360px,560px); gap:clamp(40px,6vw,100px); }
.introduction-form { box-shadow:0 30px 90px rgba(8,2,15,.58),0 10px 30px rgba(8,2,15,.35); }
.invitation-form-section::before { display:none; }
@media(min-width:769px) and (min-height:650px) { .introduction-form { min-height:calc(100svh - 60px); } }
.invitation-scroll-wrap.is-enhanced { height:360svh; }
.invitation-scroll-wrap.is-enhanced .invitation-form-section { position:sticky; top:0; height:100svh; }
@media(max-width:768px) { .invitation-form-layout { grid-template-columns:1fr; } .invitation-form-section { padding:40px 24px 30px; } }

.introduction-form button[type=submit] { opacity:var(--cta-reveal,1); }
.introduction-form button[type=submit]:disabled { opacity:calc(var(--cta-reveal,1) * .35); }

.invitation-message h2 { font-size:var(--lc-7, 48px); line-height:1.12; }
.invitation-backdrop img { opacity:.3; }

/* More open contrast and larger form typography. */
.introduction-form { background:rgba(112,78,128,.72); }
.introduction-form h3 { font-size:var(--lc-6, 34px); }
.introduction-form label { font-size:var(--lc-3, 16px); }
.journey-response legend { font-size:var(--lc-3, 16px); line-height:1.55; }
.introduction-form input,.introduction-form textarea { font-size:var(--lc-3, 16px); }
.introduction-form .response-options button { font-size:var(--lc-3, 16px); }
.contact-note { font-size: var(--lc-2, 14px); }
.form-preview-note { font-size: var(--lc-2, 14px); }
.introduction-form button[type=submit] { font-size:var(--lc-2, 14px); }

/* Shared gold statements and an evenly paced introduction card. */
.hiw-invitation .platform-heading,.invitation-screen h2 { color:#e5c77f; }
.gold-arrival { opacity:0; transform:translateY(18px); transition:opacity 1.2s ease,transform 1.2s cubic-bezier(.2,.8,.2,1); }
.gold-arrival.is-visible { opacity:1; transform:none; }
.introduction-form { align-content:normal; gap:24px; padding-block:36px; }
@media(min-width:769px) and (min-height:650px) { .introduction-form { display:flex; flex-direction:column; justify-content:space-between; gap:24px; } .introduction-form h3 { margin:0; } .introduction-form .form-preview-note { margin:0; } }
@media(prefers-reduced-motion:reduce) { .gold-arrival { opacity:1; transform:none; transition:none; } }

.invitation-screen h2 { font-size:var(--lc-7, 48px); }
.invitation-screen { align-items:center; justify-items:center; }
@media(min-height:600px) and (prefers-reduced-motion:no-preference) { .invitation-pause { height:170svh; } .invitation-pause .invitation-screen { position:sticky; top:0; height:100svh; min-height:100svh; } }

/* A 46/54 split gives the longest positioning phrase room at desktop size. */
.gold-intro-pause { position: relative; }
.gold-intro-pause::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(143,91,181,.07), transparent 46%, transparent 68%, rgba(212,168,67,.035)); }
.gold-intro-pause .hero-introduction { position: relative; text-align: left; padding-inline: clamp(24px,2.22vw,40px); }
.intro-pathway { width: 100%; max-width: 1400px; margin-inline: auto; display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: clamp(40px,5.55vw,80px); align-items: center; }
.intro-pathway .hero-statement { color: #fff; font-size: var(--lc-7); line-height: 1.12; text-wrap: pretty; }
.intro-pathway .hero-statement strong { text-wrap: pretty; }
.intro-pathway .hero-statement span { text-wrap: balance; }
.intro-promises { display: grid; gap: 12px; margin-top: 24px; }
.intro-promises p { margin: 0; font-family: "IBM Plex Mono",monospace; font-size: var(--lc-4); font-weight: 300; line-height: 1.65; color: rgba(255,255,255,.78); }
/* The 44px row gap leaves 12px between the visible panel backgrounds. */
.intro-steps { list-style: none; display: grid; grid-template-columns: minmax(0,1fr); gap: 44px; padding: 0; margin: 0; min-width: 0; }
/* Keep the flush label and copy panel on separate backgrounds. */
.intro-step { position: relative; isolation: isolate; min-width: 0; display: grid; grid-template-columns: minmax(0,1fr); gap: 0; }
/* Original Brotherhood background only; preserve the shared text alignment. */
.intro-step-panel { position: relative; isolation: isolate; min-width: 0; }
.intro-step-panel::before { content: ""; position: absolute; z-index: -1; pointer-events: none; inset: 0 0 -16px -24px; background: linear-gradient(90deg, rgba(255,255,255,.075) 0%, rgba(139,92,246,.045) 46%, rgba(139,92,246,.012) 72%, transparent 100%); }
.intro-step h3 { margin: 0 0 6px; padding-top: 6px; font-family: "Cormorant Garamond",Georgia,serif; font-size: calc(var(--lc-6) + 4px); font-weight: 400; line-height: 1.2; letter-spacing: 0; color: #e5c77f; }
.intro-step-number { justify-self: start; margin-inline-start: -24px; margin-block-end: 2px; padding: 4px 8px; background: #ffffff12; color: rgba(110, 231, 183, .68); text-transform: uppercase; letter-spacing: .12em; font-family: "IBM Plex Mono", monospace; font-size: var(--lc-3); font-weight: 400; line-height: 1.2; }
.intro-step p { margin: 0; font-family: "IBM Plex Mono",monospace; font-size: var(--lc-4); font-weight: 300; line-height: 1.65; color: rgba(255,255,255,.78); }
.gold-intro-pause .hero-introduction { padding-block: clamp(48px,7vh,76px); }
.gold-intro-pause.intro-is-pinned { height: 480vh; }
.intro-is-pinned .hero-introduction { position: sticky; top: 0; height: 100vh; min-height: 100vh; overflow: hidden; }
.intro-motion .hero-statement, .intro-motion .intro-step { opacity: 0; transform: translateY(24px); will-change: opacity,transform; transition: opacity .75s ease, transform .75s ease; }
.intro-motion .hero-statement.in, .intro-motion .intro-step.in { opacity: 1; transform: none; }
.intro-motion :is(.intro-step, .intro-promises) p { opacity: 0; transform: translateY(16px); transition: opacity .75s ease, transform .75s ease; }
.intro-motion :is(.intro-step, .intro-promises) p.in { opacity: 1; transform: none; }
/* The pinned chapter smooths progress in one animation loop, without stacked transitions. */
.intro-is-pinned :is(.hero-statement, .intro-step, .intro-step p, .intro-promises p) { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .intro-motion :is(.hero-statement, .intro-step, .intro-step p, .intro-promises p) { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 1100px) {
  .intro-pathway { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .intro-pathway .hero-statement { max-width: 720px; font-size: var(--lc-6); }
  .intro-steps { width: 100%; }
}

@media (max-width: 768px) {
  .gold-intro-pause .hero-introduction { padding-block-start: clamp(96px, 14svh, 128px); }
  .intro-pathway { row-gap: clamp(88px, 12svh, 112px); }
  .intro-promises { gap: 20px; }
}

@media (max-width: 768px) and (prefers-reduced-motion: no-preference) {
  .nevada-scroll-pending:not(:focus-within, .is-enhanced *, .is-pinned *) { opacity: 0; }
  .nevada-scroll-reveal:not(.nevada-scroll-pending, :focus-within, .is-enhanced *, .is-pinned *) {
    animation: nevada-section-entrance .7s ease;
  }
  @keyframes nevada-section-entrance { from { opacity: 0; } to { opacity: 1; } }
}

/* A quieter, editorial three-step introduction. */
.introduction-wizard { background:rgba(49,34,61,.9); border:1px solid rgba(238,220,250,.2); border-radius:20px; padding:40px; display:flex; flex-direction:column; justify-content:flex-start; gap:28px; min-height:620px; box-shadow:0 28px 80px rgba(8,2,15,.45); }
.wizard-header { position:relative; }
.wizard-progress { display:flex; gap:6px; margin-bottom:24px; padding-right:90px; }
.wizard-progress span { width:34px; height:2px; background:rgba(255,255,255,.18); transition:background .3s; }
.wizard-progress .is-current,.wizard-progress .is-complete { background:#e5c77f; }
.wizard-count { position:absolute; top:-6px; right:0; margin:0; font:12px 'IBM Plex Mono',monospace; letter-spacing:2px; color:#e5c77f; }
.introduction-wizard h3 { font-size:var(--lc-6, 34px); line-height:1.15; margin:0; outline:none; }
.wizard-description { font-size: var(--lc-3, 16px); line-height:1.65; color:rgba(255,255,255,.65); margin:12px 0 0; }
.wizard-body { flex:1; }
.wizard-body:has([data-step="2"]:not([hidden])) { display:grid; }
.introduction-wizard [data-step="2"]:not([hidden]) { grid-template-rows:minmax(0,1fr) auto; }
.introduction-wizard [data-step="2"] .journey-response { display:flex; flex-direction:column; }
.introduction-wizard #intro-voice:not([hidden]) { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:140px; }
.introduction-wizard #intro-live,.introduction-wizard #intro-review { width:100%; }
.wizard-step:not([hidden]) { display:grid; gap:22px; animation:wizard-in .35s ease both; }
.introduction-wizard label { font-size:var(--lc-2, 14px); gap:8px; }
.introduction-wizard input,.introduction-wizard textarea { background:rgba(255,255,255,.035); border-color:rgba(255,255,255,.2); border-radius:5px; padding:13px; font-size:var(--lc-3, 16px); }
.wizard-help { margin:0; font-size: var(--lc-2, 14px); line-height:1.6; color:rgba(255,255,255,.62); }
.life-options { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.life-options label { position:relative; display:block; cursor:pointer; }
.life-options input { position:absolute; opacity:0; width:1px; height:1px; }
.life-options span { display:flex; align-items:center; gap:10px; min-height:66px; padding:14px; border:1px solid rgba(255,255,255,.18); border-radius:6px; line-height:1.4; transition:background .2s,border-color .2s; }
.life-options span::before { content:''; width:14px; height:14px; border:1px solid rgba(255,255,255,.4); border-radius:3px; flex-shrink:0; }
.life-options input:checked+span { border-color:#e5c77f; background:rgba(229,199,127,.1); }
.life-options input:checked+span::before { background:#e5c77f; box-shadow:inset 0 0 0 3px #3b2b46; }
.life-options label:hover span { border-color:rgba(229,199,127,.65); }
.life-options input:focus-visible+span { outline:2px solid #e5c77f; outline-offset:3px; }
.wizard-footer { display:grid; grid-template-columns:auto 1fr; align-items:center; gap:14px; margin-top:auto; }
.introduction-wizard .wizard-next,.introduction-wizard button[type=submit] { grid-column:2; border-radius:999px; background:linear-gradient(135deg,#f3d063,#d4a843); color:#1a0f1f; font-size: var(--lc-2, 14px); letter-spacing:2px; font-weight:600; padding:17px 22px; cursor:pointer; }
.introduction-wizard .wizard-back { background:none; border:0; padding:12px 6px; font-size:var(--lc-2, 14px); color:rgba(255,255,255,.7); }
.wizard-error,.wizard-footer .form-preview-note { grid-column:1/-1; margin:0; font-size: var(--lc-2, 14px); line-height:1.6; text-align:center; }
.wizard-error:empty { display:none; }
.wizard-footer .form-preview-note { color:rgba(255,255,255,.4); }
.introduction-wizard [hidden] { display:none!important; }
.founder-card.is-portrait-ready { opacity:0; transform:translateY(20px); transition:opacity 1.1s ease,transform 1.1s ease; }
.founder-card.is-portrait-ready.is-visible { opacity:1; transform:none; }
@keyframes wizard-in { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }
@media(min-width:769px) and (min-height:650px) { .introduction-wizard { min-height:min(680px,calc(100svh - 60px)); } }
@media(max-width:768px) { .introduction-wizard { min-height:580px; padding:28px; } .introduction-wizard h3 { font-size:var(--lc-6, 34px); } }
@media(max-width:380px) { .life-options { grid-template-columns:1fr; } }
@media(prefers-reduced-motion:reduce) { .wizard-step:not([hidden]) { animation:none; } .founder-card.is-portrait-ready { opacity:1; transform:none; transition:none; } }

/* Keep the expanded optional choices comfortable within the card. */
.life-options { gap:8px; }
.life-options span { min-height:54px; padding:10px 12px; }

/* Wider introduction card with separate life-stage and availability groups. */
@media(min-width:769px) { .invitation-form-layout { grid-template-columns:minmax(0,1fr) minmax(440px,680px); gap:clamp(32px,4vw,64px); } .introduction-wizard { padding:28px 36px 20px; gap:20px; min-height:calc(100svh - 60px); } }
.choice-category { border:0; padding:0; margin:0; min-width:0; }
.choice-category legend { padding:0; margin-bottom:12px; font-size:var(--lc-3, 16px); color:#e5c77f; }
.introduction-wizard [data-step="1"] { gap:20px; }
.availability-options label:last-child { grid-column:1/-1; }
.wizard-footer { row-gap:8px; }

.choice-category legend small { font-size: var(--lc-2, 14px); color:rgba(255,255,255,.6); }
.availability-options { grid-template-columns:repeat(3,minmax(0,1fr)); }
.availability-options label:last-child { grid-column:auto; }
@media(max-width:768px) { .availability-options { grid-template-columns:1fr; } }

/* Let the choice groups breathe within the available card height. */
.introduction-wizard:has([data-step="1"]:not([hidden])) .wizard-body { display:flex; flex-direction:column; justify-content:center; padding-block:clamp(20px,4vh,44px); }
.introduction-wizard [data-step="1"] { gap:clamp(28px,4vh,44px); }
.choice-category legend { font-size:var(--lc-3, 16px); margin-bottom:16px; }
.choice-category legend small { font-size: var(--lc-2, 14px); }
.life-options { gap:12px; }
.introduction-wizard .life-options label { font-size:var(--lc-3, 16px); }
.life-options span { min-height:64px; padding:14px 16px; gap:12px; }
@media(max-width:768px) { .introduction-wizard:has([data-step="1"]:not([hidden])) .wizard-body { padding-block:24px; } .life-options span { padding:14px 12px; } }

/* Frame the founder card with equal breathing room on both sides. */
.founder-section { min-height:100svh; display:grid; grid-template-columns:1fr; align-content:center; padding-block:clamp(120px,18svh,220px); }
@media(max-width:700px) { .founder-section { padding-block:100px; } }
@media(prefers-reduced-motion:no-preference) { #hero-title { will-change:transform; } }

/* A shorter handoff from the founder note to the invitation. */
.founder-section { min-height:0; padding-bottom:64px; }
@media(max-width:700px) { .founder-section { padding-bottom:48px; } }

/* The hero alone lifts; gold statements and founder card dissolve in place. */
.founder-stage { width: 100%; }
.founder-section.is-pinned { height: 260svh; min-height: 0; display: block; padding-block: 0; }
.founder-section.is-pinned .founder-stage { position: sticky; top: 0; height: 100svh; display: grid; align-items: center; padding-block: 64px; }
.founder-section.is-pinned .founder-card { position: fixed; z-index: 2; top: 50%; left: 50%; width: calc(100% - 2 * var(--page-gutter)); max-width: calc(1280px - 2 * var(--page-gutter)); will-change: opacity; transform: translate(-50%,-50%); transition: none; }
.hero-content { animation:none; }
@media(min-width:769px) { .is-enhanced .problem-reading { left:57%; width:calc(43% - var(--page-gutter)); } .is-enhanced .problem-progress { left:57%; } }

#hero-title .hero-letter { display:inline; }

@media(min-width:769px) { .is-enhanced .problem-progress { left:57%; width:min(520px,calc(43% - var(--page-gutter))); justify-content:center; transform:none; } }

.is-enhanced .problem-progress span { width:40px; }

/* Pair height = animation + 50px + heading; equal free space centers it in the column. */
.hiw-section .school-hiw-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 50px;
  padding-block: 24px;
}
.hiw-section .school-hiw-figure { flex: 0 0 auto; height: clamp(145px, 24svh, 240px); }
.hiw-section .school-hiw-area-title { line-height: 1.12; padding-block: 0; }
@media (min-width: 1024px) {
  .school-hiw-focus { grid-template-rows: 1fr; align-content: stretch; }
  .school-hiw-area-title { line-height: 1.12; text-wrap: balance; }
  .school-hiw-area-sub { padding-bottom: 24px; }
}
@media (min-width: 769px) and (max-width: 1023px) {
  .school-hiw-focus { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hiw-section .school-hiw-figure { height: 145px; }
  .school-hiw-area:nth-child(odd) { border-left: 0; }
  .school-hiw-area:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.07); }
}
@media (max-width: 768px) {
  .hiw-section .school-hiw-figure { height: 160px; }
}
/* Stack before the form's 680px card leaves less than a readable text column. */
@media (max-width: 1100px) {
  .invitation-form-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .invitation-form-section { padding: 80px 24px 30px; }
  .invitation-message, .introduction-wizard { width: 100%; max-width: 680px; margin-inline: auto; }
}

/* Use the established type steps at each breakpoint, without intermediate sizes. */
@media (max-width: 1023px) {
  .hero-name, .hero-statement, .platform-heading, .hiw-invitation .platform-heading,
  .founder-copy h2, .invitation-screen h2, .invitation-message h2 { font-size: var(--lc-6); }
  .hero-place, .problem-text { font-size: var(--lc-5); }
}
@media (max-width: 600px) {
  .hero-name, .hero-statement, .platform-heading, .hiw-invitation .platform-heading,
  .invitation-screen h2 { font-size: var(--lc-5); }
}

/* Reading copy uses the larger type step; supporting controls remain legible. */
.wizard-description, .introduction-wizard input, .introduction-wizard textarea,
.journey-response legend { font-size: var(--lc-4); }
.hiw-section .school-hiw-offer-eyebrow, .introduction-wizard label,
.wizard-help, .wizard-error, .wizard-footer .form-preview-note,
.introduction-wizard .wizard-next, .introduction-wizard .wizard-back,
.introduction-wizard button[type=submit], .choice-category legend small,
.contact-note, .voice-hint, #intro-note, #intro-live span, #intro-duration { font-size: var(--lc-3); }

/* Local gathering invitation and two clear ways to continue. */
.gatherings-section { max-width:1280px; margin:auto; padding:110px var(--page-gutter); display:grid; grid-template-columns:.85fr 1.15fr; gap:64px; align-items:center; }
.closing-kicker, .invitation-message .closing-kicker { margin:0 0 20px; font:400 var(--lc-3)/1.5 'IBM Plex Mono',monospace; letter-spacing:.12em; text-transform:uppercase; color:var(--mint); }
.gatherings-section h2 { margin:0 0 24px; color:#e5c77f; font:400 var(--lc-7)/1.1 'Cormorant Garamond',Georgia,serif; }
.gatherings-section p:not(.closing-kicker), .closing-choice > p:not(.choice-number):not(.choice-footnote) { margin:0; font-size:var(--lc-4); line-height:1.65; color:#e2dbe8; }
.gathering-preview { padding:36px; border:1px solid rgba(174,130,223,.18); border-radius:18px; background:linear-gradient(110deg,rgba(174,130,223,.08),rgba(174,130,223,.015)); }
.gathering-status { display:inline-block; margin-bottom:20px; padding:6px 12px; border:1px solid rgba(110,231,183,.3); border-radius:999px; font:var(--lc-3)/1.4 'IBM Plex Mono',monospace; color:var(--mint); }
.gathering-preview h3 { margin:0 0 16px; font:400 var(--lc-6)/1.15 'Cormorant Garamond',Georgia,serif; }
.gathering-preview a { display:inline-flex; gap:20px; margin-top:28px; color:#e5c77f; font-size:var(--lc-3); text-underline-offset:6px; }
.invitation-form-layout.closing-layout { display:block; max-width:1152px; margin:auto; }
.closing-layout .closing-heading { width:100%; max-width:760px; margin:0 0 48px; }
.closing-heading h2 { color:#e5c77f; font-weight:400; }
.closing-heading > p:last-child { max-width:640px; font-family:'Plus Jakarta Sans',sans-serif; }
.closing-options { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.65fr); gap:24px; align-items:stretch; }
.closing-choice { min-width:0; padding:36px; border:1px solid rgba(174,130,223,.16); border-radius:18px; background:rgba(42,24,54,.88); }
.collaborate-choice { background:linear-gradient(125deg,rgba(76,41,91,.94),rgba(42,24,54,.9)); }
.choice-number { margin:0 0 28px; color:#b99acf; font:var(--lc-3)/1.4 'IBM Plex Mono',monospace; letter-spacing:.06em; }
.closing-choice h3 { margin:0 0 20px; font:400 var(--lc-6)/1.1 'Cormorant Garamond',Georgia,serif; color:#fff; }
.closing-choice > .collaborate-detail { margin-top:18px !important; color:#c7becf !important; }
.stay-connected-form { display:grid; gap:12px; margin-top:28px; }
.stay-connected-form label { font-size:var(--lc-3); color:#dfd7e8; }
.stay-connected-form input { min-width:0; width:100%; border:1px solid rgba(174,130,223,.4); border-radius:8px; padding:14px; background:rgba(10,5,16,.36); color:white; font:var(--lc-4)/1.4 'Plus Jakarta Sans',sans-serif; }
.stay-connected-form input:focus-visible { outline:2px solid var(--mint); outline-offset:3px; }
.closing-choice button { min-height:50px; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:14px 18px; border-radius:8px; cursor:pointer; font:400 var(--lc-3)/1.4 'IBM Plex Mono',monospace; }
.stay-connected-form button { border:1px solid rgba(229,199,127,.7); background:transparent; color:#e5c77f; }
.open-introduction { margin-top:32px; min-width:250px; border:1px solid #e5c77f; background:#e5c77f; color:var(--plum); }
.closing-choice button:hover { filter:brightness(1.12); }
.closing-choice button:focus-visible, .close-introduction:focus-visible { outline:2px solid var(--mint); outline-offset:5px; }
.choice-footnote, .signup-preview-note, .signup-status { margin:16px 0 0; color:#b9adc3; font-size:var(--lc-3); line-height:1.6; }
.signup-preview-note { margin:0; }
.signup-status:empty { display:none; }

.nevada-waitlist {
  width: min(100%, 1180px);
  margin-inline: auto;
  padding: 48px var(--page-gutter) clamp(80px, 14vh, 144px);
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}
.nevada-brochure {
  position: relative;
  isolation: isolate;
  width: min(100%, 360px);
  aspect-ratio: 3 / 4;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgb(229 199 127 / .45);
  background: #24132e;
  box-shadow: 10px 10px 0 #261832, 16px 22px 44px rgb(0 0 0 / .38);
}
.nevada-brochure img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .68; }
.nevada-brochure figcaption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 12px;
  padding: 48px 22px 24px;
  background: linear-gradient(transparent, #1e1327 82%);
  color: #fff;
}
.brochure-title { font: 500 clamp(24px, 3vw, 38px)/1.04 "Cormorant Garamond", Georgia, serif; }
.waitlist-copy { min-width: 0; }
.nevada-waitlist h2 {
  margin: 0 0 16px;
  color: #e5c77f;
  font: 400 var(--lc-7, 48px)/1.12 "Cormorant Garamond", Georgia, serif;
}
.waitlist-copy > p {
  margin: 0;
  color: #dfd7e8;
  font: 300 var(--lc-4, 20px)/1.65 "IBM Plex Mono", monospace;
}
.waitlist-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}
.nevada-waitlist .stay-connected-form button {
  padding: 14px 18px;
  border-radius: 8px;
  background: #e5c77f;
  color: #24132e;
  font: 500 var(--lc-3, 16px)/1.4 "Plus Jakarta Sans", sans-serif;
  cursor: pointer;
}
.nevada-waitlist button:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.nevada-waitlist button:disabled { opacity: .65; cursor: wait; }

/* Match the homepage section's layout where Nevada's legacy styles overlap. */
#how-it-works { margin-top: 0; }
#how-it-works .hiw-stage { min-height: 0; align-items: stretch; }
#how-it-works .hiw-invitation { width: auto; max-width: none; margin: 0; padding: 0; }
#how-it-works .platform-heading { letter-spacing: normal; }
#how-it-works .school-hiw-offer { display: block; flex: initial; min-height: 0; padding: 0; border: 0; }
#how-it-works .school-hiw-focus { grid-template-rows: none; }

@media (max-width: 600px) {
  .waitlist-fields { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 840px) {
  .nevada-waitlist { grid-template-columns: minmax(0, 1fr); }
  .nevada-brochure { width: min(100%, 280px); }
}
.builder-introduction[hidden] { display:none; }
.builder-introduction { max-width:760px; margin:48px auto 0; scroll-margin-top:90px; }
.builder-introduction .introduction-wizard { min-height:0; max-width:none; width:100%; margin:0; padding:36px; }
.close-introduction { display:block; margin:0 0 16px auto; padding:8px 0; border:0; background:none; color:#e5c77f; font:var(--lc-3)/1.5 'IBM Plex Mono',monospace; cursor:pointer; }
@media(max-width:800px) { .gatherings-section { grid-template-columns:1fr; gap:32px; padding-block:80px; } .closing-options { grid-template-columns:1fr; } .closing-heading h2,.gatherings-section h2 { font-size:var(--lc-6); } .closing-choice,.gathering-preview { padding:28px; } .open-introduction { width:100%; min-width:0; } }
@media(max-width:400px) { .closing-choice,.gathering-preview { padding:24px; } .builder-introduction .introduction-wizard { padding:24px; } }

/* A full-width stage gives the events the complete reading area. */
.invitation-pause.events-invitation { height:auto; }
.events-invitation .events-screen { position:relative; display:block; height:auto; min-height:100svh; width:100%; max-width:none; margin:auto; padding:0; text-align:left; }
.events-screen > h2 { max-width:none; font-size:var(--lc-7); line-height:1.2; text-wrap:pretty; }
.events-left { width:100%; max-width:1280px; min-width:0; margin-inline:auto; padding:96px var(--page-gutter); }
.events-right { min-width:0; width:100%; }
.events-invitation.is-animated { height:450svh; }
.events-invitation.is-animated .events-screen { position:sticky; top:0; height:100svh; }
@media(min-width:901px) {
  .events-invitation .events-screen { padding:0; gap:0; align-items:stretch; }
  .events-screen .events-left { align-self:center; }
  .events-screen .events-right { display:flex; flex-direction:column; justify-content:center; padding:110px var(--page-gutter); background:rgba(35,18,46,.8); }
}
.events-screen .events-right h2 { max-width:none; font-size:var(--lc-7); line-height:1.2; text-wrap:pretty; }
.events-screen .events-right h2 { font-size:var(--lc-6); }
.finale-card { width:100%; min-height:calc(100svh - 60px); padding:28px 36px; display:flex; flex-direction:column; justify-content:center; background:rgba(49,34,61,.9); border:1px solid rgba(238,220,250,.2); border-radius:20px; box-shadow:0 28px 80px rgba(8,2,15,.45); }
.finale-card h3 { font:400 var(--lc-6)/1.15 'Cormorant Garamond',Georgia,serif; margin:0 0 28px; }
.finale-choice { display:grid; gap:20px; }
.finale-choice > button { display:flex; align-items:center; justify-content:space-between; gap:20px; width:100%; padding:24px; border:1px solid rgba(174,130,223,.4); border-radius:10px; color:#fff; background:rgba(174,130,223,.07); text-align:left; font:var(--lc-4)/1.4 'Plus Jakarta Sans',sans-serif; cursor:pointer; }
.finale-choice small { display:block; margin-top:8px; color:#d2c8dc; font-size:var(--lc-3); }
.finale-choice > button[aria-pressed=true] { background:#293c38; border-color:rgba(110,231,183,.5); }
.finale-choice > button:hover { background:#46363e; border-color:#e5c77f; }
.finale-choice > button:hover .selection-circle { border-color:#e5c77f; }
.finale-choice > button:focus-visible { outline:2px solid #e5c77f; outline-offset:4px; }
.finale-choice .selection-circle { width:20px; height:20px; flex:0 0 20px; border:1px solid rgba(110,231,183,.5); border-radius:50%; display:grid; place-items:center; }
.finale-choice .selection-circle::after { content:''; width:10px; height:10px; border-radius:50%; background:var(--mint); opacity:0; transition:opacity .2s ease; }
.finale-choice > button[aria-pressed=true] .selection-circle::after { opacity:1; }
.finale-card .introduction-wizard { padding:0; margin:0; border:0; background:none; box-shadow:none; backdrop-filter:none; min-height:0; width:100%; max-width:none; }
.finale-card [hidden] { display:none !important; }
.finale-card .change-connect { align-self:flex-start; border:1px solid rgba(229,199,127,.45); border-radius:999px; background:rgba(229,199,127,.06); color:#e5c77f; padding:8px 22px; margin:0 0 28px; font:var(--lc-3)/1.5 'IBM Plex Mono',monospace; cursor:pointer; }
.finale-card .change-connect:hover { background:rgba(229,199,127,.14); border-color:#e5c77f; }
.finale-card .finale-email { margin:0; }
@media(max-width:900px) { .finale-card { min-height:0; padding:28px; } }
.invitation-form-layout.builder-finale { max-width:1280px; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:64px; }
.builder-finale .builder-introduction { width:100%; max-width:none; margin:0; }
.builder-finale .closing-heading { margin:0; }
.builder-finale .introduction-wizard { min-height:0; }
.invitation-form-section:has(.builder-finale)::before { display:block; background:linear-gradient(90deg,rgba(26,15,31,.55),rgba(26,15,31,.2)),linear-gradient(to bottom,var(--plum),transparent 20%,transparent 85%,var(--plum)); }
.invitation-form-section:has(.builder-finale) .invitation-backdrop img { opacity:.6; }
.events-left .gathering-preview { padding:32px; border-radius:0; }
.events-left .gathering-preview h3 { font-size:var(--lc-6); }
.events-left .gathering-preview p { color:#d8cfe2; font-size:var(--lc-4); line-height:1.6; margin:0; }
/* Full-width event timeline. Keep the existing plum, gold and white panel treatment. */
.upcoming-gatherings { min-width:0; scroll-margin-top:96px; }
.gatherings-header { display:flex; justify-content:space-between; align-items:start; gap:32px; margin-bottom:24px; }
.gatherings-heading { max-width:800px; }
.upcoming-gatherings h2 { margin:0 0 12px; color:#e5c77f; font:400 var(--lc-7)/1.1 'Cormorant Garamond',Georgia,serif; }
.gatherings-intro { margin:0; color:#d2c8dc; font-size:var(--lc-2); line-height:1.6; }
.gatherings-edition { display:flex; flex:0 0 auto; flex-direction:column; align-items:flex-end; gap:12px; padding-top:8px; color:#d2c8dc; font:var(--lc-2)/1.5 'IBM Plex Mono',monospace; }
.gatherings-sample { display:inline-flex; align-items:center; gap:8px; color:var(--mint); font-size:var(--lc-1); }
.gatherings-sample::before { content:''; width:5px; height:5px; border-radius:50%; background:currentColor; }
.gatherings-list { position:relative; display:grid; gap:12px; list-style:none; padding:0; margin:0; }
.gatherings-list::before { content:''; position:absolute; top:28px; bottom:28px; left:92px; border-left:1px solid rgba(238,220,250,.13); }
.gathering-row { position:relative; display:grid; grid-template-columns:80px minmax(0,1fr); gap:24px; align-items:start; }
.gathering-row::before { content:''; position:absolute; left:89px; top:28px; width:7px; height:7px; border-radius:50%; background:#b9adc3; box-shadow:0 0 0 5px var(--plum); }
.gathering-date { display:flex; flex-direction:column; align-items:center; padding-top:10px; line-height:1.2; }
.gathering-month { color:#b9adc3; font:var(--lc-1)/1.5 'IBM Plex Mono',monospace; }
.gathering-day { margin-block:2px; color:#f4edf8; font:400 var(--lc-6)/1.1 'Plus Jakarta Sans',sans-serif; }
.gathering-weekday { color:#b9adc3; font-size:var(--lc-1); line-height:1.5; }
.gathering-card { display:grid; grid-template-columns:112px minmax(0,1fr); gap:24px; align-items:center; padding:16px 24px; border:1px solid rgba(255,255,255,.14); border-radius:12px; background:rgba(255,255,255,.08); box-shadow:0 6px 18px rgba(8,2,15,.18); }
.gathering-copy { min-width:0; }
.gathering-card h3 { margin:0 0 8px; color:#f4edf8; font:600 var(--lc-5)/1.15 'Cormorant Garamond',Georgia,serif; text-wrap:pretty; }
.gathering-meta { display:flex; flex-wrap:wrap; gap:4px 8px; margin:0; font-size:var(--lc-2); line-height:1.5; color:#b9adc3; }
.gathering-audience { color:#e5c77f; }
.gathering-younger .gathering-audience { color:#c9a4ee; }
.gathering-families .gathering-audience { color:var(--mint); }
.gathering-together .gathering-audience { color:#f0b7ac; }
.gathering-thumbnail { display:block; width:112px; height:64px; border-radius:8px; object-fit:cover; }
.gatherings-note { margin:16px 0 0 104px; color:#b9adc3; font-size:var(--lc-1); line-height:1.5; }
/* Top inset = 75px fixed header + 16px clearance, rounded up to 96px.
   At 720px, four 98px rows + 36px gaps leave room for the heading and note. */
.has-fitted-calendar .events-left { height:100svh; padding-block:96px 24px; display:flex; flex-direction:column; }
.has-fitted-calendar .upcoming-gatherings { flex:1; min-height:0; display:flex; flex-direction:column; }
.has-fitted-calendar .upcoming-gatherings > :not(.gatherings-scroll) { flex-shrink:0; }
.has-fitted-calendar .gatherings-scroll { flex:1; min-height:0; overflow:visible; padding:8px; margin:-8px; }
.gatherings-scroll:focus-visible { outline:2px solid var(--mint); outline-offset:4px; }
@media(max-width:900px) {
  .events-left { padding-block:80px; }
  .gatherings-header { gap:24px; }
  .upcoming-gatherings h2 { font-size:var(--lc-6); }
}
/* Phone rows use the full available width; the date moves above its card. */
@media(max-width:600px) {
  .gatherings-header { flex-direction:column; gap:20px; }
  .gatherings-edition { width:100%; flex-direction:row; justify-content:space-between; align-items:center; padding:0; }
  .gatherings-list { gap:24px; }
  .gatherings-list::before, .gathering-row::before { display:none; }
  .gathering-row { display:block; }
  .gathering-date { flex-direction:row; gap:6px; justify-content:flex-start; padding:0; margin:0 0 10px; }
  .gathering-month, .gathering-day, .gathering-weekday { font:var(--lc-2)/1.5 'Plus Jakarta Sans',sans-serif; margin:0; }
  .gathering-day { color:#f4edf8; }
  .gathering-weekday { margin-left:2px; }
  .gathering-card { grid-template-columns:64px minmax(0,1fr); gap:12px; padding:16px; align-items:start; }
  .gathering-card h3 { font-size:var(--lc-4); }
  .gathering-thumbnail { width:64px; height:64px; }
  .gathering-divider { display:none; }
  .gathering-meta { display:grid; gap:4px; }
  .gatherings-note { margin-left:0; }
}
.events-signup { margin-top:40px; }
.events-signup h3 { font:400 var(--lc-4)/1.5 'Plus Jakarta Sans',sans-serif; margin:0; }
.events-signup .stay-connected-form { margin-top:18px; }
.email-entry { display:flex; gap:12px; }
.email-entry input { flex:1; width:0; }
.email-entry button { flex-shrink:0; padding:14px 18px; border-radius:8px; cursor:pointer; font:var(--lc-3)/1.4 'IBM Plex Mono',monospace; }
.builder-closing { text-align:center; }
.builder-closing .closing-heading { margin:0 auto; }
.builder-closing .closing-heading > p:last-child { margin:24px auto 0; }
.builder-closing .closing-options { display:flex; justify-content:center; }
.builder-closing .open-introduction { display:flex; align-items:center; justify-content:space-between; gap:32px; padding:16px 24px; border-radius:8px; cursor:pointer; font:var(--lc-3)/1.5 'IBM Plex Mono',monospace; }
.builder-closing .builder-introduction { text-align:left; }
@media(max-width:900px) {
  .events-invitation .events-screen { padding:0; }
  .events-screen > h2 { grid-row:1; font-size:var(--lc-6); }
  .events-right { grid-row:1; }
  .events-screen .events-right h2 { font-size:var(--lc-6); }
  .invitation-form-layout.builder-finale { grid-template-columns:1fr; gap:40px; }
}
@media(max-width:520px) {
  .email-entry { flex-direction:column; }
  .email-entry input { width:100%; }
  .email-entry button { text-align:left; }
  .events-left .gathering-preview { padding:24px; }
}

/* A centered closing composition, with the same scroll-controlled reveal. */
.invitation-form-section:has(.finale-card) { padding:64px var(--page-gutter); }
.invitation-form-layout:has(.finale-card) { grid-template-columns:minmax(0,1fr); max-width:800px; gap:64px; justify-items:center; }
.invitation-form-layout:has(.finale-card) > .invitation-message { width:100%; max-width:none; text-align:center; }
.invitation-form-layout:has(.finale-choice:not([hidden])) { position:relative; top:-24px; }
.invitation-form-layout:has(.finale-card) > .invitation-message p { margin-top:18px; }
.invitation-form-layout:has(.finale-card) .choice-instruction { font-size:var(--lc-3,16px); color:rgba(255,255,255,.72); }
.finale-card { min-height:0; padding:36px; background:rgba(37,23,48,.88); border-color:rgba(238,220,250,.16); box-shadow:0 20px 64px rgba(8,2,15,.3); }
.finale-choice { grid-template-columns:repeat(2,minmax(0,1fr)); gap:36px; }
.finale-choice h3 { text-align:center; margin-bottom:12px; }
.finale-choice > button { min-height:170px; padding:32px; background:rgba(49,34,61,.78); box-shadow:0 18px 48px rgba(8,2,15,.5),0 5px 14px rgba(8,2,15,.3); justify-content:center; align-items:center; text-align:center; gap:16px; font-size:var(--lc-4,20px); line-height:1.5; transition:background-color .25s ease,border-color .25s ease; }
.finale-choice .selection-circle { margin-top:0; }
.invitation-form-layout:has(.finale-choice[hidden]) > .invitation-message { display:none; }
.finale-card:has(.finale-choice[hidden]) { max-height:calc(100svh - 128px); overflow-y:auto; justify-content:flex-start; }
.invitation-form-section:has(.finale-card) .invitation-backdrop img { object-position:center; }
.invitation-form-section:has(.finale-card) .invitation-backdrop { background:#1a0f1f; }
.invitation-form-section:has(.finale-card) .invitation-backdrop img { opacity:.23; }
.invitation-form-section:has(.finale-card)::before { display:none; }
.invitation-form-section:has(.finale-card) .invitation-backdrop::after { content:''; position:absolute; inset:0; background:linear-gradient(to right,rgba(16,8,23,.75),transparent 24%,transparent 76%,rgba(16,8,23,.75)),linear-gradient(to bottom,rgba(16,8,23,.8),transparent 26%,transparent 74%,rgba(16,8,23,.8)); pointer-events:none; }
.finale-card:has(.finale-choice:not([hidden])) { padding:0; border-color:transparent; background:none; box-shadow:none; backdrop-filter:none; }
@media(max-width:600px) {
  .invitation-form-section:has(.finale-card) { padding-block:80px 40px; }
  .invitation-form-layout:has(.finale-card) { gap:40px; }
  .finale-card { padding:24px; }
  .finale-choice { grid-template-columns:1fr; gap:24px; }
  .finale-choice > button { min-height:0; padding:28px; }
  .finale-card:has(.finale-choice[hidden]) { max-height:none; overflow:visible; }
}

/* Cards reveal on page scroll; pointer feedback never changes their footprint. */
.gathering-card { transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease; }
@media(hover:hover) and (pointer:fine) {
  .gathering-card:hover { background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.28); box-shadow:0 8px 24px rgba(8,2,15,.24); }
}
.gathering-card:active { background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.28); }
@media(max-width:768px) { .site-header { position:absolute; } }
@media(prefers-reduced-motion:reduce) { .gathering-card { transition:none; } }

/* Desktop carousel: three equal cards, two 24px gaps, with dates above. */
.gatherings-footer { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-top:24px; }
.gatherings-footer .gatherings-note { margin:0; }
.gatherings-controls { display:flex; align-items:center; gap:10px; flex:0 0 auto; }
.gatherings-controls[hidden] { display:none; }
.gatherings-range { min-width:88px; margin-right:12px; color:#b9adc3; font:var(--lc-1)/1.5 'IBM Plex Mono',monospace; text-align:right; }
.gatherings-controls button { display:grid; place-items:center; width:60px; height:60px; border:1px solid rgba(255,255,255,.2); border-radius:50%; background:rgba(255,255,255,.04); color:#e5c77f; font-size:26px; cursor:pointer; transition:background .2s,border-color .2s; }
.gatherings-controls button:hover:not(:disabled) { background:rgba(255,255,255,.1); border-color:#e5c77f; }
.gatherings-controls button:disabled { opacity:.25; cursor:default; }
.gatherings-controls button:focus-visible { outline:2px solid var(--mint); outline-offset:4px; }
@media(min-width:901px) {
 .events-left { padding-block:112px 80px; }
 .gatherings-header { margin-bottom:40px; }
 .gatherings-scroll { overflow-x:auto; padding:8px; margin:-8px; scroll-snap-type:x mandatory; scroll-padding-inline:8px; scrollbar-width:none; }
 .gatherings-scroll::-webkit-scrollbar { display:none; }
 .gatherings-list { grid-auto-flow:column; grid-auto-columns:calc((100% - 64px) / 3); grid-template-columns:none; gap:32px; }
 .gatherings-list::before, .gathering-row::before { display:none; }
 .gathering-row { display:flex; flex-direction:column; gap:0; scroll-snap-align:start; min-width:0; }
 .gathering-date { flex-direction:row; align-items:baseline; justify-content:flex-start; gap:8px; margin:0 0 16px; padding:0 2px; }
 .gathering-day { font-size:var(--lc-5); margin:0; }
 .gathering-weekday { margin-left:4px; }
 .gathering-card { display:flex; flex-direction:column; align-items:stretch; gap:0; height:100%; padding:0; overflow:hidden; border-radius:16px; }
 .gathering-thumbnail { width:100%; height:184px; border-radius:0; object-position:center 42%; }
 .gathering-copy { flex:1; display:flex; flex-direction:column; padding:24px; }
 .gathering-card h3 { min-height:84px; margin-bottom:20px; }
 .gathering-meta { display:grid; gap:8px; margin-top:auto; }
 .gathering-divider { display:none; }
}
@media(min-width:901px) and (max-width:1100px) {
 .gatherings-list { grid-auto-columns:calc((100% - 32px) / 2); }
}
@media(max-width:600px) { .gatherings-footer { margin-top:24px; } }

/* Pinned slider: available height is viewport minus 96px header and 16px footer space. */
.events-invitation.is-scroll-slider { height:300svh; }
.is-scroll-slider .events-screen { position:sticky; top:0; height:100svh; }
.is-scroll-slider .events-left { height:100svh; padding-block:96px 16px; display:flex; flex-direction:column; }
.is-scroll-slider .upcoming-gatherings { flex:1; min-height:0; display:flex; flex-direction:column; }
.is-scroll-slider .gatherings-header,.is-scroll-slider .gatherings-footer { flex-shrink:0; }
.is-scroll-slider .gatherings-scroll { flex:1; min-height:0; scroll-snap-type:none; scroll-behavior:auto; }

.is-scroll-slider .gatherings-header { margin-bottom:32px; }

/* Quiet, consistently sized dates and controls beside the stationary stage. */
.gathering-date { font:400 var(--lc-2)/1.5 'IBM Plex Mono',monospace; color:#d2c8dc; }
.gatherings-slider-shell { position:relative; min-width:0; }
@media(min-width:901px) {
 .gatherings-slider-shell { margin-inline:76px; }
 .gatherings-controls { position:absolute; inset:0; pointer-events:none; }
 .gatherings-controls button { position:absolute; top:50%; transform:translateY(-50%); pointer-events:auto; }
 .gatherings-previous { left:-76px; }
 .gatherings-next { right:-76px; }
 .gatherings-range { margin:0; }
 .is-scroll-slider .gatherings-slider-shell { flex:1; min-height:0; display:flex; }
 .is-scroll-slider .gatherings-scroll { width:100%; }
}
@media(max-width:900px) { .gatherings-range { display:none; } }

/* Arrival is time-based: scrolling only brings the section into view. */
.gatherings-header { justify-content:center; text-align:center; }
.gatherings-heading { max-width:none; }
.events-auto-reveal .gathering-row { opacity:0; }
.events-auto-reveal.events-revealed .gathering-row { animation:event-card-arrival .9s cubic-bezier(.2,.65,.3,1) both; animation-delay:var(--event-delay,0s); }
@keyframes event-card-arrival { from { opacity:0; transform:translateY(14px); } to { opacity:var(--event-exit,1); transform:translateY(0); } }
@media(prefers-reduced-motion:reduce) { .events-auto-reveal .gathering-row { opacity:1; animation:none; } }
@media(max-width:600px) { .gatherings-header { align-items:center; } }

@media(min-width:901px) { .gathering-date { justify-content:center; text-align:center; width:100%; } }

.gatherings-footer { justify-content:flex-end; }
