/* Ella — "Cinematic calm" (design option D, approved 28 October 2026).
   Each screen holds one photograph or one colour field and few words. The page colour moves between
   forest, clay, ivory and deep green; each field blends in from the colour before it.
   Newsreader carries statements and reading text; IBM Plex Mono carries labels and small facts.
   The only signature motion is statements lighting up word by word (src/client/site.js). */

@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/assets/fonts/newsreader-latin-opsz-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/assets/fonts/newsreader-latin-ext-opsz-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --forest: #103d35;
  --clay: #cf9a7c;
  --ivory: #f3eee3;
  --deep: #0b2621;
  --fresh: #d5edaf;
  --ink: #1b1a16;
  --ink-soft: #3d3a33;          /* 8.9:1 on ivory, 4.9:1 on clay */
  --paper-soft: #d9d4c7;        /* 10:1 on forest */
  --green-on-light: #137c68;

  --display: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --text: "Newsreader", "Iowan Old Style", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --mark: Georgia, "Times New Roman", serif;

  --t-hero: clamp(2.05rem, 1.1rem + 4.5vw, 5.5rem);
  --t-page: clamp(2.05rem, 1.2rem + 3.6vw, 4.75rem);
  --t-statement: clamp(2.1rem, 1rem + 4.2vw, 5.25rem);
  --t-h3: clamp(1.5rem, 1.15rem + 1.2vw, 2.25rem);
  --t-body: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
  --t-small: .9375rem;
  --t-mono: .8125rem;

  --gutter: max(clamp(18px, 5vw, 72px), env(safe-area-inset-left, 0px));
  --gutter-r: max(clamp(18px, 5vw, 72px), env(safe-area-inset-right, 0px));
  --blend: clamp(110px, 20vh, 200px);
  --space: clamp(48px, 8vh, 90px);
  --ease: cubic-bezier(.22, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--deep); color: var(--ivory);
  font: 400 var(--t-body)/1.55 var(--text); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* Film grain over everything: a static noise tile, never animated. */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .11; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 1.4 -.2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 300; text-wrap: balance; }
em { font-style: normal; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 72px; }
::selection { background: var(--fresh); color: var(--forest); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus, var(--fresh)); outline-offset: 4px; border-radius: 1px; }
main:focus-visible, h1:focus-visible { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: var(--gutter); top: -80px; z-index: 95; background: var(--ivory); color: var(--forest); padding: 12px 16px; font: 500 var(--t-small)/1.3 var(--mono); }
.skip-link:focus-visible { top: calc(12px + env(safe-area-inset-top, 0px)); outline-color: var(--forest); }

/* ---------- Tones and fields ---------- */
.dark { color: var(--ivory); --muted: var(--paper-soft); --focus: var(--fresh); --btn-bg: var(--ivory); --btn-fg: var(--forest); --line: rgba(243, 238, 227, .28); --accent: var(--fresh); --dim: .45; }
.light { color: var(--ink); --muted: var(--ink-soft); --focus: var(--forest); --btn-bg: var(--forest); --btn-fg: var(--ivory); --line: rgba(27, 26, 22, .22); --accent: var(--green-on-light); --dim: .55; }
.f-forest { --own: var(--forest); }
.f-clay { --own: var(--clay); --dim: .62; }
.f-ivory { --own: var(--ivory); }
.f-deep { --own: var(--deep); }
/* A field blends in from the colour before it across its top padding (data-from is set by the build). */
[data-from="forest"] { --from: var(--forest); }
[data-from="clay"] { --from: var(--clay); }
[data-from="ivory"] { --from: var(--ivory); }
[data-from="deep"] { --from: var(--deep); }
.field, .site-footer { background: linear-gradient(to bottom, var(--from, var(--own)) 0, var(--own) var(--blend)); }
.field { padding-block: clamp(120px, 22vh, 220px); }
.field.tight { padding-top: 0; }
.field.tight[data-from] { padding-top: var(--blend); }

.wrap { max-width: 1360px; margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.mono { font-family: var(--mono); font-size: var(--t-mono); line-height: 1.5; letter-spacing: .01em; color: var(--muted); }
.kicker { margin-bottom: 28px; }
.lede { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.5; max-width: 40ch; color: var(--muted); }
.muted { color: var(--muted); }
.sub { margin-top: 34px; }
.space { margin-top: var(--space); }

/* ---------- Links and buttons ---------- */
.icon { width: .95em; height: .95em; flex: none; display: inline-block; vertical-align: -.12em; margin-left: .4em; transition: transform .2s var(--ease); }
.button {
  display: inline-flex; align-items: center; gap: 22px; min-height: 50px; padding: 13px 20px;
  background: var(--btn-bg); color: var(--btn-fg); border-radius: 2px;
  font: 500 var(--t-small)/1.3 var(--mono); letter-spacing: .01em; transition: opacity .2s;
}
.button .icon { margin-left: 0; }
.button:hover { opacity: .9; }
.button:hover .icon-arrow, .text-link:hover .icon-arrow { transform: translateX(4px); }
.button:hover .icon-external, .text-link:hover .icon-external { transform: translate(2px, -2px); }
.text-link {
  display: inline-block; padding-block: 12px; font: 500 var(--t-small)/1.4 var(--mono); letter-spacing: .01em;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px;
}
.text-link:hover { text-decoration-thickness: 2px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin-top: 34px; }
.note { margin-top: 18px; font-size: var(--t-small); color: var(--muted); max-width: 56ch; }

/* ---------- Status labels: the dot shape carries the state as well as the text ---------- */
.st { font-family: var(--mono); font-size: var(--t-mono); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.st::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; }
.status-available::before { background: currentColor; }
.status-soon::before { background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
.status-planned::before { border-style: dashed; }

/* ---------- Header ---------- */
.site-header { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50; transition: background-color .4s var(--ease), color .4s var(--ease); }
.site-header.is-solid { background: color-mix(in srgb, var(--hdr-bg, var(--deep)) 86%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.header-in { display: flex; align-items: center; gap: 32px; height: 76px; transition: height .3s var(--ease); }
.site-header.is-solid .header-in { height: 60px; }
.brand { display: inline-flex; align-items: baseline; font: 700 40px/1 var(--mark); letter-spacing: -.075em; color: currentColor; padding-right: 2px; }
.brand span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-left: 4px; }
.primary-nav { display: flex; gap: 26px; margin-left: auto; font: 400 var(--t-mono)/1 var(--mono); letter-spacing: .01em; }
.primary-nav a { padding-block: 12px; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.primary-nav .nav-login { display: none; }
.nav-tools { display: flex; align-items: center; gap: 18px; font-family: var(--mono); font-size: var(--t-mono); }
.language-switch { display: flex; align-items: center; }
.language-switch a { min-width: 34px; min-height: 40px; display: inline-grid; place-items: center; padding: 0 6px; opacity: .72; }
.language-switch a[aria-current="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.language-switch a:hover { opacity: 1; }
.login-link { padding-block: 12px; white-space: nowrap; }
.login-link:hover { text-decoration: underline; text-underline-offset: 6px; }
.menu-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; font: 400 var(--t-mono) var(--mono); }
.menu-icon { position: relative; width: 18px; height: 10px; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .25s var(--ease), top .25s var(--ease); }
.menu-icon::before { top: 0; }
.menu-icon::after { top: 8.5px; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { top: 4.25px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { top: 4.25px; transform: rotate(-45deg); }
.menu-toggle .label-close, .menu-toggle[aria-expanded="true"] .label-open { display: none; }
.menu-toggle[aria-expanded="true"] .label-close { display: inline; }

/* ---------- Photographs ---------- */
.bleed { position: relative; overflow: hidden; background: var(--deep); }
.bleed img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus-point, 50% 50%); }
.bleed::after { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(to top, rgba(6, 20, 16, .88) 0%, rgba(6, 20, 16, .58) 38%, rgba(6, 20, 16, .36) 70%, rgba(6, 20, 16, .6) 100%); }
.focus-60-40 { --focus-point: 60% 40%; }
.focus-c-40 { --focus-point: 50% 40%; }
.focus-c-60 { --focus-point: 50% 60%; }

/* ---------- Heroes ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; }
.hero > .bleed { position: absolute; inset: 0; }
.hero-in { position: relative; z-index: 1; padding-block: 140px clamp(48px, 8vh, 96px); width: 100%; }
.hero h1 { font-family: var(--display); font-size: var(--t-hero); line-height: 1.02; letter-spacing: -.022em; font-weight: 300; max-width: 17ch; }
.hero .lede { margin-top: 28px; max-width: 52ch; }
.hero-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: clamp(40px, 7vh, 80px); }
/* Index and product pages open on a colour field instead of a photograph. */
.page-hero { min-height: 72svh; display: grid; align-content: end; padding-block: 150px clamp(56px, 10vh, 110px); }
.page-hero h1 { font-family: var(--display); font-size: var(--t-page); line-height: 1.04; letter-spacing: -.02em; font-weight: 300; max-width: 18ch; }
.page-hero .lede { margin-top: 28px; max-width: 54ch; }
.page-hero.short { min-height: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 28px; }
.crumbs a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.crumbs a:hover { text-decoration-thickness: 2px; }
.hero-status { margin-bottom: 22px; }
.feature-line { margin-top: 22px; max-width: 70ch; }

/* ---------- Statements: one sentence per screen ---------- */
.statement { font-family: var(--display); font-size: var(--t-statement); line-height: 1.06; letter-spacing: -.02em; font-weight: 300; max-width: 19ch; }
.statement.narrow { max-width: 16ch; }
.w { opacity: var(--dim); transition: opacity .45s var(--ease); }
.w.on { opacity: 1; }

/* ---------- Chapters: a sticky photograph under one statement ---------- */
.chapter { position: relative; overflow: clip; }
.chapter > .bleed { position: sticky; top: 0; height: 100svh; margin-bottom: -100svh; }
.chapter-in { position: relative; z-index: 1; min-height: 100svh; display: grid; align-content: end; padding-block: 62svh clamp(56px, 10vh, 110px); }
.chapter .who { margin-bottom: 22px; color: var(--paper-soft); }
.chapter-body { margin-top: clamp(40px, 7vh, 72px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px 64px; align-items: start; max-width: 1100px; }
.chapter-body > * { min-width: 0; }
.chapter-body p { max-width: 46ch; }
.chapter .actions { margin-top: 26px; }
.facts { display: grid; gap: 12px; font-family: var(--mono); font-size: var(--t-mono); }
.facts div { display: grid; grid-template-columns: 10ch 1fr; gap: 12px; }
.facts dt { color: var(--paper-soft); }

/* Two places, side by side. */
.diptych { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; }
.diptych > figure { position: relative; min-height: 50svh; }
.diptych > figure .bleed { position: absolute; inset: 0; }
.diptych figcaption { position: absolute; z-index: 2; left: var(--gutter); top: 96px; }
.diptych > figure + figure figcaption { left: 28px; }
.diptych-in { position: absolute; inset: auto 0 0; z-index: 2; padding-bottom: clamp(56px, 10vh, 110px); }

/* ---------- Software and roadmap ---------- */
.software-grid { margin-top: clamp(56px, 10vh, 110px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px 80px; }
.software-grid > * { min-width: 0; }
.product-name { font-family: var(--display); font-size: var(--t-h3); font-weight: 400; letter-spacing: -.012em; line-height: 1.15; }
.product p { margin-top: 14px; max-width: 44ch; }
.product .mono { margin-top: 14px; }
.roadmap-title { font-family: var(--mono); font-size: var(--t-mono); font-weight: 500; color: var(--muted); margin-bottom: 10px; }
.roadmap li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; padding-block: 16px; border-top: 1px solid var(--line); }
.roadmap li:last-child { border-bottom: 1px solid var(--line); }
.roadmap .name { font-weight: 500; font-size: 1.125rem; }
.roadmap .name a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.roadmap .name a:hover { text-decoration-thickness: 2px; }
.roadmap .desc { grid-column: 1 / -1; font-size: var(--t-small); color: var(--muted); }
.roadmap .st { grid-row: 1; grid-column: 2; }

/* Product list with status filters (software page). */
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-button { min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 2px; font: 400 var(--t-mono)/1.2 var(--mono); }
.filter-button:hover { border-color: currentColor; }
.filter-button[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.product-list li { display: grid; grid-template-columns: minmax(0, 16ch) minmax(0, 1fr) auto; gap: 8px 40px; align-items: baseline; padding-block: 26px; border-top: 1px solid var(--line); }
.product-list li:last-child { border-bottom: 1px solid var(--line); }
.product-list h2 { font-family: var(--display); font-size: var(--t-h3); line-height: 1.15; letter-spacing: -.012em; font-weight: 400; }
.product-list p { color: var(--muted); max-width: 52ch; }
.product-list .text-link { padding-block: 8px 0; }

/* ---------- Ruled lists: tools, articles, contact routes, index rows ---------- */
.rows { margin-top: var(--space); max-width: 1100px; }

.rows.flush { margin-top: 0; }
.rows > li { border-top: 1px solid var(--line); }
.rows > li:last-child { border-bottom: 1px solid var(--line); }
.tools-list a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) auto; gap: 8px 40px; align-items: baseline; padding-block: 24px; }
.tools-list .t { font-family: var(--display); font-size: var(--t-h3); line-height: 1.15; letter-spacing: -.012em; }
.tools-list .d { color: var(--muted); }
.tools-list .icon { margin: 0; }
.tools-list a:hover .t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; }
.tools-list a:hover .icon { transform: translate(2px, -2px); }
.articles a { display: grid; grid-template-columns: minmax(0, 16ch) minmax(0, 1fr); gap: 6px 48px; align-items: baseline; padding-block: 26px; }
.articles .t { font-family: var(--display); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.4rem); line-height: 1.12; letter-spacing: -.015em; font-weight: 300; }
.articles a:hover .t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; }
.articles .r { grid-column: 2; font-family: var(--mono); font-size: var(--t-mono); color: var(--muted); }
.articles h3 { font: inherit; }
.routes > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 10px 64px; padding-block: 26px; align-items: baseline; }
.routes h2, .routes h3, .index-rows h2 { font-family: var(--display); font-size: var(--t-h3); font-weight: 300; line-height: 1.15; letter-spacing: -.012em; }
.routes p { color: var(--muted); }
.routes .st { margin-bottom: 8px; }
.routes .addr { font-family: var(--mono); font-size: var(--t-small); color: var(--accent); overflow-wrap: anywhere; margin-top: 6px; }
.routes .text-link { padding-block: 8px 0; }
.policy > li > div > * + * { margin-top: 12px; }
.policy p, .policy-list { color: var(--muted); max-width: 62ch; }
.policy-list { list-style: disc; padding-left: 1.2em; }
.policy-list li + li { margin-top: 8px; }
.policy strong { color: var(--ink); font-weight: 500; } /* ivory field only */
.policy .inline-link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.policy .inline-link:hover { text-decoration-thickness: 2px; }
.policy .inline-link .icon { width: .75em; height: .75em; margin-left: .2em; }
.index-rows > li { display: grid; grid-template-columns: 4ch minmax(0, 1fr) minmax(0, 1.25fr); gap: 10px 40px; padding-block: 30px; align-items: baseline; }
.index-rows .n { font-family: var(--mono); font-size: var(--t-mono); color: var(--muted); }
.index-rows p { color: var(--muted); max-width: 52ch; }
.index-rows .text-link { padding-block: 10px 0; }
.index-rows .summary { margin-top: 12px; font-family: var(--mono); font-size: var(--t-mono); color: var(--muted); }
.index-rows .summary li + li::before { content: "· "; }
.index-rows .summary li { display: inline; }

/* ---------- Two-column term grids ---------- */
.terms, .scope, .steps, .parties { margin-top: var(--space); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 80px; max-width: 1100px; }
.terms > *, .scope > *, .steps > *, .parties > * { min-width: 0; }
.terms h3, .scope h3, .steps h3, .party h3 { font-family: var(--display); font-size: 1.6rem; font-weight: 400; line-height: 1.18; letter-spacing: -.012em; }
.terms p, .scope p, .steps p { margin-top: 10px; color: var(--muted); max-width: 46ch; }
.terms .st { margin-bottom: 12px; }
.terms .text-link { padding-block: 10px 0; }
.steps li { display: grid; grid-template-columns: 3ch minmax(0, 1fr); gap: 0 16px; }
.steps .n { font-family: var(--mono); font-size: var(--t-mono); padding-top: .55em; color: var(--muted); }
.party li { padding-block: 14px; border-top: 1px solid var(--line); color: var(--muted); }
.party ul { margin-top: 18px; }
.d-facts { margin-top: clamp(40px, 7vh, 72px); display: grid; gap: 14px; max-width: 900px; }
.d-facts div { display: grid; grid-template-columns: 14ch minmax(0, 1fr); gap: 16px; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); }
.d-facts dt { font-family: var(--mono); font-size: var(--t-mono); color: var(--muted); }
.d-facts dd { font-family: var(--display); font-size: 1.5rem; line-height: 1.25; font-weight: 300; }
.fit { margin-top: 48px; display: grid; gap: 10px; max-width: 60ch; }
.fit li { padding-left: 1.4em; position: relative; }
.fit li::before { content: "—"; position: absolute; left: 0; color: var(--muted); }
.fit-title { margin-top: 56px; }
.fit-title + .fit { margin-top: 16px; }

/* ---------- People ---------- */
.hero-led { margin-top: 22px; color: var(--muted); }
.hero-led a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.hero-led a:hover { text-decoration-thickness: 2px; }
.people { margin-top: var(--space); display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 48px 32px; max-width: 1240px; }
.people.leaders { grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); }
.person { min-width: 0; }
.portrait { aspect-ratio: 1; overflow: hidden; background: rgba(27, 26, 22, .08); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.person h2, .person h3 { margin-top: 16px; font-family: var(--display); font-size: 1.4rem; font-weight: 400; line-height: 1.2; letter-spacing: -.01em; }
.person .mono { margin-top: 4px; }
.first-call { margin-top: 36px; max-width: 680px; }
.first-call-name { font-family: var(--display); font-size: 1.4rem; line-height: 1.25; }
.first-call-people { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 16px 36px; }
.first-call-people li { display: flex; align-items: center; gap: 14px; min-width: 0; }
.first-call-people .portrait { flex: 0 0 72px; width: 72px; }
.first-call .mono { margin-top: 4px; color: var(--muted); }
.first-call .text-link { padding-block: 12px 0; }
.person .bio { margin-top: 10px; font-size: var(--t-small); color: var(--muted); max-width: 34ch; }

/* ---------- Questions ---------- */
.faq { margin-top: var(--space); max-width: 900px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: baseline; padding-block: 22px; font-family: var(--display); font-size: 1.4rem; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { font-family: var(--mono); font-size: 1rem; transition: transform .25s var(--ease); }
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq details p { padding-bottom: 24px; color: var(--muted); max-width: 60ch; }

/* ---------- Articles page ---------- */
.search-field { display: flex; align-items: center; gap: 12px; max-width: 520px; margin-top: 40px; border-bottom: 1px solid currentColor; }
.search-field .icon { margin: 0; width: 1.1em; height: 1.1em; }
.search-field input { flex: 1; min-width: 0; min-height: 52px; border: 0; background: transparent; color: inherit; font: 400 1.25rem/1.3 var(--text); }
.search-field input::placeholder { color: var(--muted); opacity: 1; }
.search-field input:focus-visible { outline: none; }
.search-field:focus-within { outline: 2px solid var(--focus); outline-offset: 6px; }
.search-empty { margin-top: 28px; color: var(--muted); }

/* ---------- Compensation illustration ---------- */
.comparison { margin-top: var(--space); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--line); max-width: 1180px; }
.comparison > * { min-width: 0; padding: clamp(24px, 4vw, 48px); }
.comparison-form h2, .comparison-result h2 { font-family: var(--display); font-size: var(--t-h3); line-height: 1.15; font-weight: 300; letter-spacing: -.012em; margin-top: 14px; }
.comparison-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-block: 30px; }
.control { min-width: 0; }
.control > label { display: block; font-family: var(--mono); font-size: var(--t-mono); color: var(--muted); margin-bottom: 8px; }
.control select { width: 100%; min-height: 48px; border: 1px solid rgba(27, 26, 22, .4); border-radius: 0; padding: 10px 34px 10px 10px; color: var(--ink); background: #fbf8f1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231b1a16' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 13px center; font: 400 1rem/1.3 var(--text); -webkit-appearance: none; appearance: none; }
@media (forced-colors: active) { .control select { -webkit-appearance: auto; appearance: auto; background-image: none; padding-right: 10px; } }
.comparison-result { background: var(--forest); color: var(--ivory); --muted: var(--paper-soft); --focus: var(--fresh); display: flex; flex-direction: column; justify-content: center; }
.cohort-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.cohort-tags span { font-family: var(--mono); font-size: .75rem; border: 1px solid rgba(243, 238, 227, .4); padding: 4px 8px; }
.benchmark-value { font-family: var(--display); font-size: clamp(3rem, 2rem + 4vw, 5rem); line-height: 1; font-weight: 300; margin-block: 24px 18px; }
.benchmark-value span { font-family: var(--mono); font-size: 1rem; color: var(--muted); }
.comparison-result > p { color: var(--muted); font-size: var(--t-small); }
.benchmark-metadata { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 20px; font-family: var(--mono); font-size: var(--t-mono); color: var(--muted); }
.benchmark-metadata b { font-weight: 400; color: var(--ivory); }

/* ---------- Footer ---------- */
.site-footer { --own: var(--deep); padding-block: clamp(80px, 14vh, 140px) 40px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(4, minmax(0, 1fr)); gap: 40px 40px; }
.footer-top > * { min-width: 0; }
.footer-top > div > p { color: var(--muted); margin-top: 16px; }
.footer-col h2 { font-family: var(--mono); font-size: var(--t-mono); font-weight: 400; color: var(--muted); margin-bottom: 10px; }
.footer-col a { display: block; padding-block: 6px; font-size: var(--t-small); }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-col .icon { width: .8em; height: .8em; margin-left: .3em; opacity: .75; }
.footer-sites { margin-top: 56px; }
.footer-sites a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.footer-sites a:hover { color: var(--ivory); }
.footer-bottom { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; }
.footer-bottom a { padding-block: 6px; }
.footer-bottom a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- Booking gate ---------- */
.booking { position: fixed; inset: 0; z-index: 100; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: clamp(12px, 4vw, 48px); border: 0; background: rgba(6, 20, 16, .78); overflow-y: auto; display: none; }
.booking[open] { display: grid; place-items: center; }
.booking-open { overflow: hidden; }
.booking-panel { position: relative; width: min(100%, 560px); background: var(--ivory); padding: clamp(28px, 5vw, 48px); border-radius: 2px; }
.booking-panel:has([data-step="calendar"]:not([hidden])) { width: min(100%, 1000px); }
.booking h2 { font-family: var(--display); font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); line-height: 1.08; letter-spacing: -.015em; }
.booking .kicker { margin-bottom: 14px; }
.booking-lede { margin-top: 14px; color: var(--muted); }
.booking form { margin-top: 28px; display: grid; gap: 16px; }
.booking .control input { width: 100%; min-height: 48px; border: 1px solid rgba(27, 26, 22, .4); border-radius: 0; padding: 10px 12px; background: #fbf8f1; color: var(--ink); font: 400 1rem/1.3 var(--text); }
.booking .control input[aria-invalid="true"] { border-color: #8f2d1f; border-width: 2px; }
.booking .control input:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.field-hint { margin-top: -8px; }
.booking-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.booking-recaptcha { min-height: 78px; }
.booking-error { color: #8f2d1f; font-size: var(--t-small); }
.booking-error:empty { display: none; }
.booking .actions { margin-top: 4px; }
.booking .note a { text-decoration: underline; text-underline-offset: 3px; }
.booking-close { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding-inline: 8px; font: 400 var(--t-mono) var(--mono); }
.booking-close .menu-icon::before { top: 4.25px; transform: rotate(45deg); }
.booking-close .menu-icon::after { top: 4.25px; transform: rotate(-45deg); }
.booking-calendar { margin-top: 20px; height: min(70svh, 720px); background: #fff; }
.booking-calendar iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Language entry and 404 ---------- */
.entry { min-height: 100svh; display: grid; align-content: center; padding-block: 120px; }
.entry .brand { margin-bottom: 48px; }
.entry h1 { font-family: var(--display); font-size: var(--t-page); line-height: 1.06; font-weight: 300; letter-spacing: -.02em; max-width: 18ch; }
.entry h1 span { display: block; color: var(--muted); }
.entry p { margin-top: 24px; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .primary-nav { gap: 20px; }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .login-link { display: none; }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-direction: column; gap: 0; padding: 4px var(--gutter-r) 18px var(--gutter); background: var(--hdr-bg, var(--deep)); font-size: 1rem; max-height: calc(100svh - 64px); overflow-y: auto; }
  .js .primary-nav:not(.is-open) { display: none; }
  .primary-nav a { padding-block: 15px; border-top: 1px solid var(--line); }
  .primary-nav .nav-login { display: block; }
  .nav-tools { margin-left: auto; gap: 10px; }
  .header-in { height: 64px; gap: 16px; }
  .site-header.is-solid .header-in { height: 64px; }
  .brand { font-size: 34px; }
  .chapter-body, .software-grid, .terms, .scope, .steps, .parties, .comparison { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .index-rows > li { grid-template-columns: 4ch minmax(0, 1fr); }
  .index-rows > li > :last-child { grid-column: 2; }
  .product-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .product-list li > div { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .tools-list a { grid-template-columns: minmax(0, 1fr) auto; }
  .tools-list .d { grid-column: 1 / -1; grid-row: 2; }
  .articles a, .routes > li { grid-template-columns: minmax(0, 1fr); }
  .articles .r { grid-column: 1; }
  .d-facts div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .chapter-in { padding-top: 46svh; }
  .hero-in { padding-top: 150px; }
  .page-hero { min-height: 64svh; padding-top: 130px; }
  .diptych { grid-template-columns: 1fr; }
  .diptych > figure { min-height: 56svh; }
  .diptych > figure + figure figcaption { left: var(--gutter); }
  .diptych-in { position: relative; inset: auto; padding-block: 56px; background: var(--deep); }
  .comparison-fields { grid-template-columns: minmax(0, 1fr); }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .index-rows > li { grid-template-columns: minmax(0, 1fr); }
  .index-rows > li > :last-child { grid-column: 1; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .people, .people.leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; }
}
