/* Layout for the scroll film pages. Colours and faces come from each page's :root. */
* { box-sizing: border-box; }
html { background: var(--bg); --site-accent: var(--accent); }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 18px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { width: min(1320px, 100vw - 2 * var(--gut)); margin-inline: auto; }
:root { --gut: clamp(20px, 4vw, 56px); --ease: cubic-bezier(.16, 1, .3, 1); }
h1, h2, h3 { font-family: var(--display); font-weight: var(--display-w); letter-spacing: var(--display-ls); margin: 0; text-wrap: balance; }
.kicker { font: 500 13px/1 "Geist Mono", ui-monospace, monospace; color: var(--fg-3); }

nav { position: fixed; inset: 0 0 auto; height: 68px; z-index: 30; background: color-mix(in srgb, var(--bg) 76%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
nav .wrap { height: 100%; display: flex; align-items: center; gap: 26px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 620; letter-spacing: -.02em; font-size: 17px; text-decoration: none; margin-right: auto; }
.brand svg.mark { --ink: var(--fg); --ink-text: var(--bg); }
nav a.l { font-size: 14.5px; text-decoration: none; color: var(--fg-2); transition: color .15s; }
nav a.l:hover { color: var(--fg); }
.cta { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: var(--btn-r); background: var(--fg); color: var(--bg); font-weight: 600; font-size: 15.5px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.cta:hover { transform: translateY(-1px); }
.cta:active { transform: scale(.98); }
.cta.sm { height: 36px; padding: 0 14px; font-size: 14px; }
.cta.ghost { background: color-mix(in srgb, var(--fg) 6%, transparent); color: var(--fg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg) 14%, transparent); }
.cta.ghost:hover { background: color-mix(in srgb, var(--fg) 11%, transparent); }

/* the world */
.world { position: relative; height: calc(var(--n, 5) * var(--per, 150vh)); }
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--stage); }
.stage canvas, .stage .w-css { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; pointer-events: none; }
.stage .w-css * { pointer-events: none; }
.w-station { transform-style: preserve-3d; }
.w-station .cs .win, .w-station .cs .passport { box-shadow: none; }
.stage::after { content: ""; position: absolute; inset: 0; background: var(--scrim); pointer-events: none; z-index: 3; }

.caps { position: absolute; z-index: 5; left: max(var(--gut), (100vw - 1320px) / 2); bottom: clamp(56px, 11vh, 120px); width: min(430px, 34vw); }
.cap { position: absolute; left: 0; bottom: 0; width: 100%; opacity: 0; transform: translateY(14px); transition: opacity .3s, transform .5s var(--ease); pointer-events: none; }
.cap.on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .12s; }
.cap h1 { font-size: clamp(44px, 5.4vw, 86px); line-height: .96; }
.cap h2 { font-size: clamp(30px, 3.2vw, 50px); line-height: 1.02; margin: 16px 0 14px; }
.cap p { margin: 0; color: var(--fg-2); font-size: clamp(16px, 1.25vw, 19px); max-width: 38ch; }
.cap.hero { width: min(640px, 46vw); }
.cap.hero p { margin: 22px 0 26px; }
.cap .row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* launch film chip: the slot for the film sits in the hero */
.chip-film { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 16px 0 6px; border-radius: var(--btn-r); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg) 16%, transparent); font-size: 15px; font-weight: 550; transition: background .2s; }
.chip-film:hover { background: color-mix(in srgb, var(--fg) 7%, transparent); }
.chip-film i { width: 36px; height: 36px; border-radius: calc(var(--btn-r) - 3px); background: var(--fg); display: grid; place-items: center; }
.chip-film i::after { content: ""; border-left: 10px solid var(--bg); border-block: 6px solid transparent; margin-left: 3px; }
.chip-film:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

.rail { position: absolute; z-index: 5; right: max(var(--gut), (100vw - 1320px) / 2); bottom: clamp(24px, 5vh, 48px); display: flex; gap: 6px; }
.rail button { all: unset; cursor: pointer; display: grid; gap: 8px; width: clamp(64px, 7.5vw, 112px); padding: 8px 0; }
.rail i { height: 2px; background: color-mix(in srgb, var(--fg) 18%, transparent); transition: background .3s; }
.rail span { font: 500 11px/1 "Geist Mono", monospace; letter-spacing: .03em; text-transform: uppercase; color: var(--fg-3); transition: color .3s; white-space: nowrap; }
.rail .on i { background: var(--accent); }
.rail .on span { color: var(--fg); }
.rail button:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }

/* film dialog */
dialog.filmdlg { border: 0; padding: 0; background: transparent; width: min(1200px, 94vw); max-width: none; }
dialog.filmdlg::backdrop { background: rgba(4, 4, 6, .82); backdrop-filter: blur(8px); }
.filmframe { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #0c0c0f; color: #f1f1f4; display: grid; place-items: center; text-align: center; }
.filmframe video { width: 100%; height: 100%; object-fit: cover; }
.filmframe button { all: unset; cursor: pointer; display: grid; justify-items: center; gap: 16px; font: var(--display-w) clamp(20px, 2.4vw, 32px)/1 var(--display); letter-spacing: var(--display-ls); }
.filmframe button i { width: 80px; height: 80px; border-radius: 50%; background: #f1f1f4; display: grid; place-items: center; }
.filmframe button i::after { content: ""; border-left: 20px solid #0c0c0f; border-block: 12px solid transparent; margin-left: 5px; }
.filmframe small { position: absolute; left: 20px; bottom: 16px; font: 500 12px "Geist Mono", monospace; color: #7d7e88; }

/* plans */
.plans { padding: clamp(80px, 14vh, 160px) 0; border-top: 1px solid var(--hair); }
.plans h2 { font-size: clamp(36px, 4.6vw, 72px); line-height: 1; max-width: 14ch; margin-bottom: clamp(32px, 6vh, 64px); }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hair); }
.plan { padding: 28px 28px 34px 0; border-right: 1px solid var(--hair); display: flex; flex-direction: column; gap: 14px; }
.plan + .plan { padding-left: 28px; }
.plan:last-child { border-right: 0; }
.plan h3 { font-size: 30px; }
.plan .for { color: var(--fg-2); font-size: 16px; min-height: 3em; }
.plan .price { font: 500 13px "Geist Mono", monospace; color: var(--accent); border: 1px dashed color-mix(in srgb, var(--accent) 55%, transparent); padding: 8px 10px; align-self: flex-start; border-radius: 6px; }
.plan ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 9px; font-size: 16px; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 5px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.plan .soon { color: var(--fg-3); }
.plan .soon::after { content: " (coming)"; }

.close { padding: clamp(100px, 20vh, 220px) 0; border-top: 1px solid var(--hair); }
.close h2 { font-size: clamp(44px, 7.4vw, 124px); line-height: .94; max-width: 11ch; margin-bottom: 34px; }
footer { padding: 0 0 40px; color: var(--fg-3); font-size: 14px; }
footer .wrap { display: flex; gap: 12px 24px; flex-wrap: wrap; justify-content: space-between; border-top: 1px solid var(--hair); padding-top: 20px; }

/* flat fallback */
.flat .world { height: auto; }
.flat .stage { position: relative; height: auto; min-height: 70svh; padding: 140px 0 60px; }
.flat .caps { position: relative; left: auto; bottom: auto; margin-inline: auto; width: min(1320px, 100vw - 2 * var(--gut)); }
.flat .cap { display: none; }
.flat .cap.hero { display: block; position: relative; opacity: 1; transform: none; pointer-events: auto; }
.flat .rail { display: none; }
.flatrow { width: min(1320px, 100vw - 2 * var(--gut)); margin-inline: auto; padding: 72px 0; border-top: 1px solid var(--hair); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.flatrow h2 { font-size: clamp(30px, 3.2vw, 50px); line-height: 1.02; margin: 16px 0 14px; }
.flatrow p { margin: 0; color: var(--fg-2); max-width: 38ch; }

@media (max-width: 760px) {
  nav a.l { display: none; }
  .world { height: calc(var(--n, 5) * var(--per-phone, 130vh)); }
  .caps { left: var(--gut); right: var(--gut); width: auto; bottom: 64px; }
  .cap.hero { width: 100%; }
  .cap h1 { font-size: clamp(38px, 11vw, 52px); }
  .cap h2 { font-size: 28px; margin: 10px 0 8px; }
  .cap p { font-size: 16px; }
  .cap.hero p { margin: 14px 0 18px; }
  .stage::after { background: var(--scrim-phone); }
  .rail { left: var(--gut); right: var(--gut); bottom: 18px; gap: 4px; }
  .rail button { width: auto; flex: 1; padding: 6px 0; }
  .rail span { display: none; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan, .plan + .plan { padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--hair); }
  .plan .for { min-height: 0; }
  .flatrow { grid-template-columns: 1fr; padding: 56px 0; }
}
@media (prefers-reduced-motion: reduce) { .cta, .cap { transition: none; } }

/* captions: story beats and app marks */
.cap.story h2 { font-size: clamp(34px, 3.9vw, 62px); }
.cap.story .kicker { color: var(--accent); }
.cap-apps { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; font-size: 14px; color: var(--fg-2); }
.cap-apps span { display: inline-flex; align-items: center; gap: 7px; }
.cap-apps .bl { vertical-align: 0; }

/* rail with many stations: ticks, and the name of the one you are on */
.rail.compact { gap: 4px; width: min(430px, 36vw); }
.rail.compact button { width: auto; flex: 1; }
.rail.compact span { position: absolute; right: 0; bottom: calc(100% - 2px); opacity: 0; pointer-events: none; }
.rail.compact button.on span { opacity: 1; }
.rail.compact button { justify-items: stretch; }

/* roadmap */
.road { padding: clamp(90px, 16vh, 180px) 0 clamp(60px, 10vh, 120px); border-top: 1px solid var(--hair); }
.road-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: end; margin-bottom: clamp(40px, 8vh, 88px); }
.road-head h2 { font-size: clamp(40px, 5.6vw, 92px); line-height: .96; }
.road-head p { margin: 0; color: var(--fg-2); max-width: 40ch; }
.road-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(56px, 9vh, 110px) clamp(28px, 5vw, 80px); }
.road-card { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.road-card .shot { perspective: 1500px; height: 420px; display: grid; align-items: center; }
.road-card .shot > div { transform: rotateX(calc(var(--tilt, 0) * 15deg)) rotateY(calc(var(--side, 1) * (5deg + var(--tilt-abs, 0) * 9deg))); transform-style: preserve-3d; transition: transform .25s linear; will-change: transform; }
.road-card .shot .cs .win, .road-card .shot .cs .card[data-slab] { box-shadow: 0 0 0 1px rgba(255,255,255,.05), 0 50px 90px -30px rgba(0,0,0,.9); }
.road-card h3 { font-size: clamp(24px, 2.2vw, 32px); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.road-card p { margin: 8px 0 0; color: var(--fg-2); font-size: 17px; max-width: 46ch; }
.soon-tag { font: 500 13px/1 "Geist Mono", monospace; color: var(--fg-3); }
.honest { margin-top: clamp(56px, 9vh, 100px); padding-top: 22px; border-top: 1px solid var(--hair); color: var(--fg-2); font-size: 16px; max-width: 70ch; }
.honest b { color: var(--fg); font-weight: 550; }

@media (max-width: 760px) {
  .rail.compact { width: auto; }
  .rail.compact span { display: block; left: 0; right: auto; }
  .cap-apps { margin-top: 12px; font-size: 13px; gap: 8px 14px; }
  .road-head, .road-grid { grid-template-columns: 1fr; }
  .road-card .shot { height: auto; min-height: 300px; }
  .road-card .shot > div { transform: rotateX(calc(var(--tilt, 0) * 8deg)); }
}
@media (prefers-reduced-motion: reduce) { .road-card .shot > div { transform: none; transition: none; } }

/* teams and buyers */
.teams { padding: clamp(90px, 16vh, 180px) 0; border-top: 1px solid var(--hair); }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(64px, 10vh, 120px) clamp(28px, 5vw, 80px); }
.team-card { display: flex; flex-direction: column; gap: 22px; min-width: 0; text-decoration: none; }
.team-card .shot { perspective: 1500px; display: grid; align-items: center; height: 480px; overflow: visible; }
.team-card .shot > div { transform: rotateX(calc(var(--tilt, 0) * 15deg)) rotateY(calc(var(--side, 1) * (5deg + var(--tilt-abs, 0) * 9deg))); transform-style: preserve-3d; transition: transform .25s linear; }
.team-card .shot .cs .win { box-shadow: 0 0 0 1px rgba(255,255,255,.05), 0 50px 90px -30px rgba(0,0,0,.9); }
.team-card h3 { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.05; }
.team-card p { margin: 10px 0 0; color: var(--fg-2); font-size: 17px; max-width: 48ch; }
.team-card .go { margin-top: 14px; display: inline-flex; gap: 8px; align-items: center; font-weight: 550; font-size: 16px; }
.team-card .go::after { content: "→"; transition: transform .2s var(--ease); }
.team-card:hover .go::after { transform: translateX(4px); }
.rules { display: grid; gap: 8px; margin-top: 16px; }
.rule-pill { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--fg-2); }
.rule-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.rule-pill.deny { --c: #ff7a70; } .rule-pill.escalate { --c: #f0b057; } .rule-pill.allow { --c: #4cc38a; }
.buyers { padding: clamp(80px, 14vh, 160px) 0; border-top: 1px solid var(--hair); }
.buyers h2 { font-size: clamp(36px, 4.6vw, 72px); line-height: 1; max-width: 16ch; margin-bottom: clamp(32px, 6vh, 64px); }
.buyer-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hair); }
.buyer { padding: 28px 28px 8px 0; border-right: 1px solid var(--hair); }
.buyer + .buyer { padding-left: 28px; } .buyer:last-child { border-right: 0; }
.buyer h3 { font-size: 26px; margin-bottom: 10px; } .buyer p { margin: 0; color: var(--fg-2); font-size: 17px; }
.inds { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin-top: clamp(36px, 6vh, 64px); color: var(--fg-2); font-size: 16px; }
.inds b { color: var(--fg); font-weight: 550; margin-right: 8px; }
.inds { gap: 8px 0; } .inds span + span::before { content: ""; display: inline-block; width: 1px; height: 14px; background: color-mix(in srgb, var(--fg) 16%, transparent); margin: 0 16px; vertical-align: -1px; }

/* team pages */
.t-hero { padding: clamp(120px, 20vh, 200px) 0 clamp(60px, 10vh, 120px); }
.t-hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.t-hero h1 { font-size: clamp(42px, 5.6vw, 88px); line-height: .98; margin: 18px 0 22px; }
.t-hero p { color: var(--fg-2); max-width: 44ch; margin: 0 0 28px; font-size: clamp(17px, 1.4vw, 20px); }
.t-hero .obj { perspective: 1400px; justify-self: center; width: min(400px, 100%); }
.t-hero .obj > div { transform: rotateY(-14deg) rotateX(6deg); transform-style: preserve-3d; }
.t-hero .obj .passport { box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 60px 110px -30px rgba(0,0,0,.95); }
.t-sec { padding: clamp(70px, 12vh, 140px) 0; border-top: 1px solid var(--hair); }
.t-sec h2 { font-size: clamp(34px, 4.2vw, 64px); line-height: 1; max-width: 16ch; margin-bottom: clamp(28px, 5vh, 56px); }
.t-day { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.t-asks { list-style: none; margin: 0; padding: 0; counter-reset: a; }
.t-asks li { display: grid; grid-template-columns: 30px 1fr; gap: 4px 10px; padding: 16px 0; border-top: 1px solid var(--hair); font-size: 17px; }
.t-asks li::before { counter-increment: a; content: counter(a); font: 500 12.5px "Geist Mono", monospace; color: var(--fg-3); padding-top: 5px; }
.t-asks code { font: 500 13.5px "Geist Mono", monospace; color: var(--fg-2); display: block; grid-column: 2; }
.t-asks .rule-pill { grid-column: 2; justify-self: start; margin-top: 4px; font-size: 14px; gap: 8px; }
.t-day .shot { position: sticky; top: 100px; perspective: 1500px; }
.t-day .shot > div { transform: rotateY(-7deg) rotateX(3deg); }
.t-day .shot .win { box-shadow: 0 0 0 1px rgba(255,255,255,.05), 0 50px 90px -30px rgba(0,0,0,.9); }
.t-others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--hair); }
.t-others a { padding: 26px 26px 26px 0; text-decoration: none; border-right: 1px solid var(--hair); }
.t-others a + a { padding-left: 26px; } .t-others a:last-child { border-right: 0; }
.t-others b { font: var(--display-w) 26px var(--display); letter-spacing: var(--display-ls); display: block; margin-bottom: 6px; }
.t-others span { color: var(--fg-2); font-size: 16px; }

@media (max-width: 760px) {
  .team-grid, .buyer-grid, .t-hero .wrap, .t-day, .t-others { grid-template-columns: 1fr; }
  .team-card .shot { height: auto; min-height: 380px; }
  .team-card .shot > div { transform: rotateX(calc(var(--tilt, 0) * 8deg)); }
  .buyer, .buyer + .buyer, .t-others a, .t-others a + a { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--hair); }
  .t-hero .obj > div, .t-day .shot > div { transform: none; }
  .t-day .shot { position: static; }
}
@media (prefers-reduced-motion: reduce) { .team-card .shot > div, .t-hero .obj > div, .t-day .shot > div { transform: none; } }

/* ---------- brand lockup ---------- */
.brand { font-family: var(--display); font-weight: 650; font-size: 20px; letter-spacing: -.035em; line-height: 1; gap: 10px; }
.brand > span { display: flex; align-items: center; }
.brand svg.mark { display: block; }
.brand .by-frame { height: 18px; margin-left: 2px; padding-left: 12px; font-family: var(--body); line-height: 1; }
.brand .by-frame svg { height: 12px; display: block; position: relative; top: .5px; }

/* ---------- mega nav ---------- */
nav .menu { display: flex; align-items: center; gap: 4px; margin-right: 8px; }
nav .mi > button, nav .menu > a.l { all: unset; cursor: pointer; font-size: 14.5px; color: var(--fg-2); padding: 8px 12px; border-radius: 8px; transition: color .15s, background .15s; }
nav .mi > button::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); margin-left: 8px; opacity: .6; transition: transform .2s var(--ease); }
nav .mi.open > button, nav .mi > button:hover, nav .menu > a.l:hover { color: var(--fg); background: color-mix(in srgb, var(--fg) 7%, transparent); }
nav .mi.open > button::after { transform: translateY(1px) rotate(225deg); }
nav .mi > button:focus-visible, nav a:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: color-mix(in srgb, var(--bg) 97%, transparent); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-block: 1px solid var(--hair); padding: 30px 0 38px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .28s var(--ease), visibility 0s .18s; }
.mi.open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega .cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 40px; }
.mega .wide { grid-column: span 2; }
.mega .two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.mega h6 { margin: 0 0 12px; font: 500 12.5px/1 "Geist Mono", monospace; color: var(--fg-3); }
.mega a { display: block; padding: 9px 10px; margin: 0 -10px; border-radius: 8px; text-decoration: none; transition: background .15s; }
.mega a:hover { background: color-mix(in srgb, var(--fg) 6%, transparent); }
.mega a b { display: block; font-weight: 550; font-size: 15.5px; }
.mega a span { display: block; color: var(--fg-2); font-size: 13.5px; margin-top: 2px; }
.burger { all: unset; cursor: pointer; width: 44px; height: 44px; display: none; place-items: center; align-content: center; gap: 6px; }
.burger i { width: 20px; height: 1.5px; background: var(--fg); transition: transform .25s var(--ease); }
nav.open .burger i:first-child { transform: translateY(3.700px) rotate(45deg); } nav.open .burger i:last-child { transform: translateY(-3.700px) rotate(-45deg); }
.m-only { display: none !important; }

/* ---------- teams: one screen, big names ---------- */
.teams { padding: 88px 0 28px; min-height: 100svh; display: grid; align-items: center; scroll-margin-top: 0; }
.teams-lay { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.teams-lay > div:first-child > p { color: var(--fg-2); margin: 8px 0 clamp(10px, 2vh, 22px); max-width: 40ch; font-size: 17px; }
.teams-lay h2 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; color: var(--fg-2); font-weight: 500; letter-spacing: -.02em; }
.team-tab { all: unset; display: block; width: 100%; box-sizing: border-box; cursor: pointer; border-top: 1px solid var(--hair); padding: clamp(6px, 1.1vh, 12px) 0; }
.team-tab .nm { font: var(--display-w) clamp(28px, min(3.2vw, 5.2vh), 50px)/1.02 var(--display); letter-spacing: var(--display-ls); color: var(--fg-3); transition: color .25s; display: block; }
.team-tab:hover .nm { color: var(--fg-2); }
.team-tab.on .nm { color: var(--fg); }
.team-tab .more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.team-tab.on .more { grid-template-rows: 1fr; }
.team-tab .more > div { overflow: hidden; }
.team-tab .more p { margin: 10px 0 0; color: var(--fg-2); font-size: 16.5px; max-width: 46ch; }
.team-tab .rules { margin-top: 16px; }
.team-tab .go { margin: 14px 0 4px; display: inline-flex; gap: 8px; font-weight: 550; font-size: 15.5px; text-decoration: none; color: var(--fg); }
.team-tab .go::after { content: "→"; transition: transform .2s var(--ease); } .team-tab .go:hover::after { transform: translateX(4px); }
.team-tab:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }
.team-stage { perspective: 1600px; min-width: 0; }
.team-stage > div { display: none; transform: rotateY(-9deg) rotateX(4deg); transform-style: preserve-3d; }
.team-stage > div.on { display: block; animation: stage-in .6s var(--ease); }
@keyframes stage-in { from { opacity: 0; transform: rotateY(-16deg) rotateX(7deg) translateY(18px); } }
.team-stage .cs .win { box-shadow: 0 0 0 1px rgba(255,255,255,.05), 0 50px 90px -30px rgba(0,0,0,.9); }
.team-stage .cs .tbl-clip { height: 290px; }
.road-card .shot { height: 400px; }

@media (max-width: 900px) {
  nav .menu { display: none; position: fixed; inset: 68px 0 0; background: var(--bg); overflow: auto; padding: 8px var(--gut) 40px; flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  nav.open .menu { display: flex; }
  nav .mi > button, nav .menu > a.l { display: block; font-size: 22px; color: var(--fg); padding: 16px 0; border-top: 1px solid var(--hair); border-radius: 0; font-family: var(--display); font-weight: var(--display-w); letter-spacing: -.03em; }
  nav .mi > button { width: 100%; box-sizing: border-box; }
  .mega { position: static; display: none; background: none; backdrop-filter: none; border: 0; padding: 0 0 14px; opacity: 1; visibility: visible; transform: none; }
  .mi.open .mega { display: block; }
  .mega .wrap { width: auto; }
  .mega .cols, .mega .two { grid-template-columns: 1fr; gap: 14px 0; }
  .mega .wide { grid-column: auto; }
  .burger { display: grid; }
  .d-only { display: none !important; } .m-only { display: block !important; }
  .menu-open { overflow: hidden; }
  .brand { font-size: 18px; gap: 8px; }
  .teams { min-height: 0; }
  .teams-lay { grid-template-columns: 1fr; }
  .team-stage > div { transform: none; } .team-stage > div.on { animation: none; }
  .team-stage .cs .tbl-clip { height: 252px; }
}
@media (prefers-reduced-motion: reduce) { .team-stage > div, .team-stage > div.on { transform: none; animation: none; } .mega, .team-tab .more { transition: none; } }

/* close: the mark, large, beside the last line */
.close .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; }
.close-mark { width: clamp(180px, 24vw, 340px); aspect-ratio: 1; perspective: 900px; }
.close-mark svg { width: 100%; height: 100%; --ink: var(--fg); --ink-text: var(--bg); transform: rotateY(-22deg) rotateX(10deg); filter: drop-shadow(0 40px 60px rgba(0,0,0,.8)); }
@media (max-width: 900px) { .close .wrap { grid-template-columns: 1fr; } .close-mark { width: 150px; order: -1; } }

/* phones: the name, the endorsement and the menu button fit; the hero carries the sign-up button */
@media (max-width: 520px) { nav .wrap > .cta.sm { display: none; } nav .wrap { gap: 12px; } }
