/* Guardian website. One editorial grammar on every page:
   a 345u band (headline left, ruled lead right, centre hairline) over the page's stage,
   content set on the same two columns, a dark inset footer that echoes the stage.
   Single light look by design (the owner's reference fixes these colours). */
:root {
  color-scheme: light;
  --u: min(calc(100vw / 1280), calc(1vh * 100 / 800));
  --bg: #f7f8f3;
  --ink: #25251d;
  --muted: #5c5c52;
  --rule: #1c1c1c;
  --line: rgba(37, 37, 29, .14);
  --tile: #eeefe7;
  --pill-ink: #edefe8;
  --news: rgba(189, 191, 177, 0.985);
  --news-pill-ink: #d2d3c7;
  --accent: #e11d2a;
  --live: #4c8dff;
  --safe: #2fbf71;
  --night: #0d1826;
  --wash: rgb(247, 248, 243);
  --preview: #e9eae3;
  --font: -apple-system, BlinkMacSystemFont, Inter, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease-settle: cubic-bezier(.16, 1, .3, 1);
  --ease-reveal: cubic-bezier(.22, 1, .36, 1);
  --g: max(20px, calc(20 * var(--u)));
}
@supports (height: 1svh) {
  :root { --u: min(calc(100vw / 1280), calc(100svh / 800)); }
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scrollbar-gutter: stable; }
html, body { margin: 0; }
body {
  background: var(--bg);
  font-family: var(--font);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
a { color: inherit; }
button { font: inherit; color: inherit; }
img, svg { max-width: 100%; }

/* ---------- Fixed bar: logo + menu (same spots as the reference) ---------- */
.site-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  height: max(64px, calc(88 * var(--u)));
  pointer-events: none;
}
.site-bar::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(247, 248, 243, .86);
  backdrop-filter: blur(14px) saturate(1.05); -webkit-backdrop-filter: blur(14px) saturate(1.05);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .35s linear;
}
html.is-scrolled .site-bar::before { opacity: 1; }
html.menu-open .site-bar::before { opacity: 0; }
.site-bar > * { pointer-events: auto; }

.logo { position: absolute; left: calc(20 * var(--u)); top: calc(17 * var(--u)); display: block; line-height: 0; }
.logo img { display: block; height: calc(58 * var(--u)); width: auto; max-width: none; }

.menu-btn {
  position: absolute; right: calc(20 * var(--u)); top: calc(20 * var(--u));
  height: calc(35 * var(--u)); display: inline-flex; align-items: center; gap: calc(16.5 * var(--u));
  background: none; border: 0; padding: 0; cursor: pointer;
  font-size: max(12px, calc(17.5 * var(--u))); font-weight: 400; letter-spacing: -0.02em;
}
.menu-label { position: relative; display: block; overflow: hidden; height: 1.3em; line-height: 1.3em; }
.menu-label span { display: block; transition: transform 800ms cubic-bezier(.65, 0, .2, 1); }
.menu-label .l-close { position: absolute; left: 0; top: 0; transform: translateY(100%); }
html.menu-open .menu-label .l-menu { transform: translateY(-100%); }
html.menu-open .menu-label .l-close { transform: translateY(0); }
.menu-icon { position: relative; width: calc(36 * var(--u)); height: calc(36 * var(--u)); flex: none; }
.menu-icon svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: currentColor; transition: opacity 200ms linear; }
html.menu-open .menu-icon svg { opacity: 0; transition-duration: 0ms; }
.menu-x { position: absolute; inset: 0; opacity: 0; transform: rotate(-90deg) scale(.3); }
.menu-x::before, .menu-x::after {
  content: ""; position: absolute; left: 12%; right: 12%; top: 50%;
  height: max(1.5px, calc(2.4 * var(--u))); margin-top: calc(-1.2 * var(--u));
  background: currentColor; border-radius: 2px;
}
.menu-x::before { transform: rotate(45deg); }
.menu-x::after { transform: rotate(-45deg); }
html.menu-open .menu-x {
  opacity: 1; transform: rotate(0) scale(1);
  transition: transform 900ms var(--ease-settle) 450ms, opacity 300ms linear 450ms;
}

/* ---------- Band ---------- */
.top { position: relative; flex: none; height: calc(345 * var(--u)); }
.divider {
  position: absolute; top: 0; bottom: 0;
  left: calc(50% - 2 * var(--u)); width: calc(4 * var(--u));
  background: linear-gradient(90deg, #f5f6f1 0%, #f5f6f1 25%, #f3f4ef 25%, #f3f4ef 75%, #f5f6f1 75%, #f5f6f1 100%);
  transform-origin: 50% 0; pointer-events: none;
}
.cta {
  position: absolute; right: calc(20 * var(--u)); top: calc(144.5 * var(--u));
  height: calc(41 * var(--u)); padding: calc(2 * var(--u)) calc(19.5 * var(--u)) 0 calc(20.8 * var(--u));
  display: inline-flex; align-items: center;
  background: var(--ink); color: var(--pill-ink); border-radius: 999px; text-decoration: none;
  font-size: max(12px, calc(16.5 * var(--u))); font-weight: 400; letter-spacing: -0.02em; white-space: nowrap;
}
.headline {
  position: absolute; left: calc(20 * var(--u)); top: calc(207.6 * var(--u)); margin: 0;
  font-size: calc(62.14 * var(--u)); font-weight: 500; letter-spacing: -0.015em;
  line-height: calc(60 * var(--u)); white-space: nowrap;
}
.headline .line { display: block; }
.live-dot {
  position: relative; display: inline-block; vertical-align: top;
  width: .2em; height: .2em; margin-left: calc(6 * var(--u)); top: calc(10 * var(--u));
  border-radius: 50%; background: var(--accent);
}
.live-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent);
  animation: ping 2.4s cubic-bezier(.2, .6, .3, 1) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .5; } 70%, 100% { transform: scale(3.2); opacity: 0; } }
.lead {
  position: absolute; right: calc(20 * var(--u)); top: calc(228 * var(--u)); margin: 0;
  width: calc(520 * var(--u)); padding-left: calc(21 * var(--u));
  font-size: max(13px, calc(20.5 * var(--u))); font-weight: 400; letter-spacing: 0.004em; line-height: 1.3171;
}
.lead::before {
  content: ""; position: absolute; left: 0; top: .18em; bottom: .18em;
  width: max(1.5px, calc(2.4 * var(--u))); background: var(--rule);
}
.lead .ln { display: block; white-space: nowrap; }

/* ---------- Home: one-screen hero, then the page scrolls ---------- */
.hero { height: 100vh; display: flex; flex-direction: column; }
@supports (height: 1svh) { .hero { height: 100svh; } }
main.media, .stage {
  position: relative; flex: 1; min-height: 0;
  margin: 0 calc(20 * var(--u));
  border-radius: calc(5 * var(--u)) calc(5 * var(--u)) 0 0;
  overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 52% 45%, #334a5f 0%, #142333 48%, #05090f 100%);
}
#hero { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage-fog {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 9, 15, .92) 0%, rgba(5, 9, 15, .35) 22%, rgba(5, 9, 15, 0) 42%),
    radial-gradient(140% 100% at 50% 60%, rgba(5, 9, 15, 0) 55%, rgba(5, 9, 15, .55) 100%);
}
.stage-chip {
  position: absolute; left: calc(24 * var(--u)); top: calc(22 * var(--u));
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 12px; border-radius: 999px;
  background: rgba(10, 17, 27, .55); color: #e8ecf2;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .08);
  font-size: max(11px, calc(14 * var(--u))); letter-spacing: -0.01em; white-space: nowrap;
}
.stage-chip i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--live); flex: none;
  animation: chip 2s ease-out infinite; transition: background .4s;
}
.stage-chip.is-safe i { background: var(--safe); animation: none; }
@keyframes chip { 0% { box-shadow: 0 0 0 0 rgba(76, 141, 255, .55); } 100% { box-shadow: 0 0 0 9px rgba(76, 141, 255, 0); } }
.news {
  position: absolute; left: 0; right: 0; margin: 0 auto; bottom: calc(30 * var(--u)); z-index: 2;
  width: calc(800 * var(--u)); min-height: calc(56 * var(--u));
  display: flex; align-items: center; justify-content: space-between; gap: calc(16 * var(--u));
  padding: calc(8 * var(--u)) calc(8 * var(--u)) calc(8 * var(--u)) calc(20 * var(--u));
  border-radius: calc(2 * var(--u));
  background: var(--news);
  backdrop-filter: blur(24px) saturate(1.1); -webkit-backdrop-filter: blur(24px) saturate(1.1);
}
.news p { margin: 0; font-size: max(12px, calc(17.5 * var(--u))); font-weight: 400; letter-spacing: -0.02em; line-height: 1.3; }
.news a {
  position: relative; flex: none; width: calc(118 * var(--u)); height: calc(40 * var(--u)); min-width: max-content;
  display: inline-flex; align-items: center; justify-content: center; padding: calc(2 * var(--u)) 12px 0;
  background: var(--ink); color: var(--news-pill-ink); border-radius: 999px; text-decoration: none;
  font-size: max(12px, calc(16.75 * var(--u))); letter-spacing: -0.02em; white-space: nowrap;
}

/* ---------- Entrance: hidden state while pending ---------- */
html.motion-pending .divider { transform: scaleY(0); }
html.motion-pending .logo,
html.motion-pending .menu-btn { opacity: 0; transform: translateY(-8px); }
html.motion-pending .cta,
html.motion-pending .lead { opacity: 0; transform: translateY(10px); }
html.motion-pending .headline .line { clip-path: inset(0 0 100% 0); transform: translateY(.72em); }
html.motion-pending .news { opacity: 0; transform: translate(0, 10px) scale(.96, 1); }

/* ---------- Content ---------- */
.content { position: relative; }
.sec {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, max(460px, calc(540 * var(--u))));
  column-gap: 48px; row-gap: 32px;
  padding: clamp(64px, 8vw, 120px) var(--g);
  border-top: 1px solid var(--line);
}
.sec:first-child { border-top: 0; }
.sec-head { min-width: 0; }
.sec-body { min-width: 0; }
.eyebrow {
  display: block; margin: 0 0 18px; font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .14em; color: var(--muted);
}
.h2 {
  margin: 0; font-size: clamp(30px, 3.4vw, 48px); font-weight: 500;
  letter-spacing: -0.025em; line-height: 1.04; text-wrap: balance; max-width: 13em;
}
.sec-body p, .prose p, .prose li {
  font-size: 17px; line-height: 1.62; font-weight: 400; letter-spacing: 0; margin: 0 0 1em; max-width: 34em;
}
.intro { font-size: clamp(19px, 1.6vw, 22px) !important; line-height: 1.45 !important; letter-spacing: -0.01em !important; }
.muted { color: var(--muted); }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none;
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.text-link::after { content: "→"; transition: transform .3s var(--ease-settle); }
.text-link:hover::after { transform: translateX(4px); }

.pill {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 2px 24px 0; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--ink); color: var(--pill-ink); text-decoration: none;
  font-size: 16px; font-weight: 400; letter-spacing: -0.02em; white-space: nowrap;
  transition: transform .3s var(--ease-settle), background-color .3s;
}
.pill:hover { transform: translateY(-1px); }
.pill.light { background: var(--pill-ink); color: var(--ink); }

/* steps: a real sequence, so numbered */
.steps {
  grid-column: 1 / -1; list-style: none; margin: 24px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  border-top: 1px solid var(--line);
}
.steps li { padding: 28px 32px 8px 0; border-right: 1px solid var(--line); }
.steps li + li { padding-left: 32px; }
.steps li:last-child { border-right: 0; }
.step-n { display: block; font-size: clamp(48px, 5vw, 72px); font-weight: 300; line-height: 1; letter-spacing: -0.04em; color: var(--accent); margin-bottom: 22px; }
.steps h3, .tile h3 { margin: 0 0 10px; font-size: 21px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.steps p, .tile p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }

.tiles { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.tile { background: var(--tile); border-radius: 5px; padding: 14px 14px 26px; display: flex; flex-direction: column; gap: 18px; }
.tile-art { aspect-ratio: 4 / 3; border-radius: 3px; overflow: hidden; background: var(--night); max-width: 100%; }
.tile-art svg { display: block; width: 100%; height: 100%; }
.tile-text { padding: 0 8px; }

/* does / doesn't */
.facts { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--line); }
.facts li {
  display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.5;
}
.facts li::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%; transform: translateY(2px);
  border: 1.5px solid var(--ink);
  background: linear-gradient(45deg, transparent 45%, var(--ink) 45%, var(--ink) 55%, transparent 55%);
}
.facts.yes li::before { background: var(--ink); box-shadow: inset 0 0 0 3px var(--bg); }
.facts li strong { font-weight: 500; }
.callout {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 5px;
  background: #f3dfdb; font-size: 16px; line-height: 1.55; max-width: 36em;
}
.callout b { font-weight: 600; }
.callout::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--accent); }

/* dark band, echoes the stage */
.band-dark {
  margin: 0 calc(20 * var(--u)); border-radius: calc(5 * var(--u));
  background: var(--ink); color: var(--pill-ink);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, max(440px, calc(520 * var(--u)))); gap: 32px 48px;
  padding: clamp(40px, 6vw, 88px) clamp(24px, 3.5vw, 48px);
}
.band-dark .eyebrow { color: #a7a99c; }
.band-dark p { color: #cfd1c5; font-size: 17px; line-height: 1.6; margin: 0 0 24px; max-width: 32em; }
.band-dark .h2 { color: var(--pill-ink); }

/* figures inside prose */
.kv { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; margin: 8px 0 28px; }
.kv th, .kv td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.kv th { font-weight: 500; width: 34%; }
.kv thead th { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 500; padding-top: 0; }
.table-wrap { overflow-x: auto; max-width: 100%; }

/* legal / long-form */
.legal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, max(560px, calc(640 * var(--u)))); column-gap: 48px; padding: clamp(48px, 6vw, 96px) var(--g) 96px; border-top: 1px solid var(--line); }
.toc { position: sticky; top: 100px; align-self: start; font-size: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: grid; gap: 2px; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 30px 1fr; padding: 7px 0; text-decoration: none; color: var(--muted); transition: color .2s; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-size: 11px; letter-spacing: .08em; font-weight: 500; padding-top: 2px; font-variant-numeric: tabular-nums; }
.toc a:hover, .toc a.is-here { color: var(--ink); }
.prose { min-width: 0; }
.prose h2 { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; margin: 56px 0 16px; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; font-weight: 500; margin: 28px 0 8px; }
.prose ul { padding-left: 1.1em; margin: 0 0 1em; }
.prose li { margin-bottom: .45em; }
.prose a { text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.summary { background: var(--tile); border-radius: 5px; padding: 22px 24px 8px; margin: 0 0 40px; }
.summary p { font-size: 16px !important; }

/* forms */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; margin-top: 8px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 17px; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1.5px solid rgba(37, 37, 29, .3); border-radius: 0;
  padding: 10px 0; width: 100%; min-width: 0;
  transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--ink); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.field .hint { font-size: 13px; color: var(--muted); }
.field.has-error input, .field.has-error textarea { border-bottom-color: var(--accent); }
.field .err { font-size: 13px; color: #b3101b; min-height: 0; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form-foot small { font-size: 13px; color: var(--muted); line-height: 1.5; max-width: 30em; }
.form-done {
  grid-column: 1 / -1; padding: 18px 20px; border-radius: 5px; background: var(--tile);
  font-size: 15.5px; line-height: 1.55;
}
.form-done code { font-family: inherit; font-weight: 500; user-select: all; }

/* people */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 8px 0 24px; }
.person { background: var(--tile); border-radius: 5px; padding: 22px; }
.person .initial {
  width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--pill-ink);
  display: grid; place-items: center; font-size: 20px; font-weight: 500; margin-bottom: 18px;
}
.person h3 { margin: 0 0 4px; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.person p { margin: 0 !important; font-size: 15px !important; color: var(--muted); }
.contact-line { font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; letter-spacing: -0.02em; margin: 4px 0 6px; user-select: all; word-break: break-word; }

/* ---------- Footer ---------- */
.foot {
  margin: clamp(48px, 6vw, 96px) calc(20 * var(--u)) 0;
  border-radius: calc(5 * var(--u)) calc(5 * var(--u)) 0 0;
  background: var(--ink); color: var(--pill-ink);
  padding: clamp(36px, 4.5vw, 64px) clamp(24px, 3.5vw, 48px) 28px;
}
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 36px 32px; }
.foot .logo { position: relative; left: auto; top: auto; display: inline-block; }
.foot .logo img { height: 46px; }
.foot-tag { margin: 20px 0 0; font-size: 15px; line-height: 1.55; color: #b9bbae; max-width: 22em; }
.foot h4 { margin: 4px 0 14px; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: #a7a99c; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot ul a { text-decoration: none; font-size: 15.5px; opacity: .92; }
.foot ul a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.foot-sos {
  margin-top: 48px; padding: 18px 0; border-top: 1px solid rgba(237, 239, 232, .14); border-bottom: 1px solid rgba(237, 239, 232, .14);
  display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 15px; line-height: 1.5;
}
.foot-sos b { font-weight: 600; color: #fff; }
.foot-sos::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; font-size: 13px; color: #a7a99c; }

/* ---------- Orbit menu ---------- */
html.menu-open, html.menu-open body { overflow: hidden; }
.menu { position: fixed; inset: 0; z-index: 50; visibility: hidden; transition: visibility 0s linear .9s; }
html.menu-open .menu { visibility: visible; transition-delay: 0s; }
.menu-wash {
  position: absolute; inset: 0; background: var(--wash);
  clip-path: circle(0px at var(--gx, 95%) var(--gy, 5%)); will-change: clip-path;
  transition: clip-path .6s cubic-bezier(.7, 0, .25, 1) 150ms;
}
html.menu-open .menu-wash {
  clip-path: circle(var(--wr, 150vmax) at var(--gx, 95%) var(--gy, 5%));
  transition: clip-path .7s cubic-bezier(.62, 0, .18, 1) 0ms;
}
.orbit { position: absolute; inset: 0; pointer-events: none; }
html.menu-open .orbit { pointer-events: auto; }
.o-preview {
  position: absolute; left: var(--cx); top: var(--cy);
  width: var(--pd); height: var(--pd); margin: calc(var(--pd) / -2) 0 0 calc(var(--pd) / -2);
  border-radius: 50%; overflow: hidden; background: var(--preview);
  clip-path: circle(0% at 50% 50%);
  transition: clip-path .5s cubic-bezier(.7, 0, .25, 1) 0s;
}
html.menu-open .o-preview { clip-path: circle(50% at 50% 50%); transition: clip-path .7s cubic-bezier(.62, 0, .18, 1) .5s; }
.o-preview svg {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  opacity: 0; transform: scale(1.06); transition: opacity .6s ease, transform 1.2s var(--ease-settle);
}
.o-preview svg.is-on { opacity: 1; transform: scale(1); }
.o-dot {
  position: absolute; left: 0; top: 0; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px;
  transform: translate(var(--gx0), var(--gy0)) scale(.4); opacity: 0;
  transition: transform .7s cubic-bezier(.7, 0, .25, 1), opacity .3s linear .3s;
}
.o-dot::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ink);
  transition: transform .4s var(--ease-settle), background-color .3s;
}
html.menu-open .o-dot {
  transform: translate(var(--ox), var(--oy)); opacity: 1;
  transition: transform .7s cubic-bezier(.62, 0, .18, 1) var(--d, .2s), opacity .2s linear var(--d, .2s);
}
.o-item .o-dot { width: 14px; height: 14px; margin: -7px 0 0 -7px; }
.o-center { width: 12px; height: 12px; margin: -6px 0 0 -6px; }
.o-center::before { transition: transform .6s var(--ease-settle); }
html.menu-settled .o-center::before { transform: scale(0); }
.o-ray { position: absolute; left: var(--cx); top: var(--cy); width: 0; height: 0; transform: rotate(var(--rot)); }
.o-ray i { position: absolute; top: -0.5px; height: 1px; display: block; }
.o-ray .in {
  /* Starts just outside the preview circle (radius .62R) so it never crosses it. */
  left: calc(var(--R) * .62 + 12px); width: calc(var(--R) * .38 - 24px); background: var(--accent);
  transform-origin: 100% 50%; transform: scaleX(0);
  transition: transform .5s cubic-bezier(.7, 0, .25, 1), opacity .3s;
}
.o-ray .out {
  left: calc(var(--R) + 12px); width: 26px; background: var(--ink); opacity: .5;
  transform-origin: 0 50%; transform: scaleX(0);
  transition: transform .4s cubic-bezier(.7, 0, .25, 1);
}
html.menu-open .o-ray .out { transform: scaleX(1); transition: transform .7s var(--ease-settle) calc(var(--d) + .35s); }
html.menu-open .o-ray .in { transform: scaleX(.45); transition: transform .9s var(--ease-settle) calc(var(--d) + .4s), opacity .3s; }
html.menu-open .o-item.is-active .o-ray .in { transform: scaleX(1); transition-delay: 0s; transition-duration: .6s; }
html.menu-open .o-item.is-active .o-ray .out { background: var(--accent); opacity: 1; }
.o-link {
  position: absolute; left: 0; top: 0; display: block; padding: 6px 4px; text-decoration: none;
  transform: translate(var(--lx), var(--ly)) translate(var(--ax), -50%);
  white-space: nowrap; outline-offset: 3px;
}
.o-label {
  display: flex; align-items: flex-start; gap: 10px;
  opacity: 0; transform: translate(var(--tx), var(--ty));
  transition: opacity .3s linear, transform .5s cubic-bezier(.7, 0, .25, 1);
}
.o-link.is-left .o-label { flex-direction: row-reverse; }
html.menu-open .o-label {
  opacity: 1; transform: none;
  transition: opacity .7s linear var(--ld), transform 1s var(--ease-settle) var(--ld), color .3s;
}
.o-num { font-size: 11px; font-weight: 500; letter-spacing: .08em; padding-top: .5em; font-variant-numeric: tabular-nums; }
.o-title { font-size: clamp(22px, 2.7vw, 40px); font-weight: 400; letter-spacing: -0.025em; line-height: 1; }
.o-link[aria-current="page"] .o-title { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.o-item, .o-decor, .o-center { transition: opacity .35s linear; }
.orbit.has-active .o-item:not(.is-active),
.orbit.has-active .o-decor,
.orbit.has-active .o-center { opacity: .38; }
.o-item.is-active .o-label { color: var(--accent); }
.o-item.is-active .o-dot::before { background: var(--accent); transform: scale(1.5); }
.o-caption {
  position: absolute; left: calc(20 * var(--u)); bottom: 28px;
  display: grid; gap: 6px; font-size: 12px; line-height: 1.35;
  opacity: 0; transition: opacity .3s linear;
}
html.menu-open .o-caption { opacity: 1; transition: opacity .6s linear .6s; }
.o-caption .o-index { font-size: 10px; text-transform: uppercase; letter-spacing: .14em; font-variant-numeric: tabular-nums; }
@media (max-height: 500px) { .o-caption { display: none; } }

/* ---------- Focus ---------- */
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.menu :focus-visible, html.menu-open .menu-btn:focus-visible { outline-color: var(--accent); }
.foot :focus-visible, .band-dark :focus-visible { outline-color: var(--pill-ink); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--pill-ink); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Tablet and below ---------- */
@media (max-width: 959.98px), (max-height: 599.98px), (orientation: portrait) {
  :root { --u: clamp(0.85px, calc(100vw / 1280), 1px); --gx: clamp(20px, 2.6vw, 28px); --gc: clamp(40px, 6.5vw, 72px); --g: var(--gx); }
  .hero { height: auto; min-height: 100vh; min-height: 100dvh; }
  html.menu-open .top { isolation: auto; }
  .site-bar { height: 72px; }
  .logo { left: var(--gx); top: 17px; }
  .logo img { height: 42px; }
  .menu-btn { right: var(--gx); top: 18px; height: 35px; gap: 14px; font-size: 16px; }
  .menu-icon { width: 32px; height: 32px; }
  .menu-x::before, .menu-x::after { height: 2px; margin-top: -1px; }
  .logo::after, .menu-btn::after, .cta::after, .news a::after { content: ""; position: absolute; inset: -6px; }
  .top {
    height: auto; min-height: 36svh;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: ". cta" "head lead";
    column-gap: var(--gc); row-gap: 24px; align-items: start; align-content: end;
    padding: 82px var(--gx) 28px;
  }
  .cta, .headline, .lead { position: relative; left: auto; right: auto; top: auto; }
  .cta { grid-area: cta; justify-self: end; height: 40px; padding: 2px 20px 0; font-size: 15px; }
  .headline {
    grid-area: head; align-self: end;
    font-size: clamp(34px, calc((50vw - var(--gx) - var(--gc) / 2) / 7.3), 96px);
    line-height: .9655;
  }
  .live-dot { margin-left: 6px; top: .08em; }
  .lead {
    grid-area: lead; align-self: end; width: auto; max-width: 30em; padding-left: 16px;
    font-size: clamp(16px, calc(.55vw + 12px), 19px); line-height: 1.42;
  }
  .lead::before { width: 1.5px; }
  .lead .ln { display: inline; white-space: normal; }
  main.media, .stage { flex: 1 0 auto; min-height: max(300px, 50svh); margin: 0 var(--gx); border-radius: 5px 5px 0 0; }
  .stage-chip { left: 16px; top: 16px; font-size: 12px; }
  .news { width: min(calc(800 * var(--u)), calc(100% - 2 * var(--gx))); min-height: 56px; padding: 8px 8px 8px 18px; bottom: 24px; }
  .news p { font-size: 15px; }
  .news a { height: 40px; width: auto; padding: 2px 18px 0; font-size: 14px; }
  .o-caption { left: var(--gx); }
  .sec, .legal { grid-template-columns: minmax(0, 1fr); }
  .band-dark { grid-template-columns: minmax(0, 1fr); margin: 0 var(--gx); border-radius: 5px; }
  .foot { margin-left: var(--gx); margin-right: var(--gx); border-radius: 5px 5px 0 0; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .toc { position: static; margin-bottom: 40px; }
  .toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
}

@media (max-width: 679.98px) {
  :root { --gx: 20px; }
  .top {
    min-height: 44svh;
    grid-template-areas: "head head" "lead lead" ". cta";
    row-gap: 22px;
  }
  .headline { font-size: clamp(32px, calc((100vw - 40px) / 7.3), 54px); white-space: normal; }
  .lead { font-size: 16.5px; max-width: 32em; }
  .live-dot { margin-right: calc(-.2em - 6px); }
  main.media, .stage { min-height: max(300px, 46svh); }
  .news { left: 12px; right: 12px; bottom: 12px; width: auto; margin: 0; padding: 10px 8px 10px 14px; gap: 12px; }
  .news p { font-size: 13.5px; }
  .o-preview, .o-ray, .o-caption { display: none; }
  .o-decor, .o-center { display: none; }
  .o-title { font-size: clamp(25px, 8vw, 34px); }
  .steps, .tiles, .people, .form { grid-template-columns: minmax(0, 1fr); }
  .steps li, .steps li + li { padding: 24px 0 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps li:last-child { border-bottom: 0; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc ol { grid-template-columns: minmax(0, 1fr); }
  .kv th { width: 40%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- Round 3: guide, API, FAQ components ---------- */
.h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.015em; margin: 32px 0 12px; }
.h3:first-child { margin-top: 0; }
.sec-more { grid-column: 1 / -1; margin: 8px 0 0; }
.side-note { font-size: 14px; margin: 18px 0 0; max-width: 22em; line-height: 1.5; }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.jump {
  position: sticky; top: max(64px, calc(88 * var(--u))); z-index: 20;
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  padding: 12px var(--g); background: rgba(247, 248, 243, .9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.jump::-webkit-scrollbar { display: none; }
.jump a {
  flex: none; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 14px;
  background: var(--tile); transition: background-color .25s, color .25s;
}
.jump a:hover, .jump a.is-here { background: var(--ink); color: var(--pill-ink); }
.jump + .sec { border-top: 0; }

.timeline { list-style: none; margin: 0 0 28px; padding: 0; counter-reset: tl; }
.timeline li {
  counter-increment: tl; position: relative; padding: 0 0 22px 48px; font-size: 17px; line-height: 1.55; max-width: 34em;
}
.timeline li::before {
  content: counter(tl); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; font-weight: 500; background: var(--ink); color: var(--pill-ink);
}
.timeline li::after { content: ""; position: absolute; left: 14.5px; top: 34px; bottom: 4px; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline b { font-weight: 500; }

.kv.flow th { width: 30%; }
.kv.flow td:last-child { color: var(--accent); font-weight: 500; }

.stages { grid-column: 1 / -1; list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stages li { background: var(--tile); border-radius: 5px; padding: 22px 22px 26px; position: relative; }
.stages li.is-now { background: var(--ink); color: var(--pill-ink); }
.stages li.is-now p { color: #cfd1c5; }
.stages h3 { margin: 18px 0 8px; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.stages p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 12px; border-radius: 999px;
  font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; border: 1px solid currentColor;
}
.stages li.is-now .chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--safe); }

code, .code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace; }
.prose code, .sec-body code, .kv code { font-size: .88em; background: var(--tile); padding: 2px 6px; border-radius: 4px; word-break: break-word; }
.kv.api th { width: 46%; font-weight: 400; }
.kv.api th code { background: none; padding: 0; font-size: 14px; }
.m {
  display: inline-block; min-width: 46px; margin-right: 8px; padding: 2px 6px; border-radius: 4px; text-align: center;
  font: 600 11px/1.6 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .04em; color: #fff; vertical-align: 1px;
}
.m.get { background: #2a6f4d; } .m.post { background: #1e54b7; } .m.put { background: #92600e; }
.code {
  display: block; margin: 0 0 24px; padding: 20px 22px; border-radius: 5px; overflow-x: auto; max-width: 100%;
  background: var(--night); color: #dbe6f5; font-size: 13.5px; line-height: 1.6; tab-size: 2;
}
.code code { background: none; padding: 0; font-size: inherit; color: inherit; }
.code .c { color: #8fb0d6; }

.qa-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.qa summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 16px; align-items: center;
  padding: 20px 0; font-size: 18px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.35;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--tile);
  background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink));
  background-size: 12px 1.5px, 1.5px 12px; background-position: center; background-repeat: no-repeat;
  transition: transform .4s var(--ease-settle), background-size .3s;
}
.qa[open] summary::after { transform: rotate(180deg); background-size: 12px 1.5px, 1.5px 0; }
.qa > div p { margin: 0 0 20px; color: var(--muted); }
.qa::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease-settle), content-visibility .45s allow-discrete; }
.qa[open]::details-content { block-size: auto; }

/* ---------- Fluid motion ---------- */
/* Scroll reveal: only elements below the fold at load are ever hidden, and only once JS is running. */
html.reveal-on .rv { opacity: 0; transform: translateY(22px); }
html.reveal-on .rv.rv-in {
  opacity: 1; transform: none;
  transition: opacity .8s cubic-bezier(.2, .6, .3, 1) var(--rd, 0ms), transform 1.1s var(--ease-settle) var(--rd, 0ms);
}
.tile, .stages li, .person { transition: transform .5s var(--ease-settle), box-shadow .5s var(--ease-settle); }
@media (hover: hover) {
  .tile:hover, .stages li:hover, .person:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(37, 37, 29, .35); }
  .tile:hover .tile-art svg { transform: scale(1.03); }
}
.tile-art svg { transition: transform 1.2s var(--ease-settle); }
.foot ul a, .text-link, .toc a { transition: opacity .2s, color .2s; }

/* Page-to-page: cross-fade where the browser supports it; the header stays put. */
@view-transition { navigation: auto; }
.site-bar { view-transition-name: site-bar; }
::view-transition-old(root) { animation: vt-out .28s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease-settle) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

@media (max-width: 959.98px), (max-height: 599.98px), (orientation: portrait) {
  .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-4 li:nth-child(2) { border-right: 0; }
  .steps-4 li:nth-child(3) { padding-left: 0; }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jump { top: 72px; }
  .foot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 679.98px) {
  .steps-4, .stages { grid-template-columns: minmax(0, 1fr); }
  .kv.api th { width: auto; }
  .kv.flow, .kv.flow tbody, .kv.flow tr, .kv.flow th, .kv.flow td { display: block; width: auto; }
  .kv.flow thead { display: none; }
  .kv.flow tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .kv.flow th, .kv.flow td { border: 0; padding: 3px 0; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qa summary { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html.reveal-on .rv { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}

/* Team portraits: a photo, or a large initial until one is supplied */
.person .portrait {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%;
  border-radius: 4px; margin: 0 0 18px; background: #e4e5dd;
}
.person .portrait.initial {
  display: grid; place-items: center; font-size: clamp(56px, 7vw, 96px); font-weight: 500; letter-spacing: -0.04em;
  background: var(--ink); color: var(--pill-ink);
}
.person { padding: 12px 12px 20px; }
.person h3, .person p { padding: 0 8px; }
@media (max-width: 679.98px) {
  .person .portrait { aspect-ratio: 1 / 1; object-position: 50% 22%; }
  .person .portrait.initial { aspect-ratio: 5 / 2; font-size: 56px; }
}
.sec-body-wide { grid-column: 2; }
.sec-body > .h3:last-child { margin-bottom: 0; }
@media (max-width: 959.98px), (max-height: 599.98px), (orientation: portrait) { .sec-body-wide { grid-column: 1 / -1; } }

/* Home feature tiles: four in a 2x2 grid, one column on phones */
.tile .eyebrow { margin-bottom: 10px; }
@media (min-width: 680px) { .tiles-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Founder note: signature block (About #note, Home #founder-note) ---------- */
.sig { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.sig-photo { width: 56px; height: 56px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 22%; background: var(--tile); }
.sec-body .sig-text { margin: 0; display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 1.35; }
.sig-name { font-weight: 500; letter-spacing: -0.01em; }
.sig-role { color: var(--muted); }
.founder-strip .intro { font-size: clamp(24px, 3vw, 34px) !important; line-height: 1.25 !important; letter-spacing: -0.02em !important; max-width: 24em; }
.founder-strip .sec-body .sec-more { margin-top: 24px; }
