/* Hallmark · shape: a section through the ground, read from the surface down to bedrock · genre: modern-minimal · theme: custom · job: hire · idea: "Auckland and the Deccan both stand on lava laid over older rock; Trippl lays one AI layer over the systems a bank already runs, without digging them up" · vibe: "survey sheet, layered ground, sober, exact"
 * paper: oklch(95.5% 0.007 110) · accent: oklch(52% 0.2 352) · display: Clash Grotesk · body: Switzer · hero: custom, the head top left over a full-width section diagram · nav: logo left, four links and the email as plain text right, no button · footer: bedrock band, the closing line over the email, then logo, address and legal links · imagery: client photographs (four team portraits, one workshop) and a labelled section diagram of the stack · signature: the unconformity, one flat magenta layer laid across tilted legacy and modern beds
 * axes: light/grotesk-heavy/chromatic-magenta · posture: full-palette (grounds ash, sandstone, scoria and basalt descend with the page; magenta is the AI layer and nothing else) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V5 · weakest: H and R, the magenta band section risks shouting; kept it to one section and tinted the upper beds pale */
/* Hallmark · finish-review: subagent · 8 findings · 7 resolved 1 partial (process steps kept as a staircase, boxes shortened, the Deccan Traps reading is the reason) · sloplint: 0 FAIL 0 REFLEX */
/* Hallmark · dismissed 23 · posture is full-palette; the magenta fill is the AI layer itself, a declared field in the hero diagram and one section */
/* Hallmark · dismissed 58 · the 1440 windows count one-to-three-word diagram labels and a figure caption beside the head; no running paragraph passes two sentences */
/* Hallmark · dismissed 46a · 70% and every other figure come from the client content file (content.ts), labelled as in the source */
/* Hallmark · waive 59 · work.html is one list of five full-bleed case bands, parted by a paper change and a hairline · each case is a stratum, so the strata seams separate the work index */
/* Hallmark · waive 49b · contact.html article links are the full titles of three published articles · the titles are the client’s own and shortening them would misquote the article */
/* Hallmark · waive 77 · process.html indents each step band a little further than the last, so Deliver measures 70% wide · the indent is the rising stair of the process, and the band holds five rows of points */
/* Hallmark · dismissed 25 · the two flagged measures are one and two sentence ledes, legal from 28ch */
@import url("./tokens.css");
@import url("./base.css");

:root {
  --text-hero: clamp(2.6rem, 4.6vw + 0.6rem, 5.5rem);
  --text-figure: clamp(5.5rem, 13vw, 12rem);
  --text-figure-s: clamp(3rem, 5vw, 4.5rem);
  --text-section: clamp(2.25rem, 3vw + 1rem, 4rem);
  --text-verb: clamp(2.25rem, 3.4vw + 0.5rem, 4.25rem);
  --nav-h: 76px;
  --dia-h: clamp(150px, 15vw, 210px);
}

body { font-size: 1.0625rem; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.02em; line-height: 1.02; }
h2 { font-size: var(--text-section); max-width: 18ch; }
.num { font-variant-numeric: tabular-nums lining-nums; }

.skip { position: absolute; left: var(--space-md); top: var(--space-md); z-index: var(--z-tooltip); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-pale); transform: translateY(-200%); }
.skip:focus-visible { transform: none; }

/* ---------- Header ---------- */
.top { background: var(--ground-1); }
.top__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: var(--nav-h); }
.logo { display: inline-flex; color: var(--color-ink); padding-block: var(--space-xs); }
.logo svg { width: 128px; height: auto; }
.logo:focus-visible, .links a:focus-visible, .menu-btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-xl); }
.links a { text-decoration: none; font-size: 0.9375rem; white-space: nowrap; color: var(--color-ink); padding-block: var(--space-xs); background-image: linear-gradient(var(--color-ink), var(--color-ink)); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size var(--dur-short) var(--ease-out); }
.links a:hover { background-size: 100% 1px; }
.links__mail { font-weight: 600; }
.menu-btn { display: none; min-height: 44px; padding: 0 var(--space-md); border: 1px solid var(--color-ink); background: transparent; color: var(--color-ink); border-radius: var(--radius-card); cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.menu-btn:hover { background: var(--color-ink); color: var(--color-pale); }
.menu-btn:active { transform: translateY(1px); }
.menu-btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }

/* ---------- Strata column (fixed page key) ---------- */
.column { position: fixed; right: var(--space-md); top: 50%; transform: translateY(-50%); z-index: var(--z-sticky); display: none; }
.column ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.column a { display: block; width: 12px; height: 30px; background: var(--c); border-inline: 1px solid var(--color-ink); border-top: 1px solid var(--color-ink); transform-origin: right center; transition: transform var(--dur-short) var(--ease-out); }
.column li:last-child a { border-bottom: 1px solid var(--color-ink); }
.column a:hover { transform: scaleX(1.5); }
.column a[aria-current="true"] { transform: scaleX(2); }
.column a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
@media (min-width: 90rem) { .column { display: block; } }

/* ---------- Hero ---------- */
.hero { background: var(--ground-1); padding-block: var(--space-xl) var(--space-xl); }
.hero__inner { display: grid; gap: var(--space-lg); }
.hero h1 { font-size: var(--text-hero); max-width: 14em; line-height: 0.98; letter-spacing: -0.03em; }
.hero__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md) var(--space-xl); }
.hero__lede { font-size: var(--text-lead); max-width: 40ch; color: var(--color-ink-2); line-height: 1.45; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); background: var(--color-ink); color: var(--color-pale); text-decoration: none; font-weight: 600; white-space: nowrap; border-radius: var(--radius-card); transition: background-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-accent); color: var(--color-accent-ink); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.textlink { font-weight: 600; white-space: nowrap; color: var(--color-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; padding-block: var(--space-sm); transition: color var(--dur-micro) var(--ease-out); }
.textlink:hover { color: var(--color-accent); }
.textlink:active { color: var(--color-ink-2); }
.textlink:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }

/* The section diagram: tilted beds cut flat, one layer laid across both */
.dia { margin: 0; margin-top: var(--space-sm); }
.dia__people { padding: var(--space-xs) var(--space-md); background: var(--color-paper-2); color: var(--color-ink-2); font-size: 0.9375rem; border-top: 1px solid var(--color-ink); }
.dia__ai { position: relative; display: flex; align-items: center; min-height: 64px; padding: var(--space-sm) var(--space-md); color: var(--color-accent-ink); font-size: 1.0625rem; }
.dia__ai-fill { position: absolute; inset: 0; background: var(--color-accent); transform-origin: left center; animation: flow 1.1s var(--ease-out) 0.15s both; }
.dia__ai-text { position: relative; animation: settle 0.5s var(--ease-out) 0.85s both; }
.dia__ai-text strong { font-weight: 600; margin-right: var(--space-xs); }
@keyframes flow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes settle { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.dia__ground { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); height: var(--dia-h); border-top: 2px solid var(--color-ink); border-bottom: 1px solid var(--color-ink); }
.dia__block { position: relative; overflow: hidden; container-type: inline-size; }
.dia__block--legacy { border-right: 2px solid var(--color-ink); }
.dia__beds { list-style: none; margin: 0; padding: 0; position: absolute; left: -25%; width: 150%; top: calc(-5.5cqw - 6px); }
.dia__block--legacy .dia__beds { transform: rotate(-7deg); }
.dia__block--modern .dia__beds { transform: rotate(5deg); top: calc(-6.5cqw - 6px); }
.dia__block--modern .dia__beds::before { content: ""; display: block; height: 10cqw; background: var(--rock-mud); border-bottom: 1px solid var(--color-ink); }
.dia__beds li { display: flex; align-items: center; height: calc(var(--dia-h) / 4); padding-left: 20%; background: var(--b); color: var(--t); font-size: 0.9375rem; font-weight: 600; white-space: nowrap; border-bottom: 1px solid var(--color-ink); }
.dia__beds::after { content: ""; display: block; height: 160px; background: var(--rock-mud); }
.dia__block--modern .dia__beds li { padding-left: 23%; }
.dia__cap { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--space-md); padding-top: var(--space-xs); font-size: 0.875rem; color: var(--color-muted); }
.dia__cap span:first-child, .dia__cap span:last-child { font-weight: 600; color: var(--color-ink); }
.dia__cap span:last-child { text-align: right; }

/* ---------- Inside the layer ---------- */
.layer { background: var(--layer-1); padding-block: var(--section-gap-s) 0; }
.layer__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: end; padding-bottom: var(--space-2xl); }
.layer__head p { font-size: var(--text-lead); color: var(--color-ink-2); max-width: 34ch; }
.layer__beds { list-style: none; margin: 0; padding: 0; margin-inline: calc(var(--gutter) * -1); }
.layer__beds li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: center; padding: var(--space-xl) var(--gutter); border-top: 1px solid var(--color-ink); }
.layer__beds li:nth-child(1) { background: var(--layer-2); }
.layer__beds li:nth-child(2) { background: var(--layer-3); }
.layer__beds li:nth-child(3) { background: var(--layer-4); }
.layer__beds li:nth-child(4) { background: var(--layer-5); color: var(--color-accent-ink); padding-block: var(--space-2xl); }
.layer__beds h3 { font-size: var(--text-verb); }
.layer__beds p { font-size: var(--text-lead); max-width: 40ch; }

/* ---------- Work ---------- */
.work { background: var(--ground-2); padding-block: var(--section-gap-s); border-top: 2px solid var(--color-ink); }
.work__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); margin-top: var(--space-2xl); }
.case { display: grid; align-content: start; gap: var(--space-xs); }
.case--lead { position: sticky; top: var(--space-2xl); align-self: start; }
.case__fig { font-family: var(--font-display); font-weight: 500; font-size: var(--text-figure-s); line-height: 1; letter-spacing: -0.03em; }
.case--lead .case__fig { font-size: var(--text-figure); letter-spacing: -0.045em; line-height: 0.85; margin-bottom: var(--space-md); }
.case__label { max-width: 36ch; }
.case--lead .case__label { font-size: var(--text-lead); max-width: 30ch; }
.case h3 { font-size: var(--text-title); margin-top: var(--space-lg); }
.case__sector { font-size: 0.9375rem; color: var(--color-muted); }
.work__rest { display: grid; gap: var(--space-xl); }
.work__rest .case { padding-top: var(--space-lg); border-top: 1px solid var(--color-ink); }

/* ---------- Services, as a map key ---------- */
.services { background: var(--ground-3); padding-block: var(--section-gap-s); }
.services__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: start; }
.legend { margin: 0; margin-top: var(--space-2xl); display: grid; gap: var(--space-lg); }
.legend div { display: grid; gap: var(--space-2xs); padding-top: var(--space-md); border-top: 1px solid var(--color-ink); }
.legend dt { font-size: var(--text-title); font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; }
.legend dd { margin: 0; color: var(--color-ink-2); }
.services__photo { margin: 0; margin-top: var(--space-xs); }
.services__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 55% 50%; border-radius: min(1vw, var(--radius-card)); filter: saturate(0.75); }
.services__photo figcaption { margin-top: var(--space-sm); font-size: 0.9375rem; color: var(--color-ink-2); max-width: 44ch; }

/* ---------- Process, set as traps: each step a flat bed on the one before ---------- */
.process { background: var(--ground-4); color: var(--color-pale); padding-block: var(--section-gap-s) 0; --color-focus: var(--color-pale); }
.process__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: end; }
.process__head p { font-size: var(--text-lead); color: var(--color-pale-2); }
.traps { list-style: none; margin: 0; padding: 0; margin-top: var(--space-2xl); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 0; }
.traps li { display: grid; align-content: start; gap: var(--space-sm); padding: var(--space-lg) var(--space-lg) var(--space-xl); background: var(--rock-basalt); border-top: 6px solid var(--color-pale); border-left: 1px solid var(--ground-4); }
.traps li:nth-child(1) { min-height: 200px; }
.traps li:nth-child(2) { min-height: 240px; }
.traps li:nth-child(3) { min-height: 280px; }
.traps li:nth-child(4) { min-height: 320px; }
.traps h3 { font-size: var(--text-2xl); }
.traps p { color: var(--color-pale-2); }
.js .traps.is-pending li { opacity: 0; transform: translateY(24px); }
.js .traps li { transition: opacity var(--dur-long) var(--ease-out), transform 0.6s var(--ease-out); transition-delay: calc(var(--i) * 80ms); }

/* ---------- People ---------- */
.people { background: var(--ground-5); color: var(--color-pale); padding-block: var(--section-gap-s); --color-focus: var(--color-pale); }
.people__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: end; }
.people__fact { color: var(--color-pale-2); font-size: var(--text-lead); max-width: 22ch; }
.people__fig { display: block; font-family: var(--font-display); font-weight: 500; font-size: var(--text-figure-s); color: var(--color-pale); line-height: 1; letter-spacing: -0.03em; }
.team { list-style: none; margin: 0; padding: 0; margin-top: var(--space-2xl); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); }
.team img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1) contrast(1.05); border-radius: min(1vw, var(--radius-card)); }
.team__name { margin-top: var(--space-sm); font-weight: 600; }
.team__role { color: var(--color-pale-2); font-size: 0.9375rem; }
.partners { margin: 0; margin-top: var(--space-3xl); padding-top: var(--space-lg); border-top: 1px solid var(--color-rule-dark); }
.partners ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-xl); align-items: center; }
.partners img { height: auto; max-height: 36px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1) brightness(0) invert(0.86); }
.partners figcaption { margin-top: var(--space-lg); font-size: 0.875rem; color: var(--color-pale-2); }

/* ---------- Bedrock ---------- */
.bedrock { background: var(--ground-6); color: var(--color-pale); padding-block: var(--section-gap) var(--space-xl); --color-focus: var(--color-pale); }
.bedrock__inner { display: grid; gap: var(--space-xl); }
.bedrock h2 { font-size: var(--text-hero); max-width: 12em; }
.bedrock__mail { justify-self: start; font-family: var(--font-display); font-weight: 500; font-size: var(--text-figure-s); letter-spacing: -0.02em; color: var(--color-pale); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.14em; text-decoration-color: var(--color-accent); transition: color var(--dur-micro) var(--ease-out); }
.bedrock__mail:hover { color: var(--layer-3); }
.bedrock__mail:active { color: var(--color-pale-2); }
.bedrock__mail:focus-visible, .bedrock__links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.bedrock__base { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; gap: var(--space-xl); align-items: end; margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: 1px solid var(--color-rule-dark); font-size: 0.9375rem; color: var(--color-pale-2); }
.bedrock__logo { width: 112px; height: auto; color: var(--color-pale); }
.bedrock address { font-style: normal; }
.bedrock__links { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-lg); }
.bedrock__links a { color: var(--color-pale); text-underline-offset: 0.2em; transition: color var(--dur-micro) var(--ease-out); }
.bedrock__links a:hover { color: var(--layer-3); }
.bedrock__legal { color: var(--color-pale-2); }

/* ---------- Narrow ---------- */
@media (max-width: 60rem) {
  .js .menu-btn { display: inline-flex; align-items: center; }
  .js .top nav { position: absolute; left: 0; right: 0; top: var(--nav-h); z-index: var(--z-dropdown); background: var(--ground-1); border-bottom: 1px solid var(--color-ink); }
  .js .top nav[data-open="false"] { display: none; }
  .js .links { flex-direction: column; gap: 0; padding: var(--space-xs) var(--gutter) var(--space-md); }
  .js .links a { display: block; padding-block: var(--space-sm); font-size: 1.0625rem; }
  .top { position: relative; }
  .layer__head, .process__head, .people__head { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  .work__grid, .services__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
  .layer__beds li { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
  .traps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .traps li { min-height: 0 !important; border-left: 0; }
  .traps li:nth-child(1) { width: 76%; }
  .traps li:nth-child(2) { width: 84%; }
  .traps li:nth-child(3) { width: 92%; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-xl); }
  .partners ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bedrock__base { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  .services__photo img { aspect-ratio: 3 / 2; }
}
@media (max-width: 40rem) {
  :root { --nav-h: 64px; }
  .logo svg { width: 108px; }
  .hero { padding-block: var(--space-lg) var(--space-xl); }
  .hero__row { align-items: flex-start; }
  .dia__beds li { font-size: 0.8125rem; }
  .dia__block--legacy .dia__beds li { padding-left: 25%; }
  .dia__block--legacy .dia__beds { top: calc(-4.8cqw - 4px); }
  .case--lead { position: static; }
  .dia__cap { grid-template-columns: 1fr 1fr; }
  .dia__cap span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .dia__people { font-size: 0.875rem; }
  .dia__ai { font-size: 0.9375rem; }
  .case--lead .case__fig { font-size: 7.5rem; }
  .bedrock__mail { font-size: 2.25rem; }
}

.case__more { justify-self: start; margin-top: var(--space-sm); }
.links a[aria-current="page"] { background-size: 100% 1px; font-weight: 600; }

/* ---------- Case page ---------- */
.cs-hero { background: var(--ground-1); padding-top: var(--space-2xl); }
.cs-hero__inner { display: grid; gap: var(--space-md); padding-bottom: var(--space-2xl); }
.cs-back { justify-self: start; }
.cs-sector { color: var(--color-muted); margin-top: var(--space-lg); }
.cs-hero h1 { font-size: var(--text-hero); max-width: 12em; line-height: 0.98; letter-spacing: -0.03em; }
.cs-summary { font-size: var(--text-lead); max-width: 52ch; color: var(--color-ink-2); }
.cs-band { background: var(--color-accent); color: var(--color-accent-ink); border-block: 2px solid var(--color-ink); }
.cs-band__inner { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-md) var(--space-2xl); padding-block: var(--space-xl); }
.cs-band__fig { font-family: var(--font-display); font-weight: 500; font-size: var(--text-figure); line-height: 0.85; letter-spacing: -0.045em; }
.cs-band__label { font-size: var(--text-lead); max-width: 30ch; }
.cs-bed { padding-block: var(--space-3xl); border-bottom: 1px solid var(--color-ink); }
.cs-bed--1 { background: var(--ground-2); }
.cs-bed--2 { background: var(--ground-3); }
.cs-bed--3 { background: var(--ground-4); color: var(--color-pale); --color-focus: var(--color-pale); }
.cs-bed__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: start; }
.cs-bed h2 { font-size: var(--text-section); }
.cs-bed ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-md); font-size: var(--text-lead); }
.cs-bed li { padding-top: var(--space-md); border-top: 1px solid currentColor; max-width: 46ch; }
.cs-why { background: var(--ground-5); color: var(--color-pale); padding-block: var(--section-gap-s); --color-focus: var(--color-pale); }
.cs-why__text { font-family: var(--font-display); font-weight: 500; font-size: var(--text-section); line-height: 1.05; letter-spacing: -0.02em; max-width: 22ch; }
.cs-why__link { display: inline-block; margin-top: var(--space-xl); color: var(--color-pale); }
.cs-why__link:hover { color: var(--layer-3); }
@media (max-width: 60rem) { .cs-bed__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } }
@media (max-width: 40rem) { .cs-band__fig { font-size: 7.5rem; } }

/* ---------- Inner pages ---------- */
.more { display: inline-block; justify-self: start; margin-top: var(--space-xl); }
.more--pale, .band--g4 .textlink, .band--g5 .textlink, .band--g6 .textlink { color: var(--color-pale); }
.more--pale:hover { color: var(--layer-3); }
.bedrock__pages a { text-decoration: none; }
.bedrock__links { flex-wrap: wrap; }
.bedrock__links a { white-space: nowrap; }
.bedrock__pages a:hover { text-decoration: underline; }

.pg-hero { background: var(--ground-1); }
.pg-hero__inner { display: grid; gap: var(--space-lg); padding-block: var(--space-3xl) var(--space-xl); }
.pg-hero h1 { font-size: var(--text-hero); max-width: 13em; line-height: 0.98; letter-spacing: -0.03em; }
.pg-lede { font-size: var(--text-lead); max-width: 52ch; color: var(--color-ink-2); }
.pg-layer { height: 20px; background: var(--color-accent); border-block: 2px solid var(--color-ink); }

.band { padding-block: var(--section-gap-s); border-bottom: 1px solid var(--color-ink); }
.band--l1 { background: var(--layer-1); }
.band--g2 { background: var(--ground-2); }
.band--g3 { background: var(--ground-3); }
.band--g4 { background: var(--ground-4); color: var(--color-pale); --color-focus: var(--color-pale); }
.band--g5 { background: var(--ground-5); color: var(--color-pale); --color-focus: var(--color-pale); }
.band--g6 { background: var(--rock-basalt); color: var(--color-pale); --color-focus: var(--color-pale); }
.band--tall { padding-block: var(--section-gap); min-height: 48rem; }
.reads .textlink { white-space: normal; }
/* Hallmark · note: article titles are the real titles of the client articles, so they wrap rather than shorten */
.band__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-xl) var(--gap-columns); align-items: start; }
.band h2 { font-size: var(--text-section); max-width: 14ch; }
.band__head { display: grid; gap: var(--space-md); align-content: start; }
.band__short { font-size: var(--text-lead); opacity: 0.85; max-width: 28ch; }
.band__body { display: grid; gap: var(--space-xl); }
.band__lead { font-size: var(--text-lead); max-width: 52ch; }
.band__statement { font-family: var(--font-display); font-weight: 500; font-size: var(--text-2xl); line-height: 1.1; letter-spacing: -0.015em; max-width: 24ch; }
.band--step .band__grid { padding-left: calc(var(--gutter) + var(--step) * var(--space-lg)); }
.pts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
.plat.plat--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plat.plat--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pts--one { grid-template-columns: minmax(0, 1fr); }
.pts div { padding-top: var(--space-md); border-top: 1px solid currentColor; }
.pts dt { font-weight: 600; }
.pts dd { margin: 0; margin-top: var(--space-2xs); opacity: 0.88; }
.more-d summary { cursor: pointer; font-weight: 600; padding-block: var(--space-sm); width: fit-content; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.more-d summary:hover { color: var(--color-accent); }
.band--g4 .more-d summary:hover, .band--g5 .more-d summary:hover, .band--g6 .more-d summary:hover { color: var(--layer-3); }
.more-d summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.more-d[open] summary { margin-bottom: var(--space-md); }
.ticks, .plat, .reads, .vals, .bios { list-style: none; margin: 0; padding: 0; }
.ticks { display: grid; gap: var(--space-sm); }
.ticks--2 { font-size: var(--text-lead); }
.ticks li { padding-top: var(--space-sm); border-top: 1px solid currentColor; }
.plat { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 0 var(--gap-columns); }
.plat li { padding-block: var(--space-lg); border-top: 1px solid currentColor; font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); letter-spacing: -0.01em; }
.reads { display: grid; gap: var(--space-lg); font-size: var(--text-lead); }
.vals { display: grid; gap: 0; }
.vals li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--gap-columns); padding-block: var(--space-md); border-top: 1px solid currentColor; }
.val__t { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); }
.val__d { color: var(--color-pale-2); }
.ab-fig { display: block; font-family: var(--font-display); font-weight: 500; font-size: var(--text-figure-s); line-height: 1; letter-spacing: -0.03em; }
.bios { display: grid; gap: var(--space-4xl); margin-top: var(--space-2xl); }
.bio { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: start; padding-top: var(--space-xl); border-top: 1px solid var(--color-rule-dark); }
.bio img { width: 100%; max-width: 440px; aspect-ratio: 1; object-fit: cover; filter: grayscale(1) contrast(1.05); border-radius: min(1vw, var(--radius-card)); }
.bio__text { display: grid; gap: var(--space-sm); max-width: 62ch; }
.bio h3 { font-size: var(--text-2xl); }
.bio__role { color: var(--color-pale-2); }

.wk-list { list-style: none; margin: 0; padding: 0; }
.wk { border-bottom: 1px solid var(--color-ink); }
.wk--g2 { background: var(--ground-2); }
.wk--g3 { background: var(--ground-3); }
.wk--g4 { background: var(--ground-4); color: var(--color-pale); }
.wk--g5 { background: var(--ground-5); color: var(--color-pale); }
.wk__link { display: block; color: inherit; text-decoration: none; transition: background-color var(--dur-short) var(--ease-out); }
.wk__link:hover { background: var(--layer-5); color: var(--color-accent-ink); }
.wk__link:active { background: var(--color-focus); }
.wk__link:focus-visible { outline: 3px solid var(--color-focus); outline-offset: -6px; }
.wk--g4 .wk__link:focus-visible, .wk--g5 .wk__link:focus-visible { outline-color: var(--color-pale); }
.wk__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: center; padding-block: var(--space-2xl); }
.wk__fig { font-family: var(--font-display); font-weight: 500; font-size: clamp(3.5rem, 7vw, 7rem); line-height: 0.9; letter-spacing: -0.04em; }
.wk__text { display: grid; gap: var(--space-xs); }
.wk__sector { font-size: 0.9375rem; opacity: 0.8; }
.wk__title { font-family: var(--font-display); font-weight: 500; font-size: var(--text-2xl); letter-spacing: -0.015em; line-height: 1.1; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
.wk__label { max-width: 52ch; }

.cs-why__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: end; }
.cs-next { display: grid; gap: var(--space-xs); padding: var(--space-lg); border: 1px solid var(--color-pale); border-radius: var(--radius-card); color: var(--color-pale); text-decoration: none; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.cs-next:hover { background: var(--color-accent); color: var(--color-accent-ink); }
.cs-next:active { transform: translateY(1px); }
.cs-next:focus-visible { outline: 2px solid var(--color-pale); outline-offset: 3px; }
.cs-next__hint { font-size: 0.9375rem; color: inherit; opacity: 0.85; }
.cs-next__title { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); line-height: 1.15; }

.ct-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: start; }
.ct-mail { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.25rem, 5vw, 5rem); letter-spacing: -0.03em; color: var(--color-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.12em; text-decoration-color: var(--color-accent); overflow-wrap: anywhere; transition: color var(--dur-micro) var(--ease-out); }
.ct-mail:hover { color: var(--color-accent); }
.ct-mail:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }

.nf { background: var(--ground-1); }
.nf__inner { display: grid; gap: var(--space-lg); padding-block: var(--space-3xl) var(--space-xl); }
.nf__code { margin-top: var(--space-2xl); font-family: var(--font-display); font-weight: 500; font-size: var(--text-figure); line-height: 0.85; letter-spacing: -0.045em; color: var(--color-ink); }
.nf h1 { font-size: var(--text-hero); line-height: 0.98; letter-spacing: -0.03em; }
.nf__beds { display: grid; border-top: 2px solid var(--color-ink); }
.nf__beds span { height: 48px; border-bottom: 1px solid var(--color-ink); }
.nf__beds span:nth-child(1) { background: var(--rock-sand); }
.nf__beds span:nth-child(2) { background: var(--rock-mud); }
.nf__beds span:nth-child(3) { background: var(--rock-scoria); }
.nf__beds span:nth-child(4) { background: var(--rock-basalt); height: 96px; }

@media (max-width: 60rem) {
  .band__grid, .wk__inner, .cs-why__grid, .ct-grid, .bio { grid-template-columns: minmax(0, 1fr); }
  .band--step .band__grid { padding-left: var(--gutter); }
  .plat--3, .plat.plat--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pts, .ticks--2 { grid-template-columns: minmax(0, 1fr); }
  .band--tall { min-height: 0; }
  .vals li { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .bio img { max-width: 200px; }
}

/* ---------- Page transition: the new page is laid across the old one, left to right, like the layer ---------- */
@view-transition { navigation: auto; }
.dia__ai, .cs-band, .pg-layer, .nf__beds { view-transition-name: layer; }
::view-transition-group(layer) { animation-duration: 0.7s; animation-timing-function: var(--ease-out); }
::view-transition-old(root) { animation: none; }
::view-transition-new(root) { animation: lay 0.7s var(--ease-out) both; }
@keyframes lay { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .dia__ai-fill, .dia__ai-text { animation: none; }
  .js .traps.is-pending li { opacity: 1; transform: none; }
  .column a, .column a:hover { transition: none; }
}
.bedrock--compact { padding-block: var(--space-xl); }
