@font-face { font-family: "GT Era"; src: url("/egocentric-1m/type/gt-era/GT-Era-Text-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "GT Era"; src: url("/egocentric-1m/type/gt-era/GT-Era-Text-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --ground: #000;
  --step: #121211;
  --ink: #f4f3ee;
  --muted: #8d8a83;
  --faint: #615e58;
  --on-ink: #f8f7f3;
  --on-ink-muted: #a9a59c;

  --sans: "GT Era", ui-sans-serif, system-ui, sans-serif;
  --serif: Georgia, serif;

  --h1: clamp(32px, 4.5vw, 66px);
  --h2: clamp(28px, 3.1vw, 46px);
  --h3: clamp(20px, 1.6vw, 24px);
  --lede: clamp(18px, 1.5vw, 22px);
  --body: 17px;
  --small: 14px;

  --margin: clamp(20px, 3vw, 44px);
  --gap: clamp(16px, 1.7vw, 24px);
  --section: clamp(112px, 15vw, 224px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: var(--body); line-height: 1.5; letter-spacing: -.008em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
video, img { display: block; width: 100%; height: 100%; object-fit: cover; }
::selection { background: var(--ink); color: var(--ground); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

h1, h2, h3, .wordmark, .btn, .bar-links, .dial, .ladder, .foot-mark, .foot-line { font-family: var(--sans); }
h1 { font-size: var(--h1); font-weight: 400; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
h2 { font-size: var(--h2); font-weight: 400; line-height: 1.06; letter-spacing: -.03em; text-wrap: balance; }
h3 { font-size: var(--h3); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; }
p { max-width: 32em; }

.frame { padding-inline: var(--margin); }
.media { overflow: hidden; background: var(--step); }
.ratio-16x9 { aspect-ratio: 16 / 9; }

/* Bar */
.bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 32px; height: var(--bar); padding-inline: var(--margin); background: var(--ground); }
.wordmark { display: block; color: var(--ink); line-height: 0; }
.wordmark svg { display: block; height: 22px; width: auto; }
.bar-links { display: flex; gap: 26px; margin-left: 20px; font-size: 14px; }
.bar-links a { text-decoration: none; color: var(--muted); transition: color .2s var(--ease); }
.bar-links a:hover { color: var(--ink); }
.bar-tag { margin-left: auto; font-family: var(--serif); font-size: 15px; max-width: none; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; background: var(--ink); color: var(--ground); font-size: 15px; font-weight: 500; letter-spacing: -.01em; text-decoration: none; transition: transform .25s var(--ease), background-color .25s var(--ease); }
.btn:hover { background: #fff; transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-light { background: var(--ink); color: var(--ground); }
.btn-light:hover { background: #fff; }

/* Hero: a grid with the title over it, then the hand pose scene. Static by default, pinned once the script is live. */
.hero { margin-top: 0; background: #000; color: var(--on-ink); }
.hero-pin { position: relative; }
.hero-grid { position: relative; height: calc(100vh - var(--bar)); min-height: 480px; overflow: hidden; }
.hero-grid::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .34); }
.hero-title { position: absolute; left: 0; right: 0; top: 0; height: calc(100vh - var(--bar)); min-height: 480px; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(32px, 5vw, 72px); }
.hero-title h1 { font-size: clamp(36px, 6.2vw, 96px); line-height: 1; max-width: 12em; color: #fff; }
.hero-title .lede { margin-top: clamp(20px, 2.2vw, 32px); font-size: var(--lede); line-height: 1.4; letter-spacing: -.015em; max-width: 34em; color: rgba(255, 255, 255, .82); }
.hero-pose { position: relative; margin: var(--margin); aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.hero-pose img { position: absolute; inset: 0; object-position: 30% 50%; }
.hero-pose img[data-key] { display: none; }
.hero-pose canvas { display: none; }
.is-live .hero-pose canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; background: #000; opacity: 0; cursor: grab; touch-action: pan-y; }
.is-live .hero-pose canvas:active { cursor: grabbing; }
.is-live .hero-pose img[data-key] { display: block; opacity: 0; will-change: opacity; }
.hero-spec { padding: 8px var(--margin) clamp(56px, 7vw, 96px); }
.hero-spec h2 { color: #fff; }
.spec-lede { margin-top: 20px; font-size: var(--lede); line-height: 1.4; letter-spacing: -.015em; color: var(--on-ink-muted); max-width: 26em; }
.spec-rows { margin: clamp(28px, 3.4vw, 48px) 0 0; display: grid; gap: 4px; }
.spec-rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 13px 16px; background: rgba(255, 255, 255, .07); }
.spec-rows dt { font-size: 14px; color: var(--on-ink-muted); }
.spec-rows dd { margin: 0; font-size: clamp(16px, 1.3vw, 19px); font-weight: 500; letter-spacing: -.015em; text-align: right; color: #fff; font-variant-numeric: tabular-nums; }

.hero-steps { display: none; }
.is-live .hero-steps { display: flex; gap: clamp(16px, 2.2vw, 36px); position: absolute; left: 0; right: 0; bottom: clamp(20px, 3vw, 40px); margin: 0; font-size: 14px; letter-spacing: -.005em; opacity: 0; will-change: opacity; }
.hero-steps li { color: rgba(255, 255, 255, .34); transition: color .4s var(--ease); position: relative; padding-top: 12px; }
.hero-steps li::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.hero-steps li.on { color: #fff; }
.hero-steps li.on::before { transform: scaleX(1); }
.hero.is-live { height: 560vh; }
.is-live .hero-pin { position: sticky; top: var(--bar); height: calc(100vh - var(--bar)); overflow: hidden; }
.is-live .hero-grid { position: absolute; inset: 0; height: auto; min-height: 0; will-change: transform, opacity; }
.is-live .hero-title { height: auto; min-height: 0; bottom: 0; will-change: transform, opacity; }
.is-live .hero-pose { position: absolute; margin: 0; aspect-ratio: auto; inset: 0; opacity: 0; will-change: inset, opacity; }
.is-live .hero-spec { position: absolute; top: 0; bottom: 0; right: 0; width: 34%; padding: 0 var(--margin) 0 clamp(20px, 2.6vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.is-live .hero-spec > *, .is-live .spec-rows div { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.is-live .hero-spec > .spec-rows { opacity: 1; transform: none; }
.is-live .hero-spec > .on, .is-live .spec-rows div.on { opacity: 1; transform: none; }

/* Sections */
section { margin-top: var(--section); }

.intro { margin-top: clamp(88px, 11vw, 168px); }
.intro-lede { font-size: clamp(24px, 3vw, 44px); line-height: 1.16; letter-spacing: -.03em; max-width: 24em; }
.releases { margin-top: clamp(72px, 9vw, 136px); }
.ladder { display: grid; font-size: clamp(22px, 2.7vw, 40px); letter-spacing: -.03em; }
.ladder a, .ladder div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: clamp(12px, 1.3vw, 20px) 0; color: var(--faint); text-decoration: none; transition: transform .3s var(--ease), color .2s var(--ease); }
.ladder span:last-child { font-size: clamp(15px, 1.3vw, 19px); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.ladder .is-out a { color: var(--ink); }
.ladder .is-out a:hover { transform: translateX(10px); }
.ladder .is-next div { color: var(--ink); }
.ladder .is-next span:last-child { color: var(--muted); }

.partner { background: var(--step); color: var(--on-ink); padding-block: var(--section); }
.partner-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center; }
.partner-text { grid-column: 1 / span 4; }
.partner-media { grid-column: 6 / -1; }
.partner .media { background: #000; }
.statement { margin-top: 24px; font-size: var(--lede); line-height: 1.45; color: var(--on-ink-muted); }
.partner .btn { margin-top: 36px; }
.partner :focus-visible { outline-color: var(--on-ink); }

/* Where we collect: a plain list by default, a scroll-driven globe once the map has loaded. */
.where-pin { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.where-text { grid-column: 1 / span 6; }
.globe { display: none; }
.countries { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px var(--gap); }
.countries h3 { display: flex; align-items: center; gap: 10px; }
.countries img { width: 24px; height: 16px; flex: none; }
.countries p { margin-top: 6px; font-size: 16px; line-height: 1.45; color: var(--muted); max-width: 20em; }
.where-note { margin-top: 40px; font-size: var(--lede); line-height: 1.4; color: var(--muted); max-width: 24em; }

.next { display: none; }
.has-globe .next { display: block; margin-top: clamp(24px, 3vw, 40px); }
.has-globe .next p { margin: 0 0 16px; font-size: 15px; color: var(--muted); max-width: 26em; }
.has-globe .where-note { display: none; }
.has-globe .countries li.is-on { pointer-events: auto; }
.where.has-globe { height: calc(100vh + 11 * 62vh); }
.has-globe .where-pin { position: sticky; top: var(--bar); height: calc(100vh - var(--bar)); align-items: center; overflow: hidden; }
.has-globe .where-text { grid-column: 1 / span 5; align-self: stretch; display: flex; flex-direction: column; padding-block: clamp(32px, 6vh, 72px); position: relative; z-index: 1; }
.has-globe .countries { position: relative; display: block; flex: 1; margin-top: 0; }
.has-globe .countries li { position: absolute; left: 0; right: 0; top: 50%; opacity: 0; transform: translateY(calc(-50% + 28px)); transition: opacity .2s linear, transform .6s var(--ease); pointer-events: none; }
.has-globe .countries li.is-past { transform: translateY(calc(-50% - 28px)); }
.has-globe .countries li.is-on { opacity: 1; transform: translateY(-50%); transition: opacity .45s var(--ease) .18s, transform .6s var(--ease) .1s; }
.has-globe .countries h3 { font-size: clamp(48px, 7.2vw, 112px); font-weight: 400; letter-spacing: -.045em; line-height: .95; gap: .2em; }
.has-globe .countries img { width: .46em; height: auto; }
.has-globe .countries p { margin-top: clamp(16px, 2vw, 28px); font-size: var(--lede); line-height: 1.4; max-width: 19em; }
.has-globe .where-note { margin-top: 0; font-size: 16px; max-width: 26em; opacity: 0; transition: opacity .5s var(--ease); }
.has-globe .where-note.is-on { opacity: 1; }
.has-globe .globe { display: block; grid-column: 6 / -1; align-self: center; justify-self: end; width: min(100%, calc(100vh - var(--bar) - 2 * var(--margin))); aspect-ratio: 1; transform: scale(var(--g, 1)); transform-origin: 60% 50%; will-change: transform; cursor: grab; touch-action: pan-y; }
.has-globe .globe:active { cursor: grabbing; }
.globe canvas { display: block; width: 100%; height: 100%; }

.join { position: relative; overflow: hidden; background: #000; color: #fff; min-height: 100vh; min-height: 100dvh; display: flex; align-items: flex-end; }
.join-media { position: absolute; inset: 0; }
.join-media .media { width: 100%; height: 100%; aspect-ratio: auto; background: #000; }
.join-media::after { content: ""; position: absolute; inset: 0; background: rgba(20, 19, 16, .46); }
.join-grid { position: relative; width: 100%; padding-block: clamp(40px, 6vw, 88px); }
.join-text { max-width: 34em; }
.join-text h2 { color: #fff; }
.join-text p { margin-top: 20px; font-size: var(--lede); line-height: 1.4; letter-spacing: -.015em; color: rgba(255, 255, 255, .86); }
.join .btn { margin-top: 32px; background: #fff; color: #000; }
.join .btn:hover { background: #fff; }
.join :focus-visible { outline-color: #fff; }

.foot { padding-top: var(--bar); padding-bottom: 28px; overflow: hidden; }
.foot-top { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.foot-line { font-size: 15px; }
.foot-social { display: flex; gap: 24px; font-family: var(--sans); font-size: 15px; max-width: none; }
.foot-social a { text-underline-offset: 5px; text-decoration-thickness: 1px; }
.foot-mark { margin-top: clamp(40px, 6vw, 96px); color: var(--ink); }
.foot-mark svg { display: block; width: 100%; height: auto; }
.foot-legal { font-family: var(--sans); font-size: var(--small); color: var(--muted); margin-top: 20px; max-width: none; }

/* Motion */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
[data-zoom] > video, [data-zoom] > img { transform: scale(calc(1.22 - var(--z, 1) * .22)); will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { transform: none; transition: opacity .3s linear; }
  [data-zoom] > video, [data-zoom] > img { transform: none; }
  .btn { transition: none; }
}

/* Tablet */
@media (max-width: 1100px) { .bar-links { display: none; } }
@media (max-width: 960px) {
  .hero.is-live { height: 560vh; }
  .hero-pose img { object-position: 42% 50%; }
  .is-live .hero-spec { top: auto; left: 0; width: auto; height: 54%; padding: 0 var(--margin); justify-content: flex-start; }
  .spec-rows div { padding: 9px 12px; }
  .spec-lede { margin-top: 12px; }
  .spec-rows { margin-top: 18px; }
  .partner-text, .partner-media { grid-column: 1 / -1; }
  .partner-media { margin-top: 48px; }
  .where-text, .has-globe .where-text { grid-column: 1 / -1; }
  .has-globe .where-pin { align-content: start; }
  .has-globe .where-text { order: 2; padding-block: 16px 24px; align-self: start; min-height: 46vh; }
  .has-globe .countries li { top: 0; transform: translateY(28px); }
  .has-globe .countries li.is-past { transform: translateY(-28px); }
  .has-globe .countries li.is-on { transform: none; }
  .has-globe .countries { margin-top: 24px; }
  .has-globe .globe { order: 1; grid-column: 1 / -1; justify-self: center; width: min(78vw, 44vh); transform-origin: 50% 50%; margin-top: 12px; }
}
@media (max-width: 520px) {
  .is-live .hero-steps { gap: 14px; font-size: 12px; }
  .is-live .spec-lede { display: none; }
  .spec-rows dd { font-size: 15px; }
  .bar-tag { font-size: 12px; text-align: right; line-height: 1.25; max-width: 11em; }
  .countries { grid-template-columns: 1fr; gap: 28px; }
}


/* ---- Second pass: frame lines, mono labels, larger hero type ---- */
@font-face { font-family: "Geist Mono"; src: url("assets/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root { --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace; --line: rgba(255, 255, 255, .13); --inset: clamp(16px, 2.4vw, 40px); }

/* The page sits inside two vertical rules, the way a drawing sits inside its border. */
body::before, body::after { content: ""; position: fixed; top: 0; bottom: 0; width: 1px; background: var(--line); z-index: 20; pointer-events: none; }
body::before { left: var(--margin); }
body::after { right: var(--margin); }
.frame { padding-inline: calc(var(--margin) + var(--inset)); }
.bar { padding-inline: calc(var(--margin) + var(--inset)); border-bottom: 1px solid var(--line); height: var(--bar); }

.label { font-family: var(--mono); font-size: 12px; font-weight: 400; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); max-width: none; }

.bar-links { margin-left: auto; gap: 28px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.bar-cta { height: 36px; padding: 0 16px; font-size: 13px; margin-left: 8px; }

.hero-title { padding-bottom: clamp(56px, 8vw, 104px); }
.hero-title h1 { font-size: clamp(46px, 10.4vw, 168px); font-weight: 400; line-height: .9; letter-spacing: -.05em; max-width: 8.2em; text-wrap: balance; }
.is-live .hero-steps { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

/* Sections are ruled off from each other instead of floating in space. */
main > section { margin-top: 0; }
.intro, .releases, .partner, .where, .join { border-top: 1px solid var(--line); }
.intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); padding-block: clamp(72px, 9vw, 144px); }
.intro .label { grid-column: 1 / span 3; padding-top: .9em; }
.intro-lede { grid-column: 4 / -1; font-size: clamp(24px, 3.1vw, 46px); line-height: 1.14; max-width: 22em; }

.releases { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); padding-block: clamp(56px, 7vw, 104px) 0; align-items: start; }
.releases .label { grid-column: 1 / span 3; padding-top: 22px; }
.ladder { grid-column: 4 / -1; font-size: clamp(22px, 2.9vw, 42px); }
.ladder li + li { border-top: 1px solid var(--line); }
.ladder a, .ladder div { padding: clamp(14px, 1.6vw, 24px) 0; }
.ladder span:last-child { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.releases { padding-bottom: clamp(56px, 7vw, 104px); }

.partner { background: var(--ground); padding-block: clamp(72px, 9vw, 144px); }
.partner h2 { font-size: var(--h2); }
.ascii { position: relative; background: #000; }
.ascii video { opacity: 0; transition: opacity .5s var(--ease); }
.ascii canvas { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .5s var(--ease); }
.ascii:hover video { opacity: 1; }
.ascii:hover canvas { opacity: 0; }
.ascii:not(.is-ascii) video { opacity: 1; }

.where.has-globe { border-top: 1px solid var(--line); }
.where-text h2 { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.has-globe .next p { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; line-height: 1.5; text-transform: uppercase; }

.join .label { color: rgba(255, 255, 255, .7); margin-bottom: 18px; }
.btn { height: 44px; padding: 0 18px; font-size: 14px; }

.foot { border-top: 1px solid var(--line); }
.foot-line, .foot-social, .foot-legal { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; }
.foot-social a { text-decoration: none; color: var(--muted); transition: color .2s var(--ease); }
.foot-social a:hover { color: var(--ink); }

@media (max-width: 960px) {
  .intro .label, .intro-lede, .releases .label, .ladder { grid-column: 1 / -1; }
  .intro .label, .releases .label { padding-top: 0; }
  .bar-cta { margin-left: auto; }
}

.codegrid { border-top: 1px solid var(--line); padding-inline: var(--margin); }
.codegrid .media { aspect-ratio: 16 / 9; max-height: 88vh; width: 100%; }

/* Hero grid with the live activity overlay. */
.hero-grid canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s var(--ease); }
.hero-grid.is-tracking canvas { opacity: 1; }
.hero-grid::after { background: rgba(0, 0, 0, .12); }

/* Releases as a timeline: six points on one line, each ten times the last, growing left to right. */
@media (min-width: 1px) {
  .releases .label { grid-column: 1 / -1; padding-top: 0; }
  .ladder { grid-column: 1 / -1; position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin-top: clamp(24px, 3vw, 48px); font-size: clamp(17px, 1.55vw, 23px); letter-spacing: -.02em; }
  .ladder::before { content: ""; position: absolute; left: 0; right: 0; top: 90px; height: 1px; background: var(--line); }
  .ladder li + li { border-top: 0; }
  .ladder a, .ladder div { display: grid; grid-template-rows: 180px auto auto; justify-items: start; align-items: start; gap: 0; padding: 0 16px 0 0; transition: none; }
  .ladder .is-out a:hover { transform: none; }
  .ladder a::before, .ladder div::before { content: ""; align-self: center; width: var(--d); height: var(--d); border-radius: 50%; box-sizing: border-box; position: relative; z-index: 1; background: #000; border: 1px solid var(--faint); transform: scale(0); transition: transform .9s var(--ease), background-color .3s var(--ease); transition-delay: calc(var(--i) * 110ms + 150ms); }
  .ladder.in a::before, .ladder.in div::before { transform: scale(1); }
  .ladder li:nth-child(1) { --d: 12px; --i: 0; } .ladder li:nth-child(2) { --d: 30px; --i: 1; } .ladder li:nth-child(3) { --d: 56px; --i: 2; }
  .ladder li:nth-child(4) { --d: 88px; --i: 3; } .ladder li:nth-child(5) { --d: 124px; --i: 4; } .ladder li:nth-child(6) { --d: 164px; --i: 5; }
  .ladder .is-out a::before { background: var(--ink); border-color: var(--ink); }
  .ladder .is-out a:hover::before { background: #fff; transform: scale(1.12); transition-delay: 0s; }
  .ladder .is-next div::before { border: 1.5px solid var(--ink); animation: pending 2.4s var(--ease) infinite; }
  .ladder span:first-child { margin-top: 18px; }
  .ladder span:last-child { margin-top: 8px; }
}
@keyframes pending { 0%, 100% { box-shadow: 0 0 0 0 rgba(244, 243, 238, .0); } 50% { box-shadow: 0 0 0 10px rgba(244, 243, 238, .08); } }
@media (prefers-reduced-motion: reduce) { .ladder a::before, .ladder div::before { transform: none !important; animation: none !important; } }

/* Hero as a field of floating clips you fly through; one of them is the frame the story continues on. */
.hero-title h1 { font-size: clamp(34px, 6vw, 96px); line-height: 1; letter-spacing: -.045em; max-width: none; }
.h1-line { display: block; }
.rot { display: inline-block; color: #8f8c84; transition: opacity .35s var(--ease), transform .45s var(--ease); }
.rot.out { opacity: 0; transform: translateY(.18em); }
.hero-tag { margin-top: clamp(18px, 2vw, 28px); color: rgba(255, 255, 255, .7); }
.hero-title .btn { margin-top: clamp(22px, 2.4vw, 36px); align-self: flex-start; }
.is-live .hero-grid { opacity: 0; pointer-events: none; }
.is-live .hero-title { top: 0; bottom: 0; padding-bottom: 0; align-items: center; justify-content: center; text-align: center; z-index: 2; pointer-events: none; }
.is-live .hero-title .btn { align-self: center; pointer-events: auto; }
.hero-field { position: absolute; inset: 0; overflow: hidden; }
.tile { position: absolute; left: 50%; top: 50%; width: var(--w); aspect-ratio: 16 / 9; margin-left: calc(var(--w) / -2); margin-top: calc(var(--w) * 9 / -32); overflow: hidden; border-radius: 6px; background: #121211; will-change: transform, opacity; }
.tile canvas, .tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tile-target { aspect-ratio: auto; z-index: 1; }
.tile-target img { object-position: 30% 50%; }
.is-live .hero-pose { z-index: 1; }
.is-live .hero-steps { z-index: 3; }
@media (max-width: 700px) {
  .tile:not(.tile-target) { width: calc(var(--w) * 2.2); margin-left: calc(var(--w) * -1.1); margin-top: calc(var(--w) * 2.2 * 9 / -32); }
}

/* Opening screen: the grid, full width, with the tagline large over it. */
.top { position: relative; height: calc(100vh - var(--bar)); min-height: 520px; overflow: hidden; background: #000; }
.top-media { position: absolute; inset: 0; }
.top-media::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .58); }
.top-title { position: absolute; inset: 0; display: flex; align-items: flex-end; padding-bottom: clamp(40px, 6vw, 88px); }
.top-title h1 { font-size: clamp(46px, 10.4vw, 168px); font-weight: 400; line-height: .9; letter-spacing: -.05em; max-width: 8.2em; color: #fff; text-wrap: balance; }
.hero { border-top: 1px solid var(--line); }
.hero-title h2 { font-size: clamp(34px, 6vw, 96px); font-weight: 400; line-height: 1; letter-spacing: -.045em; color: #fff; }

/* The floating-clips section is one screen, not a pinned sequence. */
.hero.is-live { height: calc(100vh - var(--bar)); min-height: 560px; }
.is-live .hero-pin { position: relative; top: 0; height: 100%; }

/* White version: add ?theme=light to the address. The opening grid and the recruiting montage stay dark, since text sits on footage there. */
:root[data-theme="light"] { --ground: #f8f7f3; --step: #efede7; --ink: #1a1916; --muted: #77746d; --faint: #b3afa6; --on-ink: #1a1916; --on-ink-muted: #77746d; --line: rgba(0, 0, 0, .13); }
[data-theme="light"] .btn:hover { background: #3a3832; }
[data-theme="light"] .join .btn:hover { background: #fff; }
[data-theme="light"] .hero { background: var(--ground); }
[data-theme="light"] .hero-title h2 { color: var(--ink); }
[data-theme="light"] .rot { color: #a09c94; }
[data-theme="light"] .tile { background: var(--step); }
[data-theme="light"] .ladder a::before, [data-theme="light"] .ladder div::before { background: var(--ground); }
[data-theme="light"] .ladder .is-out a::before { background: var(--ink); }
[data-theme="light"] .ladder .is-out a:hover::before { background: #000; }
[data-theme="light"] .partner .media { background: var(--step); }

/* Trades: the headline names a trade and the four clips under it are that trade, changing together. */
.trades { border-top: 1px solid var(--line); padding-block: clamp(72px, 9vw, 144px); }
.trades-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: end; }
.trades-head h2 { grid-column: 1 / span 7; font-size: clamp(34px, 6vw, 96px); line-height: 1; letter-spacing: -.045em; }
.trades .rot { color: var(--muted); }
.trade-tabs { grid-column: 9 / -1; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0 0 .6em; }
.trade-tabs button { padding: 4px 0; border: 0; background: none; cursor: pointer; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); position: relative; transition: color .25s var(--ease); }
.trade-tabs button:hover { color: var(--ink); }
.trade-tabs button[aria-pressed="true"] { color: var(--ink); }
.trade-tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.trade-tabs button[aria-pressed="true"]::after { animation: tabfill var(--dwell, 4.6s) linear forwards; }
@keyframes tabfill { to { transform: scaleX(1); } }
.trade-row { margin-top: clamp(36px, 4.4vw, 72px); display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.trade-clip { transition: opacity .45s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--k, 0) * 70ms); }
.trade-clip.out { opacity: 0; transform: translateY(26px); }
.trade-clip .media { background: var(--step); }
.trade-clip figcaption { margin-top: 12px; }
@media (max-width: 960px) {
  .trades-head h2, .trade-tabs { grid-column: 1 / -1; }
  .trade-tabs { padding-top: 12px; }
  .trade-row { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
}

/* Opening headline rises line by line. */
.top-title h1 .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.js .top-title h1 .ln > span { display: block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.js .top-title h1 .ln:nth-child(2) > span { animation-delay: .09s; }
.js .top-title h1 .ln:nth-child(3) > span { animation-delay: .18s; }
@keyframes rise { to { transform: none; } }

/* Overview words light up as you read. */
.js [data-words] .w { color: var(--faint); transition: color .35s var(--ease); }
.js [data-words] .w.on { color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .js .top-title h1 .ln > span { transform: none; animation: none; }
  .js [data-words] .w { color: var(--ink); }
  .trade-tabs button[aria-pressed="true"]::after { animation: none; transform: scaleX(1); }
}

/* Hero grid fills in over time: a few clips, then more, then all of them. */
.top-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .5s var(--ease); }
.top-media.is-filling canvas { opacity: 1; }
.top-media.is-filling::after { background: none; }

/* Timeline, livelier: released sets are circles of real footage, the pending one is loading, the future ones turn slowly. */
.orb { display: none; }
@media (min-width: 1px) {
  .ladder::before { top: 130px; transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .1s; }
  .ladder.in::before { transform: scaleX(1); }
  .ladder::after { content: ""; position: absolute; top: 127px; left: 18px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); z-index: 2; opacity: 0; }
  .ladder.in::after { animation: travel 5.5s cubic-bezier(.5, 0, .3, 1) 1.6s infinite; }
  .ladder a, .ladder div { grid-template-rows: 260px auto auto; }
  .ladder a::before, .ladder div::before { content: none; }
  .ladder span:first-child, .ladder .orb + span { margin-top: 18px; }
  .ladder .orb { display: block; margin-top: 0; align-self: center; width: var(--d); height: var(--d); border-radius: 50%; position: relative; z-index: 1; background: var(--ground); border: 1px solid var(--faint); overflow: hidden; transform: scale(0); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 120ms + 200ms); }
  .ladder.in .orb { transform: scale(1); }
  .ladder li:nth-child(1) { --d: 34px; } .ladder li:nth-child(2) { --d: 62px; } .ladder li:nth-child(3) { --d: 96px; }
  .ladder li:nth-child(4) { --d: 134px; } .ladder li:nth-child(5) { --d: 176px; } .ladder li:nth-child(6) { --d: 222px; }
  .orb video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.6); }
  .ladder .is-out .orb { border-color: var(--ink); }
  .ladder .is-out a:hover .orb { transform: scale(1.14); transition-delay: 0s; transition-duration: .4s; }
  /* Pending: footage is in there but faint, and a ring keeps working around it. */
  .ladder .is-next .orb { border-color: transparent; overflow: visible; }
  .ladder .is-next .orb video { border-radius: 50%; opacity: .38; transform: none; clip-path: circle(46%); }
  .ladder .is-next .orb::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; background: conic-gradient(var(--ink) 0 28%, var(--faint) 28% 100%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px)); animation: orbit 2.6s linear infinite; }
  /* Not yet: dashed outlines turning slowly, each a little slower than the last. */
  .ladder li:nth-child(n+4) .orb { border: 0; overflow: visible; }
  .ladder li:nth-child(n+4) .orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px dashed var(--faint); animation: orbit 40s linear infinite; }
  .ladder li:nth-child(5) .orb::after { animation-duration: 60s; animation-direction: reverse; }
  .ladder li:nth-child(6) .orb::after { animation-duration: 85s; }
}
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes travel { 0% { left: 18px; opacity: 0; } 8% { opacity: 1; } 78% { opacity: 1; } 92%, 100% { left: calc(33.333% + 48px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ladder .orb { transform: none !important; } .ladder .orb::after, .ladder::after { animation: none !important; } .ladder::before { transform: none !important; } }
@media (min-width: 1px) { .ladder li .orb:first-child { margin-top: 0; } }

/* Hero wall, drawn from the site's own clip sheet. */
.top-media[data-wall] { background: #000; }
.top-media[data-wall] canvas { opacity: 0; transition: opacity .6s var(--ease); }
.top-media[data-wall].is-ready canvas { opacity: 1; }
.top-media[data-wall]::after { background: rgba(0, 0, 0, .44); pointer-events: none; z-index: 2; transition: background-color .5s var(--ease); }
.top:hover .top-media[data-wall]::after { background: rgba(0, 0, 0, .3); }
.wall-live { position: absolute; left: 0; top: 0; object-fit: cover; opacity: 0; transition: opacity .35s var(--ease); z-index: 1; padding: .5px; }
.wall-chip { position: absolute; left: 0; top: 0; z-index: 3; padding: 7px 10px; background: #f4f3ee; color: #1a1916; font-family: var(--mono); font-size: 12px; line-height: 1; letter-spacing: .04em; opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; }
.wall-pop { position: absolute; left: 0; top: 0; z-index: 4; margin: 0; opacity: 0; pointer-events: none; transition: opacity .2s var(--ease); background: #000; outline: 1px solid rgba(255, 255, 255, .7); }
.wall-pop.on { opacity: 1; }
.wall-pop video { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; }
.wall-pop figcaption { margin: 0; padding: 9px 10px; background: #f4f3ee; color: #1a1916; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.top-title { pointer-events: none; z-index: 3; }

.wall-still { aspect-ratio: 16 / 9; background: #000 url("assets/wall/sheet-128.webp") no-repeat; background-size: 2500% 2000%; }
.wall-pop .wall-still video { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; opacity: 0; transition: opacity .25s var(--ease); }
:root { color-scheme: dark; }
:root[data-theme="light"] { color-scheme: light; }
.bar { top: env(safe-area-inset-top, 0px); }

/* Hero, calmer: the wall is dim and colourless under hand skeletons; the veil can be light. The wall pushes in as you scroll away. */
.top-media[data-wall]::after, .top:hover .top-media[data-wall]::after { background: rgba(0, 0, 0, .12); }
.top-media[data-wall] { transform: scale(calc(1 + var(--sc, 0) * .12)); transform-origin: 60% 40%; will-change: transform; }
.top-title { transform: translateY(calc(var(--sc, 0) * -70px)); opacity: calc(1 - var(--sc, 0) * 1.3); }
.wall-live { outline: 1px solid rgba(255, 255, 255, .55); padding: 0; transition: opacity .7s var(--ease); }

/* Footer wordmark as a window: the letters are cut out of the clip wall, which keeps playing inside them. */
.foot-mark { aspect-ratio: 1047 / 476; background: var(--ink); overflow: hidden; -webkit-mask: url("assets/site/build-logo-mask.svg") center / 100% 100% no-repeat; mask: url("assets/site/build-logo-mask.svg") center / 100% 100% no-repeat; }
.foot-mark video { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.15) contrast(1.05); }
.foot-mark[data-zoom] > video { transform: scale(calc(1.5 - var(--z, 1) * .35)); }

.foot-mark[data-zoom] > video { transform: scale(calc(1.12 - var(--z, 1) * .12)); }

/* Hero, scroll-driven: the wall stays in place while scrolling grows the lit area from 10K to 1M and the counter follows. */
.top { height: 250vh; overflow: visible; background: #000; }
.top-pin { position: sticky; top: var(--bar); height: calc(100vh - var(--bar)); min-height: 480px; overflow: hidden; }
/* No transform or will-change here: either would make the wall its own stacking context and trap the hover popup behind the title. */
.top-media[data-wall] { transform: none; will-change: auto; }
.top-title { transform: none; opacity: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: var(--gap); }
.wall-chip { display: none; }
.top-count { margin: 0; max-width: none; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; color: #fff; }
.top-count .label { color: rgba(255, 255, 255, .7); }
.top-num { display: block; font-size: clamp(64px, 13vw, 210px); font-weight: 400; line-height: .82; letter-spacing: -.055em; font-variant-numeric: tabular-nums; transition: opacity .17s var(--ease), transform .3s var(--ease); }
.top-num.out { opacity: 0; transform: translateY(.12em); }
@media (max-width: 760px) {
  .top-title { flex-direction: column-reverse; align-items: flex-start; justify-content: flex-start; gap: 20px; }
  .top-count { align-items: flex-start; }
  .top-num { font-size: clamp(56px, 20vw, 110px); }
}
@media (prefers-reduced-motion: reduce) { .top { height: auto; } .top-pin { position: relative; top: 0; } }

.top-title h1 { flex: none; }

/* Counter: top right, opposite the headline, reading as the dataset's name. */
.top-title { display: block; }
.top-count { position: absolute; top: clamp(28px, 4.4vw, 64px); right: calc(var(--margin) + var(--inset)); align-items: flex-end; gap: 14px; }
.top-num { display: flex; align-items: baseline; font-size: clamp(34px, 5.4vw, 84px); line-height: 1; letter-spacing: -.045em; opacity: 1; transform: none; }
.top-pre { color: rgba(255, 255, 255, .5); }
.top-num [data-count] { display: inline-block; min-width: 2.6em; text-align: left; transition: opacity .17s var(--ease), transform .3s var(--ease); }
.top-num [data-count].out { opacity: 0; transform: translateY(.14em); }
.top-steps { display: flex; gap: 22px; margin: 0; padding: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; }
.top-steps li { position: relative; padding-top: 10px; color: rgba(255, 255, 255, .38); transition: color .3s var(--ease); }
.top-steps li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.top-steps li.on { color: #fff; }
.top-steps li.on::before { transform: scaleX(1); }
.top-title h1 { position: absolute; left: calc(var(--margin) + var(--inset)); bottom: clamp(40px, 6vw, 88px); }
@media (max-width: 760px) {
  .top-count { right: auto; left: calc(var(--margin) + var(--inset)); align-items: flex-start; }
  .top-num { font-size: clamp(30px, 9vw, 48px); }
}

/* The original site's side column, kept: logo, section list, tagline, social links and legal line, fixed at the left on wide screens. */
:root { --bar: 64px; --side: 0px; }
.side { display: none; }
@media (min-width: 1200px) {
  :root { --bar: 0px; --side: clamp(224px, 17vw, 288px); }
  .bar { display: none; }
  .side { display: flex; flex-direction: column; position: fixed; z-index: 30; left: 0; top: 0; bottom: 0; width: var(--side); padding: 40px 28px 36px 40px; background: var(--ground); border-right: 1px solid var(--line); }
  main, .foot { margin-left: var(--side); }
  body::before { display: none; }
  .side-logo { display: block; color: var(--ink); line-height: 0; }
  .side-logo svg { display: block; height: 26px; width: auto; }
  .side-nav { margin: 30px 0 0; padding: 0; list-style: none; border-left: 1px solid var(--line); font-size: 15px; }
  .side-nav a { display: block; position: relative; padding: 7px 0 7px 16px; color: var(--muted); text-decoration: none; transition: color .2s var(--ease); }
  .side-nav a:hover { color: var(--ink); }
  .side-nav a::before { content: ""; position: absolute; left: -1px; top: 6px; bottom: 6px; width: 2px; background: var(--ink); transform: scaleY(0); transition: transform .3s var(--ease); }
  .side-nav a.on { color: var(--ink); }
  .side-nav a.on::before { transform: scaleY(1); }
  .side-foot { margin-top: auto; }
  .side-tag { font-family: var(--serif); font-size: 19px; line-height: 1.3; letter-spacing: 0; max-width: 11em; color: var(--ink); }
  .side-social { display: flex; gap: 18px; margin-top: 22px; }
  .side-social a { color: var(--muted); line-height: 0; transition: color .2s var(--ease); }
  .side-social a:hover { color: var(--ink); }
  .side-social svg { width: 17px; height: 17px; fill: currentColor; display: block; }
  .side-legal { margin-top: 22px; font-size: 13px; line-height: 1.45; color: var(--muted); }
  .side-legal a { text-underline-offset: 3px; }
  .foot-top, .foot-legal { display: none; }
  .foot-mark { margin-top: 0; }
}

.wall-live { outline: 0; transition: opacity .6s var(--ease); }
/* Counter, quieter: about half the size. */
.top-num { font-size: clamp(22px, 2.5vw, 38px); letter-spacing: -.03em; }
.top-count { gap: 10px; }
.top-steps { gap: 16px; font-size: 11px; }
.top-steps li { padding-top: 8px; }
@media (max-width: 760px) { .top-num { font-size: 22px; } }
/* Globe: fewer scroll-screens per country, so the tour moves along faster. */
.where.has-globe { height: calc(100vh + 11 * 36vh); }
/* Back to the earlier hero look: larger counter, hover colour, playing clips. The hero itself needs a little less scrolling. */
.top-num { font-size: clamp(34px, 5.4vw, 84px); letter-spacing: -.045em; }
.top-count { gap: 14px; }
.top-steps { gap: 22px; font-size: 12px; }
.top-steps li { padding-top: 10px; }
.top { height: 210vh; }
.wall-live { outline: 1px solid rgba(255, 255, 255, .55); }
@media (max-width: 760px) { .top-num { font-size: clamp(30px, 9vw, 48px); } }
@media (prefers-reduced-motion: reduce) { .top { height: auto; } }
/* Hero: a touch more scroll per release. */
.top { height: 240vh; }
@media (prefers-reduced-motion: reduce) { .top { height: auto; } }

/* Hero, full screen: it covers the header and side column while you scroll through it; they return once it is done. */
.bar { position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); transition: transform .45s var(--ease); }
.side { transition: transform .5s var(--ease); }
body.in-hero .bar { transform: translateY(-110%); }
body.in-hero .side { transform: translateX(-102%); }
/* Its width is the page plus the side column it covers, not 100vw: 100vw also counts a classic scrollbar, which
   made the whole page scroll sideways. */
.top { margin-left: calc(-1 * var(--side)); width: calc(100% + var(--side)); max-width: none; }
.top-pin { top: 0; height: 100vh; height: 100svh; }
.top-num { display: none; }
.top-count { top: clamp(24px, 3.4vw, 48px); }
@media (prefers-reduced-motion: reduce) { .bar, .side { transition: none; } }

/* Globe section: names sized to their column so they never reach the globe, plus a small position counter. */
.has-globe .where-text { grid-column: 1 / span 5; min-width: 0; padding-right: clamp(16px, 2vw, 40px); }
.has-globe .globe { grid-column: 6 / -1; }
.has-globe .countries h3 { font-size: clamp(40px, 5.2vw, 84px); white-space: nowrap; }
.has-globe .countries p { max-width: 17em; }
.where-idx { margin-left: 1.6em; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 960px) { .has-globe .where-text { padding-right: 0; } }

/* Hover preview eases in from the clip's own size instead of appearing at once. */
.wall-pop { transition: opacity .28s var(--ease); }
.wall-pop .wall-still, .wall-pop figcaption { transform: scale(.92); transform-origin: 50% 50%; transition: transform .38s var(--ease); }
.wall-pop.on .wall-still, .wall-pop.on figcaption { transform: none; }

/* Timeline labels: the size always sits on its own second line, so every column lines up. */
.lad-name b { font-weight: inherit; }
@media (min-width: 1px) {
  .lad-name { line-height: 1.12; }
  .lad-name b { display: block; }
}

/* Timeline, exponential: each release gets a wider column and a larger number than the one before, so the row itself shows the growth. */
.lad-name i { font-style: normal; }
@media (min-width: 1px) {
  .ladder { grid-template-columns: 1fr 1.15fr 1.35fr 1.7fr 2.3fr 2.6fr; align-items: stretch; }
  .ladder li { display: flex; }
  .ladder a, .ladder div { width: 100%; grid-template-rows: 260px 1fr auto; }
  .ladder.in::after { animation-name: travel2; }
  .lad-name { align-self: end; display: block; line-height: 1; }
  .lad-name i { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .lad-name b { display: block; margin-top: 10px; font-size: var(--n); font-weight: 400; letter-spacing: -.045em; line-height: .86; transform-origin: 0 100%; transform: scale(.35); opacity: 0; transition: transform 1.1s var(--ease), opacity .6s var(--ease); transition-delay: calc(var(--i) * 130ms + 350ms); }
  .ladder.in .lad-name b { transform: none; opacity: 1; }
  .ladder li:nth-child(1) { --n: clamp(20px, 1.9vw, 28px); } .ladder li:nth-child(2) { --n: clamp(26px, 2.5vw, 38px); } .ladder li:nth-child(3) { --n: clamp(34px, 3.4vw, 52px); }
  .ladder li:nth-child(4) { --n: clamp(44px, 4.6vw, 70px); } .ladder li:nth-child(5) { --n: clamp(56px, 6vw, 92px); } .ladder li:nth-child(6) { --n: clamp(76px, 8.4vw, 132px); }
  .ladder span:last-child { margin-top: 14px; }
}
@keyframes travel2 { 0% { left: 18px; opacity: 0; } 8% { opacity: 1; } 78% { opacity: 1; } 92%, 100% { left: calc(21.3% + 48px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .lad-name b { transform: none !important; opacity: 1 !important; } }
@media (min-width: 1px) { .lad-name i { font-size: 11px; letter-spacing: .06em; } }

/* Overview runs the full width with no label; the page ends on the recruiting montage. */
.intro-lede { grid-column: 1 / -1; max-width: none; font-size: clamp(26px, 3.7vw, 60px); line-height: 1.1; text-wrap: pretty; }
.foot { padding-top: 22px; padding-bottom: 22px; }
.foot .frame { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; }
.foot-top { display: contents; }
.foot-legal { margin-top: 0; }
@media (min-width: 1200px) { .foot { display: none; } }

/* 1M is released; 10M is the pending one. */
.ladder .is-out div { color: var(--ink); }
@media (min-width: 1px) {
  .ladder li.is-next:nth-child(n+4) .orb { border: 1px solid transparent; }
  .ladder li.is-next:nth-child(n+4) .orb::after { inset: -1px; border: 0; background: conic-gradient(var(--ink) 0 28%, var(--faint) 28% 100%); animation: orbit 2.6s linear infinite; }
  .ladder.in::after { animation-name: travel3; }
}
@keyframes travel3 { 0% { left: 18px; opacity: 0; } 8% { opacity: 1; } 78% { opacity: 1; } 92%, 100% { left: calc(34.65% + 64px); opacity: 0; } }

/* Timeline: each circle sits on top of its own number, so circles and numbers climb together, joined by one rising curve. */
.lad-curve, .lad-dot { display: none; }
@media (min-width: 1px) {
  .ladder { align-items: end; }
  .ladder::before, .ladder::after, .ladder.in::after { content: none; animation: none; }
  .ladder a, .ladder div { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; }
  .ladder .orb { align-self: flex-start; flex: none; }
  .ladder .orb + span, .ladder .lad-name { margin-top: 22px; align-self: flex-start; }
  .lad-curve { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
  .lad-curve path { fill: none; stroke: var(--faint); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease) .1s; }
  .ladder.in .lad-curve path { stroke-dashoffset: 0; }
  .lad-dot { display: block; position: absolute; left: 0; top: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); z-index: 2; opacity: 0; offset-rotate: 0deg; offset-distance: 0%; }
  .ladder.in .lad-dot { animation: travel4 5.5s cubic-bezier(.5, 0, .3, 1) 1.8s infinite; }
}
@keyframes travel4 { 0% { offset-distance: 0%; opacity: 0; } 8% { opacity: 1; } 78% { opacity: 1; } 92%, 100% { offset-distance: var(--stop, 40%); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .lad-dot { animation: none !important; } .lad-curve path { stroke-dashoffset: 0 !important; } }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.where h2 .where-idx { margin-left: 0; }

/* Timeline, scroll-driven: the curve draws as you scroll and each release grows in when the line reaches it. */
@media (min-width: 1px) {
  .ladder.scrub .lad-curve path { stroke-dashoffset: calc(1 - var(--L, 0)); transition: none; }
  .ladder.scrub .orb { transform: scale(var(--q, 0)); transition: transform .3s cubic-bezier(.2, .8, .2, 1); transition-delay: 0s; }
  .ladder.scrub .lad-name b { transform: scale(calc(.35 + .65 * var(--q, 0))); opacity: var(--q, 0); transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .3s linear; transition-delay: 0s; }
  .ladder.scrub .lad-name i, .ladder.scrub li span:last-child { opacity: var(--q, 0); transition: opacity .3s linear; }
  .ladder.scrub .lad-dot { animation: none; }
  .ladder.scrub.reached .lad-dot { animation: travel4 5.5s cubic-bezier(.5, 0, .3, 1) .4s infinite; }
}

/* Timeline on narrower screens: same graphic, with circles and numbers scaled to the width. */
@media (min-width: 1px) {
  .ladder li:nth-child(1) { --d: min(34px, 3.2vw); } .ladder li:nth-child(2) { --d: min(62px, 5.9vw); } .ladder li:nth-child(3) { --d: min(96px, 9.1vw); }
  .ladder li:nth-child(4) { --d: min(134px, 12.7vw); } .ladder li:nth-child(5) { --d: min(176px, 16.6vw); } .ladder li:nth-child(6) { --d: min(222px, 21vw); }
}
@media (max-width: 960px) {
  .ladder li:nth-child(1) { --n: max(14px, 1.9vw); } .ladder li:nth-child(2) { --n: max(17px, 2.5vw); } .ladder li:nth-child(3) { --n: 3.4vw; }
  .ladder li:nth-child(4) { --n: 4.6vw; } .ladder li:nth-child(5) { --n: 6vw; } .ladder li:nth-child(6) { --n: 8.4vw; }
  .ladder a, .ladder div { padding-right: 8px; }
  .lad-name i { font-size: 8.5px; letter-spacing: .03em; }
  .ladder span:last-child { font-size: 10px; }
}

/* Phones: the globe text takes the full width (it had collapsed to the width of the counter). */
@media (max-width: 960px) { .where-text, .has-globe .where-text { grid-column: 1 / -1; } .has-globe .globe { grid-column: 1 / -1; } }

/* Phones: pinned sections use the small viewport height so nothing hides under the browser's toolbar. */
@media (max-width: 960px) { .has-globe .where-pin { height: calc(100vh - var(--bar)); height: calc(100svh - var(--bar)); } }

/* Trades headline: always two lines. The second line never wraps; trades.js picks a size that fits the longest trade. */
.trades-head h2 { grid-column: 1 / span 8; }
.trades-head h2 .h1-line { white-space: nowrap; }
@media (max-width: 960px) { .trades-head h2 { grid-column: 1 / -1; } }

/* Timeline on phones: the same rising circles, with the small "Egocentric" labels dropped so six fit across. */
@media (max-width: 640px) {
  .ladder li:nth-child(1) { --n: 11.5px; } .ladder li:nth-child(2) { --n: 12px; } .ladder li:nth-child(3) { --n: max(14px, 3.6vw); }
  .ladder li:nth-child(4) { --n: 4.8vw; } .ladder li:nth-child(5) { --n: 6vw; } .ladder li:nth-child(6) { --n: 8.6vw; --d: 19vw; }
  .ladder a, .ladder div { padding-right: 3px; }
  .lad-name i { display: none; }
  .lad-name b { margin-top: 0; }
  .ladder .orb + span, .ladder .lad-name { margin-top: 12px; }
  .ladder span:last-child { font-size: 9px; letter-spacing: .02em; margin-top: 8px; }
  .ladder { margin-top: 28px; }
}

/* The join section's video box shows its poster filling the frame (used as the still on phones). */
.join-media video { object-fit: cover; }

/* Future releases: instead of empty outlines, each circle holds a faint field of dots, finer and denser as the number grows.
   It continues the language of the released circles, whose clip mosaics get finer with each release. */
.ladder li:nth-child(n+5) .orb::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; background-image: radial-gradient(circle, var(--muted) .7px, transparent 1.05px); background-size: var(--pitch, 7px) var(--pitch, 7px); background-position: center; opacity: .42; -webkit-mask: radial-gradient(circle, #000 55%, transparent 100%); mask: radial-gradient(circle, #000 55%, transparent 100%); }
.ladder li:nth-child(5) .orb::before { --pitch: 7px; }
.ladder li:nth-child(6) .orb::before { --pitch: 4.5px; opacity: .5; }
@media (max-width: 640px) { .ladder li:nth-child(5) .orb::before { --pitch: 5px; } .ladder li:nth-child(6) .orb::before { --pitch: 3.5px; } }

/* ---- Consistency pass ----
   Two typefaces only: GT Era for everything read as text, Geist Mono for small labels.
   One label style, one section-heading style, one body style, used by every section. */
.side-tag, .bar-tag { font-family: var(--sans); letter-spacing: -.01em; }
.label, .where-text h2, .trade-tabs button, .trade-clip figcaption, .wall-pop figcaption, .top-steps, .ladder span:last-child, .foot-line, .foot-social, .foot-legal, .bar-links { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
@media (min-width: 961px) { .lad-name i { font-size: 12px; letter-spacing: .08em; } }
.releases h2, .partner h2, .join h2 { font-family: var(--sans); font-size: var(--h2); font-weight: 400; line-height: 1.06; letter-spacing: -.03em; text-wrap: balance; }
.partner .label, .join .label, .releases .label { margin-bottom: 18px; padding-top: 0; }
.statement, .join-text p, .has-globe .countries p { font-size: var(--lede); line-height: 1.4; letter-spacing: -.015em; }
.statement, .join-text p { margin-top: 20px; }
.partner .btn, .join .btn, .has-globe .next .btn { margin-top: 32px; }
.has-globe .next { margin-top: 0; }
/* Releases: label, then a heading that says what the releases are, then the timeline. */
.releases .label, .releases .rel-head { grid-column: 1 / -1; }
.rel-head { max-width: 20em; }
.ladder span:last-child em { display: block; margin-top: 5px; font-style: normal; color: var(--muted); }
@media (max-width: 960px) { .ladder span:last-child em { font-size: 8.5px; letter-spacing: .03em; } }
@media (max-width: 640px) { .ladder span:last-child em { display: none; } }
.releases .label, .partner .label, .join .label, .join-text .label { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; line-height: 1.3; }
@media (min-width: 961px) { .partner-text { grid-column: 1 / span 5; } }
/* "Open source" tag under the first two years: one line, and the other years keep an empty line so all six years align. */
.ladder span:last-child em { white-space: nowrap; font-size: 10px; letter-spacing: .06em; line-height: 14px; }
@media (min-width: 641px) { .ladder li:nth-child(n+3) span:last-child::after { content: "\00a0"; display: block; margin-top: 5px; font-size: 10px; line-height: 14px; } }
@media (max-width: 960px) { .ladder span:last-child em { font-size: 8.5px; letter-spacing: .03em; } }

/* Globe, desktop: larger and set off to the right, running past the right and bottom edges so only part of the
   sphere shows. The active country still sits at the globe's centre, which stays on screen. */
@media (min-width: 961px) {
  .has-globe .where-pin { position: sticky; }
  .has-globe .globe { position: absolute; left: 78%; top: 56%; width: min(74%, 132vh); grid-column: auto; justify-self: auto; align-self: auto; transform: translate(-50%, -50%) scale(var(--g, 1)); transform-origin: 50% 50%; }
}

.ph { border-bottom: 1px dashed currentColor; opacity: .55; }

/* The header and sidebar start hidden, before any script runs, so they never flash over the hero while the page loads.
   main.js takes over from there and brings them in once the hero has scrolled away. */
.hero-first .bar { transform: translateY(-110%); transition: none; }
.hero-first .side { transform: translateX(-102%); transition: none; }


/* Globe: countries in the current dataset versus countries starting for the next release. */
.has-globe .next p { margin: 0 0 4px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; line-height: 1.5; text-transform: uppercase; color: var(--muted); max-width: 26em; }
.has-globe .next { margin-top: clamp(20px, 2.4vw, 32px); }
.has-globe .next .btn { margin-top: 16px; }
.next-alt { display: block; width: fit-content; margin-top: 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-underline-offset: 4px; }
.next-alt:hover { color: var(--ink); }
.where-key { display: none; }
.has-globe .where-key { display: flex; gap: 22px; margin-top: auto; padding-top: 24px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); max-width: none; }
.where-key span { display: inline-flex; align-items: center; gap: 8px; }
.where-key span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; box-sizing: border-box; }
.where-key .k-now::before { background: var(--ink); }
.where-key .k-next::before { border: 1.4px solid var(--ink); }
@media (max-width: 960px) { .has-globe .where-key { margin-top: 16px; padding-top: 0; flex-wrap: wrap; gap: 8px 18px; } }

/* Phones, globe: the text block takes all the height left under the globe, so the longer next-release text
   (line, button, link) fits above the key instead of running into it. */
@media (max-width: 960px) {
  .has-globe .where-pin { grid-template-rows: auto minmax(0, 1fr); row-gap: 0; }
  .has-globe .where-text { align-self: stretch; min-height: 0; padding-block: 12px 16px; }
  .has-globe .globe { width: min(72vw, 38vh); margin-top: 8px; }
  .has-globe .countries { margin-top: 14px; }
  .has-globe .countries p { margin-top: 10px; }
  .has-globe .next { margin-top: 14px; }
  .has-globe .next .btn, .next-alt { margin-top: 12px; }
}


/* Partner section: the clip is a link to the shop too. */
.partner-media { position: relative; }
.media-link { position: absolute; inset: 0; z-index: 2; }

.shop-alt { margin-top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); max-width: none; }
.shop-alt a { color: var(--ink); text-underline-offset: 4px; }

.btn-arrow { display: inline-block; margin-left: .5em; }

/* No hanging words: body text is set in evenly filled lines, so a paragraph never ends on one stranded word. */
.statement, .join-text p, .has-globe .countries p, .countries p, .rel-head, .trade-clip figcaption, .side-tag { text-wrap: balance; }
.intro-lede { text-wrap: pretty; }
/* Shop and recruiting blocks: one left edge and one rhythm. Label, heading, text, button and link share the same column. */
.partner-text, .join-text { display: flex; flex-direction: column; align-items: flex-start; }
.partner-text > *, .join-text > * { max-width: 100%; }
.partner .label, .join .label { margin-bottom: 18px; }
.partner h2, .join h2 { margin: 0; }
.statement, .join-text p { margin-top: 20px; max-width: 30em; }
.partner .btn, .join .btn { margin-top: 32px; }
.shop-alt { margin-top: 18px; }

/* "New" tag beside the Build AI Shop nav link */
.nav-new { margin-left: 9px; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bar-links .nav-new { font-size: 10px; opacity: .75; }
.nav-box { display: inline-block; padding: 6px 11px; border: 1px solid var(--ink); }
.side-nav .nav-box { margin: 3px 0; }
.bar-links .nav-box { padding: 5px 9px; }

/* Scale: every milestone is one centred stack (circle, "Hours", number, year); all years share one baseline. */
.ladder li > div { width: max-content; min-width: var(--d); align-items: center; padding-right: 0; }
.ladder li .orb, .ladder li .orb + span, .ladder li .lad-name, .ladder li div > span:last-child { align-self: center; text-align: center; }
.ladder li .lad-name b { transform-origin: 50% 100%; }
.ladder li:nth-child(n) span:last-child::after { content: none; }

/* Phones: the years under the milestone circles share columns about 33px wide, so they need smaller type than the shared label style gives them. */
@media (max-width: 640px) { .ladder li div > span:last-child { font-size: 9px; letter-spacing: .02em; } }
