/* Airatae · Sprint 1 story
   Two brand systems, each in its own place: Airatae carries the product story,
   Axle Operations signs the letter, frames "Together" and closes the page. */

/* ---------------------------------------------------------------- tokens */
:root {
  /* Airatae */
  --ink: #0A0A0A;
  --ink-2: #2A2A30;
  --muted: #6B6B70;
  --canvas: #FFFFFF;
  --surface: #F7F7F7;
  --fog: #F3F4F9;
  --fog-2: #E6E8F1;
  --hair: rgba(10, 10, 10, .08);
  --hair-2: rgba(10, 10, 10, .14);
  --indigo: #4F46B8;
  --indigo-deep: #3B3496;
  --indigo-tint: #EEF0FF;
  --indigo-lift: #8B7BD8;
  --lilac: #D9D3FA;
  --night: #110E2E;
  --night-hi: #1B1747;
  --night-text: #F6F4FF;
  --map-ground: #0D0B26;
  --map-street: #2A2566;
  --map-main: #3B3488;
  --success: #1D7A5A;
  --success-dk: #3FB68A;
  --warning: #B35C00;
  --warning-dk: #F2A03D;

  /* Axle Operations */
  --paper: #FAF7F1;
  --paper-2: #F4EFE5;
  --paper-3: #ECE5D6;
  --a-ink: #0E1A1C;
  --a-soft: #4A595B;
  --a-mute: #5D6A6C;
  --teal: #176F74;
  --teal-bright: #2A9BA1;
  --teal-deep: #0F4A4F;
  --teal-tint: #E6F4F5;
  --amber: #E89A3F;
  --amber-bright: #F2B05E;
  --amber-deep: #9A520E;
  --amber-tint: #FDF3E7;
  --a-hair: #E2DACA;
  --hatch: repeating-linear-gradient(135deg, transparent 0 2px, rgba(27, 124, 130, .024) 2px 3px, transparent 3px 22px);
  --hatch-dark: repeating-linear-gradient(135deg, transparent 0 2px, rgba(232, 154, 63, .04) 2px 3px, transparent 3px 24px);

  /* type */
  --f-display: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --f-body: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --f-axle: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --f-axle-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* layout: one spacing scale */
  --max: 1200px;
  --gutter: clamp(16px, 5vw, 56px);
  --rhythm: clamp(72px, 10vw, 144px);
  --bar-h: 64px;
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --s9: 96px;

  /* glyphs that no font subset covers, drawn instead */
  --i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12'%3E%3Cpath d='M1 6h16.5M12.5 1.5 17.5 6l-5 4.5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --i-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Crect x='1' y='6' width='10' height='7.5' rx='2' fill='%23000'/%3E%3Cpath d='M3.5 6V4.2a2.5 2.5 0 0 1 5 0V6' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E");
  --i-status: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 66 12'%3E%3Crect x='0' y='8' width='3' height='4' rx='1'/%3E%3Crect x='4.5' y='6' width='3' height='6' rx='1'/%3E%3Crect x='9' y='3.5' width='3' height='8.5' rx='1'/%3E%3Crect x='13.5' y='1' width='3' height='11' rx='1'/%3E%3Cpath d='M29 2.4c2.3 0 4.4.9 6 2.4l1.2-1.3A10.4 10.4 0 0 0 29 .6a10.4 10.4 0 0 0-7.2 2.9L23 4.8a8.6 8.6 0 0 1 6-2.4zm0 3.6c1.3 0 2.5.5 3.4 1.3l1.2-1.3A6.7 6.7 0 0 0 29 4.2a6.7 6.7 0 0 0-4.6 1.8l1.2 1.3c.9-.8 2.1-1.3 3.4-1.3zm0 3.5c.4 0 .8.2 1.1.4L29 11.2l-1.1-1.3c.3-.2.7-.4 1.1-.4z'/%3E%3Crect x='41.5' y='1.5' width='20' height='9' rx='2.6' fill='none' stroke='%23000' stroke-opacity='.5'/%3E%3Crect x='43.2' y='3.2' width='14.4' height='5.6' rx='1.4'/%3E%3Cpath d='M63.2 4.4v3.2c.7-.3 1.1-.9 1.1-1.6s-.4-1.3-1.1-1.6z' fill-opacity='.5'/%3E%3C/svg%3E");
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.4l3 3 6.6-6.8' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --i-pinDim: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 64'%3E%3Cpath d='M24 62C20.5 55.5 9.5 41 6.7 32A20 20 0 1 1 41.3 32C38.5 41 27.5 55.5 24 62Z' fill='%232A2566' stroke='%238B7BD8' stroke-width='3'/%3E%3Ccircle cx='24' cy='22' r='7' fill='%238B7BD8'/%3E%3C/svg%3E");
  --i-pinLit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 64'%3E%3Cpath d='M24 62C20.5 55.5 9.5 41 6.7 32A20 20 0 1 1 41.3 32C38.5 41 27.5 55.5 24 62Z' fill='%238B7BD8' stroke='%23fff' stroke-width='3'/%3E%3Ccircle cx='24' cy='22' r='7' fill='%23fff'/%3E%3C/svg%3E");
  --i-pinWait: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 64'%3E%3Cpath d='M24 62C20.5 55.5 9.5 41 6.7 32A20 20 0 1 1 41.3 32C38.5 41 27.5 55.5 24 62Z' fill='%23110E2E' stroke='%23D9D3FA' stroke-width='2.5' stroke-dasharray='5 4'/%3E%3Ccircle cx='24' cy='22' r='6' fill='none' stroke='%23D9D3FA' stroke-width='2.5'/%3E%3C/svg%3E");
}

@media (max-width: 480px) {
  :root { --gutter: 16px; --bar-h: 56px; }
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--bar-h);
}
/* Smooth jumps only once the page has settled on any #chapter it was opened at (main.js adds the class). */
@media (prefers-reduced-motion: no-preference) {
  html.is-smooth { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
@media (min-width: 1024px) { body { font-size: 18px; } }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
p, h1, h2, h3, h4, ul, ol, figure, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: 600; }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; }
time { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 4px; }
[tabindex="-1"]:focus { outline: none; }
::selection { background: var(--indigo-tint); color: var(--ink); }

.sr {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed; z-index: 100; top: 8px; left: 8px;
  padding: 12px 18px; border-radius: 12px;
  background: var(--ink); color: #fff;
  font-weight: 500; text-decoration: none;
  transform: translateY(-180%);
  transition: transform .2s ease;
}
.skip:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

/* ---------------------------------------------------------------- shared type */
.ch { position: relative; padding-block: var(--rhythm); }
.ch-head { display: grid; gap: var(--s5); margin-bottom: clamp(40px, 6vw, 80px); }
.ch-title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 21ch;
  text-wrap: balance;
}
.lede {
  max-width: 58ch;
  font-size: clamp(19px, 1.55vw, 22px);
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: pretty;
}
.sub-title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
p, li, dd, td, th { text-wrap: pretty; }
.nw { white-space: nowrap; }

/* an arrow drawn, not typed (no font subset carries it) */
.arw {
  display: inline-block;
  width: .95em; height: .6em;
  margin: 0 .12em;
  vertical-align: .08em;
  background: currentColor;
  -webkit-mask: var(--i-arrow) center / contain no-repeat;
  mask: var(--i-arrow) center / contain no-repeat;
}

/* ---------------------------------------------------------------- status pills (one anatomy everywhere) */
.pill {
  --pill-ink: var(--ink-2);
  --pill-bg: var(--surface);
  --pill-line: transparent;
  --pill-dot: currentColor;
  --pill-ring: transparent;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 28px;
  padding: 4px 12px 4px 10px;
  border-radius: 999px;
  font: 500 13.5px/1.25 var(--f-body);
  letter-spacing: 0;
  white-space: nowrap;
  color: var(--pill-ink);
  background: var(--pill-bg);
  box-shadow: inset 0 0 0 1px var(--pill-line);
}
.pill::before {
  content: "";
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pill-dot);
  box-shadow: inset 0 0 0 1.5px var(--pill-ring);
}
.pill-live { --pill-ink: #155D45; --pill-bg: #E4F2EB; --pill-dot: var(--success); }
.pill-follow { --pill-ink: #874500; --pill-bg: #FBEEDC; --pill-dot: var(--warning); }
.pill-with { --pill-ink: var(--indigo-deep); --pill-bg: var(--indigo-tint); --pill-dot: var(--indigo); }
.pill-next { --pill-ink: var(--indigo); --pill-bg: transparent; --pill-line: var(--indigo); --pill-dot: transparent; --pill-ring: var(--indigo); }
.pill-later { --pill-ink: var(--muted); --pill-bg: transparent; --pill-line: #A9A9B0; --pill-dot: transparent; --pill-ring: #8E8E95; }

/* the same pills on the film and on the night map */
.hero .pill, .night .pill { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero .pill-live, .night .pill-live { --pill-ink: #DDF6EC; --pill-bg: rgba(20, 60, 48, .55); --pill-line: rgba(63, 182, 138, .45); --pill-dot: var(--success-dk); }
.hero .pill-next, .night .pill-next { --pill-ink: var(--lilac); --pill-bg: rgba(17, 14, 46, .45); --pill-line: var(--indigo-lift); --pill-ring: var(--indigo-lift); }
.night .pill-later { --pill-ink: rgba(217, 211, 250, .82); --pill-bg: rgba(17, 14, 46, .45); --pill-line: rgba(217, 211, 250, .38); --pill-ring: rgba(217, 211, 250, .62); }

/* owner tags */
.tag {
  display: inline-flex; align-items: center;
  min-height: 28px; padding: 4px 12px;
  border-radius: 999px;
  font: 500 13.5px/1.25 var(--f-body);
  color: var(--ink-2);
  background: var(--canvas);
  box-shadow: inset 0 0 0 1px var(--hair-2);
  white-space: nowrap;
}
.tag-together { color: var(--indigo-deep); background: var(--indigo-tint); box-shadow: none; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font: 500 16px/1.2 var(--f-body);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, box-shadow .2s ease;
}
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #E9E9EE; }
.btn-glass {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(255, 255, 255, .2); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2A2A30; }

/* ---------------------------------------------------------------- header bar (Airatae glass) */
.bar {
  position: sticky; top: 0; z-index: 40;
  height: var(--bar-h);
  color: var(--ink);
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--hair);
  transition: background-color .35s ease, color .35s ease, box-shadow .35s ease;
}
@media (scripting: enabled) {
  .bar:not([data-tone]) { background: transparent; color: #fff; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .bar:not([data-tone]) .lockup-word { filter: invert(1); }
}
.bar[data-tone="clear"] { background: transparent; color: #fff; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.bar[data-tone="night"] { background: rgba(17, 14, 46, .8); color: var(--night-text); box-shadow: 0 1px 0 rgba(217, 211, 250, .12); }
.bar[data-tone="film"] { background: rgba(10, 10, 10, .55); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .1); }
/* over Axle's own grounds the glass takes Axle's paper and ink, not a third colour */
.bar[data-tone="paper"] { background: rgba(250, 247, 241, .88); box-shadow: 0 1px 0 var(--a-hair); }
.bar[data-tone="ink"] { background: rgba(14, 26, 28, .86); color: var(--paper); box-shadow: 0 1px 0 rgba(250, 247, 241, .12); }
.bar[data-tone="clear"] .lockup-word, .bar[data-tone="night"] .lockup-word, .bar[data-tone="film"] .lockup-word, .bar[data-tone="ink"] .lockup-word { filter: invert(1); }
.bar[data-tone="clear"] :focus-visible, .bar[data-tone="night"] :focus-visible, .bar[data-tone="film"] :focus-visible, .bar[data-tone="ink"] :focus-visible { outline-color: #fff; }
.bar[data-tone="clear"] .bar-conf { opacity: 1; }

.bar-in {
  display: flex; align-items: center; gap: var(--s4);
  height: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}
.lockup {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px;
  margin-right: auto;
  flex: none;
  text-decoration: none;
  border-radius: 8px;
}
.lockup-mark { width: 28px; height: 28px; border-radius: 7px; }
.lockup-word { width: auto; height: 20px; transition: filter .35s ease; }
.lockup-x { font: 400 17px/1 var(--f-body); opacity: .45; margin-inline: 2px; }
.lockup-axle { width: 26px; height: 26px; }
.lockup-axle-name { font: 800 15px/1 var(--f-axle); letter-spacing: -0.025em; white-space: nowrap; }

.chapters ul { display: flex; gap: 2px; }
.chapters a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px;
  padding: 0 11px;
  border-radius: 999px;
  font: 500 14px/1 var(--f-body);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.chapters a:hover { background: rgba(10, 10, 10, .06); }
.chapters a[aria-current="true"] { background: var(--ink); color: #fff; }
.bar[data-tone="clear"] .chapters a:hover, .bar[data-tone="night"] .chapters a:hover, .bar[data-tone="film"] .chapters a:hover, .bar[data-tone="ink"] .chapters a:hover { background: rgba(255, 255, 255, .12); }
.bar[data-tone="clear"] .chapters a[aria-current="true"], .bar[data-tone="night"] .chapters a[aria-current="true"] { background: #fff; color: var(--ink); }
.bar[data-tone="paper"] .chapters a[aria-current="true"] { background: var(--a-ink); color: var(--paper); }
.bar[data-tone="ink"] .chapters a[aria-current="true"] { background: var(--paper); color: var(--a-ink); }
.bar-conf { font: 500 13px/1 var(--f-mono); letter-spacing: .01em; opacity: .72; white-space: nowrap; }
.bar-menu {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px;
  border: 0; border-radius: 999px;
  background: transparent;
  box-shadow: inset 0 0 0 1px currentColor;
  font: 500 15px/1 var(--f-body);
  cursor: pointer;
}
.bar-menu[hidden] { display: none; }
.bar-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.bar-progress i {
  display: block; height: 100%;
  background: var(--indigo);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}
.bar[data-tone="clear"] .bar-progress i, .bar[data-tone="night"] .bar-progress i, .bar[data-tone="film"] .bar-progress i, .bar[data-tone="ink"] .bar-progress i { background: var(--indigo-lift); }

/* Which parts of the bar show at which width. From 1100 to 1299 px the chapter links need the room,
   so the date steps aside (it is also in the Contents sheet and the footer). */
.chapters, .bar-conf { display: none; }
@media (min-width: 1100px) {
  .chapters { display: block; }
  .bar-menu { display: none; }
  .lockup-axle-name { display: none; }
}
@media (min-width: 1240px) { .lockup-axle-name { display: inline; } }
@media (min-width: 1300px) { .bar-conf { display: block; } }
@media (min-width: 700px) and (max-width: 1099.98px) {
  .bar-conf { display: block; }
}
/* Without JavaScript there is no Contents sheet: the chapter links scroll sideways in the bar instead. */
@media (scripting: none) and (max-width: 1099.98px) {
  .chapters { display: block; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .chapters::-webkit-scrollbar { display: none; }
  .lockup { margin-right: 0; }
  .bar-conf { display: none; }
}
@media (max-width: 599.98px) { .lockup-axle-name { display: none; } }
@media (max-width: 359.98px) {
  .lockup { gap: 8px; }
  .lockup-x { margin-inline: 0; }
}

/* ---------------------------------------------------------------- contents sheet */
.sheet {
  position: fixed; inset: 0;
  width: 100%; max-width: none;
  height: 100%; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: var(--canvas);
  color: var(--ink);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sheet::backdrop { background: rgba(10, 10, 10, .25); }
.sheet[open] { animation: sheet-in .22s ease both; }
@keyframes sheet-in { from { opacity: 0; } to { opacity: 1; } }
.sheet-in {
  display: flex; flex-direction: column;
  min-height: 100%;
  max-width: 640px;
  margin-inline: auto;
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) 40px max(var(--gutter), env(safe-area-inset-left));
}
.sheet-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; height: var(--bar-h); background: var(--canvas); }
.sheet-title { font: 500 15px/1 var(--f-body); color: var(--muted); }
.sheet-close {
  min-height: 44px; padding: 0 18px;
  border: 0; border-radius: 999px;
  background: var(--surface);
  font: 500 15px/1 var(--f-body);
  cursor: pointer;
}
.sheet-list { margin-top: var(--s3); border-top: 1px solid var(--hair-2); }
.sheet-list a {
  display: flex; align-items: center;
  min-height: 60px;
  padding: 10px 0;
  border-bottom: 1px solid var(--hair-2);
  font: 600 clamp(24px, 6.4vw, 30px)/1.15 var(--f-display);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.sheet-list a[aria-current="true"] { color: var(--indigo); }
.sheet-conf { margin-top: auto; padding-top: var(--s6); font: 500 13px/1 var(--f-mono); color: var(--muted); }

/* ---------------------------------------------------------------- hero */
.hero {
  /* The headline is sized from the column it sits in. The widest line, "Gather the people.", is
     about 6.2em wide; beside it sits a status pill of about 250px. */
  --col: min(100vw - 2 * var(--gutter), var(--max));
  --hero-size: min(15svh, (var(--col) - 270px) / 6.3, max(56px, 11vw), 168px);
  position: relative;
  isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  margin-top: calc(-1 * var(--bar-h));
  overflow: hidden;
  color: #fff;
  background: #0A0A0A;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media picture { position: absolute; inset: 0; }
.hero-still, .hero-film {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}
.hero-film { opacity: 0; transition: opacity 1.4s ease; }
.hero-film.is-on { opacity: 1; }
.hero-film[hidden] { display: none; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, .78) 0, rgba(10, 10, 10, .55) 72px, rgba(10, 10, 10, 0) 200px),
    linear-gradient(90deg, rgba(10, 10, 10, .82) 0%, rgba(10, 10, 10, .62) 34%, rgba(10, 10, 10, .18) 64%, rgba(10, 10, 10, 0) 100%),
    linear-gradient(0deg, rgba(10, 10, 10, .72) 0%, rgba(10, 10, 10, 0) 48%);
}
@media (max-aspect-ratio: 4/5) {
  .hero-still, .hero-film { object-position: 50% 50%; }
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(10, 10, 10, .72) 0, rgba(10, 10, 10, .5) 64px, rgba(10, 10, 10, 0) 180px),
      linear-gradient(0deg, rgba(10, 10, 10, .92) 0%, rgba(10, 10, 10, .8) 42%, rgba(10, 10, 10, .35) 68%, rgba(10, 10, 10, .12) 100%);
  }
}
.hero-in {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding: calc(var(--bar-h) + clamp(28px, 5svh, 72px)) max(var(--gutter), env(safe-area-inset-right)) clamp(24px, 5svh, 56px) max(var(--gutter), env(safe-area-inset-left));
}
.hero-for { font: 500 16px/1.4 var(--f-body); color: rgba(255, 255, 255, .88); margin-bottom: clamp(14px, 2.6svh, 28px); }

.promise {
  font-family: var(--f-display);
  font-weight: 600;
  font-stretch: 75%;
  font-size: var(--hero-size);
  line-height: .9;
  letter-spacing: -0.02em;
}
.pl { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 28px); }
.pl-t { white-space: nowrap; padding-bottom: .03em; text-shadow: 0 2px 28px rgba(0, 0, 0, .3); }
/* "Not yet": the third line is dimmed rather than outlined (the variable font's overlapping contours
   would show through an outline). */
.pl-3 .pl-t { color: rgba(255, 255, 255, .5); text-shadow: none; }
.pl .pill {
  flex: none;
  min-height: 32px;
  margin-top: .06em;
  font: 500 14px/1.25 var(--f-body);
  font-stretch: 100%;
  letter-spacing: 0;
}
/* Phones, and tablets held upright: each pill sits under its line, and only the line must fit. */
@media (max-width: 759.98px), (max-width: 899.98px) and (orientation: portrait) {
  .hero { --hero-size: min(15svh, var(--col) / 6.3, max(56px, 11vw), 168px); }
  .pl { flex-direction: column; align-items: flex-start; gap: 10px; }
  .pl .pill { margin-top: 0; }
  .pl + .pl { margin-top: 18px; }
}
.hero-lede {
  max-width: 60ch;
  text-wrap: balance;
  margin-top: clamp(20px, 3.4svh, 36px);
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.5;
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 1px 16px rgba(0, 0, 0, .35);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, 3.4svh, 36px); }
.hero-foot {
  margin-top: clamp(28px, 6svh, 64px);
  padding-top: var(--s4);
  border-top: 1px solid rgba(255, 255, 255, .2);
  font: 500 14px/1.5 var(--f-body);
  color: rgba(255, 255, 255, .78);
}
.hero :focus-visible { outline-color: #fff; }
@media (max-height: 500px) and (orientation: landscape) {
  .hero-in { padding-top: calc(var(--bar-h) + 28px); }
  .hero-for { margin-bottom: 12px; }
  .hero-foot { margin-top: 24px; }
}

/* The one load moment: the lines rise in order, their pills settle. */
@media (prefers-reduced-motion: no-preference) {
  @media (scripting: enabled) {
    .pl-t, .pl .pill { opacity: 0; }
    .hero:not(.is-ready) .pl-t, .hero:not(.is-ready) .pl .pill { animation: show 0s 2.4s forwards; }
    .hero.is-ready .pl-t { animation: rise 1s cubic-bezier(.2, .75, .25, 1) both; }
    .hero.is-ready .pl .pill { animation: settle .7s cubic-bezier(.2, .75, .25, 1) .62s both; }
    .hero.is-ready .pl-2 .pl-t { animation-delay: .14s; }
    .hero.is-ready .pl-3 .pl-t { animation-delay: .28s; }
    .hero.is-ready .pl-2 .pill { animation-delay: .74s; }
    .hero.is-ready .pl-3 .pill { animation-delay: .86s; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(.22em); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
@keyframes show { to { opacity: 1; } }

/* ---------------------------------------------------------------- Axle Operations system */
.axle {
  background-color: var(--paper);
  background-image: var(--hatch);
  color: var(--a-ink);
  font-family: var(--f-axle);
  font-weight: 500;
}
.axle-title {
  font: 800 clamp(34px, 5vw, 68px)/1.04 var(--f-axle);
  letter-spacing: -0.03em;
  color: var(--a-ink);
  text-wrap: balance;
}
/* Plus Jakarta Sans at 800 leaves stops and commas loose after a tightly tracked word */
.axle-title .pp, .meeting-title .pp { margin-left: -.07em; }
.axle-note { font: 500 13px/1.5 var(--f-axle-mono); letter-spacing: .02em; color: var(--teal); }
.axle-note span { color: var(--amber-deep); }
.axle :focus-visible, .holding :focus-visible, .foot :focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.axle a:not([class]) { color: var(--teal-deep); text-decoration-color: rgba(23, 111, 116, .45); }

/* Axle's call to action, as on axleoperations.com: an ink button with an amber ▲, and an outlined one. */
.abtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 4px;
  font: 600 14.5px/1.2 var(--f-axle);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.abtn .arr { color: var(--amber); }
.abtn-primary { background: var(--a-ink); color: var(--paper); box-shadow: 0 12px 24px -10px rgba(14, 26, 28, .4); }
.abtn-primary:hover { background: var(--teal-deep); transform: translateY(-1px); }
.abtn-ghost { background: transparent; color: var(--a-ink); border-color: var(--a-ink); }
.abtn-ghost:hover { background: var(--a-ink); color: var(--paper); }

/* ---------------------------------------------------------------- letter */
.letter-grid { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--s5); }
.letter-title > span { display: block; }
.letter-body { max-width: 62ch; margin-top: clamp(16px, 3vw, 40px); }
.letter-body p { font-size: 18px; line-height: 1.7; color: var(--a-soft); }
.letter-body p + p { margin-top: 1.1em; }
.letter-body .letter-greet { font: 700 clamp(22px, 2.2vw, 26px)/1.3 var(--f-axle); letter-spacing: -0.02em; color: var(--a-ink); margin-bottom: .4em; }
.sign {
  display: flex; align-items: center; gap: 16px;
  margin-top: var(--s7);
  padding-top: var(--s5);
  border-top: 1px solid var(--a-hair);
}
.sign-mark { width: 46px; height: 46px; flex: none; }
.letter-body .sign p { font-size: 16px; line-height: 1.45; }
.letter-body .sign p + p { margin-top: 2px; }
.letter-body .sign-name { font: 800 21px/1.2 var(--f-axle); letter-spacing: -0.02em; color: var(--a-ink); }
.letter-body .sign-meta { color: var(--a-mute); }
.sign-mail a { display: inline-flex; align-items: center; min-height: 44px; }
.letter-body .sign p.sign-mail { margin-top: -8px; margin-bottom: -10px; }
@media (min-width: 1024px) {
  .letter-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .letter-title { grid-column: 1 / -1; grid-row: 1; }
  .letter-date { grid-column: 1 / 5; grid-row: 2; align-self: start; padding-top: calc(clamp(16px, 3vw, 40px) + 10px); }
  .letter-body { grid-column: 5 / span 8; grid-row: 2; }
}

/* ---------------------------------------------------------------- figures (one style: Before, Beyond) */
.figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s7) clamp(24px, 4vw, 56px); }
.fig { padding-top: 20px; border-top: 2px solid var(--ink); }
.fig-n {
  font: 600 clamp(52px, 6.4vw, 92px)/.95 var(--f-display);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.fig-l { margin-top: 14px; max-width: 26ch; font: 500 18px/1.35 var(--f-body); color: var(--ink); }
.fig-s { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--muted); }
@media (max-width: 759.98px) {
  .figs { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
}

/* ---------------------------------------------------------------- before: August to today */
.then-now { margin-top: clamp(64px, 8vw, 112px); }
.tn-intro { max-width: 62ch; margin-top: var(--s3); font-size: 16px; line-height: 1.55; color: var(--muted); }
.tn { width: 100%; margin-top: var(--s6); }
.tn th, .tn td { padding: 22px 0; text-align: left; vertical-align: top; border-top: 1px solid var(--hair-2); }
.tn thead th { padding: 0 0 12px; border-top: 0; font: 500 13px/1.2 var(--f-body); color: var(--muted); }
.tn tbody tr:last-child > * { border-bottom: 1px solid var(--hair-2); }
.tn th[scope="row"] { width: 30%; padding-right: var(--s6); font-weight: 400; }
.tn-part { display: block; font: 600 18px/1.3 var(--f-body); color: var(--ink); }
.tn-desc { display: block; margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--muted); text-wrap: balance; }
.tn .tn-aug { width: 21%; padding-right: 48px; }
.meter { display: block; height: 8px; margin-top: 9px; border-radius: 99px; background: var(--fog-2); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: #8F88CF; }
.w14 { width: 14%; } .w18 { width: 18%; } .w22 { width: 22%; } .w28 { width: 28%; } .w45 { width: 45%; } .w62 { width: 62%; }
.tn-pct { display: block; margin-top: 8px; font: 500 14px/1 var(--f-mono); color: var(--ink-2); }
.tn-today { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.tn-today strong { font-weight: 600; color: var(--ink); }
@media (max-width: 759.98px) {
  .tn, .tn tbody, .tn tr, .tn th, .tn td { display: block; width: auto; }
  .tn thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tn tr { padding: 22px 0; border-top: 1px solid var(--hair-2); }
  .tn tbody tr:last-child { border-bottom: 1px solid var(--hair-2); }
  .tn th, .tn td { padding: 0; border: 0; }
  .tn tbody tr:last-child > * { border-bottom: 0; }
  .tn th[scope="row"] { width: auto; padding: 0; }
  .tn .tn-aug { display: grid; grid-template-columns: 64px minmax(0, 1fr) 44px; align-items: center; gap: 12px; width: auto; margin-top: 14px; padding: 0; }
  .tn-aug::before, .tn-today::before { content: attr(data-label); font: 500 13px/1.2 var(--f-body); color: var(--muted); }
  .tn-aug .meter { margin-top: 0; }
  .tn-aug .tn-pct { margin-top: 0; text-align: right; }
  .tn .tn-today { position: relative; display: block; margin-top: 12px; padding-left: 76px; }
  .tn-today::before { position: absolute; left: 0; top: 4px; }
}

/* ---------------------------------------------------------------- before: the plan we agreed */
.plan-band {
  margin-top: var(--rhythm);
  margin-bottom: calc(-1 * var(--rhythm));
  padding-block: clamp(56px, 7vw, 96px);
  background: var(--fog);
}
.plan-head { display: grid; gap: var(--s4); max-width: 60ch; margin-bottom: var(--s6); }
.plan-head p { font-size: 18px; color: var(--ink-2); }
.weeks { margin: 0; }
.weeks-chart {
  position: relative;
  display: grid;
  grid-template-columns: repeat(13, minmax(0, 1fr));
  column-gap: 6px;
  row-gap: 8px;
  padding: 72px 28px 24px;
  border-radius: 18px;
  background: var(--canvas);
  box-shadow: inset 0 0 0 1px var(--hair);
}
.weeks-scale, .sprints { display: contents; }
.weeks-scale li { grid-row: 4; padding-top: 6px; font: 500 13px/1 var(--f-mono); color: var(--muted); }
.sp {
  display: flex; flex-direction: column; justify-content: center; gap: 3px;
  min-height: 88px;
  padding: 14px 16px;
  border-radius: 12px;
  line-height: 1.25;
}
.sp-name { font: 600 17px/1.2 var(--f-display); letter-spacing: -0.01em; }
.sp-what { font-size: 15px; }
.sp-meta { font: 500 13px/1.3 var(--f-mono); opacity: .8; }
.sp { position: relative; }
.sp-state { position: absolute; top: 12px; right: 12px; padding: 2px 8px; border-radius: 99px; font: 500 13px/1.4 var(--f-body); box-shadow: inset 0 0 0 1px currentColor; }
.sp-1 .sp-state, .sp-ret .sp-state { color: rgba(255, 255, 255, .85); }
.sp-2 .sp-state { color: var(--indigo); }
.sp-3 .sp-state { color: var(--muted); }
.sp-ret .sp-state { position: static; }
.sp-1 { grid-row: 2; grid-column: 1 / 5; background: var(--ink); color: #fff; }
.sp-2 { grid-row: 2; grid-column: 5 / 10; border: 1.5px dashed rgba(79, 70, 184, .6); color: var(--indigo-deep); background: rgba(238, 240, 255, .55); }
.sp-3 { grid-row: 2; grid-column: 10 / 14; border: 1.5px dashed #A9A9B0; color: var(--ink-2); }
.sp-3 .sp-meta { color: var(--muted); opacity: 1; }
.sp-ret {
  grid-row: 3; grid-column: 1 / 14;
  flex-direction: row; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 4px 16px;
  min-height: 52px;
  background: var(--indigo); color: #fff;
}
.sp-ret .sp-meta { opacity: .88; margin-left: auto; }
.weeks-now {
  grid-row: 1; grid-column: 5 / 14;
  position: relative;
  display: flex; align-items: flex-end; gap: 10px;
  margin: -58px 0 0 -18px;
  font: 500 15px/1.35 var(--f-body);
  color: var(--ink);
}
.mini-pin { width: 30px; height: 40px; flex: none; margin-bottom: -6px; filter: drop-shadow(0 3px 5px rgba(20, 16, 60, .3)); }
.mini-pin .pin-body, .here-pin .pin-body, .pin-svg .pin-body { fill: var(--indigo); }
.mini-pin .pin-rim, .here-pin .pin-rim, .pin-svg .pin-rim { fill: none; stroke: #fff; stroke-width: 2.4; }
.mini-pin .pin-dot, .here-pin .pin-dot, .pin-svg .pin-dot { fill: #fff; }
.here-pin .pin-cast, .pin-svg .pin-cast { fill: rgba(10, 8, 40, .32); }
.weeks-now span { padding-bottom: 12px; }
.weeks-now time { font-weight: 600; }
.weeks-note { margin-top: var(--s4); font-size: 15px; color: var(--muted); }
@media (max-width: 899.98px) {
  .weeks-chart { grid-template-columns: 14px minmax(0, 1fr); column-gap: 14px; row-gap: 10px; padding: 20px 20px 20px 16px; }
  .weeks-scale { display: none; }
  .sp { min-height: 0; padding: 14px 16px; }
  .sp-1 { grid-row: 1; grid-column: 2; }
  .weeks-now { grid-row: 2; grid-column: 2; margin: 2px 0 4px -28px; align-items: center; }
  .weeks-now span { padding-bottom: 0; }
  .mini-pin { margin-bottom: 0; }
  .sp-2 { grid-row: 3; grid-column: 2; }
  .sp-3 { grid-row: 4; grid-column: 2; }
  .sp-ret { grid-row: 5; grid-column: 2; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; min-height: 0; padding: 14px 16px; background: var(--indigo-tint); color: var(--indigo-deep); }
  .sp-ret .sp-meta { margin-left: 0; }
  .sp-ret .sp-state { position: absolute; top: 12px; right: 12px; color: var(--indigo); }
  .weeks-chart::before { content: ""; grid-row: 1 / 6; grid-column: 1; justify-self: center; width: 6px; border-radius: 99px; background: var(--indigo); }
}

/* ---------------------------------------------------------------- night map chapters */
.night {
  --tx: var(--night-text);
  --tx-2: var(--lilac);
  --tx-3: rgba(217, 211, 250, .8);
  --line: rgba(217, 211, 250, .14);
  isolation: isolate;
  overflow: hidden;
  color: var(--tx);
  background: var(--night);
}
.night .ch-title { color: #fff; }
.night .lede { color: var(--tx-2); }
.night :focus-visible { outline-color: #fff; }
.map-ground {
  position: absolute; inset: 0; z-index: -1;
  background: var(--map-ground) url("assets/map/night-map.webp") 50% 0 / 1200px 1200px repeat;
}
.map-ground::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--night) 0, rgba(17, 14, 46, .82) 240px, rgba(17, 14, 46, .38) 560px, rgba(17, 14, 46, .38) calc(100% - 320px), var(--night) 100%),
    radial-gradient(70% 50% at 22% 30%, rgba(27, 23, 71, .35) 0%, rgba(27, 23, 71, 0) 70%);
}

/* the route */
.route {
  --lane: 52px;
  --road-x: 24px;
  --gap: 20px;
  position: relative;
  margin-top: clamp(24px, 4vw, 48px);
}
.stops { position: relative; z-index: 2; }
.stop {
  position: relative;
  padding: 0 0 clamp(44px, 5vw, 64px) calc(var(--lane) + var(--gap));
}
/* one calm band under the words; the map stays bright in the road's lane */
.route::after {
  content: "";
  position: absolute; z-index: 0;
  top: -48px; bottom: -48px;
  left: calc(var(--lane) + var(--gap) - 72px);
  width: 100vw;
  background: linear-gradient(90deg, rgba(17, 14, 46, 0) 0, rgba(17, 14, 46, .8) 72px, rgba(17, 14, 46, .84) 100%);
  pointer-events: none;
}
.stop-pin {
  position: absolute; z-index: 3;
  top: -4px;
  left: calc(var(--pin-x, var(--road-x)) - 12px);
  width: 24px; height: 32px;
  background: var(--i-pinLit) center / contain no-repeat;
  transition: background-image .2s ease;
}
.stop-date { font: 500 14px/1.4 var(--f-mono); letter-spacing: .01em; color: var(--tx-2); }
.stop-title {
  margin-top: 4px;
  font: 600 clamp(22px, 2.1vw, 28px)/1.15 var(--f-display);
  letter-spacing: -0.015em;
  color: #fff;
  text-wrap: balance;
}
.stop-text { margin-top: 10px; max-width: 60ch; color: var(--tx); opacity: .9; }
.route::before {
  content: "";
  position: absolute; z-index: 1;
  top: -24px; bottom: 44px;
  left: calc(var(--road-x) - 4px);
  width: 8px;
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(139, 123, 216, 0) 0, var(--indigo-lift) 72px, var(--indigo-lift) 100%);
  box-shadow: 0 0 16px rgba(139, 123, 216, .5);
}
.route.is-drawn::before { display: none; }
.route-end {
  position: relative; z-index: 2;
  display: flex; align-items: flex-start;
  min-height: 72px;
  padding-left: calc(var(--lane) + var(--gap));
}
.route-end .route-next { margin-top: 3px; }
.stop-pin-wait { top: 8px; left: calc(var(--end-x, var(--road-x)) - 18px); width: 36px; height: 48px; background-image: var(--i-pinWait); }
.route-next {
  display: inline-flex; align-items: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  color: var(--lilac);
  background: rgba(17, 14, 46, .7);
  box-shadow: inset 0 0 0 1.5px var(--indigo-lift);
  font: 500 16px/1.2 var(--f-body);
  text-decoration: none;
  transition: background-color .2s ease;
}
.road { position: absolute; z-index: 1; left: 0; top: 0; overflow: visible; pointer-events: none; }
.road path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.road .road-case { stroke: var(--map-street); stroke-width: 20; }
.road .road-base { stroke: var(--map-main); stroke-width: 13; }
.road .road-glow { stroke: rgba(139, 123, 216, .45); stroke-width: 22; }
.road .road-lit { stroke: var(--indigo-lift); stroke-width: 7; }
.road .road-core { stroke: #EFECFF; stroke-width: 2; }
.road .road-ahead { stroke: var(--lilac); stroke-width: 2; stroke-dasharray: 2 9; opacity: .75; }
.traveller {
  position: absolute; z-index: 4; left: 0; top: 0;
  width: 48px; height: 64px;
  visibility: hidden;
  will-change: transform;
  filter: drop-shadow(0 8px 12px rgba(6, 4, 30, .55));
}
.route.is-drawn .traveller { visibility: visible; }
.pin-svg { width: 48px; height: 64px; overflow: visible; }
.route.is-drawn .stop:not(.is-reached) .stop-pin { background-image: var(--i-pinDim); }
.route.is-drawn .stop:not(.is-reached) .stop-date { color: rgba(217, 211, 250, .72); }

@media (max-width: 899.98px) {
  .route.is-drawn .stop:nth-child(odd) { --pin-x: 16px; }
  .route.is-drawn .stop:nth-child(even) { --pin-x: 34px; }
  .route.is-drawn { --end-x: 24px; }
  .route::after { left: calc(var(--lane) + 4px); background: linear-gradient(90deg, rgba(17, 14, 46, 0) 0, rgba(17, 14, 46, .66) 16px, rgba(17, 14, 46, .72) 100%); }
}
@media (min-width: 900px) {
  .route { --lane: clamp(240px, 34%, 420px); --road-x: calc(var(--lane) * .5); --gap: 56px; }
  .route.is-drawn .stop:nth-child(odd) { --pin-x: calc(var(--lane) * .3); }
  .route.is-drawn .stop:nth-child(even) { --pin-x: calc(var(--lane) * .74); }
  .route.is-drawn { --end-x: calc(var(--lane) * .52); }
  .stop { max-width: calc(var(--lane) + var(--gap) + 62ch); }
  .stop::after {
    content: "";
    position: absolute; z-index: 0;
    top: 11px;
    left: calc(var(--pin-x, var(--road-x)) + 20px);
    width: calc(var(--lane) + var(--gap) - var(--pin-x, var(--road-x)) - 44px);
    border-top: 1.5px dashed rgba(217, 211, 250, .3);
  }
  .route.is-drawn .stop:not(.is-reached)::after { border-top-color: rgba(217, 211, 250, .14); }
  .route-end::after {
    content: "";
    position: absolute; z-index: 0;
    top: 26px;
    left: calc(var(--end-x, var(--road-x)) + 26px);
    width: calc(var(--lane) + var(--gap) - var(--end-x, var(--road-x)) - 44px);
    border-top: 1.5px dashed rgba(217, 211, 250, .3);
  }
}

/* ---------------------------------------------------------------- delivered */
.pgroup {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: var(--s5);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 2px solid var(--ink);
}
.pgroup + .pgroup { margin-top: clamp(56px, 7vw, 96px); }
.pg-title {
  font: 600 clamp(26px, 2.6vw, 36px)/1.1 var(--f-display);
  letter-spacing: -0.02em;
}
/* the group's side column: its title, then what belongs under it (a callout, a phone) */
.pg-side { display: grid; gap: var(--s5); align-content: start; }
.pg-phone { width: 62%; max-width: 240px; }
.row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: var(--s3);
  row-gap: 12px;
  padding: 24px 0;
  border-top: 1px solid var(--hair-2);
}
.row:first-child { border-top: 0; padding-top: 4px; }
.row-n { grid-column: 1; grid-row: 1; font: 500 14px/1.9 var(--f-mono); color: var(--muted); }
.row-promise {
  grid-column: 2; grid-row: 1;
  font: 500 clamp(19px, 1.6vw, 22px)/1.35 var(--f-display);
  letter-spacing: -0.01em;
  color: var(--ink);
  text-indent: -.42em;
  text-wrap: balance;
  hyphens: manual;
}
.row-status { grid-column: 2; grid-row: 2; }
.row-body { grid-column: 2; display: grid; gap: 12px; color: var(--ink-2); }
.row-body > p:first-child { max-width: 66ch; }
.row-follow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; font-size: 16px; line-height: 1.5; }
.row-follow .pill { flex: none; }
.row-follow > span:last-child { flex: 1 1 26ch; min-width: 0; }
.row-note { font-size: 16px; color: var(--muted); }
.row-with { padding-left: 14px; border-left: 2px solid var(--indigo); font-size: 16px; color: var(--ink); }
@media (min-width: 900px) {
  .pgroup { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(32px, 5vw, 72px); align-items: start; }
  .pgroup > .pg-title, .pg-side { grid-column: 1; grid-row: 1; }
  /* the side column (a title, with its callout or phone) travels with the promises beside it */
  .pgroup > .pg-title, .pg-side { position: sticky; top: calc(var(--bar-h) + 32px); }
  .rows { grid-column: 2; grid-row: 1; }
  .row { grid-template-columns: 36px minmax(0, 1fr) auto; column-gap: var(--s4); }
  .row-status { grid-column: 3; grid-row: 1; justify-self: end; padding-top: 2px; }
  .row-body { grid-column: 2 / 4; }
  /* sized so the whole side column (title, phone, caption) fits under the bar while it travels */
  .pg-phone { width: clamp(160px, calc((100svh - 256px) * .43), 250px); max-width: 100%; }
}
@media (min-width: 900px) and (max-height: 639.98px) {
  .pgroup > .pg-title, .pg-side { position: static; }
}

/* security in figures: a band under the first two promises (outside their group, so the group's
   travelling title stops before it) */
.sec { margin-top: var(--s5); padding: var(--s5); border-radius: 18px; background: var(--fog); }
.sec + .pgroup { margin-top: clamp(56px, 7vw, 96px); }
.sec-n { font: 600 56px/1 var(--f-display); letter-spacing: -0.03em; }
.sec-n span { font-size: .42em; font-weight: 500; letter-spacing: -0.01em; color: var(--muted); }
.sec-l { margin-top: 6px; font-size: 16px; color: var(--ink-2); }
.sev { display: flex; gap: 8px; margin-top: 18px; }
.sev-g { display: flex; gap: 3px; flex: 5 1 0; }
.sev-g.sev-4 { flex-grow: 4; }
.sev-g.sev-3 { flex-grow: 3; }
.sev-g i { flex: 1; height: 16px; border-radius: 3px; background: var(--success); }
.sev-legend { display: flex; gap: 8px; margin-top: 8px; }
.sev-legend li { flex: 5 1 0; font-size: 13px; line-height: 1.3; color: var(--muted); }
.sev-legend .sev-4 { flex-grow: 4; }
.sev-legend .sev-3 { flex-grow: 3; }
.sev-legend b { display: block; font-weight: 600; color: var(--ink); }
.sec-figs { display: grid; gap: 14px; margin-top: var(--s5); }
.sec-figs div { padding-top: 14px; border-top: 1px solid var(--hair-2); }
.sec-figs dt { font: 600 28px/1.1 var(--f-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.sec-figs dd { margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.sec-note { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--hair-2); font-size: 15px; line-height: 1.55; color: var(--ink-2); }
@media (min-width: 900px) {
  /* two by two up to 1023 px, four in a row from 1024 px */
  .sec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 28px 0; padding: 32px; }
  .sec-figs { display: contents; }
  .sec-closed, .sec-figs > div { margin: 0; padding: 0 0 0 28px; border: 0; }
  .sec-closed { padding-left: 0; padding-right: 28px; }
  .sec-figs > div:nth-child(1) { border-left: 1px solid var(--hair-2); }
  .sec-figs > div:nth-child(2) { padding: 28px 28px 0 0; border-top: 1px solid var(--hair-2); }
  .sec-figs > div:nth-child(3) { padding-top: 28px; border-top: 1px solid var(--hair-2); border-left: 1px solid var(--hair-2); }
  .sec-figs dt { font-size: clamp(28px, 2.7vw, 40px); white-space: nowrap; }
  .sec-note { grid-column: 1 / -1; margin-top: 0; }
}
@media (min-width: 1024px) {
  .sec { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); }
  .sec-figs > div:nth-child(n) { padding: 4px 20px 0 28px; border-top: 0; border-left: 1px solid var(--hair-2); }
  .sec-figs > div:last-child { padding-right: 0; }
}

/* the handover, in Axle's voice */
.holding {
  margin: 0;
  padding: var(--s5);
  border-left: 3px solid var(--teal);
  border-radius: 0 12px 12px 0;
  background-color: var(--paper);
  background-image: var(--hatch);
  color: var(--a-ink);
  font-family: var(--f-axle);
}
.holding-title { display: flex; align-items: center; gap: 10px; font: 800 22px/1.2 var(--f-axle); letter-spacing: -0.02em; }
.holding-title::before { content: ""; flex: none; width: 24px; height: 24px; background: url("assets/brand/axle-icon.svg") center / contain no-repeat; }
.holding p:last-child { margin-top: 10px; font: 500 16px/1.6 var(--f-axle); color: var(--a-soft); }

/* ---------------------------------------------------------------- frames: one phone, one browser */
.phone { margin: 0; container-type: inline-size; }
.phone-body {
  position: relative;
  padding: 2.6cqw;
  border-radius: 14cqw;
  background: #111113;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 1px 2px rgba(10, 10, 20, .18), 0 28px 48px -28px rgba(10, 10, 30, .5);
}
.phone-status {
  --st-bg: #FFFFFF;
  --st-ink: #0A0A0A;
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  height: 10cqw;
  padding: 0 7.6cqw 0 9cqw;
  border-radius: 11.6cqw 11.6cqw 0 0;
  background: var(--st-bg);
  color: var(--st-ink);
  font: 600 4.1cqw/1 var(--f-body);
  letter-spacing: -.01em;
}
.phone-status::after {
  content: "";
  position: absolute; left: 50%; top: 2.3cqw;
  width: 25cqw; height: 6.6cqw;
  margin-left: -12.5cqw;
  border-radius: 99px;
  background: #000;
}
.phone-icons {
  width: 16cqw; height: 3cqw;
  background: currentColor;
  -webkit-mask: var(--i-status) center / contain no-repeat;
  mask: var(--i-status) center / contain no-repeat;
}
.phone-screen {
  display: block;
  width: 100%; height: auto;
  border-radius: 0 0 11.6cqw 11.6cqw;
  background: var(--surface);
}
/* status rows take the colour of the top of each capture */
.st-dark .phone-status { --st-bg: #0A0A0A; --st-ink: #FFFFFF; }
.st-night .phone-status { --st-bg: #100E2D; --st-ink: #FFFFFF; }
.st-site-app .phone-status { --st-bg: #ECEBF2; --st-ink: #0A0A0A; }
.st-create .phone-status { --st-bg: #333333; --st-ink: #FFFFFF; }
.phone figcaption { margin-top: 14px; font-size: 15px; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }

.browser {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--canvas);
  box-shadow: 0 0 0 1px var(--hair-2), 0 32px 64px -40px rgba(10, 10, 30, .5);
}
.browser-bar {
  display: flex; align-items: center; gap: 7px;
  height: 40px; padding: 0 14px;
  background: #F4F5F8;
  border-bottom: 1px solid var(--hair);
}
.browser-bar i { width: 10px; height: 10px; flex: none; border-radius: 50%; background: #DADBE2; }
.browser-url {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px;
  margin-inline: auto;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--canvas);
  box-shadow: 0 0 0 1px var(--hair);
  font: 500 13px/1 var(--f-body);
  color: var(--ink-2);
  transform: translateX(-17px);
}
.browser-url::before {
  content: "";
  width: 9px; height: 11px;
  background: var(--muted);
  -webkit-mask: var(--i-lock) center / contain no-repeat;
  mask: var(--i-lock) center / contain no-repeat;
}
.browser img { width: 100%; }

/* ---------------------------------------------------------------- see it live */
.live { background: var(--fog); }
.showcase { display: grid; gap: var(--s6); }
.show-app { margin-top: clamp(72px, 9vw, 128px); }
.show-copy { display: grid; gap: var(--s3); align-content: start; }
.show-copy > p { max-width: 52ch; color: var(--ink-2); }
.show-link { margin-top: var(--s2); }
.show-note { font-size: 16px; color: var(--muted); }
.show-devices { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: end; }
.show-devices .browser { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .show-copy { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s7); align-items: end; }
  .show-copy .sub-title, .show-copy > p:not(.show-link) { grid-column: 1; }
  .show-copy .show-link { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin: 0; }
  .show-devices { grid-template-columns: minmax(0, 8fr) minmax(0, 2fr) minmax(0, 2fr); gap: clamp(16px, 2vw, 28px); }
  .show-devices .browser { grid-column: 1; }
}
.show-devices-app { grid-template-columns: minmax(0, 1fr); }
/* On a phone the laptop capture would be too small to read; the phone rail below shows the same app. */
@media (max-width: 599.98px) {
  .show-devices-app { display: none; }
}
.qr { display: none; }
@media (min-width: 1100px) {
  .show-devices-app { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: stretch; }
  .qr {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: var(--s5);
    padding: 32px;
    border-radius: 12px;
    background: var(--canvas);
    box-shadow: 0 0 0 1px var(--hair-2), 0 32px 64px -40px rgba(10, 10, 30, .5);
  }
  .qr > * { width: min(100%, 220px); }
  .qr img { height: auto; }
  .qr p { font-size: 17px; line-height: 1.45; color: var(--ink-2); }
}

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 32px);
  margin-top: var(--s6);
}
@media (max-width: 899.98px) {
  .rail {
    grid-auto-columns: min(62%, 260px);
    margin-inline: calc(-1 * var(--gutter));
    padding: 4px var(--gutter) 20px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: thin;
    scrollbar-color: rgba(10, 10, 10, .25) transparent;
  }
  .rail > li { scroll-snap-align: start; }
}
/* Tablets and phones held sideways: phone frames keep a phone's size instead of filling the width. */
@media (min-width: 600px) and (max-width: 899.98px) {
  .rail { grid-auto-columns: 30%; }
  .show-devices { grid-template-columns: repeat(2, minmax(0, 240px)) minmax(0, 1fr); }
}

/* ---------------------------------------------------------------- beyond */
.feats { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(48px, 6vw, 72px); }
.feat { display: grid; gap: var(--s5); align-items: start; }
.feat .phone { max-width: 230px; }
.feat-title { font: 600 clamp(24px, 2.2vw, 30px)/1.15 var(--f-display); letter-spacing: -0.015em; }
.feat-copy > p:not(.feat-when) { margin-top: 12px; max-width: 58ch; color: var(--ink-2); }
.feat-when { margin-top: var(--s4); }
.feat-when .pill { white-space: normal; }
.feat-private .feat-copy { padding: 28px 0; border-block: 1px solid var(--hair-2); }
.feat-team .rail, .feat-see .rail { margin-top: 0; }
.feat-team .phone, .feat-see .phone { max-width: none; }
@media (max-width: 899.98px) {
  .feat-connect .phone, .feat-job .phone { order: 2; width: 62%; max-width: 240px; }
}
@media (min-width: 900px) {
  /* Up to 1279 px each feature has the full width: phone beside its words. */
  .feat-connect, .feat-job { grid-template-columns: minmax(0, 200px) minmax(0, 1fr); column-gap: 28px; }
  .feat .phone { max-width: none; }
  .feat-private .feat-copy { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; column-gap: var(--s6); align-items: baseline; }
  .feat-private .feat-copy > p:not(.feat-when) { margin-top: 0; }
  .feat-private .feat-when { margin-top: 0; }
  .feat-team, .feat-see { column-gap: clamp(32px, 5vw, 72px); align-items: center; }
  .feat-team { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  /* the next row mirrors it: screens first, then the words */
  .feat-see { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .feat-see .feat-copy { grid-column: 2; grid-row: 1; }
  .feat-see .rail { grid-column: 1; grid-row: 1; }
}
@media (min-width: 1280px) {
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 4vw, 56px); }
  .feat-private, .feat-team, .feat-see { grid-column: 1 / -1; }
}
.not-yet {
  max-width: 76ch;
  margin-top: clamp(48px, 6vw, 72px);
  padding: 20px 24px;
  border-radius: 16px;
  border: 1.5px dashed rgba(79, 70, 184, .55);
  color: var(--ink-2);
}
.not-yet strong { font-weight: 600; color: var(--indigo-deep); }
.everyday { margin-top: clamp(80px, 10vw, 128px); }
.everyday-intro { max-width: 62ch; margin-top: var(--s3); color: var(--ink-2); }
.everyday-figs { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: var(--s6); }
.ticks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 48px; max-width: 1000px; margin-top: var(--s7); }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: .3em;
  width: 18px; height: 18px;
  background: var(--success);
  -webkit-mask: var(--i-check) center / contain no-repeat;
  mask: var(--i-check) center / contain no-repeat;
}
@media (max-width: 1023.98px) { .everyday-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 759.98px) {
  .everyday-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s5); }
  .ticks { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 479.98px) {
  .everyday-figs { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------- close-out */
.close { background: var(--fog); }
.checks { border-top: 2px solid var(--ink); }
.check {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--hair-2);
}
.check-box { width: 26px; height: 26px; margin-top: 3px; border-radius: 7px; background: var(--canvas); box-shadow: inset 0 0 0 2px var(--ink); }
.check-title { font: 600 clamp(21px, 2vw, 26px)/1.2 var(--f-display); letter-spacing: -0.015em; }
.check-copy p { margin-top: 8px; max-width: 64ch; color: var(--ink-2); }
.check-owner { grid-column: 2; }
@media (min-width: 900px) {
  .check { grid-template-columns: 26px minmax(0, 1fr) 200px; column-gap: var(--s5); }
  .check-owner { grid-column: 3; grid-row: 1; justify-self: end; padding-top: 2px; }
}

/* ---------------------------------------------------------------- next */
.loop-title { position: relative; margin-bottom: var(--s6); font: 600 clamp(22px, 2.2vw, 28px)/1.2 var(--f-display); letter-spacing: -0.015em; color: #fff; }
.loop { position: relative; margin-top: var(--s2); }
.loop::after {
  content: "";
  position: absolute; z-index: -1;
  top: -56px; bottom: -40px;
  left: 50%; width: 100vw;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(17, 14, 46, 0) 0, rgba(17, 14, 46, .74) 56px, rgba(17, 14, 46, .74) calc(100% - 40px), rgba(17, 14, 46, 0) 100%);
  pointer-events: none;
}
.lp { position: relative; }
.lp-dot { position: absolute; z-index: 2; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(139, 123, 216, .35); }
.loop-todo .lp-dot { background: var(--night); box-shadow: inset 0 0 0 2px var(--lilac); }
.lp-name { font: 600 20px/1.2 var(--f-display); letter-spacing: -0.01em; color: #fff; }
.lp-n { margin-right: 6px; font: 500 14px/1 var(--f-mono); color: var(--tx-2); }
.lp-sub { margin-top: 4px; font-size: 16px; line-height: 1.45; color: var(--tx-2); }
.lp-state { margin-top: 10px; }
.lp-more { margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--tx-3); }
.loop-here { display: flex; align-items: center; gap: 12px; font: 500 15px/1.2 var(--f-body); color: #fff; }
.here-pin { flex: none; width: 36px; height: 48px; filter: drop-shadow(0 6px 10px rgba(6, 4, 30, .6)); }
.here-pin { overflow: visible; }

/* phones and tablets: the loop runs down the left, like the route */
@media (max-width: 1099.98px) {
  .loop { padding-left: 44px; }
  .loop::before {
    content: "";
    position: absolute; left: 13px; top: 8px; bottom: 8px; width: 8px; border-radius: 4px;
    background: linear-gradient(180deg, var(--indigo-lift) 0, var(--indigo-lift) var(--lit, 50%), transparent var(--lit, 50%));
    box-shadow: 0 0 14px rgba(139, 123, 216, .35);
  }
  .loop-todo { position: relative; }
  .loop-todo::before {
    content: "";
    position: absolute; left: -32px; top: -24px; bottom: 10px;
    border-left: 2px dashed rgba(217, 211, 250, .55);
  }
  .lp { padding: 0 0 28px; }
  .lp-dot { left: -40px; top: 3px; }
  .loop-here { margin: 4px 0 28px -52px; }
  .loop-live { position: relative; }
  .loop-live::after { content: ""; position: absolute; left: -35px; top: 8px; bottom: 0; width: 8px; border-radius: 4px; background: var(--indigo-lift); box-shadow: 0 0 14px rgba(139, 123, 216, .4); }
  .loop::before { display: none; }
}
/* tablets: what is live on the left, where the pin waits and what comes next on the right */
@media (min-width: 700px) and (max-width: 1099.98px) {
  .loop { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; align-items: start; }
  .loop-live { grid-column: 1; grid-row: 1 / span 2; }
  .loop-here { grid-column: 2; grid-row: 1; }
  .loop-todo { grid-column: 2; grid-row: 2; }
}
/* wide: one road across */
@media (min-width: 1100px) {
  .loop { display: grid; grid-template-columns: minmax(0, 4fr) 128px minmax(0, 3fr); align-items: start; padding-top: 64px; }
  .loop-list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .lp { padding: 40px 20px 0 0; }
  .lp-dot { left: 0; top: -9px; }
  .loop-live::before, .loop-todo::before, .loop-here::before {
    content: "";
    position: absolute; top: 60px; height: 8px; border-radius: 4px;
  }
  .loop-live, .loop-todo, .loop-here { position: relative; }
  .loop-live::before { left: 0; right: 0; top: -4px; background: var(--indigo-lift); box-shadow: 0 0 14px rgba(139, 123, 216, .45); }
  .loop-here::before { left: 0; width: 50%; top: -4px; background: var(--indigo-lift); box-shadow: 0 0 14px rgba(139, 123, 216, .45); }
  .loop-here::after { content: ""; position: absolute; left: 50%; right: 0; top: -1px; border-top: 2px dashed rgba(217, 211, 250, .55); }
  .loop-todo::before { left: 0; right: 0; top: -1px; height: 0; border-top: 2px dashed rgba(217, 211, 250, .55); border-radius: 0; }
  .loop-here { display: block; padding-top: 32px; text-align: left; }
  .loop-here .here-pin { position: absolute; left: 50%; top: -52px; margin-left: -18px; }
  .loop-here span { display: block; padding-left: 20px; }
  /* names, lines, pills and notes line up across the stops */
  .loop-list { grid-template-rows: repeat(4, auto); }
  .lp { display: grid; grid-row: span 4; grid-template-rows: subgrid; align-content: start; row-gap: 0; }
}

.words-line { position: relative; max-width: 76ch; margin-top: var(--s7); font-size: 16px; line-height: 1.55; color: var(--tx-3); }

.sprint-cards { display: grid; gap: var(--s5); margin-top: clamp(48px, 6vw, 80px); }
@media (min-width: 1280px) {
  .sprint-cards { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: stretch; }
  .spc { display: flex; flex-direction: column; }
  .spc .spc-foot { margin-top: auto; }
  .spc .states, .spc .plain-list { margin-bottom: var(--s4); }
}
.spc {
  padding: clamp(22px, 3vw, 36px);
  border-radius: 20px;
  background: rgba(17, 14, 46, .88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px rgba(217, 211, 250, .16);
}
.spc-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; align-items: start; margin-bottom: var(--s5); }
.spc-title { font: 600 clamp(24px, 2.4vw, 30px)/1.15 var(--f-display); letter-spacing: -0.015em; color: #fff; text-wrap: balance; }
.spc-num { display: block; margin-bottom: 6px; font: 500 15px/1.3 var(--f-body); letter-spacing: 0; color: var(--tx-2); }
.spc-name { display: block; }
.spc-state { padding-top: 3px; }
.spc-sub { grid-column: 1 / -1; color: var(--tx-2); }
.states li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 14px 0; border-top: 1px solid var(--line); }
.mark { display: inline-flex; align-items: center; gap: 9px; font: 500 14px/1.4 var(--f-body); color: var(--tx-2); }
.mark::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; }
.mark-largely::before { background: var(--success-dk); }
.mark-partly::before { background: linear-gradient(90deg, var(--success-dk) 50%, transparent 50%); box-shadow: inset 0 0 0 1.5px var(--success-dk); }
.mark-build::before { box-shadow: inset 0 0 0 1.5px var(--indigo-lift); }
.mark-todo::before { border-radius: 2px; box-shadow: inset 0 0 0 1.5px rgba(217, 211, 250, .75); }
.st-text { color: var(--tx); }
.st-aside { color: var(--tx-3); }
@media (min-width: 600px) {
  .states li { grid-template-columns: 196px minmax(0, 1fr); gap: 16px; align-items: baseline; }
}
.plain-list li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--tx); }
.spc-foot { margin-top: var(--s4); padding-top: var(--s4); border-top: 1px dashed rgba(217, 211, 250, .28); font-size: 16px; color: var(--tx-2); }
.next-after { display: grid; gap: var(--s3); max-width: 76ch; margin-top: var(--s7); }
.retainer-line { color: var(--tx); }
.later-line { font-size: 16px; color: var(--tx-3); }

/* ---------------------------------------------------------------- together */
.people {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border: 1px solid var(--a-ink);
  border-top: 4px solid var(--amber);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.person { padding: 28px 24px 32px; }
.person + .person { border-top: 1px solid var(--a-hair); }
.person-name { font: 800 clamp(26px, 2.4vw, 32px)/1.1 var(--f-axle); letter-spacing: -0.03em; }
.person-role { margin-top: 8px; font: 500 13px/1.5 var(--f-axle-mono); letter-spacing: .02em; color: var(--teal); }
.person-role span { color: var(--amber-deep); }
.person-items { display: grid; gap: 12px; margin-top: 20px; }
.person-items li { position: relative; padding-left: 20px; font: 500 16px/1.5 var(--f-axle); color: var(--a-soft); }
.person-items li::before { content: ""; position: absolute; left: 0; top: .52em; width: 8px; height: 8px; border-radius: 1px; background: var(--teal); }
.person-together .person-items li::before { background: var(--amber); }
.person-items code { font: 500 14px/1.4 var(--f-axle-mono); color: var(--a-ink); overflow-wrap: anywhere; }
@media (min-width: 700px) {
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .person:nth-child(2n) { border-left: 1px solid var(--a-hair); }
  .person:nth-child(2) { border-top: 0; }
}
@media (min-width: 1100px) {
  .people { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .person + .person { border-top: 0; border-left: 1px solid var(--a-hair); }
}
/* the closing call to action: light, framed like the grid above it */
.meeting {
  display: grid; gap: var(--s5) var(--s7);
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--a-ink);
  border-top: 4px solid var(--amber);
  border-radius: 10px;
  background: #fff;
  color: var(--a-ink);
}
.meeting-title { max-width: 32ch; font: 800 clamp(22px, 2.4vw, 32px)/1.2 var(--f-axle); letter-spacing: -0.025em; color: var(--a-ink); text-wrap: balance; }
.meeting-do { display: grid; gap: var(--s4); }
.meeting-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.meeting-note { max-width: 46ch; font: 500 15px/1.55 var(--f-axle); color: var(--a-soft); }
.meeting-note a { overflow-wrap: anywhere; }
@media (max-width: 479.98px) {
  .meeting-actions .abtn { width: 100%; }
}
@media (min-width: 1024px) {
  .meeting { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
}

/* ---------------------------------------------------------------- footer (Axle ink) */
.foot {
  padding-block: clamp(56px, 7vw, 96px) 48px;
  background-color: var(--a-ink);
  background-image: var(--hatch-dark);
  color: rgba(250, 247, 241, .78);
  font: 500 15px/1.6 var(--f-axle);
}
.foot a { color: var(--paper); text-decoration-color: rgba(250, 247, 241, .4); }
.foot-contact { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; margin-top: 2px; }
.foot-contact a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 599.98px) {
  .foot-contact { flex-direction: column; align-items: flex-start; }
  .foot-contact > span { display: none; }
}
.foot a:hover { text-decoration-color: var(--amber); }
.foot-top { display: grid; gap: var(--s5); padding-bottom: var(--s6); border-bottom: 1px solid rgba(250, 247, 241, .14); }
.foot-lockup { display: flex; align-items: center; gap: 14px; }
.foot-lockup img { width: 46px; height: 46px; }
.foot-lockup-text { display: grid; gap: 7px; }
.foot-name { font: 800 21px/1 var(--f-axle); letter-spacing: -0.025em; color: var(--paper); }
.foot-tag { font: 500 13px/1 var(--f-axle-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-bright); }
@media (max-width: 399.98px) { .foot-tag { font-size: 13px; letter-spacing: .06em; white-space: nowrap; } }
.foot-prep { max-width: 70ch; }
.foot-conf { margin-top: var(--s6); color: var(--paper); }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: var(--s4); }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-sources { max-width: 76ch; margin-top: var(--s4); font-size: 14px; line-height: 1.6; color: rgba(250, 247, 241, .66); }
@media (min-width: 900px) {
  .foot-top { grid-template-columns: auto minmax(0, 1fr); column-gap: var(--s8); align-items: center; }
  .foot-prep { justify-self: end; text-align: left; }
}
.ledger { margin-top: var(--s6); border-top: 1px solid rgba(250, 247, 241, .14); }
.ledger summary {
  display: flex; align-items: center; gap: 14px;
  min-height: 60px;
  cursor: pointer;
  list-style: none;
  font: 700 17px/1.3 var(--f-axle);
  color: var(--paper);
}
.ledger summary::-webkit-details-marker { display: none; }
.ledger summary::before {
  content: "";
  flex: none;
  width: 9px; height: 9px;
  margin: 0 4px 3px 3px;
  border-right: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  transform: rotate(-45deg);
  transition: transform .2s ease;
}
.ledger[open] summary::before { transform: rotate(45deg); margin-bottom: 6px; }
.ledger-in { padding: 4px 0 8px; }
.ledger-note { max-width: 76ch; font-size: 14px; color: rgba(250, 247, 241, .7); }
.ledger code { font: 400 13.5px/1.4 var(--f-axle-mono); color: var(--amber-bright); }
.ledger-table { width: 100%; margin-top: var(--s4); font-size: 14.5px; line-height: 1.5; }
.ledger-table th { padding: 10px 20px 10px 0; text-align: left; font: 500 13px/1.3 var(--f-axle-mono); color: rgba(250, 247, 241, .62); }
.ledger-table td { padding: 10px 20px 10px 0; vertical-align: top; border-top: 1px solid rgba(250, 247, 241, .09); color: rgba(250, 247, 241, .86); }
.ledger-table td:first-child { white-space: nowrap; font: 400 13.5px/1.55 var(--f-axle-mono); color: rgba(250, 247, 241, .7); }
.ledger-table td:nth-child(2) { white-space: nowrap; }
.ledger-table td:last-child { padding-right: 0; }
@media (max-width: 599.98px) {
  .ledger-table th, .ledger-table td { padding-right: 12px; }
  .ledger-table { font-size: 14px; }
}

/* ---------------------------------------------------------------- 404 */
.lost { background: var(--night); }
.lost-main {
  position: relative;
  display: grid; align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 48px max(var(--gutter), env(safe-area-inset-right)) 48px max(var(--gutter), env(safe-area-inset-left));
}
.lost-main .map-ground::after { background: radial-gradient(60% 55% at 50% 50%, rgba(17, 14, 46, .35), var(--night) 100%); }
.lost-in { width: 100%; max-width: 560px; margin-inline: auto; }
.lost-brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.lost-brand img { width: 32px; height: 32px; border-radius: 8px; }
.lost-brand .lost-word { width: auto; height: 22px; border-radius: 0; }
.lost-pin { width: 48px; height: 64px; margin-top: var(--s8); overflow: visible; filter: drop-shadow(0 8px 12px rgba(6, 4, 30, .55)); }
.lost-pin .pin-body { fill: var(--indigo); }
.lost-pin .pin-rim { fill: none; stroke: #fff; stroke-width: 2.4; }
.lost-pin .pin-dot { fill: #fff; }
.lost-pin .pin-cast { fill: rgba(10, 8, 40, .32); }
.lost-title { margin-top: var(--s5); font: 600 clamp(34px, 6vw, 56px)/1.04 var(--f-display); letter-spacing: -0.02em; color: #fff; text-wrap: balance; }
.lost-text { margin-top: var(--s4); font-size: 18px; color: var(--lilac); }
.lost-actions { margin-top: var(--s6); }

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ---------------------------------------------------------------- print: a clean document */
@media print {
  @page { margin: 16mm 14mm; }
  :root { --rhythm: 28pt; --bar-h: 0px; }
  /* Print the drawn details (arrows, bars, pins, dots) whether or not background graphics are on. */
  html { scroll-behavior: auto; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body { font-size: 10.5pt; line-height: 1.5; background: #fff; color: #000; }
  .bar, .skip, .sheet, .hero-film, .hero-scrim, .map-ground, .traveller, .road, .bar-progress { display: none !important; }
  /* each chapter starts a page, so a chapter's bottom padding would only push a blank page */
  .ch { padding-block: 22pt 0; }
  /* glyphs drawn with CSS masks print as solid boxes in some PDF viewers: use type on paper */
  .arw { width: auto; height: auto; margin: 0 .15em; vertical-align: baseline; background: none; -webkit-mask: none; mask: none; }
  .arw::before { content: "\2192"; }
  .phone-icons, .browser-url::before { visibility: hidden; }
  .ticks li::before { content: "\2713"; top: 0; width: auto; height: auto; background: none; -webkit-mask: none; mask: none; color: var(--success); font-weight: 600; }
  /* the showcases stay on one row each */
  .show-devices { grid-template-columns: minmax(0, 3fr) repeat(2, minmax(0, 1fr)); align-items: end; }
  .show-devices .browser { grid-column: 1; }
  .show-devices-app { grid-template-columns: minmax(0, 3fr) minmax(0, 1.2fr); align-items: center; }
  .show-app { break-inside: avoid; }
  .show-note { break-before: avoid; }
  .foot { padding-bottom: 0; }
  .ledger-in { padding-bottom: 0; }
  .ch + .ch { break-before: page; }
  .ch-head { margin-bottom: 16pt; break-inside: avoid; }
  .ch-title, .axle-title { font-size: 24pt; }
  .lede { font-size: 12pt; }
  h2, h3, h4, .stop-date { break-after: avoid; }
  .row, .stop, .fig, .check, .people, .spc, .feat, figure, .lp, .meeting, .sec, .holding, .tn tr, .ledger-table tr, .weeks, .not-yet, .ticks li, .states li, .qr, .foot-top { break-inside: avoid; }
  .hero, .axle, .night, .live, .close, .plan-band, .foot, .meeting { background: #fff !important; color: #000 !important; }
  .hero { display: block; min-height: 0; margin-top: 0; }
  .hero-media { position: relative; inset: auto; z-index: 0; height: 60mm; overflow: hidden; border-radius: 4mm; }
  .hero-in { padding: 14pt 0 0; }
  .hero-for, .hero-lede, .hero-foot { color: #222; text-shadow: none; }
  .hero-foot { border-top-color: #ccc; }
  .promise { font-size: 40pt; color: #000; }
  .pl-t { text-shadow: none; }
  .pl-3 .pl-t { color: #8A8A90; }
  /* the letter starts its own page, and stays whole */
  .letter { break-before: page; }
  .letter-title, .axle-title, .plan-head, .sign, .pg-side, .meeting-do { break-inside: avoid; }
  .letter-date, .plan-head { break-after: avoid; }
  .letter-body p { font-size: 11.5pt; line-height: 1.55; }
  .sign { margin-top: 18pt; }
  .pg-side { position: static; }
  .pg-phone { width: 46mm; }
  .abtn .arr { display: none; }
  .abtn-ghost { border: 0; }
  .hero-actions { display: none; }
  .hero .pill, .night .pill { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hero .pill-live, .night .pill-live { --pill-ink: #155D45; --pill-bg: #E4F2EB; --pill-line: transparent; --pill-dot: var(--success); }
  .hero .pill-next, .night .pill-next { --pill-ink: var(--indigo); --pill-bg: transparent; --pill-line: var(--indigo); --pill-ring: var(--indigo); }
  .night .pill-later { --pill-ink: var(--muted); --pill-bg: transparent; --pill-line: #A9A9B0; --pill-ring: #8E8E95; }
  .night { --tx: #111; --tx-2: #333; --tx-3: #555; --line: #ddd; overflow: visible; }
  .night .ch-title, .stop-title, .lp-name, .spc-title, .loop-here, .loop-title { color: #000 !important; }
  .route::after, .loop::after { display: none; }
  .stop-text { opacity: 1; }
  .stop-date { color: #333 !important; }
  .route.is-drawn::before { display: block; }
  .route::before { background: #8B7BD8; box-shadow: none; }
  .route.is-drawn .stop { --pin-x: var(--road-x); }
  .route.is-drawn .stop::after, .stop::after { display: none; }
  .route.is-drawn .stop .stop-pin { background-image: var(--i-pinLit); }
  .route.is-drawn .route-end { --end-x: var(--road-x); }
  .route-next { color: var(--indigo); background: none; box-shadow: inset 0 0 0 1px var(--indigo); }
  .spc { background: #fff; box-shadow: inset 0 0 0 1px #ccc; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .lp { padding-bottom: 10pt; }
  .lp-dot { box-shadow: inset 0 0 0 2px #8B7BD8; }
  .loop-live .lp-dot { background: #8B7BD8; }
  /* The loop in two columns on paper: what is live, then where the pin waits and what comes next. */
  .loop { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28pt; align-items: start; padding-left: 0; }
  .loop-live { grid-column: 1; grid-row: 1 / span 2; margin-left: 44px; }
  .loop-here { grid-column: 2; grid-row: 1; margin: 0 0 14pt -5px; }
  .loop-todo { grid-column: 2; grid-row: 2; margin-left: 44px; }
  .holding { background: var(--paper); }
  .loop-live::before, .loop-live::after, .loop-here::before { background: #8B7BD8 !important; box-shadow: none !important; }
  .axle-title, .person-name, .meeting-title { color: #000; }
  .meeting { border-color: #999; border-top-color: var(--amber); }
  .foot, .foot a, .foot-name, .foot-conf, .ledger summary, .ledger-table td, .ledger-table th, .ledger-note, .foot-sources { color: #111 !important; }
  .ledger code { color: #7A3E00; }
  .ledger-table td { border-top-color: #ddd; }
  .foot-top, .ledger { border-color: #ddd; }
  .rail { display: grid; grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; }
  .feat-team .rail, .feat-see .rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .phone-body, .browser { box-shadow: 0 0 0 1px #ccc; }
  a[data-print]::after { content: "(" attr(data-print) ")"; margin-left: .3em; font-size: 8.5pt; font-weight: 400; color: #555; }
  .foot-contact { flex-direction: column; align-items: flex-start; }
  .foot-contact > span { display: none; }
  .qr { display: flex; flex-direction: column; align-items: flex-start; gap: 8pt; margin-top: 0; }
  .qr img { width: 90pt; height: 90pt; }
  .qr p { max-width: 22ch; font-size: 10pt; color: #222; }
  .btn, .abtn { min-height: 0; padding: 0; background: none !important; box-shadow: none !important; color: #000 !important; }
}
/* The ledger prints open even without JavaScript, where the browser allows it. */
@media print {
  .ledger::details-content { content-visibility: visible; display: block; block-size: auto; }
  .ledger summary::before { display: none; }
}
