:root {
    --ink: #f5f3ee;
    --ink-2: rgba(245, 243, 238, 0.78);
    --ink-soft: rgba(245, 243, 238, 0.6);
    --ink-faint: rgba(245, 243, 238, 0.34);
    --ink-ghost: rgba(245, 243, 238, 0.16);
    --bg: #000;
    --bg-2: #07080f;
    --amber: #c98b4d;
    --amber-warm: #d99a55;
    --amber-soft: rgba(201, 139, 77, 0.5);
    --indigo-deep: rgba(21, 32, 70, 0.22);
    --glass-bg: rgba(11, 13, 24, 0.42);
    --glass-stroke: rgba(245, 243, 238, 0.08);
    --glass-stroke-hi: rgba(245, 243, 238, 0.22);
    --line: rgba(245, 243, 238, 0.18);
    --line-strong: rgba(245, 243, 238, 0.42);
    --serif: "Lora", Georgia, "Times New Roman", serif;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --hand: "Caveat", "Comic Sans MS", cursive;
    --type: "Special Elite", "Courier New", monospace;
    --tnr: "Times New Roman", "Liberation Serif", Times, serif;
    --stamp: rgba(180, 40, 40, 0.88);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
    background: var(--bg);
    width: 100%; height: 100%;
}
body {
    font-family: var(--serif);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    line-height: 1.55;
    overflow: hidden; /* the scroller owns scroll */
}

/* ============================================================
   BACKGROUND — chladni grain (scroll-mode + click ripples) +
   stream glow that drifts with cursor
   ============================================================ */
.bg-grain { position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.78; }
.bg-glow {
    position: fixed; inset: 0; pointer-events: none; z-index: 1; mix-blend-mode: screen;
    background:
        radial-gradient(60vw 60vh at 18% 14%, rgba(31, 38, 80, 0.42), transparent 60%),
        radial-gradient(50vw 50vh at 86% 88%, rgba(20, 42, 84, 0.32), transparent 60%);
}
.stream {
    position: fixed; top: 50%; left: 50%;
    width: 120vw; height: 120vh;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at center, var(--indigo-deep) 0%, transparent 60%);
    pointer-events: none; z-index: 1;
    transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(201,139,77,0.6); }
    100% { box-shadow: 0 0 0 12px rgba(201,139,77,0); }
}

/* ============================================================
   SECTION RAIL — section dots on the right, progress on a thin line
   ============================================================ */
.rail {
    position: fixed; top: 50%; right: 1.6rem;
    transform: translateY(-50%);
    z-index: 42;
    display: flex; flex-direction: column;
    gap: 0.9rem; align-items: flex-end;
}
.rail-track {
    position: absolute; right: 9px;
    top: -14px; bottom: -14px;
    width: 1px; background: var(--ink-ghost);
    pointer-events: none;
}
.rail-bar {
    position: absolute; right: 9px; top: -14px;
    width: 1px; background: var(--amber); height: 0;
    transition: height 0.18s linear; pointer-events: none;
}
.rail .dot {
    background: transparent; border: none; cursor: pointer;
    padding: 0.3rem 0; padding-right: 0.6rem;
    font-family: var(--sans); font-size: 0.55rem;
    letter-spacing: 0.18em; color: var(--ink-faint);
    text-transform: uppercase; text-align: right;
    display: flex; align-items: center; justify-content: flex-end;
    gap: 0.7rem;
    transition: color 0.25s;
}
.rail .dot .mark {
    width: 7px; height: 7px;
    border: 1px solid var(--line-strong);
    background: var(--bg);
    transform: rotate(45deg);
    transition: all 0.3s ease;
}
.rail .dot .nm {
    opacity: 0; transform: translateX(6px);
    transition: all 0.25s; white-space: nowrap;
}
.rail:hover .dot .nm { opacity: 1; transform: translateX(0); }
.rail .dot:hover, .rail .dot.active { color: var(--ink); }
.rail .dot.active .mark { background: var(--amber); border-color: var(--amber); transform: rotate(45deg) scale(1.3); }
.rail .dot.past .mark { background: var(--ink-ghost); border-color: var(--line); }
@media (max-width: 720px) { .rail { display: none; } }

/* ============================================================
   SCROLLER — snap container
   ============================================================ */
.scroller {
    position: fixed; inset: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    /* Snappy — each section snaps cleanly into view. Sections are sized
       to fit viewport so they always center on snap. */
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    perspective: 1200px;
    z-index: 5;
}
.scroller::-webkit-scrollbar { display: none; }

/* Every section is exactly 100vh and centers its content. Snap-align: center
   makes the section's center match viewport center on snap — text always
   lands centered, not stuck to the top. */
.step {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    display: flex; align-items: center; justify-content: center;
    padding: 4rem 1.6rem 3rem;
    overflow: hidden;
}

/* ============================================================
   FLOATING MODULE — glass card. Each section's content lives in
   one of these. Mouse parallax tilts the module slightly toward
   the cursor for "alive" feel.
   ============================================================ */
/* Modules: no fill, no blur. Diagonal corner brackets only — meridian segments
   that "inscribe" a reading room out of the dome's own vocabulary. */
.module {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: clamp(2.2rem, 3.6vw, 3.4rem) clamp(1.8rem, 3vw, 2.8rem);
    position: relative;
    width: 100%;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
/* TL corner — amber (warm, brand-anchored) */
.module::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 42px; height: 42px;
    border-top: 1px solid rgba(201, 139, 77, 0.82);
    border-left: 1px solid rgba(201, 139, 77, 0.82);
    border-top-left-radius: 14px;
    pointer-events: none;
    opacity: 0;
    transform: translate(-4px, -4px);
    animation: arc-draw 0.7s 0.18s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
/* BR corner — ink (the closing bracket) */
.module::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 42px; height: 42px;
    border-bottom: 1px solid var(--line-strong);
    border-right: 1px solid var(--line-strong);
    border-bottom-right-radius: 14px;
    pointer-events: none;
    opacity: 0;
    transform: translate(4px, 4px);
    animation: arc-draw 0.7s 0.32s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes arc-draw {
    from { opacity: 0; transform: translate(var(--arc-tx, 0), var(--arc-ty, 0)) scale(0.78); }
    to   { opacity: 1; transform: translate(0, 0) scale(1); }
}

/* Asymmetric placements — each section picks one. */
.mod-left   { max-width: 720px; margin-right: auto; margin-left: clamp(0px, 4vw, 4rem); }
.mod-right  { max-width: 720px; margin-left: auto;  margin-right: clamp(0px, 4vw, 4rem); }
.mod-center { max-width: 980px; margin: 0 auto; }
.mod-wide   { max-width: 1140px; margin: 0 auto; }

/* SECTION HEADER inside modules — label + headline */
.mh {
    display: block;
    margin-bottom: 1.6rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid rgba(245, 243, 238, 0.08);
}
.mh .mright { display: flex; flex-direction: column; gap: 0.7rem; min-width: 0; }
.mh .lbl {
    font-family: var(--sans);
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--amber);
    display: flex; gap: 0.6rem; align-items: center;
}
.mh .lbl::before { content: ''; display: inline-block; width: 22px; height: 1px; background: var(--amber-soft); }
.mh h2 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(1.8rem, 3.4vw, 2.8rem);
    line-height: 1.04;
    letter-spacing: -0.02em;
    margin: 0;
    text-wrap: balance;
    max-width: 22ch;
}
.mh h2 em { font-style: italic; color: var(--amber); }
@media (max-width: 640px) { .mh { grid-template-columns: 1fr; } .mh .num { font-size: 3rem; } }

/* Body type inside modules */
.module .lede {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.05rem, 1.3vw, 1.28rem);
    line-height: 1.55;
    color: var(--ink-2);
    max-width: 58ch;
    margin-bottom: 1rem;
    text-wrap: pretty;
}
.module .lede em { font-style: italic; color: var(--amber); }
.module .lede b { color: var(--ink); font-weight: 600; }
.module p.body {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink-2);
    max-width: 60ch;
    margin-bottom: 1em;
    text-wrap: pretty;
}
.module p.body em { font-style: italic; color: var(--amber); }
.module p.body b { color: var(--ink); font-weight: 600; }

/* Cover status — typewriter-style transmission readout. No more pill. */
.cover-status {
    display: inline-flex; align-items: center; gap: 0.55em;
    font-family: var(--type);
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    color: var(--ink-faint);
    margin-top: 1rem;
    white-space: nowrap;
}
.cover-status .cs-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 10px rgba(201, 139, 77, 0.85);
    animation: cs-blink 1.4s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes cs-blink {
    0%, 100% { opacity: 1;    box-shadow: 0 0 12px rgba(201, 139, 77, 0.9); }
    50%      { opacity: 0.28; box-shadow: 0 0 4px  rgba(201, 139, 77, 0.3); }
}
.cover-status .cs-state {
    color: var(--amber);
    letter-spacing: 0.34em;
    text-transform: uppercase;
    font-weight: 400;
}
.cover-status .cs-sep {
    color: var(--ink-ghost);
    margin: 0 0.05em;
    font-family: var(--serif);
}
.cover-status .cs-info {
    color: var(--ink-soft);
}
.cover-status .cs-time {
    color: var(--amber);
    font-style: normal;
}

/* Pull quote inside the BELIEF module */
.pull {
    margin: 1.6rem 0 0;
    padding: 1.6rem 1.6rem 1.6rem 1.6rem;
    border-top: 1px solid var(--amber-soft);
    border-bottom: 1px solid var(--amber-soft);
    text-align: center;
    position: relative;
}
.pull::before {
    content: '“';
    position: absolute;
    top: -1.7rem; left: 50%; transform: translateX(-50%);
    font-family: var(--serif); font-style: italic; color: var(--amber);
    font-size: 4.6rem; line-height: 1;
    background: var(--bg-2);
    padding: 0 0.5rem;
}
.pull q {
    font-family: var(--serif); font-weight: 500; font-style: italic;
    font-size: clamp(1.3rem, 2vw, 1.85rem);
    line-height: 1.3; color: var(--ink);
    letter-spacing: -0.012em; display: block;
    text-wrap: pretty;
}
.pull q::before, .pull q::after { content: none; }
.pull q em { color: var(--amber); }

/* ============================================================
   COVER — recreates the landing's dome-mission composition.
   No magazine masthead. Big serif wordmark, grain-rasterized
   "— ABOUT —" sub-line, status pill, scroll cue.
   ============================================================ */
.cover {
    height: 100vh;
    min-height: 100vh;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 6rem clamp(1.6rem, 5vw, 5.5rem) 4rem;
    position: relative;
}
.cover-mission {
    display: flex; flex-direction: column;
    align-items: center; gap: 1.2rem;
    text-align: center; z-index: 3; position: relative;
}
.cover-mission .wordmark {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(2.8rem, 8vw, 7rem);
    line-height: 1.0;
    letter-spacing: 0.005em;
    color: var(--ink);
    margin: 0;
    max-width: calc(100vw - 10rem);
}
.cover-mission .about-raster {
    display: block;
    width: clamp(240px, 28vw, 440px);
    height: clamp(48px, 6vw, 84px);
    margin-top: 0.6rem;
}
.cover-foot {
    position: absolute;
    bottom: clamp(2rem, 4vh, 3.4rem); left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 1.4rem; align-items: center;
    z-index: 3;
}
/* Explore button — matches the "See what we cooked" button on the landing.
   Used here for the cover back-to-landing link. */
.explore-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.9em;
    padding: 0.85em 1.6em;
    background: transparent;
    color: var(--ink);
    border: none;
    font-family: var(--sans);
    font-weight: 400;
    font-size: clamp(0.72rem, 0.85vw, 0.9rem);
    letter-spacing: 0.32em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.25s ease;
    opacity: 0.85;
}
.explore-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
    --c: #ffffff;
    --len: 12px;
    --thk: 1.2px;
    background:
        linear-gradient(var(--c), var(--c)) top left / var(--len) var(--thk) no-repeat,
        linear-gradient(var(--c), var(--c)) top left / var(--thk) var(--len) no-repeat,
        linear-gradient(var(--c), var(--c)) top right / var(--len) var(--thk) no-repeat,
        linear-gradient(var(--c), var(--c)) top right / var(--thk) var(--len) no-repeat,
        linear-gradient(var(--c), var(--c)) bottom left / var(--len) var(--thk) no-repeat,
        linear-gradient(var(--c), var(--c)) bottom left / var(--thk) var(--len) no-repeat,
        linear-gradient(var(--c), var(--c)) bottom right / var(--len) var(--thk) no-repeat,
        linear-gradient(var(--c), var(--c)) bottom right / var(--thk) var(--len) no-repeat;
}
.explore-btn:hover { opacity: 1; }
.explore-btn:hover::before { opacity: 1; }
.explore-btn .arrow {
    width: 1.1em;
    height: 1.1em;
    transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.explore-btn:hover .arrow-back { transform: translateX(-5px); }

/* Back-to-landing button — fixed header, visible on every section. */
.back-btn {
    position: fixed;
    top: clamp(1.4rem, 3.2vh, 2.4rem);
    left: clamp(1.4rem, 3.2vw, 2.4rem);
    z-index: 50;
}

/* Blurred top header strip — softens whatever scrolls beneath the
   back-btn. Fades cleanly to transparent so it never feels like a hard
   chrome bar. Works on every screen size. */
.top-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 5.2rem;
    z-index: 49;
    pointer-events: none;
    background: linear-gradient(to bottom,
        rgba(11, 13, 24, 0.62) 0%,
        rgba(11, 13, 24, 0.32) 55%,
        rgba(11, 13, 24, 0) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}

/* Scroll-to-next-section button — fixed to viewport, persists on every section. */
.scroll-btn {
    position: fixed;
    bottom: clamp(2rem, 4vh, 3.4rem);
    right: clamp(2rem, 4vw, 3.4rem);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    touch-action: manipulation;
    border: 1px solid var(--line-strong);
    background: rgba(11, 13, 24, 0.55);
    color: var(--ink);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0.85;
    z-index: 40;
    transition: opacity 0.25s ease, border-color 0.25s ease, transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.scroll-btn:hover {
    opacity: 1;
    border-color: var(--amber);
    transform: translateY(2px);
}
.scroll-btn.scroll-btn-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
}
.scroll-btn .arrow-down {
    width: 22px;
    height: 22px;
    animation: scrollBtnBounce 2.2s ease-in-out infinite;
}
@keyframes scrollBtnBounce {
    0%, 100% { transform: translateY(0); opacity: 0.95; }
    50%      { transform: translateY(4px); opacity: 0.55; }
}

/* Scroll-to-previous-section button — bottom-left mirror of .scroll-btn. */
.scroll-up-btn {
    right: auto;
    left: clamp(2rem, 4vw, 3.4rem);
}
.scroll-up-btn:hover {
    transform: translateY(-2px);
}
.scroll-up-btn .arrow-up {
    width: 22px;
    height: 22px;
    animation: scrollUpBtnBounce 2.2s ease-in-out infinite;
}
@keyframes scrollUpBtnBounce {
    0%, 100% { transform: translateY(0); opacity: 0.95; }
    50%      { transform: translateY(-4px); opacity: 0.55; }
}

/* The motto, now living in s1 instead of cover */
.motto {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(2.4rem, 6.4vw, 5.2rem);
    line-height: 1.0;
    letter-spacing: -0.025em;
    margin: 0 0 1rem;
    text-wrap: balance;
}
.motto em { font-style: italic; color: var(--amber); }
.motto .sw {
    display: inline-block; cursor: grab; user-select: none;
    touch-action: none; transition: color 0.4s ease;
}
.motto .sw:hover { color: var(--amber-warm); }
.motto .sw.dragging { cursor: grabbing; opacity: 0.85; color: var(--amber); z-index: 100; }
.motto .sw.placeholder { color: var(--ink-ghost); }
.motto .sw.target-hover { color: var(--amber-warm); }
.motto .sw.shifting { animation: shift 0.5s cubic-bezier(0.5, 0, 0.2, 1); }
@keyframes shift {
    0%   { transform: translateY(0) rotate(0) scale(1); opacity: 1; filter: blur(0); }
    50%  { transform: translateY(-30%) rotate(-4deg) scale(0.92); opacity: 0; filter: blur(4px); }
    100% { transform: translateY(0) rotate(0) scale(1); opacity: 1; filter: blur(0); }
}

.module .drag-hint {
    font-family: var(--sans); font-size: 0.58rem;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--ink-faint); margin-bottom: 0.6rem;
    display: inline-flex; align-items: center; gap: 0.5rem;
}
.module .drag-hint::before {
    content: ''; width: 6px; height: 6px;
    background: var(--amber); transform: rotate(45deg);
}

/* ============================================================
   DOMAIN CARDS
   ============================================================ */
.cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
    margin-top: 1.6rem;
    perspective: 1200px;
}
@media (max-width: 920px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) {
    /* Keep two doors per row on phones — a single full-width door eats the
       whole screen and hides the description below. Compress aspect ratio
       so doors stay door-shaped without towering. */
    .cards { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
    .dcard { aspect-ratio: 1 / 1.7; }
    .dcard .d-upper { top: 14px; left: 22px; right: 12px; }
    .dcard .gx { width: 28px; height: 28px; }
    .dcard .d-lower { top: 60%; left: 22px; right: 12px; bottom: 10px; }
    .dcard h4 { font-size: 0.74rem; line-height: 1.18; }
    .dcard .more { font-size: 0.45rem; letter-spacing: 0.24em; }
    .dcard .d-num { font-size: 0.42rem; }
    .d-knob { right: 8px; width: 8px; height: 8px; }
    .d-rail { left: 14px; right: 6px; }
    .dcard::before { left: 14px; right: 6px; top: 6px; bottom: 6px; }
    /* Center the orphan 5th card so the row doesn't sit lopsided. */
    .cards .dcard:nth-child(5):last-child {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 0.35rem);
    }
}

/* Each dcard is a literal door. Hinge side LEFT, knob side RIGHT.
   Mid-rail splits upper (icon panel) and lower (label panel).
   On hover the whole card creaks open along the left hinge. */
/* OUTER hit-zone — never transforms. This is the stable target the cursor
   tracks. All visual rotation lives on the inner .d-leaf. */
.dcard {
    position: relative;
    cursor: pointer;
    aspect-ratio: 1 / 2.1;
    background: transparent;
    border: none;
    padding: 0;
    color: var(--ink);
    text-align: left;
    /* Keep a small "porch" of dead pixels around the leaf so cursor jitter
       at the very edge never falls into pure void. */
    perspective: 900px;
    perspective-origin: 0% center;
}
.dcard:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* INNER door leaf — the rotating, restyled, animated layer */
.d-leaf {
    position: absolute;
    inset: 0;
    display: block;
    background: linear-gradient(to right,
        rgba(11, 13, 24, 0.85) 0,
        rgba(11, 13, 24, 0.65) 18px,
        rgba(11, 13, 24, 0.5) 50%);
    border: 1.5px solid var(--ink-faint);
    border-radius: 3px 3px 1px 1px;
    overflow: hidden;
    transform-origin: 14px center;
    transform: rotateY(0deg) translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
    transition: transform 0.55s cubic-bezier(0.34, 1.4, 0.64, 1),
                border-color 0.3s, background 0.4s, box-shadow 0.4s;
}
/* Door leaf — inset rectangle (the inner border of the door panel) */
.d-leaf::before {
    content: '';
    position: absolute;
    top: 8px; bottom: 8px; left: 18px; right: 8px;
    border: 1px solid var(--line);
    pointer-events: none;
    border-radius: 2px;
    transition: border-color 0.3s;
}
/* Faint number plate at the top of the doorframe (like a hotel room number) */
.dcard .d-num {
    position: absolute;
    top: 6px; left: 50%;
    transform: translateX(-50%);
    font-family: var(--type);
    font-size: 0.5rem;
    letter-spacing: 0.32em;
    color: var(--ink-faint);
    z-index: 4;
    pointer-events: none;
}
/* Hinges — pairs of horizontal marks on the left jamb */
.d-hinge {
    position: absolute;
    left: 0;
    width: 20px; height: 3px;
    background: var(--ink-faint);
    z-index: 3;
}
.d-hinge::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    top: 5px;
    height: 3px;
    background: var(--ink-faint);
}
.d-hinge-top { top: 18%; }
.d-hinge-bot { bottom: 18%; }
/* Knob — round amber dot with subtle ring */
.d-knob {
    position: absolute;
    right: 11px;
    top: 56%;
    transform: translateY(-50%);
    width: 11px; height: 11px;
    background: var(--amber);
    border-radius: 50%;
    box-shadow:
        0 0 0 2.5px rgba(11, 13, 24, 0.95),
        0 0 0 3.5px var(--amber-soft),
        0 0 12px rgba(201, 139, 77, 0.45);
    z-index: 4;
    transition: box-shadow 0.3s, transform 0.3s;
}
/* Mid-rail — horizontal line dividing upper and lower panels */
.d-rail {
    position: absolute;
    left: 18px; right: 8px;
    top: 55%;
    height: 1px;
    background: var(--line-strong);
    z-index: 2;
}
/* Upper panel — holds the icon */
.dcard .d-upper {
    position: absolute;
    top: 22px; left: 26px; right: 16px;
    bottom: 47%;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
}
.dcard .gx {
    width: 42px; height: 42px;
    color: var(--amber);
    margin: 0;
}
.dcard .gx svg { width: 100%; height: 100%; display: block; }
.dcard .gx svg * {
    fill: none; stroke: currentColor;
    stroke-width: 1.5; vector-effect: non-scaling-stroke;
}
/* Lower panel — holds the title and "Open" hint */
.dcard .d-lower {
    position: absolute;
    top: 57%; left: 26px; right: 16px;
    bottom: 14px;
    display: flex; flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}
.dcard h4 {
    font-family: var(--serif); font-weight: 500;
    font-size: 0.86rem; line-height: 1.2;
    letter-spacing: -0.005em;
    margin: 0;
    color: var(--ink);
}
.dcard h4 em { font-style: italic; color: var(--amber); }
.dcard .more {
    font-family: var(--sans); font-size: 0.5rem;
    letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--ink-faint);
    transition: color 0.25s;
    margin-top: auto;
}

/* HOVER — door creaks slightly open. The outer .dcard is the stable hit
   zone (never transforms), the inner .d-leaf does the rotation. This
   decouples cursor tracking from visual geometry — no more flicker loop. */
.dcard:hover .d-leaf {
    transform: rotateY(-7deg) translateZ(0);
    border-color: var(--amber-soft);
    background: linear-gradient(to right,
        rgba(11, 13, 24, 0.9) 0,
        rgba(31, 22, 12, 0.55) 18px,
        rgba(31, 22, 12, 0.32) 50%);
    box-shadow:
        -8px 4px 22px rgba(0, 0, 0, 0.42),
        inset 14px 0 26px rgba(201, 139, 77, 0.08);
}
.dcard:hover .d-leaf::before { border-color: var(--amber-soft); }
.dcard:hover .more { color: var(--amber); }
.dcard:hover .d-knob {
    transform: translateY(-50%) scale(1.18);
    box-shadow:
        0 0 0 2.5px rgba(11, 13, 24, 0.95),
        0 0 0 3.5px var(--amber),
        0 0 18px rgba(201, 139, 77, 0.65);
}

/* OPENED — clicked; door swings open with a real-weight curve.
   Brief unlatch jerk → overshoot past target → settle. */
.dcard.opened .d-leaf {
    animation: door-swing 0.95s cubic-bezier(0.34, 1.4, 0.4, 1) forwards;
    border-color: var(--amber);
    background: linear-gradient(to right,
        rgba(11, 13, 24, 0.92) 0,
        rgba(46, 28, 12, 0.78) 18px,
        rgba(46, 28, 12, 0.55) 50%);
    box-shadow:
        -18px 8px 44px rgba(0, 0, 0, 0.62),
        inset 18px 0 32px rgba(201, 139, 77, 0.18);
}
@keyframes door-swing {
    0%   { transform: rotateY(-9deg); }
    6%   { transform: rotateY(-4deg); }  /* unlatch jerk */
    35%  { transform: rotateY(-44deg); } /* overshoot */
    55%  { transform: rotateY(-32deg); }
    75%  { transform: rotateY(-38deg); }
    100% { transform: rotateY(-36deg); } /* final */
}
.dcard.opened .d-leaf::before { border-color: var(--amber); }
.dcard.opened .more::after { content: ' →'; color: var(--amber); margin-left: 0.4em; }
/* Light spill from the open door — amber wedge growing on the right side */
.dcard.opened .d-leaf::after {
    content: '';
    position: absolute;
    top: 4px; bottom: 4px;
    left: 50%;
    right: -10%;
    background: linear-gradient(110deg,
        transparent 0,
        rgba(201, 139, 77, 0.22) 35%,
        rgba(201, 139, 77, 0.08) 78%,
        transparent 100%);
    pointer-events: none;
    opacity: 0;
    animation: door-spill 0.8s 0.25s ease-out forwards;
    z-index: 1;
}
@keyframes door-spill {
    from { opacity: 0; transform: translateX(-12px) scaleX(0.7); }
    to   { opacity: 1; transform: translateX(0)     scaleX(1);   }
}
/* Knob "pulled" — rotates slightly on click as if grabbed */
.dcard.opened .d-knob {
    transform: translate(2px, -50%) scale(1.25);
    box-shadow:
        0 0 0 2.5px rgba(11, 13, 24, 0.95),
        0 0 0 4px var(--amber),
        0 0 22px rgba(201, 139, 77, 0.85);
}

.domain-detail {
    margin-top: 1.4rem;
    padding: 1.4rem 1.6rem 1.4rem 1.8rem;
    border-left: 2px solid transparent;
    position: relative;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s;
}
/* Light beam sweep — appears from the left as if from the open door */
.domain-detail::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 2px;
    background: var(--amber);
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.domain-detail::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 2px;
    width: 100%;
    background: linear-gradient(95deg,
        rgba(201, 139, 77, 0.20) 0,
        rgba(201, 139, 77, 0.06) 30%,
        transparent 80%);
    transform: translateX(-100%);
    transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
}
.domain-detail.shown {
    opacity: 1;
    pointer-events: auto;
}
.domain-detail.shown::before { transform: scaleY(1); }
.domain-detail.shown::after  { transform: translateX(0); }

/* Children stagger in. Each piece has its own delay relative to .shown */
.domain-detail .nm,
.domain-detail h5,
.domain-detail p {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.domain-detail.shown .nm   { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }
.domain-detail.shown h5    { opacity: 1; transform: translateY(0); transition-delay: 0.50s; }
.domain-detail.shown p     { opacity: 1; transform: translateY(0); transition-delay: 0.78s; }

.domain-detail .nm {
    font-family: var(--type);
    font-size: 0.62rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 0.6rem;
    position: relative;
    z-index: 2;
}
.domain-detail .nm::before {
    content: '◆';
    margin-right: 0.7em;
    color: var(--amber);
    font-family: var(--serif);
    font-size: 0.85em;
}
.domain-detail h5 {
    font-family: var(--serif); font-weight: 500;
    font-size: clamp(1.3rem, 1.85vw, 1.7rem);
    line-height: 1.25; color: var(--ink);
    margin-bottom: 0.7rem;
    letter-spacing: -0.015em;
    position: relative; z-index: 2;
}
.domain-detail h5 em { font-style: italic; color: var(--amber); }

/* Per-character reveal on h5 — letters cascade in from the right */
.domain-detail h5 .char {
    display: inline-block;
    opacity: 0;
    transform: translateX(14px);
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.domain-detail.shown h5 .char {
    opacity: 1;
    transform: translateX(0);
}
.domain-detail h5 .char.space { display: inline; }

.domain-detail p {
    font-family: var(--serif); font-weight: 400;
    font-size: 1rem; line-height: 1.7; color: var(--ink-2);
    max-width: 64ch;
    position: relative; z-index: 2;
}

/* ============================================================
   CALENDAR
   ============================================================ */
/* s4 — Calendar as a vertical timeline. A central amber line runs down
   the left; each row is a node attached to it. Date on the left, content
   on the right of the node. Click expands the deet inline. */
.cal {
    margin-top: 2rem;
    position: relative;
    padding-left: 3.2rem;
}
.cal::before {
    content: '';
    position: absolute;
    left: 1.6rem; top: 1.6rem; bottom: 1.6rem;
    width: 1px;
    background: linear-gradient(to bottom,
        transparent 0,
        var(--ink-faint) 4%,
        var(--ink-faint) 96%,
        transparent 100%);
}
.cal-r {
    border: 0;
    padding: 1.6rem 0;
    cursor: pointer;
    display: grid;
    grid-template-columns: 10rem 1fr 1.5rem;
    gap: 1.4rem;
    align-items: baseline;
    transition: padding-left 0.3s ease, background 0.3s ease;
    position: relative;
}
/* Timeline node — circle on the central line, positioned to the left */
.cal-r::before {
    content: '';
    position: absolute;
    left: -1.9rem; top: 1.8rem;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--bg);
    border: 1.5px solid var(--ink-faint);
    transition: all 0.3s ease;
}
.cal-r:hover::before { border-color: var(--amber); transform: scale(1.15); }
.cal-r.now::before {
    background: var(--amber);
    border-color: var(--amber);
    box-shadow: 0 0 0 4px rgba(201, 139, 77, 0.18), 0 0 14px rgba(201, 139, 77, 0.6);
    animation: pulse-node 2.2s ease-out infinite;
}
@keyframes pulse-node {
    0%   { box-shadow: 0 0 0 4px rgba(201, 139, 77, 0.18), 0 0 14px rgba(201, 139, 77, 0.6); }
    50%  { box-shadow: 0 0 0 8px rgba(201, 139, 77, 0.06), 0 0 18px rgba(201, 139, 77, 0.4); }
    100% { box-shadow: 0 0 0 4px rgba(201, 139, 77, 0.18), 0 0 14px rgba(201, 139, 77, 0.6); }
}
.cal-r:hover { padding-left: 0.4rem; background: rgba(201, 139, 77, 0.03); }
.cal-r + .cal-r { border-top: 1px dashed var(--ink-ghost); }
.cal-r.now {
    background: linear-gradient(to right, rgba(201, 139, 77, 0.08), transparent 50%);
}
.cal-r .dt {
    font-family: var(--type);
    font-size: 0.92rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink);
    line-height: 1.3;
}
.cal-r .dt .sub {
    display: block;
    font-family: var(--sans);
    font-size: 0.55rem;
    color: var(--ink-faint);
    margin-top: 0.4rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.cal-r.now .dt { color: var(--amber); }
.cal-r .title {
    font-family: var(--serif); font-weight: 500;
    font-size: 1.3rem; line-height: 1.25;
    color: var(--ink);
}
.cal-r .title em { font-style: italic; color: var(--amber); }
.cal-r .deet {
    margin-top: 0.6rem;
    font-family: var(--serif); font-weight: 400;
    font-size: 0.95rem; line-height: 1.6;
    color: var(--ink-soft);
    max-height: 0; overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), margin-top 0.3s ease;
}
.cal-r.open .deet { max-height: 200px; }
.cal-r .ico {
    font-family: var(--sans); color: var(--ink-faint);
    text-align: right;
    transition: transform 0.35s ease, color 0.25s;
    align-self: start; padding-top: 0.2rem;
}
.cal-r.open .ico { transform: rotate(45deg); color: var(--amber); }
.cal-r .countdown {
    font-family: var(--sans); font-size: 0.6rem;
    letter-spacing: 0.18em; color: var(--amber);
    margin-top: 0.25rem;
}
.cal-r .countdown.past { color: var(--ink-faint); }
@media (max-width: 600px) { .cal-r { grid-template-columns: 1fr; gap: 0.3rem; } .cal-r .ico { display: none; } }

/* ============================================================
   RUBRIC GAME
   ============================================================ */
/* s5 — Rubric polished UI: cleaner scoreboard, refined bar, sharper detail */
.judge { margin-top: 1.6rem; }
.judge .scoreboard {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 1rem; gap: 0.6rem; flex-wrap: wrap;
    font-family: var(--type);
    font-size: 0.62rem;
    letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--ink-faint);
}
.judge .scoreboard b {
    color: var(--amber); font-family: var(--serif);
    font-style: italic; font-size: 1.5rem;
    margin: 0 0.15em; font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1;
}
.judge .scoreboard .reset {
    background: transparent;
    border: 1px solid var(--amber-soft);
    color: var(--amber); font: inherit;
    letter-spacing: 0.22em; text-transform: uppercase;
    padding: 0.45rem 1rem; cursor: pointer;
    transition: all 0.2s;
    font-family: var(--type);
}
.judge .scoreboard .reset:hover {
    background: var(--amber); color: var(--bg); border-color: var(--amber);
}
.judge-bar {
    display: flex; height: 100px;
    border: 1.5px solid var(--amber-soft);
    overflow: hidden;
    user-select: none; position: relative;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.judge-seg {
    position: relative; cursor: pointer;
    display: flex; flex-direction: column;
    justify-content: center;
    padding: 0 0.9rem; color: var(--bg);
    overflow: hidden; min-width: 0;
    transition: filter 0.2s;
}
.judge-seg:hover { filter: brightness(1.13); }
.judge-seg.active::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--bg);
    opacity: 0.45;
}
.judge-seg .pts {
    font-family: var(--serif); font-weight: 500;
    font-style: italic;
    font-size: 1.9rem; line-height: 1;
    letter-spacing: -0.025em;
    margin-bottom: 0.25rem;
}
.judge-seg .nm {
    font-family: var(--type);
    font-size: 0.55rem; letter-spacing: 0.14em;
    line-height: 1.2; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
    text-transform: uppercase;
    opacity: 0.85;
}
.judge-div {
    width: 8px; background: transparent;
    cursor: ew-resize; position: relative; flex-shrink: 0;
}
.judge-div::before {
    content: ''; position: absolute; top: 0; bottom: 0;
    left: 3px; right: 3px;
    background: rgba(7, 8, 15, 0.55);
    transition: background 0.2s, transform 0.2s;
}
.judge-div:hover::before, .judge-div.active::before {
    background: var(--ink); transform: scaleX(2);
}
.judge-div::after {
    content: '⇆'; position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    color: var(--ink); font-size: 0.85rem;
    opacity: 0; transition: opacity 0.2s; pointer-events: none;
    text-shadow: 0 0 4px var(--bg);
}
.judge-div:hover::after, .judge-div.active::after { opacity: 1; }
.judge-detail {
    margin-top: 1.4rem;
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--ink-ghost);
}
@media (max-width: 800px) {
    .judge-detail { grid-template-columns: 1fr; gap: 1.2rem; }
    .judge-seg .nm { font-size: 0.5rem; }
    .judge-seg .pts { font-size: 1.4rem; }
}
.judge-detail h4 {
    font-family: var(--serif); font-weight: 500;
    font-size: 1.3rem; line-height: 1.2;
    margin-bottom: 0.6rem; letter-spacing: -0.012em;
    color: var(--ink);
}
.judge-detail h4 em { font-style: italic; color: var(--amber); }
.judge-detail p {
    font-family: var(--serif); font-weight: 400;
    font-size: 0.92rem; line-height: 1.55; color: var(--ink-2);
}
.judge-detail .vs {
    font-family: var(--type);
    font-size: 0.6rem;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--ink-soft); line-height: 1.8;
}
.judge-detail .vs b {
    color: var(--amber); font-family: var(--serif);
    font-style: italic; font-weight: 500;
    font-size: 1rem; letter-spacing: -0.01em;
}
.judge-detail .vs .row {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 0.3rem 0; border-bottom: 1px dashed var(--ink-ghost);
}
.judge-detail .vs .row:last-of-type { border-bottom: none; }
.judge-detail .vs .row.match .lbl,
.judge-detail .vs .row.match .val { color: var(--amber); }
.judge-detail .vs .row .lbl { flex: 1; }
.judge-detail .vs .row .val { flex-shrink: 0; }
.judge-detail .vs .verdict {
    margin-top: 0.7rem; padding-top: 0.6rem;
    border-top: 1px solid var(--glass-stroke);
    color: var(--ink); font-family: var(--serif);
    font-style: italic; font-size: 0.95rem;
    text-transform: none; letter-spacing: 0;
    text-wrap: pretty; line-height: 1.5;
}
.judge-detail .vs .verdict em { color: var(--amber); }

/* ============================================================
   CHECKLIST
   ============================================================ */
.check-progress {
    margin-top: 1.4rem; margin-bottom: 1rem;
    display: flex; align-items: center; gap: 1rem;
    font-family: var(--sans); font-size: 0.6rem;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--ink-soft);
}
.check-progress .bar {
    flex: 1; height: 4px;
    background: var(--ink-ghost);
    position: relative; overflow: hidden;
    border-radius: 99rem;
}
.check-progress .fill {
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 0; background: var(--amber);
    transition: width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.check-progress b { color: var(--amber); font-family: var(--serif); font-style: italic; font-size: 0.95rem; font-weight: 600; }
/* s6 — Six rules as a 2-column grid of compact cards.
   Each card: numeral + tick + title (bold serif). Body text is the
   secondary detail, kept short and tight. */
.checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1.2rem;
    margin-top: 1.2rem;
    counter-reset: rules;
}
@media (max-width: 800px) { .checks { grid-template-columns: 1fr; } }
.check {
    display: grid;
    grid-template-columns: 2.4rem 20px 1fr;
    gap: 0.6rem;
    padding: 0.7rem 0.8rem 0.8rem 0.3rem;
    border-bottom: 1px solid var(--ink-ghost);
    cursor: pointer;
    align-items: start;
    transition: background 0.25s ease;
}
.check:hover { background: rgba(201, 139, 77, 0.04); }
.check.ticked { background: rgba(201, 139, 77, 0.05); }
/* Big italic outlined numeral */
.check::before {
    content: counter(rules);
    counter-increment: rules;
    grid-column: 1;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: 1.9rem;
    line-height: 0.85;
    color: transparent;
    -webkit-text-stroke: 1px var(--amber-soft);
    letter-spacing: -0.04em;
    padding-top: 0.18em;
}
.check.ticked::before { -webkit-text-stroke-color: var(--amber); }
.check .box {
    grid-column: 2;
    width: 16px; height: 16px;
    border: 1.4px solid var(--ink-faint);
    border-radius: 2px;
    display: inline-flex; align-items: center; justify-content: center;
    transition: all 0.25s; color: transparent;
    font-family: var(--sans); font-size: 0.8rem;
    margin-top: 0.35rem;
    background: transparent;
}
.check:hover .box { border-color: var(--amber-soft); }
.check.ticked .box { background: var(--amber); border-color: var(--amber); color: var(--bg); }
.check .body-r {
    grid-column: 3;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 0.82rem; line-height: 1.4;
    color: var(--ink-soft);
}
.check.ticked .body-r { color: var(--ink-soft); }
.check .body-r .h {
    display: block;
    font-family: var(--serif); font-weight: 500;
    font-size: 0.98rem; line-height: 1.25;
    margin-bottom: 0.25rem; color: var(--ink);
    letter-spacing: -0.012em;
}
.check .body-r .h em { font-style: italic; color: var(--amber); }
.check.ticked .body-r .h em { color: var(--amber); }

/* ============================================================
   DAYS — two-column schedule
   ============================================================ */
/* s7 — Two days as twin playbills (theatrical programs).
   Each day is its own program card with a hero number, day label,
   date stamp, and a numbered list of acts/events. */
.days {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.8rem;
}
@media (max-width: 800px) { .days { grid-template-columns: 1fr; gap: 1.4rem; } }
.dy {
    background: linear-gradient(180deg, rgba(11, 13, 24, 0.7) 0%, rgba(11, 13, 24, 0.4) 100%);
    border: 1px solid var(--line);
    border-top: 3px double var(--amber);
    border-bottom: 3px double var(--amber);
    padding: 1.8rem 1.4rem 1.4rem;
    position: relative;
}
/* Playbill header */
.dy .head {
    text-align: center;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--ink-ghost);
    position: relative;
}
.dy .head::before {
    content: 'voice of youth · summit';
    position: absolute;
    top: -1.45rem; left: 50%;
    transform: translateX(-50%);
    background: var(--bg);
    padding: 0 0.7em;
    font-family: var(--type);
    font-size: 0.5rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--ink-faint);
}
.dy .head .lab {
    display: block;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.8rem, 2.6vw, 2.4rem);
    color: var(--amber);
    letter-spacing: -0.012em;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-transform: none;
}
.dy .head .when {
    display: inline-block;
    font-family: var(--type);
    font-size: 0.66rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ink);
    padding: 0.32em 0.7em;
    border: 1px solid var(--amber-soft);
    border-radius: 2px;
}
.dy ul { list-style: none; counter-reset: act; padding: 0; }
.dy ul li {
    padding: 0.65rem 0; font-family: var(--serif);
    font-weight: 400; font-size: 0.92rem;
    line-height: 1.45; color: var(--ink-2);
    display: grid;
    grid-template-columns: 2rem 1fr;
    gap: 0.6rem;
    align-items: start;
    border-bottom: 1px dotted var(--ink-ghost);
    counter-increment: act;
}
.dy ul li:last-child { border-bottom: none; }
.dy ul li::before {
    content: counter(act, upper-roman);
    grid-column: 1;
    font-family: var(--serif);
    font-style: italic;
    color: var(--amber);
    font-size: 0.95rem;
    text-align: right;
    padding-top: 0.05em;
}
.dy ul li .t {
    display: inline-block;
    font-family: var(--type); font-size: 0.55rem;
    letter-spacing: 0.18em; color: var(--ink-faint);
    text-transform: uppercase;
    margin-right: 0.55em;
    vertical-align: 1px;
}
.dy ul li b { color: var(--ink); font-weight: 600; font-family: var(--serif); }
.dy ul li .ev-glyph {
    margin-right: 0.32em;
    vertical-align: -1px;
}
/* Schedule dots reset inside playbill — they now occupy column 1 too */
.dy ul li .sch-dot { display: none; }
.dy ul li .t[data-sun] { padding-left: 0; }
.dy ul li .t[data-sun]::before,
.dy ul li .t[data-sun]::after { display: none; }

/* ============================================================
   AFTER
   ============================================================ */
.after {
    margin-top: 1.4rem;
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--glass-stroke);
    border-bottom: 1px solid var(--glass-stroke);
}
@media (max-width: 760px) {
    .after { grid-template-columns: 1fr; }
    .after .col { border-top: 1px solid var(--glass-stroke); }
    .after .col:first-child { border-top: none; }
}
.after .col { padding: 1.4rem 1.2rem; border-left: 1px solid var(--glass-stroke); }
.after .col:first-child { border-left: none; }
.after .col h4 {
    font-family: var(--serif); font-weight: 500;
    font-size: 1.25rem; line-height: 1.15;
    margin-bottom: 0.5rem; letter-spacing: -0.01em;
}
.after .col h4 em { font-style: italic; color: var(--amber); }
.after .col p {
    font-family: var(--sans); font-weight: 300;
    font-size: 0.82rem; line-height: 1.65; color: var(--ink-2);
}
.after-summary {
    margin-top: 1.2rem;
    font-family: var(--serif); font-style: italic;
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
    color: var(--ink); max-width: 50ch; line-height: 1.5;
}
.after-summary em { color: var(--amber); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final {
    text-align: center;
    padding: 4rem 1.6rem 3.5rem;
    max-width: 900px; margin: 0 auto;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    height: 100vh;
    min-height: 100vh;
    display: flex; flex-direction: column;
    justify-content: center;
    overflow: hidden;
}
.final .pre {
    font-family: var(--sans); font-size: 0.64rem;
    letter-spacing: 0.32em; text-transform: uppercase;
    color: var(--amber); margin-bottom: 1.2rem;
}
.final h2 {
    font-family: var(--serif); font-weight: 500;
    font-size: clamp(2.6rem, 7.5vw, 5.6rem);
    line-height: 0.96; letter-spacing: -0.03em;
    margin-bottom: 1.4rem; text-wrap: balance;
}
.final h2 em { font-style: italic; color: var(--amber); }
.final .lede {
    font-family: var(--serif); font-style: italic;
    font-size: clamp(1.05rem, 1.35vw, 1.32rem);
    color: var(--ink-2); max-width: 48ch;
    margin: 0 auto 2.4rem; line-height: 1.5;
}
.final .lede b { color: var(--amber); font-weight: 600; font-style: normal; }
.final-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; gap: 0.9em;
    padding: 0.95rem 1.6em;
    background: transparent; color: var(--ink);
    text-decoration: none;
    border: 1px solid var(--line-strong);
    font-family: var(--sans); font-size: 0.66rem;
    letter-spacing: 0.28em; text-transform: uppercase;
    cursor: pointer; transition: all 0.25s;
    border-radius: 99rem;
}
.btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.primary { background: var(--amber); color: var(--bg); border-color: var(--amber); }
.btn.primary:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn .arr { transition: transform 0.25s; }
.btn:hover .arr { transform: translateX(4px); }
.colophon {
    margin-top: 2.4rem;
    font-family: var(--sans); font-size: 0.55rem;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--ink-faint);
}

/* ============================================================
   NEW BACKGROUND LAYERS — wireframe SVG, streams canvas,
   apex pupil, ambient drift words.
   Z-order (bottom → top):
     0  .bg-grain         (chladni grain canvas)
     1  .bg-glow          (indigo splotches)
     1  .bg-stream        (8-color animated glow, blend:screen)
     1  .stream           (radial halo following cursor)
     2  .wireframe        (the dome that unbuilds itself)
     3  .apex             (pupil at top center)
     4  .drift            (italic ambient words)
     5  .scroller         (content)
     ============================================================ */
.bg-stream {
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
    filter: blur(18px);
    opacity: 0.95;
}
.wireframe {
    position: fixed; inset: 0;
    width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 2;
    overflow: visible;
}
.wireframe path,
.wireframe circle,
.wireframe line {
    fill: none;
    stroke: rgba(245, 243, 238, 0.32);
    stroke-width: 1.2;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}
.wireframe .flash {
    stroke: var(--amber);
    stroke-width: 1.4;
    opacity: 0.95;
    animation: flash-fade 0.9s ease-out forwards;
}
@keyframes flash-fade {
    0%   { opacity: 0.95; }
    100% { opacity: 0.18; }
}

/* Apex pupils — one at each dome's apex (landing-style "pole" pupil) */
.apex {
    position: fixed;
    left: 50%;
    width: 5px; height: 5px;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.apex.visible { opacity: 1; }
.apex-top { top: calc(50vh - 6vh - 2.5px); }   /* top dome apex y */
.apex-bot { top: calc(50vh + 6vh - 2.5px); }   /* bottom dome apex y */
.apex .iris {
    position: absolute; inset: 0;
    background: var(--ink);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(245, 243, 238, 0.75);
}
.apex .halo {
    position: absolute;
    width: 30px; height: 30px;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(245, 243, 238, 0.22) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Ambient drift words — italic Lora phrases drift across the periphery */
.drift {
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 4;
    overflow: hidden;
}
.drift .phrase {
    position: absolute;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(0.9rem, 1.15vw, 1.15rem);
    color: rgba(245, 243, 238, 0.22);
    letter-spacing: 0.02em;
    white-space: nowrap;
    opacity: 0;
    animation: drift-by 14s ease-in-out forwards;
}
@keyframes drift-by {
    0%   { opacity: 0; transform: translate(0, 0); }
    18%  { opacity: 1; }
    82%  { opacity: 1; }
    100% { opacity: 0; transform: translate(220px, -38px); }
}

/* Headline chromatic emboss on hover — red shift left, cyan shift right */
.mh h2 {
    transition: text-shadow 0.18s ease;
}
.mh h2:hover {
    text-shadow:
        -1.2px 0 0 rgba(201, 139, 77, 0.55),
        1.2px 0 0 rgba(60, 140, 200, 0.42);
    animation: glitch-jitter 0.06s ease;
}
@keyframes glitch-jitter {
    0%   { transform: translateX(0); }
    33%  { transform: translateX(-1px); }
    66%  { transform: translateX(1px); }
    100% { transform: translateX(0); }
}

/* Wireframe transforms are now driven per-frame by JS (renderWire applies
   breath as a scale transform). No CSS transition on transform or it will
   lag the breath animation by the transition duration. */
.wireframe {
    transform-origin: center center;
}

/* Body always pitch-black now */
html, body { background: #000; }
.cover, .step, .final { background: transparent; }

/* ============================================================
   ART-DIRECTION LAYER — per-section text treatments
   ============================================================ */

/* s1: Wireframe drop-cap T (echoes the dome motif) ----------- */
.has-dropcap { position: relative; }
.dropcap {
    float: left;
    width: clamp(54px, 5.6vw, 80px);
    height: clamp(54px, 5.6vw, 80px);
    margin: 0.18em 0.55rem 0 0;
    position: relative;
    shape-outside: margin-box;
}
.dropcap-svg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    fill: none;
    stroke: var(--ink-faint);
    stroke-width: 1.1;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
    opacity: 0;
    animation: dropcap-draw 1.1s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.dropcap-svg .dropcap-pupil {
    fill: var(--amber);
    stroke: none;
}
.dropcap-letter {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif);
    font-weight: 500;
    font-style: italic;
    font-size: clamp(2.4rem, 3.2vw, 3.4rem);
    color: var(--ink);
    line-height: 1;
    padding-top: 0.05em;
    opacity: 0;
    animation: dropcap-letter-in 0.6s 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes dropcap-draw {
    from { opacity: 0; transform: scale(0.84); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes dropcap-letter-in {
    from { opacity: 0; transform: translateY(6px) scale(0.92); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.dropcap-rest { display: inline; }

/* s1: cursor-tracking YOUR ---------------------------------- */
.your-tracker {
    display: inline-block;
    font-style: italic;
    color: var(--amber);
    transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}

/* s2: stamped banner + framework grid + flicker --------------- */
.banner {
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.78em;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
    padding: 0.15em 0.55em 0.15em;
    border-top: 1px solid var(--amber-soft);
    border-bottom: 1px solid var(--amber-soft);
    margin: 0 0.05em;
    vertical-align: 0.06em;
}
/* The framework words stay inline + italic + amber via the global em rule */
.flicker {
    animation: flicker 4s ease-in-out infinite;
}
@keyframes flicker {
    0%, 100% { text-shadow: 0 0 0 transparent; }
    20%      { text-shadow: 0.8px 0 0 rgba(201, 139, 77, 0.42); }
    40%      { text-shadow: -0.5px 0 0 rgba(201, 139, 77, 0.28); }
    70%      { text-shadow: 0.6px 0 0 rgba(201, 139, 77, 0.36); }
}

/* s4: date proximity scaling + No extensions stamp ----------- */
.cal-r .dt {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.6s;
    transform-origin: left center;
    display: inline-block;
}
.cal-r.proximate .dt {
    color: var(--ink);
    text-shadow: 0 0 18px rgba(201, 139, 77, 0.18);
}

/* Stamps — red rubber-stamp treatment ------------------------ */
.stamp {
    display: inline-block;
    font-family: var(--sans);
    font-weight: 700;
    font-size: 0.78em;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--stamp);
    border: 2px double var(--stamp);
    padding: 0.18em 0.55em 0.14em;
    transform: rotate(-7deg);
    margin: 0 0.3em;
    line-height: 1;
    vertical-align: 0.18em;
    box-shadow: inset 0 0 0 1px rgba(180, 40, 40, 0.18);
    text-shadow: 0.5px 0 0 rgba(180, 40, 40, 0.12);
}
.stamp-no-ext {
    transform: rotate(-9deg);
    font-size: 0.84em;
}

/* s5: typewriter cursor in verdict --------------------------- */
#judgeVerdict.typing .tw-cursor {
    display: inline-block;
    color: var(--amber);
    animation: tw-blink 0.6s steps(2) infinite;
    margin-left: 1px;
    font-style: normal;
    font-weight: 400;
}
@keyframes tw-blink {
    0%, 50%   { opacity: 1; }
    50.01%, 100% { opacity: 0; }
}

/* s6: rule 1 typeset in Times New Roman with 1" margin lines  */
.rule-typeset .rule-1-body {
    display: block;
    font-family: var(--tnr);
    font-size: 11px;
    line-height: 1.4;
    padding: 0.4em 1.4em;
    margin-top: 0.4em;
    border-left: 1px dashed rgba(245, 243, 238, 0.18);
    border-right: 1px dashed rgba(245, 243, 238, 0.18);
    color: var(--ink-2);
    background: rgba(245, 243, 238, 0.025);
    position: relative;
}

/* s6: rule 3 — chromatic glitch on ~5% of letters (added by JS),
   plus red "No appeals" stamp ------------------------------- */
.rule-glitch .rule-3-body .glitched {
    position: relative;
    display: inline-block;
    color: inherit;
    text-shadow:
        -0.8px 0 0 rgba(201, 139, 77, 0.62),
         0.8px 0 0 rgba(60, 140, 200, 0.55);
}
.stamp-no-appeals {
    transform: rotate(-6deg);
    margin-left: 0.4em;
    font-size: 0.88em;
}

/* s6: rule 6 — live countdown in typewriter font ------------- */
.rule-cd {
    font-family: var(--type);
    font-size: 0.78em;
    color: var(--amber);
    letter-spacing: 0.08em;
    margin-left: 0.3em;
    font-weight: 400;
    text-transform: lowercase;
}

/* s7: sun-position icons before each time label -------------- */
.t[data-sun] {
    position: relative;
    padding-left: 22px;
}
.t[data-sun]::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 16px; height: 8px;
    margin-top: -1px;
    border-bottom: 1px solid var(--ink-faint);
    border-radius: 0;
}
.t[data-sun]::after {
    content: '';
    position: absolute;
    width: 4px; height: 4px;
    background: var(--amber);
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(201,139,77,0.5);
}
.t[data-sun="am"]::after     { left: 1px;  top: calc(50% - 3px); }
.t[data-sun="midday"]::after { left: 7px;  top: calc(50% - 6px); }
.t[data-sun="pm"]::after     { left: 13px; top: calc(50% - 3px); }

/* s7: 15-second pitch mini-timer ----------------------------- */
.pitch-timer {
    display: inline-block;
    width: 56px; height: 4px;
    margin-left: 0.5em;
    border: 1px solid var(--ink-faint);
    position: relative;
    vertical-align: 1px;
    overflow: hidden;
}
.pitch-timer .pitch-tick {
    position: absolute;
    top: -1px; bottom: -1px; left: 0;
    width: 2px;
    background: var(--amber);
    animation: pitch-sweep 15s linear infinite;
}
@keyframes pitch-sweep {
    0%   { left: 0; }
    100% { left: calc(100% - 2px); }
}

/* s8: count-up numbers + arriving phrase --------------------- */
.count-up { font-variant-numeric: tabular-nums; }
.arriving {
    display: inline-block;
    letter-spacing: 0;
    opacity: 1;
    transition: letter-spacing 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
                opacity 0.7s ease;
}
.arriving.pending {
    letter-spacing: 0.3em;
    opacity: 0.32;
}

/* end: throbbing question mark + live countdown -------------- */
.throb-q {
    display: inline-block;
    color: var(--amber);
    animation: throb 2.4s ease-in-out infinite;
    transform-origin: bottom center;
}
@keyframes throb {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.08); }
}
.end-cd {
    display: inline-block;
    font-family: var(--type);
    font-size: 0.78em;
    color: var(--amber);
    letter-spacing: 0.08em;
    margin-left: 0.4em;
    text-transform: lowercase;
}

/* end: schematic door icon next to "Here's the door" -------- */
.final .pre {
    display: inline-flex;
    align-items: center;
    gap: 0.55em;
}
.door-symbol {
    width: 14px; height: 20px;
    vertical-align: -3px;
    flex-shrink: 0;
}
.door-symbol rect, .door-symbol line {
    fill: none;
    stroke: var(--amber-soft);
    stroke-width: 0.9;
    vector-effect: non-scaling-stroke;
}
.door-symbol circle {
    fill: var(--amber);
    stroke: none;
}

/* While scrolling: suppress some non-critical motion --------- */
body.scrolling .drift .phrase { animation-play-state: paused; }
body.scrolling #sparkLayer > * { animation-play-state: paused; transition: none; }

/* ============================================================
   FUN TEXT TREATMENTS — s2 through end
   ============================================================ */

/* s2 — stroke underline on "actually" (drawn on scroll-in) */
.stroke-target {
    position: relative;
    display: inline-block;
}
.stroke-target::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: -2px;
    height: 1.5px;
    background: var(--amber);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    opacity: 0.45;
}
.s2-revealed .stroke-target::after { transform: scaleX(1); }

/* s2 — inline framework icons before each framework word */
.fw-ico {
    display: inline-block;
    width: 13px; height: 13px;
    margin-right: 0.25em;
    vertical-align: -2px;
    fill: none;
    stroke: var(--amber);
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}
.fw-ico circle, .fw-ico rect { fill: none; }

/* s2 — "different careers" hover reveals 5 judge dots radiating around */
.judges-reveal {
    position: relative;
    display: inline-block;
}
.judges-reveal .judge-dots {
    position: absolute;
    inset: -8px -8px;
    pointer-events: none;
    opacity: 0;
}
.judges-reveal:hover .judge-dots {
    opacity: 1;
    transition: opacity 0.22s ease;
}
.judges-reveal .judge-dots span {
    position: absolute;
    width: 6px; height: 6px;
    background: var(--amber);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(201, 139, 77, 0.7);
    opacity: 0;
    animation: judge-fan 0.9s ease-out;
}
.judges-reveal:hover .judge-dots span { animation-fill-mode: forwards; }
.judges-reveal .judge-dots span:nth-child(1) { top: -6px;  left: 8%;  animation-delay: 0.00s; }
.judges-reveal .judge-dots span:nth-child(2) { top: -10px; left: 30%; animation-delay: 0.06s; }
.judges-reveal .judge-dots span:nth-child(3) { top: -12px; left: 50%; animation-delay: 0.12s; }
.judges-reveal .judge-dots span:nth-child(4) { top: -10px; left: 70%; animation-delay: 0.18s; }
.judges-reveal .judge-dots span:nth-child(5) { top: -6px;  left: 92%; animation-delay: 0.24s; }
@keyframes judge-fan {
    0%   { opacity: 0; transform: scale(0.3) translateY(8px); }
    50%  { opacity: 1; transform: scale(1.1) translateY(-2px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* s3 — animated tap-finger glyph in lede */
.tap-glyph {
    display: inline-block;
    width: 18px; height: 22px;
    margin-right: 0.5em;
    vertical-align: -5px;
    position: relative;
    flex-shrink: 0;
}
.tap-glyph svg {
    width: 100%; height: 100%;
    fill: none;
    stroke: var(--amber);
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: tap-bob 1.8s ease-in-out infinite;
}
.tap-glyph svg .ripple {
    stroke-opacity: 0;
    animation: tap-ripple 1.8s ease-out infinite;
    fill: none;
}
@keyframes tap-bob {
    0%, 100% { transform: translateY(0); }
    20%      { transform: translateY(2px); }
    35%      { transform: translateY(0); }
}
@keyframes tap-ripple {
    0%   { stroke-opacity: 0; r: 1; }
    25%  { stroke-opacity: 0.7; r: 3; }
    50%  { stroke-opacity: 0; r: 8; }
    100% { stroke-opacity: 0; r: 8; }
}
.tap-dismissed .tap-glyph {
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    width: 0;
    margin-right: 0;
    overflow: hidden;
}

/* s3 — magic word pulse */
.magic {
    display: inline-block;
    color: var(--amber);
    position: relative;
}
.magic.magic-fire {
    animation: magic-fire 1.3s ease-out;
}
@keyframes magic-fire {
    0%   { color: var(--ink); text-shadow: 0 0 0 transparent; transform: scale(1); }
    25%  { color: var(--amber); text-shadow: 0 0 12px rgba(201,139,77,0.95); transform: scale(1.05); }
    100% { color: var(--amber); text-shadow: 0 0 0 transparent; transform: scale(1); }
}

/* s4 — calendar date glyphs */
.cal-glyph {
    display: inline-block;
    width: 14px; height: 14px;
    margin-right: 0.5em;
    vertical-align: -3px;
    fill: none;
    stroke: var(--amber);
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    opacity: 0.85;
}
.cal-glyph polygon, .cal-glyph rect, .cal-glyph path, .cal-glyph circle { fill: none; }

/* s5 — grab-glyph in lede */
.grab-glyph {
    display: inline-block;
    width: 22px; height: 14px;
    margin-right: 0.4em;
    vertical-align: -2px;
}
.grab-glyph svg {
    width: 100%; height: 100%;
    fill: none;
    stroke: var(--amber);
    stroke-width: 1.3;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: grab-slide 1.8s ease-in-out infinite;
}
@keyframes grab-slide {
    0%, 100% { transform: translateX(0); }
    25%      { transform: translateX(-2px); }
    75%      { transform: translateX(2px); }
}

/* s6 — rule 2 breadcrumb */
.rule-crumbs .crumb-row {
    display: block;
    margin-top: 0.55em;
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.92em;
    color: var(--amber);
    letter-spacing: 0.01em;
    line-height: 1.6;
}
.rule-crumbs .crumb {
    display: inline-block;
    padding: 0 0.18em;
}
.rule-crumbs .crumb-arrow {
    display: inline-block;
    margin: 0 0.32em;
    color: var(--ink-faint);
    font-style: normal;
    font-family: var(--sans);
    font-weight: 400;
}

/* s6 — rule 4 team-size avatars + age bracket */
.rule-teams .team-avatars {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    margin-left: 0.55em;
    vertical-align: -2px;
}
.rule-teams .ta-grp {
    display: inline-flex;
    gap: 2px;
}
.rule-teams .ta-grp i {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 4px rgba(201, 139, 77, 0.7);
}
.rule-teams .ta-grp.ta-2 i { opacity: 0.78; }
.rule-teams .ta-grp.ta-3 i { opacity: 0.6; }
.rule-teams .age-bracket {
    display: inline-block;
    margin-left: 0.45em;
    font-family: var(--type);
    font-size: 0.78em;
    letter-spacing: 0.08em;
    color: var(--amber);
    vertical-align: 1px;
}

/* s7 — schedule dots fill on scroll, retire-line fade animation, event glyphs */
.sch-item .sch-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    border: 1.2px solid var(--ink-faint);
    background: transparent;
    margin-right: 0.7em;
    vertical-align: 0px;
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    flex-shrink: 0;
}
.sch-item.sch-filled .sch-dot {
    background: var(--amber);
    border-color: var(--amber);
    box-shadow: 0 0 8px rgba(201, 139, 77, 0.6);
}
.retire-line.retiring {
    animation: retire-fade 1.3s ease both;
}
@keyframes retire-fade {
    0%   { opacity: 1; transform: translateY(0); }
    35%  { opacity: 0.35; transform: translateY(-3px); }
    70%  { opacity: 0.35; transform: translateY(-3px); }
    100% { opacity: 1; transform: translateY(0); }
}
.ev-glyph {
    display: inline-block;
    width: 12px; height: 12px;
    margin-right: 0.42em;
    vertical-align: -1px;
    fill: none;
    stroke: var(--amber);
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    opacity: 0.85;
}
.ev-glyph circle, .ev-glyph rect, .ev-glyph path, .ev-glyph polyline { fill: none; }

/* s8 — strikethrough drawn through "end" on scroll-in */
.strike-target {
    position: relative;
    display: inline-block;
}
.strike-target::before {
    content: '';
    position: absolute;
    left: -2px; right: -2px;
    top: 52%;
    height: 1.6px;
    background: var(--amber);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    opacity: 0.92;
}
.s8-revealed .strike-target::before { transform: scaleX(1); }

/* s8 — pathway sigils */
.after .col .sigil {
    display: block;
    width: 32px; height: 32px;
    margin-bottom: 0.7rem;
    fill: none;
    stroke: var(--amber);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    opacity: 0.9;
}
.after .col .sigil circle,
.after .col .sigil rect,
.after .col .sigil ellipse,
.after .col .sigil path { fill: none; }
.after .col .sigil-mentor circle { fill: var(--amber); }

/* end — imperative checklist rows */
.imperatives {
    list-style: none;
    padding: 0;
    margin: 0 auto 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    align-items: center;
}
.imperatives .imp {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.05rem, 1.35vw, 1.32rem);
    color: var(--ink-2);
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.imperatives .imp.checked {
    opacity: 1;
    transform: translateX(0);
    color: var(--ink);
}
.imperatives .imp-box {
    display: inline-block;
    width: 16px; height: 16px;
    border: 1.4px solid var(--ink-faint);
    border-radius: 3px;
    background: transparent;
    position: relative;
    flex-shrink: 0;
    transition: border-color 0.3s ease, background 0.3s ease;
}
.imperatives .imp.checked .imp-box {
    border-color: var(--amber);
    background: rgba(201, 139, 77, 0.12);
}
.imperatives .imp.checked .imp-box::after {
    content: '';
    position: absolute;
    left: 3px; top: 7px;
    width: 4px; height: 7px;
    border-right: 1.6px solid var(--amber);
    border-bottom: 1.6px solid var(--amber);
    transform: rotate(45deg);
    animation: imp-check 0.32s ease-out;
}
@keyframes imp-check {
    from { transform: rotate(45deg) scale(0); opacity: 0; }
    to   { transform: rotate(45deg) scale(1); opacity: 1; }
}

/* end + cover — countdown flip animation on text change */
.flip-active {
    animation: flip-card 0.25s ease-out;
    display: inline-block;
}
@keyframes flip-card {
    0%   { transform: perspective(60px) rotateX(0); }
    50%  { transform: perspective(60px) rotateX(-90deg); opacity: 0.5; }
    100% { transform: perspective(60px) rotateX(0); opacity: 1; }
}

/* ============================================================
   S1 — Belief, redesigned as a pull-quote spread
   ============================================================ */
.s1-spread {
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
    padding: clamp(2.4rem, 4vw, 4rem) clamp(1.6rem, 3vw, 2.8rem);
}
.s1-label {
    font-family: var(--sans);
    font-size: 0.62rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 1.4rem;
    display: inline-flex; gap: 0.6rem; align-items: center;
}
.s1-label::before, .s1-label::after {
    content: '';
    width: 28px; height: 1px;
    background: var(--amber-soft);
    display: inline-block;
}
.motto-hero {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(3rem, 8vw, 6.8rem);
    line-height: 1.02;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin: 0 0 1.4rem;
    text-wrap: balance;
}
.motto-hero em { font-style: italic; color: var(--amber); }
.motto-hint {
    font-family: var(--type);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: lowercase;
    color: var(--ink-faint);
    display: inline-flex; gap: 0.3rem; align-items: center;
    margin-bottom: 3rem;
}
.motto-hint-arrow { color: var(--amber); font-size: 1rem; line-height: 1; }
.s1-attribution {
    display: flex; align-items: center; justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}
.s1-rule {
    flex: 1; max-width: 200px;
    height: 1px; background: var(--ink-ghost);
}
.s1-attribution .s1-attrib-text {
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--ink-soft);
    flex-shrink: 0;
}
.s1-attribution .s1-attrib-text em {
    color: var(--amber);
    font-style: italic;
}
.s1-attribution::after {
    content: '';
    flex: 1; max-width: 200px;
    height: 1px; background: var(--ink-ghost);
}
.s1-pull {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.5rem, 3.4vw, 2.6rem);
    line-height: 1.25;
    color: var(--ink);
    margin: 0 0 2.4rem;
    letter-spacing: -0.01em;
    position: relative;
    text-wrap: balance;
}
.s1-pull em {
    color: var(--amber);
    font-style: italic;
    display: inline-block;
}
.s1-pull em strong {
    font-weight: 700;
    letter-spacing: 0.06em;
    font-size: 1.05em;
}
.s1-quote-open, .s1-quote-close {
    color: var(--amber);
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.4em;
    line-height: 0;
    vertical-align: -0.3em;
    opacity: 0.85;
}
.s1-quote-open { margin-right: 0.05em; }
.s1-quote-close { margin-left: 0.05em; }
.s1-coda {
    font-family: var(--serif);
    font-size: clamp(0.95rem, 1.15vw, 1.1rem);
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 52ch;
    margin: 0 auto;
}
.s1-coda em { font-style: italic; color: var(--amber); }

/* ============================================================
   S2 — Mission redesigned as 4 numbered manifesto cards
   ============================================================ */
.s2-manifesto {
    max-width: 1080px;
    margin: 0 auto;
    padding: clamp(2.4rem, 4vw, 3.4rem) clamp(1.6rem, 3vw, 2.8rem);
}
.s2-head {
    text-align: center;
    margin-bottom: 2.4rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid rgba(245, 243, 238, 0.08);
}
.s2-head .lbl { justify-content: center; }
.s2-head h2 {
    font-family: var(--serif); font-weight: 500;
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
    line-height: 1.1; letter-spacing: -0.02em;
    margin-top: 0.7rem; color: var(--ink);
    text-wrap: balance;
}
.s2-head h2 em { font-style: italic; color: var(--amber); }
.s2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem 2rem;
    margin-bottom: 1.8rem;
}
@media (max-width: 800px) { .s2-grid { grid-template-columns: 1fr; } }
.s2-card {
    position: relative;
    padding: 1.2rem 1.4rem 1.2rem 4.2rem;
    border-left: 1px solid var(--ink-ghost);
}
.s2-card-frameworks { grid-column: 1 / -1; }
.s2-no {
    position: absolute;
    left: 1rem; top: 1rem;
    font-family: var(--type);
    font-size: 1.2rem;
    color: var(--amber);
    letter-spacing: 0.08em;
}
.s2-key {
    font-family: var(--sans);
    font-size: 0.58rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 0.5rem;
}
.s2-body {
    font-family: var(--serif);
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--ink-2);
    text-wrap: pretty;
}
.s2-body em { font-style: italic; color: var(--amber); }
.s2-body b { color: var(--ink); font-weight: 600; }
/* Framework list inside card 03 */
.fw-list {
    list-style: none;
    margin: 0.6rem 0 0.8rem;
    padding: 0;
    display: flex; flex-wrap: wrap;
    gap: 0.4rem 1.2rem;
}
.fw-list li {
    display: inline-flex; align-items: center;
    gap: 0.4rem;
    font-family: var(--serif);
}
.fw-list .fw-ico {
    width: 14px; height: 14px;
    fill: none;
    stroke: var(--amber);
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}
.fw-list em {
    color: var(--amber);
    font-style: italic;
}
/* Pipeline (card 04) */
.s2-pipeline {
    display: flex; align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: 0.4rem;
}
.pipe-step {
    display: inline-flex; flex-direction: column;
    padding: 0.5rem 0.8rem;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
}
.pipe-step b { color: var(--ink); font-weight: 600; font-family: var(--serif); }
.pipe-when {
    font-family: var(--type);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    color: var(--amber);
    margin-top: 0.18em;
    text-transform: uppercase;
}
.pipe-arrow {
    color: var(--amber);
    font-size: 1.4rem;
    line-height: 1;
}
.s2-foot {
    text-align: center;
    font-family: var(--serif); font-style: italic;
    font-size: 0.95rem;
    color: var(--ink-soft);
    margin: 0; padding-top: 1.2rem;
    border-top: 1px dashed var(--ink-ghost);
}
.s2-foot em { font-style: normal; color: var(--amber); }

/* ============================================================
   S8 — After, redesigned as 3 trajectories rising
   ============================================================ */
.trajectories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
    margin: 2.4rem 0 2rem;
}
@media (max-width: 800px) { .trajectories { grid-template-columns: 1fr; } }
.traj {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1.2rem 1rem 1.4rem;
    border-top: 1px solid var(--ink-ghost);
}
.traj-no {
    position: absolute;
    top: -10px; left: 1rem;
    background: var(--bg);
    padding: 0 0.5rem;
    font-family: var(--type);
    font-size: 0.8rem;
    color: var(--amber);
    letter-spacing: 0.18em;
}
.traj-arrow {
    width: 40px;
    height: 220px;
    fill: none;
    stroke: var(--amber);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    opacity: 0.85;
}
.traj-arrow line {
    stroke-dasharray: 4 3;
    animation: traj-flow 1.8s linear infinite;
}
@keyframes traj-flow {
    0%   { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -14; }
}
.traj-arrow .traj-base { fill: var(--ink-faint); stroke: var(--ink-faint); }
.traj-arrow .traj-head { fill: var(--amber); stroke: var(--amber); }
.traj-body {
    padding-top: 0.4rem;
}
.traj-title {
    font-family: var(--serif); font-weight: 500;
    font-size: 1.35rem; line-height: 1.2;
    color: var(--ink);
    margin: 0 0 0.5rem;
    letter-spacing: -0.005em;
}
.traj-title em { font-style: italic; color: var(--amber); }
.traj-desc {
    font-family: var(--serif);
    font-size: 0.95rem; line-height: 1.55;
    color: var(--ink-2);
    margin: 0 0 0.7rem;
}
.traj-tag {
    font-family: var(--type);
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--amber);
}
/* Hover: arrow brightens, head bobs up */
.traj:hover .traj-arrow { opacity: 1; }
.traj:hover .traj-arrow line {
    stroke-width: 1.8;
    animation-duration: 0.9s;
}

/* s8 — after-summary with new layout */
.after-summary {
    text-align: center;
    margin-top: 1.6rem;
    padding-top: 1.4rem;
    border-top: 1px dashed var(--ink-ghost);
    font-family: var(--serif);
    font-size: 1.05rem;
    color: var(--ink-2);
}
.after-summary .aft-num {
    font-family: var(--serif);
}
.after-summary .aft-num em {
    color: var(--ink);
    font-style: normal;
    font-weight: 500;
    font-size: 1.5rem;
}
.after-summary .aft-sep {
    color: var(--ink-ghost);
    margin: 0 0.8em;
}
.after-summary .aft-tail {
    display: inline-block;
    margin-top: 0.6rem;
    font-style: italic;
    color: var(--ink-soft);
    font-size: 0.95rem;
}
.after-summary .aft-tail em { color: var(--amber); font-style: italic; }

/* ============================================================
   S8 — Three Acts (replaces trajectories)
   The summit's continuation as theatrical "acts" IV / V / VI
   (since the summit itself was acts I–III: belief, mission, summit)
   ============================================================ */
.acts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 2.6rem 0 2.4rem;
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
}
@media (max-width: 800px) {
    .acts { grid-template-columns: 1fr; }
}
.act {
    padding: 1.4rem 1.2rem 1.6rem;
    position: relative;
    transition: background 0.4s ease;
}
.act + .act { border-left: 1px solid var(--ink-ghost); }
@media (max-width: 800px) {
    .act + .act { border-left: 0; border-top: 1px solid var(--ink-ghost); }
}
.act:hover { background: rgba(201, 139, 77, 0.04); }
.act-head {
    display: flex; align-items: baseline;
    gap: 0.6rem;
    margin-bottom: 0.7rem;
}
.act-roman {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(2rem, 3vw, 2.6rem);
    line-height: 0.85;
    color: var(--amber);
    letter-spacing: -0.02em;
}
.act-label {
    font-family: var(--type);
    font-size: 0.6rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ink-faint);
    padding-bottom: 0.2em;
}
.act-title {
    font-family: var(--serif); font-weight: 500;
    font-size: clamp(1.2rem, 1.6vw, 1.5rem);
    line-height: 1.15;
    color: var(--ink);
    margin: 0 0 0.6rem;
    letter-spacing: -0.012em;
}
.act-title em { font-style: italic; color: var(--amber); }
.act-body {
    font-family: var(--serif);
    font-size: 0.88rem; line-height: 1.45;
    color: var(--ink-2);
    margin: 0 0 0.8rem;
    text-wrap: pretty;
}
.act-body em { font-style: italic; color: var(--amber); font-weight: 500; }
.act-foot {
    display: inline-flex; align-items: center;
    gap: 0.5em;
    font-family: var(--type);
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber);
    padding-top: 0.5rem;
    border-top: 1px dashed var(--ink-ghost);
}
.act-bullet {
    width: 6px; height: 6px;
    background: var(--amber);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(201, 139, 77, 0.7);
    flex-shrink: 0;
}

/* Stage count — bold typographic stats panel */
.stagecount {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: end;
    padding: 0.6rem 0;
    text-align: center;
}
.sc-row {
    display: flex; flex-direction: column;
    gap: 0.3rem;
    align-items: center;
}
.sc-num {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 0.9;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    white-space: nowrap;
}
.sc-num .sc-dash {
    color: var(--ink-faint);
    margin: 0 0.05em;
    font-style: normal;
}
.sc-num.sc-one { color: var(--amber); }
.sc-lbl {
    font-family: var(--type);
    font-size: 0.66rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ink-faint);
}
.sc-caption {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--ink-ghost);
    font-family: var(--serif);
    font-style: italic;
    font-size: 1rem;
    color: var(--ink-soft);
}
.sc-caption em { color: var(--amber); font-style: italic; }

/* ============================================================
   S2 — Editorial spread (replaces s2-manifesto)
   Big italic numerals + asymmetric layout, like a magazine essay
   ============================================================ */
.s2-spread {
    max-width: 1080px;
    margin: 0 auto;
    padding: clamp(2.4rem, 4vw, 3.4rem) clamp(1.6rem, 3vw, 2.8rem);
}
.s2-spread-head {
    margin-bottom: 2.8rem;
}
.s2-spread-head h2 {
    font-family: var(--serif); font-weight: 500;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05; letter-spacing: -0.025em;
    margin-top: 0.7rem; color: var(--ink);
}
.s2-spread-head h2 em { font-style: italic; color: var(--amber); }
.spread-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.2rem 1.6rem;
    margin-bottom: 2.4rem;
}
.entry { position: relative; }
/* Asymmetric placements — magazine spread feel */
.entry-1 { grid-column: 1 / span 7; }
.entry-2 { grid-column: 8 / span 5; margin-top: 2.8rem; }
.entry-3 { grid-column: 1 / span 5; margin-top: 2.4rem; }
.entry-4 { grid-column: 6 / span 7; margin-top: 1.4rem; }
@media (max-width: 800px) {
    .entry-1, .entry-2, .entry-3, .entry-4 { grid-column: 1 / -1; margin-top: 1.6rem; }
}
/* Big italic numeral — magazine-style display */
.entry-num {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(4.2rem, 7vw, 6.4rem);
    line-height: 0.85;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--amber);
    letter-spacing: -0.04em;
    user-select: none;
    margin-bottom: -0.4rem;
}
.entry-key {
    font-family: var(--type);
    font-size: 0.66rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 0.8rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--amber-soft);
    display: inline-block;
}
.entry-text {
    font-family: var(--serif);
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--ink-2);
    margin: 0;
}
.entry-text em { font-style: italic; color: var(--amber); }
.entry-text .big {
    display: block;
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(1.25rem, 1.8vw, 1.6rem);
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 0.5rem;
    letter-spacing: -0.012em;
}
.entry-tail {
    margin-top: 0.6rem;
    font-style: italic;
    color: var(--ink-faint);
    font-size: 0.95rem;
}
/* Framework tags inside entry-3 */
.fw-tags {
    list-style: none;
    margin: 0.6rem 0 0;
    padding: 0;
    display: flex; flex-wrap: wrap;
    gap: 0.4rem;
}
.fw-tags li {
    display: inline-flex; align-items: center;
    gap: 0.4rem;
    padding: 0.32em 0.65em;
    border: 1px solid var(--line);
    border-radius: 2px;
    font-family: var(--type);
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--amber);
    background: rgba(201, 139, 77, 0.04);
}
.fw-tags .fw-ico {
    width: 12px; height: 12px;
    fill: none;
    stroke: var(--amber);
    stroke-width: 1.2;
    stroke-linecap: round; stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}
/* Pipeline steps inside entry-4 */
.pipe-steps {
    list-style: none;
    margin: 0.7rem 0 0; padding: 0;
    display: flex; flex-direction: column;
    gap: 0.6rem;
}
.ps-row {
    display: grid;
    grid-template-columns: 1.8rem 1fr;
    align-items: baseline;
    gap: 0.4rem;
    padding: 0.6rem 0.8rem;
    border-left: 2px solid var(--amber);
    background: rgba(201, 139, 77, 0.04);
}
.ps-mark {
    font-family: var(--serif);
    font-style: italic;
    color: var(--amber);
    font-size: 1.05rem;
}
.ps-body {
    display: flex; flex-direction: column;
    gap: 0.18rem;
}
.ps-body b { color: var(--ink); font-weight: 600; font-family: var(--serif); }
.ps-when {
    font-family: var(--type);
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    color: var(--amber);
    text-transform: uppercase;
}
/* Footer / colophon */
.s2-spread-foot {
    display: flex; align-items: center;
    justify-content: center;
    gap: 0.9rem;
    font-family: var(--serif); font-style: italic;
    font-size: 0.95rem;
    color: var(--ink-soft);
    padding-top: 1.4rem;
}
.s2-spread-foot em { font-style: italic; color: var(--amber); }
.colophon-rule {
    flex: 1; max-width: 200px;
    height: 1px;
    background: var(--ink-ghost);
}

/* ============================================================
   S4 — Calendar redesigned as a horizontal proportional time-bar
   ============================================================ */
.timebar {
    margin: 2.4rem auto 0;
    max-width: 1100px;
    padding: 0 1rem;
}
.tb-track {
    position: relative;
    height: 280px;
    margin-bottom: 2.4rem;
}
.tb-rule {
    position: absolute;
    top: 50%;
    left: 0; right: 0;
    height: 1.5px;
    background: linear-gradient(to right,
        transparent 0,
        var(--amber-soft) 5%,
        var(--amber-soft) 95%,
        transparent 100%);
    transform: translateY(-50%);
}
.tb-month-tags {
    position: absolute;
    top: calc(50% + 22px);
    left: 0; right: 0;
    pointer-events: none;
}
.tb-month {
    position: absolute;
    font-family: var(--type);
    font-size: 0.62rem;
    letter-spacing: 0.32em;
    color: var(--ink-ghost);
    text-transform: uppercase;
    transform: translateX(-50%);
}
/* Today indicator — animated triangle pointing UP at the bar */
.tb-today {
    position: absolute;
    top: calc(50% + 6px);
    transform: translateX(-50%);
    display: flex; flex-direction: column;
    align-items: center;
    pointer-events: none;
    transition: left 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.tb-today-arrow {
    color: var(--amber);
    font-size: 1rem;
    line-height: 0.8;
    text-shadow: 0 0 8px rgba(201, 139, 77, 0.7);
    animation: today-bob 1.6s ease-in-out infinite;
}
.tb-today-label {
    font-family: var(--type);
    font-size: 0.58rem;
    letter-spacing: 0.28em;
    color: var(--amber);
    text-transform: uppercase;
    margin-top: 0.18em;
}
@keyframes today-bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-2px); }
}
/* Posts on the time-bar */
.tb-post {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    display: flex; flex-direction: column;
    align-items: center;
}
.tb-mark {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--bg);
    border: 1.5px solid var(--amber);
    box-shadow: 0 0 0 3px var(--bg), 0 0 12px rgba(201, 139, 77, 0.45);
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.tb-post:hover .tb-mark,
.tb-post.active .tb-mark {
    background: var(--amber);
    transform: scale(1.18);
    box-shadow: 0 0 0 3px var(--bg), 0 0 16px rgba(201, 139, 77, 0.85);
}
/* Card extending UP from the mark (or DOWN if .tb-post-flip) */
.tb-post-card {
    position: absolute;
    bottom: calc(50% + 18px);
    left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.55rem 0.8rem 0.7rem;
    background: rgba(11, 13, 24, 0.55);
    border: 1px solid var(--line);
    border-bottom: 2px solid var(--amber);
    border-radius: 3px 3px 0 0;
    min-width: 110px;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.tb-post:hover .tb-post-card,
.tb-post.active .tb-post-card {
    transform: translateX(-50%) translateY(-3px);
    border-color: var(--amber);
    background: rgba(46, 28, 12, 0.6);
}
/* Posts flipped DOWN below the bar (alternating) */
.tb-post-flip {
    bottom: auto;
    top: calc(50% + 18px);
    border-bottom: 1px solid var(--line);
    border-top: 2px solid var(--amber);
    border-radius: 0 0 3px 3px;
}
.tb-post-date {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 0.85;
    color: var(--ink);
    letter-spacing: -0.03em;
}
.tb-post-date i {
    display: inline-block;
    font-family: var(--type);
    font-style: normal;
    font-size: 0.6rem;
    letter-spacing: 0.16em;
    color: var(--amber);
    margin-left: 0.2em;
    vertical-align: 0.4em;
    text-transform: uppercase;
}
.tb-post-title {
    font-family: var(--serif);
    font-size: 0.78rem;
    color: var(--ink-soft);
    text-align: center;
    line-height: 1.2;
}
.tb-post-title em { font-style: italic; color: var(--amber); }
.tb-post-cd {
    font-family: var(--type);
    font-size: 0.56rem;
    letter-spacing: 0.14em;
    color: var(--amber);
    text-transform: lowercase;
}
/* Detail panel below the bar */
.tb-detail {
    text-align: center;
    padding: 1.4rem 1rem;
    border-top: 1px dashed var(--ink-ghost);
    margin-top: 1.6rem;
    min-height: 110px;
}
.tb-detail-key {
    font-family: var(--type);
    font-size: 0.62rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 0.6rem;
}
.tb-detail-title {
    font-family: var(--serif); font-weight: 500;
    font-size: clamp(1.3rem, 1.8vw, 1.6rem);
    line-height: 1.25; color: var(--ink);
    margin: 0 0 0.7rem;
}
.tb-detail-title em { font-style: italic; color: var(--amber); }
.tb-detail-body {
    font-family: var(--serif);
    font-size: 1rem; line-height: 1.55;
    color: var(--ink-2);
    max-width: 56ch;
    margin: 0 auto;
}

/* ============================================================
   S7 — Two days as a "festival schedule"
   Big day numerals + simple event rows, divider in middle
   ============================================================ */
.festival {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: 0;
    margin-top: 1.6rem;
}
@media (max-width: 800px) {
    .festival { grid-template-columns: 1fr; }
    .fest-divider { display: none; }
}
.fest-day {
    padding: 0 1.2rem;
}
.fest-day-head {
    display: grid;
    grid-template-columns: 5rem 1fr;
    gap: 0.9rem;
    align-items: center;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--amber-soft);
}
.fest-day-num {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(4rem, 6.5vw, 5.6rem);
    line-height: 0.85;
    color: var(--amber);
    letter-spacing: -0.05em;
    text-align: center;
}
.fest-day-meta {
    display: flex; flex-direction: column;
    gap: 0.25rem;
}
.fest-day-name {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: 1.4rem;
    color: var(--ink);
    line-height: 1;
}
.fest-day-date {
    font-family: var(--type);
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-faint);
}
.fest-events {
    display: flex; flex-direction: column;
    gap: 0;
}
.fest-ev {
    display: grid;
    grid-template-columns: 3.4rem 1fr;
    gap: 0.7rem;
    padding: 0.65rem 0;
    border-bottom: 1px dotted var(--ink-ghost);
    align-items: baseline;
}
.fest-ev:last-child { border-bottom: none; }
.fest-ev .fest-t {
    font-family: var(--type);
    font-size: 0.6rem;
    letter-spacing: 0.22em;
    color: var(--amber);
    text-transform: uppercase;
    text-align: right;
}
.fest-ev-body {
    font-family: var(--serif);
    font-size: 0.92rem;
    line-height: 1.4;
    color: var(--ink-2);
}
.fest-ev-body b { color: var(--ink); font-weight: 600; }
.fest-ev-mark {
    background: linear-gradient(to right, rgba(201, 139, 77, 0.08), transparent 80%);
    margin: 0 -0.3rem;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
}
.fest-divider {
    display: flex; flex-direction: column; align-items: center;
    justify-content: stretch;
    padding: 1rem 0;
}
.fest-divider-line {
    flex: 1;
    width: 1px;
    background: linear-gradient(to bottom, transparent 0, var(--ink-faint) 10%, var(--ink-faint) 90%, transparent 100%);
    margin: 0.5rem 0;
}
.fest-divider-dot {
    width: 6px; height: 6px;
    background: var(--amber);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(201, 139, 77, 0.6);
}

/* ============================================================
   S9 — Submit step (the CTA text — separated from the door)
   ============================================================ */
.submit-step {
    text-align: center;
}
.submit-wrap {
    max-width: 760px; margin: 0 auto;
    display: flex; flex-direction: column;
    align-items: center; gap: 0.8rem;
}
.submit-eyebrow {
    display: inline-flex; align-items: center;
    gap: 0.55em;
    font-family: var(--type);
    font-size: 0.62rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 0.4rem;
}
.submit-eyebrow .door-symbol {
    width: 12px; height: 17px;
    vertical-align: -2px;
}
.submit-h2 {
    font-family: var(--serif); font-weight: 500;
    font-size: clamp(2.6rem, 6.2vw, 5.2rem);
    line-height: 0.96;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin: 0 0 0.4rem;
    text-wrap: balance;
}
.submit-h2 em { font-style: italic; color: var(--amber); }
.submit-em { color: var(--amber); font-style: italic; padding: 0 0.06em; }
.submit-prompt {
    font-family: var(--serif); font-style: italic;
    font-size: 0.98rem;
    color: var(--ink-soft);
    margin: 0.6rem 0 1.2rem;
}
/* New imperative rows — number + box + text */
.imperatives .imp {
    display: inline-grid;
    grid-template-columns: 2.2rem 18px 1fr;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.05rem, 1.4vw, 1.35rem);
    color: var(--ink-2);
    text-align: left;
    min-width: 280px;
    padding: 0.45rem 0.6rem;
    border-left: 1px solid var(--ink-ghost);
}
.imperatives .imp .imp-num {
    font-family: var(--type);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    color: var(--amber);
    font-style: normal;
}
.imperatives .imp .imp-text em {
    font-style: italic;
    color: var(--amber);
}
.imperatives .imp.checked {
    color: var(--ink);
    border-left-color: var(--amber);
    background: rgba(201, 139, 77, 0.04);
}
/* Deadline block — more prominent than the inline deadline */
.submit-deadline-block {
    display: inline-flex; flex-direction: column;
    align-items: center; gap: 0.3rem;
    margin: 1.4rem 0 1rem;
    padding: 0.9rem 1.4rem;
    border-top: 1px solid var(--amber-soft);
    border-bottom: 1px solid var(--amber-soft);
}
.submit-deadline-label {
    font-family: var(--type);
    font-size: 0.55rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--amber);
}
.submit-deadline-date {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.4rem;
    color: var(--ink);
    letter-spacing: -0.012em;
    line-height: 1.1;
}
.submit-deadline-date em { font-style: italic; color: var(--amber); }
.submit-deadline-cd {
    font-family: var(--type);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    color: var(--amber);
    text-transform: lowercase;
}
.submit-cue {
    display: flex; flex-direction: column;
    align-items: center; gap: 0.35rem;
    font-family: var(--type);
    font-size: 0.6rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-top: 0.8rem;
}
.submit-cue-arrow {
    color: var(--amber);
    font-size: 1.4rem;
    line-height: 0.8;
    animation: cue-bob 1.8s ease-in-out infinite;
}
@keyframes cue-bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(4px); }
}

/* ============================================================
   END — The big door (replaces previous .final layout)
   Click it → swings open, screen "sucks in" toward the doorway,
   navigates to /register
   ============================================================ */
.door-stage {
    text-align: center;
    padding: 0;
    perspective: 1400px;
}
.door-stage.final {
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
/* Transparent click overlay sized to the wireframe door's footprint */
.door-hit {
    position: relative;
    width: clamp(220px, 26vw, 360px);
    aspect-ratio: 1 / 2.1;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    display: flex; align-items: flex-end; justify-content: center;
    z-index: 10;
}
.door-hint-label {
    position: absolute;
    bottom: clamp(1.5rem, 4vh, 3rem);
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--type);
    font-size: 0.74rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ink);
    white-space: nowrap;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
    pointer-events: none;
    z-index: 5;
    transition: color 0.3s, transform 0.3s;
}
.door-hit:hover ~ .door-hint-label {
    color: var(--amber);
    transform: translate(-50%, -3px);
}
.bigdoor-unused {
    /* placeholder so old selectors don't 404 */
    display: none;
}
/* When opening: the whole stage AND the background wireframe zoom toward
   the doorway (suck-in effect), then fade to black. */
.door-stage.opening,
.door-stage.opening ~ * {
    /* nothing — stage handles itself */
}
/* Anticipation — the moment before the door slams open. A subtle vignette
   pulls in and saturation drops, so when the flash fires it feels earned. */
body.door-anticipate .scroller {
    animation: door-anticipate 0.45s ease-out forwards;
}
@keyframes door-anticipate {
    0%   { filter: brightness(1)    saturate(1); transform: scale(1); }
    100% { filter: brightness(0.72) saturate(0.6); transform: scale(0.985); }
}
body.door-anticipate::before {
    content: '';
    position: fixed; inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 50%,
        transparent 30%, rgba(0,0,0,0.55) 100%);
    opacity: 0;
    z-index: 70;
    animation: vignette-in 0.45s ease-out forwards;
}
@keyframes vignette-in {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}

/* Suck-in — the whole scroller hurtles toward the doorway. Eased so the
   first third is slow ("we're approaching") and the last two-thirds rush. */
.scroller.door-opening {
    animation: door-suck 0.98s cubic-bezier(0.45, 0, 0.25, 1) forwards;
    transform-origin: 50% 50%;
}
@keyframes door-suck {
    0%   { transform: scale(0.985); filter: blur(0)   brightness(0.72) saturate(0.6); opacity: 1; }
    35%  { transform: scale(1.6);   filter: blur(0.4px) brightness(0.9)  saturate(0.85); opacity: 0.95; }
    70%  { transform: scale(4.5);   filter: blur(3px)  brightness(1.4) saturate(1); opacity: 0.55; }
    100% { transform: scale(11);    filter: blur(12px) brightness(2.4) saturate(1.2); opacity: 0; }
}

/* Wireframe SVG zooms a touch harder so the doorway frames the destination */
.wireframe.door-opening {
    animation: wire-suck 0.98s cubic-bezier(0.45, 0, 0.25, 1) forwards;
    transform-origin: 50% 50%;
}
@keyframes wire-suck {
    0%   { transform: scale(1);    filter: brightness(1); opacity: 0.8; }
    35%  { transform: scale(2.2);  filter: brightness(2);   opacity: 1; }
    70%  { transform: scale(6);    filter: brightness(4.5); opacity: 0.7; }
    100% { transform: scale(14);   filter: brightness(8);   opacity: 0; }
}

/* Door flash — pure white radial bloom centred on the doorway. Builds slow,
   then erupts. Sits above the suck-in so by the end the screen is solid white. */
.door-flash {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 60%);
    opacity: 0;
    z-index: 90;
}
.door-flash.fire {
    animation: door-flash 0.98s cubic-bezier(0.6, 0, 0.85, 1) forwards;
}
@keyframes door-flash {
    0%   { opacity: 0;
           background: radial-gradient(circle at 50% 50%,
               rgba(255,255,255, 0)    0%,
               rgba(255,255,255, 0)    60%); }
    20%  { opacity: 0.35;
           background: radial-gradient(circle at 50% 50%,
               rgba(255,255,255, 0.95) 0%,
               rgba(255,255,255, 0.4)  18%,
               rgba(255,255,255, 0)    45%); }
    55%  { opacity: 0.9;
           background: radial-gradient(circle at 50% 50%,
               rgba(255,255,255, 1)    0%,
               rgba(255,255,255, 0.8) 35%,
               rgba(255,255,255, 0)   70%); }
    100% { opacity: 1;
           background: radial-gradient(circle at 50% 50%,
               #fff 0%, #fff 100%); }
}

/* ============================================================
   PHONES — keep the cover in one frame, shrink chrome.
   ============================================================ */
@media (max-width: 640px) {
    /* Dynamic viewport keeps the cover above the URL bar. */
    .cover { height: 100dvh; min-height: 100dvh; padding: 5rem 1rem 1.4rem; }

    /* Status row: allow wrap so the full string always fits. Reserve
       horizontal room for the scroll buttons in the corners. */
    .cover-foot {
        bottom: clamp(1rem, 2.5dvh, 1.8rem);
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 6rem);
        max-width: calc(100% - 6rem);
        justify-content: center;
    }
    .cover-status {
        flex-wrap: wrap;
        justify-content: center;
        white-space: normal;
        font-size: 0.6rem;
        gap: 0.35em;
        row-gap: 0.2em;
        max-width: 100%;
        text-align: center;
    }

    /* Back-to-landing header — same design, just smaller so it doesn't
       crowd text on phones. */
    .back-btn {
        top: max(0.6rem, env(safe-area-inset-top));
        left: 0.4rem;
        padding: 0.6em 0.9em;
        font-size: 0.62rem;
        letter-spacing: 0.24em;
    }

    /* Scroll-up/down buttons — shrink, dim a bit, and tuck closer to the
       corners so they don't sit on top of section content. */
    .scroll-btn {
        width: 38px;
        height: 38px;
        bottom: max(0.6rem, env(safe-area-inset-bottom));
        right: 0.45rem;
        opacity: 0.6;
    }
    .scroll-up-btn { left: 0.45rem; right: auto; }
    .scroll-btn .arrow-down,
    .scroll-btn .arrow-up { width: 15px; height: 15px; }

    /* Reserve a wider strip at section bottoms so content stays clear of
       the fixed scroll buttons. */
    .module { padding-bottom: 6rem; }
    .step { padding-bottom: 6rem; }

    /* --- Snap scroll on phones ---
       Sections grow to fit their content (stacked single-column is much
       taller than viewport), but still snap to the top of each section.
       Switch to `proximity` so the user can scroll freely through a long
       section without being yanked back to the top. */
    .scroller { scroll-snap-type: y proximity; }
    .step {
        height: auto;
        min-height: 100dvh;
        overflow: visible;
        scroll-snap-align: start;
        padding: 5rem 1rem 4.5rem;
        align-items: flex-start;
    }
    .cover { scroll-snap-align: start; }

    /* Tighter section-2 grid so the four entries breathe at phone width. */
    .s2-spread { padding: 1rem 0.4rem; }
    .s2-spread-head { margin-bottom: 1.4rem; }
    .spread-grid { gap: 0.8rem 1rem; margin-bottom: 1.6rem; }
    .entry-1, .entry-2, .entry-3, .entry-4 { margin-top: 1rem; }
    .entry-num { font-size: 3.4rem; margin-bottom: -0.2rem; }

    /* --- Calendar: convert horizontal proportional timeline → vertical
       stack. The "gaps you feel" idea collapses at phone width — readability
       wins. JS still sets inline `left:` on each .tb-post but it's a no-op
       once position becomes static. */
    .tb-track {
        height: auto;
        margin-bottom: 1.2rem;
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
        padding-left: 1.1rem;
        border-left: 1.5px solid var(--amber-soft);
    }
    .tb-rule, .tb-month-tags, .tb-today { display: none; }
    .tb-post {
        position: static;
        transform: none;
        flex-direction: row;
        align-items: center;
        gap: 0.7rem;
        width: 100%;
        top: auto;
    }
    .tb-mark { margin-left: -1.65rem; margin-right: 0.4rem; flex-shrink: 0; }
    .tb-post-card,
    .tb-post .tb-post-card.tb-post-flip {
        position: static;
        transform: none;
        flex-direction: row;
        align-items: center;
        gap: 0.7rem;
        min-width: 0;
        width: 100%;
        padding: 0.5rem 0.7rem;
        background: rgba(11, 13, 24, 0.55);
        border: 1px solid var(--line);
        border-left: 2px solid var(--amber);
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        border-radius: 3px;
        bottom: auto; top: auto; left: auto;
    }
    .tb-post:hover .tb-post-card,
    .tb-post.active .tb-post-card { transform: none; }
    .tb-post-date {
        font-size: 1.15rem;
        flex-shrink: 0;
        min-width: 2.6em;
        line-height: 1;
    }
    .tb-post-title {
        font-size: 0.78rem;
        flex: 1;
        text-align: left;
        line-height: 1.25;
    }
    .tb-post-cd {
        font-size: 0.54rem;
        flex-shrink: 0;
        margin-left: auto;
    }
    .tb-detail { padding: 1rem 0.4rem; margin-top: 0.6rem; }

    /* Stage count numbers — shrink so "200–300" fits its 1/3 column. */
    .stagecount { gap: 0.5rem; }
    .sc-num { font-size: 1.5rem; letter-spacing: -0.03em; }
    .sc-num .sc-dash { margin: 0; }
    .sc-lbl { font-size: 0.56rem; letter-spacing: 0.22em; }

    /* Final door section — switch to dvh, align to the top of the snap
       window (the default center alignment leaves the section floating
       mid-viewport so absolute-bottom positions sit too high), and let
       the hint label sit just above the URL bar in the gap below the
       wireframe door. */
    .final {
        height: 100dvh;
        min-height: 100dvh;
        padding: 4rem 1rem 5rem;
        scroll-snap-align: start;
        overflow: visible;
    }
    .door-stage.final { align-items: center; justify-content: center; }
    .door-hint-label {
        bottom: max(1.4rem, calc(env(safe-area-inset-bottom) + 0.6rem));
        font-size: 0.6rem;
        letter-spacing: 0.22em;
    }
}

/* ============================================================
   s5 — STATIC RUBRIC (replaces the old draggable judge bar).
   A proportional, non-interactive bar + a plain criteria list.
   ============================================================ */
.rubric { margin-top: 1.6rem; }
.rubric-bar {
    display: flex;
    width: 100%;
    height: 76px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
}
.rseg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.16rem;
    min-width: 0;
    padding: 0.4rem 0.3rem;
    color: #f4ede1;
}
.rseg + .rseg { box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.28); }
.rseg b { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; line-height: 1; }
.rseg i {
    font-style: normal;
    font-family: var(--type);
    font-size: 0.5rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.82;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.rubric-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.rl {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.rl:last-child { border-bottom: none; padding-bottom: 0; }
.rl-pts {
    flex-shrink: 0;
    width: 2.4rem;
    text-align: right;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--amber);
}
.rl-body { font-family: var(--serif); font-size: 0.95rem; line-height: 1.5; color: var(--ink-soft); }
.rl-body b { color: var(--ink); font-weight: 600; }
.rl-body em { font-style: italic; color: var(--amber); }
@media (max-width: 640px) {
    .rubric-bar { height: 60px; }
    .rseg b { font-size: 1.15rem; }
    .rseg i { display: none; }
    .rl { gap: 0.7rem; }
    .rl-pts { width: 1.8rem; font-size: 1.2rem; }
    .rl-body { font-size: 0.82rem; line-height: 1.45; }
}

/* ============================================================
   s3 — DOMAIN DETAIL re-housed as a centered, always-on-screen
   panel. It used to sit below the doors and get clipped / snapped
   past; now it floats centered in the section so it reads in full.
   ============================================================ */
#s3 .module { position: relative; }
.domain-detail {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, calc(-50% + 14px));
    width: min(720px, 92%);
    margin-top: 0;
    padding: 1.7rem 2rem 1.6rem;
    background: rgba(10, 12, 20, 0.95);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(201, 139, 77, 0.45);
    border-left: 3px solid var(--amber);
    border-radius: 5px;
    box-shadow: 0 28px 64px -22px rgba(0, 0, 0, 0.75);
    max-height: 78vh;
    overflow-y: auto;
    z-index: 40;
    transition: opacity 0.32s ease, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.domain-detail.shown { transform: translate(-50%, -50%); }
.domain-detail::before { display: none; }
.domain-close {
    position: absolute;
    top: 0.4rem; right: 0.5rem;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    background: transparent; border: 0; border-radius: 50%;
    color: var(--ink-soft); font-size: 1.6rem; line-height: 1;
    cursor: pointer; opacity: 0.6;
    transition: opacity 0.2s, color 0.2s, background 0.2s;
    z-index: 2;
}
.domain-close:hover { opacity: 1; color: var(--amber); background: rgba(255, 255, 255, 0.05); }

/* ============================================================
   WHY section — vision / mission / desire
   ============================================================ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    margin-top: 1.8rem;
    text-align: left;
}
.why-block { border-top: 1px solid rgba(201, 139, 77, 0.32); padding-top: 0.9rem; }
.why-k {
    font-family: var(--type);
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 0.6rem;
}
.why-block p { font-family: var(--serif); font-size: 0.95rem; line-height: 1.55; color: var(--ink-soft); margin: 0; }
.why-block p em { font-style: italic; color: var(--amber); }
@media (max-width: 760px) {
    .why-grid { grid-template-columns: 1fr; gap: 1rem; margin-top: 1.3rem; }
    .why-block { padding-top: 0.7rem; }
    .why-block p { font-size: 0.85rem; line-height: 1.5; }
}

/* ============================================================
   FAQ section — native <details> accordion
   ============================================================ */
.faq-list {
    margin-top: 1.6rem;
    max-height: 62vh;
    overflow-y: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}
.faq-item { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.faq-item > summary {
    list-style: none;
    cursor: pointer;
    padding: 0.95rem 2.2rem 0.95rem 0.2rem;
    position: relative;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--ink);
    transition: color 0.2s;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
    content: '+';
    position: absolute;
    right: 0.4rem; top: 50%;
    transform: translateY(-50%);
    font-family: var(--serif);
    font-size: 1.3rem;
    color: var(--amber);
}
.faq-item[open] > summary::after { content: '\2212'; }
.faq-item > summary:hover { color: var(--amber); }
.faq-a {
    padding: 0 0.2rem 1.05rem;
    font-family: var(--serif);
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 64ch;
}
.faq-a b { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) {
    .faq-list { max-height: 64vh; }
    .faq-item > summary { font-size: 0.9rem; padding: 0.8rem 2rem 0.8rem 0.2rem; }
    .faq-a { font-size: 0.82rem; }
}

/* About cover → Judges & Partners standalone page (prominent secondary CTA) */
.cover-people-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55em;
    margin-top: 0.1rem;
    padding: 0.72em 1.4em;
    border: 1px solid var(--amber-soft);
    border-radius: 2px;
    font-family: var(--type);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cover-people-link::after { content: '→'; transition: transform 0.2s; }
.cover-people-link:hover { background: rgba(201, 139, 77, 0.12); border-color: var(--amber); color: var(--ink); }
.cover-people-link:hover::after { transform: translateX(4px); }

/* Persistent top-right nav → Judges & Partners (mirrors .back-btn) */
.partners-btn {
    position: fixed;
    top: clamp(1.4rem, 3.2vh, 2.4rem);
    right: clamp(1.4rem, 3.2vw, 2.4rem);
    z-index: 50;
}
@media (max-width: 640px) {
    .partners-btn {
        top: max(0.6rem, env(safe-area-inset-top));
        right: 0.4rem;
        padding: 0.6em 0.9em;
        font-size: 0.62rem;
        letter-spacing: 0.18em;
    }
}

/* Why panel → full /why page CTA */
.why-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    margin-top: 1.6rem;
    padding: 0.72em 1.4em;
    border: 1px solid var(--amber-soft);
    border-radius: 2px;
    font-family: var(--type);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--amber);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.why-more span { transition: transform 0.2s; }
.why-more:hover { background: rgba(201, 139, 77, 0.12); border-color: var(--amber); color: var(--ink); }
.why-more:hover span { transform: translateX(4px); }

/* s7 — awards / certificates strip under the two-day schedule */
.fest-extras {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.9rem;
    margin-top: 1.4rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--serif);
    font-size: 0.85rem;
    color: var(--ink-soft);
    text-align: center;
}
.fest-extras b { color: var(--amber); font-weight: 600; }
.fest-extras .fx-dot { color: var(--ink-faint); }
@media (max-width: 640px) {
    .fest-extras { font-size: 0.74rem; gap: 0.3rem 0.6rem; }
    .fest-extras .fx-dot { display: none; }
}
/* Desktop only: the two-day schedule + awards must fit one 100vh panel
   (desktop .step is overflow:hidden). Mobile grows freely, so leave it. */
@media (min-width: 801px) {
    .festival { margin-top: 1.1rem; }
    .fest-day-head { padding-bottom: 0.6rem; margin-bottom: 0.7rem; }
    .fest-day-num { font-size: clamp(3rem, 4.5vw, 4.2rem); }
    .fest-ev { padding: 0.45rem 0; }
    .fest-ev-body { font-size: 0.88rem; line-height: 1.36; }
    .fest-extras { margin-top: 0.9rem; padding-top: 0.75rem; font-size: 0.8rem; }
}
