/* LvlUp Ecosystem Initiatives: one system, a different stage per event.
   Tokens: each neutral has ONE job (NEVER-LOOK-VIBE-CODED, "name every neutral").
   Signature primitive, repeated on purpose: the PLAYHEAD, a hairline track with a lit dot and a mono timecode.
   It runs the hero film (0:00 to 2:00), the running order, the registration steps and the countdown. */

@font-face { font-family: Satoshi; src: url(/assets/fonts/satoshi-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Satoshi; src: url(/assets/fonts/satoshi-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Satoshi; src: url(/assets/fonts/satoshi-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: Satoshi; src: url(/assets/fonts/satoshi-900.woff2) format('woff2'); font-weight: 900; font-display: swap; }

:root {
  --stage: #09080b;      /* page ground: the black stage */
  --s1: #121015;         /* section / card surface, one step up */
  --s2: #1a171e;         /* raised: hovered cards, the perk ticket */
  --s3: #26222b;         /* controls at rest, the playhead track */
  --line: rgba(255, 255, 255, .08);   /* hairline dividers */
  --line2: rgba(255, 255, 255, .16);  /* borders on controls */
  --t1: #f3eff4;         /* primary text (never pure white) */
  --t2: #bdb5c2;         /* secondary text, 9.6:1 on --stage */
  --t3: #948c9a;         /* labels and captions, 6.1:1 on --stage */
  --orchid: #b063ae;     /* LvlUp orchid: the primary action ONLY */
  --orchid-hi: #c68ac4;  /* its hover */
  --ink: #140416;        /* text on orchid, 5.2:1 */
  --plum: #4a1140;       /* the spotlight's colour temperature, never a fill */
  --paper: #f5f2f5;      /* the one light chapter: the registration ticket */
  --paper-t1: #1c1422;
  --paper-t2: #5b5261;
  --paper-line: #e3dce6;

  --sans: Satoshi, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  /* type scale, 7 steps */
  --f-xs: 13px; --f-s: 15px; --f-m: 17px; --f-l: 21px; --f-xl: clamp(28px, 3.4vw, 36px);
  --f-2xl: clamp(40px, 6.2vw, 72px); --f-3xl: clamp(46px, 8vw, 108px);
  --r: 14px;             /* the one card radius */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(20px, 5vw, 56px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--stage); color: var(--t1); font: 400 var(--f-m)/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 84px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--orchid); color: var(--ink); }
:focus-visible { outline: 2px solid var(--orchid-hi); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: 0; font-variant-numeric: tabular-nums; }

/* ---------- type ---------- */
.h-xl { font: 900 var(--f-2xl)/1.02 var(--sans); letter-spacing: -.035em; margin: 0; text-wrap: balance; }
.h-l { font: 900 var(--f-xl)/1.1 var(--sans); letter-spacing: -.025em; margin: 0; text-wrap: balance; }
.lede { font-size: var(--f-l); line-height: 1.45; color: var(--t2); margin: 0; max-width: 34ch; text-wrap: pretty; }
.body { color: var(--t2); margin: 0; max-width: 58ch; text-wrap: pretty; }
.label { font: 500 var(--f-xs)/1.4 var(--sans); color: var(--t3); margin: 0; }

/* ---------- the primary action ---------- */
.cta { --h: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 30px; border-radius: 999px;
  background: var(--orchid); color: var(--ink); font: 700 var(--f-m)/1 var(--sans); text-decoration: none; border: 0; cursor: pointer; position: relative;
  transition: background .2s var(--ease), transform .2s var(--ease); -webkit-tap-highlight-color: transparent; }
.cta:hover { background: var(--orchid-hi); }
.cta:active { transform: scale(.97); }
.cta svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.cta:hover svg { transform: translateX(3px); }
.quiet { display: inline-flex; align-items: center; min-height: 44px; color: var(--t1); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line2); padding-top: 2px; transition: border-color .2s var(--ease); }
.quiet:hover { border-color: var(--t1); }
.btn-line { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line2);
  color: var(--t1); text-decoration: none; font-weight: 700; font-size: var(--f-s); transition: background .2s var(--ease), border-color .2s var(--ease); }
.btn-line:hover { background: var(--s2); border-color: rgba(255, 255, 255, .3); }
.btn-line:active { transform: scale(.98); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter);
  transition: background .3s var(--ease), border-color .3s var(--ease); border-bottom: 1px solid transparent; }
.nav.stuck { background: rgba(9, 8, 11, .82); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); border-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand img { width: 118px; height: auto; }
.brand .x { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; color: var(--t2); font-weight: 500; font-size: var(--f-s); }
.brand .x::before { content: ''; width: 1px; height: 18px; background: var(--line2); }
.nav .quiet { font-size: var(--f-s); border-color: transparent; }
.nav .quiet:hover { border-color: var(--t1); }
@media (max-width: 520px) { .brand { gap: 10px; } .brand img { width: 92px; } .brand .x { gap: 10px; font-size: 13px; } }
@media (max-width: 340px) { .brand .x { display: none; } }

/* ---------- the playhead (signature) ---------- */
.playhead { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; }
.playhead .track { position: relative; height: 2px; background: var(--s3); border-radius: 2px; }
.playhead .track i { position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 100%); background: var(--t1); border-radius: 2px; }
.playhead .track b { position: absolute; top: 50%; left: calc(var(--p, 0) * 100%); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--t1); box-shadow: 0 0 0 4px rgba(243, 239, 244, .12); }
.playhead .tc { font-size: var(--f-xs); color: var(--t2); min-width: 4ch; }
.playhead .tc:last-child { color: var(--t3); text-align: right; }

/* ---------- 1. hero film ---------- */
.film { position: relative; height: 420svh; }
.film-stick { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.film-media { position: absolute; inset: 0; }
.film-media img, .film-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-media canvas { opacity: 0; transition: opacity .6s var(--ease); }
.film.ready .film-media canvas { opacity: 1; }
/* the stage light: a warm plum spotlight falling from above, and the floor fading to black */
.film-media::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(9, 8, 11, .72) 0%, rgba(9, 8, 11, .35) 38%, rgba(9, 8, 11, 0) 60%),
    linear-gradient(180deg, rgba(9, 8, 11, .55) 0%, rgba(9, 8, 11, 0) 22%, rgba(9, 8, 11, 0) 50%, rgba(9, 8, 11, .92) 86%, var(--stage) 100%); }
@media (max-aspect-ratio: 1/1) {
  .film-media::after { background: linear-gradient(180deg, rgba(9, 8, 11, .5) 0%, rgba(9, 8, 11, 0) 12%, rgba(9, 8, 11, 0) 38%, rgba(9, 8, 11, .9) 62%, var(--stage) 72%); }
  .film-media img { object-fit: contain; object-position: 50% 56px; }
}
.film-copy { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; padding: 0 var(--gutter) calc(env(safe-area-inset-bottom) + 96px); pointer-events: none; }
.film-copy > * { pointer-events: auto; }
.beat { grid-area: 1 / 1; width: min(var(--max), 100%); margin-inline: auto; opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity .55s var(--ease), transform .55s var(--ease), filter .55s var(--ease); visibility: hidden; }
.beat.on { opacity: 1; transform: none; filter: none; visibility: visible; }
.beat-0 .h-xl { font-size: var(--f-3xl); max-width: 11ch; }
.beat-0 .meta { margin: 18px 0 0; font: 500 var(--f-l)/1.35 var(--sans); color: var(--t1); }
.beat-0 .meta .sep { color: var(--t3); padding: 0 .1em; }
.beat-0 .meta .mg { white-space: nowrap; }
@media (max-width: 620px) { .beat-0 .meta .mg { display: block; } .beat-0 .meta .gsep { display: none; } }
.beat-0 .meta i { font-style: normal; }
.beat-0 .row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 24px; }
.beat-0 .entry { margin: 10px 0 0; color: var(--t2); font-size: var(--f-m); }
.beat .kicker-line { font: 500 var(--f-l)/1.4 var(--sans); color: var(--t2); margin: 14px 0 0; max-width: 42ch; text-wrap: balance; }
.beat-0 { padding-bottom: 0; }
@media (max-aspect-ratio: 1/1) {
  .film-copy { padding-bottom: calc(env(safe-area-inset-bottom) + 84px); }
  .beat:not(.beat-0) { align-self: start; margin-top: min(calc(56px + 125vw - 20px), calc(100svh - 330px)); }
  .beat-0 { align-self: end; margin-bottom: -60px; }
  .beat-0 .h-xl { font-size: clamp(40px, 12vw, 56px); }
}
.film-foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 0 calc(env(safe-area-inset-bottom) + 22px); pointer-events: none; opacity: 0; transition: opacity .4s var(--ease); }
.film.playing .film-foot { opacity: 1; }
.film-foot .wrap { display: grid; gap: 10px; }
.film-foot .label { max-width: none; }
.scroll-hint { display: inline-flex; align-items: center; gap: 10px; color: var(--t3); font-size: var(--f-xs); }
.scroll-hint i { width: 1px; height: 26px; background: linear-gradient(var(--t3), transparent); animation: drip 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* countdown: days only until the start time is announced */
.count { display: inline-flex; align-items: baseline; gap: 10px; }
.count .n { font: 900 40px/1 var(--sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; display: inline-block; }
.count .n.tickin { animation: flip .5s var(--ease); }
@keyframes flip { 0% { transform: translateY(40%); opacity: 0; filter: blur(4px); } 100% { transform: none; opacity: 1; filter: none; } }
.count .u { color: var(--t2); font-weight: 500; }

/* no JS or reduced motion: a still, not a film */
.static .film, .no-js .film { height: auto; }
.static .film-stick, .no-js .film-stick { position: relative; height: auto; min-height: 100svh; }
.static .film-copy, .no-js .film-copy { position: relative; min-height: 100svh; padding-top: 120px; }
.static .beat, .no-js .beat { grid-area: auto; opacity: 1; transform: none; filter: none; visibility: visible; }
.static .beat:not(.beat-0), .no-js .beat:not(.beat-0) { display: none; }

/* ---------- scenes ---------- */
.scene { position: relative; padding: clamp(96px, 14vw, 168px) 0; overflow-x: clip; }
.scene + .scene { border-top: 1px solid var(--line); }
.scene-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }

/* reveal: fail-open (anything above the fold shows at once, and a global timer shows the rest) */
.js [data-r] { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-r].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-r] { opacity: 1; transform: none; transition: none; } }

/* ---------- 2. what you leave with ---------- */
.leave { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; }
.leave .scene-head { grid-column: 1 / span 5; align-self: start; position: sticky; top: 110px; }
.leave ol { grid-column: 7 / span 6; list-style: none; margin: 0; padding: 0; counter-reset: l; }
.leave li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; padding: 26px 0; border-top: 1px solid var(--line); counter-increment: l; }
.leave li:last-child { border-bottom: 1px solid var(--line); }
.leave li::before { content: counter(l, decimal-leading-zero); font: 500 var(--f-xs)/2.2 var(--mono); color: var(--t3); grid-row: span 2; }
.leave li b { font: 700 var(--f-l)/1.3 var(--sans); letter-spacing: -.01em; }
.leave li span { color: var(--t2); }
.ticket { grid-column: 7 / span 6; margin-top: 28px; display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; align-items: center; padding: 22px 24px; border-radius: var(--r);
  background: #fff; color: #000; position: relative; }
.ticket::before, .ticket::after { content: ''; position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--stage); }
.ticket::before { left: -9px; } .ticket::after { right: -9px; }
.ticket .ub { grid-row: span 2; font: 900 15px/1 var(--sans); letter-spacing: -.01em; padding: 10px 12px; background: #000; color: #fff; border-radius: 8px; }
.ticket b { font: 900 var(--f-l)/1.2 var(--sans); letter-spacing: -.015em; }
.ticket span { color: #4b4b4b; font-size: var(--f-s); }
@media (max-width: 860px) {
  .leave .scene-head, .leave ol, .ticket { grid-column: 1 / -1; }
  .leave .scene-head { position: static; }
}

/* ---------- 3. judges ---------- */
.judges-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.judge { position: relative; border-radius: var(--r); background: var(--s1); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease), border-color .3s var(--ease); transform-style: preserve-3d; }
.judge.live { transition: transform .08s linear, border-color .3s var(--ease); }
.judge:hover { border-color: var(--line2); }
.judge .light { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 55% at var(--mx, 50%) var(--my, 0%), rgba(198, 138, 196, .30), rgba(74, 17, 64, .22) 45%, transparent 75%); transition: opacity .4s var(--ease); }
.judge .ph { aspect-ratio: 4 / 4.2; display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 62%, transparent 94%); mask-image: linear-gradient(#000 62%, transparent 94%); }
.judge .ph img { -webkit-mask-image: linear-gradient(#000 72%, transparent 99%); mask-image: linear-gradient(#000 72%, transparent 99%); width: 78%; height: auto; max-height: 100%; object-fit: contain; object-position: bottom; transform: translateZ(30px) translateY(calc(var(--lift, 0) * -1%)) scale(var(--s, 1)); transform-origin: 50% 100%; filter: saturate(.92) contrast(1.02); }
.judge .who { padding: 4px 22px 24px; display: grid; gap: 6px; }
.judge .who b { font: 700 var(--f-l)/1.2 var(--sans); letter-spacing: -.01em; }
.judge .who span { color: var(--t2); font-size: var(--f-s); line-height: 1.45; }
@media (max-width: 860px) {
  .judges-grid { grid-template-columns: 1fr; gap: 14px; }
  .judge { display: grid; grid-template-columns: 116px 1fr; align-items: end; }
  .judge .ph { aspect-ratio: auto; height: 132px; }
  .judge .ph img { width: 100%; }
  .judge .who { padding: 18px 18px 18px 4px; align-self: center; }
}

/* ---------- 4. running order ---------- */
.order { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 40px 0 0; }
.order::before { content: ''; position: absolute; top: 5px; left: 5px; right: 0; height: 2px; background: var(--s3); }
.order::after { content: ''; position: absolute; top: 5px; left: 5px; height: 2px; width: calc(var(--p, 0) * (100% - 5px)); background: var(--t1); transition: width 1.4s var(--ease); }
.order li { position: relative; display: grid; gap: 6px; align-content: start; }
.order li::before { content: ''; position: absolute; top: -40px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--stage); border: 2px solid var(--s3); transition: border-color .4s var(--ease), background .4s var(--ease); transition-delay: calc(var(--i) * 280ms); z-index: 1; }
.order.in li::before { border-color: var(--t1); background: var(--t1); }
.order .tc { font-size: var(--f-xs); color: var(--t3); }
.order b { font: 700 var(--f-l)/1.3 var(--sans); }
.order span { color: var(--t2); font-size: var(--f-s); }
.tba { display: inline-flex; align-items: center; gap: 10px; margin-top: 40px; color: var(--t2); font-size: var(--f-s); }
.tba::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--t3); }
@media (max-width: 760px) {
  .order { grid-template-columns: 1fr; gap: 30px; padding: 0 0 0 34px; }
  .order::before { top: 6px; bottom: 6px; left: 5px; right: auto; width: 2px; height: auto; }
  .order::after { top: 6px; left: 5px; width: 2px; height: calc(var(--p, 0) * (100% - 12px)); transition: height 1.4s var(--ease); }
  .order li::before { top: 4px; left: -34px; }
}

/* ---------- 5. proof ---------- */
.stats { display: flex; flex-wrap: wrap; gap: 14px 48px; margin: 0 0 clamp(48px, 7vw, 80px); padding: 0; }
.stats div { display: grid; gap: 2px; }
.stats dt { font: 900 clamp(34px, 4.4vw, 52px)/1 var(--sans); letter-spacing: -.03em; }
.stats dd { margin: 0; color: var(--t2); font-size: var(--f-s); max-width: 26ch; }
.moment { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
.moment figure { grid-column: 1 / span 7; margin: 0; position: relative; border-radius: var(--r); overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.moment video, .moment figure img { width: 100%; height: 100%; object-fit: cover; }
.moment figure::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--r); pointer-events: none; }
.moment blockquote { grid-column: 8 / span 5; margin: 0; display: grid; gap: 16px; }
.moment q { font: 900 clamp(30px, 3.6vw, 46px)/1.08 var(--sans); letter-spacing: -.03em; quotes: '“' '”'; text-wrap: balance; }
.moment cite { font-style: normal; color: var(--t2); font-size: var(--f-s); }
.second-q { margin: clamp(56px, 8vw, 96px) 0 0 auto; max-width: 720px; display: grid; gap: 14px; padding-left: 26px; border-left: 0; position: relative; }
.second-q::before { content: '“'; position: absolute; left: -6px; top: -18px; font: 900 72px/1 var(--sans); color: var(--s3); }
.second-q q { font: 700 clamp(24px, 2.6vw, 32px)/1.25 var(--sans); letter-spacing: -.02em; quotes: none; }
@media (max-width: 860px) { .moment figure, .moment blockquote { grid-column: 1 / -1; } .second-q { margin-left: 0; } }

.voices { overflow: hidden; margin-top: clamp(56px, 8vw, 96px); }
.voices-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.rail { display: flex; gap: 16px; width: max-content; animation: slide 90s linear infinite; padding: 4px 0 8px; }
.voices:hover .rail, .rail:focus-within { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(calc(-50% - 8px)); } }
.voices-view { contain: inline-size; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.post { flex: none; width: min(360px, 78vw); display: grid; grid-template-rows: auto auto 1fr; align-content: start; gap: 14px; padding: 22px; border-radius: var(--r); background: var(--s1); border: 1px solid var(--line);
  text-decoration: none; color: var(--t1); transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.post:hover { background: var(--s2); border-color: var(--line2); transform: translateY(-3px); }
.post .who { font-weight: 700; font-size: var(--f-s); }
.post .who span { display: block; color: var(--t3); font-weight: 500; font-size: var(--f-xs); margin-top: 2px; }
.post .t { color: var(--t2); font-size: var(--f-s); line-height: 1.55; margin: 0; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.post .win { color: var(--t1); font-size: var(--f-s); font-weight: 500; margin: 0; }
.post .go { font-size: var(--f-xs); color: var(--t3); align-self: end; }
@media (prefers-reduced-motion: reduce) { .rail { animation: none; overflow-x: auto; width: auto; scroll-snap-type: x mandatory; } .rail > * { scroll-snap-align: start; } .rail [aria-hidden] { display: none; } }

.labs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; align-items: start; }
.labs figure { margin: 0; padding: 26px; border-radius: var(--r); background: var(--s1); border: 1px solid var(--line); display: grid; gap: 16px; align-content: space-between; }
.labs blockquote { margin: 0; font: 500 var(--f-l)/1.45 var(--sans); letter-spacing: -.01em; color: var(--t1); }
.labs figcaption { color: var(--t3); font-size: var(--f-xs); }
@media (max-width: 900px) { .labs { grid-template-columns: 1fr; } }

.winners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.winners figure { margin: 0; display: grid; gap: 10px; }
.winners img { width: 100%; height: auto; border-radius: 10px; aspect-ratio: 1080 / 1127; object-fit: cover; }
.winners figcaption { color: var(--t3); font-size: var(--f-xs); }
@media (max-width: 860px) { .winners { grid-template-columns: repeat(4, 64%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; } .winners figure { scroll-snap-align: start; } }

/* ---------- 6. register: the one light chapter ---------- */
.register { background: var(--paper); color: var(--paper-t1); }
.scene.register { border-top: 0; }
.register .body, .register .lede { color: var(--paper-t2); }
.register .label { color: var(--paper-t2); }
.steps { list-style: none; margin: 0 0 clamp(40px, 6vw, 64px); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; align-items: start; }
.steps li { counter-increment: s; display: grid; gap: 8px; padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--paper-line); }
.steps li::before { content: '0' counter(s); font: 500 var(--f-xs)/1 var(--mono); color: var(--paper-t2); margin-bottom: 8px; }
.steps b { font: 700 var(--f-m)/1.3 var(--sans); }
.steps span { color: var(--paper-t2); font-size: var(--f-s); }
.steps .ubtn { margin-top: 10px; justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: #000; color: #fff; text-decoration: none; font-weight: 700; font-size: var(--f-s); transition: background .2s var(--ease); }
.steps .ubtn:hover { background: #2a2a2a; }
.steps .ubtn:active { transform: scale(.98); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.form-card { position: relative; border-radius: var(--r); background: #fff; border: 1px solid var(--paper-line); overflow: hidden; }
.form-card .loading { position: absolute; left: 0; right: 0; top: 56px; display: grid; justify-items: center; gap: 14px; color: var(--paper-t2); font-size: var(--f-s); }
.form-card .loading i { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--paper-line); border-top-color: var(--paper-t1); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.form-card iframe { position: relative; opacity: 0; transition: opacity .5s var(--ease); }
.form-card.loaded iframe { opacity: 1; }
.form-card.loaded .loading { display: none; }
.form-card iframe { display: block; width: 100%; border: 0; height: var(--fh, 1500px); background: #fff; }
@media (max-width: 700px) { .form-card iframe { height: var(--fh-m, 2050px); } }
.form-alt { margin: 14px 0 0; color: var(--paper-t2); font-size: var(--f-s); }
.form-alt a { color: var(--paper-t1); font-weight: 700; }

/* ---------- 6a. email sign-up: the soft step just before the registration chapter (Julev 10/13) ----------
   Same grid as "what you walk away with" (5 + 6 of 12), the page's pill controls at the CTA's 54px, and an off-white button so
   orchid stays the Register colour only. No JS: the function 303s back to #signup-thanks / #signup-error and :target shows it. */
.scene.signup { padding: clamp(72px, 10vw, 120px) 0; }
.signup .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px 24px; align-items: center; }
.signup-head { grid-column: 1 / span 5; display: grid; gap: 14px; }
.signup-head .body { max-width: 34ch; }
.signup-box { grid-column: 7 / span 6; position: relative; }
.signup-form { display: grid; gap: 10px; }
.signup-form label { color: var(--t2); font: 500 var(--f-s)/1.4 var(--sans); }
.signup-row { display: flex; gap: 10px; }
.signup-row input { flex: 1 1 auto; min-width: 0; height: 54px; margin: 0; padding: 0 22px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .4); background: var(--s1);
  color: var(--t1); font: 500 var(--f-m)/1.2 var(--sans); transition: border-color .2s var(--ease), background .2s var(--ease); }
.signup-row input::placeholder { color: var(--t3); opacity: 1; }
.signup-row input:focus { outline: none; border-color: var(--t2); background: var(--s2); }
.signup-row :is(input, button):focus-visible { outline: 2px solid var(--orchid-hi); outline-offset: 3px; border-radius: 999px; }
.signup-row button { flex: none; height: 54px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--t1); color: var(--stage); font: 700 var(--f-m)/1 var(--sans);
  cursor: pointer; transition: background .2s var(--ease), transform .2s var(--ease); -webkit-tap-highlight-color: transparent; }
@media (hover: hover) { .signup-row input:hover { border-color: rgba(255, 255, 255, .55); } .signup-row button:hover { background: #fff; } }
.signup-row button:active { transform: scale(.97); }
.signup-row button[disabled] { cursor: progress; opacity: .7; }
.signup-form .fine { margin-top: 4px; }
/* the honeypot: off screen, never display:none (some bots skip hidden fields) */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.signup-note, .signup-msg { margin: 0; padding: 16px 20px; border-radius: var(--r); background: var(--s2); border: 1px solid var(--line2); color: var(--t1); font: 500 var(--f-m)/1.45 var(--sans); text-wrap: pretty; }
.signup-note { display: none; }
/* the live region stays in the accessibility tree while empty (display:none would mute the announcement), it just takes no space */
.signup-msg:empty { padding: 0; border: 0; margin: 0; }
.signup-note:target { display: block; outline: none; }
.signup-note.err:target, .signup-msg.err { display: flex; align-items: flex-start; gap: 10px; }
.signup-note.ok:target ~ .signup-form, .signup-box.sent .signup-form { display: none; }
.signup-note.err { margin-bottom: 14px; }
.signup-msg.err { margin-top: 14px; }
.signup-msg:focus { outline: none; }
.signup-note.err, .signup-msg.err { border-color: rgba(240, 128, 128, .45); }
.signup-note.err::before, .signup-msg.err::before { content: ''; flex: none; width: 8px; height: 8px; margin-top: calc(.725em - 4px); border-radius: 50%; background: #f08080; }
@media (max-width: 860px) { .signup-head, .signup-box { grid-column: 1 / -1; } }
@media (max-width: 560px) { .signup-row { flex-direction: column; } .signup-row button { width: 100%; } }

/* ---------- 6b. the same sign-up in the hero, one step under Register (Kris via Julev 10/14) ----------
   The band's form and controls, ranked second: Register keeps the one orchid fill and the 54px height, this row is 48px and its
   button is a control at rest (s3) wearing the input's own border, never the band's off-white fill, which would outshine orchid. */
.hero-signup { position: relative; max-width: 470px; margin-top: clamp(22px, 3.4vh, 30px); }
.hero-signup .signup-row input, .hero-signup .signup-row button { height: 48px; }
.hero-signup .signup-row button { padding: 0 22px; border: 1px solid rgba(255, 255, 255, .4); background: var(--s3); color: var(--t1); font-size: var(--f-s); }
@media (hover: hover) { .hero-signup .signup-row button:hover { background: var(--s3); border-color: var(--t1); } }
.hero-signup.sent .signup-form { display: none; }
/* phones: the email row stacks full width (the band's own 560px rule), so Register goes full width too and stays the largest control */
@media (max-width: 560px) { .top .row .cta { width: 100%; } }

/* ---------- 7. fit + faq ---------- */
.fit { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.fit > div { grid-column: 1 / span 5; display: grid; gap: 18px; align-content: start; }
.fit .faq { grid-column: 7 / span 6; }
.fine { color: var(--t3); font-size: var(--f-xs); line-height: 1.6; max-width: 52ch; margin: 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 64px; padding: 16px 0; font: 700 var(--f-m)/1.35 var(--sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; position: relative; width: 14px; height: 14px; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--t2); transition: transform .3s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq summary:hover i::before, .faq summary:hover i::after { background: var(--t1); }
.faq .a { overflow: hidden; }
.faq .a p { margin: 0 0 20px; color: var(--t2); max-width: 56ch; }
@media (max-width: 860px) { .fit > div, .fit .faq { grid-column: 1 / -1; } }

/* ---------- 8. final ---------- */
.final { text-align: left; overflow: hidden; }
.final .stage-light { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); pointer-events: none; }
.final .stage-light.lit { opacity: 1; }
.final .stage-light.nogl { opacity: 1; background: radial-gradient(45% 70% at 72% 0%, rgba(176, 99, 174, .28), rgba(74, 17, 64, .35) 40%, transparent 75%); }
.final { display: grid; align-items: center; }
@media (min-width: 761px) { .final { min-height: 86svh; } }
.final::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(9, 8, 11, .7) 0%, rgba(9, 8, 11, .15) 55%, transparent); }
.final .wrap { z-index: 1; }
.final .wrap { position: relative; display: grid; gap: 26px; }
.final .h-xl { font-size: var(--f-3xl); max-width: 12ch; }
.final .row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

/* ---------- 9. more initiatives ---------- */
.more { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.more a { display: grid; gap: 10px; align-content: space-between; min-height: 176px; padding: 22px; border-radius: var(--r); background: var(--s1); border: 1px solid var(--line); text-decoration: none; transition: background .25s var(--ease), border-color .25s var(--ease); }
.more a:hover { background: var(--s2); border-color: var(--line2); }
.more a b { font: 700 var(--f-m)/1.3 var(--sans); }
.more a .label { color: var(--t3); }
.more a .go { color: var(--t2); font-size: var(--f-s); display: inline-flex; gap: 6px; align-items: center; }
.more a:hover .go { color: var(--t1); }
@media (max-width: 960px) { .more { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .more { grid-template-columns: 1fr; } .more a { min-height: 0; } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.foot img { width: 118px; height: auto; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.foot nav a { color: var(--t2); text-decoration: none; font-size: var(--f-s); min-height: 44px; display: inline-flex; align-items: center; }
.foot nav a:hover { color: var(--t1); }

/* ---------- sticky mobile CTA ---------- */
.dock { position: fixed; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 60; display: none; align-items: center; gap: 14px;
  padding: 6px 6px 6px 16px; border-radius: 999px; background: rgba(26, 23, 30, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--line2);
  transform: translateY(140%); transition: transform .45s var(--ease); }
.dock.on { transform: none; }
.dock .d { font-size: var(--f-xs); color: var(--t2); line-height: 1.3; }
.dock .d b { display: block; color: var(--t1); font-size: var(--f-s); }
.dock .cta { --h: 44px; padding: 0 18px; font-size: var(--f-s); }
.dock .cta svg { display: none; }
@media (max-width: 760px) { .dock { display: flex; } }

/* confetti canvas */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 80; width: 100%; height: 100%; }

/* if the script never runs, nothing stays hidden: every reveal lands on its own after 3s */
@keyframes failopen { to { opacity: 1; transform: none; } }
.js:not(.fx) [data-r] { animation: failopen .01s 3s forwards; }

/* headings arrive out of focus and sharpen (21st.dev #18544 blur reveal, applied to the whole line so words never split) */
.js .scene-head[data-r] .h-xl, .js .scene-head[data-r] .h-l, .js .final .h-xl[data-r] { filter: blur(10px); transition: filter .9s var(--ease); }
.js .scene-head[data-r].in .h-xl, .js .scene-head[data-r].in .h-l, .js .final .h-xl[data-r].in { filter: none; }
.js:not(.fx) .scene-head[data-r] .h-xl { filter: none; }
@media (prefers-reduced-motion: reduce) { .js .scene-head[data-r] .h-xl, .js .scene-head[data-r] .h-l, .js .final .h-xl[data-r] { filter: none; } }
/* the quote lights up word by word as it scrolls through (21st.dev #24525) */
[data-words] .w { opacity: var(--o, 1); transition: opacity .15s linear; }

/* where the user ID lives: a drawn address bar, not a fake screenshot */
.addr { display: flex; flex-wrap: wrap; align-items: center; margin-top: 6px; padding: 10px 12px; border-radius: 10px; background: var(--paper); border: 1px solid var(--paper-line);
  font: 500 12.5px/1.6 var(--mono); color: var(--paper-t2); }
.addr span, .addr mark { white-space: nowrap; }
.addr mark { background: var(--paper-t1); color: #fff; border-radius: 5px; padding: 1px 6px; margin: 0 1px; }

/* the tilt must outrank the reveal's resting transform (.js [data-r].in sets transform:none) */
.js .judge[data-r].in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

@media (max-width: 520px) { .ticket { grid-template-columns: 1fr; gap: 8px; padding: 22px 26px; } .ticket .ub { grid-row: auto; justify-self: start; margin-bottom: 6px; } }
