/* Hallmark · shape: Narrative Workflow · genre: modern-minimal · theme: brand (console material: hairline panels, registers, trails, readings) · redesign: full · job: hire (book a completions consult)
 * paper: oklch(98.6% 0.004 255) · accent: oklch(53.8% 0.178 255.5) · display: IBM Plex Sans 600 · body: IBM Plex Sans 400 · outlier: IBM Plex Mono (tags, ITR codes, figures only) · hero: Banner (inner pages: a breadcrumb, the head and its line, the first section by 640px), Stage (/ only, text beside the register) · nav: edge-aligned bar, wordmark left, six links and one action right · footer: mast, the wordmark over three link columns and a legal line · signature: a sample subsystem register built at full fidelity in the hero
 * axes: light/grotesk-sans/cool · posture: restrained, navy for the hero, one quote band and the footer, a deep blue field (--color-field) for each closing band · imagery: product sample in hero and record panel, no photographs (none supplied, library unreachable) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V4 · weakest: P, the argument (handover is where projects fail) now opens the page as a statement instead of a paragraph */
/* Hallmark · waive 59 · services and FAQ use hairline rows inside one section, so gaps there are rules not section gaps · the four offers read as one register */
/* Hallmark · waive 39b · faq rows are full width disclosure rows holding a whole question at 72px, not marketing buttons · each question needs its own line */
/* Hallmark · waive 78 · the contact enquiry form, the careers form, the privacy note and the completions guide use form titles and prose heads at title size · an enquiry form and a privacy note read better with small heads */
/* Hallmark · waive 77 · the completions guide and the privacy note hold prose to a 65ch measure on purpose · long reading pages, not landing sections */
/* Hallmark · waive 49b · the completions management guide title is a full name that cannot shorten, wrapping only on the narrowest phones · the guide title is the search term for completions management */
/* Hallmark · dismissed 3 · the career list is three text columns with no icon tiles, parted by a rule */
/* Hallmark · dropped .hero__meta, .industry-strip, outcome stats, persona cards on home · invented or generic, replaced by real case figures and the register */

/* ============================================================
   1. TOKENS (brand colours from Brand Guidelines v1.0, in OKLCH)
   ============================================================ */
:root {
  /* paper and ink */
  --color-paper: oklch(98.6% 0.004 255);
  --color-paper-2: oklch(96.4% 0.008 255);
  --color-paper-3: oklch(93.4% 0.012 255);
  --color-ink: oklch(24% 0.036 262);           /* Navy family */
  --color-ink-2: oklch(37.2% 0.039 257.3);     /* Slate #334155 */
  --color-muted: oklch(48% 0.035 257);
  --color-rule: oklch(90.5% 0.013 255);
  --color-rule-2: oklch(82% 0.02 255);
  --color-field-edge: oklch(62% 0.03 257);

  /* brand blue */
  --color-accent: oklch(53.8% 0.178 255.5);    /* Brand Blue #046BD2 */
  --color-accent-hover: oklch(48.2% 0.157 255.2); /* Deep Blue #045CB4 */
  --color-accent-ink: oklch(99% 0.004 255);
  --color-accent-soft: oklch(94% 0.03 255);
  --color-focus: oklch(56% 0.2 255);

  /* field: Deep Blue for the closing band */
  --color-field: oklch(48.2% 0.157 255.2);
  --color-field-rule: oklch(60% 0.12 255);
  --color-field-ink: oklch(99% 0.004 255);
  --color-field-ink-2: oklch(92% 0.03 255);

  /* night (navy surfaces) */
  --color-night: oklch(19.5% 0.042 264);
  --color-night-2: oklch(24% 0.042 262);
  --color-night-3: oklch(16% 0.04 264);
  --color-night-rule: oklch(33% 0.035 260);
  --color-night-ink: oklch(96.5% 0.008 255);
  --color-night-ink-2: oklch(86% 0.02 255);
  --color-night-muted: oklch(74% 0.03 255);
  --color-night-cool: oklch(80.9% 0.096 251.8);
  --color-night-focus: oklch(78% 0.12 252);

  /* status, for registers and diffs only */
  --color-ok: oklch(47% 0.11 150);
  --color-ok-soft: oklch(95% 0.035 150);
  --color-ok-night: oklch(80% 0.13 150);
  --color-ok-night-soft: oklch(30% 0.05 150);
  --color-warn: oklch(50% 0.12 65);
  --color-warn-soft: oklch(95.5% 0.04 80);
  --color-warn-night: oklch(83% 0.13 80);
  --color-warn-night-soft: oklch(31% 0.05 75);
  --color-bad: oklch(50% 0.17 27);
  --color-bad-soft: oklch(95.5% 0.025 27);
  --color-error: oklch(50% 0.18 27);

  /* type */
  --font-display: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --font-body: var(--font-display);
  --font-outlier: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --display-weight: 600;
  --tracking-display: -0.025em;

  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.125rem; --text-2xl: clamp(1.5rem, 1vw + 1.125rem, 1.953rem);
  --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem);
  --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --text-section: clamp(2rem, 1.6vw + 1.1rem, 2.75rem);
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem);
  --text-display: clamp(2.75rem, 4.6vw + 1rem, 5rem);
  --text-reading: clamp(3rem, 5vw + 1rem, 5.5rem);

  /* space */
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px;
  --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;

  /* canvas */
  --container: 1440px; --gutter: 64px; --gap-columns: 32px;
  --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --nav-height: 72px;

  /* shape */
  --radius-card: 10px; --radius-input: 8px; --radius-chip: 4px; --rule-hair: 1px;

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;

  --z-base: 1; --z-raised: 10; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400;
}
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 112px; --nav-height: 64px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 64px; --section-gap: 72px; --section-gap-l: 88px; --gap-columns: 16px; } }

/* ============================================================
   2. BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-padding-top: calc(var(--nav-height) + var(--space-lg)); scrollbar-color: var(--color-rule-2) var(--color-paper); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--color-paper); color: var(--color-ink-2); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.6; -webkit-font-smoothing: antialiased; font-synthesis: none; caret-color: var(--color-accent); }
::selection { background: var(--color-accent-soft); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
h1, h2, h3, h4 { margin: 0; color: var(--color-ink); font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--tracking-display); line-height: 1.06; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { font-size: var(--text-display); max-width: 18ch; }
h2 { font-size: var(--text-section); max-width: 24ch; }
h3 { font-size: var(--text-title); max-width: 36ch; line-height: 1.2; letter-spacing: -0.015em; }
h4 { font-size: var(--text-lg); line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
p + p { margin-top: var(--space-md); }
ul, ol { margin: 0; padding: 0; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; flex-shrink: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-modal); padding: var(--space-sm) var(--space-md); background: var(--color-ink); color: var(--color-paper); border-radius: var(--radius-input); }
.skip:focus-visible { top: var(--space-md); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(760px + 2 * var(--gutter)); }
.lead { font-size: var(--text-lead); line-height: 1.5; color: var(--color-ink-2); max-width: 52ch; }
.small { font-size: var(--text-sm); color: var(--color-muted); }
.measured, .tag { font-family: var(--font-outlier); font-variant-numeric: tabular-nums slashed-zero; letter-spacing: 0; }

/* ============================================================
   3. CONTROLS (eight states)
   ============================================================ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-input); background: var(--color-paper); color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn svg { width: 20px; height: 20px; }
.btn:hover { background: var(--color-paper-2); border-color: var(--color-ink-2); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn--primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); color: var(--color-accent-ink); }
.btn--sm { min-height: 44px; padding: 0 var(--space-md); }
.btn--block { width: 100%; }
.on-night .btn { background: transparent; border-color: var(--color-night-rule); color: var(--color-night-ink); }
.on-night .btn:hover { background: var(--color-night-2); border-color: var(--color-night-muted); }
.on-night .btn--primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.on-night .btn--primary:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); }
.on-night :focus-visible { outline-color: var(--color-night-focus); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

.link { display: inline-flex; align-items: center; gap: var(--space-xs); color: var(--color-accent); font-weight: 500; text-decoration: underline; text-decoration-color: var(--color-rule-2); transition: text-decoration-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.link:hover { color: var(--color-accent-hover); text-decoration-color: currentColor; }
.link:active { color: var(--color-ink); }
.link svg { width: 18px; height: 18px; }

/* ============================================================
   4. HEADER
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); }
.site-header > .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: var(--nav-height); }
.brand-lockup { display: inline-flex; align-items: center; gap: var(--space-sm); text-decoration: none; color: var(--color-ink); flex-shrink: 0; }
.brand-lockup img { width: 36px; height: 36px; }
.brand-lockup .wm { display: flex; flex-direction: column; line-height: 1.15; }
.brand-lockup .wm b { font-weight: 600; font-size: var(--text-lg); letter-spacing: -0.01em; }
.brand-lockup .wm span { font-size: var(--text-xs); color: var(--color-muted); }
.nav { display: flex; align-items: center; gap: var(--space-lg); }
.nav-links { display: flex; align-items: center; gap: var(--space-3xs); }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-sm); border-radius: var(--radius-input); color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.nav-links a:hover { background: var(--color-paper-2); color: var(--color-ink); }
.nav-links a.active { color: var(--color-accent-hover); background: var(--color-accent-soft); }
.nav .btn { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-input); background: var(--color-paper); cursor: pointer; }
.nav-toggle:hover { background: var(--color-paper-2); }
.nav-toggle:active { transform: translateY(1px); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: var(--color-ink); border-radius: 2px; transition: transform var(--dur-short) var(--ease-out), opacity var(--dur-short) var(--ease-out); }
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(6px); }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: rotate(45deg); }
.nav-open .nav-toggle span::after { transform: rotate(-45deg); }
.nav-mobile { display: none; }
@media (max-width: 75rem) {
  .nav-links, .nav > .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-mobile { display: grid; gap: var(--space-2xs); padding: var(--space-md) var(--gutter) var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); background: var(--color-paper); }
  .js .nav-mobile { display: none; }
  .js.nav-open .nav-mobile, .nav-open .nav-mobile { display: grid; }
  .nav-mobile a:not(.btn) { display: flex; align-items: center; min-height: 48px; padding: 0 var(--space-sm); border-radius: var(--radius-input); color: var(--color-ink); font-weight: 500; text-decoration: none; }
  .nav-mobile a:not(.btn):hover { background: var(--color-paper-2); }
  .nav-mobile a.active { color: var(--color-accent); }
  .nav-mobile .btn { margin-top: var(--space-xs); }
}

/* ============================================================
   5. SECTIONS
   ============================================================ */
.section { padding-block: var(--section-gap-s); }
.section--l { padding-block: var(--section-gap); }
.section:not(.band):not(.on-night):not(.on-field) + .section:not(.band):not(.on-night):not(.on-field):not(.rule-top) { padding-top: 0; }
.band { padding-block: var(--section-gap-s); background: var(--color-paper-2); }
.on-night { background: var(--color-night); color: var(--color-night-ink-2); }
.on-night h1, .on-night h2, .on-night h3, .on-night h4 { color: var(--color-night-ink); }
.on-night .lead { color: var(--color-night-ink-2); }
.on-night .small { color: var(--color-night-muted); }
.on-night a:not(.btn) { color: var(--color-night-ink); }
.rule-top { border-top: var(--rule-hair) solid var(--color-rule); }

.head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); max-width: 60rem; }
.head--split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: var(--gap-columns); align-items: end; max-width: none; }
.head--split .lead { justify-self: start; }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); }

/* ---- Hero (home, Stage) ---- */
.hero { background: var(--color-night); color: var(--color-night-ink-2); }
.hero > .container { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: center; min-height: calc(100svh - var(--nav-height)); padding-block: var(--space-2xl); }
.hero h1 { color: var(--color-night-ink); font-size: var(--text-display); max-width: 11ch; }
.hero .lead { margin-top: var(--space-lg); color: var(--color-night-ink-2); max-width: 34ch; }
.hero .actions { margin-top: var(--space-xl); }
.hero__note { margin-top: var(--space-lg); font-size: var(--text-sm); color: var(--color-night-muted); }

/* ---- Banner (inner pages) ---- */
.banner { padding-top: var(--space-3xl); padding-bottom: var(--space-2xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.banner .container { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--gap-columns); row-gap: var(--space-lg); align-items: end; }
.banner h1 { font-size: var(--text-display-s); max-width: 20ch; }
.banner + .section:not(.band):not(.on-night) { padding-top: var(--space-2xl); }
.banner + .on-night { padding-top: var(--space-2xl); padding-bottom: var(--space-3xl); }
.banner .lead { max-width: 44ch; }
.crumbs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); }
.crumbs a { color: var(--color-muted); }
.crumbs a:hover { color: var(--color-ink); }
.crumbs [aria-current] { color: var(--color-ink-2); }

/* ============================================================
   6. THE REGISTER (signature: a built completions register)
   ============================================================ */
.register { position: relative; margin: 0; border: var(--rule-hair) solid var(--color-night-rule); border-radius: var(--radius-card); background: var(--color-night-2); color: var(--color-night-ink-2); overflow: hidden; }
.register__top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-md); padding: var(--space-lg) var(--space-lg) var(--space-md); border-bottom: var(--rule-hair) solid var(--color-night-rule); }
.register__name { display: grid; gap: var(--space-3xs); }
.register__name .tag { font-size: var(--text-sm); color: var(--color-night-ink-2); }
.register__name b { color: var(--color-night-ink); font-size: var(--text-lg); font-weight: 600; }
.register table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.register th { padding: var(--space-sm) var(--space-lg); text-align: left; font-weight: 500; color: var(--color-night-muted); border-bottom: var(--rule-hair) solid var(--color-night-rule); white-space: nowrap; }
.register td { padding: var(--space-sm) var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-night-rule); vertical-align: middle; }
.register td.tag { color: var(--color-night-ink); white-space: nowrap; }
.register td:last-child, .register th:last-child { text-align: right; }
.register tr.is-open td { background: var(--color-night-3); }
.register__foot { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-md) var(--space-xl); align-items: end; padding: var(--space-lg); }
.register__foot > div > p { white-space: nowrap; margin-top: var(--space-xs); }
.register__foot > p { justify-self: end; text-align: right; max-width: 34ch; }
.register__foot .reading { font-family: var(--font-outlier); font-size: var(--text-section); line-height: 1; color: var(--color-night-ink); font-variant-numeric: tabular-nums slashed-zero; letter-spacing: -0.03em; }
.register__foot .reading small { font-size: var(--text-lg); color: var(--color-night-muted); letter-spacing: 0; }
.register__foot p { font-size: var(--text-sm); color: var(--color-night-muted); }
.meter { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--color-night-rule); overflow: hidden; }
.meter i { display: block; height: 100%; width: 100%; background: var(--color-accent); transform-origin: left center; transform: scaleX(var(--v, 0.6)); }
.register figcaption { padding: var(--space-sm) var(--space-lg); border-top: var(--rule-hair) solid var(--color-night-rule); font-size: var(--text-xs); color: var(--color-night-muted); background: var(--color-night-3); }

.chip { display: inline-flex; align-items: center; min-height: 24px; padding: 0 var(--space-xs); border-radius: var(--radius-chip); border: var(--rule-hair) solid var(--color-rule); font-size: var(--text-xs); font-weight: 500; line-height: 1; white-space: nowrap; color: var(--color-ink-2); background: var(--color-paper); }
.chip--ok { color: var(--color-ok); background: var(--color-ok-soft); border-color: transparent; }
.chip--warn { color: var(--color-warn); background: var(--color-warn-soft); border-color: transparent; }
.chip--open { color: var(--color-muted); background: var(--color-paper-2); }
.on-night .chip { background: transparent; border-color: var(--color-night-rule); color: var(--color-night-ink-2); }
.on-night .chip--ok { color: var(--color-ok-night); background: var(--color-ok-night-soft); border-color: transparent; }
.on-night .chip--warn { color: var(--color-warn-night); background: var(--color-warn-night-soft); border-color: transparent; }
.on-night .chip--open { color: var(--color-night-muted); }

/* hero entrance: one settle, rows in order, visible without script */
.js .register tbody tr { opacity: 0; transform: translateY(6px); animation: settle var(--dur-long) var(--ease-out) forwards; animation-delay: calc(120ms + var(--i, 0) * 50ms); }
.js .meter i { transform: scaleX(0); animation: fill 700ms var(--ease-out) 420ms forwards; }
@keyframes settle { to { opacity: 1; transform: none; } }
@keyframes fill { to { transform: scaleX(var(--v, 0.6)); } }
@media (prefers-reduced-motion: reduce) {
  .js .register tbody tr { opacity: 1; transform: none; animation: none; }
  .js .meter i { transform: scaleX(var(--v, 0.6)); animation: none; }
}

/* ============================================================
   7. COMPOSITIONS
   ============================================================ */
/* Statement */
.statement { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: end; }
.statement p.say { font-family: var(--font-display); font-size: var(--text-display-s); font-weight: var(--display-weight); line-height: 1.08; letter-spacing: var(--tracking-display); color: var(--color-ink); max-width: 22ch; text-wrap: balance; }
.statement p.say span { display: block; color: var(--color-muted); }
.statement .aside { display: grid; gap: var(--space-lg); justify-items: start; }

/* Rows (offers, FAQ, articles) */
.rows { list-style: none; border-top: var(--rule-hair) solid var(--color-rule); }
.rows > li { border-bottom: var(--rule-hair) solid var(--color-rule); }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 48px; column-gap: var(--gap-columns); row-gap: var(--space-xs); align-items: center; padding-block: var(--space-xl); text-decoration: none; color: inherit; }
a.row { transition: background-color var(--dur-short) var(--ease-out); border-radius: var(--radius-input); }
a.row:hover { background: var(--color-paper-2); }
a.row:hover .row__go { color: var(--color-accent); border-color: var(--color-accent); }
a.row:active .row__go { transform: translateX(2px); }
.row h3 { font-size: var(--text-title); }
.row p { color: var(--color-ink-2); max-width: 54ch; }
.row__go { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: var(--rule-hair) solid var(--color-rule-2); border-radius: 50%; color: var(--color-ink); transition: color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.row__go svg { width: 20px; height: 20px; }
a.row { padding-inline: var(--space-md); margin-inline: calc(-1 * var(--space-md)); }

/* Trail (method on a spine) */
.pinned { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: calc(var(--gap-columns) * 3); align-items: start; }
.pinned__head { position: sticky; top: calc(var(--nav-height) + var(--space-2xl)); display: grid; gap: var(--space-md); justify-items: start; }
.pinned__head .actions { margin-top: var(--space-md); }
.trail { list-style: none; counter-reset: step; position: relative; }
.trail::before { content: ""; position: absolute; left: 19px; top: var(--space-md); bottom: var(--space-md); width: 1px; background: var(--color-rule-2); }
.trail > li { counter-increment: step; position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: var(--space-lg); padding-block: var(--space-lg); }
.trail > li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-paper); border: var(--rule-hair) solid var(--color-rule-2); font-family: var(--font-outlier); font-size: var(--text-sm); color: var(--color-ink); position: relative; z-index: var(--z-base); }
.trail h3 { font-size: var(--text-title); margin-top: var(--space-xs); }
.trail p { margin-top: var(--space-xs); max-width: 52ch; }
.trail > li.is-key::before { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }

/* Figures / readings */
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--rule-hair) solid var(--color-rule); }
.figure { display: grid; align-content: start; gap: var(--space-md); padding: var(--space-xl) var(--space-xl) var(--space-xl) 0; }
.figure + .figure { padding-left: var(--space-xl); border-left: var(--rule-hair) solid var(--color-rule); }
.figure:last-child { padding-right: 0; }
.reading { font-family: var(--font-outlier); font-size: var(--text-reading); font-weight: 400; line-height: 0.95; letter-spacing: -0.04em; color: var(--color-ink); font-variant-numeric: tabular-nums slashed-zero; white-space: nowrap; }
.reading small { font-size: 0.42em; letter-spacing: -0.01em; color: var(--color-muted); }
.figure p { max-width: 34ch; }
.figure .case { font-size: var(--text-sm); color: var(--color-muted); }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-3xl); row-gap: var(--space-2xl); align-items: start; }
.quote { margin: 0; display: grid; grid-template-rows: 1fr auto; gap: var(--space-xl); height: 100%; }
.quote blockquote { margin: 0; font-size: var(--text-lead); line-height: 1.55; color: var(--color-ink); text-indent: -0.45em; }
.quote--lead blockquote { font-size: clamp(1.375rem, 1vw + 1rem, 1.75rem); line-height: 1.45; letter-spacing: -0.01em; }
.quote figcaption { display: grid; gap: var(--space-3xs); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); }
.quote figcaption b { color: var(--color-ink); font-weight: 600; font-size: var(--text-md); }
.quote figcaption span { color: var(--color-muted); }
.on-night .quote blockquote { color: var(--color-night-ink); }
.on-night .quote figcaption { border-top-color: var(--color-night-rule); }
.on-night .quote figcaption b { color: var(--color-night-ink); }
.on-night .quote figcaption span { color: var(--color-night-muted); }
.quotes-note { margin-top: var(--space-2xl); font-size: var(--text-sm); color: var(--color-muted); }
.on-night .quotes-note { color: var(--color-night-muted); }

/* Field band (closing) */
.on-field { background: var(--color-field); color: var(--color-field-ink-2); }
.on-field h2 { color: var(--color-field-ink); }
.on-field .lead { color: var(--color-field-ink-2); }
.on-field .btn--primary { background: var(--color-field-ink); border-color: var(--color-field-ink); color: var(--color-ink); }
.on-field .btn--primary:hover { background: var(--color-paper-3); border-color: var(--color-paper-3); color: var(--color-ink); }
.on-field :focus-visible { outline-color: var(--color-field-ink); }
.on-field .close__mail { color: var(--color-field-ink-2); }
.on-field .close__mail a { color: var(--color-field-ink); }
.on-field .next { border-top-color: var(--color-field-rule); }
.on-field .next li { border-bottom-color: var(--color-field-rule); }
.on-field .next li::before { color: var(--color-field-ink); }
.on-field .next b { color: var(--color-field-ink); }
.on-field .next span, .on-field .next-title { color: var(--color-field-ink-2); }
.close.close--compact { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
.close--compact .close__act { justify-self: end; display: grid; justify-items: end; text-align: right; }
.close--compact .close__act .actions { margin-top: 0; }

/* Close */
.close { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: var(--space-3xl); row-gap: var(--space-2xl); align-items: start; }
.close h2 { max-width: 14ch; }
.close .lead { margin-top: var(--space-lg); }
.close .actions { margin-top: var(--space-xl); }
.close__mail { margin-top: var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); }
.close__mail a { color: var(--color-ink); }
.next { list-style: none; counter-reset: n; border-top: var(--rule-hair) solid var(--color-rule); }
.next li { counter-increment: n; display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: var(--space-md); padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.next li::before { content: counter(n); font-family: var(--font-outlier); font-size: var(--text-sm); color: var(--color-accent); padding-top: var(--space-3xs); }
.next b { display: block; color: var(--color-ink); font-weight: 600; }
.next span { display: block; margin-top: var(--space-2xs); color: var(--color-ink-2); }
.next-title { margin-bottom: var(--space-md); font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }

/* Split with panel */
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: var(--space-3xl); row-gap: var(--space-2xl); align-items: start; }
.split--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.prose-block { display: grid; gap: var(--space-lg); }
.prose-block h2 { margin-bottom: var(--space-xs); }
.prose-block p + p { margin-top: 0; }

/* Panels (hairline surfaces cut from one sheet) */
.panel { border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper); overflow: hidden; }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); padding: var(--space-md) var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); background: var(--color-paper-2); font-size: var(--text-sm); color: var(--color-muted); }
.panel__head b { color: var(--color-ink); font-weight: 600; font-size: var(--text-md); }
.panel__body { padding: var(--space-lg); }
.panel dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); margin: 0; }
.panel dt, .panel dd { margin: 0; padding: var(--space-sm) var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.panel dt { color: var(--color-muted); font-size: var(--text-sm); padding-top: calc(var(--space-sm) + var(--space-3xs)); }
.panel dd { color: var(--color-ink); }
.panel dl > :nth-last-child(-n+2) { border-bottom: 0; }
.panel figcaption, .panel .panel__foot { padding: var(--space-sm) var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); background: var(--color-paper-2); font-size: var(--text-xs); color: var(--color-muted); }

/* Sample panels (services) */
.sample { margin: 0; }
.mini { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.mini th { padding: var(--space-sm) var(--space-lg); text-align: left; font-weight: 500; color: var(--color-muted); border-bottom: var(--rule-hair) solid var(--color-rule); white-space: nowrap; }
.mini td { padding: var(--space-sm) var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); color: var(--color-ink); vertical-align: middle; }
.mini tr:last-child td { border-bottom: 0; }
.mini td.tag { white-space: nowrap; }
.mini th:last-child, .mini td:last-child { text-align: right; }

/* Lists */
.ticks { list-style: none; display: grid; gap: var(--space-sm); }
.ticks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--space-sm); align-items: start; color: var(--color-ink-2); }
.ticks li svg { width: 20px; height: 20px; margin-top: var(--space-3xs); color: var(--color-accent); }
.ticks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-xl); }

/* Offer detail (services page) */
.offer { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--space-3xl); row-gap: var(--space-xl); padding-block: var(--space-3xl); border-top: var(--rule-hair) solid var(--color-rule); }
.offer:first-child { border-top: 0; padding-top: 0; }
.offer__intro { display: grid; gap: var(--space-md); align-content: start; justify-items: start; }
.offer__intro .tagline { font-size: var(--text-sm); color: var(--color-accent); font-weight: 500; }
.offer__intro .actions { margin-top: var(--space-md); }
.offer__body { display: grid; gap: var(--space-xl); align-content: start; }
.offer__intro .included { margin-top: var(--space-md); width: 100%; }
.offer__body > p { font-size: var(--text-lg); color: var(--color-ink-2); max-width: 60ch; }
.included { padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.included h3 { font-size: var(--text-md); letter-spacing: 0; margin-bottom: var(--space-md); }

/* Index (offers jump list) */
.jump { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: var(--rule-hair) solid var(--color-rule); border-bottom: var(--rule-hair) solid var(--color-rule); }
.jump a { display: grid; gap: var(--space-xs); align-content: start; padding: var(--space-lg) var(--space-lg) var(--space-lg) 0; text-decoration: none; color: var(--color-ink-2); transition: color var(--dur-short) var(--ease-out); }
.jump a + a { padding-left: var(--space-lg); border-left: var(--rule-hair) solid var(--color-rule); }
.jump a b { color: var(--color-ink); font-weight: 600; font-size: var(--text-lg); line-height: 1.3; }
.jump a span { font-size: var(--text-sm); color: var(--color-muted); }
.jump a:hover b { color: var(--color-accent); }
.jump a:active b { color: var(--color-accent-hover); }

/* Cases (results) */
.cases { list-style: none; display: grid; gap: var(--space-2xl); }
.case-card { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--space-3xl); row-gap: var(--space-xl); padding-top: var(--space-2xl); border-top: var(--rule-hair) solid var(--color-rule); }
.case-card:first-child { padding-top: 0; border-top: 0; }
.case-card .reading { font-size: var(--text-reading); }
.case-card .reading + .small { margin-top: var(--space-sm); }
.case-title { font-size: var(--text-title); letter-spacing: -0.015em; line-height: 1.3; }
.case-card .where { font-size: var(--text-sm); color: var(--color-muted); margin-top: var(--space-sm); }
.case-card__body { display: grid; gap: var(--space-lg); }
.case-card__body > p { font-size: var(--text-lg); color: var(--color-ink-2); max-width: 60ch; }

/* Diff (before and after) */
.diff { border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); overflow: hidden; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--color-paper); }
.diff__col + .diff__col { border-left: var(--rule-hair) solid var(--color-rule); }
.diff__col h3 { max-width: none; padding: var(--space-md) var(--space-lg); font-size: var(--text-md); letter-spacing: 0; border-bottom: var(--rule-hair) solid var(--color-rule); background: var(--color-paper-2); }
.diff ul { list-style: none; }
.diff li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--space-sm); padding: var(--space-md) var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); color: var(--color-ink); }
.diff li:last-child { border-bottom: 0; }
.diff li::before { font-family: var(--font-outlier); font-weight: 500; text-align: center; }
.diff .minus li { background: var(--color-bad-soft); }
.diff .minus li::before { content: "\2212"; color: var(--color-bad); }
.diff .plus li { background: var(--color-ok-soft); }
.diff .plus li::before { content: "+"; color: var(--color-ok); }

/* Career trail (about) */
.career { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap-columns); border-top: var(--rule-hair) solid var(--color-accent); }
.career > li { display: grid; gap: var(--space-md); align-content: start; padding-top: var(--space-xl); }
.career { counter-reset: stage; }
.career > li { counter-increment: stage; }
.career > li::before { content: counter(stage, decimal-leading-zero); font-family: var(--font-outlier); font-size: var(--text-sm); color: var(--color-accent); }
.career .ticks { margin-top: var(--space-xs); }
.career .ticks li { font-size: var(--text-sm); }
.note { margin-top: var(--space-2xl); font-size: var(--text-sm); color: var(--color-muted); max-width: 70ch; }

/* Traits (about) */
.traits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap-columns); border-top: var(--rule-hair) solid var(--color-rule); }
.traits > div { padding: var(--space-xl) var(--space-xl) 0 0; display: grid; gap: var(--space-md); align-content: start; }
.traits > div + div { padding-left: var(--space-xl); border-left: var(--rule-hair) solid var(--color-rule); }
.traits h3 { font-size: var(--text-section); }

/* Sectors line */
.sectors { display: flex; flex-wrap: wrap; gap: var(--space-xs); list-style: none; }
.sectors li { padding: var(--space-xs) var(--space-md); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-input); font-size: var(--text-sm); color: var(--color-ink-2); background: var(--color-paper); }

/* Why it pays (what-is-completions) */
.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap-columns); }
.who > div { display: grid; gap: var(--space-md); align-content: start; padding-top: var(--space-lg); border-top: 2px solid var(--color-ink); }
.who .role { font-size: var(--text-sm); color: var(--color-muted); }

/* Lifecycle (what-is-completions) */
.lifecycle { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--space-md); }
.lifecycle li { display: grid; gap: var(--space-sm); align-content: start; padding-top: var(--space-lg); border-top: 3px solid var(--color-rule-2); }
.lifecycle li.is-core { border-top-color: var(--color-accent); }
.lifecycle h3 { font-size: var(--text-lg); letter-spacing: -0.01em; }
.lifecycle p { font-size: var(--text-sm); }

/* Big reading band (what-is-completions) */
.scale { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--space-3xl); row-gap: var(--space-lg); align-items: end; }
.scale .reading { font-size: clamp(3.5rem, 6vw + 1rem, 7rem); color: var(--color-night-ink); }
.scale .reading small { color: var(--color-night-muted); }
.scale p { font-size: var(--text-lead); max-width: 40ch; }

/* Articles index */
.article-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 7fr) minmax(0, 3fr); column-gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.article-row .kind { font-size: var(--text-sm); color: var(--color-muted); }
.article-row h3 a { text-decoration: none; }
.article-row h3 a:hover { color: var(--color-accent); text-decoration: underline; }
.article-row p { margin-top: var(--space-xs); }
.article-row .state { justify-self: end; font-size: var(--text-sm); color: var(--color-muted); }
.articles { border-top: var(--rule-hair) solid var(--color-rule); }

/* Prose (article, privacy) */
.prose { font-size: var(--text-lg); line-height: 1.7; color: var(--color-ink-2); }
.prose > * + * { margin-top: var(--space-lg); }
.prose h2 { font-size: var(--text-2xl); margin-top: var(--space-2xl); letter-spacing: -0.02em; }
.prose ul, .prose ol { padding-left: var(--space-lg); display: grid; gap: var(--space-sm); }
.prose strong { color: var(--color-ink); font-weight: 600; }
.prose blockquote { margin: var(--space-xl) 0; padding: var(--space-lg) 0; border-top: var(--rule-hair) solid var(--color-rule); border-bottom: var(--rule-hair) solid var(--color-rule); font-size: var(--text-title); line-height: 1.4; color: var(--color-ink); font-weight: 500; letter-spacing: -0.01em; }
.prose a:not(.btn) { color: var(--color-accent); }
.prose .lead { font-size: var(--text-lead); color: var(--color-ink); }
.prose .meta { font-size: var(--text-sm); color: var(--color-muted); }
.callout { margin-top: var(--space-2xl); padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-paper-2); display: grid; gap: var(--space-md); justify-items: start; }
.callout h2 { margin: 0; font-size: var(--text-title); }

/* FAQ accordion */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--space-3xl); row-gap: var(--space-2xl); align-items: start; }
.faq__aside { position: sticky; top: calc(var(--nav-height) + var(--space-2xl)); display: grid; gap: var(--space-md); justify-items: start; }
.acc-q { font-size: inherit; letter-spacing: inherit; max-width: none; line-height: inherit; }
.accordion { border-top: var(--rule-hair) solid var(--color-rule); }
.acc-item { border-bottom: var(--rule-hair) solid var(--color-rule); }
.acc-head { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 32px; gap: var(--space-lg); align-items: center; min-height: 72px; padding: var(--space-md) 0; border: 0; background: none; color: var(--color-ink); font-size: var(--text-lg); font-weight: 600; text-align: left; letter-spacing: -0.01em; line-height: 1.35; cursor: pointer; transition: color var(--dur-short) var(--ease-out); }
.acc-head:hover { color: var(--color-accent); }
.acc-head:active .ico { transform: scale(0.94); }
.acc-head .ico { position: relative; width: 32px; height: 32px; border: var(--rule-hair) solid var(--color-rule-2); border-radius: 50%; transition: transform var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.acc-head .ico::before, .acc-head .ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform var(--dur-short) var(--ease-out); }
.acc-head .ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-item.open .acc-head .ico::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-item.open .acc-head .ico { border-color: var(--color-accent); }
.acc-body { overflow: hidden; }
.js .acc-item:not(.open) .acc-body { display: none; }
.js .acc-body { max-height: 0; transition: max-height var(--dur-long) var(--ease-in-out); }
.acc-body__inner { padding: 0 var(--space-3xl) var(--space-xl) 0; }
.acc-body__inner p { max-width: 62ch; }

/* Forms */
.form-wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--space-3xl); row-gap: var(--space-2xl); align-items: start; }
.form { display: grid; gap: var(--space-lg); }
.form h2 { font-size: var(--text-title); letter-spacing: -0.015em; }
.field--row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); }
.field { display: grid; gap: var(--space-xs); min-width: 0; }
.field label { font-size: var(--text-sm); font-weight: 500; color: var(--color-ink); }
.field .req { color: var(--color-accent); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-field-edge); border-radius: var(--radius-input); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); outline: 2px solid transparent; outline-offset: -2px; transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.field textarea { min-height: 148px; padding-block: var(--space-sm); resize: vertical; line-height: 1.5; }
.field select { appearance: none; padding-right: var(--space-2xl); background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input[type="file"] { padding-block: var(--space-sm); min-height: 56px; }
.field input[type="file"]::file-selector-button { margin-right: var(--space-md); min-height: 32px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-chip); background: var(--color-paper-2); color: var(--color-ink); font: 500 var(--text-sm)/1 var(--font-body); cursor: pointer; }
.field input::placeholder, .field textarea::placeholder { color: var(--color-muted); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--color-ink-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible, .field input:focus, .field select:focus, .field textarea:focus { outline-color: var(--color-focus); }
.field input:disabled, .field select:disabled, .field textarea:disabled { opacity: 0.55; cursor: not-allowed; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--color-error); }
.form-note { font-size: var(--text-sm); color: var(--color-muted); }
.form-note a { color: var(--color-ink); }
.form .btn { justify-self: start; }
.form-success { display: none; padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-ok-soft); }
.form-success.show { display: grid; gap: var(--space-xs); }
.form-success h2 { font-size: var(--text-title); }
.form-success p { color: var(--color-ink-2); }
.form-error { margin: 0; padding: var(--space-md); border-radius: var(--radius-input); background: var(--color-bad-soft); color: var(--color-bad); font-size: var(--text-sm); }
.form-error a { color: var(--color-bad); font-weight: 600; }
.aside-stack { display: grid; gap: var(--space-xl); }
.aside-stack .panel__body p + p { margin-top: var(--space-xs); }
.mail-line { display: inline-flex; align-items: center; gap: var(--space-sm); color: var(--color-ink); font-weight: 500; }
.mail-line svg { width: 20px; height: 20px; color: var(--color-accent); }
.roles { list-style: none; display: grid; }
.roles li { padding: var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); color: var(--color-ink); }
.roles li:last-child { border-bottom: 0; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* 404 */
.lost { padding-top: var(--section-gap); padding-bottom: var(--space-2xl); }
.lost .container { display: grid; gap: var(--space-lg); justify-items: start; }
.lost .tag { font-size: var(--text-sm); color: var(--color-muted); }

/* ============================================================
   8. FOOTER
   ============================================================ */
.site-footer { background: var(--color-night); color: var(--color-night-ink-2); padding-top: var(--space-3xl); padding-bottom: var(--space-xl); }
.footer-mast { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--gap-columns); row-gap: var(--space-2xl); padding-bottom: var(--space-2xl); border-bottom: var(--rule-hair) solid var(--color-night-rule); }
.footer-mast .brand-lockup { color: var(--color-night-ink); }
.footer-mast .brand-lockup .wm span { color: var(--color-night-muted); }
.footer-line { margin-top: var(--space-lg); font-size: var(--text-title); line-height: 1.35; color: var(--color-night-ink); max-width: 22ch; letter-spacing: -0.015em; font-weight: 500; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); }
.footer-col { display: grid; gap: var(--space-2xs); align-content: start; }
.footer-col h2 { font-size: var(--text-sm); font-weight: 500; letter-spacing: 0; color: var(--color-night-muted); margin-bottom: var(--space-xs); }
.footer-col a { display: inline-flex; align-items: center; min-height: 36px; color: var(--color-night-ink-2); text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.footer-col a:hover { color: var(--color-night-ink); text-decoration: underline; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md); padding-top: var(--space-lg); font-size: var(--text-sm); color: var(--color-night-muted); }
.footer-legal nav { display: flex; gap: var(--space-lg); }
.footer-legal a { color: var(--color-night-ink-2); }
.site-footer :focus-visible { outline-color: var(--color-night-focus); }

/* sticky mobile action */
.sticky-cta { display: none; }
@media (max-width: 40rem) {
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky); padding: var(--space-sm) var(--gutter) calc(var(--space-sm) + env(safe-area-inset-bottom)); background: var(--color-paper); border-top: var(--rule-hair) solid var(--color-rule); }
  .sticky-cta .btn { width: 100%; }
  body { padding-bottom: calc(var(--space-2xl) + var(--space-xs) + env(safe-area-inset-bottom)); }
}

/* one reveal, visible without script */
.js .reveal { opacity: 0; transform: translateY(8px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ============================================================
   9. RESPONSIVE
   ============================================================ */
@media (max-width: 75rem) {
  .hero > .container { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); min-height: 0; padding-block: var(--space-3xl); }
  .hero h1 { max-width: 14ch; }
  .lifecycle { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--space-xl); }
  .footer-mast { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 60rem) {
  .head--split, .statement, .pinned, .quotes, .close, .split, .split--rev, .offer, .case-card, .faq, .form-wrap, .footer-mast, .scale, .banner .container { grid-template-columns: minmax(0, 1fr); }
  .pinned__head, .faq__aside { position: static; }
  .close.close--compact { grid-template-columns: minmax(0, 1fr); }
  .close--compact .close__act { justify-self: start; justify-items: start; text-align: left; }
  .row { grid-template-columns: minmax(0, 1fr) 48px; }
  .row p { grid-column: 1 / -1; grid-row: 2; }
  .row .row__go { grid-column: 2; grid-row: 1; }
  .figures, .traits, .who, .career { grid-template-columns: minmax(0, 1fr); }
  .figure, .figure + .figure, .traits > div, .traits > div + div { padding: var(--space-xl) 0; border-left: 0; }
  .figure + .figure, .traits > div + div { border-top: var(--rule-hair) solid var(--color-rule); }
  .who, .career { row-gap: var(--space-xl); }
  .jump { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jump a, .jump a + a { padding: var(--space-lg) var(--space-md); border-left: 0; }
  .jump a:nth-child(even) { border-left: var(--rule-hair) solid var(--color-rule); }
  .jump a:nth-child(n+3) { border-top: var(--rule-hair) solid var(--color-rule); }
  .diff { grid-template-columns: minmax(0, 1fr); }
  .diff__col + .diff__col { border-left: 0; border-top: var(--rule-hair) solid var(--color-rule); }
  .article-row { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xs); }
  .article-row .state { justify-self: start; }
  .banner { padding-top: var(--space-2xl); padding-bottom: var(--space-xl); }
}
@media (max-width: 40rem) {
  .field--row, .ticks--2, .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .lifecycle { grid-template-columns: minmax(0, 1fr); }
  .register th, .register td { padding-inline: var(--space-md); }
  .register .col-desc { display: none; }
  .register__top, .register__foot { padding-inline: var(--space-md); }
  .register__foot { grid-template-columns: minmax(0, 1fr); }
  .register__foot > p { justify-self: start; text-align: left; }
  .acc-body__inner { padding-right: 0; }
  .reading { white-space: normal; }
  .quote blockquote { text-indent: 0; }
  .form .btn { justify-self: stretch; }
  .hero .actions .btn { width: 100%; }
  .mini th, .mini td { padding-inline: var(--space-md); }
}
