/* SYNTAX — company page.
   Hero: the origami scroll film (/film/scrub-engine.js), re-skinned to the SYNTAX system and framed by the logo's four brackets.
   The engine builds the stage and the scrubbing; the words are authored in the page (.film-copy) so each line can land on its own scene.
   After the film: the dark system — the team and its story, the human layer (the release gate you can press), footprint, people.
   Every mono label on this page is 11px or larger. */

.companypage { --dim: #8A867F; /* 5.6:1 on void — the floor for small mono text on this page */ }
.companypage :focus-visible { outline-width: 2px; outline-offset: 4px; }

/* =====================================================================
   FILM — engine theme + layout (engine CSS lives in @layer sw, so these
   unlayered rules always win)
   ===================================================================== */
:root, .sw-root {
  --sw-bg: var(--void);
  --sw-ink: var(--bone);
  --sw-ink-soft: var(--bone-2);
  --sw-accent: var(--signal);
  --sw-font-display: var(--f-display);
  --sw-font-body: var(--f-sans);
  /* where the copy sits: clear of the paper ridge that rises under it at the end */
  --ridge-h: clamp(88px, 15vw, 250px);
  --beat-b: calc(var(--ridge-h) * .9 + 30px);
}
/* the engine sets overflow-x:hidden on html/body, which turns body into a scroll container and kills position:sticky */
html, body { overflow-x: clip !important; overflow-y: visible !important; }

/* the harbour is held for a beat (copy readable) before the site rises: scroll past the end of the film */
.film { position: relative; padding-bottom: 55vh; }
.film-scrim { position: fixed; inset: 0 0 auto 0; height: 210px; z-index: 25; pointer-events: none; background: linear-gradient(180deg, rgba(5, 5, 6, .88) 0%, rgba(5, 5, 6, .5) 46%, rgba(5, 5, 6, 0) 100%); }

/* pin-then-release: the film's fixed layers ride up with the site as it rises (--sw-release set by the page script) */
.sw-sky, .sw-stage, .film-copy, .sw-scrollbar, .film-scrim, .film-frame { transform: translateY(calc(-1 * var(--sw-release, 0px))); }
.sw-route { transform: translateY(calc(-50% - var(--sw-release, 0px))); }
.sw-hint { transform: translate(-50%, calc(-1 * var(--sw-release, 0px))); }

/* the last scene (the harbour) holds from its start instead of fading to black, and pushes in slowly while held */
.film.is-end .sw-stage .sw-scene:last-child { opacity: 1 !important; }
.sw-stage .sw-scene:last-child { transform: scale(calc(1 + var(--hold, 0) * .05)); transform-origin: 68% 62%; }

/* the site's own .nav replaces the engine's top bar; the words are ours too */
.sw-topbar, .sw-nav, .sw-particles, .sw-copylayer { display: none !important; }

.sw-scrollbar { z-index: 101; height: 2px; background: transparent; }
.sw-scrollbar span { background: var(--signal); }

/* scene stills fade in behind the video while it loads */
.sw-scene { background: var(--void); }

/* the viewfinder: the logo's four brackets frame the pinned stage, with the four edge ticks of a camera.
   They pull in a few pixels each time the film moves to a new scene. */
.film-frame { --fi: 18px; --fa: 22px; position: fixed; inset: 0; z-index: 28; pointer-events: none; }
.film-frame .c, .film-frame .t { position: absolute; }
.film-frame .c { width: var(--fa); height: var(--fa); }
.film-frame .c.tl { top: var(--fi); left: var(--fi); border-top: 1.5px solid var(--b-red); border-left: 1.5px solid var(--b-red); }
.film-frame .c.tr { top: var(--fi); right: var(--fi); border-top: 1.5px solid var(--b-green); border-right: 1.5px solid var(--b-green); }
.film-frame .c.bl { bottom: var(--fi); left: var(--fi); border-bottom: 1.5px solid var(--b-teal); border-left: 1.5px solid var(--b-teal); }
.film-frame .c.br { bottom: var(--fi); right: var(--fi); border-bottom: 1.5px solid var(--b-cyan); border-right: 1.5px solid var(--b-cyan); }
.film-frame .t { background: rgba(236, 232, 225, .42); }
.film-frame .t.tt { top: var(--fi); left: 50%; width: 1px; height: 9px; }
.film-frame .t.tb { bottom: var(--fi); left: 50%; width: 1px; height: 9px; }
.film-frame .t.tl2 { left: var(--fi); top: 50%; width: 9px; height: 1px; }
.film-frame .t.tr2 { right: var(--fi); top: 50%; width: 9px; height: 1px; }
.film-frame.pulse .c.tl { animation: vf-tl .9s var(--ease-out); } .film-frame.pulse .c.tr { animation: vf-tr .9s var(--ease-out); }
.film-frame.pulse .c.bl { animation: vf-bl .9s var(--ease-out); } .film-frame.pulse .c.br { animation: vf-br .9s var(--ease-out); }
@keyframes vf-tl { 0% { transform: translate(9px, 9px); } 100% { transform: none; } }
@keyframes vf-tr { 0% { transform: translate(-9px, 9px); } 100% { transform: none; } }
@keyframes vf-bl { 0% { transform: translate(9px, -9px); } 100% { transform: none; } }
@keyframes vf-br { 0% { transform: translate(-9px, -9px); } 100% { transform: none; } }

/* ---- the words: editorial, lower-left; each beat is driven by --in / --out from the page script ---- */
.film-copy { position: fixed; inset: 0; z-index: 22; pointer-events: none; }
.film-copy::before { content: ""; position: absolute; inset: 0 auto 0 0; width: min(86vw, 1400px); opacity: var(--scrim, 1); background: linear-gradient(90deg, rgba(5, 5, 6, .92) 0%, rgba(5, 5, 6, .8) 30%, rgba(5, 5, 6, .5) 58%, rgba(5, 5, 6, .18) 82%, rgba(5, 5, 6, 0) 100%); }
.film-copy::after { content: ""; position: absolute; inset: auto 0 0 0; height: 46%; opacity: var(--scrim, 1); background: linear-gradient(0deg, rgba(5, 5, 6, .6) 0%, rgba(5, 5, 6, 0) 100%); }

.beat { --in: 0; --out: 0; position: absolute; z-index: 1; left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); bottom: var(--beat-b); width: min(62vw, 860px); }
.beat:first-child { --in: 1; }
.beat > * { --v: clamp(0, calc(var(--in) * 2.6 - var(--s, 0) * .42), 1); opacity: calc(var(--v) * (1 - var(--out))); transform: translate3d(0, calc((1 - var(--v)) * 22px - var(--out) * 26px), 0); will-change: opacity, transform; }
.beat > :nth-child(2) { --s: 1; } .beat > :nth-child(3) { --s: 2; } .beat > :nth-child(4) { --s: 3; }
.beat > .beat-t { transform: translate3d(0, calc(var(--out) * -26px), 0); }

.beat-n { display: flex; align-items: center; gap: 18px; margin: 0; font-family: var(--f-mono); font-size: var(--t-mono); font-weight: 450; letter-spacing: .16em; text-transform: uppercase; }
.beat-no { color: var(--bone-2); }
.beat-k { display: inline-flex; align-items: center; gap: .9em; color: var(--signal); }
.beat-k::before { content: ""; width: 7px; height: 7px; border-left: 1.5px solid currentColor; border-top: 1.5px solid currentColor; }
.beat-t {
  margin: 22px 0 0;
  font-family: var(--f-display); font-weight: var(--display-weight); font-variation-settings: var(--display-opsz); font-stretch: var(--display-stretch);
  font-size: clamp(44px, min(6.4vw, 10.6vh), 108px); line-height: .96; letter-spacing: var(--display-track);
  color: var(--bone); text-shadow: 0 2px 48px rgba(5, 5, 6, .8), 0 0 90px rgba(5, 5, 6, .55);
}
.beat-t em { font-style: italic; padding-right: .04em; }
.beat-t .ln { display: block; overflow: hidden; padding: .1em .06em .16em 0; margin: -.1em -.06em -.16em 0; }
.beat-t .ln > span { display: block; transform: translate3d(0, calc((1 - clamp(0, calc(var(--in) * 2.6 - var(--s, 0) * .42 - var(--l, 0) * .3), 1)) * 106%), 0); will-change: transform; }
.beat-b { margin: 26px 0 0; max-width: 40ch; font-family: var(--f-sans); font-size: var(--t-lede); line-height: 1.5; color: color-mix(in srgb, var(--bone) 84%, var(--bone-3)); text-shadow: 0 1px 18px rgba(5, 5, 6, .8); text-wrap: pretty; }
.beat-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.beat.is-live .beat-cta { pointer-events: auto; }
.film .btn-ghost { background: rgba(5, 5, 6, .32); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* route: five diamonds, gold when live */
.sw-route { right: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); gap: 24px; z-index: 40; }
.sw-route::before { display: none; }
.sw-route__dot i { width: 9px; height: 9px; border-radius: 1.5px; transform: rotate(45deg); background: rgba(5, 5, 6, .6); border: 1.5px solid rgba(236, 232, 225, .5); transition: background .3s, border-color .3s, box-shadow .3s, transform .3s; }
.sw-route__dot:hover i { transform: rotate(45deg) scale(1.2); background: rgba(250, 179, 31, .35); }
.sw-route__dot.is-active i { background: var(--signal); border-color: var(--signal); transform: rotate(45deg) scale(1.3); box-shadow: 0 0 14px rgba(250, 179, 31, .6); }
/* the scene's name already leads each line of copy (01 / 05 · The chaos), so the pill beside the active dot would only sit on top of the figures:
   names appear on hover or keyboard focus, on a solid backdrop */
.sw-route__label { font-family: var(--f-mono); font-size: 11px; font-weight: 450; letter-spacing: .16em; text-transform: uppercase; color: var(--bone); background: rgba(5, 5, 6, .86); border: 1px solid var(--line-3); border-radius: 999px; padding: 5px 12px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(0, 0, 0, .5); }
.sw-route__dot.is-active .sw-route__label { opacity: 0; transform: translateY(-50%) translateX(6px); }
.sw-route__dot:hover .sw-route__label, .sw-route__dot:focus-visible .sw-route__label { opacity: 1; transform: translateY(-50%) translateX(0); }

.sw-hint { bottom: calc(30px + env(safe-area-inset-bottom, 0px)); font-family: var(--f-mono); font-size: 11px; font-weight: 450; letter-spacing: .22em; color: var(--bone-2); background: rgba(5, 5, 6, .5); border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 18px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sw-hint i { display: none; }

@media (max-width: 860px) {
  .film-frame { --fi: 8px; --fa: 14px; }
  .film-copy::before { inset: auto 0 0 0; width: 100%; height: 76%; background: linear-gradient(0deg, rgba(5, 5, 6, .97) 8%, rgba(5, 5, 6, .74) 46%, rgba(5, 5, 6, 0) 100%); }
  .beat { left: var(--gutter); right: calc(var(--gutter) + 22px); width: auto; max-width: 560px; bottom: calc(var(--beat-b) + env(safe-area-inset-bottom, 0px)); }
  .beat-t { font-size: clamp(38px, 10.6vw, 58px); margin-top: 18px; }
  .beat-b { margin-top: 18px; max-width: none; font-size: 16px; }
  .beat-cta { margin-top: 22px; }
  .beat-cta .btn { --h: 44px; padding: 0 18px; font-size: 14px; }
  /* the dots ride in the picture, above the copy block, so the active one never sits beside a headline */
  .sw-route { right: 8px; gap: 18px; top: 29%; }
  .sw-hint { white-space: nowrap; font-size: 11px; letter-spacing: .14em; padding: 8px 14px; }
}

/* the nav tucks away on scroll-down; it must not do so while it holds keyboard focus (Shift+Tab or wrapping lands on the brand link) */
.nav.hide:focus-within { transform: none; }

/* =====================================================================
   THE SITE RISES — a ridge of paper over the harbour, then the dark system
   ===================================================================== */
.site { position: relative; z-index: 30; background: var(--void); }
.ridge { position: absolute; left: 0; right: 0; bottom: 100%; height: var(--ridge-h); margin-bottom: -1px; pointer-events: none; }
.ridge-svg { display: block; width: 100%; height: 100%; }

.companypage .section { padding: clamp(72px, 8vw, 120px) 0; }
.companypage .team { padding-top: clamp(48px, 5.4vw, 84px); padding-bottom: clamp(64px, 7vw, 104px); }
.companypage .jobs, .companypage .footprint, .companypage .people { border-top: 1px solid var(--line); }

/* section heads on this page run larger than the default */
.companypage .head h2 { font-size: clamp(44px, 5.8vw, 98px); line-height: .98; }
.companypage .head .lede { max-width: 38ch; }
.companypage .head { row-gap: 30px; }
.k .num { color: var(--signal); }
.companypage .sample { font-size: 11px; letter-spacing: .12em; color: var(--dim); }
/* HUD readouts on this page's frames: 11px, like every other mono label */
.companypage .frame .hud, .companypage .frame .hud-b { font-size: 11px; }

/* =====================================================================
   01 — THE TEAM
   ===================================================================== */
/* chapters — a sticky rail on the left carries the chapter names; each chapter is a statement */
.chapters { margin-top: clamp(72px, 9vw, 136px); display: grid; grid-template-columns: minmax(140px, 2fr) minmax(0, 10fr); gap: clamp(24px, 3.5vw, 56px); align-items: start; }
.ch-rail { position: sticky; top: calc(var(--nav-h) + 72px); align-self: start; }
.ch-rail-in { position: relative; height: clamp(240px, 32vh, 320px); }
.ch-line { position: absolute; left: 4px; top: 5px; bottom: 5px; width: 1px; background: var(--line-2); }
.ch-fill { position: absolute; inset: 0; background: var(--signal); transform-origin: 50% 0; transform: scaleY(0); }
.ch-rail ol { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-left: 34px; }
.ch-rail li { position: relative; display: grid; gap: 6px; color: var(--dim); transition: color .6s var(--ease-out); }
.ch-rail li::before { content: ""; position: absolute; left: -34px; top: 1px; width: 9px; height: 9px; background: var(--void); border: 1.5px solid var(--bone-3); transform: rotate(45deg); transition: background .5s var(--ease-out), border-color .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.ch-rail li b { font-family: var(--f-display); font-weight: 300; font-variation-settings: var(--display-opsz); font-size: 22px; letter-spacing: -.02em; line-height: 1.1; }
.ch-rail li.done { color: var(--bone-2); }
.ch-rail li.done::before { border-color: var(--signal); }
.ch-rail li.on { color: var(--bone); }
.ch-rail li.on .mono { color: var(--signal); }
.ch-rail li.on::before { background: var(--signal); border-color: var(--signal); box-shadow: 0 0 12px rgba(250, 179, 31, .5); }
@media (max-width: 1000px) { .chapters { grid-template-columns: 1fr; } .ch-rail { display: none; } }

.chapter { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 88px); align-items: center; padding-bottom: clamp(72px, 8vw, 128px); }
.chapter:last-child { padding-bottom: 0; }
.ch-k { display: none; margin-bottom: 22px; }
.ch-title { margin: 0; font-family: var(--f-display); font-weight: var(--display-weight); font-variation-settings: var(--display-opsz); font-stretch: var(--display-stretch); font-size: clamp(38px, 3.9vw, 64px); line-height: 1; letter-spacing: var(--display-track); text-wrap: balance; }
.ch-title em { font-style: italic; }
.ch-body { margin-top: 26px; max-width: 46ch; font-size: var(--t-lede); line-height: 1.5; color: var(--bone-2); }
/* alternate: chapter 02 carries its picture on the left (the markup keeps the words first, so phones read words, then picture) */
/* the two smaller bets (.sats) follow the Xinecto plate in the markup, so phones read words → Xinecto → the smaller two;
   on desktop they sit under the words, and the words + bets stay centred as one group against the plate */
@media (min-width: 1001px) {
  .chapter.flip { grid-template-rows: auto auto; row-gap: 0; align-items: stretch; }
  .chapter.flip .bet { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
  .chapter.flip .ch-text { grid-column: 2; grid-row: 1; align-self: end; }
  .chapter.flip .sats { grid-column: 2; grid-row: 2; align-self: start; }
}
@media (max-width: 1000px) {
  .chapter { grid-template-columns: 1fr; gap: 36px; }
  .ch-k { display: inline-flex; }
}

/* chapter 1 — the change record */
.record { max-width: 640px; width: 100%; border: 1px solid var(--line-2); background: var(--ink-0); position: relative; justify-self: end; }
.rec-h { display: flex; justify-content: space-between; gap: 16px; padding: 13px 20px; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.rec-h span:first-child { color: var(--bone-2); }
.record dl { margin: 0; }
.record dl > div { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 17px 20px; border-bottom: 1px solid var(--line); opacity: 0; transform: translate3d(0, 8px, 0); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(.45s + var(--i, 0) * .32s); }
.record dl > div:last-child { border-bottom: 0; }
.record.in dl > div { opacity: 1; transform: none; }
.record dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.record dd { margin: 0; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: -.01em; color: var(--bone-2); }
.rec-mk { font-family: var(--f-mono); font-size: 13px; color: var(--b-green); }
.rec-sign dd { color: var(--bone); }
.rec-sign dt, .rec-sign .rec-mk { color: var(--signal); }
.rec-sign::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--signal); transform-origin: 50% 0; transform: scaleY(0); transition: transform .6s var(--ease-out); transition-delay: calc(.45s + var(--i, 0) * .32s + .3s); }
.record.in .rec-sign::after { transform: scaleY(1); }
@media (prefers-reduced-motion: reduce) { .record dl > div { opacity: 1; transform: none; transition: none; } .rec-sign::after { transform: none; transition: none; } }
@media (max-width: 1000px) { .record { justify-self: stretch; max-width: none; } }
@media (max-width: 520px) { .record dl > div { grid-template-columns: 88px minmax(0, 1fr) auto; gap: 12px; padding: 14px 16px; } .rec-h { padding: 12px 16px; } }

/* chapter 2 — our own bets: Xinecto as a title card set in type, its life as a timeline, the two companions as ruled lines beside the words */
.bet { container-type: inline-size; position: relative; display: flex; flex-direction: column; min-height: clamp(380px, 33vw, 500px); padding: clamp(20px, 2.2vw, 32px) clamp(20px, 2.2vw, 32px) clamp(22px, 2.4vw, 34px); border: 1px solid var(--line-2); background: var(--ink-0); }
.bet-h { display: flex; justify-content: space-between; gap: 16px; margin: 0; font-size: 11px; color: var(--dim); }
.bet-h span:first-child { color: var(--signal); }
.bet-name { margin: auto 0 0; padding-top: 44px; font-size: clamp(64px, 8.6vw, 140px); line-height: .84; letter-spacing: -.05em; }
.bet-sub { margin: 22px 0 0; max-width: 34ch; font-size: 16px; line-height: 1.5; color: var(--bone-2); }
.life { position: relative; margin-top: clamp(30px, 3.6vw, 48px); padding-top: 28px; display: grid; grid-template-columns: repeat(4, max-content); justify-content: space-between; column-gap: 14px; }
.life::before { content: ""; position: absolute; left: 4px; right: 0; top: 4px; height: 1px; background: var(--line-2); }
.life::after { content: ""; position: absolute; left: 4px; right: 0; top: 4px; height: 1px; background: var(--signal); transform-origin: 0 50%; transform: scaleX(0); transition: transform 2.4s var(--ease-in-out) .35s; }
.life.in::after { transform: scaleX(1); }
.life li { position: relative; padding-right: 0; color: var(--dim); transition: color .6s var(--ease-out); transition-delay: calc(.4s + var(--k, 0) * .62s); }
.life li::before { content: ""; position: absolute; left: 0; top: -28px; width: 9px; height: 9px; background: var(--void); border: 1.5px solid var(--bone-3); transform: rotate(45deg); transition: background .5s var(--ease-out), border-color .5s var(--ease-out); transition-delay: calc(.4s + var(--k, 0) * .62s); }
.life.in li { color: var(--bone); }
.life.in li::before { background: var(--signal); border-color: var(--signal); }
.life .n { display: block; margin-bottom: 8px; font-size: 11px; }
.life.in .n { color: var(--signal); }
.life .t { display: block; font-family: var(--f-display); font-weight: 300; font-variation-settings: var(--display-opsz); font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -.02em; line-height: 1.08; }
.bet .life .t { font-size: clamp(17px, 1.35vw, 21px); }
.life li:nth-child(1) { --k: 0; } .life li:nth-child(2) { --k: 1; } .life li:nth-child(3) { --k: 2; } .life li:nth-child(4) { --k: 3; }
.sats { margin: clamp(30px, 3.6vw, 48px) 0 0; padding: 0; list-style: none; display: grid; border-top: 1px solid var(--line); }
@media (max-width: 1000px) { .chapter .sats { margin-top: 0; } }
.sats li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; row-gap: 8px; align-items: baseline; padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.sats h4 { margin: 0; font-family: var(--f-display); font-weight: 300; font-variation-settings: var(--display-opsz); font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -.025em; line-height: 1.05; }
.sats .mono { margin: 0; font-size: 11px; color: var(--signal); text-align: right; }
.sat-d { grid-column: 1 / -1; margin: 0; max-width: 46ch; font-size: 15.5px; line-height: 1.5; color: var(--bone-2); }
@container (max-width: 400px) {
  .life { grid-template-columns: 1fr; justify-content: stretch; padding: 0 0 0 30px; gap: 22px; margin-top: 30px; }
  .life::before, .life::after { left: 4px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .life::after { transform-origin: 50% 0; transform: scaleY(0); }
  .life.in::after { transform: scaleY(1); }
  .life li::before { left: -30px; top: 5px; }
  .life .n { display: inline; margin: 0 14px 0 0; }
  .bet .life .t { display: inline; font-size: 24px; }
}
@media (max-width: 420px) { .sats li { grid-template-columns: 1fr; } .sats .mono { text-align: left; } }

/* chapter 3 — the investment: a ledger set in type. Three lines, each one true; no figures that are not. */
.ledger { margin: 0; width: 100%; max-width: 640px; justify-self: end; border-top: 1px solid var(--line-2); }
.ledger > div { position: relative; display: grid; gap: 10px; padding: clamp(22px, 2.4vw, 34px) 0 clamp(24px, 2.6vw, 36px); border-bottom: 1px solid var(--line-2); opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 170ms + 200ms); }
.ledger > div::before { content: ""; position: absolute; left: 0; top: -1px; width: 32px; height: 1px; background: var(--signal); }
.ledger.in > div { opacity: 1; transform: none; }
.ledger dt { color: var(--signal); font-size: 11px; }
.ledger dd { margin: 0; }
.led-t { font-size: clamp(40px, 4.4vw, 72px); line-height: 1; letter-spacing: -.035em; }
.led-t em { font-style: italic; }
.led-std { display: flex; flex-wrap: nowrap; gap: 0 .45em; font-size: clamp(34px, 3.7vw, 60px); white-space: nowrap; }
.led-std span + span::before { content: "·"; margin-right: .5em; color: var(--bone-3); }
.led-d { max-width: 40ch; font-size: 16px; line-height: 1.5; color: var(--bone-2); }
@media (max-width: 1000px) { .ledger { justify-self: stretch; max-width: none; } }

/* chapter 4 — the turn: no picture and no list, one line, and the old way struck through */
.chapter.turn { grid-template-columns: minmax(0, 1fr); padding-bottom: 0; }
.turn .ch-title { font-size: clamp(48px, 5.2vw, 84px); line-height: .96; }
.turn .ch-body { margin-top: clamp(28px, 3vw, 44px); }
/* the strike is the font's own line-through (so it crosses the middle of the lowercase letters, not the baseline), drawn left to right in gold:
   a transparent copy of the word carries the decoration, and a clip reveals it */
.strike { position: relative; display: inline-block; color: var(--bone); transition: color .9s var(--ease-out) 1.05s; }
.strike::after { content: attr(data-t); content: attr(data-t) / ""; position: absolute; left: 0; top: 0; white-space: pre; pointer-events: none; color: transparent;
  text-decoration: line-through; text-decoration-color: var(--signal); text-decoration-thickness: .045em; text-decoration-skip-ink: none;
  clip-path: inset(-.1em 100% -.1em -.05em); transition: clip-path .9s var(--ease-in-out) 1.05s; }
.ch-title.in .strike { color: var(--bone-3); }
.ch-title.in .strike::after { clip-path: inset(-.1em -.1em -.1em -.05em); }
@media (prefers-reduced-motion: reduce) { .strike { color: var(--bone-3); transition: none; } .strike::after { clip-path: none; transition: none; } }

/* =====================================================================
   02 — THE HUMAN LAYER · the release: four owners on the left, the gate on the right
   ===================================================================== */
/* the gate spans the roles AND the rule: it is pinned from the first sign-off to the last word of the rule, so it is still whole when the climax lands */
.release { margin-top: clamp(44px, 5.4vw, 80px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(32px, 6vw, 112px); align-items: start; }
.roles { grid-column: 1; grid-row: 1; }
.rule { grid-column: 1; grid-row: 2; }
.rpanel { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: calc(var(--nav-h) + 24px); }

.roles { border-top: 1px solid var(--line); }
.role { position: relative; padding: clamp(24px, 2.8vw, 40px) 0 clamp(28px, 3.2vw, 46px); border-bottom: 1px solid var(--line); color: var(--bone-3); transition: color .7s var(--ease-out); }
.role::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--signal); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1s var(--ease-out); }
.role.done { color: var(--bone); }
.role.done::before { transform: scaleX(1); }
.role-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0 0 clamp(14px, 1.6vw, 22px); }
.role-no { color: var(--dim); transition: color .7s var(--ease-out); }
.role.done .role-no { color: var(--signal); }
.role-st { display: inline-flex; align-items: center; gap: 10px; height: 28px; padding: 0 13px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--dim); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; transition: color .6s var(--ease-out), border-color .6s var(--ease-out); }
.role-st i { flex: none; width: 7px; height: 7px; border: 1.5px solid var(--bone-3); transform: rotate(45deg); transition: background .4s var(--ease-out), border-color .4s var(--ease-out); }
.role-st .st-w, .role-st .st-d { display: none; }
.role.ready .role-st { color: var(--bone); border-color: var(--line-3); }
.role.ready .role-st i { border-color: var(--signal); animation: pip-pulse 1.4s ease-in-out infinite; }
.role.ready .st-p { display: none; } .role.ready .st-w { display: inline; }
.role.done .role-st { color: var(--signal); border-color: rgba(250, 179, 31, .5); }
.role.done .role-st i { background: var(--signal); border-color: var(--signal); animation: none; }
.role.done .st-p, .role.done .st-w { display: none; } .role.done .st-d { display: inline; }
@keyframes pip-pulse { 0% { box-shadow: 0 0 0 0 rgba(250, 179, 31, .55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(250, 179, 31, 0); } }
.role-name { margin: 0; font-family: var(--f-display); font-weight: 300; font-variation-settings: var(--display-opsz); font-stretch: var(--display-stretch); font-size: clamp(38px, 4.5vw, 76px); line-height: 1; letter-spacing: var(--display-track); color: inherit; text-wrap: balance; }
.role-name em { font-style: italic; }
.owns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.owns li { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); transition: color .7s var(--ease-out), border-color .7s var(--ease-out); }
.owns li:first-child { border-color: transparent; padding-left: 0; padding-right: 4px; }
.role.done .owns li { color: var(--bone-2); border-color: var(--line-3); }
.role.done .owns li:first-child { color: var(--signal); border-color: transparent; }
/* the evidence line takes no room until its owner has signed, then opens (0fr → 1fr): no reserved dead space under a pending role */
.role-evw { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .9s var(--ease-out); }
.role.done .role-evw { grid-template-rows: 1fr; }
.role-evi { min-height: 0; overflow: hidden; }
.role-ev { padding-top: 22px; max-width: 46ch; font-size: 15.5px; line-height: 1.5; color: var(--bone-2); opacity: 0; transform: translate3d(0, 8px, 0); transition: opacity .8s var(--ease-out) .25s, transform .8s var(--ease-out) .25s; }
.role.done .role-ev { opacity: 1; transform: none; }
.ev-s { display: inline-block; margin-right: .7em; padding: 0 7px; border: 1px solid var(--line-2); border-radius: 3px; font-size: 11px; line-height: 18px; letter-spacing: .14em; vertical-align: 1px; color: var(--dim); }
@media (prefers-reduced-motion: reduce) { .role, .role::before, .role-ev, .role-evw { transition: none; } .role-st i, .role.ready .role-st i { animation: none; } }

/* the gate: press Approve — it hashes the release, the change-set, the approver and your own local time; then Ship unlocks */
/* the bottom padding keeps the last line (status, "Run it again") clear of the two lower HUD corners (10px in, 14px tall) */
.gate { border: 1px solid var(--line); background: rgba(9, 9, 11, .78); padding: 46px 22px 34px; }
.gate .hud .hud-l, .gate .hud .hud-r { white-space: nowrap; }
.gate .hud .hud-short { display: none; }
.g-title { margin: 4px 0 14px; display: grid; gap: 3px; font-size: 11px; }
.g-title span:first-child { color: var(--bone-2); }
.g-title span + span { color: var(--dim); }
.g-draft { border: 1px solid var(--line); background: var(--void); }
.g-draft-h { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--dim); }
.g-draft-h > span:first-child { display: inline-flex; align-items: center; color: var(--bone-2); }
.g-led { width: 6px; height: 6px; margin-right: 10px; border-radius: 50%; background: var(--b-green); box-shadow: 0 0 0 3px rgba(137, 190, 67, .18); animation: g-pulse 1.6s ease-in-out infinite; }
@keyframes g-pulse { 50% { box-shadow: 0 0 0 5px rgba(137, 190, 67, 0); } }
.gate.is-final .g-led { animation: none; box-shadow: none; }       /* draft complete: steady, no longer drafting */
.gate.is-signed .g-led { animation: none; background: var(--bone-3); box-shadow: none; }
.g-code { margin: 0; padding: 10px 12px; height: 116px; overflow: hidden; font-family: var(--f-mono); font-size: 11.5px; line-height: 1.62; letter-spacing: -.01em; color: var(--bone-2); white-space: pre; }
.g-code .add { color: var(--b-green); } .g-code .del { color: var(--b-red); }
.g-code .caret { color: var(--signal); }
.g-count { margin: 16px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 11px; color: var(--bone-2); }
.g-pips { display: inline-flex; gap: 10px; }
.g-pips i { width: 8px; height: 8px; border: 1.5px solid var(--bone-3); transform: rotate(45deg); transition: background .4s var(--ease-out), border-color .4s var(--ease-out); }
.g-pips i.on { background: var(--signal); border-color: var(--signal); }
.g-who { margin-top: 18px; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: center; }
.g-av { position: relative; display: block; width: 48px; height: 48px; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line-2); }
.g-av canvas { width: 100%; height: 100%; image-rendering: pixelated; }
.g-who p { margin: 0; }
.g-who b { display: block; font-family: var(--f-display); font-weight: 400; font-variation-settings: var(--display-opsz); font-size: 21px; letter-spacing: -.015em; line-height: 1.1; }
.g-who span { display: block; margin-top: 3px; font-size: 11px; color: var(--dim); }

.g-approve { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; height: 54px; margin-top: 16px; padding: 0 24px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--f-sans); font-size: 15px; font-weight: 550; letter-spacing: -.005em; color: var(--dim); background: transparent; transition: background .35s var(--ease-out), color .35s var(--ease-out), border-color .35s var(--ease-out); }
.g-approve[aria-disabled="true"] { cursor: not-allowed; }
.g-approve.is-ready { background: var(--bone); border-color: var(--bone); color: var(--void); cursor: pointer; animation: g-ready 2.2s ease-in-out infinite; }
.g-approve.is-ready:hover { background: #fff; }
@keyframes g-ready { 0% { box-shadow: 0 0 0 0 rgba(236, 232, 225, .38); } 70%, 100% { box-shadow: 0 0 0 11px rgba(236, 232, 225, 0); } }
.g-approve-s { display: none; font-family: var(--f-mono); text-transform: uppercase; align-items: baseline; justify-content: space-between; width: 100%; }
.g-approve-s b { font-weight: 600; font-size: 14px; letter-spacing: .3em; }
.g-approve-s span { font-size: 12px; letter-spacing: .12em; }
.gate.is-signed .g-approve { height: 52px; padding: 0 18px; border: 1.5px solid var(--signal); border-radius: 3px; background: rgba(250, 179, 31, .05); color: var(--signal); cursor: default; transform: rotate(-1.2deg); animation: g-stamp .6s var(--ease-out); }
.gate.is-signed .g-approve-t { display: none; }
.gate.is-signed .g-approve-s { display: flex; }
@keyframes g-stamp { 0% { opacity: 0; transform: scale(1.5) rotate(-7deg); } 55% { opacity: 1; } 100% { transform: rotate(-1.2deg); } }

.g-rcpt { margin-top: 14px; padding: 12px 14px; border: 1px dashed var(--line-2); font-size: 11px; line-height: 1.65; letter-spacing: .02em; color: var(--dim); text-transform: none; overflow-wrap: anywhere; transition: border-color .5s var(--ease-out); }
.g-rcpt p { margin: 0; }
.g-rcpt-h { margin-bottom: 6px !important; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-2); }
.g-rcpt-ow { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease-out); }
.gate.is-signed .g-rcpt-ow { grid-template-rows: 1fr; }
.g-rcpt-oi { min-height: 0; overflow: hidden; }
.g-rcpt-o { margin-top: 8px !important; color: var(--signal); }
.gate.is-signed .g-rcpt { border-style: solid; border-color: rgba(250, 179, 31, .38); }
.gate.is-signed .g-rcpt-i { color: var(--bone-3); }

.g-ship { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; height: 52px; margin-top: 14px; padding: 0 24px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--f-sans); font-size: 15px; font-weight: 550; letter-spacing: -.005em; color: var(--dim); background: transparent; transition: background .45s var(--ease-out), color .45s var(--ease-out), border-color .45s var(--ease-out); }
.g-ship > span { position: relative; z-index: 1; }
.g-ship[aria-disabled="true"] { cursor: not-allowed; }
.g-ship-lock { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.g-ship .arr { display: none; font-family: var(--f-mono); font-weight: 400; }
.g-ship-bar { position: absolute !important; inset: 0; z-index: 0 !important; background: rgba(5, 5, 6, .3); transform: scaleX(0); transform-origin: 0 50%; }
.g-ship.is-open { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); cursor: pointer; }
.g-ship.is-open:hover { background: #ffc13a; }
.g-ship.is-open .g-ship-lock { display: none; } .g-ship.is-open .arr { display: inline; }
.gate.is-shipping .g-ship { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); }
.gate.is-shipping .g-ship-lock { display: none; }
.gate.is-shipping .g-ship-bar { transform: scaleX(1); transition: transform 1.2s linear; }
.gate.is-shipped .g-ship { background: transparent; border-color: rgba(250, 179, 31, .5); color: var(--signal); }
.gate.is-shipped .g-ship-lock { display: none; }
.g-msg { margin: 14px 0 0; min-height: 3.2em; font-size: 11px; letter-spacing: .1em; line-height: 1.6; color: var(--bone-2); text-transform: uppercase; transition: color .3s; }
.g-msg.warn { color: var(--signal); }
.g-again { margin-top: 2px; font-size: 11px; color: var(--bone-2); }
.shake { animation: g-shake .44s var(--ease-out); }
@keyframes g-shake { 0%, 100% { transform: translateX(0); } 18% { transform: translateX(-7px); } 36% { transform: translateX(6px); } 54% { transform: translateX(-4px); } 72% { transform: translateX(2px); } }
.rpanel .sample { margin-top: 14px; }
@media (prefers-reduced-motion: reduce) {
  .g-led, .g-approve.is-ready { animation: none; }
  .gate.is-signed .g-approve { animation: none; }
  .shake { animation: none; }
  .gate.is-shipping .g-ship-bar { transition: none; }
}
@media (prefers-reduced-motion: reduce) { .g-rcpt-ow { transition: none; } }
/* laptop-height viewports: the pinned gate tightens so it stays whole (draft included) even after signing; only on very short windows does the draft step aside */
@media (max-height: 860px) and (min-width: 1001px) {
  .rpanel { top: calc(var(--nav-h) + 10px); }
  .gate { padding: 42px 20px 32px; }
  .g-title { margin-bottom: 10px; }
  .g-code { height: 100px; padding: 8px 12px; line-height: 1.5; }
  .g-count { margin-top: 12px; }
  .g-who { margin-top: 12px; }
  .g-approve { height: 50px; margin-top: 12px; }
  .g-rcpt { margin-top: 10px; padding: 10px 14px; line-height: 1.55; }
  .g-ship { height: 48px; margin-top: 10px; }
  .g-msg { margin-top: 10px; min-height: 2.6em; }
  .rpanel .sample { margin-top: 10px; }
}
@media (max-height: 700px) and (min-width: 1001px) { .g-draft { display: none; } }
/* phones and tablets: the order is roles, then the full gate, then the rule; the compact bar rides the bottom of the screen through the roles */
@media (max-width: 1000px) {
  .release { grid-template-columns: 1fr; }
  .roles { grid-row: 1; } .rpanel { grid-column: 1; grid-row: 2; position: relative; top: 0; margin-top: clamp(36px, 6vw, 56px); } .rule { grid-row: 3; }
}
@media (max-width: 600px) { .gate .hud .hud-long { display: none; } .gate .hud .hud-short { display: inline; } .g-title { letter-spacing: .1em; } }
@media (max-width: 520px) { .gate { padding: 46px 16px 36px; } .g-code { font-size: 11px; } .g-approve, .g-ship { padding: 0 18px; } }

/* the compact gate bar */
.gbar { display: none; }
@media (max-width: 1000px) {
  .gbar { --k: 0; position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 12px max(var(--gutter), env(safe-area-inset-left)) calc(12px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left));
    background: rgba(9, 9, 11, .92); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-top: 1px solid var(--line-2);
    transform: translateY(105%); visibility: hidden; transition: transform .6s var(--ease-out), visibility 0s linear .6s; }
  .gbar.on { transform: none; visibility: visible; transition: transform .6s var(--ease-out), visibility 0s; }
  .gbar::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: calc(var(--k) * 100%); background: var(--signal); transition: width .7s var(--ease-out); }
  .gbar-l { min-width: 0; display: grid; gap: 8px; }
  .gbar-k, .gbar-c { margin: 0; font-size: 11px; white-space: nowrap; }
  .gbar-k { color: var(--dim); }
  .gbar-c { display: flex; align-items: center; gap: 12px; color: var(--bone-2); letter-spacing: .1em; min-width: 0; }
  .gbar-c > span:last-child { overflow: hidden; text-overflow: ellipsis; transition: color .3s; }
  .gbar-c .warn { color: var(--signal); }
  .gbar .g-pips { flex: none; }
  .gbar-approve { position: relative; flex: none; height: 44px; padding: 0 24px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--f-sans); font-size: 15px; font-weight: 550; letter-spacing: -.005em; color: var(--dim); background: transparent; transition: background .35s var(--ease-out), color .35s var(--ease-out), border-color .35s var(--ease-out); }
  .gbar-approve[aria-disabled="true"] { cursor: not-allowed; }
  .gbar-approve.is-ready { background: var(--bone); border-color: var(--bone); color: var(--void); cursor: pointer; animation: g-ready 2.2s ease-in-out infinite; }
  .gbar.is-signed .gbar-approve { border-color: rgba(250, 179, 31, .6); color: var(--signal); cursor: default; }
}
@media (max-width: 1000px) and (prefers-reduced-motion: reduce) { .gbar, .gbar::before { transition: none; } .gbar-approve.is-ready { animation: none; } }

/* the rule that the gate enforces */
.rule { padding: clamp(56px, 7vw, 104px) 0 max(clamp(8px, 2vw, 28px), var(--rule-pb, 0px)); }
.rule .k { margin-bottom: 28px; }
.rule-text { font-size: clamp(38px, 4.6vw, 76px); line-height: 1.02; letter-spacing: -.035em; max-width: 17ch; }
.rule-sub { margin-top: 30px; max-width: 40ch; font-size: var(--t-lede); line-height: 1.5; color: var(--bone-2); }
@media (max-width: 1000px) { .rule { padding-top: clamp(56px, 10vw, 88px); } .rule-text { font-size: clamp(38px, 9vw, 76px); max-width: 18ch; } }

/* =====================================================================
   03 — FOOTPRINT
   ===================================================================== */
.fp-grid { margin-top: clamp(40px, 5vw, 80px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.globe-frame { aspect-ratio: 1 / 1; max-height: 820px; border: 1px solid var(--line); }
.fp-side { display: flex; flex-direction: column; gap: clamp(36px, 4.4vw, 64px); }
.registry .k { margin-bottom: 18px; color: var(--dim); }
.why .k { margin-bottom: 22px; color: var(--signal); }
.why-t { font-size: clamp(32px, 3.3vw, 54px); line-height: 1.06; letter-spacing: -.03em; max-width: 17ch; color: var(--bone); }
.why-t em { font-style: italic; }
.registry dl { margin: 0; border-top: 1px solid var(--line); }
.registry dl > div { display: grid; grid-template-columns: 156px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.registry dt { padding-top: 3px; font-size: 11px; color: var(--dim); }
.registry dd { margin: 0; font-size: 16px; line-height: 1.4; color: var(--bone); }
.registry dd a { color: var(--bone); }
@media (max-width: 1000px) { .fp-grid { grid-template-columns: 1fr; } .globe-frame { max-height: none; } }
@media (max-width: 520px) { .registry dl > div { grid-template-columns: 1fr; gap: 4px; } .registry dt { padding-top: 0; } }

/* one standard — four bases, three continents, one gate */
.hubs { margin-top: clamp(56px, 7vw, 104px); padding-top: clamp(28px, 3.4vw, 44px); border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: end; }
.hubs-l .k { margin-bottom: 26px; color: var(--dim); }
.hubs-t { margin: 0; font-size: clamp(42px, 5.2vw, 88px); line-height: .98; }
.hubs-b { margin: 28px 0 0; max-width: 42ch; font-size: var(--t-lede); line-height: 1.5; color: var(--bone-2); }
.hubs-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.hubs-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-areas: "n b" "n s"; column-gap: 12px; row-gap: 6px; padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.hubs-list .mono { grid-area: n; padding-top: 9px; font-size: 11px; color: var(--signal); }
.hubs-list b { grid-area: b; font-family: var(--f-display); font-weight: 300; font-variation-settings: var(--display-opsz); font-size: clamp(28px, 2.7vw, 42px); letter-spacing: -.025em; line-height: 1.05; }
.hubs-list li > span:last-child { grid-area: s; font-size: 15.5px; line-height: 1.5; color: var(--bone-2); }
@media (max-width: 1000px) { .hubs { grid-template-columns: 1fr; align-items: start; } }

/* the engineering day — bone bars for the four bases; gold for now and for "any base at work" */
.sun { --lab: 176px; --tim: 64px; margin-top: clamp(56px, 7vw, 104px); padding-top: clamp(28px, 3.4vw, 44px); border-top: 1px solid var(--line); }
.sun > .k { color: var(--dim); }
.sun-read { margin-top: 26px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 0; line-height: 1; }
.sun-read .display { font-size: clamp(60px, 7.4vw, 120px); letter-spacing: -.045em; line-height: .9; }
.sun-read .display + .display { margin-left: .2em; color: var(--bone-3); }
.sun-read .mono { margin-left: clamp(18px, 2vw, 32px); max-width: 40ch; font-size: 11px; line-height: 1.7; color: var(--dim); }
/* all four bases off the clock: the line names who opens next, so it stays a statement about the team, not an empty count */
.sun-read.is-off .display { font-size: clamp(44px, 5.4vw, 88px); }
.sun-cover { color: var(--bone-2); }
.sun-grid { --x: 0; position: relative; margin-top: 54px; }
.sun-axis { position: relative; height: 20px; margin: 0 var(--tim) 0 var(--lab); font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--dim); }
.sun-axis span { position: absolute; left: calc(var(--x, 0) * 100%); transform: translateX(-50%); top: 0; transition: opacity .25s; }
.sun-axis span:first-child { transform: none; } .sun-axis span:last-child { transform: translateX(-100%); }
.sun-axis span.near { opacity: 0; }
.sun-rows { position: relative; border-top: 1px solid var(--line); }
.sun-rows li { display: grid; grid-template-columns: var(--lab) minmax(0, 1fr) var(--tim); align-items: center; height: 46px; border-bottom: 1px solid var(--line); color: var(--dim); transition: color .6s var(--ease-out); opacity: 0; transform: translate3d(0, 6px, 0); }
.sun.in .sun-rows li { opacity: 1; transform: none; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), color .6s var(--ease-out); transition-delay: calc(var(--n, 0) * 70ms), calc(var(--n, 0) * 70ms), 0s; }
.sun-rows li.on { color: var(--bone); }
.sun-rows .city { display: flex; align-items: center; gap: 12px; font-size: 15px; letter-spacing: -.005em; white-space: nowrap; }
.sun-rows .city::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--bone-4); transition: background .5s, box-shadow .5s; }
.sun-rows li.on .city::before { background: var(--signal); box-shadow: 0 0 0 3px rgba(250, 179, 31, .2); }
.sun-rows .hq, .sun-rows .cc { font-size: 11px; letter-spacing: .12em; line-height: 1.3; color: var(--dim); }
.sun-rows .hq { padding: 2px 6px; color: var(--bone-2); border: 1px solid var(--line-3); border-radius: 3px; }
.sun-rows .track { position: relative; align-self: stretch; background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 12.5% 100%; }
.sun-rows .track i { position: absolute; top: 50%; height: 10px; margin-top: -5px; background: rgba(236, 232, 225, .17); transition: background .6s var(--ease-out); }
.sun-rows li.on .track i { background: rgba(236, 232, 225, .62); }
.sun-rows .time { text-align: right; font-size: 12px; letter-spacing: .06em; color: inherit; }
/* the gold row: any of the four at work, hour by hour */
.sun-rows .sun-any { margin-top: 12px; border-top: 1px solid var(--line-3); }
.sun-any .city { color: var(--signal); }
.sun-any .city::before { display: none; }
.sun-rows .sun-any .track { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 2px; align-items: center; background-image: none; }
.sun-rows .sun-any .track i, .sun-rows .sun-any.on .track i { position: static; height: 10px; margin: 0; background: rgba(236, 232, 225, .09); }
.sun-rows .sun-any .track i.on { background: var(--signal); }
.sun-rows .sun-any .time { color: var(--signal); }
.sun-now { position: absolute; top: -6px; bottom: 0; left: calc(var(--lab) + (100% - var(--lab) - var(--tim)) * var(--x, 0)); width: 1px; background: var(--signal); pointer-events: none; z-index: 2; box-shadow: 0 0 10px rgba(250, 179, 31, .5); }
.sun-now span { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); padding: 2px 7px; font-size: 11px; letter-spacing: .1em; color: var(--signal-ink); background: var(--signal); border-radius: 3px; white-space: nowrap; }
.sun-now.to-r span { left: auto; right: -1px; transform: none; }
.sun-now.to-l span { left: -1px; transform: none; }
.sun-note { margin-top: 24px; font-size: 11px; max-width: 74ch; line-height: 1.7; color: var(--dim); }
@media (max-width: 760px) {
  .sun-axis span:nth-child(even) { display: none; }
  .sun-read .mono { display: block; margin: 14px 0 0; flex-basis: 100%; }
}
/* phones: a row is the base's name and its local time over a full-width track, so a working day is ~150px of bar, not 40px; "now" is a tick on every track */
@media (max-width: 640px) {
  .sun { --lab: 0px; --tim: 0px; }
  .sun-grid { margin-top: 46px; }
  .sun-axis { margin: 0; }
  .sun-rows li { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "city time" "track track"; row-gap: 10px; align-items: center; height: auto; padding: 14px 0 15px; }
  .sun-rows li .city { grid-area: city; font-size: 15px; gap: 10px; }
  .sun-rows li .time { grid-area: time; font-size: 13px; }
  .sun-rows li .track { grid-area: track; align-self: auto; height: 18px; }
  .sun-rows li .track i { height: 12px; margin-top: -6px; }
  .sun-rows .sun-any .track i, .sun-rows .sun-any.on .track i { height: 12px; }
  .sun-rows .sun-any { margin-top: 10px; }
  .sun-rows .track::after { content: ""; position: absolute; left: calc(var(--x) * 100%); top: -3px; bottom: -3px; width: 1px; background: var(--signal); box-shadow: 0 0 8px rgba(250, 179, 31, .5); }
  /* the global line is only the stem under the UTC label */
  .sun-now { bottom: auto; height: 34px; box-shadow: none; }
}

/* =====================================================================
   04 — PEOPLE · the sixteen listed on synt.ax as a directory
   ===================================================================== */
.people { padding-bottom: clamp(72px, 9vw, 130px); }
.wall { margin-top: clamp(40px, 5vw, 72px); }
.wall-cap { margin: 0 0 16px; font-size: 11px; line-height: 1.6; color: var(--bone-2); }
.wall-cap span:first-child { color: var(--signal); }
@media (max-width: 539px) { .wall-cap span { display: block; } .wall-cap .sep { display: none; } }   /* phones: the keys as lines, never a dangling dot */
.wall-hint { margin: 18px 0 0; font-size: 11px; color: var(--dim); }

/* the wall reserves the module's own geometry (11 x 6 on desktop, 8 columns on tablet with the legend in the spare cells, 6 columns on phones with the legend below),
   so nothing below it shifts when it mounts. The placeholder is the module's registration lattice until it is ready. */
.wall-box { container-type: inline-size; }
.wall-clip { position: relative; }
.wall-band { --n: 11; --g: 8px; --wh: calc(54.545cqw - 3.6px); position: relative; min-height: calc(54.545cqw + 59px); }
@container (max-width: 999px) { .wall-band { --n: 8; --g: 6px; --wh: calc(112.5cqw + .8px); min-height: calc(112.5cqw + 1px); } }
@container (max-width: 539px) { .wall-band { --n: 6; --g: 4px; --wh: calc(183.33cqw + 3.3px); min-height: calc(183.33cqw + 228px); } }
/* phones: the full 6 x 11 wall plus the docked legend ran ~1.3 viewports, mostly sample faces. The page shows a window of seven rows (rows 1-7), which holds all
   sixteen people listed on synt.ax (the module gathers them in rows 2-6 of its phone wall); the caption above carries the legend. One row step = (width + 4px gap) / 6. */
@container (max-width: 539px) {
  .wall-clip { --step: calc((100cqw + 4px) / 6); height: calc(7 * var(--step) - 4px); overflow: clip; }
  .wall-band { top: calc(-1 * var(--step)); }
}
.wall-ph { --s: calc((100cqw - (var(--n) - 1) * var(--g)) / var(--n)); position: absolute; inset: 0 0 auto 0; height: var(--wh); margin: 0; z-index: 0; display: flex; align-items: center; justify-content: center; text-align: center; pointer-events: none; font-size: 11px; color: var(--dim); transition: opacity .6s ease, visibility .6s;
  background: radial-gradient(circle, rgba(236, 232, 225, .2) 0 1px, transparent 1.7px) calc(var(--s) / 2) calc(var(--s) / 2) / calc(var(--s) + var(--g)) calc(var(--s) + var(--g)); }
.wall-ph i { display: inline-block; width: 6px; height: 6px; margin-right: 10px; background: var(--signal); animation: ph-blink 1.1s steps(2, jump-none) infinite; vertical-align: 1px; }
@keyframes ph-blink { 50% { opacity: .25; } }
.wall-band:has(.mq-ready) .wall-ph, .wall-band.module-failed .wall-ph { opacity: 0; visibility: hidden; }

/* the directory: the sixteen, names over roles on a hairline grid */
.dir { margin-top: clamp(56px, 7vw, 104px); }
.dir-h { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.dir-k { color: var(--signal); }
.dir-n { margin: 0; font-size: 11px; color: var(--dim); }
.dir-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 36px); }
.dir-list li { min-width: 0; padding: 20px 0 22px; border-bottom: 1px solid var(--line); }
.dir-list b { display: block; font-family: var(--f-display); font-weight: 400; font-variation-settings: var(--display-opsz); font-size: clamp(21px, 1.9vw, 28px); letter-spacing: -.02em; line-height: 1.1; }
.dir-list b span { display: block; }
.dir-list b span + span { font-style: italic; color: var(--bone-2); }
.dir-list .mono { display: block; margin-top: 9px; font-size: 11px; letter-spacing: .06em; line-height: 1.5; color: var(--dim); text-wrap: balance; }
.dir-note { margin: 28px 0 0; max-width: 96ch; font-size: 11px; line-height: 1.7; color: var(--dim); }
@media (max-width: 1000px) { .dir-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (prefers-reduced-motion: reduce) {
  .sun-rows li, .sun.in .sun-rows li { opacity: 1; transform: none; transition: none; }
  .ledger > div { opacity: 1; transform: none; transition: none; }
  .wall-ph i { animation: none; }
  .life::after { transform: none; transition: none; }
  .life li, .life li::before { transition: none; }
  .life li { color: var(--bone); }
  .life li::before { background: var(--signal); border-color: var(--signal); }
  .life .n { color: var(--signal); }
  .film-frame.pulse .c { animation: none; }
}
