    :root {
      --amber: #ffd282;
      --black: #080808;
      --white: #f0ece3;
      --light-bg: #E2E2E2;
    }

    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: auto; }

    html, body {
      width: 100%;
      height: 100%;
      overflow: hidden;
    }

    body {
      background: var(--black);
      color: var(--white);
      font-family: 'Lora', Georgia, serif;
    }

    #wave-canvas {
      position: fixed;
      inset: 0;
      z-index: 0;
      pointer-events: none;
    }

    /* NAV */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 200;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1.6rem 2.4rem;
      opacity: 0;
      animation: fadeIn 0.8s ease 0.4s forwards;
    }
    /* Top nav text — defaults to white (dark-bg panels), flips to dark on light-bg panels via JS */
    .nav-logo {
      display: inline-block;
      line-height: 0;
      text-decoration: none;
      transition: opacity 0.4s ease;
    }
    .nav-logo img {
      display: block;
      height: 140px;
      width: auto;
    }
    @media (max-width: 900px) {
      .nav-logo img { height: 100px; }
    }
    .nav-logo:hover { opacity: 0.8; }
    .nav-events {
      font-family: 'Lora', Georgia, serif;
      font-size: 1.05rem;
      font-weight: 500;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--white);
      text-decoration: none;
      transition: color 0.4s ease;
      display: inline-flex;
      align-items: center;
      gap: 0.5em;
    }
    .nav-events:hover { color: var(--amber); }
    .nav-events .nav-arrow { font-size: 0.9em; transition: transform 0.2s; }
    .nav-events:hover .nav-arrow { transform: translateX(3px); }
    .nav-events-label-mobile { display: none; }
    @media (max-width: 1024px) {
      .nav-events-label-desktop { display: none; }
      .nav-events-label-mobile { display: inline; }
    }

    /* Light-panel theme — both top-nav links flip to near-black for legibility on white bg */
    nav#topNav.light-panel .nav-events {
      color: #1a1a1a;
    }
    nav#topNav.light-panel .nav-events:hover {
      color: var(--amber);
    }
    /* STAGE + STRIP */
    #stage {
      position: fixed;
      inset: 0;
      overflow: hidden;
      z-index: 10;
    }
    #strip {
      display: flex;
      height: 100%;
      will-change: transform;
    }
    .panel {
      width: 100vw;
      height: 100vh;
      flex-shrink: 0;
      position: relative;
      overflow: hidden;
    }

    /* ══ PANEL 0: HERO ══ */
    #panel-hero { background: transparent; }

    .curtain-half {
      position: absolute;
      left: 0; right: 0;
      height: 50%;
      will-change: transform, opacity;
    }
    .curtain-top {
      top: 0;
      display: flex; align-items: flex-end; justify-content: center;
      padding-bottom: 0.06em;
      clip-path: inset(0 -200px -200px -200px);
    }
    .curtain-bot {
      bottom: 0;
      display: flex; align-items: flex-start; justify-content: center;
      padding-top: 0.06em;
      clip-path: inset(-200px -200px 0 -200px);
    }
    .curtain-text {
      font-family: 'Lora', Georgia, serif;
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1;
      color: var(--amber);
      white-space: nowrap;
      position: relative;
      z-index: 2;
      /* Hidden until fitCurtainText() has measured the viewport and
         set a font-size. Without this guard, the text rendered at the
         browser-default 16px for a frame or two while Lora was still
         loading — visible as a "FOUC" flash on cold loads. */
      visibility: hidden;
    }
    .curtain-text.fit-ready { visibility: visible; }
    .curtain-text em { font-style: italic; }

    #seam {
      position: absolute; left: 0; right: 0; top: 50%;
      height: 1px; background: rgba(255,210,130,0.1); pointer-events: none;
    }

    .reveal-title {
      position: absolute; inset: 0;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      text-align: center; padding: 0 2rem;
      pointer-events: none; opacity: 0; transform: scale(0.94);
      will-change: opacity, transform;
    }
    .reveal-eyebrow {
      font-size: clamp(0.55rem,1vw,0.75rem); letter-spacing: 0.44em;
      text-transform: uppercase; color: rgba(255,255,255,0.75);
      font-style: italic; margin-bottom: 1rem;
      text-shadow: 0 0 18px rgba(0,0,0,0.9);
    }
    .reveal-main {
      font-size: clamp(2.8rem,8vw,8rem); font-weight: 700;
      letter-spacing: -0.03em; line-height: 0.95; color: var(--white);
      text-shadow: 0 0 40px rgba(0,0,0,1);
    }
    .reveal-main em { font-style: italic; color: var(--amber); }
    .reveal-sub {
      margin-top: 1.6rem; font-size: clamp(0.6rem,0.9vw,0.8rem);
      letter-spacing: 0.36em; text-transform: uppercase; color: rgba(255,255,255,0.65);
    }
    .reveal-cta {
      margin-top: 2.6rem; display: inline-flex; align-items: center; gap: 0.7em;
      border: 1px solid rgba(255,210,130,0.6); color: var(--amber);
      font-family: 'Geist', sans-serif; font-weight: 400;
      font-size: 0.68rem; letter-spacing: 0.28em;
      text-transform: uppercase; text-decoration: none;
      padding: 0.95rem 2.4rem 0.9rem;
      background: rgba(255,210,130,0.04); cursor: pointer; pointer-events: all;
      position: relative; overflow: hidden; isolation: isolate;
      transition: color 0.35s ease, border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease, letter-spacing 0.35s ease;
    }
    .reveal-cta::before {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(120deg, rgba(255,210,130,0) 0%, rgba(255,210,130,0.85) 50%, rgba(255,210,130,0) 100%);
      transform: translateX(-110%);
      transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
      z-index: -1;
    }
    .reveal-cta:hover {
      color: var(--black);
      border-color: var(--amber);
      transform: translateY(-2px);
      letter-spacing: 0.32em;
      box-shadow: 0 14px 32px -10px rgba(255,210,130,0.45), 0 0 0 1px rgba(255,210,130,0.2);
    }
    .reveal-cta:hover::before { transform: translateX(0); }
    .reveal-cta:active { transform: translateY(0); transition-duration: 0.12s; }
    .reveal-cta:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }

    /* Scroll hint */
    .scroll-hint {
      position: absolute; bottom: 2.8rem; right: 3rem; z-index: 50;
      text-align: right;
      opacity: 0;
      transition: opacity 0.5s ease;
      pointer-events: none;
    }
    .scroll-hint.visible { opacity: 1; }
    .s-label { font-size: 0.58rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.28); margin-bottom: 0.28rem; }
    .this-way-row { display: flex; align-items: center; justify-content: flex-end; }
    .this-way-text { font-size: 0.88rem; font-style: italic; color: var(--amber); text-decoration: line-through; text-decoration-color: rgba(255,255,255,0.38); text-decoration-thickness: 1.5px; margin-right: 0.4rem; }
    .arrow { display: flex; align-items: center; }
    .a-line { width: 60px; height: 1.5px; background: var(--amber); }
    .a-tip { width:0; height:0; border-top:4px solid transparent; border-bottom:4px solid transparent; border-left:8px solid var(--amber); }
    .this-way-sub { margin-top: 0.25rem; font-size: 0.88rem; color: var(--amber); }

    /* ══ PANEL 1: EVENT OVERVIEW ══ */
    #panel-overview {
      background: #0a0a0a;
      color: var(--white);
    }
    #panel-overview::before {
      content: ''; position: absolute; inset: 0;
      background:
        radial-gradient(ellipse 55% 50% at 88% -5%, rgba(255,210,130,0.10), transparent 75%),
        radial-gradient(ellipse 60% 45% at -5% 105%, rgba(255,210,130,0.05), transparent 70%);
      pointer-events: none; z-index: 0;
    }
    #panel-overview::after {
      content: ''; position: absolute; inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
      background-size: 160px 160px; pointer-events: none; z-index: 1;
    }

    /* Top-left bracket tag — sits below the nav logo, aligned with the wax stamp on the right */
    .ov-tag {
      position: absolute; top: 9.5rem; left: 5vw;
      font-family: 'Geist', sans-serif; font-size: 0.62rem;
      letter-spacing: 0.24em; text-transform: uppercase;
      color: rgba(255,210,130,0.45); z-index: 5;
    }

    /* Ghost layer — properly positioned to sit behind real text */
    .ov-ghost-clip {
      position: absolute;
      top: 0; left: 0;
      width: 60vw;
      height: 100%;
      overflow: hidden;
      pointer-events: none;
      user-select: none;
      z-index: 2;
    }
    .ov-ghost {
      position: absolute;
      /* Align ghost so it sits just behind/under the real text. Tracks the
         same upper-third anchor as .ov-real to keep them visually paired. */
      top: 35%;
      left: 3vw;
      transform: translateY(-58%);
      font-family: 'Lora', Georgia, serif;
      font-weight: 700;
      font-style: italic;
      font-size: clamp(3.5rem, 8vw, 9rem);
      line-height: 1.05;
      letter-spacing: -0.04em;
      white-space: normal;       /* allow wrapping so it stays in frame */
      width: 55vw;               /* constrain width so text wraps rather than runs off */
      color: transparent;
      -webkit-text-stroke: 1.5px rgba(255,255,255,0.07);
      pointer-events: none;
      user-select: none;
    }

    /* Real heading — italic (cursive feel). Anchored to the upper third
       (not the geometric centre) so the italic descender of "Overview"
       never clips into the .ov-bottom block below, regardless of viewport
       height. */
    .ov-real {
      position: absolute;
      top: 30%;
      left: 4vw;
      transform: translateY(-50%);
      font-family: 'Lora', Georgia, serif;
      font-weight: 400;
      font-style: italic;
      font-size: clamp(2.6rem, 5.5vw, 6.5rem);
      line-height: 1.12;
      letter-spacing: -0.025em;
      padding-bottom: 0.28em;
      max-width: 50vw;
      white-space: normal;
      color: var(--white);
      pointer-events: none;
      z-index: 3;
    }

    /* Bottom-left: keep scrolling + description (flex column with explicit child spacing).
       Hard-capped at 40vh so the block never grows tall enough to collide
       with the .ov-real title above on any viewport. */
    .ov-bottom {
      position: absolute; bottom: 2.8rem; left: 5vw; z-index: 5;
      max-width: min(38vw, 520px);
      max-height: min(40vh, calc(100vh - 28rem));
      overflow-y: auto;
      scrollbar-width: thin;
      scrollbar-color: rgba(255,210,130,0.25) transparent;
      padding-right: 0.6rem;
      display: flex;
      flex-direction: column;
      gap: 1.35rem;
    }
    .ov-bottom::-webkit-scrollbar { width: 6px; }
    .ov-bottom::-webkit-scrollbar-thumb { background: rgba(255,210,130,0.22); border-radius: 3px; }
    .ov-bottom::-webkit-scrollbar-track { background: transparent; }
    .ov-bottom > * + * { margin-top: 0; }   /* belt-and-braces: gap handles spacing */
    .ov-keep { display: flex; align-items: center; gap: 0.55rem; margin: 0; }
    .ov-keep-text {
      font-family: 'Geist', sans-serif; font-size: 0.78rem; font-weight: 400;
      color: var(--amber); letter-spacing: 0.1em;
      text-decoration: line-through; text-decoration-color: rgba(255,210,130,0.22); text-decoration-thickness: 1.5px;
    }
    .ov-arr { display: flex; align-items: center; }
    .ov-line { width: 70px; height: 1.5px; background: var(--amber); }
    .ov-tip { width:0; height:0; border-top:4px solid transparent; border-bottom:4px solid transparent; border-left:8px solid var(--amber); }
    .ov-desc {
      font-family: 'Lora', Georgia, serif;
      font-size: clamp(0.85rem, 1.1vw, 1.05rem);
      font-weight: 400; line-height: 1.82; color: rgba(255,255,255,0.62);
    }

    /* Image card — right-side. Pushed below geometric center and slightly
       narrower so it clears the larger top nav + corner stamp on desktop. */
    .ov-card {
      position: absolute;
      right: 3vw;
      top: 62%;
      transform: translateY(-50%);
      width: clamp(220px, 30vw, 460px);
      aspect-ratio: 4 / 3;
      overflow: hidden;
      z-index: 4;
      border-radius: 4px;
      border: 1px solid rgba(255,210,130,0.18);
      box-shadow:
        -14px 0 50px rgba(0,0,0,0.6),
        0 12px 40px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255,210,130,0.06) inset;
      transition: box-shadow 0.5s ease, border-color 0.5s ease;
    }
    .ov-card::before {
      /* Soft amber sheen along the upper-left diagonal — gives the plate a "lit" feel */
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(135deg, rgba(255,210,130,0.10) 0%, rgba(255,210,130,0) 35%);
      pointer-events: none; z-index: 3;
    }
    .ov-card::after {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(180deg, rgba(10,10,10,0) 50%, rgba(10,10,10,0.55) 100%);
      pointer-events: none; z-index: 3;
    }
    .ov-card img {
      width: 100%; height: 100%; object-fit: cover; display: block;
      transform: scale(1.08);
      transform-origin: center center;
      will-change: transform;
      filter: saturate(0.95) contrast(1.02);
    }
    .ov-card:hover {
      border-color: rgba(255,210,130,0.32);
      box-shadow:
        -16px 0 60px rgba(0,0,0,0.65),
        0 16px 50px rgba(0,0,0,0.55),
        0 0 0 1px rgba(255,210,130,0.18) inset;
    }

    /* Live status pill — hidden everywhere: the fixed nav + corner specimen
       stamp + image card already crowd the right edge, and the registration
       state is already conveyed by the dashboard. */
    .ov-status {
      display: none !important;
    }
    .ov-status:hover {
      border-color: rgba(255,210,130,0.7);
      background: rgba(255,210,130,0.08);
    }
    .ov-status-dot {
      width: 6px; height: 6px; border-radius: 50%;
      background: var(--amber);
      box-shadow: 0 0 8px rgba(255,210,130,0.6);
      animation: ovStatusPulse 2.4s ease-in-out infinite;
    }
    @keyframes ovStatusPulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.4; transform: scale(0.7); }
    }

    /* ──────────────────────────────────────────────────────────────
       Specimen Mark — slim typographic seal for flagship / rep events.
       A single-line archival overprint. Glyph · tier · cat · glyph,
       framed by hairline arms that fade into negative space.
       Reads like a letterpress mark — minimal vertical footprint.
       ────────────────────────────────────────────────────────────── */
    .specimen-mark {
      --sm-tone: 255, 210, 130;
      display: inline-flex;
      align-items: center;
      gap: 0.42rem;
      margin: 0 0 0.5rem;
      padding: 0;
      font-family: 'Geist', sans-serif;
      color: rgba(var(--sm-tone), 0.92);
      line-height: 1;
      position: relative;
      isolation: isolate;
    }
    .specimen-mark::before,
    .specimen-mark::after {
      content: '';
      flex: 0 0 18px;
      height: 1px;
      background: linear-gradient(
        90deg,
        rgba(var(--sm-tone), 0)   0%,
        rgba(var(--sm-tone), 0.55) 50%,
        rgba(var(--sm-tone), 0)   100%
      );
    }
    .specimen-mark::before { flex-basis: 24px; }
    .sm-glyph {
      font-family: 'Lora', Georgia, serif;
      font-size: 0.78rem;
      line-height: 1;
      color: rgba(var(--sm-tone), 1);
      text-shadow:
        0 0 8px rgba(var(--sm-tone), 0.55),
        0 0 1px rgba(var(--sm-tone), 0.9);
      transform: translateY(-0.5px);
      animation: smPulse 4.2s ease-in-out infinite;
    }
    @keyframes smPulse {
      0%, 100% { opacity: 1;   text-shadow: 0 0 8px rgba(var(--sm-tone), 0.55), 0 0 1px rgba(var(--sm-tone), 0.9); }
      50%      { opacity: 0.7; text-shadow: 0 0 12px rgba(var(--sm-tone), 0.85), 0 0 1px rgba(var(--sm-tone), 0.95); }
    }
    .sm-label {
      display: inline-flex;
      align-items: center;
      gap: 0.48rem;
      padding: 0 0.5rem;
      border-left: 1px solid rgba(var(--sm-tone), 0.28);
      border-right: 1px solid rgba(var(--sm-tone), 0.28);
    }
    .sm-tier {
      font-family: 'Lora', Georgia, serif;
      font-style: italic;
      font-size: 0.7rem;
      letter-spacing: 0.04em;
      color: rgba(var(--sm-tone), 0.96);
      line-height: 1;
    }
    /* Variant: Representative — cream/ivory tone, fleur glyph */
    .specimen-mark.sm-rep {
      --sm-tone: 240, 236, 227;
    }
    .specimen-mark.sm-rep .sm-glyph {
      font-size: 0.84rem;
      animation-duration: 5s;
    }
    .specimen-mark.sm-rep .sm-tier {
      color: rgba(var(--sm-tone), 0.92);
    }

    /* Topics tag cloud (Panel 1) */
    /* Topics block — flows inside .ov-bottom now */
    .ov-topics { width: 100%; }
    .ov-topics-eyebrow {
      font-family: 'Geist', sans-serif;
      font-size: 0.6rem;
      letter-spacing: 0.24em;
      text-transform: uppercase;
      color: rgba(255,210,130,0.55);
      margin-bottom: 0.75rem;
    }
    .ov-topics-list {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }
    .ov-topic-chip {
      font-family: 'Geist', sans-serif;
      font-size: 0.55rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      border: 1px solid rgba(255,210,130,0.28);
      color: rgba(255,210,130,0.85);
      padding: 0.38rem 0.82rem;
      background: rgba(255,210,130,0.04);
      cursor: default;
      transition: transform 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
    }
    .ov-topic-chip:hover {
      background: var(--amber);
      color: #1a1a1a;
      border-color: var(--amber);
      transform: translateY(-2px);
    }

    /* ── Responsive: tablet & mobile (anything ≤ 1024px falls back to scrollable column flow) ── */
    @media (max-width: 1024px) {

      /* Compact "← Events" back link on phones so readers can leave the
         event detail page without hunting for the EXYP logo. */
      .nav-events {
        font-size: 0.62rem;
        letter-spacing: 0.2em;
        padding: 0.5rem 0.9rem;
        border: 1px solid rgba(255, 210, 130, 0.32);
        border-radius: 999px;
        background: rgba(8, 8, 8, 0.45);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        color: rgba(255, 210, 130, 0.9);
      }
      .nav-events .nav-arrow { display: none; }
      .nav-events::before {
        content: '←';
        font-size: 0.95em;
        margin-right: 0.4em;
        transition: transform 0.2s ease;
      }
      .nav-events:hover::before { transform: translateX(-2px); }

      /* Nav logo: smaller, stays top-left, always readable */
      nav { padding: 1rem 1.4rem; }
      .nav-logo img { height: 80px; }

      /* Hide "keep scrolling" cue — panels scroll vertically on mobile */
      .ov-keep { display: none; }

      /* Each content panel scrolls vertically (not the hero which has its own layout) */
      .panel:not(#panel-hero) {
        overflow-y: auto;
        overflow-x: hidden;
        /* Use flex column so all children stack naturally */
        display: flex;
        flex-direction: column;
        /* Universal clearance so the fixed panel-nav never visually covers the last child */
        padding-bottom: 5.5rem;
      }

      /* Ghost: pure decorative watermark, sits behind everything */
      .ov-ghost-clip {
        position: absolute;
        inset: 0;
        overflow: hidden;
        pointer-events: none;
        z-index: 0;
      }
      .ov-ghost {
        position: absolute;
        top: 4rem;          /* clear the nav */
        left: 4vw;
        font-size: clamp(3rem, 20vw, 7rem);
        width: 92vw;
        white-space: normal;
        line-height: 1.0;
        transform: none !important;
      }

      /* ── Main heading: in flow, clears the fixed nav ── */
      .ov-real {
        position: relative;
        top: auto; left: auto;
        transform: none !important;
        font-size: clamp(2.2rem, 10vw, 4rem);
        max-width: 90vw;
        white-space: normal;
        /* Push down to clear fixed nav (nav ~56px) + breathing room */
        margin: 4.5rem 5vw 1rem;
        z-index: 4;
        flex-shrink: 0;
      }

      /* ── Panel 1 (Overview): image card in flow ── */
      .ov-card {
        position: relative;
        right: auto; top: auto; bottom: auto;
        transform: none !important;
        width: 90vw;
        margin: 0.5rem 5vw 1rem;
        height: 48vw;
        min-height: 150px;
        max-height: 260px;
        aspect-ratio: unset;
        border-radius: 4px;
        flex-shrink: 0;
        z-index: 4;
      }

      /* ── Bottom description block: in flow (panel itself owns the nav clearance now) ── */
      .ov-bottom {
        position: relative;
        bottom: auto; left: auto; top: auto;
        transform: none !important;
        max-width: 90vw;
        margin: 0 5vw 0;
        flex-shrink: 0;
        z-index: 4;
      }
      .ov-keep { margin-bottom: 0.7rem; }
      .ov-desc { font-size: 0.82rem; line-height: 1.72; }

      /* ── Panel 2 (Participants): stat pills stacked + centered on mobile ── */
      .pd-stats {
        position: relative;
        right: auto; top: auto; bottom: auto;
        transform: none !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.8rem;
        margin: 0.5rem auto 1rem;
        max-width: 90vw;
        flex-shrink: 0;
        z-index: 4;
      }
      .pd-stat {
        flex: none;
        width: clamp(180px, 60vw, 260px);
        min-width: 0;
        padding: 0.85rem 1.4rem;
      }

      /* ── Panel 3 (Structure): rounds, langs, trophy in flow ── */
      .es-rounds {
        position: relative;
        right: auto; top: auto; bottom: auto;
        transform: none !important;
        width: 90vw;
        margin: 0.5rem 5vw 0.8rem;
        flex-shrink: 0;
        z-index: 4;
      }
      /* Override desktop fixed width so hero card fills the screen */
      .es-rounds-single { width: 90vw !important; }
      .es-round.es-round-hero { padding: 1rem 1.2rem; }

      .es-langs {
        position: relative;
        right: auto; bottom: auto;
        transform: none !important;
        margin: 0 5vw 0.8rem;
        justify-content: flex-start;
        max-width: 90vw;
        flex-shrink: 0;
        z-index: 4;
      }

      .es-prize-block {
        position: relative;
        left: auto; right: auto; bottom: auto;
        transform: none !important;
        margin: 0 5vw 0;
        max-width: 90vw;
        flex-shrink: 0;
        z-index: 4;
      }
      /* Panel 2: team duo in flow */
      .pd-duo {
        position: relative;
        right: auto; top: auto;
        transform: none !important;
        align-items: flex-start;
        margin: 0.5rem 5vw 1rem;
        flex-shrink: 0;
        z-index: 4;
      }

      /* Panel 1: status pill stays floating in the corner but smaller */
      .ov-status {
        top: 6.5rem;
        right: 5vw;
        font-size: 0.55rem;
        padding: 0.4rem 0.75rem;
      }

      /* ov-tag: hide on mobile (nav logo already identifies the brand) */
      .ov-tag { display: none; }

      /* Panel nav: shrink and move slightly higher so it doesn't cover text */
      .panel-nav {
        bottom: 0.8rem;
        gap: 0.8rem;
      }
      .pnav-btn {
        font-size: 0.52rem;
        padding: 0.45rem 0.85rem;
        letter-spacing: 0.18em;
      }
    }

    /* Phones: hide the ghost watermark + tighten the heading area */
    @media (max-width: 768px) {
      .ov-ghost-clip { display: none; }
      .ov-real {
        margin-top: 5rem;
        font-size: clamp(2.2rem, 9vw, 3.4rem);
      }
      /* Smaller hero round, more compact stats on phones */
      .es-round-hero .es-round-num { font-size: clamp(1.8rem, 8vw, 2.4rem); }
      .pd-stat-num { font-size: clamp(1.6rem, 7vw, 2.4rem); }
      .pd-duo-icon { width: 36px; height: 36px; font-size: 0.9rem; }
      .ov-status { display: none; }   /* status pill takes prime corner real estate; cut on phones */

      /* ── Panel 3 (Structure) — phone-specific overlap fixes ── */
      /* Tighten vertical spacing between the structure panel's stacked sections */
      .es-rounds      { margin: 0.5rem 5vw 0.5rem; }
      .es-langs       { margin: 0 5vw 0.5rem; }
      .es-prize-block { margin: 0 5vw 0; }

      /* Stack the round head vertically so a long title can't crowd the numeral */
      .es-round.es-round-hero {
        padding: 0.9rem 1rem;
        gap: 0.6rem;
      }
      .es-round-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
      }
      .es-round-hero .es-round-sub {
        font-size: 0.78rem;
        line-height: 1.55;
        margin-top: 0.15rem;
      }
      /* Topic chips: tighter on phones */
      .es-topic { font-size: 0.5rem; padding: 0.28rem 0.55rem; }
      /* Pace meter: keep labels from getting squeezed against the track */
      .es-round-meter { gap: 0.6rem; font-size: 0.5rem; letter-spacing: 0.16em; }

      /* Lang chips row: ensure it wraps and starts left-aligned without colliding with the prize block */
      .es-langs { gap: 0.45rem; }
      .es-lang-chip { font-size: 0.55rem; padding: 0.3rem 0.7rem; }
      .es-lang-via { font-size: 0.5rem; }

      /* Prize block: more bottom clearance for the fixed panel-nav */
      .es-prize-block { gap: 0.7rem; padding-bottom: 6rem; }
      .es-prize-eyebrow { font-size: 0.55rem; }
      .es-prize-note { font-size: 0.78rem; line-height: 1.6; }
    }

    /* Extra-small phones */
    @media (max-width: 420px) {
      .ov-real {
        font-size: clamp(2rem, 11vw, 3.2rem);
        margin-top: 4rem;
      }
      .ov-ghost {
        font-size: clamp(2.6rem, 22vw, 5.5rem);
        top: 3.5rem;
      }
      .pd-stat { min-width: 100px; }
      .ov-card { height: 52vw; }
    }

    /* ══ PANEL 2: PARTICIPANT DETAILS ══ */
    #panel-participants { background: #0e0e0e; color: var(--white); }

    #panel-participants::after {
      content: ''; position: absolute; inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
      background-size: 160px 160px; pointer-events: none; z-index: 1;
    }

    #panel-participants .ov-tag { color: rgba(255,210,130,0.45); }

    #panel-participants .ov-ghost {
      color: transparent;
      -webkit-text-stroke: 1.5px rgba(255,255,255,0.07);
    }

    #panel-participants .ov-real { color: var(--white); }

    #panel-participants .ov-keep-text { color: var(--amber); }
    #panel-participants .ov-line { background: var(--amber); }
    #panel-participants .ov-tip { border-left-color: var(--amber); }
    #panel-participants .ov-desc { color: rgba(255,255,255,0.55); }

    /* Keep-scrolling cue lives only on the Overview panel — Participants/Structure
       have the panel-nav for navigation, and on tall requirements lists the cue
       was being pushed up into the "Details" title. */
    #panel-participants .ov-keep,
    #panel-structure .ov-keep { display: none; }

    /* On the Participants panel the title is allowed to sit higher so the
       requirements list below has room to breathe without crowding it. */
    #panel-participants .ov-real { top: 28%; }
    #panel-participants .ov-ghost { top: 28%; transform: translateY(-58%); }

    /* Stat pills */
    .pd-stats {
      position: absolute;
      right: 3vw;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
      gap: 1.15rem;
      z-index: 5;
    }
    .pd-stat {
      border: 1px solid rgba(255,210,130,0.18);
      padding: 1.2rem 1.75rem;
      text-align: center;
      min-width: clamp(140px, 16vw, 220px);
      background: rgba(255,255,255,0.025);
      backdrop-filter: blur(6px);
    }
    .pd-stat-num {
      font-family: 'Lora', Georgia, serif;
      font-weight: 700;
      font-style: italic;
      font-size: clamp(1.8rem, 3.4vw, 3.4rem);
      line-height: 1;
      color: var(--amber);
      letter-spacing: -0.03em;
    }
    .pd-stat-label {
      font-family: 'Geist', sans-serif;
      font-size: 0.6rem;
      letter-spacing: 0.26em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.38);
      margin-top: 0.7rem;
    }
    .pd-stat-num em {
      font-style: italic;
      font-size: 0.78em;
    }
    /* "Phrase" variant — used when the stat value is a short phrase
       (e.g., "REPRESENTATIVE EVENT") instead of a number. Switches to
       the Geist uppercase treatment so the words fit comfortably
       inside the stat pill without breaking out of the box. */
    .pd-stat-num.pd-stat-num--phrase {
      font-family: 'Geist', sans-serif;
      font-style: normal;
      font-weight: 700;
      font-size: clamp(0.78rem, 1.2vw, 1.05rem);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      line-height: 1.22;
      color: var(--amber);
    }
    @media (max-width: 768px) {
      .pd-stat-num.pd-stat-num--phrase {
        font-size: clamp(0.78rem, 3.2vw, 0.95rem) !important;
        letter-spacing: 0.06em;
        line-height: 1.25;
      }
    }

    /* Requirements block — flows inside .ov-bottom now */
    .pd-reqs { width: 100%; }
    .pd-reqs-eyebrow {
      font-family: 'Geist', sans-serif;
      font-size: 0.6rem;
      letter-spacing: 0.24em;
      text-transform: uppercase;
      color: rgba(255,210,130,0.55);
      margin-bottom: 0.85rem;
    }
    .pd-reqs-list {
      list-style: none;
      padding: 0.1rem 0 0.1rem 1.05rem;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 0.55rem;
      border-left: 1px solid rgba(255,210,130,0.18);
    }
    .pd-reqs-list li {
      font-family: 'Lora', Georgia, serif;
      font-size: clamp(0.78rem, 0.9vw, 0.92rem);
      font-weight: 400;
      color: rgba(255,255,255,0.62);
      line-height: 1.62;
      display: flex;
      align-items: baseline;
      gap: 0.7rem;
    }
    .pd-reqs-mark {
      color: var(--amber);
      font-family: 'Lora', serif;
      font-style: italic;
      font-size: 0.95rem;
      flex-shrink: 0;
      transition: color 0.3s, transform 0.3s;
    }

    /* Structured requirement rows (used by date-heavy events like the
       Hackathon). Each row is a label + date heading and a detail body,
       so the reader sees the milestone in one glance instead of parsing
       a single long sentence with embedded dates. */
    .pd-reqs-list li.rq-row {
      align-items: flex-start;
      gap: 0.7rem;
    }
    .pd-reqs-list .rq {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      gap: 0.18rem;
    }
    .pd-reqs-list .rq-head {
      font-family: 'Geist', sans-serif;
      font-size: 0.72rem;
      font-weight: 500;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: rgba(240, 228, 205, 0.9);
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      gap: 0.55rem;
    }
    .pd-reqs-list .rq-head em {
      font-family: 'Lora', serif;
      font-style: italic;
      font-size: 0.78rem;
      letter-spacing: 0.02em;
      text-transform: none;
      color: var(--amber);
      font-weight: 400;
    }
    .pd-reqs-list .rq-body {
      font-family: 'Lora', Georgia, serif;
      font-size: clamp(0.78rem, 0.9vw, 0.9rem);
      font-style: italic;
      line-height: 1.55;
      color: rgba(255, 255, 255, 0.6);
    }
    .pd-reqs-list li.rq-row:hover .rq-head { color: rgba(255, 245, 220, 1); }
    .pd-reqs-list li.rq-row:hover .rq-body { color: rgba(255, 255, 255, 0.85); }

    /* Desktop: when an event has a long structured-requirement list (e.g.
       the Hackathon's seven milestones), reflow into two columns so the
       entire list reads at a glance instead of clipping behind a scroll
       region. Single-line bullet lists (other events) stay 1-column.
       The list's parent is `display: flex` by default — CSS columns are
       a block-only feature, so we must override `display` here. */
    @media (min-width: 1025px) {
      #panel-participants .ov-bottom {
        max-width: min(56vw, 780px);
      }
      .pd-reqs-list:has(li.rq-row) {
        display: block;
        column-count: 2;
        column-gap: 2.2rem;
        column-rule: 1px solid rgba(255, 210, 130, 0.14);
        padding-left: 0;
        border-left: none;
      }
      .pd-reqs-list:has(li.rq-row) li.rq-row {
        display: flex;
        break-inside: avoid;
        -webkit-column-break-inside: avoid;
        page-break-inside: avoid;
        padding-left: 1rem;
        border-left: 1px solid rgba(255, 210, 130, 0.18);
        margin-bottom: 0.65rem;
      }
      .pd-reqs-list:has(li.rq-row) li.rq-row:last-child { margin-bottom: 0; }
    }

    /* Hover micro-interactions (Panel 2) */
    .pd-stat {
      transition: border-color 0.3s, background 0.3s, transform 0.3s;
      cursor: default;
    }
    .pd-stat:hover {
      border-color: rgba(255,210,130,0.55);
      background: rgba(255,210,130,0.05);
      transform: translateY(-3px);
      box-shadow: 0 14px 28px -12px rgba(255,210,130,0.25), 0 0 0 1px rgba(255,210,130,0.08) inset;
    }
    .pd-stat:hover .pd-stat-num {
      color: #fff5d6;
    }
    .pd-stat .pd-stat-num {
      transition: color 0.35s ease;
    }
    .pd-reqs-list li {
      transition: color 0.3s, transform 0.3s;
      cursor: default;
    }
    .pd-reqs-list li:hover {
      color: rgba(255,255,255,0.92);
      transform: translateX(4px);
    }
    .pd-reqs-list li:hover .pd-reqs-mark {
      color: #fff5d6;
      transform: scale(1.2);
    }

    /* Team duo visualization (Panel 2) — single compact row, clears the fixed nav */
    .pd-duo {
      position: absolute;
      right: 3vw;
      top: 13rem;
      z-index: 5;
    }
    .pd-duo-row {
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }
    .pd-duo-eyebrow {
      font-family: 'Geist', sans-serif;
      font-size: 0.55rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: rgba(255,210,130,0.55);
      margin-right: 0.3rem;
    }
    .pd-duo-icon {
      width: 38px;
      height: 38px;
      border: 1px solid rgba(255,210,130,0.35);
      background: rgba(255,255,255,0.025);
      display: flex; align-items: center; justify-content: center;
      font-family: 'Lora', serif;
      font-style: italic;
      font-size: 0.95rem;
      color: var(--amber);
      transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
      cursor: default;
    }
    .pd-duo-icon:hover {
      border-color: rgba(255,210,130,0.7);
      background: rgba(255,210,130,0.06);
      box-shadow: 0 0 18px rgba(255,210,130,0.15);
    }
    .pd-duo-link {
      width: 26px;
      height: 1px;
      background: linear-gradient(90deg, rgba(255,210,130,0.15), rgba(255,210,130,0.6), rgba(255,210,130,0.15));
      position: relative;
    }
    .pd-duo-link::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 5px; height: 5px;
      border-radius: 50%;
      background: var(--amber);
      box-shadow: 0 0 8px rgba(255,210,130,0.7);
      transform: translate(-50%, -50%);
    }

    /* ══ PANEL 3: EVENT STRUCTURE ══ */
    #panel-structure {
      background: #0a0a0a;
      color: var(--white);
    }
    #panel-structure::before {
      content: ''; position: absolute; inset: 0;
      background:
        radial-gradient(ellipse 55% 50% at 12% -5%, rgba(255,210,130,0.10), transparent 75%),
        radial-gradient(ellipse 60% 45% at 105% 105%, rgba(255,210,130,0.06), transparent 70%);
      pointer-events: none; z-index: 0;
    }
    #panel-structure::after {
      content: ''; position: absolute; inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
      background-size: 160px 160px; pointer-events: none; z-index: 1;
    }

    /* Structure panel shares the same heading/ghost/desc treatment as the dark Participants panel */
    #panel-structure .ov-tag { color: rgba(255,210,130,0.45); }
    #panel-structure .ov-ghost {
      color: transparent;
      -webkit-text-stroke: 1.5px rgba(255,255,255,0.07);
    }
    #panel-structure .ov-real { color: var(--white); }
    #panel-structure .ov-keep-text { color: var(--amber); }
    #panel-structure .ov-line { background: var(--amber); }
    #panel-structure .ov-tip { border-left-color: var(--amber); }
    #panel-structure .ov-desc { color: rgba(255,255,255,0.55); }

    /* Rounds row */
    .es-rounds {
      position: absolute;
      right: 3vw;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
      gap: 1.1rem;
      z-index: 5;
      width: clamp(220px, 32vw, 420px);
    }
    .es-round {
      border: 1px solid rgba(255,210,130,0.18);
      background: rgba(255,255,255,0.025);
      padding: 1.25rem 1.7rem;
      display: flex;
      align-items: center;
      gap: 1.3rem;
      backdrop-filter: blur(4px);
    }
    .es-round-num {
      font-family: 'Lora', serif;
      font-style: italic;
      font-size: clamp(1.6rem, 3vw, 2.8rem);
      font-weight: 700;
      color: var(--amber);
      line-height: 1;
      min-width: 2ch;
    }
    .es-round-title {
      font-family: 'Geist', sans-serif;
      font-size: 0.68rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--white);
      margin-bottom: 0.2rem;
    }
    .es-round-sub {
      font-family: 'Lora', serif;
      font-size: clamp(0.72rem, 1vw, 0.88rem);
      color: rgba(255,255,255,0.58);
      line-height: 1.5;
    }

    /* Single-round hero card (Panel 3) */
    .es-rounds-single { width: clamp(260px, 34vw, 440px); }
    .es-round.es-round-hero {
      flex-direction: column;
      align-items: stretch;
      padding: 1.45rem 1.7rem;
      gap: 1.05rem;
      position: relative;
      overflow: hidden;
      cursor: default;
      transition: border-color 0.35s, background 0.35s;
    }
    .es-round.es-round-hero::before {
      content: '';
      position: absolute;
      top: 0; left: 0;
      width: 0; height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255,210,130,0.7), transparent);
      transition: width 0.6s cubic-bezier(0.77,0,0.18,1);
    }
    .es-round.es-round-hero:hover {
      border-color: rgba(255,210,130,0.55);
      background: rgba(255,210,130,0.05);
    }
    .es-round.es-round-hero:hover::before { width: 100%; }
    .es-round-head {
      display: flex; align-items: baseline; gap: 1.1rem;
    }
    .es-round-hero .es-round-num {
      font-size: clamp(2.4rem, 4vw, 3.6rem);
    }
    .es-round-hero .es-round-title {
      font-size: 0.78rem;
      letter-spacing: 0.22em;
    }
    .es-round-hero .es-round-sub {
      font-size: clamp(0.82rem, 1.02vw, 0.96rem);
      line-height: 1.65;
      color: rgba(255,255,255,0.6);
      margin-top: 0.45rem;
    }

    /* Round topics chips */
    .es-round-topics {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }
    .es-topic {
      font-family: 'Geist', sans-serif;
      font-size: 0.56rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      border: 1px solid rgba(255,210,130,0.22);
      color: rgba(255,210,130,0.78);
      padding: 0.38rem 0.82rem;
      background: rgba(255,210,130,0.03);
      transition: border-color 0.25s, color 0.25s, background 0.25s, transform 0.25s;
      cursor: default;
    }
    .es-topic:hover {
      border-color: rgba(255,210,130,0.7);
      color: var(--amber);
      background: rgba(255,210,130,0.08);
      transform: translateY(-1px);
    }

    /* Round duration meter */
    .es-round-meter {
      display: flex; align-items: center; gap: 0.85rem;
      font-family: 'Geist', sans-serif;
      font-size: 0.56rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.45);
    }
    .es-round-meter-track {
      flex: 1; height: 2px; background: rgba(255,255,255,0.08);
      position: relative; overflow: hidden;
    }
    .es-round-meter-fill {
      position: absolute; top: 0; left: 0; height: 100%;
      width: 100%;
      background: linear-gradient(90deg, rgba(255,210,130,0.1), rgba(255,210,130,0.75), rgba(255,210,130,0.1));
      background-size: 200% 100%;
      animation: meterShift 3.4s linear infinite;
    }
    @keyframes meterShift {
      0% { background-position: 100% 0; }
      100% { background-position: -100% 0; }
    }

    /* Lang chips */
    .es-langs {
      position: absolute;
      bottom: 3.8rem;
      right: 3vw;
      display: flex;
      gap: 0.7rem;
      z-index: 5;
      flex-wrap: wrap;
      justify-content: flex-end;
      max-width: clamp(220px, 34vw, 440px);
    }
    .es-lang-chip {
      font-family: 'Geist', sans-serif;
      font-size: 0.62rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      border: 1px solid rgba(255,210,130,0.5);
      color: var(--amber);
      padding: 0.35rem 0.9rem;
      background: rgba(255,210,130,0.04);
    }
    .es-lang-via {
      font-family: 'Geist', sans-serif;
      font-size: 0.58rem;
      letter-spacing: 0.12em;
      color: rgba(255,255,255,0.45);
      align-self: center;
    }

    /* Awards block: groups eyebrow + trophy + prize note in bottom-left */
    .es-prize-block {
      position: absolute;
      bottom: 3.8rem;
      left: 5vw;
      z-index: 5;
      max-width: min(38vw, 480px);
      display: flex;
      flex-direction: column;
      gap: 1.2rem;
    }
    .es-prize-eyebrow {
      font-family: 'Geist', sans-serif;
      font-size: 0.62rem;
      letter-spacing: 0.24em;
      text-transform: uppercase;
      color: rgba(255,210,130,0.55);
    }
    .es-prize-note {
      font-family: 'Lora', Georgia, serif;
      font-size: clamp(0.82rem, 1.05vw, 1rem);
      font-weight: 400;
      line-height: 1.8;
      color: rgba(255,255,255,0.62);
      margin: 0;
    }
    .es-prize-note em { font-style: italic; color: var(--amber); }

    /* Panels 2 & 3 mobile overrides are consolidated in the shared @media (max-width: 768px) block above */

    /* ── Parallax hooks (desktop only) ── */
    @media (min-width: 1025px) {
      .ov-ghost  { transform: translateY(-58%) translateX(var(--plx,0px)); will-change: transform; }
      .ov-real   { transform: translateY(-50%) translateX(var(--plx,0px)); will-change: transform; }
      .ov-bottom { transform: translateX(var(--plx,0px)); will-change: transform; }
      .ov-card   { transform: translateY(-50%) translateX(var(--plx,0px)); will-change: transform; }
      .ov-card img { transform: scale(1.08) translateX(var(--plx,0px)); will-change: transform; }
      .pd-stats  { transform: translateY(-50%) translateX(var(--plx,0px)); will-change: transform; }
      .pd-duo    { transform: translateX(var(--plx,0px)); will-change: transform; }
      .es-rounds { transform: translateY(-50%) translateX(var(--plx,0px)); will-change: transform; }
      .es-langs  { transform: translateX(var(--plx,0px)); will-change: transform; }
      .es-prize-block { transform: translateX(var(--plx,0px)); will-change: transform; }
    }

    /* Tablet & mobile: no parallax */
    @media (max-width: 1024px) {
      .ov-ghost  { will-change: auto; }
      .ov-real   { will-change: auto; }
      .ov-bottom { will-change: auto; }
      .ov-card   { will-change: auto; }
      .ov-card img { transform: scale(1.08); will-change: auto; }
      .pd-stats  { will-change: auto; }
      .pd-duo    { will-change: auto; }
      .es-rounds { will-change: auto; }
      .es-langs  { will-change: auto; }
      .es-prize-block { will-change: auto; }
    }

    /* ═══════════════════════════════════════════════════════════════════
       MOBILE-FLOW OVERRIDES (must come AFTER the desktop class rules
       above to win the cascade — earlier @media blocks were defined
       before .pd-stats / .pd-duo / .es-rounds / .es-langs / .es-prize-block
       so their absolute desktop positioning was overriding the mobile flow)
       ═══════════════════════════════════════════════════════════════════ */
    @media (max-width: 1024px) {
      /* Panel 2 — stat pills: stacked + horizontally centered */
      .pd-stats {
        position: relative !important;
        right: auto !important; top: auto !important; bottom: auto !important;
        transform: none !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.8rem;
        margin: 0.5rem auto 1rem;
        max-width: 90vw;
        flex-shrink: 0;
        z-index: 4;
      }
      .pd-stat {
        flex: none !important;
        width: clamp(180px, 60vw, 260px);
        min-width: 0 !important;
        padding: 0.85rem 1.4rem;
      }

      /* Panel 2 — team duo: in flow, left-aligned */
      .pd-duo {
        position: relative !important;
        right: auto !important; top: auto !important;
        transform: none !important;
        margin: 0.5rem 5vw 1rem;
        flex-shrink: 0;
        z-index: 4;
      }
      .pd-duo-row { justify-content: flex-start; }

      /* Panel 3 — rounds in flow */
      .es-rounds {
        position: relative !important;
        right: auto !important; top: auto !important; bottom: auto !important;
        transform: none !important;
        width: 90vw;
        margin: 0.5rem 5vw 0.6rem;
        flex-shrink: 0;
        z-index: 4;
      }
      .es-rounds-single { width: 90vw !important; }
      .es-round.es-round-hero { padding: 1rem 1.2rem; }

      /* Panel 3 — language chips in flow */
      .es-langs {
        position: relative !important;
        right: auto !important; bottom: auto !important;
        transform: none !important;
        margin: 0 5vw 0.6rem;
        justify-content: flex-start;
        max-width: 90vw;
        flex-shrink: 0;
        z-index: 4;
      }

      /* Panel 3 — awards block in flow */
      .es-prize-block {
        position: relative !important;
        left: auto !important; right: auto !important; bottom: auto !important;
        transform: none !important;
        margin: 0 5vw 0;
        max-width: 90vw;
        flex-shrink: 0;
        z-index: 4;
      }
      /* Panel 1 — status pill kept as a small floating corner element */
      .ov-status {
        top: 4.6rem !important;
        right: 5vw !important;
        font-size: 0.55rem;
        padding: 0.4rem 0.75rem;
      }
    }

    /* Phone-only tightening (must come after the desktop class rules) */
    @media (max-width: 768px) {
      .ov-status { display: none !important; }
      .es-round-hero .es-round-num { font-size: clamp(1.8rem, 8vw, 2.4rem); }
      .pd-stat-num { font-size: clamp(1.6rem, 7vw, 2.4rem); }
      .pd-duo-icon { width: 36px; height: 36px; font-size: 0.9rem; }

      /* Panel 3 phone stacking */
      .es-round.es-round-hero { padding: 0.9rem 1rem; gap: 0.6rem; }
      .es-round-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
      }
      .es-round-hero .es-round-sub {
        font-size: 0.78rem;
        line-height: 1.55;
      }
      .es-topic { font-size: 0.5rem; padding: 0.28rem 0.55rem; }
      .es-round-meter { gap: 0.6rem; font-size: 0.5rem; letter-spacing: 0.16em; }
      .es-langs { gap: 0.45rem; }
      .es-lang-chip { font-size: 0.55rem; padding: 0.3rem 0.7rem; }
      .es-lang-via { font-size: 0.5rem; }
      .es-prize-eyebrow { font-size: 0.55rem; }
      .es-prize-note { font-size: 0.78rem; line-height: 1.6; }
    }

    /* ═════════════════════════════════════════════════════════════════════
       SPECIMEN-CARD DECORATIONS — each event detail page is composed
       like a printed engineering specimen card. Three layers per panel:
         · a distinct background pattern (grid / hatched / arcs)
         · a wax-seal hex stamp carrying the event index
         · corner registration marks + an edition stamp
       Keep these subtle: they read as paper texture, not as UI chrome.
       ════════════════════════════════════════════════════════════════════ */

    /* ── Per-panel background patterns (sit above ::before bloom, below ::after noise) ── */
    .panel-pattern {
      position: absolute; inset: 0;
      pointer-events: none;
      z-index: 0;
      opacity: 0.42;
      mask-image: radial-gradient(ellipse 75% 65% at 50% 55%, #000 35%, transparent 100%);
      -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 55%, #000 35%, transparent 100%);
    }
    .panel-pattern.pat-grid {
      background-image:
        linear-gradient(rgba(255,210,130,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,210,130,0.06) 1px, transparent 1px);
      background-size: 56px 56px, 56px 56px;
    }
    .panel-pattern.pat-hatch {
      background-image: repeating-linear-gradient(
        135deg,
        rgba(255,210,130,0.045) 0,
        rgba(255,210,130,0.045) 1px,
        transparent 1px,
        transparent 12px
      );
    }
    .panel-pattern.pat-arcs {
      background-image:
        radial-gradient(circle at 88% 92%, transparent 18%, rgba(255,210,130,0.06) 18.3%, transparent 18.6%),
        radial-gradient(circle at 88% 92%, transparent 28%, rgba(255,210,130,0.05) 28.3%, transparent 28.6%),
        radial-gradient(circle at 88% 92%, transparent 40%, rgba(255,210,130,0.045) 40.3%, transparent 40.6%),
        radial-gradient(circle at 88% 92%, transparent 54%, rgba(255,210,130,0.04) 54.3%, transparent 54.6%),
        radial-gradient(circle at 88% 92%, transparent 70%, rgba(255,210,130,0.035) 70.3%, transparent 70.6%);
    }

    /* ── Corner registration marks (printer's crosshairs) ── */
    .reg-mark {
      position: absolute;
      width: 22px; height: 22px;
      pointer-events: none;
      z-index: 4;
      opacity: 0.55;
    }
    .reg-mark::before,
    .reg-mark::after {
      content: '';
      position: absolute;
      background: rgba(255,210,130,0.55);
    }
    .reg-mark::before { left: 50%; top: 0; width: 1px; height: 100%; transform: translateX(-0.5px); }
    .reg-mark::after  { top: 50%; left: 0; height: 1px; width: 100%; transform: translateY(-0.5px); }
    .reg-mark > span {
      position: absolute; inset: 50% auto auto 50%;
      width: 9px; height: 9px;
      border: 1px solid rgba(255,210,130,0.55);
      border-radius: 50%;
      transform: translate(-50%, -50%);
    }
    .reg-mark.rm-tl { top: 1.9rem; left: 1.9rem; }
    .reg-mark.rm-tr { top: 1.9rem; right: 1.9rem; }
    .reg-mark.rm-bl { bottom: 1.9rem; left: 1.9rem; }
    .reg-mark.rm-br { bottom: 1.9rem; right: 1.9rem; }

    /* ── Edition stamp: vertical engraving on the left edge of each panel ── */
    .edition-stamp {
      position: absolute;
      left: 2.4rem;
      top: 50%;
      transform: translateY(-50%) rotate(-90deg);
      transform-origin: left center;
      font-family: 'Geist', sans-serif;
      font-size: 0.5rem;
      letter-spacing: 0.48em;
      text-transform: uppercase;
      color: rgba(255,210,130,0.32);
      white-space: nowrap;
      pointer-events: none;
      z-index: 4;
      display: flex;
      align-items: center;
      gap: 0.65em;
    }
    .edition-stamp::before {
      content: '';
      display: inline-block;
      width: 14px; height: 1px;
      background: rgba(255,210,130,0.42);
    }

    /* The wax-seal specimen stamp (top-right hex with the event index)
       was removed by request. Corner reg-marks and the edition stamp
       on the left edge of each panel remain. */

    /* ── Image card corner brackets (Panel 1) ── */
    .ov-card .ov-card-bracket {
      position: absolute;
      width: 22px; height: 22px;
      pointer-events: none;
      z-index: 5;
    }
    .ov-card .ov-card-bracket::before,
    .ov-card .ov-card-bracket::after {
      content: '';
      position: absolute;
      background: var(--amber);
    }
    .ov-card .ov-card-bracket.tl { top: -1px; left: -1px; }
    .ov-card .ov-card-bracket.tl::before { top: 0; left: 0; width: 100%; height: 1px; }
    .ov-card .ov-card-bracket.tl::after  { top: 0; left: 0; width: 1px; height: 100%; }
    .ov-card .ov-card-bracket.tr { top: -1px; right: -1px; }
    .ov-card .ov-card-bracket.tr::before { top: 0; right: 0; width: 100%; height: 1px; }
    .ov-card .ov-card-bracket.tr::after  { top: 0; right: 0; width: 1px; height: 100%; }
    .ov-card .ov-card-bracket.bl { bottom: -1px; left: -1px; }
    .ov-card .ov-card-bracket.bl::before { bottom: 0; left: 0; width: 100%; height: 1px; }
    .ov-card .ov-card-bracket.bl::after  { bottom: 0; left: 0; width: 1px; height: 100%; }
    .ov-card .ov-card-bracket.br { bottom: -1px; right: -1px; }
    .ov-card .ov-card-bracket.br::before { bottom: 0; right: 0; width: 100%; height: 1px; }
    .ov-card .ov-card-bracket.br::after  { bottom: 0; right: 0; width: 1px; height: 100%; }
    .ov-card .ov-card-meta {
      position: absolute;
      bottom: 0.85rem; left: 1rem; right: 1rem;
      display: flex; justify-content: space-between; align-items: baseline;
      font-family: 'Geist', sans-serif;
      font-size: 0.55rem;
      letter-spacing: 0.28em;
      text-transform: uppercase;
      color: rgba(255,210,130,0.72);
      z-index: 5;
      mix-blend-mode: difference;
    }

    /* The wax-seal stamp now anchors panel identity in the top-right,
       so the legacy status pill and team-duo readouts are redundant. */
    .ov-status { display: none; }
    .pd-duo { display: none; }

    /* Mobile adjustments for specimen decorations */
    @media (max-width: 1024px) {
      .reg-mark { width: 16px; height: 16px; }
      .reg-mark.rm-tl { top: 0.9rem; left: 0.9rem; }
      .reg-mark.rm-tr { top: 0.9rem; right: 0.9rem; }
      .reg-mark.rm-bl { bottom: 0.9rem; left: 0.9rem; }
      .reg-mark.rm-br { bottom: 0.9rem; right: 0.9rem; }
      .edition-stamp { left: 1rem; font-size: 0.42rem; letter-spacing: 0.34em; }
      .ov-card .ov-card-meta { font-size: 0.46rem; letter-spacing: 0.22em; }
    }
    @media (max-width: 768px) {
      .edition-stamp { display: none; }
      .reg-mark.rm-bl, .reg-mark.rm-br { display: none; }
      .panel-pattern { opacity: 0.32; }
    }

    @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

    /* ── Top scroll-progress indicator ── */
    .scroll-progress {
      position: fixed;
      top: 0; left: 0;
      height: 2px;
      width: 100%;
      background: linear-gradient(90deg, rgba(255,210,130,0) 0%, rgba(255,210,130,0.06) 50%, rgba(255,210,130,0) 100%);
      z-index: 400;
      pointer-events: none;
    }
    .scroll-progress::after {
      content: ''; display: block;
      height: 100%;
      width: var(--progress, 0%);
      background: linear-gradient(90deg, rgba(255,210,130,0.4), var(--amber) 60%, rgba(255,210,130,0.5));
      box-shadow: 0 0 12px rgba(255,210,130,0.5);
      transform-origin: left center;
      transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    }
    @media (max-width: 768px) { .scroll-progress { height: 1.5px; } }

    /* ── Panel navigation arrows ── */
    .panel-nav {
      position: fixed;
      bottom: 2.4rem;
      left: 50%;
      transform: translateX(-50%) translateY(10px);
      z-index: 300;
      display: flex;
      align-items: center;
      gap: 1.4rem;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.5s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1);
    }
    .panel-nav.visible {
      opacity: 1;
      pointer-events: all;
      transform: translateX(-50%) translateY(0);
    }
    .pnav-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.55rem;
      background: rgba(8,8,8,0.45);
      border: 1px solid rgba(255,255,255,0.22);
      color: rgba(255,255,255,0.68);
      font-family: 'Geist', sans-serif;
      font-weight: 400;
      font-size: 0.6rem;
      letter-spacing: 0.26em;
      text-transform: uppercase;
      padding: 0.65rem 1.2rem;
      cursor: pointer;
      transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
      backdrop-filter: blur(8px);
    }
    .pnav-btn .pnav-arr { transition: transform 0.3s cubic-bezier(0.22,1,0.36,1); display: inline-block; }
    .pnav-btn:hover {
      border-color: rgba(255,210,130,0.7);
      color: var(--amber);
      background: rgba(255,210,130,0.07);
      transform: translateY(-1px);
      box-shadow: 0 8px 22px -12px rgba(255,210,130,0.55);
    }
    .pnav-btn:hover .pnav-arr-prev { transform: translateX(-3px); }
    .pnav-btn:hover .pnav-arr-next { transform: translateX(3px); }
    .pnav-btn:active { transform: translateY(0); transition-duration: 0.1s; }
    .pnav-btn:focus-visible { outline: 1px solid var(--amber); outline-offset: 3px; }
    .pnav-btn:disabled {
      opacity: 0.22;
      pointer-events: none;
      background: transparent;
    }
    /* light panels get dark-tinted buttons */
    .panel-nav.light-panel .pnav-btn {
      border-color: rgba(0,0,0,0.18);
      color: rgba(0,0,0,0.45);
    }
    .panel-nav.light-panel .pnav-btn:hover {
      border-color: #b08800;
      color: #b08800;
      background: rgba(176,136,0,0.06);
    }
    .panel-nav.light-panel .pnav-btn:disabled {
      opacity: 0.15;
    }
    .pnav-dots {
      display: flex;
      gap: 0.45rem;
      align-items: center;
    }
    .pnav-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: rgba(255,255,255,0.25);
      transition: background 0.35s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
      cursor: pointer;
    }
    .pnav-dot:hover { background: rgba(255,210,130,0.55); }
    .panel-nav.light-panel .pnav-dot {
      background: rgba(0,0,0,0.2);
    }
    .pnav-dot.active {
      background: var(--amber);
      transform: scale(1.4);
    }
    .panel-nav.light-panel .pnav-dot.active {
      background: #b08800;
    }

    /* ═════════════════════════════════════════════════════════════════════
       MOBILE: abandon the horizontal-strip paradigm. Native vertical scroll
       through panels stacked top→bottom. Touch users can't swipe horizontally
       reliably and the fixed-stage was trapping all touch input.
       ═════════════════════════════════════════════════════════════════════ */
    @media (max-width: 768px) {
      /* ─────────────────────────────────────────────────────────────────
         Mobile is now a slideshow: html/body cannot scroll, panels are
         absolutely-positioned siblings stacked on top of each other, and
         only the one with .is-active is opaque + interactive. Movement
         between sections happens exclusively via the on-screen buttons
         (hero "Scroll" cue, PREV/NEXT pill, dots, hero ENTER button).
         This matches the desktop "one panel at a time" feel and prevents
         iOS from yanking the reader past the hero on load.
         ───────────────────────────────────────────────────────────────── */
      html, body {
        overflow: hidden !important;
        height: 100vh !important;
        height: 100svh !important;
        width: 100% !important;
        overscroll-behavior: none !important;
        touch-action: none;
      }

      #stage {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100svh !important;
        overflow: hidden !important;
        z-index: 10;
      }
      #strip {
        display: block !important;
        position: relative !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100svh !important;
        transform: none !important;
        will-change: auto !important;
      }
      .panel {
        position: absolute !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100svh !important;
        min-height: 0 !important;
        max-height: 100vh !important;
        max-height: 100svh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
        /* Inactive panels are display:none so the browser skips layout
           and paint for them entirely — without this, all four panels'
           text, images, and decorative SVGs were always rendered.
           Re-opacified to 1 only when active. */
        display: none !important;
        opacity: 1;
        pointer-events: none;
        z-index: 1;
        padding-top: 9rem;     /* matches the nav scrim height — content
                                  starts just below scrim+logo, fully visible */
        padding-bottom: 6rem;  /* room for the fixed panel-nav pill */
      }
      .panel.is-active {
        display: block !important;
        opacity: 1;
        pointer-events: auto;
        z-index: 3;
        animation: panelFadeIn 320ms cubic-bezier(0.22, 1, 0.36, 1);
      }
      @keyframes panelFadeIn {
        from { opacity: 0; }
        to   { opacity: 1; }
      }
      /* The fixed nav-logo sits over the top-left corner of every panel.
         A soft top fade hides content scrolling underneath it so the EXYP
         wordmark stays readable instead of colliding with headings. */
      #navTopScrim {
        position: fixed;
        top: 0; left: 0; right: 0;
        height: 9rem;
        background: linear-gradient(180deg,
          rgba(8, 8, 8, 0.95) 0%,
          rgba(8, 8, 8, 0.78) 55%,
          rgba(8, 8, 8, 0) 100%);
        z-index: 195;
        pointer-events: none;
      }
      /* Hero panel keeps the curtain animation on mobile too — it just
         auto-plays on load (driven by JS) instead of waiting for a
         horizontal wheel event that touch users can't generate. Use the
         "small viewport height" unit so the hero stays exactly one
         visible screen no matter the URL-bar state on iOS — `100vh`
         counted the URL bar OUT, leaving an extra strip of hero that
         hid the next section's edge and made manual scroll feel like
         "nothing happens". */
      #panel-hero {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        overflow: hidden !important;
        touch-action: none;
      }
      /* Two-stage hero on mobile (mirrors the laptop scroll experience):
           • Stage 1 (default)      — curtain text visible ("Think fast." /
             "Move faster."). Title hidden behind the curtains.
           • Stage 2 ('hero-stage-title') — curtains slide away, title is
             revealed (event name + CTA).
         The "Scroll" cue advances curtain → title on first tap, then
         title → Overview on the second tap. Coming back to the hero via
         PREV jumps straight to the title stage (we don't replay the
         curtain — the reader already saw it). */

      /* Stage 1: curtain shown, title hidden. */
      #panel-hero .reveal-title {
        opacity: 0 !important;
        transform: scale(0.94) !important;
        pointer-events: none !important;
        transition: opacity 700ms ease, transform 700ms ease;
      }
      #panel-hero .curtain-top {
        opacity: 1 !important;
        transform: translateY(0) !important;
        transition: opacity 700ms ease, transform 900ms cubic-bezier(0.65, 0, 0.35, 1);
      }
      #panel-hero .curtain-bot {
        opacity: 1 !important;
        transform: translateY(0) !important;
        transition: opacity 700ms ease, transform 900ms cubic-bezier(0.65, 0, 0.35, 1);
      }
      #panel-hero #seam {
        opacity: 1 !important;
        transition: opacity 500ms ease;
      }

      /* Stage 2: curtain slides away, title revealed. */
      #panel-hero.hero-stage-title .reveal-title {
        opacity: 1 !important;
        transform: scale(1) !important;
      }
      #panel-hero.hero-stage-title .curtain-top {
        opacity: 0 !important;
        transform: translateY(-105%) !important;
      }
      #panel-hero.hero-stage-title .curtain-bot {
        opacity: 0 !important;
        transform: translateY(105%) !important;
      }
      #panel-hero.hero-stage-title #seam {
        opacity: 0 !important;
      }

      /* The CTA inside the title overlay must stay tappable in stage 2
         even though the overlay is pointer-events: none. */
      #panel-hero.hero-stage-title .reveal-cta {
        pointer-events: auto !important;
        touch-action: manipulation;
      }
      /* Without this, `revealTitle` (`position: absolute; inset: 0`) and
         its JS-set inline `pointer-events: all` covered the entire hero
         and could swallow swipe attempts on iOS. Now the title overlay
         passes touches through and only the CTA button itself captures
         clicks. !important defeats the inline style set by updateHero. */
      .reveal-title { pointer-events: none !important; }
      .reveal-cta { pointer-events: all !important; touch-action: manipulation; }
      /* Belt-and-braces — explicitly allow vertical panning across the
         whole document so no nested element can disable it. */
      html, body, #stage, #strip, .panel { touch-action: pan-y; }


      /* Lift headings/cards out of absolute layout so they flow with the page. */
      .ov-real,
      .ov-ghost-clip {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        margin: 1rem 5vw 1.2rem !important;
        max-width: 90vw !important;
        width: auto !important;
      }
      .ov-ghost-clip { display: none !important; }
      #panel-participants .ov-real,
      #panel-structure .ov-real { top: auto !important; }

      .ov-bottom {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        max-height: none !important;
        overflow: visible !important;
        margin: 0.5rem 5vw 1rem !important;
        max-width: 90vw !important;
        padding-right: 0 !important;
      }
      .ov-card {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        transform: none !important;
        margin: 1rem auto 1.5rem !important;
        width: min(90vw, 420px) !important;
      }

      /* Keep the PREV/NEXT panel-nav visible on mobile too — it's now
         the reliable way for the reader to move between sections when
         native momentum scroll feels fiddly. The dots double as a
         "where am I" indicator. */
      .panel-nav {
        bottom: 1.2rem;
        gap: 0.7rem;
      }
      .panel-nav .pnav-btn {
        padding: 0.5rem 0.95rem;
        font-size: 0.55rem;
        letter-spacing: 0.22em;
      }
      .scroll-progress { display: none !important; }
      /* The "This way → / To see what we built." cue is a desktop-only
         affordance — on mobile the persistent scroll pill is the cue. */
      .scroll-hint { display: none !important; }

      /* Hero scroll-down button — the ONLY navigation control while the
         user is on the first section. Tapping it smooth-scrolls to the
         Event Overview panel. Hidden once the user is past the hero. */
      #mobileScrollCue {
        position: fixed;
        bottom: 1.4rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 250;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.7rem 1.25rem 0.75rem;
        font-family: 'Geist', sans-serif;
        font-size: 0.6rem;
        letter-spacing: 0.28em;
        text-transform: uppercase;
        color: rgba(255, 210, 130, 0.95);
        background: rgba(8, 8, 8, 0.72);
        border: 1px solid rgba(255, 210, 130, 0.55);
        border-radius: 999px;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        cursor: pointer;
        opacity: 0;
        transition: opacity 0.45s ease;
        box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5), 0 0 18px rgba(255, 210, 130, 0.18);
      }
      #mobileScrollCue.visible { opacity: 1; }
      #mobileScrollCue .msc-arrow {
        display: inline-block;
        font-size: 0.95rem;
        line-height: 1;
        animation: mscBounce 1.8s ease-in-out infinite;
      }
      @keyframes mscBounce {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(3px); }
      }
    }
    @media (min-width: 769px) {
      #mobileScrollCue { display: none !important; }
      #navTopScrim { display: none !important; }
    }
