@font-face { font-family: "Geist Pixel"; src: url("/fonts/geist-pixel-square.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/geist-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/geist-medium.woff") format("woff"); font-weight: 500; font-display: swap; }

:root {
  --black: #000;
  --ink: #0a0a0a;
  --chalk: #ededed;
  --chalk-soft: #a1a1a1;
  --chalk-dim: #3d3d3d;
  --hairline: #1f1f1f;
  --paper: #fff;
  --paper-ink: #111;
  --paper-soft: #6b6b6b;

  --green: #19c37d;
  --mint: #b9f2d6;
  --sky: #a8dcff;
  --cobalt: #3448dc;
  --amber: #ffd56b;
  --coral: #ffb3bb;

  --sans: "Geist", "Helvetica Neue", Helvetica, sans-serif;
  --pixel: "Geist Pixel", ui-monospace, monospace;

  --gutter: clamp(16px, 5vw, 72px);
  --measure: 1200px;
  --bar: 68px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--bar); }
body {
  background: var(--black); color: var(--chalk);
  font-family: var(--sans); font-size: 17px; line-height: 1.5; letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--measure); margin: 0 auto; padding: 0 var(--gutter); }
/* accent words: green, in the app's pixel face */
.px { font-family: var(--pixel); font-weight: 400; color: var(--green); letter-spacing: -.02em; }

/* ---------- top bar: frosted, content blurs beneath it ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--bar);
  background: rgba(0, 0, 0, .5);
  -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background .4s, border-color .4s, color .4s;
}
.bar.light { background: rgba(255, 255, 255, .6); border-color: rgba(0, 0, 0, .06); color: var(--paper-ink); }
.bar .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { font-family: var(--pixel); font-size: 25px; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.wordmark img { width: 30px; height: 30px; transition: filter .4s; }
.bar.light .wordmark img { filter: brightness(.18) saturate(1.6); }
.bar nav { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.bar nav a.link { text-decoration: none; opacity: .65; transition: opacity .2s; }
.bar nav a.link:hover { opacity: 1; }

/* ---------- pill buttons (bending-spoons-style), dark & light ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  font: 500 15px/1 var(--sans); text-decoration: none;
  background: var(--chalk); color: var(--black);
  transition: transform .25s var(--ease), background .25s;
}
.pill:hover { transform: scale(1.04); }
.pill:active { transform: scale(.97); }
.pill.small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.pill.ink { background: var(--black); color: var(--chalk); }
.pill.ghost { background: rgba(0, 0, 0, .08); color: inherit; }
.bar.light .pill { background: var(--black); color: var(--chalk); }
.pill[aria-disabled="true"] { cursor: default; }

/* ---------- hero: headline over a spinning concave ring of cards ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; padding-top: calc(var(--bar) + clamp(28px, 6vh, 72px)); overflow: hidden; }
.hero h1 {
  font-weight: 400; font-size: clamp(44px, 7.4vw, 116px); line-height: .98; letter-spacing: -.05em; text-align: center;
  opacity: 0; transform: translateY(18px); animation: rise 1.1s var(--ease) .1s forwards; position: relative; z-index: 2;
}
.hero h1 .px { font-size: .96em; }
@keyframes rise { to { opacity: 1; transform: none; } }

.carousel {
  position: relative; flex: 1; min-height: clamp(360px, 46vw, 640px); margin-top: clamp(-40px, -2vw, 0px);
  touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none;
  opacity: 0; animation: rise 1.4s var(--ease) .35s forwards;
}
.carousel.dragging { cursor: grabbing; }
.ring { position: absolute; inset: 0; transform-style: preserve-3d; }
.badge {
  position: absolute; left: 50%; top: min(calc(60% + var(--core, 260px) * .5 + 56px), calc(100% - 76px)); transform: translate(-50%, 0); z-index: 6;
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px 10px 16px; border-radius: 14px;
  background: #000; color: #fff; text-decoration: none; box-shadow: 0 0 0 1px #a6a6a6, 0 24px 60px rgba(0, 0, 0, .7);
  transition: transform .25s var(--ease);
}
.badge:hover { transform: translate(-50%, 0) scale(1.04); }
.badge.inline { position: relative; left: auto; top: auto; transform: none; }
.badge.inline:hover { transform: scale(1.04); }
.badge svg { width: 30px; height: 30px; }
.badge span { display: grid; font: 500 clamp(20px, 2vw, 24px)/1 var(--sans); letter-spacing: -.02em; }
.badge small { font-size: 11px; font-weight: 400; letter-spacing: 0; margin-bottom: 3px; }
.core { position: absolute; left: 50%; top: 60%; width: var(--core, 260px); aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 5; pointer-events: none; background: radial-gradient(circle, rgba(25, 195, 125, .28), rgba(25, 195, 125, 0) 62%); }
.c3 {
  position: absolute; left: 50%; top: 50%; width: var(--cw, 300px); aspect-ratio: 1206 / 2622;
  border-radius: calc(var(--cw, 300px) * .14); overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4%;
  font-family: var(--pixel); text-align: center; will-change: transform;
}
.c3 canvas { width: 72%; aspect-ratio: 1; margin-bottom: 6%; }
.c3 b { font-weight: 400; font-size: calc(var(--cw, 300px) * .12); line-height: 1; letter-spacing: -.01em; }
.c3 span { font-size: calc(var(--cw, 300px) * .07); opacity: .6; }
.c3.ink { background: radial-gradient(90% 70% at 50% 35%, #1b1b1b, #050505); color: var(--chalk); box-shadow: inset 0 0 0 1px #222; }
.c3.cobalt { background: var(--cobalt); color: #fff; }
.c3.mint { background: var(--mint); color: #0a0a0a; }
.c3.amber { background: var(--amber); color: #0a0a0a; }
.c3.sky { background: var(--sky); color: #0a0a0a; }
.c3.coral { background: var(--coral); color: #0a0a0a; }
.c3.shot { background: #000; outline: 1px solid #2a2a2a; outline-offset: -1px; }
.c3.shot img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.c3::after { content: ""; position: absolute; inset: 0; background: #000; pointer-events: none; opacity: var(--shade, 0); }

/* objects sit centred above headings */
.emblem { display: block; width: clamp(96px, 11vw, 140px); aspect-ratio: 1; margin: 0 auto 28px; }
.emblem.big { width: clamp(120px, 15vw, 200px); }

.grid30 { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; width: 168px; }
.grid30 b { aspect-ratio: 1; outline: 1px solid #2b2b2b; outline-offset: -1px; transition: background .3s, outline-color .3s; }
.grid30 b.k { background: var(--green); outline-color: var(--green); }
.grid30 b.k2 { background: #0f7a4e; outline-color: #0f7a4e; }
.grid30 b.m { outline-color: #ff3b4e; }
.grid30 b.t { outline-color: var(--chalk); }

/* ---------- a day in the club: scroll fills the timeline ---------- */
.day { position: relative; height: 320vh; }
.day-stage { position: sticky; top: 0; height: 100svh; display: grid; align-items: center; }
.day h2 { font-weight: 400; font-size: clamp(42px, 6vw, 88px); line-height: 1; letter-spacing: -.05em; margin-bottom: clamp(48px, 10vh, 110px); }
.timeline { position: relative; }
.rail { position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: #1f1f1f; }
.rail i { position: absolute; inset: 0; background: var(--green); transform-origin: left; transform: scaleX(var(--p, 0)); box-shadow: 0 0 18px rgba(25, 195, 125, .6); }
.timeline ol { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.timeline li { padding-top: 36px; position: relative; color: var(--chalk-dim); transition: color .4s; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; background: #000;
  outline: 1.5px solid #333; outline-offset: -1.5px; transition: background .3s, outline-color .3s, transform .4s var(--ease);
}
.timeline time { display: block; font-family: var(--pixel); font-size: clamp(30px, 3.4vw, 50px); line-height: 1; letter-spacing: -.03em; }
.timeline b { display: block; font-weight: 500; font-size: 20px; letter-spacing: -.03em; margin-top: 14px; }
.timeline span { display: block; font-size: 15px; margin-top: 4px; }
.timeline li.on { color: var(--chalk); }
.timeline li.on time { color: var(--green); }
.timeline li.on span { color: var(--chalk-soft); }
.timeline li.on::before { background: var(--green); outline-color: var(--green); transform: scale(1.15); }

/* ---------- statement: lights up word by word ---------- */
.statement { padding: 4vh 0 26vh; }
.statement p { font-size: clamp(30px, 4.4vw, 60px); line-height: 1.12; letter-spacing: -.035em; max-width: 21ch; }
.statement p + p { margin-top: 1em; }
.statement .w { color: var(--chalk-dim); transition: color .25s; }
.statement .w.on { color: var(--chalk); }
.statement .w.on.g { color: var(--green); }

/* ---------- pinned tour ---------- */
.tour { position: relative; height: 520vh; }
.tour-stage { position: sticky; top: 0; height: 100svh; display: grid; align-items: center; }
.tour-inner { display: grid; grid-template-columns: 1fr minmax(260px, 340px); gap: clamp(32px, 8vw, 140px); align-items: center; }
.tour-kicker { font-family: var(--pixel); color: var(--green); font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 26px; }
.steps { list-style: none; display: grid; gap: 22px; }
.steps li { color: var(--chalk-dim); transition: color .4s; }
.steps li h3 { font-weight: 400; font-size: clamp(30px, 3.8vw, 52px); line-height: 1.02; letter-spacing: -.04em; }
.steps li p { font-size: 17px; max-width: 34ch; margin-top: 10px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .4s; color: var(--chalk-soft); }
.steps li.on { color: var(--chalk); }
.steps li.on p { max-height: 6em; opacity: 1; }
.steps li .shot { display: none; }

.phone {
  position: relative; aspect-ratio: 1206 / 2622; width: 100%;
  border-radius: 48px; padding: 9px; background: linear-gradient(160deg, #2a2a2a, #0c0c0c 40%, #1a1a1a);
  box-shadow: 0 0 0 1px #333, 0 50px 140px -20px rgba(25, 195, 125, .22);
}
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 40px; overflow: hidden; background: #000; }
.phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); filter: blur(6px); transition: opacity .6s var(--ease), transform .8s var(--ease), filter .6s; }
.phone img.on { opacity: 1; transform: none; filter: none; }


/* ---------- the gate: shielded apps, hold to open ---------- */
.gate { padding: 8vh 0 10vh; text-align: center; }
.gate h2, .objects h2 { font-weight: 400; font-size: clamp(42px, 6vw, 88px); line-height: 1; letter-spacing: -.05em; }
.gate .lede, .objects .lede { color: var(--chalk-soft); font-size: clamp(17px, 1.8vw, 21px); max-width: 38ch; margin: 20px auto 0; }
.gate-stage {
  position: relative; margin: 8vh auto 0; width: min(100%, 520px); padding: 26px 26px 30px; border-radius: 40px; text-align: left;
  background: radial-gradient(120% 90% at 50% 0%, #121212, #050505); box-shadow: inset 0 0 0 1px #1d1d1d, 0 60px 120px -40px rgba(255, 184, 0, .18);
  transition: box-shadow .8s;
}
.gate-stage[data-state="open"] { box-shadow: inset 0 0 0 1px #1d1d1d, 0 60px 120px -40px rgba(25, 195, 125, .35); }
.gate-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--pixel); font-size: 15px; color: var(--chalk-soft); margin-bottom: 22px; }
.gate-status { display: inline-flex; align-items: center; gap: 8px; color: #ffb800; transition: color .4s; }
.gate-status i { width: 9px; height: 9px; background: currentColor; display: block; }
.gate-status em { font-style: normal; }
[data-state="open"] .gate-status { color: var(--green); }
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 3vw, 22px); }
.app { display: grid; justify-items: center; gap: 8px; font-family: var(--pixel); font-size: 13px; color: var(--chalk-soft); }
.app b {
  width: 100%; aspect-ratio: 1; border-radius: 24%; display: grid; place-items: center; font-weight: 400; font-size: clamp(22px, 5vw, 30px);
  background: color-mix(in srgb, var(--c) 22%, #0b0b0b); color: var(--c); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent);
  filter: grayscale(1) brightness(.45); transform: scale(.94); transition: filter .5s, transform .6s var(--ease);
}
[data-state="open"] .app b { filter: none; transform: none; }
.gate-shield {
  position: absolute; left: 26px; right: 26px; top: 64px; height: calc(100% - 64px - 104px); display: grid; place-items: center;
  border-radius: 26px; background: rgba(0, 0, 0, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: opacity .6s, transform .8s var(--ease);
}
.gate-shield canvas { width: 120px; aspect-ratio: 1; }
[data-state="open"] .gate-shield { opacity: 0; transform: translateY(-14px) scale(1.04); pointer-events: none; }
.hold {
  position: relative; overflow: hidden; width: 100%; margin-top: 30px; min-height: 60px; border: 0; border-radius: 18px; cursor: pointer;
  background: #1a1a1a; color: var(--chalk); font: 500 16px/1 var(--sans); box-shadow: inset 0 0 0 1px #2a2a2a;
  touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
.hold-fill { position: absolute; inset: 0; background: var(--green); transform-origin: left; transform: scaleX(var(--p, 0)); }
.hold-label { position: relative; mix-blend-mode: difference; }
[data-state="open"] .hold { background: var(--green); color: #000; }
[data-state="open"] .hold-label { mix-blend-mode: normal; }

/* ---------- object gallery: an endless belt ---------- */
.objects { padding: 4vh 0 12vh; text-align: center; overflow: hidden; }
.belt { margin-top: 9vh; position: relative; }
.belt::before, .belt::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 1; pointer-events: none; }
.belt::before { left: 0; background: linear-gradient(90deg, #000, rgba(0, 0, 0, 0)); }
.belt::after { right: 0; background: linear-gradient(-90deg, #000, rgba(0, 0, 0, 0)); }
.belt-track { display: flex; width: max-content; gap: clamp(20px, 3vw, 44px); animation: belt 60s linear infinite; will-change: transform; }
.belt:hover .belt-track { animation-play-state: paused; }
.belt figure { width: clamp(130px, 14vw, 190px); display: grid; justify-items: center; gap: 12px; }
.belt canvas { width: 100%; aspect-ratio: 1; }
.belt figcaption { font-family: var(--pixel); font-size: 14px; color: var(--chalk-soft); }
@keyframes belt { to { transform: translateX(calc(-50% - clamp(10px, 1.5vw, 22px))); } }

/* ---------- white invite section ---------- */
.paper { background: var(--paper); color: var(--paper-ink); padding: 16vh 0 14vh; }
.paper h2 { font-weight: 400; font-size: clamp(44px, 6.4vw, 92px); line-height: 1; letter-spacing: -.045em; text-align: center; }
.paper .lede { text-align: center; color: var(--paper-soft); font-size: clamp(18px, 1.8vw, 21px); max-width: 40ch; margin: 22px auto 0; }
/* ---------- invite (still on paper) ---------- */
.club { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.club h2 { text-align: left; }
.club .lede { text-align: left; margin: 22px 0 0; }
.perks { margin-top: 36px; display: grid; gap: 0; border-top: 1px solid #e6e6e6; }
.perk { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 24px 0; border-bottom: 1px solid #e6e6e6; }
.perk h3 { font-weight: 500; font-size: 22px; letter-spacing: -.03em; }
.perk p { color: var(--paper-soft); font-size: 16px; margin-top: 4px; max-width: 38ch; }
.fine { font-size: 14px; color: var(--paper-soft); margin-top: 20px; }
.fine a { color: var(--paper-ink); }

/* member card: tilts toward the pointer */
.member-wrap { perspective: 1000px; display: grid; place-items: center; }
.member {
  width: min(100%, 440px); aspect-ratio: 1.586; border-radius: 26px; padding: 28px; position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, #1d1d1d 0%, #050505 55%), #000; color: var(--chalk);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .08);
  font-family: var(--pixel); display: flex; flex-direction: column; justify-content: space-between;
  transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -10deg)); transition: transform .5s var(--ease);
}
.member::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent 30%, rgba(25, 195, 125, .18) 45%, rgba(255, 255, 255, .12) 50%, transparent 62%);
  transform: translateX(var(--sheen, -30%)); transition: transform .5s var(--ease);
}
.member .top { display: flex; justify-content: space-between; align-items: center; font-size: 22px; }
.member .top span { display: inline-flex; align-items: center; gap: 8px; }
.member .top img { width: 34px; height: 34px; }
.member .top small { font-size: 13px; color: var(--chalk-soft); }
.member .grid30 { width: 140px; gap: 3px; }
.member .bottom { display: flex; justify-content: space-between; align-items: flex-end; font-size: 13px; color: var(--chalk-soft); }
.member .bottom b { display: block; font-weight: 400; color: var(--chalk); font-size: 20px; margin-top: 4px; }

/* ---------- final ---------- */
.final { min-height: 92svh; display: grid; place-items: center; text-align: center; padding: 14vh 0; }
.final h2 { font-weight: 400; font-size: clamp(54px, 10vw, 150px); line-height: .95; letter-spacing: -.05em; margin-bottom: 44px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--hairline); padding: 40px 0 56px; font-size: 14px; color: var(--chalk-soft); }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
footer .wordmark { font-size: 20px; color: var(--chalk); }
footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer nav a:hover { color: var(--chalk); }

/* ---------- invite landing (/r/CODE) ---------- */
.ref { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--bar) + 40px) 0 64px; }
.ref h1 { font-weight: 400; font-size: clamp(44px, 6.6vw, 88px); line-height: 1; letter-spacing: -.05em; margin-bottom: 22px; }
.ref .emblem { margin-bottom: 20px; }
.ref .code { font-family: var(--pixel); font-size: clamp(48px, 13vw, 128px); letter-spacing: .08em; line-height: 1; margin: 34px 0 30px; color: var(--chalk); }
.ref .code span { display: inline-block; opacity: 0; transform: translateY(14px); filter: blur(8px); animation: drop .7s var(--ease) forwards; }
.ref .what { max-width: 34ch; margin: 0 auto 36px; color: var(--chalk-soft); }
.ref .hint { margin-top: 22px; font-size: 14px; color: var(--chalk-soft); min-height: 1.5em; }
@keyframes drop { to { opacity: 1; transform: none; filter: none; } }

/* ---------- long-form pages ---------- */
.page { padding: calc(var(--bar) + 12vh) 0 16vh; }
.page .wrap { max-width: 760px; }
.page h1 { font-weight: 400; font-size: clamp(46px, 7vw, 88px); line-height: 1; letter-spacing: -.045em; margin-bottom: 18px; }
.page .meta { color: var(--chalk-soft); font-size: 15px; margin-bottom: 56px; }
.page h2 { font-weight: 500; font-size: 24px; letter-spacing: -.03em; margin: 56px 0 14px; }
.page .prose { font-size: 17px; line-height: 1.65; color: #c9c9c9; }
.page .prose p + p, .page .prose ul + p, .page .prose p + ul { margin-top: 14px; }
.page .prose ul { list-style: none; }
.page .prose li { padding-left: 22px; position: relative; margin-top: 8px; }
.page .prose li::before { content: ""; position: absolute; left: 0; top: .66em; width: 7px; height: 7px; background: var(--green); }
.page .prose strong { color: var(--chalk); font-weight: 500; }

/* ---------- small screens ---------- */
@media (max-width: 820px) {
  .bar nav a.link { display: none; }
  .belt figure { width: 120px; }
  .belt-track { animation-duration: 45s; }
  .hero { min-height: 100svh; padding-top: calc(var(--bar) + 22px); }
  .hero h1 { font-size: 9.4vw; }
  .carousel .c3 { top: 36%; }
  /* The camera looks at the cards' height, so they turn on a level axis. */
  .carousel { perspective-origin: 50% 36%; }
  /* Live blurs over moving content are what make iPhones stutter; use flat fills instead. */
  .bar { background: rgba(0, 0, 0, .88); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .bar.light { background: rgba(255, 255, 255, .92); }
  .phone img { filter: none; transform: none; transition: opacity .45s; }
  .gate-shield { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(0, 0, 0, .55); }
  .carousel .core { top: 76%; }
  .carousel .badge { top: min(calc(76% + var(--core, 130px) * .5 + 6px), calc(100% - 64px)); }
  .badge { padding: 9px 18px 9px 14px; }
  .badge svg { width: 26px; height: 26px; }
  .day { height: 230vh; }
  .rail { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .rail i { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .timeline ol { grid-template-columns: 1fr; gap: 26px; }
  .timeline li { padding: 0 0 0 40px; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: baseline; }
  .timeline time { grid-row: span 2; font-size: 30px; }
  .timeline b { margin-top: 0; }
  .carousel { min-height: 0; }
  /* Mobile tour stays pinned: phone on top, the current step under it. */
  .tour { height: 380vh; }
  .tour-inner { grid-template-columns: 1fr; gap: 22px; justify-items: center; text-align: center; }
  .tour-inner > div:first-child { order: 2; width: 100%; }
  .tour .phone { width: auto; height: min(56svh, 520px); border-radius: 38px; padding: 7px; }
  .tour .phone .screen { border-radius: 32px; }
  .tour-kicker { display: none; }
  .steps { display: grid; gap: 0; }
  .steps li { grid-area: 1 / 1; opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .5s var(--ease); }
  .steps li.on { opacity: 1; transform: none; }
  .steps li h3 { font-size: 32px; }
  .steps li p { margin: 8px auto 0; }
  .club { grid-template-columns: 1fr; }
  .member-wrap { order: -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero h1, .carousel, .ref .code span { opacity: 1; transform: none; filter: none; }
}
