/* Caplan Artificial site preview, version 11.
 * An AI company that looks like it has an operating manual: the late jet-age airline timetable.
 * Flat navy, cobalt and electric fields, cream ink, bold Archivo, a mono face for working labels,
 * square corners, hairline rules, ruled grids and timetables, photographs with hard edges. */
@import url("./tokens.css?v=11");
@import url("./base.css?v=12");

@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("assets/fonts/plex-mono.woff2") format("woff2");
  font-weight: 500; font-display: swap;
}

/* ---------- ground ---------- */

html { scroll-padding-top: calc(var(--nav-height) + var(--space-lg)); }
/* bands run to the physical edge of the screen; only the text keeps clear of a notch */
.container { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
body { display: flex; flex-direction: column; min-height: 100svh; font-size: var(--text-md); line-height: 1.55; font-synthesis: none; }
main { flex: 1 0 auto; }
h1, h2, h3 { font-weight: 700; letter-spacing: var(--tracking-title); text-wrap: balance; }
h2 { font-size: var(--text-section); line-height: 1.08; letter-spacing: var(--tracking-display); max-width: 20ch; }
h3 { font-size: var(--text-title); line-height: 1.2; }
p, dd, li, figcaption { text-wrap: pretty; }
:is(.paces, .stairs, .lanes__steps, .whom, .plan, .event, .work, .post) p, .work__sum, .post__dek { text-wrap: balance; }
p:not([class]) { max-width: 60ch; }
::selection { background: var(--color-accent); color: var(--color-accent-ink); }
.sprite { position: absolute; }
.sheet {
  --bg: var(--color-sheet); --ink: var(--color-sheet-ink); --ink-2: var(--color-sheet-ink-2); --rule: var(--color-sheet-rule); --hi: var(--color-accent);
  --btn-fill: var(--color-sheet-ink); --btn-ink: var(--color-sheet); --btn-hover: var(--color-accent); --color-focus: var(--color-accent);
  background: var(--bg); color: var(--ink);
}
.deep { --bg: var(--color-paper-3); --rule: oklch(48% 0.14 263); background: var(--bg); }
.electric { --bg: var(--color-alt); --ink-2: oklch(90% 0.04 264); --rule: rgb(255 255 255 / 0.3); --hi: var(--color-ink); --color-focus: var(--color-ink); background: var(--bg); }
:root { --tint: color-mix(in srgb, var(--color-ink) 9%, transparent); }
.sheet { --tint: color-mix(in srgb, var(--color-sheet-ink) 5%, transparent); }
.lead { max-width: 34ch; font-size: var(--text-lead); line-height: 1.45; text-wrap: balance; }
.label { font-family: var(--font-mono); font-weight: 500; font-size: var(--text-sm); line-height: 1.4; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink-2); }
.skip { position: absolute; left: var(--space-md); top: var(--space-md); z-index: var(--z-tooltip); padding: var(--space-sm) var(--space-md); background: var(--color-ink); color: var(--color-paper); border-radius: var(--radius-card); font-weight: 600; text-decoration: none; transform: translateY(-300%); }
.skip:focus-visible { transform: none; }

/* ---------- controls ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg);
  border: var(--rule-hair) solid transparent; border-radius: var(--radius-card);
  font-weight: 600; font-size: var(--text-md); line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn--solid { background: var(--btn-fill); color: var(--btn-ink); }
.btn--solid:hover { background: var(--btn-hover); }
.sheet .btn--solid:hover { color: var(--color-accent-ink); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--color-muted); }
.btn--line:hover { border-color: var(--ink); }
.link {
  display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 600;
  text-decoration: none;
}
.link:hover, a:hover > .link, a:hover > * > .link { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.3em; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-sm) var(--space-lg); margin-top: var(--space-xl); }
.icon { width: 32px; height: 32px; }
.arrow { width: 18px; height: 18px; }

/* ---------- nav: one navy bar, a rule under it ---------- */

.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: var(--nav-height); }
.brand { display: inline-flex; align-items: center; gap: var(--space-sm); min-height: 44px; color: var(--color-ink); text-decoration: none; }
.brand__seal { width: 30px; height: auto; aspect-ratio: 776 / 560; fill: currentColor; flex-shrink: 0; }
.wordmark { font-stretch: 125%; font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap; }
.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav__links { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink-2); text-decoration: none; white-space: nowrap; transition: color var(--dur-micro) var(--ease-out); }
.nav__links a:hover, .nav__links a.is-here { color: var(--color-ink); }
.nav__links a.is-here { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.5em; }
.nav .btn { min-height: 44px; padding-inline: var(--space-md); }
/* the language switch: two cells, the one in use filled */
.lang { display: inline-flex; border-radius: var(--radius-card); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-muted); font-family: var(--font-mono); font-weight: 500; font-size: 0.875rem; letter-spacing: 0.04em; }
.lang a { display: grid; place-items: center; min-width: 40px; min-height: 32px; padding-inline: 10px; color: var(--color-ink); text-decoration: none; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.lang a:first-child { border-radius: var(--radius-card) 0 0 var(--radius-card); }
.lang a:last-child { border-radius: 0 var(--radius-card) var(--radius-card) 0; }
.lang a.is-on { background: var(--color-ink); color: var(--color-sheet-ink); }
.lang a:not(.is-on):hover { background: color-mix(in srgb, var(--color-ink) 16%, transparent); }
.nav__toggle { display: none; }


/* ---------- home hero: lettering on navy, the photograph hard against it ---------- */

.hero { position: relative; isolation: isolate; overflow: clip; }
.hero__art { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.hero__in { display: flex; align-items: flex-start; min-height: max(660px, calc(100svh - var(--nav-height) + 8vw + 36px), calc((100svh - var(--nav-height)) * 1.14)); padding-block: clamp(68px, 11vh, 150px) var(--space-3xl); }
.hero__text { width: 52%; }
.hero h1 { font-size: var(--text-display); line-height: 1.04; letter-spacing: var(--tracking-display); }
.line { display: block; }
.hero .lead { margin-top: var(--space-lg); }
@media (prefers-reduced-motion: no-preference) {
  .hero__text { animation: settle 0.6s var(--ease-out) both; }
}
@keyframes settle { from { opacity: 0; transform: translateY(10px); } }

/* the company in four figures, set like a timetable footer */
.ledger { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: var(--rule-hair) solid var(--rule); }
.ledger > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--space-2xs); padding: var(--space-lg) var(--space-lg) var(--space-lg) 0; }
.ledger > div + div { padding-left: var(--space-lg); border-left: var(--rule-hair) solid var(--rule); }
.ledger dd { margin: 0; font-weight: 700; font-size: var(--text-page); line-height: 1; letter-spacing: var(--tracking-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.strip-band { border-top: var(--rule-hair) solid var(--color-rule); }
.strip-band .ledger { border-top: 0; }

/* ---------- bands ---------- */

.band { position: relative; padding-block: var(--section-gap); }
.band--flush { padding-top: 0; }
.band__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2xs) var(--space-lg); margin-bottom: var(--space-xl); }
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-xl) var(--space-2xl); align-items: start; }
h2 + :is(.paces, .stages, .steps, .faq, .grid, .plans, .board, .flow, .track, .gauges, .fromto, .hub, .whom) { margin-top: var(--space-xl); }
h2 + .stairs { margin-top: 0; }
.sub { margin-top: var(--space-2xl); }

/* the services: a name and its own picture */
.posters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.poster { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 4 / 5; padding: var(--space-lg); border-radius: var(--radius-card); background: var(--color-accent); color: var(--color-ink); text-decoration: none; }
.poster__name { max-width: 14ch; font-weight: 700; font-size: var(--text-title); line-height: 1.15; letter-spacing: var(--tracking-title); text-wrap: balance; }
.poster__art { align-self: flex-end; width: 78%; height: auto; aspect-ratio: 1; transition: transform 0.6s var(--ease-out); }
.poster:hover .poster__art { transform: translateY(-4px); }
.poster:hover .poster__name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.poster:focus-visible, .row:focus-visible, .post:focus-visible, .work:focus-visible { outline-offset: 4px; }
.posters--small { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.posters--small .poster { aspect-ratio: 3 / 2; flex-direction: row; background: var(--color-alt); }
.posters--small .poster { overflow: hidden; }
.posters--small .poster__name { font-size: clamp(1.0625rem, 0.9vw + 0.6rem, 1.375rem); }
.posters--small .poster__art { width: 58%; align-self: flex-end; margin: 0 -4% -6% 0; }

/* the services as manuals on a shelf: eight spines, the one in hand lies open */
.rail { display: flex; gap: 3px; height: clamp(460px, 39vw, 580px); margin: 0; padding: 0; list-style: none; }
.rail__item { flex: 1 1 0; min-width: 0; transition: flex-grow 0.6s var(--ease-out); }
.rail__item.is-on { flex-grow: 6.4; }
.rail a { position: relative; display: block; height: 100%; overflow: hidden; border-radius: var(--radius-card); background: var(--color-accent); color: var(--color-ink); text-decoration: none; transition: background-color var(--dur-short) var(--ease-out); }
.rail__item:nth-child(3n + 2) a { background: var(--color-alt); }
.rail__item:nth-child(3n) a { background: #153e99; }
.rail a:focus-visible { outline-offset: -4px; outline-color: var(--color-ink); }
.rail__spine { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding-block: var(--space-lg); transition: opacity var(--dur-short) var(--ease-out); }
.rail__no { font-family: var(--font-mono); font-weight: 500; font-size: var(--text-sm); opacity: 0.75; }
.rail__title { writing-mode: vertical-rl; transform: rotate(180deg); font-weight: 700; font-size: 1.25rem; line-height: 1.1; letter-spacing: var(--tracking-title); white-space: nowrap; }
.rail__art { position: absolute; left: 50%; top: 0; width: auto; height: 80%; max-width: none; aspect-ratio: 1; transform: translateX(-50%) scale(0.94); opacity: 0; transition: opacity var(--dur-short) var(--ease-out), transform 0.6s var(--ease-out); }
.rail__open { position: absolute; left: var(--space-xl); bottom: var(--space-xl); display: grid; gap: var(--space-xs); width: 26rem; opacity: 0; transition: opacity var(--dur-short) var(--ease-out); }
.rail__name { font-weight: 700; font-size: clamp(1.5rem, 1vw + 1.1rem, 2rem); line-height: 1.1; letter-spacing: var(--tracking-display); }
.rail__line { font-size: var(--text-lead); line-height: 1.35; opacity: 0.92; }
.rail .arrow { position: absolute; right: var(--space-lg); top: var(--space-lg); width: 22px; height: 22px; opacity: 0; transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.rail__item.is-on .rail__spine { opacity: 0; }
.rail__item.is-on :is(.rail__art, .rail__open, .arrow) { opacity: 1; transition-delay: 0.14s; }
.rail__item.is-on .rail__art { transform: translateX(-50%); }
.rail__item.is-on a:hover .arrow { transform: translateX(4px); }
.rail__item:not(.is-on) a:hover { background: var(--color-paper-2); }
/* a shelf of three stands open: three panels side by side, no spines */
.rail--3 .rail__item, .rail--3 .rail__item.is-on { flex: 1 1 0; }
.rail--3 .rail__spine { display: none; }
.rail--3 .rail__item :is(.rail__art, .rail__open, .arrow) { opacity: 1; }
.rail--3 .rail__art { height: auto; width: 76%; top: 3%; transform: translateX(-50%); }
.rail--3 .rail__open { left: var(--space-lg); right: var(--space-lg); bottom: var(--space-lg); width: auto; }
.rail--3 .rail__item a:hover { background: var(--color-paper-2); }
/* the three groups of services, as tabs above the shelf */
.shelf__tabs { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-bottom: var(--space-lg); }
.shelf__tab { display: inline-flex; align-items: center; gap: 0.6em; min-height: 44px; padding: 0 var(--space-md); border: 0; border-radius: var(--radius-card); background: var(--tint); color: var(--ink); font: inherit; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.shelf__tab span { font-family: var(--font-mono); font-weight: 500; font-size: var(--text-sm); opacity: 0.7; }
.shelf__tab:hover { background: color-mix(in srgb, var(--color-sheet-ink) 11%, transparent); }
.shelf__tab[aria-selected="true"] { background: var(--color-sheet-ink); color: var(--color-sheet); }
.shelf__panel[hidden] { display: none; }

/* doors into the site: every kind of work and every sector, each with its mark */
.entry { display: grid; gap: var(--space-xl); }
.entry > div { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--space-md) var(--gap-columns); align-items: start; }
.entry h3 { padding-top: 16px; font-weight: 600; font-size: var(--text-md); letter-spacing: 0; color: var(--ink-2); }
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.split > .doors { margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.doors a { display: flex; align-items: center; gap: var(--space-md); min-height: 56px; color: var(--ink); font-weight: 700; font-size: var(--text-lead); letter-spacing: var(--tracking-title); text-decoration: none; white-space: nowrap; }
.doors .icon { flex-shrink: 0; width: 30px; height: 30px; color: var(--hi); }
.doors .arrow { flex-shrink: 0; opacity: 0; transform: translateX(-6px); transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.doors a:hover .arrow, .doors a:focus-visible .arrow { opacity: 1; transform: none; }
.head--mark { isolation: isolate; overflow: clip; min-height: 420px; }
.head__mark { position: absolute; z-index: -1; top: 50%; right: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); width: auto; height: 78%; aspect-ratio: 1; transform: translateY(-50%); opacity: 0.9; }

/* a plain grid: a rule above each item, no boxes */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid > * { padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--rule); }
.grid .icon { margin-bottom: var(--space-md); color: var(--hi); }
.grid p { margin-top: 6px; color: var(--ink-2); }
.grid .label { display: block; margin-top: var(--space-sm); color: var(--ink); }
.tools { display: grid; gap: var(--space-md); margin-top: var(--space-2xl); }
.tools h3 { font-size: var(--text-title); }
.tools__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-sm) var(--gap-columns); margin: 0; padding: 0; list-style: none; color: var(--ink-2); }

/* work: one photograph, where and when, what changed */
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); }
.work { display: grid; align-content: start; color: inherit; text-decoration: none; }
.work img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-card); margin-bottom: var(--space-md); }
.work__title { margin-top: var(--space-xs); font-weight: 700; font-size: var(--text-title); line-height: 1.2; letter-spacing: var(--tracking-title); text-wrap: balance; }
.work__sum { margin-top: var(--space-xs); color: var(--ink-2); }
.work:hover .work__title, .post:hover .post__title, .row:hover .row__name, .feature:hover .feature__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }

/* charts: flat bars, mono figures */
.stat__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: start; }
.stat__more { margin-top: var(--space-lg); font-size: var(--text-lead); }
.stat__src { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--ink-2); }
.stat__src a { color: inherit; text-underline-offset: 0.25em; }
.stat__text { display: flex; flex-direction: column; align-self: stretch; }
.stat__text .stat__src { margin-top: auto; padding-top: var(--space-xl); }
.waffle { margin: 0; }
.waffle ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); margin: 0; padding: 0; list-style: none; }
.waffle li { display: grid; justify-items: start; }
.waffle__grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: clamp(5px, 0.62vw, 9px) 0; width: 100%; justify-items: start; }
.waffle__grid i { width: clamp(3px, 0.42vw, 6px); height: clamp(12px, 1.5vw, 22px); background: oklch(40% 0.16 264); }
.waffle__grid i.on { background: var(--ink); }
.waffle li.is-us .waffle__grid i.on { background: var(--color-amber); }
.waffle__value { margin-top: var(--space-lg); font-weight: 700; font-size: clamp(1.75rem, 2.2vw + 0.75rem, 3rem); line-height: 1; letter-spacing: var(--tracking-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.waffle__label { margin-top: var(--space-xs); font-size: var(--text-lead); color: var(--ink-2); }
.chart { margin: 0; }
.chart__title { margin-bottom: var(--space-md); font-weight: 700; font-size: var(--text-title); letter-spacing: var(--tracking-title); line-height: 1.2; }
.chart__rows { display: grid; gap: var(--space-sm); margin: 0; padding: 0; list-style: none; }
.chart__row { display: grid; grid-template-columns: var(--lab, 7rem) minmax(0, 1fr); gap: var(--space-md); align-items: center; }
.chart__label { color: var(--ink-2); white-space: nowrap; }
.chart__track { position: relative; display: block; height: 14px; margin-right: calc(var(--val, 6ch) * 1.25 + 24px); }
.chart__track::before { content: ""; position: absolute; inset: 50% calc(-1 * (var(--val, 6ch) * 1.25 + 24px)) auto 0; border-top: var(--rule-hair) solid var(--rule); }
.chart__bar { position: absolute; inset: 0 auto 0 0; display: block; width: calc(var(--v) * 1%); min-width: 3px; background: var(--hi); }
.chart__value { position: absolute; top: 50%; left: calc(var(--v) * 1%); padding-inline: 12px 8px; background: var(--chart-bg, var(--bg, var(--color-paper))); transform: translate(0, -50%); font-weight: 700; font-size: var(--text-lead); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); }
.chart__row--us .chart__label { color: var(--ink); font-weight: 700; }
.chart__row--us .chart__bar { background: var(--color-amber); }
.chart__note { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--ink-2); }
.chart__note a { color: var(--ink); text-underline-offset: 0.25em; }
.chart--boxed { padding: 0; }
@media (prefers-reduced-motion: no-preference) {
  .js .chart__bar { transition: width 0.8s var(--ease-out); }
  .js .chart__value { transition: opacity var(--dur-long) var(--ease-out) 0.3s; }
  .js .chart:not(.is-seen) .chart__bar { width: 0; }
  .js .chart:not(.is-seen) .chart__value { opacity: 0; }
  .js .waffle__grid i.on { transition: background-color 0.3s var(--ease-out) calc(var(--i) * 22ms); }
  .js .waffle:not(.is-seen) .waffle__grid i.on { background: oklch(40% 0.16 264); }
}

/* numbered steps, each with how long it takes */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps li { counter-increment: step; padding-top: var(--space-md); border-top: 2px solid var(--ink); }
.steps li::before { content: "0" counter(step); display: block; margin-bottom: var(--space-md); font-family: var(--font-mono); font-weight: 500; font-size: var(--text-sm); color: var(--ink-2); }
.steps p { margin-top: 6px; max-width: 30ch; color: var(--ink-2); }
.steps .label { display: block; margin-top: var(--space-md); color: var(--ink); }
.steps--plain li::before { content: none; }

/* steps under large numerals */
.paces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.paces--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.paces__no { display: block; margin-bottom: var(--space-md); font-weight: 700; font-size: clamp(3rem, 3.4vw + 1.5rem, 5rem); line-height: 0.9; letter-spacing: -0.04em; color: var(--hi); font-variant-numeric: lining-nums; }
.paces li.is-human .paces__no { color: var(--color-amber); }
.paces p { margin-top: var(--space-xs); max-width: 28ch; color: var(--ink-2); }
.paces .paces__time { margin-top: var(--space-md); color: var(--ink); font-weight: 700; }
.paces__ends { margin-top: var(--space-xl); font-weight: 700; font-size: var(--text-lead); }

/* how we work, on the brand's lanes: four nodes on one group of lines, a step under each */
.band--lanes { padding-bottom: 0; overflow: clip; }
.band--lanes .band__top { margin-bottom: 0; }
.lanes { position: relative; aspect-ratio: var(--ratio); margin-top: -2vw; }
.lanes__art { position: absolute; left: 0; top: var(--shift); width: 100%; height: auto; max-width: none; }
.lanes__steps { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.lanes__steps li { position: absolute; left: var(--x); top: calc(var(--y) + 7.4vw); width: min(16rem, 19vw); }
.lanes__steps h3 { font-size: clamp(1.25rem, 0.9vw + 1rem, 1.875rem); }
.lanes__steps p { margin-top: var(--space-2xs); color: var(--ink-2); }
.lanes__steps .lanes__time { margin-top: var(--space-sm); color: var(--ink); font-family: var(--font-mono); font-weight: 500; font-size: var(--text-sm); letter-spacing: 0.02em; text-transform: uppercase; }

/* how we work: four pictures in a row */
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.stages__art { position: relative; aspect-ratio: 1; margin: 0 0 var(--space-lg); overflow: hidden; border-radius: var(--radius-card); background: var(--color-accent); color: var(--color-ink); }
.stages__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform 0.6s var(--ease-out); }
.stages li:hover .stages__art img { transform: scale(1.04); }
.stages p { margin-top: var(--space-xs); max-width: 26ch; color: var(--ink-2); }
.stages .stages__time { margin-top: var(--space-sm); color: var(--ink); font-weight: 700; }

/* the timetable: upcoming events as departures */
.board { display: grid; border-top: 2px solid var(--ink); }
.board__row { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) 7.5rem 8rem 9rem; gap: var(--space-lg); align-items: baseline; padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--rule); color: inherit; text-decoration: none; }
.board__row--head { padding-block: var(--space-sm); }
.board__title { font-weight: 700; font-size: var(--text-lead); line-height: 1.25; }
.board__place { display: block; margin-top: 2px; font-weight: 400; font-size: var(--text-md); color: var(--ink-2); }
.board .label { color: var(--ink); }
.board__row--head .label { color: var(--ink-2); }
.board__go { justify-self: end; }
.past { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); margin-top: var(--space-2xl); }
.event { display: grid; align-content: start; }
.event__photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-card); margin-bottom: var(--space-md); }
.event__meta { font-size: var(--text-sm); color: var(--ink-2); }
.event h3 { margin-top: var(--space-xs); }
.event p { margin-top: var(--space-xs); color: var(--ink-2); }
.event--lead { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: center; margin-top: var(--space-xl); }
.event--lead .event__photo { margin-bottom: 0; }
.event--lead h3 { font-size: var(--text-section); line-height: 1.08; letter-spacing: var(--tracking-display); text-wrap: balance; }
.event--lead p { font-size: var(--text-lead); max-width: 34ch; }
.event--lead .event__seats { margin-top: var(--space-lg); color: var(--ink); }
.event__seats strong { display: block; font-size: var(--text-page); line-height: 1; letter-spacing: var(--tracking-display); }

/* news lines */
.news { display: grid; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.news li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: var(--space-lg); padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--rule); }

/* about teaser */
.about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: center; }
.about__photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-card); }
.about__text p { margin-top: var(--space-md); color: var(--ink-2); font-size: var(--text-lead); }
.about .link { margin-top: var(--space-md); }
.checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm) var(--gap-columns); margin: var(--space-lg) 0 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 0.38em; width: 14px; height: 8px; border-left: 2.5px solid var(--hi); border-bottom: 2.5px solid var(--hi); transform: rotate(-45deg); }
.ticks { display: grid; gap: var(--space-xs); margin: var(--space-lg) 0 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 12px; height: 12px; background: var(--hi); }

/* the control room: one photograph edge to edge, one line on it */
.room { position: relative; overflow: clip; }
.room__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.room__in { position: relative; min-height: clamp(460px, 52vw, 860px); padding-block: var(--space-2xl); }
/* the one headline set in the mono face, as on the identity's photograph posters */
.room h2 { max-width: 16ch; font-family: var(--font-mono); font-weight: 500; font-size: clamp(1.625rem, 1.9vw + 1rem, 2.625rem); line-height: 1.18; letter-spacing: -0.01em; }
.room .lead { margin-top: var(--space-md); max-width: 24ch; }

/* closing band on the home page: the lettering on a photograph */
.cta--photo { position: relative; overflow: clip; }
.cta__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta--photo .cta__in { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: clamp(340px, 34vw, 480px); padding-block: var(--space-2xl); }
.cta--photo h2 { max-width: 14ch; }
.cta .actions, .cta__card .actions { margin-top: var(--space-lg); }
/* closing card on inner pages: electric blue, the two panels sliding apart */
.cta__card {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start;
  min-height: 600px; padding: clamp(28px, 5vw, 64px); border-radius: var(--radius-card); background: var(--tone, var(--color-accent)); color: var(--color-ink);
  --ink: var(--color-ink); --rule: rgb(255 255 255 / 0.4); --btn-fill: var(--color-ink); --btn-ink: var(--color-sheet-ink); --btn-hover: #fff; --color-focus: var(--color-ink);
}
.sheet .cta__card .btn--solid:hover { color: var(--color-sheet-ink); }
.cta__art { position: absolute; inset: 52% 0 0; z-index: -1; width: 100%; height: 48%; object-fit: cover; object-position: 60% 100%; }
.cta__card h2 { max-width: 14ch; }

/* ---------- inner page heads ---------- */

.head { position: relative; padding-block: var(--space-2xl) var(--space-3xl); }
.head__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: center; }
.head h1 { font-size: var(--text-page); line-height: 1.06; letter-spacing: var(--tracking-display); max-width: 18ch; overflow-wrap: normal; }
.head--case .container { max-width: var(--container); }
.head--case h1, .head--case .lead { max-width: min(18ch, 52%); }
.head--case .lead { max-width: min(34ch, 48%); }
.strip-band .meta { margin-top: 0; border-top: 0; padding-block: var(--space-lg); }
.head .lead { margin-top: var(--space-lg); color: var(--ink-2); }
.head .label { display: block; margin-bottom: var(--space-md); }
.crumb { margin-bottom: var(--space-md); font-size: var(--text-sm); }
.crumb a { color: inherit; opacity: 0.82; text-decoration: none; text-underline-offset: 0.3em; }
.crumb a:hover { opacity: 1; text-decoration: underline; }
.frame { margin: 0; justify-self: end; width: 100%; max-width: 420px; }
.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-card); }
.mail { display: inline-block; margin-top: var(--space-xl); font-weight: 700; font-size: clamp(1.5rem, 2.2vw + 0.75rem, 2.25rem); letter-spacing: var(--tracking-display); color: var(--ink); text-decoration: none; }
.mail:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.mail + .actions { margin-top: var(--space-lg); }
.status { color: var(--ink-2); }
.head--art, .head--poster { isolation: isolate; overflow: clip; }
.head__art {
  position: absolute; inset: 0 0 0 auto; z-index: -1; width: 50%; height: 100%; object-fit: cover; object-position: 50% 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 42%); mask-image: linear-gradient(to right, transparent 0, #000 42%);
}
.head--art .head__art { object-position: 100% 78%; }
.head--lost { display: grid; align-items: center; min-height: min(560px, 60svh); }
.head--lost .head__art { object-position: 100% 55%; }
.head--poster { min-height: 520px; display: grid; align-items: center; }
.head__ill { position: absolute; z-index: -1; top: 50%; right: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); width: auto; height: 108%; aspect-ratio: 1; transform: translateY(-50%); }
.head--poster.on-cream { --ink: var(--color-sheet-ink); --ink-2: var(--color-sheet-ink-2); --rule: var(--color-sheet-rule); --btn-fill: var(--color-sheet-ink); --btn-ink: var(--color-sheet); --btn-hover: var(--color-accent); --color-focus: var(--color-accent); color: var(--ink); }
.head--poster.on-cream .btn--solid:hover { color: var(--color-accent-ink); }
.head--poster .icon { margin-bottom: var(--space-md); }
.head--poster .lead { color: inherit; opacity: 0.92; }
.wide { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius-card); }

/* ---------- service and work pages ---------- */

.split--photo { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; }
.split--photo .frame { justify-self: start; max-width: 460px; }
.gets { display: grid; margin: var(--space-xl) 0 0; }
.gets > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-xs) var(--space-lg); padding-block: 20px; border-top: var(--rule-hair) solid var(--rule); }
.gets > div:last-child { border-bottom: var(--rule-hair) solid var(--rule); }
.gets dt { font-weight: 700; }
.gets dd { margin: 0; color: var(--ink-2); }
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); margin: var(--space-3xl) 0 0; }
.figures--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.figures--top { margin-top: 0; }
.figures.figures--top dd { font-size: clamp(1.5rem, 2.2vw + 0.2rem, 2.25rem); white-space: normal; }
.figures > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--space-xs); padding-top: var(--space-md); border-top: 2px solid var(--ink); }
.figures dd { margin: 0; font-weight: 700; font-size: var(--text-page); line-height: 1; letter-spacing: var(--tracking-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.figures--4 dd { font-size: var(--text-section); }
html[lang="en"] .figures:not(.figures--4, .figures--top) dd { font-size: calc(var(--text-page) * 0.82); }  /* English figures run longer: "30 conversations" */
.figures dt { max-width: 28ch; color: var(--ink-2); text-wrap: balance; }

.pair { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: start; }
.fors { display: grid; margin: var(--space-xl) 0 0; }
.fors > div { padding-block: 20px; border-top: var(--rule-hair) solid var(--rule); }
.fors > div:last-child { border-bottom: var(--rule-hair) solid var(--rule); }
.fors dt { font-weight: 700; font-size: var(--text-title); letter-spacing: var(--tracking-title); line-height: 1.2; }
.fors dd { margin: 6px 0 0; color: var(--ink-2); max-width: 46ch; }
.box { padding: var(--space-xl); background: var(--tint); }
.pair--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.whom { display: grid; gap: var(--space-xl); margin: 0; padding: 0; list-style: none; }
.whom li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--space-lg); align-items: start; }
.whom .icon { width: 48px; height: 48px; color: var(--hi); }
.whom p { margin-top: var(--space-2xs); color: var(--ink-2); }
.panel { --ink: var(--color-sheet-ink); --ink-2: var(--color-sheet-ink-2); --hi: var(--color-accent); padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-sheet); color: var(--ink); }
.sheet .panel { --ink: var(--color-ink); --ink-2: var(--color-ink-2); --hi: var(--color-ink); background: var(--color-accent); }
.panel h2 { font-size: var(--text-title); letter-spacing: var(--tracking-title); }
.panel .checks { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); margin-top: var(--space-lg); font-weight: 600; font-size: var(--text-lead); }
.box .ticks { margin-top: var(--space-md); }

/* packages: three equal panels, the middle one filled */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: var(--space-sm); min-width: 0; padding: var(--space-xl) var(--space-lg); border-radius: var(--radius-card); background: var(--tint); }
.plan--main { --ink: var(--color-ink); --ink-2: oklch(93% 0.03 264); --hi: var(--color-ink); background: var(--color-accent); color: var(--color-ink); }
.plan h3 { font-size: clamp(1.5rem, 1vw + 1rem, 2rem); line-height: 1.1; letter-spacing: var(--tracking-display); text-wrap: balance; }
.plan p { color: var(--ink-2); }
.plan .ticks { margin-top: var(--space-sm); margin-bottom: var(--space-md); }
.plan .label { margin-top: auto; padding-top: var(--space-sm); color: var(--ink); }
.plan__ask { gap: var(--space-xs); margin-top: var(--space-xs); }
.plan__ask .arrow { transition: transform var(--dur-short) var(--ease-out); }
.plan__ask:hover .arrow { transform: translateX(4px); }
.plans__note { color: var(--ink-2); }

.table { margin-top: var(--space-xl); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 18px var(--space-lg) 18px 0; text-align: left; vertical-align: top; border-top: var(--rule-hair) solid var(--rule); }
thead th { border-top: 0; font-family: var(--font-mono); font-weight: 500; font-size: var(--text-sm); letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
tbody tr:first-child th, tbody tr:first-child td { border-top: 2px solid var(--ink); }
tbody th { font-weight: 700; }
tbody td { color: var(--ink-2); }
tbody td:last-child { color: var(--ink); }
tbody td a { color: var(--ink); font-weight: 600; text-underline-offset: 0.3em; }

.case { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: center; }
.case img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-card); }
.case__text { display: grid; gap: var(--space-md); justify-items: start; }
.case__text p { max-width: 38ch; color: var(--ink-2); }
.case__text .case__result { font-weight: 700; font-size: var(--text-title); line-height: 1.25; letter-spacing: var(--tracking-title); color: var(--ink); text-wrap: balance; }
.meta { display: flex; flex-wrap: wrap; gap: var(--space-md) var(--space-2xl); margin: var(--space-2xl) 0 0; padding-top: var(--space-md); border-top: 2px solid var(--ink); }
.meta a { color: inherit; white-space: nowrap; text-underline-offset: 0.3em; }
.meta > div:first-child { flex: 1 1 16rem; }
.meta dt { color: var(--ink-2); }
.meta dd { margin: 2px 0 0; font-weight: 600; }
.told { display: grid; gap: var(--space-md); font-size: var(--text-lead); }
.told p { max-width: 46ch; }

.faq { display: grid; }
.faq details { border-top: var(--rule-hair) solid var(--rule); }
.faq details:last-child { border-bottom: var(--rule-hair) solid var(--rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 60px; padding-block: var(--space-sm); font-weight: 700; font-size: var(--text-lead); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; font-weight: 400; font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { padding-bottom: var(--space-lg); color: var(--ink-2); }

.facts { display: grid; margin: 0; }
.facts > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: var(--space-md); padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--rule); }
.facts > div:last-child { border-bottom: var(--rule-hair) solid var(--rule); }
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; }
.facts a { color: inherit; text-underline-offset: 0.3em; }
.inline { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-lg); margin: 0; padding: 0; list-style: none; }
.gloss { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-2xl); margin: 0; }
.gloss > div { padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--rule); }
.gloss dt { font-weight: 700; }
.gloss dd { margin: 2px 0 0; color: var(--ink-2); }

/* ---------- service rows, about, posts, article ---------- */

/* the services page: a catalogue in three groups, the group named on the left and its services beside it */
.catalog { display: grid; gap: var(--space-3xl); }
.catalog__group { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-xl) var(--gap-columns); align-items: start; scroll-margin-top: calc(var(--nav-height) + var(--space-lg)); }
.catalog__head { position: sticky; top: calc(var(--nav-height) + var(--space-xl)); }
.catalog__head p { margin-top: var(--space-sm); max-width: 24ch; font-size: var(--text-lead); color: var(--ink-2); text-wrap: balance; }
.catalog__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.offer { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: var(--space-lg); align-items: center; color: inherit; text-decoration: none; }
.offer__tile { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--radius-card); background: var(--color-accent); transition: background-color var(--dur-short) var(--ease-out); }
.catalog__list li:nth-child(3n + 2) .offer__tile { background: var(--color-alt); }
.catalog__list li:nth-child(3n) .offer__tile { background: #153e99; }
.offer__ill { width: 88%; height: auto; aspect-ratio: 1; transition: transform 0.6s var(--ease-out); }
.offer:hover .offer__ill { transform: translateY(-3px); }
.offer__text { display: grid; gap: var(--space-2xs); }
.offer__name { font-weight: 700; font-size: var(--text-title); line-height: 1.15; letter-spacing: var(--tracking-title); text-wrap: balance; }
.offer:hover .offer__name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.offer__line { color: var(--ink-2); line-height: 1.4; text-wrap: pretty; }
.offer:focus-visible { outline-offset: 4px; }
.rows { display: grid; gap: var(--space-3xl); }
.row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: center; color: inherit; text-decoration: none; }
.row:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.row:nth-child(even) > .row__media { order: 2; }
.row__media { display: grid; place-items: center; aspect-ratio: 3 / 2; border-radius: var(--radius-card); background: var(--color-accent); }
.row:nth-child(3n + 2) .row__media { background: var(--color-alt); }
.row:nth-child(3n) .row__media { background: #153e99; }
.row__ill { width: auto; height: 86%; aspect-ratio: 1; }
.row__text { display: grid; justify-items: start; }
.row .icon { margin-bottom: var(--space-md); }
.row__name { font-weight: 700; font-size: var(--text-section); line-height: 1.1; letter-spacing: var(--tracking-display); text-wrap: balance; }
.row__line { margin-top: var(--space-sm); max-width: 32ch; font-size: var(--text-lead); color: var(--ink-2); }
.row .label { margin-top: var(--space-md); color: var(--ink); }
.row .link { margin-top: var(--space-xs); }

.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-xl) var(--space-2xl); align-items: start; }
.story__text { display: grid; gap: var(--space-md); font-size: var(--text-lead); }
.story__text p { max-width: 44ch; }
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin-top: var(--space-3xl); }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-card); }

.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: center; margin-bottom: var(--space-3xl); color: inherit; text-decoration: none; }
.feature img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-card); }
.feature__title { display: block; margin-top: var(--space-sm); font-weight: 700; font-size: var(--text-section); line-height: 1.1; letter-spacing: var(--tracking-display); text-wrap: balance; }
.feature__dek { display: block; margin-top: var(--space-md); max-width: 36ch; font-size: var(--text-lead); color: var(--ink-2); }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); }
.post { display: grid; align-content: start; color: inherit; text-decoration: none; }
.post img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-card); margin-bottom: var(--space-md); }
.post__title { margin-top: var(--space-xs); font-weight: 700; font-size: var(--text-title); line-height: 1.2; letter-spacing: var(--tracking-title); text-wrap: balance; }
.post__dek { margin-top: var(--space-xs); color: var(--ink-2); }

.article { padding-block: var(--space-2xl) var(--section-gap); }
.article__in { max-width: calc(44rem + 2 * var(--gutter)); }
.article h1 { font-size: var(--text-page); line-height: 1.08; letter-spacing: var(--tracking-display); }
.article .lead { margin-top: var(--space-md); max-width: 40ch; color: var(--ink-2); }
.article .label { display: block; margin-bottom: var(--space-md); }
.article__by { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--ink-2); }
.article__by > * { white-space: nowrap; }
.article__by > * + *::before { content: "·"; margin-inline: 0.5em; }
.article__links { margin-top: var(--space-xl); font-weight: 600; }
.article__links { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-md); }
.article__links a { color: var(--hi); text-decoration: none; }
.article__links a:hover { text-decoration: underline; text-underline-offset: 0.3em; }
h2 + .posts { margin-top: var(--space-xl); }
.article__photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-card); margin-block: var(--space-xl); }
.prose { display: grid; gap: var(--space-md); font-size: 1.125rem; line-height: 1.65; }
.prose h2 { margin-top: var(--space-lg); font-size: var(--text-title); letter-spacing: var(--tracking-title); line-height: 1.2; max-width: none; }
.prose ul { display: grid; gap: var(--space-sm); margin: 0; padding-left: 1.1em; }
.prose p { max-width: none; text-wrap: pretty; }
.article .lead { text-wrap: pretty; }
.prose .chart { margin-block: var(--space-md); font-size: var(--text-md); line-height: 1.55; }
.prose .table { margin-block: var(--space-sm); font-size: var(--text-md); line-height: 1.5; }
.article__reads, .article__sources { margin-top: var(--space-xl); }
.article__reads h2, .article__sources h2 { font-size: var(--text-title); letter-spacing: var(--tracking-title); line-height: 1.2; }
.article__reads ul, .article__sources ul { display: grid; gap: var(--space-xs); margin: var(--space-md) 0 0; padding: 0; list-style: none; }
.article__reads a, .article__sources a { color: var(--hi); font-weight: 600; text-decoration: none; }
.article__reads a:hover, .article__sources a:hover, .article__who a:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.article__sources a { font-weight: 500; overflow-wrap: anywhere; }
.article__sources p { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--ink-2); }
.article__who a { color: inherit; text-decoration: none; }

/* ---------- diagrams ---------- */

/* the maturity steps: four rising fields of dashes */
.stairs { --dash: clamp(12px, 1.5vw, 22px); --gap: clamp(5px, 0.62vw, 9px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); align-items: start; margin: 0; padding: 0; list-style: none; }
.stairs__field { display: grid; grid-template-columns: repeat(10, 1fr); gap: var(--gap) 0; justify-items: start; align-content: end; height: calc(10 * var(--dash) + 9 * var(--gap)); margin-bottom: var(--space-lg); }
.stairs__field i { width: clamp(3px, 0.42vw, 6px); height: var(--dash); background: var(--ink); }
.stairs li.is-first .stairs__field i { background: var(--color-amber); }
.stairs p { margin-top: var(--space-2xs); color: var(--ink-2); }
.stairs .stairs__here { margin-top: var(--space-sm); color: var(--ink); font-weight: 700; }

/* today and after, row by row */
.fromto { display: grid; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.fromto li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xl); padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--rule); color: var(--ink-2); }
.fromto__to { position: relative; color: var(--ink); font-weight: 700; }
.fromto__to::before { content: ""; position: absolute; left: calc(-1 * var(--space-xl) + 6px); top: 0.72em; width: calc(var(--space-xl) - 18px); border-top: 2px solid var(--hi); }
.fromto__head { padding-block: var(--space-sm) !important; }

/* the build track: four phases, thirteen numbered steps */
.track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); margin-top: var(--space-xl); }
.track > div { padding-top: var(--space-md); border-top: 2px solid var(--ink); }
.track ol { display: grid; gap: var(--space-xs); margin: var(--space-md) 0 0; padding: 0; list-style: none; }
.track li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); align-items: baseline; color: var(--ink-2); }
.track li .label { color: var(--hi); }

/* seven separate tools, then one foundation */
.hub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xl); }
.hub__map { position: relative; aspect-ratio: 5 / 4; margin-top: var(--space-md); }
.hub__map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub__map svg path { stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.hub__map span { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 6px; font-weight: 600; font-size: var(--text-md); white-space: nowrap; }
.hub__map span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink); background: var(--bg, var(--color-paper)); }
.hub__panel--joined .hub__map span::before { background: var(--ink); }
.hub__map .hub__core { padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--bg, var(--color-paper)); font-weight: 700; }
.hub__map .hub__core::before { content: none; }

/* readiness: five pillars, five steps each */
.score { display: grid; margin: var(--space-md) 0 0; }
.score > div { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding-block: var(--space-sm); border-top: var(--rule-hair) solid var(--rule); }
.score dt { font-weight: 600; }
.score dd { display: flex; align-items: center; gap: var(--space-md); margin: 0; font-variant-numeric: tabular-nums; }
.score__steps { display: flex; gap: 4px; }
.score__steps i { width: 22px; height: 10px; background: var(--rule); }
.score__steps i.on { background: var(--hi); }

/* three measures of visibility, before and after */
.gauges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); margin: var(--space-2xl) 0 0; padding: 0; list-style: none; }
.gauges li { display: grid; gap: var(--space-xs); padding-top: var(--space-md); border-top: 2px solid var(--ink); color: var(--ink-2); }
.gauge__value { font-weight: 700; font-size: var(--text-page); line-height: 1; letter-spacing: var(--tracking-display); color: var(--ink); }
.gauge__bar { position: relative; height: 10px; margin-block: var(--space-xs); background: var(--tint); }
.gauge__bar::before, .gauge__bar::after { content: ""; position: absolute; inset: 0 auto 0 0; }
.gauge__bar::before { width: calc(var(--to) * 1%); background: var(--hi); }
.gauge__bar::after { inset: -5px auto -5px calc(var(--from) * 1%); width: 2px; background: var(--color-amber); }

/* a list of links, and one answer */
.thennow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); margin-top: var(--space-xl); }
.thennow__panel { display: grid; gap: var(--space-md); align-content: start; padding: var(--space-lg); background: var(--tint); }
.thennow__panel p:last-child { color: var(--ink-2); }
.thennow__list, .thennow__answer { display: grid; gap: 10px; }
.thennow__list i { height: 12px; width: 78%; background: var(--rule); }
.thennow__list i:nth-child(2n) { width: 62%; }
.thennow__answer { padding: var(--space-md); background: var(--bg, var(--color-paper)); }
.thennow__answer i { height: 12px; background: var(--rule); }
.thennow__answer i:last-child { width: 55%; }
.thennow__answer i.is-you { background: var(--color-amber); width: 70%; }

/* ---------- the contact form: filled fields, no boxes drawn around them ---------- */

.form { display: grid; gap: var(--space-lg); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) var(--gap-columns); }
.form__note { margin-top: var(--space-md); max-width: 30ch; color: var(--ink-2); }
.field { display: grid; gap: var(--space-xs); }
.field > span { font-weight: 700; }
.field i { margin-left: var(--space-xs); font-style: normal; font-weight: 400; font-size: var(--text-sm); color: var(--ink-2); }
.field :is(input, textarea, select) { width: 100%; min-height: 54px; padding: 14px var(--space-md); border: 0; border-bottom: 2px solid transparent; border-radius: var(--radius-card); background: var(--tint); color: var(--ink); font-size: var(--text-md); transition: background-color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out); }
.field textarea { min-height: 132px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field :is(input, textarea, select):hover { background-color: color-mix(in srgb, var(--color-sheet-ink) 8%, transparent); }
.field :is(input, textarea, select):focus-visible { outline: 0; border-bottom-color: var(--hi); background-color: color-mix(in srgb, var(--color-sheet-ink) 8%, transparent); }
.field.is-wrong :is(input, textarea, select) { border-bottom-color: oklch(55% 0.2 28); }
.field__error { font-size: var(--text-sm); font-weight: 600; color: oklch(48% 0.19 28); }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--space-sm); align-items: start; color: var(--ink-2); }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--color-accent); }
.check a { color: var(--ink); font-weight: 600; text-underline-offset: 0.25em; }
.check.is-wrong span { color: oklch(48% 0.19 28); }
.form .actions { margin-top: 0; }
.form .status { max-width: 44ch; font-weight: 600; color: var(--ink); }

/* a kind of text to jump to, on the blog index */
.jumps { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-xl); margin: 0 0 var(--space-xl); padding: 0; list-style: none; }
.jumps a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 700; font-size: var(--text-lead); text-decoration: none; }
.jumps a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.3em; }

/* we are hiring: one line and one button */
.hire { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) auto; gap: var(--space-lg) var(--space-2xl); align-items: center; }
.hire .lead { max-width: 36ch; }
.hire .actions { margin-top: 0; }

/* ---------- footer: two short rows ---------- */

.footer { padding-block: var(--space-lg); background: var(--color-paper-3); }
.footer__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-xs) var(--space-xl); align-items: center; }
.footer__list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 var(--space-lg); margin: 0; padding: 0; list-style: none; }
.footer__list a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.footer__list a:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.footer__list--small a { font-weight: 400; font-size: var(--text-sm); color: var(--color-ink-2); min-height: 36px; }
.footer__legal { font-size: var(--text-sm); color: var(--color-ink-2); }
.footer__meta { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-sm) var(--space-lg); }

/* ---------- smaller screens ---------- */

@media (max-width: 76rem) {
  .nav__menu { gap: 20px; }
  .nav__links { gap: 18px; }
  .steps--4, .figures--4, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board__row { grid-template-columns: 9.5rem minmax(0, 1fr) 7.5rem 8rem; }
  .board__row > :nth-child(5) { display: none; }
  .entry > div { grid-template-columns: minmax(0, 1fr); }
  .entry h3 { padding-top: 0; }
}
@media (max-width: 62rem) {
  .posters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid, .works, .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--photo, .pair, .story, .tools { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .stat__in, .pair--even, .hire { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .lanes__steps li { width: 21vw; }
  .stages, .paces--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail__title { font-size: 1.0625rem; }
  .cta__card { min-height: 420px; }
  .cta__art { inset: 56% 0 0; height: 44%; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .past { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event--lead { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
}
@media (max-width: 60rem) {
  :root { --section-gap: 64px; --nav-height: 60px; }
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 var(--space-md); background: transparent; color: var(--color-ink); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-card); font-weight: 600; cursor: pointer; }
  .js .nav__menu {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: var(--space-md); max-height: calc(100dvh - var(--nav-height)); overflow-y: auto;
    padding: var(--space-md) var(--gutter) var(--space-lg); background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out), visibility 0s linear var(--dur-short);
  }
  .js .nav.is-open .nav__menu { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .js .nav__links { flex-direction: column; gap: 0; }
  .lang a { min-height: 44px; min-width: 52px; }
  .js .nav__links a { min-height: 48px; font-size: var(--text-lead); color: var(--color-ink); }
  html:not(.js) .nav { position: static; }
  html:not(.js) .nav__toggle { display: none; }
  html:not(.js) .nav__in, html:not(.js) .nav__menu, html:not(.js) .nav__links { flex-wrap: wrap; gap: var(--space-sm) var(--space-md); padding-block: var(--space-xs); }

  .hero__in { padding-block: var(--space-2xl); }
  .hero__art { object-position: 70% 100%; }
  .hero__text { width: 100%; }
  .ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .ledger > div:nth-child(n + 3) { border-top: var(--rule-hair) solid var(--rule); }

  .head { padding-block: var(--space-xl) var(--space-2xl); }
  .head__in, .about, .case, .feature { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .feature { margin-bottom: var(--space-2xl); }
  .head--art { padding-bottom: 230px; }
  /* on a phone the illustration takes its own place under the words, centred, with air above and below */
  .head--poster { display: flex; flex-direction: column; min-height: 0; padding-bottom: var(--space-xl); }
  .head__ill { position: static; order: 2; align-self: center; width: min(78%, 340px); height: auto; margin-top: var(--space-lg); transform: none; }
  .head__art, .head--art .head__art { inset: auto 0 0; width: 100%; height: 190px; object-position: 50% 100%; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 45%); mask-image: linear-gradient(to bottom, transparent 0, #000 45%); }
  .frame, .split--photo .frame { justify-self: start; max-width: none; }
  .split--photo { gap: var(--space-xl); }
  .frame img { aspect-ratio: 4 / 3; }
  .wide { aspect-ratio: 3 / 2; }

  .gets > div { grid-template-columns: minmax(0, 1fr); }
  .figures, .steps, .steps--4, .figures--4, .strip { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .figures { margin-top: var(--space-2xl); }
  .figures--top { margin-top: 0; }
  .rows { gap: var(--space-2xl); }
  .catalog { gap: var(--space-2xl); }
  .catalog__group { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .catalog__head { position: static; }
  .catalog__head p { max-width: none; }
  .rail--3 .rail__art { top: 2%; width: 80%; }
  .row, .row:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .row:nth-child(even) > .row__media { order: 0; }
  .cta--photo .cta__photo { inset: auto 0 0; height: 62%; object-position: 72% 50%; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 32%); mask-image: linear-gradient(to bottom, transparent 0, #000 32%); }
  .cta--photo .cta__in { justify-content: flex-start; min-height: 520px; padding-top: var(--space-2xl); }
  .facts > div { grid-template-columns: 6rem minmax(0, 1fr); }
  .box { padding: var(--space-lg); }
  .gloss { grid-template-columns: minmax(0, 1fr); }
  .head--mark { min-height: 0; padding-bottom: 210px; }
  .head__mark { top: auto; bottom: 16px; right: var(--gutter); height: 170px; transform: none; }
  /* the four fields stay in one row; their names and lines are listed beneath, numbered */
  .stairs { --dash: 13px; --gap: 5px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 12px; counter-reset: stair; }
  .stairs li { display: contents; }
  .stairs__field { grid-row: 1; margin-bottom: var(--space-sm); }
  .stairs li:nth-child(1) .stairs__field { grid-column: 1; }
  .stairs li:nth-child(2) .stairs__field { grid-column: 2; }
  .stairs li:nth-child(3) .stairs__field { grid-column: 3; }
  .stairs li:nth-child(4) .stairs__field { grid-column: 4; }
  .stairs__field i { width: 3px; }
  .stairs h3, .stairs p { grid-column: 1 / -1; }
  .stairs h3 { margin-top: var(--space-lg); counter-increment: stair; }
  .stairs h3::before { content: counter(stair) "\00a0\00a0"; color: var(--ink-2); }
  .hub, .gauges, .thennow, .checks { grid-template-columns: minmax(0, 1fr); }
  /* the shelf becomes covers to swipe */
  .rail { height: auto; gap: var(--space-sm); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .rail__item, .rail__item.is-on { flex: 0 0 78%; scroll-snap-align: start; }
  .rail a { height: auto; aspect-ratio: 4 / 5; }
  .rail__spine { display: none; }
  .rail__item :is(.rail__art, .rail__open, .arrow) { opacity: 1; }
  .rail__item .rail__art { top: 2%; height: auto; width: 80%; transform: translateX(-50%); }
  .rail__open { left: var(--space-lg); right: var(--space-lg); bottom: var(--space-lg); width: auto; }
  /* on a phone the lanes are a banner and the steps a list */
  .band--lanes { padding-bottom: var(--section-gap); }
  .lanes { aspect-ratio: auto; margin-top: 0; }
  .lanes__art { position: static; display: block; width: 180%; margin: -44% 0 -30% -40%; }
  .lanes__steps { position: relative; inset: auto; display: grid; gap: var(--space-lg); padding-inline: var(--gutter); }
  .lanes__steps li { position: relative; left: auto; top: auto; width: auto; padding-left: var(--space-lg); }
  .lanes__steps li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 10px; background: var(--ink); }
  .paces, .paces--4 { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .paces li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); column-gap: var(--space-md); }
  .paces__no { grid-row: 1 / span 3; margin: 0; font-size: 3rem; }
  .paces li > :not(.paces__no) { grid-column: 2; }
  .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer { padding-block: var(--space-xl); }
  .footer__in { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand lang" "nav nav" "small small" "legal legal"; gap: var(--space-md) var(--space-md); }
  .footer .brand { grid-area: brand; }
  .footer__meta { display: contents; }
  .footer .lang { grid-area: lang; justify-self: end; }
  .footer__legal { grid-area: legal; }
  .footer__list { grid-area: nav; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--space-md); }
  .footer__list--small { grid-area: small; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: var(--space-sm); border-top: var(--rule-hair) solid oklch(40% 0.13 264); }
  .footer__list--small li:first-child { grid-column: 1 / -1; }
  .footer__list--small li:nth-last-child(-n + 2) { grid-column: span 2; }
  .head--case h1, .head--case .lead { max-width: none; }
  .tools__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fromto li { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .fromto__head { display: none !important; }
  .fromto__to::before { display: none; }

  /* tables and the timetable restack: each row becomes a labelled block */
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  tbody tr { display: grid; gap: var(--space-2xs); padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--rule); }
  tbody tr:first-child { border-top: 2px solid var(--ink); }
  tbody th, tbody td, tbody tr:first-child th, tbody tr:first-child td { display: block; padding: 0; border: 0; }
  tbody td[data-label]::before { content: attr(data-label); display: block; margin-top: var(--space-xs); font-family: var(--font-mono); font-size: var(--text-sm); letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink-2); }
  .board__row--head { display: none; }
  .board__row { grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-2xs) var(--space-md); }
  .board__row > :nth-child(2) { grid-column: 1 / -1; order: -1; }
  .board__row > :nth-child(5) { display: block; }
  .news li { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
}
@media (max-width: 40rem) {
  :root { --gutter: 20px; }
  .wordmark { font-size: 0.75rem; }
  .band__top { gap: var(--space-md) var(--space-lg); margin-bottom: var(--space-lg); }
  /* the four posters become one row to swipe */
  .posters { display: flex; gap: var(--space-sm); margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) var(--space-2xs); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .posters::-webkit-scrollbar { display: none; }
  .posters > li { flex: 0 0 74%; scroll-snap-align: start; }
  .catalog__list { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .offer { grid-template-columns: 88px minmax(0, 1fr); gap: var(--space-md); }
  .offer__name { font-size: 1.1875rem; }
  .shelf__tabs { flex-wrap: nowrap; gap: var(--space-2xs); }
  .shelf__tab { flex: 1 1 auto; justify-content: center; padding: 0 var(--space-xs); font-size: var(--text-sm); }
  .shelf__tab span { display: none; }
  .track { grid-template-columns: minmax(0, 1fr); }
  .hub__map span { font-size: 0.9375rem; padding: 3px 6px; }
  .poster { aspect-ratio: 4 / 5; }
  .posters--small .poster { aspect-ratio: 3 / 2; }
  .posters--small > li { flex-basis: 86%; }
  .grid, .grid--4, .works, .posts, .past { grid-template-columns: minmax(0, 1fr); }
  .works, .posts { gap: var(--space-xl); }
  .doors a { font-size: 1rem; gap: var(--space-xs); }
  .doors .icon { width: 24px; height: 24px; }
  .doors .arrow { display: none; }
  .room__in { min-height: 620px; padding-top: var(--space-xl); }
  .room__photo { object-position: 24% 100%; }
  .stages { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .stages li { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: var(--space-md); align-content: start; }
  .stages__art { grid-row: 1 / span 3; margin: 0; }
  .stages li > :not(.stages__art) { grid-column: 2; }
  .actions .btn { flex: 1 1 100%; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .chart--boxed .chart__row { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .chart--boxed .chart__track { height: 18px; }
  /* an article on a phone: less air above, one-line byline, the photograph edge to edge, one rhythm between blocks */
  .article { padding-top: var(--space-xl); }
  .article .crumb { margin-bottom: var(--space-sm); }
  .article__who { display: none; }
  .article__who + time::before { content: "·"; }
  .article__by { margin-top: var(--space-sm); }
  .article .lead { max-width: none; font-size: 1.125rem; line-height: 1.5; }
  .article__photo { width: calc(100% + 2 * var(--gutter)); max-width: none; margin-inline: calc(-1 * var(--gutter)); margin-block: var(--space-lg); border-radius: 0; aspect-ratio: 3 / 2; }
  .prose { gap: var(--space-sm); font-size: 1.0625rem; line-height: 1.6; }
  .prose h2 { margin-top: var(--space-md); }
  .article__links { margin-top: var(--space-lg); }
  .cta__card { min-height: 400px; }
  .cta__art { inset: 64% 0 0; height: 36%; }
}

/* Keep all three markers on the phone crop while the lanes remain edge to edge. */
@media (max-width: 40rem) {
  .band--lanes .lanes__art { margin-left: -45%; }
}

/* The third language retains a 44 px touch target, even on narrow phones. */
@media (max-width: 60rem) {
  .lang a { min-width: 44px; padding-inline: 8px; }
}
@media (max-width: 23.4375rem) {
  .footer__in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "brand" "lang" "nav" "small" "legal"; }
  .footer .lang { justify-self: start; }
}

@media (max-width: 27rem) {
  :lang(de) .footer__list:not(.footer__list--small) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :lang(de) .nav__in { gap: var(--space-2xs); }
  :lang(de) .nav__toggle { padding-inline: var(--space-xs); }
  :lang(de) .shelf__tabs { flex-wrap: wrap; }
  :lang(de) .score { grid-template-columns: minmax(0, 1fr); }
  :lang(de) .score > div, :lang(de) .score dd { gap: var(--space-xs); }
  :lang(de) .score dt { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
  :lang(de) .score__steps i { width: 12px; }
}
@media (max-width: 23.4375rem) {
  :lang(de) .article__by { display: flex; flex-wrap: wrap; gap: 0 .5em; }
  :lang(de) .article__by > * + *::before { content: none; }
}

/* The longer German navigation switches to the existing compact menu at tablet widths. */
@media (min-width: 60.001rem) and (max-width: 70rem) {
  html:lang(de) { --nav-height: 60px; }
  :lang(de) .nav__toggle {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
    padding: 0 var(--space-md); background: transparent; color: var(--color-ink);
    border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-card);
    font-weight: 600; cursor: pointer;
  }
  html:lang(de).js .nav__menu {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: var(--space-md);
    max-height: calc(100dvh - var(--nav-height)); overflow-y: auto; padding: var(--space-md) var(--gutter) var(--space-lg);
    background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out), visibility 0s linear var(--dur-short);
  }
  html:lang(de).js .nav.is-open .nav__menu { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  html:lang(de).js .nav__links { flex-direction: column; gap: 0; }
  html:lang(de).js .nav__links a { min-height: 48px; font-size: var(--text-lead); color: var(--color-ink); }
  html:lang(de):not(.js) .nav { position: static; }
  html:lang(de):not(.js) .nav__toggle { display: none; }
  html:lang(de):not(.js) :is(.nav__in, .nav__menu, .nav__links) {
    flex-wrap: wrap; gap: var(--space-sm) var(--space-md); padding-block: var(--space-xs);
  }
}

/* Give German compounds room in the existing grid and heading measure. */
:lang(de) :is(h1, h2, h3, .poster__name, .offer__name, .row__name, .post__title, .feature__title, .work__title, .doors a) {
  hyphens: auto;
  overflow-wrap: anywhere;
}
:lang(de) :is(.doors a, .meta a) { white-space: normal; }
:lang(de) :is(.work, .prose) { grid-template-columns: minmax(0, 1fr); }
:lang(de) .table :is(th, td) { white-space: normal; overflow-wrap: anywhere; hyphens: auto; }

/* ---- service exhibits (November 26) ---- */
.x { margin-top: var(--space-xl); }
.x-head { display: grid; gap: var(--space-md); }
.x-head p { max-width: 46ch; font-size: var(--text-lead); color: var(--ink-2); }
.x-cap { margin-top: var(--space-lg); }
.x-note { margin-top: var(--space-lg); max-width: 40ch; font-weight: 700; font-size: var(--text-lead); }
.x-pair { align-items: center; }
.x-pair .x-head { margin: 0; }
.x-dash { --dw: clamp(3px, 0.42vw, 6px); --dh: clamp(14px, 1.7vw, 24px); }
.x-dash i { display: block; flex: none; width: var(--dw); height: var(--dh); background: var(--rule); }
.x-dash i.on { background: var(--ink); }
.x-dash i.hi { background: var(--color-amber); }
.x-dash i.no { background: none; }
/* one enquiry over a day: a dash an hour */
.x-clock { display: grid; gap: var(--space-lg); }
.x-clock__row { display: grid; grid-template-columns: 6rem minmax(0, 1fr) minmax(0, 17rem); gap: var(--space-lg); align-items: center; }
.x-clock__line { display: grid; grid-template-columns: repeat(25, minmax(0, 1fr)); justify-items: start; }
.x-clock__row > p:last-child { color: var(--ink-2); }
.x-clock__row:nth-child(2) > p:last-child { color: var(--ink); font-weight: 700; }
.x-clock__axis { display: flex; justify-content: space-between; margin: calc(-1 * var(--space-sm)) calc(17rem + var(--space-lg)) 0 calc(6rem + var(--space-lg)); padding-top: var(--space-sm); border-top: var(--rule-hair) solid var(--rule); }
/* thirteen steps in four phases: a dash a step */
.x-track { --dh: clamp(40px, 4.6vw, 64px); --dw: clamp(6px, 0.7vw, 10px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); padding: 0; list-style: none; }
.x-track__dashes { display: flex; gap: clamp(10px, 1.4vw, 20px); margin-bottom: var(--space-lg); }
.x-track ul { display: grid; gap: var(--space-2xs); margin: var(--space-sm) 0 0; padding: 0; list-style: none; color: var(--ink-2); }
.x-track ul li.is-human { color: var(--color-amber); font-weight: 700; }
/* a sheet of paper on the blue: an answer, a company card, a morning briefing */
.x-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); align-items: start; }
.x-card { display: grid; gap: var(--space-md); padding: var(--space-lg); border-radius: var(--radius-card); }
.x-card dl { display: grid; gap: var(--space-md); margin: 0; }
.x-card dl > div { display: grid; gap: var(--space-2xs); }
.x-card dd { margin: 0; font-size: var(--text-lead); line-height: 1.4; }
.x-card dl > div:first-child dd { font-weight: 700; }
.x-card__top { padding-bottom: var(--space-sm); border-bottom: 2px solid var(--ink); color: var(--ink); }
.x-card__src, .x-card__flag { justify-self: start; padding: var(--space-2xs) var(--space-sm); background: var(--tint); color: var(--ink); }
.x-card__flag { background: var(--color-amber); color: var(--color-sheet-ink); }
.x-digest dl > div { padding-bottom: var(--space-md); border-bottom: var(--rule-hair) solid var(--rule); }
.x-digest dl > div:last-child { padding-bottom: 0; border-bottom: 0; }
.x-digest dl > div:first-child dd { font-weight: 400; }
.x-digest dl > div:last-child dd { font-weight: 700; }
.x-digest dt b { margin-left: var(--space-sm); padding: 1px var(--space-xs); background: var(--color-amber); color: var(--color-sheet-ink); font-weight: 500; }
/* a short conversation */
.x-chat { display: grid; gap: var(--space-md); padding: var(--space-lg); border-radius: var(--radius-card); }
.x-chat__top { padding-bottom: var(--space-sm); border-bottom: 2px solid var(--ink); color: var(--ink); }
.x-chat ol { display: grid; gap: var(--space-sm); margin: 0; padding: 0; list-style: none; }
.x-chat li { display: grid; gap: var(--space-2xs); justify-items: start; max-width: 86%; }
.x-chat li p { padding: var(--space-sm) var(--space-md); background: var(--tint); line-height: 1.4; }
.x-chat__out { justify-self: end; justify-items: end; }
.x-chat li.x-chat__out p { background: var(--color-sheet-ink); color: var(--color-sheet); }
.x-chat__done { justify-self: end; padding: var(--space-2xs) var(--space-sm); background: var(--color-amber); color: var(--color-sheet-ink); }
/* the same brief, two drafts */
.x-sample__text { font-size: var(--text-lead); line-height: 1.45; }
.x-sample:first-child .x-sample__text { color: var(--ink-2); }
.x-sample.thennow__panel--now .x-sample__text { color: var(--ink); font-weight: 600; }
/* a document with three passages marked */
.x-doc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: center; }
.x-doc__page { display: grid; gap: 12px; padding: var(--space-xl) var(--space-xl) var(--space-xl) calc(var(--space-xl) + 20px); border-radius: var(--radius-card); }
.x-doc__page i { position: relative; display: block; width: var(--w); height: 10px; background: var(--rule); }
.x-doc__page i.gap { height: 8px; background: none; }
.x-doc__page i.hi { background: var(--color-amber); }
.x-doc__page i b { position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); font: 500 var(--text-sm) / 1 var(--font-mono); font-style: normal; color: var(--ink); }
.x-doc__notes { display: grid; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; counter-reset: flag; }
.x-doc__notes li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 0 var(--space-sm); counter-increment: flag; }
.x-doc__notes li::before { content: counter(flag); grid-row: 1 / span 2; font-weight: 700; font-size: clamp(2rem, 2vw + 1rem, 3rem); line-height: 0.9; color: var(--color-amber); }
.x-doc__notes p { font-size: var(--text-lead); font-weight: 700; }
/* two timetables side by side */
.x-agenda { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--space-2xl); }
.x-agenda__sub { margin-top: var(--space-2xs); color: var(--ink-2); }
.x-agenda__rows { display: grid; margin: var(--space-md) 0 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.x-agenda__rows li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: var(--space-md); align-items: baseline; padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--rule); font-weight: 600; }
.x-agenda__rows .label { color: var(--ink); }
/* twelve months: a dash a month */
.x-gantt { --dh: clamp(22px, 2.4vw, 32px); display: grid; }
.x-gantt__row { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: var(--space-lg); align-items: center; padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--rule); }
.x-gantt__row p { font-weight: 600; }
.x-gantt__cells, .x-gantt__quarters { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); justify-items: start; }
.x-gantt__quarters span { grid-column: span 3; }
.x-gantt__top { padding-block: 0 var(--space-sm); border-bottom: 2px solid var(--ink); }
.x-gantt__row:last-child p { color: var(--color-amber); }
/* hours a week by task: a dash an hour */
.x-ledger { display: grid; margin-bottom: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.x-ledger li { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) 3.5rem minmax(0, 13rem); gap: var(--space-lg); align-items: center; padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--rule); }
.x-ledger__name { font-weight: 700; font-size: var(--text-lead); }
.x-ledger__dashes { display: flex; gap: clamp(8px, 1.3vw, 20px); }
.x-ledger__val { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.x-ledger__tag { color: var(--ink); }
.x-ledger li.is-human .x-ledger__tag { color: var(--color-amber); }
/* scores side by side */
.x-matrix { display: grid; margin-top: var(--space-md); }
.x-matrix__row { display: grid; grid-template-columns: minmax(5.6rem, 1fr) repeat(3, auto); gap: var(--space-sm); align-items: center; padding-block: var(--space-sm); border-top: var(--rule-hair) solid var(--rule); }
.x-matrix__top { border-top: 0; padding-top: 0; }
.x-matrix__top .label { color: var(--ink); }
.x-matrix__top .label.is-top { color: var(--color-amber); }
.x-matrix__name { font-weight: 600; }
.x-matrix .score__steps { gap: 3px; }
.x-matrix .score__steps i { width: 11px; height: 10px; }
.x-matrix__top .label { white-space: nowrap; }
.x-matrix__cell.is-top .score__steps i.on { background: var(--color-amber); }
/* routes: a generated plate with a line of text under each node; every heading starts at the first node */
.band[data-exhibit="route"] { overflow: clip; }
.route__text { margin-left: var(--x1); margin-right: var(--gutter); }
.lanes--route { margin-top: var(--space-md); }
.lanes--route .lanes__art { left: var(--pull); }
/* the steps follow the plate in the flow (each in the same grid cell, moved to its node), so the caption sits 48 px under them */
.lanes__steps.route__steps { position: relative; inset: auto; display: grid; margin: calc(-1 * (1 - var(--ly)) / var(--ratio) * 100% + var(--drop)) 0 0; padding: 0; list-style: none; }
.route__steps li { grid-area: 1 / 1; position: relative; left: auto; top: auto; margin-left: var(--x); width: min(15rem, max(15.8vw, 11rem), max(var(--lw, 99vw), 9.5rem)); }
.route__steps li.is-human h3 { color: var(--color-amber); }
.route .route__steps h3 { hyphens: manual; overflow-wrap: normal; word-break: normal; }
.route__steps .route__when { margin: 0 0 var(--space-2xs); color: var(--hi); }
.route .x-cap { margin-top: 48px; }
.lanes--route .lanes__clone { transform-origin: 100% 0; transform: scaleX(-4000); pointer-events: none; }   /* the lanes run on to the screen's edge */
/* one sample campaign in five formats: real crops of one photograph, packed into one rectangle */
.x-ads { position: relative; aspect-ratio: var(--ar); padding: 0; list-style: none; }
.x-ads-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: start; }
.x-ads-wrap > .x-ads { margin-top: 0; }
@media (max-width: 60rem) { .x-ads-wrap { grid-template-columns: minmax(0, 1fr); } .x-ads-wrap > .x-ads { margin-top: var(--space-xl); } }
.x-ad { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); overflow: hidden; container-type: inline-size; background: var(--tint); list-style: none; }
.x-ad img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.x-ad__text { position: absolute; left: 7cqw; top: 6.5cqw; right: 5cqw; display: grid; gap: 0.5em; }
.x-ad__tag { margin: 0; color: #faf5eb; white-space: nowrap; }
.x-ad__tag span { margin-right: 0.6em; opacity: 0.72; }
.x-ad__tag b { font-weight: inherit; }
.x-ad__msg { margin: 0; font-weight: 700; font-size: max(0.875rem, 12.5cqw); line-height: 0.94; letter-spacing: -0.03em; color: #faf5eb; }
.x-ad--16x9 .x-ad__text, .x-ad--191x100 .x-ad__text { left: 5cqw; top: 3.8cqw; }
.x-ad--16x9 .x-ad__msg, .x-ad--191x100 .x-ad__msg { font-size: max(0.875rem, 5.2cqw); }
.x-ad--1x1 .x-ad__msg { font-size: max(0.875rem, 11cqw); }
.x-ad__play { position: absolute; left: 5cqw; bottom: 6cqw; width: 0; height: 0; border-style: solid; border-width: 1.9cqw 0 1.9cqw 3.1cqw; border-color: transparent transparent transparent #faf5eb; }
@container (max-width: 8.5rem) { .x-ad__tag b { display: none; } }
/* campaign testing: the same ad with three lines, and how each group took it */
.x-variants { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); padding: 0; list-style: none; }
.x-variant { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); column-gap: var(--space-md); align-content: start; }
.x-variant__ad { grid-row: 1 / span 2; margin: 0; padding: 0; }
.x-variants .x-ad { position: relative; left: auto; top: auto; width: auto; height: auto; aspect-ratio: 4 / 5; }
.x-variant__note { grid-column: 2; margin: 0 0 var(--space-xs); color: var(--ink); white-space: normal; }
.x-variant__rows { grid-column: 2; }
.x-variant__row > span:first-child { white-space: nowrap; }
@media (min-width: 47.5rem) and (max-width: 75rem) { .x-variant__row > span:first-child { white-space: normal; } }
@media (min-width: 47.5rem) and (max-width: 75rem) { .x-variant { grid-template-columns: minmax(0, 1fr); } .x-variant__ad { grid-row: auto; } .x-variant__note, .x-variant__rows { grid-column: 1; } .x-variant__note { margin-top: var(--space-sm); } }
.x-variants .x-ad__msg { font-size: max(0.875rem, 11cqw); }
.x-variant__row { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2xs); padding-block: var(--space-xs); border-top: 1px solid var(--rule); }
.x-variant__row:last-child { border-bottom: 1px solid var(--rule); }
.x-variants .score__steps { gap: 4px; }
.x-variants .score__steps i { width: 24px; height: 16px; }
.x-variant__row > span:first-child { font-size: 1.0625rem; }
@media (max-width: 75rem) { .x-variants .score__steps i { width: 18px; height: 13px; } }
.x-variant.is-top .score__steps i.on { background: var(--ink); }
/* content models: one product, one brief, two drafts */
/* content models: two webshop listings of the same product, the draft set in each */
.x-drafts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); padding: 0; list-style: none; }
.x-drafts .x-ad { position: relative; left: auto; top: auto; width: auto; height: auto; aspect-ratio: 16 / 9; }
.x-drafts .x-ad__text { left: 5cqw; top: 4.6cqw; right: 8cqw; gap: 2.4cqw; }
.x-drafts .x-ad__tag { font-size: max(0.875rem, 2.1cqw); opacity: 0.8; }
.x-drafts .x-ad__msg { font-size: max(1rem, 4cqw); line-height: 1.02; }     /* card 4: the tuned draft is as large as the generic one */
@media (max-width: 60rem) { .x-drafts { grid-template-columns: minmax(0, 1fr); } }
.x-drafts .is-ours .x-ad__tag { opacity: 1; }
.x-listing { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-xl) var(--gap-columns); align-items: center; }
.x-listing img { width: 100%; height: auto; }
.x-listing__text { display: grid; gap: var(--space-xs); }
.x-listing__brief { font-weight: 700; font-size: var(--text-lead); }
.x-listing__draft { display: grid; gap: var(--space-xs); margin-top: var(--space-md); padding-top: var(--space-md); border-top: 1px solid var(--rule); }
.x-listing__copy { max-width: 44ch; color: var(--ink-2); font-size: var(--text-lead); }
.x-listing__draft.is-ours .label { color: var(--ink); }
.x-listing__draft.is-ours .x-listing__copy { color: var(--ink); font-weight: 700; font-size: clamp(1.25rem, 0.9vw + 1rem, 1.75rem); line-height: 1.25; }
/* a large scoreboard: three candidates against the same criteria */
.x-board { --sq: clamp(14px, 1.9vw, 28px); }
.x-board__row { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 3fr)); gap: var(--gap-columns); align-items: center; padding-block: var(--space-md); border-top: 1px solid var(--rule); }
.x-board__row:last-child { border-bottom: 1px solid var(--rule); }
.x-board__top { align-items: end; border-top: 0; }
.x-board__head { display: grid; gap: var(--space-2xs); }
.x-board__head b { font-size: clamp(3rem, 3.4vw + 1.5rem, 5rem); line-height: 0.9; letter-spacing: -0.04em; font-variant-numeric: lining-nums; }
.x-board__head.is-top b { color: var(--color-amber); }
.x-board__name { font-weight: 700; font-size: var(--text-lead); }
.x-board .score__steps { gap: calc(var(--sq) * 0.28); }
.x-board .score__steps i { width: var(--sq); height: var(--sq); }
.x-board__cell.is-top .score__steps i.on { background: var(--color-amber); }
.x-board--one .x-board__row { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) minmax(0, 2fr); }
.x-board--one { --sq: clamp(18px, 2.6vw, 38px); }
.x-board__score { justify-self: end; color: var(--ink); }
/* AI search: the list of links then, the one answer now */
.x-search .x-card { align-self: stretch; align-content: start; }
.x-search__q { color: var(--ink-2); }
.x-search__list { display: grid; margin: 0; padding: 0; list-style: none; }
.x-search__list li { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-md); padding-block: var(--space-sm); border-top: 1px solid var(--rule); }
.x-search__list li.is-you { font-weight: 700; }
.x-search__list li.is-you > span:first-child::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 0.6em; background: var(--color-amber); }
.x-search__list .label { color: var(--ink-2); white-space: nowrap; }
.x-search__answer { font-weight: 700; font-size: clamp(1.25rem, 0.7vw + 1rem, 1.625rem); line-height: 1.3; }
.x-search__note { color: var(--ink-2); }
/* one visual in five formats */
.x-frames { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--space-lg) var(--gap-columns); padding: 0; list-style: none; }
.x-frames li { display: grid; gap: var(--space-2xs); width: min-content; }
.x-frame { --fh: clamp(96px, 11.4vw, 164px); position: relative; display: block; width: calc(var(--fh) * var(--r)); height: var(--fh); margin-bottom: var(--space-sm); overflow: hidden; background-color: var(--tint);
  background-image: linear-gradient(to bottom, transparent 0 14px, var(--frame-gap, #2a27ff) 14px 22px), linear-gradient(to right, var(--rule) 0 4px, transparent 4px 13px); background-size: 100% 22px, 13px 100%; }
.x-frame i { position: absolute; left: 12%; bottom: 12%; width: 46%; height: 9px; background: var(--ink); }
.x-frame b { position: absolute; right: 14%; top: 16%; width: calc(var(--fh) * 0.2); height: calc(var(--fh) * 0.2); background: var(--color-amber); }
.x-frame__name { font-weight: 700; }
/* an article's text column never grows wider than the page, whatever a table inside it needs */
.prose { grid-template-columns: minmax(0, 1fr); }
.prose .table { overflow-x: auto; }
/* how a claim spreads: columns of dashes */
.x-spread { --dh: clamp(12px, 1.5vw, 20px); display: grid; gap: var(--space-sm); }
.x-spread__cols, .x-spread__axis { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); }
.x-spread__cols { align-items: end; height: calc(9 * var(--dh) + 8 * 7px); }
.x-spread__cols span { display: flex; flex-direction: column-reverse; gap: 7px; }
.x-spread__axis { padding-top: var(--space-sm); border-top: var(--rule-hair) solid var(--rule); }
.x-spread__axis .is-hi { color: var(--color-amber); }
@media (max-width: 76rem) {
  .x-matrix .score__steps i { width: 8px; }
  .x-matrix__name { font-size: var(--text-sm); }
  /* the services catalogue: the group name moves above its six services, so long names keep their room */
  .catalog__group { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .catalog__head { position: static; }
  .catalog__head p { max-width: none; }
}
@media (max-width: 60rem) {
  .x-clock__row { grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); }
  .x-clock__axis { margin-inline: 0; display: none; }
  .x-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .x-doc, .x-agenda, .x-cards { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .x-ledger li { grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-xs) var(--space-md); }
  .x-ledger__dashes { grid-column: 1 / -1; grid-row: 2; }
  .x-ledger__tag { grid-column: 1 / -1; grid-row: 3; }
  .x-ledger__val { grid-row: 1; grid-column: 2; }
  .x-gantt__row { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
  .x-gantt__top p { display: none; }
}
@media (max-width: 47.5rem) {
  .route__text { margin-inline: var(--gutter); }
  .lanes--route .lanes__art { position: static; display: block; width: 100%; height: auto; margin: 0 0 var(--space-lg); aspect-ratio: var(--mar); object-fit: cover; object-position: 50% var(--oy); }
  .lanes--route .lanes__art.lanes__clone { display: none; }   /* after the rule above and more specific: the clone is a .lanes__art too */
  .lanes__steps.route__steps { margin: 0 var(--gutter); }       /* the list keeps the page gutter on both sides, squares inside it */
  .route__steps li { grid-area: auto; margin-left: 0; width: auto; }
  .route__steps li.is-human::before { background: var(--color-amber); }
  .route .x-cap { margin-top: var(--space-xl); }
  .x-variants { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .x-variant { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: var(--space-md); align-content: start; }
  .x-variant__ad { grid-row: 1 / span 3; margin: 0; }
  .x-variants .x-ad { width: auto; }
  .x-variant__note { margin: 0 0 var(--space-xs); }
  .x-variant__row { flex-direction: column; align-items: flex-start; gap: var(--space-2xs); padding-block: var(--space-xs); }
  .x-variant__row > span:first-child { white-space: nowrap; }
  .x-variants .score__steps { gap: 5px; }
  .x-variants .score__steps i { width: 16px; height: 12px; }
  .x-drafts { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .x-drafts .x-ad { aspect-ratio: 1; }
  .x-board__row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xs) var(--space-md); }
  .x-board__name { grid-column: 1 / -1; }
  .x-board__top > span:first-child { display: none; }
  .x-board--one .x-board__row { grid-template-columns: minmax(0, 1fr) auto; }
  .x-board--one .x-board__name { grid-column: 1 / -1; }
  .x-board--one .x-board__top > span:first-child { display: block; grid-column: 1 / -1; }
}
@media (max-width: 40rem) {
  .x-ads { aspect-ratio: var(--mar); }
  .x-ads .x-ad--4x5, .x-ads .x-ad--191x100 { display: none; }
  .x-ad { left: var(--mx); top: var(--my); width: var(--mw); height: var(--mh); }
  .x-frames { gap: var(--space-md); }
  .x-frame { --fh: 84px; }
  .x-chat li { max-width: 92%; }
  .x-spread__axis { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .x-spread__axis span { grid-column: auto !important; text-align: left !important; }
  .x-matrix__row { gap: var(--space-xs); }
  .x-matrix__name { font-size: var(--text-sm); overflow-wrap: anywhere; }
  .x-pair .box { padding: var(--space-lg); }
  .x-matrix .score__steps i { width: 7px; }
  .x-matrix__top .label { font-size: 0.875rem; }
  .x-doc__page { padding: var(--space-lg) var(--space-lg) var(--space-lg) calc(var(--space-lg) + 18px); }
  .x-agenda__rows li { grid-template-columns: 5.25rem minmax(0, 1fr); }
}
/* round 4: a plate exhibit, sized to the 1200 px text column, with a few labels in its empty blue beside the marks they name */
.band[data-exhibit="figure"] { overflow: clip; }
.band[data-flush] { padding-top: 0; }
.fig { --k: var(--k0); --dx: var(--dx0); --cw: min(100%, var(--container)); --g0: calc((100% - var(--cw)) / 2); --ox: calc(var(--g0) + var(--dx) * var(--cw)); --gap: max(1.2vw, 14px); --mt0: var(--space-xl);
  display: grid; grid-template-columns: minmax(0, 1fr); overflow-x: clip; }
@media (max-width: 75rem) and (min-width: 47.51rem) { .fig--full { --k: max(1, var(--k0)); --dx: var(--dxs); } }
.fig--flush { --mt0: 0px; }
/* labels set above their marks reach up past the plate's top: the plate moves down far enough that they clear a heading above it */
.fig--lift-top { --mt0: max(var(--space-xl), var(--lift)); }
@media (max-width: 75rem) { .fig--lift-in { --mt0: max(var(--space-xl), var(--lift)); } }
.fig--anchor { --ox: 0px; }     /* the drawing's own left edge sits on the screen's edge at every width */
.fig > * { grid-column: 1; min-width: 0; }
.fig > .container { grid-row: 1; }
.fig > .fig__foot { grid-row: 3; }
.fig__stage { grid-row: 2; position: relative; width: calc(var(--cw) * var(--k)); margin: var(--mt0) 0 0 var(--ox); aspect-ratio: var(--ratio); }
.fig__crop { position: absolute; inset: 0; }
.fig__art { position: absolute; left: 0; top: var(--shift); width: 100%; height: auto; max-width: none; }
.fig__edge { position: absolute; top: var(--shift); height: calc(100% / var(--span)); width: 100vw; background-repeat: repeat-x; background-size: auto 100%; }
.fig__edge.is-l { right: calc(100% - 1px); }
.fig__clone, .fig__ext { position: absolute; left: 0; top: var(--shift); width: 100%; height: auto; max-width: none; pointer-events: none; }
.fig__clone { transform: scaleX(-4000); }     /* mirrored about the plate's own edge: only its outermost column is seen */
.fig__clone.is-l { transform-origin: 0 0; }
.fig__clone.is-r { transform-origin: 100% 0; }
.fig__ext { left: auto; right: 100%; }
.fig__crop { container-type: inline-size; }
.fig__run { position: absolute; top: var(--shift); height: calc(100% / var(--span)); left: calc(var(--p) * 100%); width: 100vw; overflow: hidden; pointer-events: none; }
.fig__runimg { position: absolute; top: 0; left: calc(-1 * var(--p) * 100cqw); width: 100cqw; height: auto; max-width: none;
  transform-origin: calc(var(--c) * 100cqw) 0; transform: scaleX(-4000); }
.fig__in { grid-row: 2; position: relative; z-index: 1; align-self: start; width: calc(var(--hw) * var(--cw)); margin: calc(var(--mt0) + var(--hy) * var(--k) * var(--cw)) 0 0 calc(var(--ox) + var(--hx) * var(--k) * var(--cw)); }
.fig__in.is-mid { transform: translateY(-50%); }
.fig .x-head h2 { max-width: 24ch; hyphens: manual; }
.fig__in .x-head h2 { max-width: none; text-wrap: balance; }
.fig__foot.is-at { max-width: none; margin: 0; padding-left: calc(var(--ox) + var(--fx) * var(--k) * var(--cw)); }     /* the caption starts under a label, clear of the art */
.fig__labels { display: contents; }
.fig__labels > li { grid-column: 1; list-style: none; }
.fig__label { --ax: calc(var(--ox) + var(--lx) * var(--k) * var(--cw)); --lyk: calc(var(--ly) * var(--k) * var(--cw)); --w0: var(--w, calc(0.22 * var(--cw)));
  grid-row: 2; align-self: start; justify-self: start; position: relative; width: max-content;
  max-width: min(var(--w0), calc(var(--g0) + var(--cw) - var(--gutter) - var(--ax)));
  margin: calc(var(--mt0) + var(--lyk)) 0 0 var(--ax); transform: translate(var(--tx, 0), var(--ty, 0)); }
.fig__label.is-grid { --ax: calc(var(--g0) + var(--gutter)); }
.fig__label.is-below { margin-top: calc(var(--mt0) + var(--lyk) + var(--gap)); }
.fig__label.is-above { margin-top: calc(var(--mt0) + var(--lyk) - var(--gap)); --ty: -100%; }
.fig__label.is-right { margin-left: calc(var(--ax) + var(--gap)); --ty: -50%; max-width: min(var(--w0), calc(var(--g0) + var(--cw) - var(--gutter) - var(--ax) - var(--gap))); }
.fig__label.is-left { margin-left: calc(var(--ax) - var(--gap)); --tx: -100%; --ty: -50%; text-align: right; max-width: min(var(--w0), calc(var(--ax) - var(--gap) - var(--g0) - var(--gutter))); }
.fig__label:is(.is-right, .is-left).is-top { --ty: -0.9em; }     /* the first line level with the mark, the rest below it */
.fig__label:is(.is-below, .is-above).is-mid { --tx: -50%; text-align: center; max-width: var(--w0); }
.fig__label:is(.is-below, .is-above).is-end { --tx: -100%; text-align: right; max-width: min(var(--w0), calc(var(--ax) - var(--g0) - var(--gutter))); }
.fig__lane { display: none; }
.fig__col { --ax: calc(var(--ox) + var(--lx) * var(--k) * var(--cw)); grid-row: 2; align-self: start; justify-self: start; position: relative; height: 0;
  width: min(var(--w), calc(var(--g0) + var(--cw) - var(--gutter) - var(--ax) - var(--gap)));
  margin: calc(var(--mt0) + var(--ly) * var(--k) * var(--cw)) 0 0 calc(var(--ax) + var(--gap)); }
.fig__colin { position: absolute; left: 0; bottom: 0; width: 100%; display: grid; gap: 32px; }     /* grows upward from its mark */
.fig .fig__colin > .fig__label { margin: 0; transform: none; max-width: none; width: auto; grid-row: auto; }
@media (max-width: 60rem) { h2 + .stairs { margin-top: 32px; } }   /* the Academy's bars clear its heading on a phone */
.fig .fig__label h3, .fig .x-cap, .route__steps h3 { text-wrap: pretty; }
.fig .fig__label h3 { font-size: clamp(1.125rem, 0.5vw + 0.95rem, 1.375rem); hyphens: manual; overflow-wrap: normal; }
.fig__label p { margin-top: var(--space-2xs); color: var(--ink-2); text-wrap: balance; }
.fig__label .fig__when { margin: 0 0 var(--space-2xs); color: var(--hi); }
.fig__label.is-human :is(h3, p:not(.fig__when)) { color: var(--color-amber); }
.fig .x-cap { margin-top: 48px; }
@media (max-width: 75rem) and (min-width: 47.51rem) {
  .fig__in.is-stacked .x-head h2 { max-width: 24ch; }
  .fig__in.is-stacked { grid-row: 1; width: auto; transform: none; margin: 0; padding-inline: calc(var(--g0) + var(--gutter)) var(--gutter); }
}
@media (max-width: 47.5rem) {
  .band[data-flush] { padding-top: var(--section-gap); }
  .fig { display: block; }
  .fig__in, .fig__in.is-mid { width: auto; transform: none; margin: 0; padding-inline: var(--gutter); }
  .fig__stage { width: auto; margin: var(--space-lg) 0 0; aspect-ratio: auto; }
  .fig__crop { position: relative; inset: auto; aspect-ratio: var(--mar); overflow: hidden; }
  .fig__art { left: var(--mx); top: var(--my); width: var(--mw); }
  .fig__edge, .fig__clone, .fig__ext, .fig__run { display: none; }
  .fig .fig__foot.is-at { padding-left: var(--gutter); }
  .fig__labels { display: grid; gap: var(--space-lg); margin: var(--space-lg) 0 0; padding: 0 var(--gutter); list-style: none; }
  .fig .fig__labels .fig__label { grid-row: auto; grid-column: auto; margin: 0; width: auto; max-width: none; transform: none; text-align: left; padding-left: var(--space-lg); }
  .fig__label::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; background: var(--ink); }
  .fig__label.is-human::before { background: var(--color-amber); }
  .fig .fig__labels :is(.fig__col, .fig__colin) { display: contents; }
  .fig .fig__labels .fig__lane { display: block; padding-left: 0; }
  .fig .fig__lane::before { content: none; }
  .fig .fig__lane:not(:first-child) { margin-top: var(--space-md); }
  .fig .x-cap { margin-top: var(--space-xl); }
}
