:root {
    /* HTI Design System — June 2026
       Source: /Users/wsig/Desktop/HTI Design System.zip.
       Brand: warm cream page, deep navy ink/stages, sunrise ramp
       (#E75927 -> #F68420 -> #FCB716 -> #F9D708), Montserrat + Mulish. */
    color-scheme: light;

    /* Raw DS tokens */
    --hti-pumpkin: #E75927;
    --hti-orange: #F68420;
    --hti-marigold: #FCB716;
    --hti-gold: #F9D708;
    --orange-50: #FEF3EC;
    --orange-600: #CB4A1C;
    --orange-700: #A23A16;
    --gold-50: #FFFAE6;
    --gold-300: #FCD34A;
    --navy-900: #0E1B30;
    --navy-800: #14233F;
    --navy-700: #1E3556;
    --navy-600: #2C496F;
    --cream: #FBF8F2;
    --gray-50: #F6F3EE;
    --gray-100: #EDE8E0;
    --gray-200: #E0D9CE;
    --gray-300: #CBC2B4;
    --gray-400: #A69C8C;
    --gray-500: #7C7264;
    --gray-600: #585044;
    --gray-700: #3C362D;

    /* Existing app semantic tokens mapped to the new kit */
    --bg: var(--cream);
    --paper: #FFFFFF;
    --paper-strong: var(--gray-50);
    --ink: var(--navy-800);
    --muted: var(--gray-600);
    --hairline: rgb(203 194 180 / 0.72);
    --accent: var(--hti-pumpkin);
    --accent-deep: var(--orange-700);
    --fire-1: var(--hti-pumpkin);
    --fire-2: var(--hti-orange);
    --fire-3: var(--hti-marigold);
    --fire-4: var(--hti-gold);
    --signal: var(--fire-3);
    --gold-hot: var(--fire-4);
    --gold-line: var(--gold-300);
    --red: #C8412B;
    --green: #2E8B57;
    --focus: #EF7A45;
    --field-bg: #FFFFFF;
    --field-border: rgb(203 194 180 / 0.9);
    --shadow: 0 16px 38px rgb(20 35 63 / 0.14);
    --glow-fire: 0 10px 26px rgb(231 89 39 / 0.3);
    --radius: 18px;
    --radius-sm: 12px;
    --grid-max: 1180px;
    --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
    --font-body: "Mulish", "Segoe UI", system-ui, sans-serif;
    --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    --star-glint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 0 L58 42 L100 50 L58 58 L50 100 L42 58 L0 50 L42 42 Z' fill='white' fill-opacity='.4'/%3E%3C/svg%3E");
    /* mode-aware decor — restrained per HTI kit: no visible paper noise */
    --page-glow: rgb(249 215 8 / 0.22);
    --page-end: #F6F3EE;
    --grain-blend: normal;
    --grain-opacity: 0;
    --beam-opacity: 0.055;
    --cursor-glow-core: rgb(252 183 22 / 0.14);
    --cursor-glow-mid: rgb(231 89 39 / 0.055);
    --tier-glow: var(--gold-50);
}

/* Dark mode: the house goes dark — designed set, not an inversion.
   Stage bands keep their own (slightly lighter) overrides so they still
   read as elevated stages against the deep navy house. */
:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: var(--navy-900);
    --paper: #14233F;
    --paper-strong: #1E3556;
    --ink: #FFFFFF;
    --muted: #E0D9CE;
    --hairline: rgb(252 183 22 / 0.24);
    --accent: var(--hti-orange);
    --accent-deep: var(--hti-gold);
    --gold-line: var(--hti-marigold);
    --focus: var(--fire-4);
    --field-bg: #0E1B30;
    --field-border: rgb(252 183 22 / 0.28);
    --shadow: 0 16px 44px rgb(0 0 0 / 0.42);
    --page-glow: rgb(231 89 39 / 0.18);
    --page-end: #0E1B30;
    --grain-blend: normal;
    --grain-opacity: 0;
    --beam-opacity: 0.09;
    --cursor-glow-core: rgb(249 215 8 / 0.12);
    --cursor-glow-mid: rgb(231 89 39 / 0.06);
    --tier-glow: rgb(252 183 22 / 0.12);
}

/* The stage: HTI navy, fire-lit. Re-declaring the custom properties flips
   every var-driven component inside the band. */
.band-dark {
    color-scheme: dark;
    --bg: var(--navy-800);
    --paper: #1E3556;
    --paper-strong: #2C496F;
    --ink: #FFFFFF;
    --muted: #EDE8E0;
    --hairline: rgb(252 183 22 / 0.28);
    --accent: var(--hti-marigold);
    --accent-deep: var(--hti-orange);
    --focus: var(--fire-4);
    --field-bg: #0E1B30;
    --field-border: rgb(252 183 22 / 0.32);
    --shadow: 0 26px 70px rgb(14 27 48 / 0.55);
    color: var(--ink);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background:
        radial-gradient(ellipse 58rem 28rem at 88% -6%, var(--page-glow), transparent),
        linear-gradient(180deg, var(--bg), var(--page-end));
    background-attachment: fixed;
}

/* Paper grain */
body::after {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    content: "";
    opacity: var(--grain-opacity);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.14'/%3E%3C/svg%3E");
    mix-blend-mode: var(--grain-blend);
}

/* ---- Layer map (fixed, painted over the canvas bg, under content) ----
   z -3  .stage-wash   animated wallpaper spotlights
   z -2  body::after   paper grain (multiply — also textures the beams)
   z -1  .cursor-glow  pointer-following warm light (JS-created)
   flow  content       banded stage cards are opaque; beams sweep the house walls
   z 10  .skip-link    z 60 .confetti    top-layer <dialog> */

/* Wallpaper: slow venue spotlights sweeping the program */
.stage-wash {
    position: fixed;
    inset: -12% -12% 0;
    z-index: -3;
    pointer-events: none;
    overflow: hidden;
}

.stage-wash::before,
.stage-wash::after {
    content: "";
    position: absolute;
    top: -18rem;
    width: 26rem;
    height: 110vh;
    border-radius: 999px;
    filter: blur(28px);
    transform-origin: 50% -8rem;
    opacity: var(--beam-opacity);
}

.stage-wash::before {
    left: 12vw;
    background: linear-gradient(to bottom, oklch(80% 0.14 70 / 0.85), oklch(85% 0.12 88 / 0.35) 45%, transparent 72%);
    transform: rotate(-21deg);
}

.stage-wash::after {
    right: 12vw;
    background: linear-gradient(to bottom, oklch(86% 0.13 90 / 0.8), oklch(76% 0.14 55 / 0.3) 50%, transparent 72%);
    transform: rotate(19deg);
}

@media (prefers-reduced-motion: no-preference) {
    .stage-wash::before {
        animation: beam-sway-a 19s ease-in-out infinite alternate;
    }

    .stage-wash::after {
        animation: beam-sway-b 23s ease-in-out infinite alternate;
    }
}

@keyframes beam-sway-a {
    from {
        transform: rotate(-26deg);
        opacity: calc(var(--beam-opacity) * 0.75);
    }

    to {
        transform: rotate(-12deg);
        opacity: var(--beam-opacity);
    }
}

@keyframes beam-sway-b {
    from {
        transform: rotate(24deg);
        opacity: var(--beam-opacity);
    }

    to {
        transform: rotate(11deg);
        opacity: calc(var(--beam-opacity) * 0.7);
    }
}

/* Cursor-following house light (created by JS only for fine pointers +
   no-preference motion) */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 46rem;
    height: 46rem;
    margin: -23rem 0 0 -23rem;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(circle, var(--cursor-glow-core), var(--cursor-glow-mid) 45%, transparent 70%);
    opacity: 0;
    transition: opacity 600ms ease;
    will-change: transform;
}

.cursor-glow.is-on {
    opacity: 1;
}

.skip-link {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    transform: translateY(-150%);
    padding: 0.75rem 1rem;
    border-radius: 999px;
    color: oklch(22% 0.05 252);
    background: var(--fire-4);
    font-weight: 800;
}

.skip-link:focus {
    transform: translateY(0);
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

a {
    color: var(--accent);
}

/* Plain links inside a band glow amber — but never the action pills,
   whose navy-on-fire text this rule was silently overriding. */
.band-dark a:not(.primary-action):not(.secondary-action) {
    color: var(--fire-3);
}

.app-shell {
    width: min(var(--grid-max), calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 64px;
}

/* ---- Mode toggles ---- */

body[data-mode="public"] [data-nav="staff"] {
    display: none;
}

body[data-mode="staff"] [data-nav="public"] {
    display: none;
}

body[data-mode="staff"] .hero,
body[data-mode="staff"] .sticky-cta {
    display: none;
}

body[data-mode="staff"] main {
    padding-top: 0;
}

body[data-mode="staff"] .app-shell {
    padding-top: 10px;
    padding-bottom: 48px;
}

body[data-mode="staff"] .site-footer {
    margin-top: 36px;
}

/* ---- Shared stage-band container ---- */

.stage-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgb(252 183 22 / 0.28);
    border-radius: var(--radius);
    background:
        radial-gradient(ellipse 44rem 26rem at 82% -12%, rgb(252 183 22 / 0.18), transparent),
        radial-gradient(ellipse 30rem 20rem at 2% 112%, rgb(231 89 39 / 0.16), transparent),
        linear-gradient(170deg, var(--navy-800), var(--navy-900) 68%);
    box-shadow: var(--shadow), inset 0 0 90px rgb(14 27 48 / 0.62);
}

/* ---- Hero: the main stage ---- */

.hero {
    position: relative;
    overflow: hidden;
    min-height: 540px;
    border: 1px solid rgb(252 183 22 / 0.3);
    border-radius: calc(var(--radius) + 8px);
    background:
        radial-gradient(ellipse 46rem 28rem at 80% -10%, rgb(252 183 22 / 0.2), transparent),
        radial-gradient(ellipse 32rem 22rem at 2% 114%, rgb(231 89 39 / 0.18), transparent),
        linear-gradient(165deg, var(--navy-800), var(--navy-900) 64%);
    box-shadow: var(--shadow), inset 0 0 110px rgb(14 27 48 / 0.66);
}

.hero::before {
    content: "";
    position: absolute;
    inset: -7% -5%;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(180deg, rgb(7 14 28 / 0.7), rgb(7 14 28 / 0.32) 46%, rgb(7 14 28 / 0.78)),
        url("../assets/legacy/tgt-gold-star-field.png");
    background-repeat: repeat;
    background-size: min(1366px, 118vw) auto;
    background-position: 50% 42%;
    opacity: 0.48;
    filter: saturate(0.86) brightness(0.78);
}


.hero > * {
    position: relative;
    z-index: 1;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    border-bottom: 1px solid oklch(85% 0.09 85 / 0.22);
}

.mark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
    color: inherit;
    text-decoration: none;
}

/* Official HTI four-circle logomark (wordmark cropped off so the white-glyph
   circles read on the navy bar) */
.mark-logo {
    display: block;
    flex-shrink: 0;
}

.mark-logo img {
    display: block;
    height: 34px;
    width: auto;
    filter: drop-shadow(0 2px 6px oklch(10% 0.03 252 / 0.4));
}

.mark strong,
.mark small {
    display: block;
}

.mark strong {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.02rem;
    line-height: 1.08;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.mark small {
    margin-top: 4px;
    color: var(--fire-4);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.public-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.public-nav a:not(.primary-action) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: oklch(95% 0.01 95);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
}

.public-nav a:not(.primary-action):hover {
    color: var(--fire-4);
}

.view-toggle {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.view-button,
.primary-action,
.secondary-action {
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.view-button {
    padding: 0 15px;
    border: 1px solid oklch(85% 0.09 85 / 0.3);
    color: oklch(95% 0.01 95);
    background: oklch(100% 0 0 / 0.06);
}

.view-button.is-active {
    border-color: transparent;
    color: oklch(24% 0.05 252);
    background: linear-gradient(120deg, var(--fire-4), var(--fire-3));
    box-shadow: var(--glow-fire);
}

.primary-action,
.secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 22px;
}

/* HTI primary action: pumpkin-orange pill with a restrained sunrise glow. */
.primary-action {
    color: #FFFFFF;
    background: linear-gradient(115deg, var(--hti-pumpkin), var(--hti-orange));
    border: 1px solid rgb(203 74 28 / 0.45);
    box-shadow: var(--glow-fire);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.84rem;
    font-weight: 800;
}

.primary-action:hover {
    background: linear-gradient(115deg, var(--orange-600), var(--hti-pumpkin));
    box-shadow: 0 14px 30px rgb(231 89 39 / 0.4);
}

.primary-action.small-cta {
    min-height: 38px;
    padding: 0 16px;
    font-size: 0.73rem;
}

.secondary-action {
    border: 1px solid color-mix(in srgb, var(--ink) 45%, transparent);
    color: var(--ink);
    background: transparent;
}

.band-dark .secondary-action {
    color: #FFFFFF;
    border-color: rgb(255 255 255 / 0.34);
}

.secondary-action:hover {
    background: var(--orange-50);
}

.band-dark .secondary-action:hover {
    color: var(--navy-900);
    background: var(--gold-50);
}

.secondary-action.small {
    min-height: 36px;
    padding: 0 13px;
    border-color: var(--hairline);
    background: var(--paper);
    font-size: 0.82rem;
}

.view-button:hover,
.primary-action:hover,
.secondary-action:hover {
    transform: translateY(-1px);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 36px 56px;
    align-items: center;
    padding: clamp(28px, 4vw, 52px) clamp(30px, 5vw, 66px) clamp(34px, 4.5vw, 58px);
}

.hero-copy {
    align-self: center;
    justify-self: center;
    text-align: center;
}

.hero-copy .eyebrow {
    text-align: left;
}

/* Right column: event card + pitch + CTAs stacked, so both hero columns
   fill evenly (no dead lower-right block). */
.hero-aside {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-self: center;
    padding-top: clamp(18px, 4vw, 44px);
}

.hero-aside > :not(.hero-people-peek) {
    position: relative;
    z-index: 1;
}

.hero-people-peek {
    position: absolute;
    top: clamp(-122px, -8vw, -74px);
    right: clamp(-190px, -14vw, -92px);
    z-index: 0;
    display: block;
    width: clamp(420px, 58vw, 720px);
    height: auto;
    opacity: 0.62;
    pointer-events: none;
    filter:
        drop-shadow(0 30px 48px oklch(3% 0.02 252 / 0.76))
        drop-shadow(0 0 32px oklch(79% 0.155 78 / 0.16));
    -webkit-mask-image: linear-gradient(90deg, transparent 0, black 13%, black 88%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, black 13%, black 88%, transparent 100%);
}

/* Kicker: small caps with a fire rule */
.eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    padding-left: 12px;
    border-left: 3px solid var(--fire-2);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.band-dark .eyebrow {
    color: var(--fire-4);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-family: var(--font-display);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.015em;
}

h2 {
    margin-bottom: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: clamp(1.85rem, 3.9vw, 3.3rem);
    line-height: 1.04;
}

h3 {
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    letter-spacing: -0.01em;
}

/* ---- Show lockup: the official clapperboard logo ---- */

.lockup-logo {
    margin: 0;
}

.lockup-logo img {
    display: block;
    width: min(430px, 100%);
    height: auto;
    margin-inline: auto;
    filter: drop-shadow(0 20px 44px oklch(18% 0.05 255 / 0.42)) drop-shadow(0 0 70px oklch(79% 0.155 78 / 0.1));
}

.hero-lede {
    margin: 0;
    max-width: 660px;
    color: oklch(94% 0.012 95 / 0.95);
    font-size: clamp(1.02rem, 1.9vw, 1.2rem);
    font-weight: 500;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 0;
}

.event-card {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    padding: 24px 22px;
    border: 1px solid rgb(252 183 22 / 0.28);
    border-radius: var(--radius);
    background:
        linear-gradient(90deg, rgb(252 183 22 / 0.055) 0 1px, transparent 1px) 0 0 / 18px 18px,
        radial-gradient(ellipse 18rem 10rem at 94% 0%, rgb(252 183 22 / 0.16), transparent 72%),
        linear-gradient(155deg, rgb(14 27 48 / 0.92), rgb(9 18 34 / 0.88));
    backdrop-filter: blur(10px);
    box-shadow: inset 0 0 44px rgb(14 27 48 / 0.58), 0 22px 54px rgb(0 0 0 / 0.28);
}

.event-card__masthead {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.event-card__masthead .cue-light {
    margin-bottom: 0;
}

.event-card__masthead p {
    margin: 1px 0 0;
    color: rgb(252 183 22 / 0.78);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    white-space: nowrap;
}

.event-card__date {
    margin: 0 0 20px;
    padding: 16px 0 18px;
    border-top: 1px solid rgb(252 183 22 / 0.2);
    border-bottom: 1px solid rgb(252 183 22 / 0.2);
}

.event-card__date span {
    display: block;
    margin-bottom: 7px;
    color: rgb(237 232 224 / 0.78);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.event-card__date time {
    display: block;
    color: #FFFFFF;
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 4.5vw, 2.65rem);
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 0.96;
    text-wrap: balance;
}

.event-card__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
}

.event-card__note {
    margin: 18px 0 0;
    padding-top: 15px;
    border-top: 1px solid rgb(252 183 22 / 0.16);
    color: rgb(237 232 224 / 0.84);
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.45;
}

.cue-light {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    color: var(--fire-4);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.cue-light span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2E8B57;
    box-shadow: 0 0 22px rgb(46 139 87 / 0.72);
}

dl {
    margin: 0;
}

.event-card__details > div + div {
    padding-left: 16px;
    border-left: 1px solid rgb(252 183 22 / 0.16);
}

dt {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

dd {
    margin: 5px 0 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.04rem;
}

.event-card dd {
    line-height: 1.22;
}

/* ---- Marquee ticker: the fire ramp ---- */

.ticker {
    overflow: hidden;
    border-top: 1px solid oklch(85% 0.09 85 / 0.3);
    background: linear-gradient(90deg, var(--fire-1), var(--fire-2) 34%, var(--fire-3) 67%, var(--fire-4));
}

.ticker-track {
    display: flex;
    width: max-content;
    padding: 11px 0;
    color: oklch(18% 0.05 255);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    white-space: nowrap;
    animation: ticker-roll 52s linear infinite;
}

@keyframes ticker-roll {
    to {
        transform: translateX(-50%);
    }
}

main {
    padding-top: 28px;
}

.panel-view {
    display: none;
}

.panel-view.is-active {
    display: block;
}

/* Staff control room: navy stage */
.panel-view.band-dark.is-active {
    margin-top: 16px;
    padding: clamp(20px, 3vw, 32px);
    border: 1px solid oklch(85% 0.09 85 / 0.3);
    border-radius: var(--radius);
    background:
        radial-gradient(ellipse 40rem 24rem at 82% -8%, oklch(45% 0.1 60 / 0.4), transparent),
        linear-gradient(170deg, oklch(24% 0.053 251), oklch(17% 0.046 252));
    box-shadow: var(--shadow);
}

.staff-panel.panel-view.band-dark.is-active {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 4vw, 48px);
    background:
        radial-gradient(ellipse 44rem 26rem at 88% -10%, rgb(249 215 8 / 0.18), transparent 64%),
        radial-gradient(ellipse 32rem 22rem at 0% 105%, rgb(231 89 39 / 0.15), transparent 62%),
        linear-gradient(158deg, #10223F 0%, #071729 62%, #051020 100%);
    box-shadow: var(--shadow), inset 0 0 110px rgb(14 27 48 / 0.72);
}

.staff-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgb(252 183 22 / 0.13) 1px, transparent 1px),
        linear-gradient(180deg, rgb(252 183 22 / 0.08) 1px, transparent 1px);
    background-size: 82px 82px;
    mask-image: radial-gradient(ellipse at 72% 12%, black 0 34%, transparent 70%);
    opacity: 0.34;
}

.staff-panel > * {
    position: relative;
    z-index: 1;
}

.staff-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.62fr);
    gap: clamp(20px, 3.6vw, 46px);
    align-items: end;
    margin-bottom: clamp(20px, 3vw, 32px);
}

.staff-hero__title h2 {
    max-width: 11ch;
    margin: 0;
    font-size: clamp(2.75rem, 6.8vw, 5.35rem);
    line-height: 0.9;
    letter-spacing: -0.06em;
}

.staff-hero__lede {
    max-width: 34rem;
    margin: 0 0 8px;
    color: var(--muted);
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    font-weight: 650;
    line-height: 1.62;
}

.staff-hero__side {
    display: grid;
    gap: 22px;
    justify-items: end;
}

.staff-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.staff-toolbar > span {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    border-radius: 999px;
    padding: 0 14px;
    color: var(--navy-900);
    background: linear-gradient(120deg, var(--fire-4), var(--fire-3));
    box-shadow: var(--glow-fire);
    font-size: 0.82rem;
    font-weight: 900;
}

.page-section {
    margin: 64px 0;
    scroll-margin-top: 20px;
}

.page-section.stage-card {
    padding: clamp(26px, 4vw, 46px);
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
    gap: 26px;
    align-items: end;
    margin: 0 0 26px;
}

.panel-view.band-dark .section-heading {
    margin-top: 8px;
}

.section-heading.compact {
    grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.65fr);
}

.section-heading p:not(.eyebrow) {
    max-width: 620px;
    color: var(--muted);
    line-height: 1.65;
}

/* ---- Cards / surfaces ---- */

.submission-form,
.ops-card,
.metric-card {
    border: 1px solid var(--hairline);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.submission-form {
    overflow: hidden;
    border-radius: var(--radius);
}

.form-progress {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--hairline);
    background: var(--paper-strong);
}

.form-progress span {
    position: relative;
    padding: 14px 16px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.form-progress span::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 14%;
    right: 14%;
    height: 3px;
    background: transparent;
    transition: background 300ms ease, box-shadow 300ms ease;
}

/* The four steps light the four logo circles: ember, orange, amber, yellow */
.form-progress span.is-active {
    color: var(--ink);
}

.form-progress span:nth-child(1).is-active::after {
    background: var(--fire-1);
    box-shadow: 0 0 12px oklch(62% 0.19 35 / 0.6);
}

.form-progress span:nth-child(2).is-active::after {
    background: var(--fire-2);
    box-shadow: 0 0 12px oklch(71% 0.17 55 / 0.6);
}

.form-progress span:nth-child(3).is-active::after {
    background: var(--fire-3);
    box-shadow: 0 0 12px oklch(79% 0.155 78 / 0.6);
}

.form-progress span:nth-child(4).is-active::after {
    background: var(--fire-4);
    box-shadow: 0 0 12px oklch(87% 0.165 95 / 0.7);
}

.form-card {
    margin: 0;
    padding: clamp(20px, 3vw, 34px);
    border: 0;
    border-bottom: 1px solid var(--hairline);
}

legend {
    float: left;
    width: 100%;
    margin-bottom: 18px;
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.01em;
}

/* The floated legend otherwise pushes sibling grids (BFCs) into zero-width
   space beside it — everything after must clear. */
legend + * {
    clear: both;
}

.step-hint {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.contact-heading {
    margin: 6px 0 12px;
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.guardian-note {
    margin: 0 0 16px;
    padding: 10px 14px;
    border-left: 3px solid var(--fire-2);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: var(--field-bg);
    color: var(--ink);
    font-size: 0.9rem;
    line-height: 1.5;
}

.field-grid {
    display: grid;
    gap: 16px;
}

.field-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

label {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 600;
}

label span[aria-hidden="true"] {
    color: var(--accent);
}

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--field-border);
    border-radius: var(--radius-sm);
    color: var(--ink);
    background: var(--field-bg);
    padding: 12px 14px;
}

input::placeholder,
textarea::placeholder {
    color: color-mix(in oklch, var(--muted) 75%, transparent);
}

select {
    appearance: auto;
}

textarea {
    resize: vertical;
    line-height: 1.5;
}

.checkbox-row {
    grid-template-columns: 24px 1fr;
    align-items: start;
    margin-top: 4px;
    font-weight: 500;
    line-height: 1.5;
}

.checkbox-row input {
    min-height: 20px;
    margin-top: 2px;
    accent-color: var(--fire-2);
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px clamp(20px, 3vw, 34px);
    background: var(--paper-strong);
}

#form-message {
    margin: 0;
    color: var(--accent-deep);
    font-weight: 700;
}

/* ---- Dashboard (navy control room) ---- */

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.metric-card {
    position: relative;
    min-height: 98px;
    padding: 16px;
    border-radius: var(--radius-sm);
    background:
        linear-gradient(145deg, rgb(44 73 111 / 0.82), rgb(30 53 86 / 0.92)),
        var(--paper);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06);
}

.metric-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    background: linear-gradient(180deg, var(--fire-4), var(--fire-2));
    opacity: 0.72;
}

.metric-card strong {
    display: block;
    margin-top: 6px;
    color: var(--fire-4);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.05rem, 3vw, 2.45rem);
    line-height: 0.95;
}

.metric-card span {
    color: var(--muted);
    font-size: 0.71rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.metric-source-note {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.ops-card {
    overflow: hidden;
    border-radius: var(--radius);
    padding: 22px;
}

.staff-panel .ops-card {
    padding: 20px;
}

.queue-card {
    background:
        linear-gradient(145deg, rgb(30 53 86 / 0.9), rgb(23 42 70 / 0.94)),
        var(--paper);
    box-shadow: 0 18px 45px rgb(0 0 0 / 0.22), inset 0 1px 0 rgb(255 255 255 / 0.06);
}

.card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.card-heading-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-sm);
    background: rgb(10 23 42 / 0.34);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

th,
td {
    padding: 13px 14px;
    border-bottom: 1px solid color-mix(in oklch, var(--hairline) 70%, transparent);
    text-align: left;
    vertical-align: middle;
}

th {
    color: var(--muted);
    background: rgb(44 73 111 / 0.78);
    font-size: 0.69rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.act-cell {
    min-width: 190px;
}

.act-cell strong,
.act-cell small {
    display: block;
}

.act-cell small {
    margin-top: 3px;
    color: var(--muted);
    line-height: 1.25;
}

.status-stack {
    display: grid;
    justify-items: start;
    gap: 5px;
}

.review-cell {
    text-align: right;
}

tbody tr {
    transition: background 150ms ease;
}

tbody tr:hover {
    background: oklch(100% 0 0 / 0.04);
}

tr:last-child td {
    border-bottom: 0;
}

/* ---- Judge-light statuses (navy stage) ---- */

.status-pill,
.media-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    white-space: nowrap;
}

.status-pill::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 10px currentColor;
}

.status-pill {
    color: oklch(86% 0.08 75);
    background: oklch(36% 0.06 60 / 0.5);
}

.status-pill.ready {
    color: oklch(78% 0.13 154);
    background: oklch(30% 0.06 154 / 0.5);
}

.status-pill.review,
.status-pill.waitlist {
    color: oklch(88% 0.06 85);
    background: oklch(36% 0.05 75 / 0.5);
}

.status-pill.advanced {
    color: oklch(24% 0.05 252);
    background: linear-gradient(120deg, var(--fire-4), var(--fire-3));
    box-shadow: 0 0 16px oklch(79% 0.155 78 / 0.45);
}

.status-pill.advanced::before {
    content: "★";
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    box-shadow: none;
    font-size: 0.85em;
    line-height: 1;
}

.status-pill.declined {
    color: oklch(88% 0.08 30);
    background: oklch(38% 0.12 30 / 0.55);
}

.status-pill.declined::before {
    content: "✕";
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    box-shadow: none;
    font-size: 0.85em;
    font-weight: 900;
    line-height: 1;
}

.media-pill {
    color: oklch(88% 0.04 85);
    background: oklch(34% 0.045 70 / 0.55);
}

.media-pill.missing {
    color: oklch(86% 0.1 45);
    background: oklch(38% 0.1 40 / 0.5);
}

.fee-pill {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 9px;
    border: 1px solid var(--hairline);
    border-radius: 999px;
    color: var(--muted);
    background: var(--field-bg);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

td .fee-pill {
    display: block;
    width: max-content;
}

.fee-pill.paid {
    border-color: oklch(50% 0.1 154 / 0.5);
    color: oklch(78% 0.13 154);
    background: oklch(28% 0.06 154 / 0.5);
}

.fee-pill.due {
    border-color: oklch(75% 0.12 80 / 0.5);
    color: var(--fire-4);
    background: oklch(34% 0.06 75 / 0.45);
}

.empty-state {
    display: grid;
    gap: 4px;
    padding: 22px;
    text-align: center;
}

.empty-state span,
.source-note {
    color: var(--muted);
}

/* ---- Public page furniture ---- */

.fact-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.fact-tile {
    padding: 20px 18px;
    border: 1px solid var(--hairline);
    border-top: 3px solid var(--fire-2);
    border-radius: var(--radius-sm);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.fact-tile:nth-child(1) {
    border-top-color: var(--fire-1);
}

.fact-tile:nth-child(2) {
    border-top-color: var(--fire-3);
}

.fact-tile span {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.fact-tile strong {
    display: block;
    margin-top: 10px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1.08;
    letter-spacing: -0.015em;
}

/* Original TGT star-field media, recovered from the 2025 Webflow page. It sits
   under the preview/fact boxes, not in the top hero frame. */
.legacy-star-field {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(26px, 4vw, 44px);
    border: 1px solid oklch(85% 0.09 85 / 0.28);
    border-radius: calc(var(--radius) + 4px);
    background:
        radial-gradient(ellipse 42rem 18rem at 16% 6%, oklch(75% 0.15 75 / 0.16), transparent 70%),
        linear-gradient(145deg, oklch(15% 0.04 252), oklch(8% 0.025 252));
    box-shadow: var(--shadow), inset 0 0 70px oklch(5% 0.02 252 / 0.56);
}

.legacy-star-field::before {
    content: "";
    position: absolute;
    inset: -8% -4%;
    z-index: -1;
    background-image: url("../assets/legacy/tgt-gold-star-field.png");
    background-repeat: repeat;
    background-size: min(1366px, 118vw) auto;
    background-position: 50% 42%;
    opacity: 0.84;
    filter: drop-shadow(0 0 8px oklch(83% 0.16 80 / 0.24));
}

.legacy-star-field::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(90deg, oklch(8% 0.025 252 / 0.72), transparent 34%, oklch(8% 0.025 252 / 0.66)),
        radial-gradient(ellipse 28rem 18rem at 80% 70%, oklch(66% 0.15 58 / 0.18), transparent 72%);
}

.show-preview-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
    gap: clamp(18px, 3vw, 30px);
    align-items: start;
}

.show-preview-card {
    display: grid;
    gap: 10px;
}

.show-preview-card .eyebrow {
    margin-bottom: 2px;
}

.show-preview-photo,
.show-side-photo {
    position: relative;
    overflow: hidden;
    margin: 0;
    border: 1px solid oklch(85% 0.09 85 / 0.34);
    border-radius: var(--radius-sm);
    background: oklch(7% 0.02 252);
    box-shadow: 0 24px 70px oklch(4% 0.02 252 / 0.58), 0 0 34px oklch(79% 0.155 78 / 0.16);
}

.show-preview-photo {
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 360px;
}

.show-preview-photo::after,
.show-side-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, transparent 44%, oklch(5% 0.02 252 / 0.72)),
        radial-gradient(ellipse 18rem 12rem at 18% 18%, oklch(88% 0.12 84 / 0.14), transparent 68%);
}

.show-preview-photo img,
.show-side-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.show-preview-photo img {
    object-position: 50% 56%;
}

.show-preview-photo figcaption,
.show-side-photo figcaption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 1;
    display: grid;
    gap: 3px;
    color: oklch(98% 0.006 95);
    text-shadow: 0 2px 16px oklch(4% 0.02 252 / 0.85);
}

.show-preview-photo figcaption span,
.show-side-photo figcaption span {
    color: var(--fire-4);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.show-preview-photo figcaption strong,
.show-side-photo figcaption strong {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 1.85rem);
    line-height: 0.96;
    letter-spacing: -0.02em;
}

.show-preview-photo figcaption small {
    color: oklch(92% 0.02 88);
    font-weight: 800;
    letter-spacing: 0.04em;
}

.show-side-stack {
    display: grid;
    gap: 14px;
    align-self: stretch;
    min-width: 0;
}

.legacy-star-field .fact-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.legacy-star-field .fact-tile {
    min-width: 0;
    min-height: 116px;
    padding: 18px 16px;
    border-color: oklch(85% 0.09 85 / 0.3);
    color: oklch(97% 0.006 95);
    background: oklch(13% 0.035 252 / 0.72);
    box-shadow: 0 18px 42px oklch(3% 0.015 252 / 0.5), inset 0 0 34px oklch(100% 0 0 / 0.035);
}

.legacy-star-field .fact-tile span {
    color: oklch(84% 0.04 86);
}

.show-side-photo {
    justify-self: stretch;
    width: 100%;
    aspect-ratio: 16 / 9;
    transform: none;
}

.show-side-photo img {
    object-position: 44% 48%;
}

.show-side-photo figcaption {
    left: 15px;
    right: 15px;
    bottom: 13px;
}

.show-side-photo figcaption strong {
    font-size: clamp(1.05rem, 2.4vw, 1.32rem);
}

.show-moment-strip {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.show-moment {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    margin: 0;
    border: 1px solid oklch(85% 0.09 85 / 0.28);
    border-radius: var(--radius-sm);
    background: oklch(7% 0.02 252);
    box-shadow: 0 18px 46px oklch(4% 0.02 252 / 0.46);
}

.show-moment::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, transparent 44%, oklch(5% 0.02 252 / 0.78)),
        radial-gradient(ellipse 16rem 11rem at 10% 12%, oklch(88% 0.12 84 / 0.12), transparent 70%);
}

.show-moment img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

.show-moment:nth-child(1) img {
    object-position: 54% 48%;
}

.show-moment:nth-child(2) img {
    object-position: 43% 52%;
}

.show-moment:nth-child(3) img {
    object-position: 38% 46%;
}

.show-moment figcaption {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 1;
    color: oklch(96% 0.008 95);
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-shadow: 0 2px 14px oklch(4% 0.02 252 / 0.86);
}

.section-heading--solo {
    grid-template-columns: minmax(0, 0.82fr);
    align-items: start;
}

.how-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.how-card {
    padding: 26px 24px;
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.how-step {
    display: block;
    margin-bottom: 14px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1;
    color: transparent;
    background: linear-gradient(120deg, var(--fire-1), var(--fire-3));
    -webkit-background-clip: text;
    background-clip: text;
}

.how-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

/* ---- Audition wizard ---- */

.wizard-step {
    display: none;
}

.wizard-step.is-active {
    display: block;
    animation: step-in 460ms cubic-bezier(0.2, 0.6, 0.2, 1);
}

@keyframes step-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
}

.wizard-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}

.wizard-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
    margin: 0 0 18px;
}

.wizard-summary div {
    padding: 11px 13px;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-sm);
    background: var(--paper-strong);
}

.wizard-summary dt {
    color: var(--muted);
    font-size: 0.64rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.13em;
}

.wizard-summary dd {
    margin: 4px 0 0;
    font-size: 0.94rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.wizard-step .form-footer {
    margin-top: 16px;
    border-radius: var(--radius-sm);
}

.label-hint {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 500;
}

input[type="file"] {
    padding: 10px;
    border-style: dashed;
    cursor: pointer;
}

input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 9px 15px;
    border: 0;
    border-radius: 999px;
    color: oklch(22% 0.05 252);
    background: linear-gradient(120deg, var(--fire-4), var(--fire-3));
    font: inherit;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.media-message {
    min-height: 1.3em;
    margin: 0 0 14px;
    color: var(--accent-deep);
    font-size: 0.86rem;
    font-weight: 600;
}

.media-tray {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.media-tray:empty {
    display: none;
}

.media-card {
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-sm);
    background: var(--paper-strong);
}

.media-card img {
    display: block;
    width: 100%;
    height: 112px;
    object-fit: cover;
    background: var(--paper-strong);
}

.media-card.video {
    grid-column: 1 / -1;
}

.media-card.video video {
    display: block;
    width: 100%;
    max-height: 300px;
    background: oklch(20% 0.045 252);
}

.media-card figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    color: var(--muted);
    font-size: 0.73rem;
    font-weight: 600;
}

.media-card figcaption span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.media-remove {
    flex-shrink: 0;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid var(--hairline);
    border-radius: 999px;
    color: var(--accent);
    background: var(--paper);
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
}

.media-remove:hover {
    border-color: var(--accent);
}

.form-footer-status p {
    margin: 0;
}

.draft-status {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 600;
}

.form-footer-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

/* ---- Official entry card ---- */

.payment-cta {
    position: relative;
    margin-top: 18px;
    padding: 28px clamp(22px, 3.4vw, 38px);
    border: 1px solid color-mix(in oklch, var(--ink) 50%, transparent);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.payment-cta::before {
    content: "";
    position: absolute;
    inset: 7px;
    pointer-events: none;
    border: 1px solid oklch(72% 0.15 65 / 0.55);
    border-radius: calc(var(--radius) - 6px);
}

.entry-eyebrow {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.entry-act {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.6rem, 3.8vw, 2.5rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.entry-meta {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.entry-fee {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--hairline);
}

.entry-fee p {
    margin: 0;
    font-weight: 700;
}

.payment-note {
    color: var(--muted);
    font-size: 0.8rem;
    margin-top: 12px;
}

.paywall-gate {
    margin: 18px 0;
    padding: 22px clamp(18px, 3vw, 28px);
    border: 1px solid color-mix(in oklch, var(--accent) 35%, var(--hairline));
    border-radius: var(--radius);
    background: color-mix(in oklch, var(--accent) 6%, var(--paper));
}

.paywall-heading {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.15rem;
}

.paywall-copy {
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.55;
}

.paywall-status {
    margin: 0 0 6px;
    font-weight: 800;
    color: var(--accent);
}

.paywall-status--paid {
    font-size: 1rem;
}

.paywall-demo-badge {
    margin: 0 0 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: color-mix(in oklch, var(--accent) 14%, var(--paper));
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.demo-checkout {
    margin-top: 16px;
}

.demo-checkout-shell {
    padding: 18px;
    border: 1px solid var(--hairline);
    border-radius: calc(var(--radius) - 4px);
    background: oklch(99% 0.003 95);
    box-shadow: 0 18px 40px oklch(20% 0.02 260 / 0.12);
}

.demo-checkout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.demo-checkout-brand {
    color: oklch(58% 0.19 280);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.03em;
    text-transform: lowercase;
}

.demo-checkout-amount {
    font-weight: 800;
    font-size: 1.2rem;
}

.demo-checkout-title {
    margin: 0 0 4px;
    font-weight: 700;
}

.demo-checkout-act {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 0.92rem;
}

.demo-checkout-fields {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.demo-checkout-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.demo-checkout-field {
    padding: 12px 14px;
    border: 1px solid var(--hairline);
    border-radius: 8px;
    background: oklch(97% 0.004 95);
    color: var(--muted);
    font-size: 0.88rem;
}

.demo-checkout-note {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.5;
}

.demo-checkout-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ---- Buzzer confetti ---- */

.confetti {
    position: fixed;
    inset: 0;
    z-index: 60;
    overflow: hidden;
    pointer-events: none;
}

.confetti span {
    position: absolute;
    top: -4vh;
    width: 10px;
    height: 16px;
    border-radius: 2px;
    opacity: 0.95;
    animation: confetti-fall var(--fall, 2.4s) ease-in var(--wait, 0s) forwards;
}

@keyframes confetti-fall {
    to {
        transform: translateY(112vh) rotate(var(--spin, 540deg));
        opacity: 0.7;
    }
}

/* ---- Scroll reveals ---- */

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 720ms cubic-bezier(0.2, 0.6, 0.2, 1), transform 720ms cubic-bezier(0.2, 0.6, 0.2, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-revealed {
    opacity: 1;
    transform: none;
}

/* ---- Sponsor wall ---- */

/* Sponsor logo carousel — no panels, continuous auto-scroll, edge-faded.
   Two identical runs (rendered in app.js) loop seamlessly via translateX(-50%). */
.sponsor-wall {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.sponsor-track {
    display: flex;
    width: max-content;
}

.sponsor-run {
    display: flex;
    align-items: center;
}

.sponsor-item {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    padding: 14px clamp(26px, 3.6vw, 56px);
}

.sponsor-item img {
    height: 48px;
    width: auto;
    max-width: 184px;
    object-fit: contain;
}

@media (prefers-reduced-motion: no-preference) {
    .sponsor-track {
        animation: sponsor-scroll 55s linear infinite;
    }

    .sponsor-wall:hover .sponsor-track,
    .sponsor-wall:focus-within .sponsor-track {
        animation-play-state: paused;
    }
}

@keyframes sponsor-scroll {
    to {
        transform: translateX(-50%);
    }
}

/* Reduced motion: no auto-scroll — let people swipe/scroll through instead */
@media (prefers-reduced-motion: reduce) {
    .sponsor-wall {
        overflow-x: auto;
        -webkit-mask-image: none;
        mask-image: none;
    }
}

.become-sponsor {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.sponsor-tier {
    padding: 26px 24px;
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.sponsor-tier.featured {
    border-color: var(--gold-line);
    /* Champagne lift in light, ember lift in dark — never white-on-white ink. */
    background: linear-gradient(180deg, var(--tier-glow), var(--paper));
    box-shadow: var(--shadow), var(--glow-fire);
}

.tier-price {
    margin: 4px 0 10px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.2rem;
    letter-spacing: -0.02em;
    color: var(--accent);
}

.sponsor-tier p:not(.tier-price) {
    color: var(--muted);
    line-height: 1.55;
}

.sponsor-note {
    margin-top: 16px;
    font-size: 0.85rem;
}

/* ---- FAQ ---- */

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-list details {
    overflow: hidden;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-sm);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.faq-list summary {
    padding: 16px 18px;
    cursor: pointer;
    font-weight: 700;
    list-style-position: inside;
}

.faq-list summary::marker {
    color: var(--accent);
}

.faq-list details[open] summary {
    border-bottom: 1px solid var(--hairline);
    color: var(--accent-deep);
}

.faq-list details p {
    margin: 0;
    padding: 14px 18px 18px;
    color: var(--muted);
    line-height: 1.6;
}

/* ---- Staff auth ---- */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

[hidden] {
    display: none !important;
}

.auth-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
    max-width: none;
    margin: 0 0 18px;
    padding: 0;
    border-color: rgb(252 183 22 / 0.34);
    background:
        linear-gradient(135deg, rgb(30 53 86 / 0.95), rgb(15 31 55 / 0.96)),
        var(--paper);
    box-shadow: 0 26px 70px rgb(0 0 0 / 0.34), inset 0 1px 0 rgb(255 255 255 / 0.08);
}

.auth-copy {
    padding: clamp(24px, 3.6vw, 42px);
    background:
        radial-gradient(ellipse 28rem 18rem at 0% 0%, rgb(252 183 22 / 0.11), transparent 64%),
        linear-gradient(180deg, rgb(255 255 255 / 0.04), transparent);
}

.auth-copy h3 {
    max-width: 12ch;
    margin: 0 0 14px;
    font-size: clamp(1.9rem, 4vw, 3.35rem);
    line-height: 0.94;
    letter-spacing: -0.045em;
}

.auth-note {
    max-width: 54ch;
    color: var(--muted);
    line-height: 1.6;
}

.auth-checklist {
    display: grid;
    gap: 10px;
    max-width: 56ch;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.auth-checklist li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    align-items: start;
    color: oklch(94% 0.018 92);
    font-size: 0.94rem;
    line-height: 1.45;
}

.auth-checklist li::before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgb(249 215 8 / 0.36);
    border-radius: 999px;
    color: var(--fire-4);
    background: rgb(249 215 8 / 0.08);
    font-size: 0.82rem;
    font-weight: 900;
}

.login-form {
    display: grid;
    align-content: start;
    gap: 14px;
    margin: 0;
    padding: clamp(22px, 3.2vw, 36px);
    border-left: 1px solid rgb(252 183 22 / 0.22);
    background: rgb(7 18 34 / 0.56);
}

.login-form__head {
    display: grid;
    gap: 4px;
    margin-bottom: 4px;
}

.login-form__head strong {
    font-family: var(--font-display);
    font-size: 1.45rem;
    line-height: 1;
    letter-spacing: -0.025em;
}

.login-form__eyebrow {
    color: var(--fire-4);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.login-form label {
    gap: 9px;
    margin: 0;
}

.login-form input {
    min-height: 54px;
    border-radius: 16px;
    border-color: rgb(252 183 22 / 0.36);
    background: rgb(3 12 26 / 0.86);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.04);
}

.login-form .primary-action {
    justify-self: start;
    min-height: 48px;
    margin-top: 2px;
    padding-inline: 26px;
}

.login-error {
    min-height: 1.2em;
    margin: -2px 0 0;
    color: oklch(86% 0.1 30);
    font-size: 0.86rem;
    font-weight: 700;
}

/* ---- Review dialog (navy stage) ---- */

.review-dialog {
    width: min(840px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    padding: clamp(18px, 3vw, 30px);
    border: 1px solid oklch(85% 0.09 85 / 0.4);
    border-radius: var(--radius);
    color: var(--ink);
    background: linear-gradient(175deg, oklch(25% 0.054 251), oklch(18% 0.047 252));
    box-shadow: var(--shadow), var(--glow-fire);
}

.review-dialog::backdrop {
    background: oklch(16% 0.04 252 / 0.7);
    backdrop-filter: blur(5px);
}

.review-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.review-head h3 {
    margin-bottom: 0;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -0.02em;
}

.review-sub {
    margin: 4px 0 0;
    color: var(--muted);
    font-weight: 600;
}

.review-media {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.review-media video {
    width: 100%;
    max-height: 380px;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-sm);
    background: oklch(14% 0.04 252);
}

.review-media-caption {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.review-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.review-photos img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-sm);
}

.review-empty-media {
    margin: 0;
    color: var(--muted);
    font-weight: 600;
}

.review-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
    margin: 0 0 18px;
}

.review-details div {
    padding: 11px 13px;
    border: 1px solid color-mix(in oklch, var(--hairline) 70%, transparent);
    border-radius: var(--radius-sm);
    background: oklch(16% 0.042 252);
}

.review-details dt {
    color: var(--muted);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.review-details dd {
    margin: 4px 0 0;
    font-size: 0.94rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.review-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--hairline);
}

.review-actions > span {
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.13em;
}

.review-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.decision {
    min-height: 44px;
    padding: 0 17px;
    border: 1px solid var(--hairline);
    border-radius: 999px;
    color: var(--ink);
    background: var(--paper-strong);
    font-weight: 700;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.decision:hover {
    transform: translateY(-1px);
}

.decision[aria-pressed="true"] {
    outline: 3px solid var(--fire-4);
    outline-offset: 1px;
    box-shadow: var(--glow-fire);
}

.decision.advance {
    color: oklch(24% 0.05 252);
    background: linear-gradient(120deg, var(--fire-4), var(--fire-3));
}

.decision.waitlist {
    color: oklch(88% 0.06 85);
    background: oklch(36% 0.05 75 / 0.5);
}

.decision.decline {
    color: oklch(88% 0.08 30);
    background: oklch(38% 0.12 30 / 0.55);
}

.review-message {
    margin: 0;
    flex-basis: 100%;
    color: var(--fire-4);
    font-size: 0.84rem;
    font-weight: 700;
    min-height: 1.2em;
}

/* ---- Footer: navy curtain call — proper footer (brand · nav · legal bar) -- */
.site-footer {
    display: flex;
    flex-direction: column;
    gap: 26px;
    margin-top: 70px;
    padding: clamp(28px, 3.4vw, 42px) clamp(24px, 3.4vw, 40px);
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.footer-main {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    max-width: 400px;
}

.footer-presented {
    color: var(--fire-4);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

/* Official HTI lockup on a clean white chip (keeps the navy wordmark legible;
   shown unaltered), sized down to footer scale */
.footer-hti-chip {
    display: inline-flex;
    padding: 11px 15px;
    border-radius: 13px;
    border: 1px solid oklch(82% 0.05 80 / 0.55);
    background: oklch(97% 0.012 88);
    box-shadow: 0 6px 18px oklch(8% 0.03 252 / 0.34);
}

.footer-hti-chip img {
    display: block;
    width: 148px;
    height: auto;
}

.footer-mission {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.55;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(40px, 5vw, 76px);
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.footer-col-title {
    margin-bottom: 3px;
    color: var(--ink);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.footer-col a,
.footer-staff {
    color: oklch(88% 0.02 240);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 160ms ease;
}

.footer-col a:hover,
.footer-staff:hover {
    color: var(--fire-4);
}

.footer-staff {
    border: 0;
    padding: 0;
    background: none;
    text-align: left;
    cursor: pointer;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 24px;
    padding-top: 22px;
    border-top: 1px solid var(--hairline);
    font-size: 0.74rem;
    letter-spacing: 0.01em;
}

/* ---- Responsive ---- */

@media (max-width: 980px) {
    .topbar,
    .hero-grid,
    .section-heading,
    .section-heading.compact,
    .show-preview-layout,
    .staff-hero,
    .auth-card,
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .staff-hero__lede {
        justify-self: start;
    }

    .staff-hero__side {
        justify-items: start;
    }

    .staff-toolbar {
        justify-content: flex-start;
    }

    .login-form {
        border-top: 1px solid rgb(252 183 22 / 0.22);
        border-left: 0;
    }

    .topbar {
        display: grid;
    }

    .view-toggle {
        justify-content: stretch;
    }

    .view-button {
        flex: 1 1 auto;
    }

    .hero-grid {
        padding: 34px 22px 42px;
    }

    .hero-people-peek {
        top: -62px;
        right: -110px;
        width: min(560px, 74vw);
        opacity: 0.38;
    }

    .metric-grid,
    .field-grid.three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .how-cards,
    .become-sponsor {
        grid-template-columns: 1fr;
    }

    .show-side-photo {
        justify-self: stretch;
        width: 100%;
    }

    .show-side-stack {
        grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
        align-items: stretch;
    }

    .legacy-star-field .fact-tiles {
        grid-template-columns: 1fr;
    }

    .public-nav {
        justify-content: flex-start;
    }
}

@media (max-width: 680px) {
    html,
    body {
        overflow-x: hidden;
        overflow-x: clip;
    }

    .app-shell {
        width: min(calc(100vw - 32px), var(--grid-max));
        padding-top: 10px;
    }

    .page-section {
        margin: 44px 0;
    }

    .page-section.stage-card {
        padding: 22px 18px;
    }

    .public-nav {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        width: 100%;
        max-width: 100%;
        justify-content: stretch;
    }

    .public-nav a[href="#sponsors"],
    .public-nav a[href="#faq"] {
        display: none;
    }

    .topbar {
        gap: 14px;
        padding: 16px 14px 14px;
        overflow: hidden;
        overflow: clip;
    }

    .mark {
        min-width: 0;
        width: 100%;
        gap: 10px;
        align-items: center;
    }

    .mark-logo img {
        height: 28px;
    }

    .mark span {
        min-width: 0;
    }

    .mark strong {
        font-size: clamp(0.86rem, 3.6vw, 1.02rem);
        white-space: normal;
    }

    .mark small {
        font-size: 0.6rem;
        letter-spacing: 0.16em;
    }

    .public-nav .primary-action {
        order: -1;
        width: 100%;
        min-width: 0;
        min-height: 48px;
        padding-inline: 16px;
        font-size: 0.82rem;
        letter-spacing: 0.075em;
    }

    .public-nav a:not(.primary-action) {
        justify-content: center;
        min-width: 0;
        min-height: 44px;
        padding: 0 10px;
        border: 1px solid oklch(85% 0.09 85 / 0.22);
        border-radius: 999px;
        color: oklch(95% 0.01 95 / 0.84);
        background: oklch(100% 0 0 / 0.055);
        font-size: clamp(0.62rem, 2.65vw, 0.7rem);
        letter-spacing: 0.065em;
        line-height: 1.1;
        text-align: center;
        white-space: normal;
    }

    .public-nav a:not(.primary-action):hover,
    .public-nav a:not(.primary-action):focus-visible {
        color: var(--fire-4);
        background: oklch(100% 0 0 / 0.09);
    }

    .hero {
        min-height: auto;
        border-radius: 20px;
    }

    .hero-grid {
        gap: 24px;
        min-width: 0;
        padding: 26px clamp(14px, 4vw, 20px) 32px;
    }

    .hero-copy,
    .hero-aside {
        width: 100%;
        min-width: 0;
    }

    .hero-aside {
        padding-top: 0;
    }

    .lockup-logo img {
        width: min(320px, 100%);
        max-width: 100%;
    }

    .hero-people-peek {
        display: none;
    }

    .event-card {
        width: 100%;
        padding: 20px 16px;
        border-radius: 16px;
    }

    .event-card__masthead {
        gap: 10px;
        margin-bottom: 15px;
    }

    .event-card__masthead p {
        font-size: 0.56rem;
        letter-spacing: 0.16em;
    }

    .event-card__date {
        margin-bottom: 16px;
        padding: 14px 0 15px;
    }

    .event-card__date time {
        font-size: clamp(1.5rem, 7vw, 2rem);
        letter-spacing: -0.045em;
    }

    .event-card dl,
    .event-card div,
    .event-card dd {
        min-width: 0;
    }

    .event-card__details {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .event-card__details > div + div {
        padding-top: 12px;
        padding-left: 0;
        border-top: 1px solid rgb(252 183 22 / 0.16);
        border-left: 0;
    }

    dd {
        overflow-wrap: anywhere;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-actions .primary-action,
    .hero-actions .secondary-action {
        width: 100%;
        min-width: 0;
        min-height: 48px;
        padding-inline: 16px;
        line-height: 1.12;
        text-align: center;
        white-space: normal;
    }

    .ticker {
        border-top-color: oklch(85% 0.09 85 / 0.16);
        background:
            linear-gradient(90deg, oklch(14% 0.04 252), oklch(24% 0.07 50) 46%, oklch(14% 0.04 252));
    }

    .ticker-track {
        padding: 7px 0;
        color: oklch(88% 0.09 80 / 0.74);
        font-size: 0.52rem;
        letter-spacing: 0.16em;
        opacity: 0.82;
        animation-duration: 72s;
    }

    .show-side-stack {
        grid-template-columns: 1fr;
    }

    .legacy-star-field .fact-tiles {
        grid-template-columns: 1fr;
    }

    .show-preview-photo {
        aspect-ratio: 4 / 3;
        min-height: 0;
    }

    .show-preview-photo figcaption,
    .show-side-photo figcaption {
        left: 14px;
        right: 14px;
        bottom: 12px;
    }

    .show-moment-strip {
        display: flex;
        gap: 12px;
        margin-right: -18px;
        margin-left: -2px;
        padding: 0 18px 4px 2px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .show-moment {
        min-width: min(78vw, 310px);
        min-height: 180px;
        scroll-snap-align: start;
    }

    .show-moment img {
        min-height: 180px;
    }

    h2 {
        font-size: clamp(1.7rem, 8vw, 2.6rem);
    }

    .field-grid.two,
    .field-grid.three,
    .metric-grid,
    .review-details,
    .wizard-summary,
    .fact-tiles {
        grid-template-columns: 1fr;
    }

    .form-progress {
        grid-template-columns: 1fr 1fr;
    }

    .staff-panel.panel-view.band-dark.is-active {
        padding: 22px;
    }

    .staff-hero__title h2,
    .auth-copy h3 {
        max-width: none;
    }

    .form-footer {
        display: grid;
    }

    .form-footer-actions {
        display: grid;
        width: 100%;
    }

    .wizard-nav {
        flex-direction: column-reverse;
        align-items: stretch;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .confetti {
        display: none;
    }

    .ticker-track {
        animation: none;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ============================================================================
   PREMIUM SHOWSTOPPER LAYER
   ----------------------------------------------------------------------------
   The "make it sing" pass. Every effect traces back to the four-circle fire
   ramp (--fire-1..4) + the navy stage — no new accent colors, white program
   stays canonical. JS engine: src/showtime.js. All motion is opt-in via
   (prefers-reduced-motion: no-preference) or is neutralized by the global
   reduce block above.
   ============================================================================ */

/* ---- Buttons: one unified transform (magnetic pull · hover lift · buzzer
   press), composed from CSS vars so nothing clobbers anything else ---------- */
.view-button,
.primary-action,
.secondary-action {
    transform: translate(var(--mag-x, 0px), var(--mag-y, 0px)) scale(var(--press, 1));
}

.view-button:hover,
.primary-action:hover,
.secondary-action:hover {
    transform: translate(var(--mag-x, 0px), calc(var(--mag-y, 0px) - 1px)) scale(var(--press, 1));
}

.primary-action:active,
.secondary-action:active,
.view-button:active {
    --press: 0.95;
}

/* The golden-buzzer flash ring (JS appends one .buzzer-flash per press) */
.buzzer-flash {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border-radius: 999px;
    pointer-events: none;
    background: radial-gradient(circle, oklch(96% 0.1 95 / 0.95), oklch(85% 0.16 80 / 0.55) 45%, transparent 70%);
    animation: buzzer-pop 540ms cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
}

@keyframes buzzer-pop {
    to {
        transform: scale(13);
        opacity: 0;
    }
}

/* ---- 1. Stage curtain: the house opens ------------------------------------ */
.showcurtain {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    overflow: hidden;
    pointer-events: none;
}

html.js .showcurtain {
    display: block;
}

html.curtain-seen .showcurtain {
    display: none;
}

body.curtain-playing {
    overflow: hidden;
}

.showcurtain__panel {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 52%;
    background:
        repeating-linear-gradient(90deg, oklch(16% 0.044 252) 0, oklch(24% 0.055 251) 27px, oklch(15% 0.042 252) 55px),
        linear-gradient(180deg, oklch(22% 0.05 252), oklch(12% 0.038 252));
    box-shadow: inset 0 0 130px oklch(7% 0.028 252 / 0.72);
    transition: transform 1100ms cubic-bezier(0.76, 0, 0.24, 1) 640ms;
    will-change: transform;
}

.showcurtain__panel--left {
    left: 0;
}

.showcurtain__panel--right {
    right: 0;
}

.showcurtain__panel::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 44px;
    background: linear-gradient(90deg, transparent, oklch(62% 0.13 70 / 0.14));
}

.showcurtain__panel--left::after {
    right: 0;
}

.showcurtain__panel--right::after {
    left: 0;
    transform: scaleX(-1);
}

.showcurtain__valance {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 7vw, 70px);
    height: 88px;
    background: linear-gradient(90deg, var(--fire-1), var(--fire-2) 34%, var(--fire-3) 67%, var(--fire-4));
    box-shadow: 0 6px 32px oklch(62% 0.19 35 / 0.5);
    transition: transform 900ms cubic-bezier(0.76, 0, 0.24, 1) 780ms;
}

.showcurtain__valance::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -21px;
    height: 24px;
    background: radial-gradient(22px 24px at 22px 0, var(--fire-2) 0 58%, transparent 61%) repeat-x;
    background-size: 44px 24px;
}

.showcurtain__bulb {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 2px solid oklch(17% 0.035 252 / 0.85);
    background: radial-gradient(circle at 38% 34%, oklch(99% 0.03 95), var(--fire-4) 50%, var(--fire-2));
    filter: brightness(0.28) saturate(0.5);
}

.showcurtain__spot {
    position: absolute;
    left: 50%;
    top: 44%;
    width: 64vw;
    height: 64vw;
    max-width: 700px;
    max-height: 700px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, oklch(90% 0.12 88 / 0.22), transparent 62%);
    opacity: 0;
    z-index: 1;
}

.showcurtain.is-open .showcurtain__panel--left {
    transform: translateX(-101%);
}

.showcurtain.is-open .showcurtain__panel--right {
    transform: translateX(101%);
}

.showcurtain.is-open .showcurtain__valance {
    transform: translateY(-101%);
}

.showcurtain.is-open .showcurtain__spot {
    opacity: 0;
    transition: opacity 500ms ease;
}

@media (prefers-reduced-motion: no-preference) {
    .showcurtain__bulb {
        animation: bulb-ignite 520ms ease-out both;
    }

    .showcurtain__bulb:nth-child(1) {
        animation-delay: 130ms;
    }

    .showcurtain__bulb:nth-child(2) {
        animation-delay: 270ms;
    }

    .showcurtain__bulb:nth-child(3) {
        animation-delay: 410ms;
    }

    .showcurtain__bulb:nth-child(4) {
        animation-delay: 550ms;
    }

    .showcurtain__spot {
        animation: spot-bloom 1500ms ease-out both;
    }
}

@keyframes bulb-ignite {
    from {
        filter: brightness(0.24) saturate(0.45);
        box-shadow: none;
    }

    to {
        filter: brightness(1.06);
        box-shadow: 0 0 14px oklch(88% 0.15 88 / 0.9), 0 0 30px oklch(80% 0.16 70 / 0.6);
    }
}

@keyframes spot-bloom {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.6);
    }

    45% {
        opacity: 1;
    }

    100% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* ---- 2. Scroll progress: a rising spotlight bar (right edge) --------------- */
.scroll-progress {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 40;
    width: 4px;
    height: 100vh;
    pointer-events: none;
    background: oklch(60% 0.05 252 / 0.12);
}

.scroll-progress::after {
    content: "";
    position: absolute;
    inset: 0;
    transform-origin: top;
    transform: scaleY(var(--progress, 0));
    background: linear-gradient(to bottom, var(--fire-4), var(--fire-3) 45%, var(--fire-1));
    box-shadow: 0 0 12px oklch(79% 0.155 78 / 0.7), 0 0 26px oklch(71% 0.17 55 / 0.45);
}

@media (max-width: 680px) {
    .scroll-progress {
        display: none;
    }
}

/* ---- 3. Event card becomes a lit marquee sign ----------------------------- */
.event-card {
    isolation: isolate;
}

.event-card::before,
.event-card::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    height: 9px;
    pointer-events: none;
    background-image: radial-gradient(circle, var(--fire-4) 0 32%, oklch(72% 0.14 70 / 0.28) 36% 46%, transparent 50%);
    background-size: 20px 9px;
    background-repeat: repeat-x;
    filter: drop-shadow(0 0 5px oklch(86% 0.14 85 / 0.7));
    opacity: 0.95;
    z-index: 1;
}

.event-card::before {
    top: 9px;
}

.event-card::after {
    bottom: 9px;
}

@media (prefers-reduced-motion: no-preference) {
    .event-card::before {
        animation: bulb-run 1.5s linear infinite;
    }

    .event-card::after {
        animation: bulb-run 1.5s linear infinite reverse;
    }
}

@keyframes bulb-run {
    to {
        background-position-x: 20px;
    }
}

@media (max-width: 680px) {
    .event-card::before,
    .event-card::after {
        left: 12px;
        right: 12px;
        height: 7px;
        background-size: 16px 7px;
        opacity: 0.72;
        filter: drop-shadow(0 0 4px oklch(86% 0.14 85 / 0.48));
    }

    .event-card::before {
        top: 8px;
    }

    .event-card::after {
        bottom: 8px;
    }
}

/* ---- 4. Footlight dividers: a fire bar opens each act ---------------------- */
.panel-view[data-view-panel="home"] > .page-section:not(.stage-card):not(.legacy-star-field)::before {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 0 0 26px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--fire-1), var(--fire-2), var(--fire-3), var(--fire-4));
    box-shadow: 0 0 14px oklch(79% 0.155 78 / 0.5);
    opacity: 0.85;
}

@media (prefers-reduced-motion: no-preference) {
    .panel-view[data-view-panel="home"] > .page-section:not(.stage-card):not(.legacy-star-field)::before {
        animation: footlight-pulse 3.4s ease-in-out infinite;
    }
}

/* ---- 4b. Impact band: the proof, counted up on the navy stage ------------- */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 6px;
}

.impact-story-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.5fr);
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    margin: 16px 0 0;
    border: 1px solid rgb(252 183 22 / 0.28);
    border-radius: var(--radius);
    background: #FFFFFF;
    box-shadow: 0 16px 38px rgb(20 35 63 / 0.16);
}

.impact-story-panel img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    min-height: 340px;
    object-fit: cover;
    object-position: 50% 46%;
}

.impact-story-panel figcaption {
    display: grid;
    align-content: center;
    gap: 10px;
    padding: clamp(22px, 3vw, 34px);
    color: var(--navy-800);
    background:
        radial-gradient(ellipse 16rem 12rem at 100% 0%, rgb(249 215 8 / 0.18), transparent),
        linear-gradient(180deg, #FFFFFF, var(--cream));
}

.impact-story-panel figcaption span {
    color: var(--hti-pumpkin);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.impact-story-panel figcaption strong {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 3vw, 2.25rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.impact-stat {
    padding: 26px 22px;
    border: 1px solid var(--hairline);
    border-top: 3px solid var(--fire-2);
    border-radius: var(--radius-sm);
    background: oklch(16% 0.04 252 / 0.5);
}

.impact-stat:nth-child(1) {
    border-top-color: var(--fire-1);
}

.impact-stat:nth-child(2) {
    border-top-color: var(--fire-2);
}

.impact-stat:nth-child(3) {
    border-top-color: var(--fire-3);
}

.impact-stat:nth-child(4) {
    border-top-color: var(--fire-4);
}

.impact-stat strong {
    display: block;
    color: var(--fire-4);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    line-height: 1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.impact-stat span {
    display: block;
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.35;
}

.impact-note {
    margin-top: 16px;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

@media (max-width: 680px) {
    .impact-grid {
        grid-template-columns: 1fr;
    }

    .impact-story-panel {
        grid-template-columns: 1fr;
    }

    .impact-story-panel img {
        min-height: 0;
    }
}

@keyframes footlight-pulse {
    0%, 100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* ---- 5. Headline: a stage light sweeps the heading on reveal --------------- */
.section-heading h2 {
    position: relative;
}

.section-heading.is-revealed h2::after {
    content: "";
    position: absolute;
    inset: -2px -6px;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 32%, oklch(92% 0.13 88 / 0.5) 48%, transparent 62%);
    background-size: 260% 100%;
    background-position: 175% 0;
    mix-blend-mode: overlay;
    animation: head-sheen 950ms ease-out 140ms both;
}

@keyframes head-sheen {
    to {
        background-position: -65% 0;
    }
}

/* ---- 6. Hero logo: a spotlight blooms in behind the lockup ----------------- */
.lockup-logo {
    position: relative;
}

.lockup-logo::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 46%;
    width: 122%;
    height: 122%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle, oklch(80% 0.13 80 / 0.13), transparent 70%);
    opacity: 0.55;
}

@media (prefers-reduced-motion: no-preference) {
    .lockup-logo::before {
        animation: logo-bloom 1700ms ease-out 720ms both;
    }
}

@keyframes logo-bloom {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.55);
    }

    45% {
        opacity: 1;
    }

    100% {
        opacity: 0.55;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* ---- 7. The four fire circles ignite as you light the wizard --------------- */
@media (prefers-reduced-motion: no-preference) {
    .form-progress span.is-active::after {
        animation: fire-ignite 520ms cubic-bezier(0.34, 1.56, 0.64, 1);
        transform-origin: center;
    }
}

@keyframes fire-ignite {
    0% {
        transform: scaleX(0.2);
        opacity: 0;
    }

    60% {
        transform: scaleX(1.08);
    }

    100% {
        transform: scaleX(1);
        opacity: 1;
    }
}

/* ---- 8. Pointer tilt: subtle 3D depth + a glare that tracks the cursor ----- */
[data-tilt] {
    position: relative;
    transform: perspective(820px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transform-style: preserve-3d;
    transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-tilt]::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(420px circle at var(--glare-x, 50%) var(--glare-y, -20%), oklch(92% 0.12 88 / 0.16), transparent 45%);
    transition: opacity 220ms ease;
}

[data-tilt]:hover::before {
    opacity: 1;
}

/* ---- 9. Review dialog: a stage reveal (scale-in + glow) -------------------- */
@media (prefers-reduced-motion: no-preference) {
    .review-dialog {
        transition: opacity 320ms ease, transform 340ms cubic-bezier(0.16, 1, 0.3, 1), overlay 340ms allow-discrete, display 340ms allow-discrete;
    }

    .review-dialog[open] {
        opacity: 1;
        transform: none;
    }

    @starting-style {
        .review-dialog[open] {
            opacity: 0;
            transform: translateY(10px) scale(0.97);
        }
    }
}

/* ---- 10. A11y: focus-visible on the un-styled buttons/summaries ------------ */
.footer-staff:focus-visible,
.faq-list summary:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

/* ---- Reduced motion: kill the curtain + freeze the marquee ----------------- */
@media (prefers-reduced-motion: reduce) {
    .showcurtain {
        display: none !important;
    }

    .event-card::before,
    .event-card::after {
        animation: none !important;
    }
}

/* ---- 11. Rising embers: mystical ambient layer (navy stages only) --------- */
.embers {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    --rise: 660px;
}

/* Lift the stage's real content above the ember layer (injected first child) */
.embers ~ * {
    position: relative;
    z-index: 1;
}

.hero .embers {
    --rise: 600px;
}

.impact-band .embers {
    --rise: 460px;
}

.site-footer .embers {
    --rise: 240px;
}

.ember {
    position: absolute;
    bottom: 0;
    width: var(--size, 3px);
    height: var(--size, 3px);
    border-radius: 50%;
    background: radial-gradient(circle, oklch(97% 0.05 92), var(--ember, var(--fire-3)) 56%, transparent 72%);
    box-shadow: 0 0 8px var(--ember, var(--fire-3)), 0 0 18px var(--ember, var(--fire-3));
    opacity: 0;
    animation: ember-rise var(--dur, 10s) linear var(--delay, 0s) infinite;
    will-change: transform, opacity;
}

.ember--0 {
    --ember: oklch(70% 0.185 42);
}

.ember--1 {
    --ember: oklch(79% 0.155 78);
}

.ember--2 {
    --ember: oklch(87% 0.165 95);
}

@keyframes ember-rise {
    0% {
        transform: translate3d(0, 0, 0) scale(0.5);
        opacity: 0;
    }

    12% {
        opacity: 0.95;
    }

    50% {
        transform: translate3d(calc(var(--drift, 0px) * 0.6), calc(var(--rise) * -0.5), 0) scale(1);
    }

    78% {
        opacity: 0.82;
    }

    100% {
        transform: translate3d(var(--drift, 0px), calc(var(--rise) * -1), 0) scale(1.08);
        opacity: 0;
    }
}

/* ---- 12. Persistent Audition CTA: sticky bar after the hero --------------- */
.sticky-cta {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 9px clamp(16px, 4vw, 36px);
    background: linear-gradient(180deg, oklch(22% 0.05 252 / 0.96), oklch(17% 0.046 252 / 0.94));
    border-bottom: 1px solid oklch(85% 0.09 85 / 0.25);
    box-shadow: 0 12px 30px oklch(10% 0.03 252 / 0.4);
    backdrop-filter: blur(10px);
    visibility: hidden;
    transform: translateY(-100%);
    transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.34s;
}

.sticky-cta.is-visible {
    visibility: visible;
    transform: translateY(0);
}

.sticky-cta__home {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    color: oklch(96% 0.01 95);
    text-decoration: none;
}

.sticky-cta__mark img {
    display: block;
    height: 26px;
    width: auto;
}

.sticky-cta__home strong {
    overflow: hidden;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@media (max-width: 680px) {
    .sticky-cta {
        top: auto;
        bottom: 0;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid oklch(85% 0.09 85 / 0.25);
        border-bottom: 0;
        transform: translateY(100%);
        box-shadow: 0 -12px 30px oklch(10% 0.03 252 / 0.45);
    }

    .sticky-cta.is-visible {
        transform: translateY(0);
    }

    .sticky-cta__home strong {
        display: none;
    }

    .sticky-cta .small-cta {
        flex: 1;
        max-width: 360px;
        min-height: 46px;
        font-size: 0.8rem;
    }
}

/* ---- 13. FAQ: custom fire +/× marker + smooth expand --------------------- */
@supports (interpolate-size: allow-keywords) {
    :root {
        interpolate-size: allow-keywords;
    }
}

.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    list-style: none;
    min-height: 44px;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "";
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background:
        linear-gradient(var(--accent), var(--accent)) center / 13px 2.5px no-repeat,
        linear-gradient(var(--accent), var(--accent)) center / 2.5px 13px no-repeat;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-list details[open] summary::after {
    transform: rotate(45deg);
}

.faq-list summary:hover {
    color: var(--accent-deep);
}

@media (prefers-reduced-motion: no-preference) {
    .faq-list details::details-content {
        block-size: 0;
        overflow: clip;
        transition: block-size 0.32s cubic-bezier(0.16, 1, 0.3, 1), content-visibility 0.32s allow-discrete;
    }

    .faq-list details[open]::details-content {
        block-size: auto;
    }
}
