/* Macher v7. Swiss industrial brutalism: paper, carbon ink, one hazard red.
   No radius, no gradients, no blur. Visible grid. Motion is mechanical: short, linear, hard-edged. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2-variations"), url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --paper: #f1f0ea;
  --paper-2: #e4e2da;
  --ink: #0b0b0b;
  --ink-2: #45443f;
  --red: #d10d0d;
  --red-bright: #ff3b30;
  --on-red: #ffffff;
  --line: 2px solid var(--ink);
  --hair: 1px solid var(--ink);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 88rem;
  --gutter: clamp(1rem, 3vw, 2.5rem);
  --t-mega: clamp(2.3rem, 9.4vw, 10rem);
  --t-hero: clamp(2.9rem, 1rem + 7.4vw, 8rem);
  --t-h2: clamp(2.1rem, 1rem + 4.2vw, 4.75rem);
  --t-h3: clamp(1.15rem, 1rem + 0.5vw, 1.45rem);
  --t-lead: clamp(1.1rem, 1rem + 0.45vw, 1.35rem);
  --t-body: 1.0625rem;
  --t-micro: 0.75rem;
  --snap: cubic-bezier(0.7, 0, 0.2, 1);
  --shadow: 6px 6px 0 var(--ink);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-body);
  font-stretch: 100%;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
p { margin: 0; max-width: 64ch; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
::selection { background: var(--red); color: var(--on-red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

h1, h2, h3 { margin: 0; font-family: var(--font); color: inherit; text-wrap: balance; }
h1 { font-size: var(--t-hero); font-weight: 900; font-stretch: 100%; line-height: 0.88; letter-spacing: -0.045em; text-transform: uppercase; }
h2 { font-size: var(--t-h2); font-weight: 900; line-height: 0.92; letter-spacing: -0.04em; text-transform: uppercase; }
h3 { font-size: var(--t-h3); font-weight: 800; line-height: 1.15; letter-spacing: -0.015em; }
.h3-size { font-size: var(--t-h3); letter-spacing: -0.015em; text-transform: none; line-height: 1.15; }

.lead { color: var(--ink); font-size: var(--t-lead); line-height: 1.45; }
.muted, .small { color: var(--ink-2); }
.small { font-size: 0.875rem; }
.micro, .meta, .tag, .eyebrow { font-family: var(--mono); font-size: var(--t-micro); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.3; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 56rem; }

.skip { position: absolute; left: 0.5rem; top: -4rem; z-index: 100; padding: 0.6rem 1rem; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: var(--t-micro); text-transform: uppercase; }
.skip:focus { top: 0.5rem; }

/* ---------- Header ---------- */

.progress { position: fixed; inset: 0 0 auto 0; z-index: 60; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: left center; display: none; }
.js-motion .progress { display: block; }

.site-head { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: var(--line); }
.site-head .wrap { display: flex; align-items: stretch; justify-content: space-between; gap: 1rem; min-height: 3.5rem; }
.mark { display: flex; align-items: center; gap: 0.6rem; font-weight: 900; font-stretch: 125%; font-size: 1.15rem; letter-spacing: -0.02em; text-transform: uppercase; text-decoration: none; }
.mark::before { content: ""; width: 0.85rem; height: 0.85rem; background: var(--red); }
.nav { display: flex; }
.nav ul { display: flex; align-items: stretch; list-style: none; border-left: var(--line); }
.nav li { display: flex; border-right: var(--line); }
.nav li:last-child { border-right: 0; }
.nav a { display: flex; align-items: center; padding-inline: clamp(0.6rem, 1.4vw, 1.1rem); font-family: var(--mono); font-size: var(--t-micro); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
.nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.nav a.nav-cta { background: var(--red); color: var(--on-red); }
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { background: var(--ink); color: var(--paper); }
  .nav a.nav-cta:hover { background: var(--ink); }
}

/* ---------- Buttons and links ---------- */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.25rem; padding: 0.85rem 1.4rem;
  border: var(--line); background: var(--red); color: var(--on-red);
  font-family: var(--mono); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 90ms linear, box-shadow 90ms linear;
}
.button::after { content: "\2192"; font-family: var(--font); font-weight: 700; }
.button-ghost { background: var(--paper); color: var(--ink); }
.button-ink { background: var(--ink); color: var(--paper); box-shadow: 6px 6px 0 var(--paper); border-color: var(--ink); }
.button:active { transform: translate(6px, 6px); box-shadow: 0 0 0 var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .button:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
  .button-ink:hover { box-shadow: 8px 8px 0 var(--paper); }
  .button:active { transform: translate(6px, 6px); box-shadow: 0 0 0 var(--ink); }
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.5rem; }
.actions-center { justify-content: center; }
.link-more { font-family: var(--mono); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: underline; text-decoration-thickness: 2px; }
.link-more::after { content: " \2192"; }
@media (hover: hover) and (pointer: fine) { .link-more:hover { background: var(--ink); color: var(--paper); text-decoration: none; } }

/* ---------- Hero ---------- */

.hero { border-bottom: var(--line); padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); }
.hero .wrap { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.hero .lead { max-width: 46ch; }
.hero-meta { max-width: none; display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; padding-bottom: 0.9rem; border-bottom: var(--hair); color: var(--ink-2); }
.hero-meta span:first-child { color: var(--red); }

.hero-home { padding-block: clamp(1.5rem, 3vw, 2.5rem) 0; }
.hero-home h1 { font-size: var(--t-mega); line-height: 0.84; letter-spacing: -0.055em; }
.line { display: block; position: relative; overflow: hidden; padding-bottom: 0.04em; }
.line-inner { display: block; white-space: nowrap; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border-top: var(--line); margin-inline: calc(var(--gutter) * -1); }
.hero-grid > * { padding: clamp(1.25rem, 2.5vw, 2rem) var(--gutter); }
.hero-pitch { display: grid; gap: 1.5rem; align-content: start; border-right: var(--line); }

.countdown { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; padding: 0 !important; background: var(--ink); }
.count-cell { display: grid; align-content: space-between; gap: 1rem; padding: clamp(1rem, 2vw, 1.5rem); background: var(--paper); min-height: 12rem; }
.count-cell:first-child { background: var(--red); color: var(--on-red); }
.count-cell .eyebrow { color: inherit; }
.count-value { font-weight: 900; font-stretch: 125%; font-size: clamp(2rem, 1rem + 2.6vw, 3.6rem); line-height: 0.9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.count-value small { display: block; margin-top: 0.4rem; font-family: var(--mono); font-size: var(--t-micro); font-weight: 600; font-stretch: 100%; letter-spacing: 0.08em; }
.count-label { font-size: 0.875rem; line-height: 1.3; }

/* Spec sheet: what NIST proposes to retire */
.spec { border-top: var(--line); }
.spec-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 0.9rem; border-bottom: var(--hair); }
.spec-head p { font-weight: 800; }
.spec table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.spec th { padding: 0.6rem 1rem 0.6rem 0; text-align: left; border-bottom: var(--hair); font-family: var(--mono); font-size: var(--t-micro); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.spec td { padding: 0.9rem 1rem 0.9rem 0; vertical-align: top; border-bottom: var(--hair); }
.alg { position: relative; display: inline-block; font-weight: 900; font-stretch: 112%; font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.6rem); letter-spacing: -0.02em; text-transform: uppercase; }
.alg.retired::after { content: ""; position: absolute; left: -0.1em; right: -0.1em; top: 52%; height: 0.14em; background: var(--red); transform-origin: left center; }
.use { display: block; color: var(--ink-2); font-size: 0.875rem; }
.retire { color: var(--red); font-family: var(--mono); font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.keep { font-family: var(--mono); font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.spec-note { padding-block: 0.9rem 1.25rem; color: var(--ink-2); font-size: 0.875rem; max-width: none; }

/* ---------- Ticker ---------- */

.ticker { overflow: hidden; background: var(--ink); color: var(--paper); border-block: var(--line); }
.ticker-track { display: flex; padding: 0.9rem var(--gutter); font-family: var(--mono); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.ticker-list { display: flex; flex-wrap: wrap; gap: 0.3rem 2rem; list-style: none; }
.ticker-list li::after { content: "///"; margin-left: 2rem; color: var(--red-bright); }
.ticker-dup { display: none; }
.js-motion .ticker-track { width: max-content; padding-inline: 0; }
.js-motion .ticker-list { flex-wrap: nowrap; padding-right: 2rem; }
.js-motion .ticker-dup { display: flex; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(3.5rem, 7vw, 7rem); border-bottom: var(--line); }
.section-index { display: block; margin-bottom: 1.25rem; color: var(--red); }
.head { display: grid; gap: 1.25rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 60rem; }
.head-center { max-width: 60rem; }
.head .lead { max-width: 52ch; }
.head-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: end; max-width: none; }

.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: start; }
.split-text { display: grid; gap: 1.25rem; align-content: start; position: sticky; top: 6rem; }

/* Grid compartments: 2px ink gap draws every dividing line. */
.bento, .two, .grid-3 { display: grid; gap: 2px; background: var(--ink); border: var(--line); }
.bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.span-2 { grid-column: span 2; }
.rows-2 { grid-row: span 2; }
.tile { display: grid; gap: 0.85rem; align-content: start; padding: clamp(1.25rem, 2.2vw, 1.9rem); background: var(--paper); }
.tile p { color: var(--ink-2); }
.tile .tag { color: var(--red); }
.tile .tag::before { content: "[ "; }
.tile .tag::after { content: " ]"; }
.tile-code { font-family: var(--mono); font-size: var(--t-micro); font-weight: 600; letter-spacing: 0.08em; color: var(--ink-2); }
.tile-feature { background: var(--ink); color: var(--paper); align-content: space-between; }
.tile-feature h3 { font-size: clamp(1.6rem, 1rem + 2.2vw, 2.9rem); font-weight: 900; line-height: 0.95; letter-spacing: -0.035em; text-transform: uppercase; }
.tile-feature p { color: #c9c7bf; }
.tile-feature .tag { color: var(--red-bright); }
.tile-feature .tile-code { color: #8a8880; }

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; }
.chips li { padding: 0.3rem 0.55rem; border: 1.5px solid currentColor; font-family: var(--mono); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

.panel { border-top: var(--line); }
.list { list-style: none; }
.list li { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr) minmax(0, 10rem); gap: 0.5rem 2rem; align-items: baseline; padding-block: 1.25rem; border-bottom: var(--hair); }
.list li h3 { font-size: var(--t-h3); }
.list li p { color: var(--ink-2); }
.list .meta { justify-self: end; text-align: right; color: var(--red); }
.list-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
.list-two li { grid-template-columns: 1fr; gap: 0.35rem; }
.list-two li::before { content: attr(data-code); font-family: var(--mono); font-size: var(--t-micro); font-weight: 600; letter-spacing: 0.08em; color: var(--red); }

.points { list-style: none; counter-reset: pt; border-top: var(--line); }
.points li { counter-increment: pt; display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 0.3rem 1rem; padding-block: 1.25rem; border-bottom: var(--hair); }
.points li::before { content: counter(pt, decimal-leading-zero); grid-row: span 2; font-family: var(--mono); font-size: 0.875rem; font-weight: 700; color: var(--red); }
.points strong { font-size: var(--t-h3); font-weight: 800; line-height: 1.2; }
.points span { color: var(--ink-2); }
.plain { display: grid; gap: 0.55rem; list-style: none; }
.plain li { position: relative; padding-left: 1.4rem; color: var(--ink-2); }
.plain li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 0.55rem; height: 0.55rem; background: var(--red); }

/* ---------- Story: horizontal, pinned with the script ---------- */

.story { border-bottom: var(--line); }
.story-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; padding-block: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2.5rem); }
.story-counter { font-family: var(--mono); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.08em; }
.story-counter b { color: var(--red); }
.story-rail { display: grid; gap: 2px; background: var(--ink); border-top: var(--line); }
.story-panel { min-width: 0; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; gap: 1.5rem; padding: clamp(1.5rem, 3vw, 2.75rem) var(--gutter); background: var(--paper); }
.story-panel .story-num { font-weight: 900; font-stretch: 125%; font-size: clamp(5rem, 2rem + 13vw, 15rem); line-height: 0.78; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 2px var(--ink); }
.story-panel:nth-child(2) .story-num { color: var(--ink); -webkit-text-stroke: 0; }
.story-panel:nth-child(3) .story-num { color: var(--red); -webkit-text-stroke: 0; }
.story-body { display: grid; gap: 1rem; align-content: end; }
.story-panel h3 { font-size: clamp(2rem, 1rem + 3.4vw, 4.25rem); font-weight: 900; line-height: 0.9; letter-spacing: -0.04em; text-transform: uppercase; }
.story-body > p:not(.story-readout) { color: var(--ink-2); font-size: var(--t-lead); max-width: 44ch; }
.story-readout { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.story-readout span { padding: 0.35rem 0.6rem; border: 2px solid var(--ink); font-family: var(--mono); font-size: 0.8125rem; font-weight: 700; }
.story-readout .bad { border-color: var(--red); color: var(--red); text-decoration: line-through; text-decoration-thickness: 2px; }
.story-readout .ok { background: var(--ink); color: var(--paper); }
.story-readout .formula { font-size: 1.25rem; padding: 0.4rem 0.9rem; }
.story-bar { display: none; }

.js-motion .story-pin { height: 300vh; }
.js-motion .story-sticky { position: sticky; top: 3.6rem; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; height: calc(100vh - 3.6rem); height: calc(100svh - 3.6rem); overflow: hidden; }
.js-motion .story-rail { display: flex; width: max-content; height: 100%; }
.js-motion .story-panel { flex: 0 0 auto; width: min(88vw, 62rem); }
.js-motion .story-bar { display: block; height: 6px; background: var(--paper-2); border-top: var(--line); }
.js-motion .story-bar span { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left center; }

/* ---------- Timeline as a status table ---------- */

.timeline { width: 100%; border-collapse: collapse; border-top: var(--line); }
.timeline th, .timeline td { padding: 1rem 1rem 1rem 0; text-align: left; vertical-align: baseline; border-bottom: var(--hair); }
.timeline thead th { padding-block: 0.6rem; font-family: var(--mono); font-size: var(--t-micro); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.timeline time { font-family: var(--mono); font-weight: 700; font-size: 0.9375rem; white-space: nowrap; }
.timeline .event { font-weight: 700; font-size: 1.0625rem; }
.timeline .status { font-family: var(--mono); font-size: var(--t-micro); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; text-align: right; }
.timeline tr.is-past { color: var(--ink-2); }
.timeline tr.is-past .event { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.timeline tr.is-next { background: var(--red); color: var(--on-red); }
.timeline tr.is-next td:first-child { padding-left: 0.75rem; }
.source { margin-top: 1rem; color: var(--ink-2); font-size: 0.8125rem; max-width: none; }

/* ---------- Buyers: rows that invert ---------- */

.rows { list-style: none; border-top: var(--line); }
.rows a { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 0.75rem 2rem; align-items: center; padding: clamp(1.25rem, 2.5vw, 2rem) 0; border-bottom: var(--line); text-decoration: none; }
.rows h3 { font-size: clamp(1.8rem, 1rem + 3vw, 3.6rem); font-weight: 900; line-height: 0.92; letter-spacing: -0.04em; text-transform: uppercase; }
.rows p { color: var(--ink-2); }
.rows .meta { color: var(--red); white-space: nowrap; }
.rows .meta::after { content: " \2192"; }
@media (hover: hover) and (pointer: fine) {
  .rows a:hover { background: var(--ink); color: var(--paper); padding-inline: 1rem; }
  .rows a:hover p { color: #c9c7bf; }
  .rows a:hover .meta { color: var(--red-bright); }
}

/* ---------- Offers and pricing ---------- */

.offer { display: grid; grid-template-rows: auto auto 1fr auto; gap: 1rem; padding: clamp(1.25rem, 2.2vw, 1.9rem); background: var(--paper); }
.offer-price { font-weight: 900; font-stretch: 112%; font-size: clamp(2.2rem, 1rem + 3vw, 3.8rem); line-height: 0.9; letter-spacing: -0.045em; }
.offer-price small { display: block; margin-bottom: 0.35rem; font-family: var(--mono); font-size: var(--t-micro); font-weight: 600; font-stretch: 100%; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.offer h3 { text-transform: uppercase; letter-spacing: -0.01em; }
.offer p { color: var(--ink-2); }
.offer ul { display: grid; gap: 0.45rem; list-style: none; padding-top: 0.25rem; }
.offer ul li { position: relative; padding-left: 1.3rem; font-size: 0.9375rem; }
.offer ul li::before { content: "+"; position: absolute; left: 0; font-family: var(--mono); font-weight: 700; color: var(--red); }
.offer .button { justify-self: start; margin-top: 0.75rem; }
.offer-hot { background: var(--paper-2); }
.offer-hot .offer-flag { justify-self: start; padding: 0.25rem 0.5rem; background: var(--red); color: var(--on-red); }

.pay { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: var(--ink); border: var(--line); }
.pay > div { display: grid; gap: 0.5rem; align-content: start; padding: 1.25rem; background: var(--paper); }
.pay b { font-weight: 900; font-size: 1.125rem; text-transform: uppercase; letter-spacing: -0.01em; }
.pay span { color: var(--ink-2); font-size: 0.9375rem; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: var(--ink); border: var(--line); list-style: none; counter-reset: st; }
.steps li { counter-increment: st; display: grid; gap: 0.6rem; align-content: start; padding: 1.25rem; background: var(--paper); }
.steps li::before { content: counter(st, decimal-leading-zero); font-weight: 900; font-stretch: 125%; font-size: 2.6rem; line-height: 0.9; letter-spacing: -0.04em; color: var(--red); }
.steps strong { font-size: 1.0625rem; text-transform: uppercase; }
.steps span { color: var(--ink-2); font-size: 0.9375rem; }
.fine { margin-top: 1.25rem; color: var(--ink-2); font-size: 0.875rem; max-width: 80ch; }

/* ---------- Statement ---------- */

.statement { display: grid; gap: 1.5rem; }
.statement h2 { max-width: 18ch; }
.lead-xl { max-width: 30ch; font-size: clamp(1.6rem, 1rem + 2.4vw, 3rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; }
.hl-word { transition: opacity 80ms linear; }

/* ---------- Team ---------- */

.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--ink); border: var(--line); }
.person { gap: 1.1rem; }
.person-head { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: end; padding-bottom: 1rem; border-bottom: var(--hair); }
.monogram { font-weight: 900; font-stretch: 125%; font-size: clamp(3.5rem, 2rem + 4vw, 6rem); line-height: 0.8; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 2px var(--ink); }
.person:nth-child(2) .monogram { color: var(--red); -webkit-text-stroke: 0; }
.person-head h3 { font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem); font-weight: 900; text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.95; }
.person-head p { margin-top: 0.35rem; font-family: var(--mono); font-size: var(--t-micro); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); }
.chips-light { color: var(--ink); }

/* ---------- Company data ---------- */

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: var(--ink); border: var(--line); }
.facts div { display: grid; gap: 0.5rem; padding: 1.25rem; background: var(--paper); }
.facts dt { font-family: var(--mono); font-size: var(--t-micro); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.facts dd { font-weight: 900; font-size: 1.25rem; text-transform: uppercase; letter-spacing: -0.01em; }
.facts dd.pending { color: var(--red); font-family: var(--mono); font-size: 0.875rem; font-weight: 700; }
.after-facts, .after-panel { margin-top: 2rem; }
.codes { list-style: none; }
.codes li { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 0.5rem 2rem; align-items: baseline; padding-block: 1rem; border-bottom: var(--hair); }
.codes b { font-weight: 900; font-stretch: 125%; font-size: clamp(1.6rem, 1rem + 1.6vw, 2.4rem); letter-spacing: -0.03em; line-height: 1; }
.codes span { color: var(--ink-2); }

.email { font-weight: 900; font-stretch: 112%; font-size: clamp(1.5rem, 1rem + 3vw, 3.5rem); letter-spacing: -0.04em; line-height: 1; word-break: break-word; }
.email a { text-decoration-thickness: 4px; text-decoration-color: var(--red); }

/* ---------- Closing band ---------- */

.closing { background: var(--red); color: var(--on-red); border-bottom: var(--line); padding-block: clamp(3.5rem, 8vw, 7rem); }
.closing .wrap { display: grid; gap: 1.5rem; justify-items: start; }
.closing h2 { font-size: var(--t-hero); max-width: 14ch; line-height: 0.88; }
.closing .lead, .closing .small { color: var(--on-red); }
.closing .button { background: var(--ink); color: var(--paper); box-shadow: 6px 6px 0 var(--on-red); }
@media (hover: hover) and (pointer: fine) { .closing .button:hover { box-shadow: 8px 8px 0 var(--on-red); } }
.closing .button:active { box-shadow: 0 0 0 var(--on-red); }

/* ---------- Footer ---------- */

.site-foot { background: var(--ink); color: var(--paper); overflow: hidden; }
.site-foot .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; padding-block: 2.5rem 1.5rem; }
.site-foot p { color: #c9c7bf; font-size: 0.9375rem; }
.site-foot ul { display: grid; gap: 0.5rem; list-style: none; font-family: var(--mono); font-size: var(--t-micro); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.site-foot a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .site-foot a:hover { color: var(--red-bright); text-decoration: underline; } }
.site-foot .wordmark { display: block; padding-inline: 1vw; font-weight: 900; font-stretch: 125%; font-size: 17.2vw; line-height: 0.74; letter-spacing: -0.065em; text-transform: uppercase; color: var(--paper); white-space: nowrap; user-select: none; }
.wordmark span { color: var(--red-bright); }

/* ---------- Load and reveal motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .line-inner { animation: line-up 720ms var(--snap) both; }
  .line::after { content: ""; position: absolute; inset: 0; background: var(--red); transform-origin: left center; animation: wipe 900ms var(--snap) both; }
  .line:nth-child(2) .line-inner, .line:nth-child(2)::after { animation-delay: 110ms; }
  .line:nth-child(3) .line-inner, .line:nth-child(3)::after { animation-delay: 220ms; }
  .rise { animation: rise 520ms var(--snap) both; }
  .rise-2 { animation-delay: 320ms; }
  .rise-3 { animation-delay: 440ms; }
  .alg.retired::after { animation: strike 520ms var(--snap) both; }
  tbody tr:nth-child(1) .alg.retired::after { animation-delay: 900ms; }
  tbody tr:nth-child(2) .alg.retired::after { animation-delay: 1040ms; }
  tbody tr:nth-child(3) .alg.retired::after { animation-delay: 1180ms; }
}
@keyframes line-up { from { transform: translateY(105%); } to { transform: none; } }
@keyframes wipe { 0% { transform: scaleX(0); transform-origin: left center; } 48% { transform: scaleX(1); transform-origin: left center; } 52% { transform: scaleX(1); transform-origin: right center; } 100% { transform: scaleX(0); transform-origin: right center; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes strike { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 30%; }
  }
}
@keyframes reveal { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.js-motion .reveal { animation: none; }

/* ---------- Responsive ---------- */

@media (max-width: 63.99rem) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-pitch { border-right: 0; border-bottom: var(--line); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .pay, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .head-split { grid-template-columns: minmax(0, 1fr); }
  .split-text { position: static; }
  .list li { grid-template-columns: minmax(0, 1fr) auto; }
  .list li p { grid-column: 1 / -1; grid-row: 2; }
  .list li .meta { grid-row: 1; grid-column: 2; }
  .rows a { grid-template-columns: minmax(0, 1fr) auto; }
  .rows p { grid-column: 1 / -1; grid-row: 2; }
  .rows .meta { grid-row: 1; grid-column: 2; }
}
@media (max-width: 47.99rem) {
  .site-head .wrap { flex-direction: column; align-items: stretch; gap: 0; padding-inline: 0; }
  .mark { padding: 0.75rem var(--gutter); border-bottom: var(--line); }
  .nav ul { width: 100%; border-left: 0; }
  .nav li { flex: 1 1 auto; }
  .nav a { justify-content: center; width: 100%; min-height: 2.75rem; padding-inline: 0.4rem; font-size: 0.6875rem; letter-spacing: 0.04em; }
  .js-motion .story-sticky { top: 6.1rem; height: calc(100svh - 6.1rem); }
  .hero-home h1 { font-stretch: 75%; font-size: 12.4vw; letter-spacing: -0.04em; }
  .story-panel h3 { font-size: 1.85rem; }
  .email { font-size: 1.4rem; }
  .countdown { grid-template-columns: minmax(0, 1fr); }
  .count-cell { min-height: 0; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .count-cell .eyebrow { grid-column: 1 / -1; }
  .count-value { grid-column: 2; grid-row: 2 / span 2; text-align: right; }
  .bento, .two, .grid-3, .pay, .steps, .people, .facts, .list-two { grid-template-columns: minmax(0, 1fr); }
  .span-2 { grid-column: auto; }
  .rows-2 { grid-row: auto; }
  .codes li { grid-template-columns: minmax(0, 1fr); }
  .site-foot .wrap { grid-template-columns: minmax(0, 1fr); }
  .spec thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .spec table, .spec tbody, .spec tr, .spec td { display: block; }
  .spec tr { padding-block: 0.8rem; border-bottom: var(--hair); }
  .spec td { padding: 0.1rem 0; border: 0; }
  .spec td[data-label]::before { content: attr(data-label) ": "; font-family: var(--mono); font-size: var(--t-micro); text-transform: uppercase; color: var(--ink-2); }
  .timeline thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .timeline tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: 0.8rem 0; border-bottom: var(--hair); }
  .timeline td { padding: 0; border: 0; }
  .timeline td.event-cell { grid-column: 1 / -1; }
  .timeline tr.is-next { padding-inline: 0.75rem; }
  .timeline tr.is-next td:first-child { padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-head, .progress, .ticker, .site-foot .wordmark { display: none; }
  .closing { background: none; color: var(--ink); }
}

/* Tool status badges */
.state { justify-self: start; padding: 0.15rem 0.45rem; border: 1.5px solid var(--ink-2); color: var(--ink-2); font-family: var(--mono); font-size: 0.625rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.state.live { border-color: var(--red); background: var(--red); color: var(--on-red); }
.list-two li { align-content: start; }
.offer .offer-price { color: var(--ink); }

/* Contact cards (two named mailboxes) */
.contacts { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.contact-card { display: grid; gap: 0.6rem; align-content: start; padding-top: 1rem; border-top: var(--line); }
.contact-card .email { font-size: clamp(1.4rem, 1rem + 1.6vw, 2.25rem); text-decoration-skip-ink: none; }
.contact-for { color: var(--ink-2); max-width: 42ch; }
@media (min-width: 900px) { .contacts { grid-template-columns: 1fr 1fr; } }
