/* ============================================================
   PROTECH PLANNING - "The Evidence Room"
   Forensic editorial design system
   Newsreader (display) · Archivo (body) · Spline Sans Mono (data)
   Fraunces (wordmark only)
   ============================================================ */

/* ---------- Self-hosted fonts (Batch 5) ----------
   Latin subsets served same-origin: no third-party request chain in
   front of first paint. Newsreader keeps its optical-size axis (wght
   pinned at the 500 the site uses); Archivo and Spline Sans Mono are
   variable files limited to the used 400-600 weight range; Fraunces
   is subset to the thirteen wordmark glyphs. The -fb faces are
   metric-matched local fallbacks, so if a font arrives after first
   paint the swap cannot move the layout. */
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-roman.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spline Sans Mono";
  src: url("fonts/splinemono-var.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("data:font/woff2;base64,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") format("woff2"); /* inlined: wordmark must paint with first render (LCP) */
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("data:font/woff2;base64,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") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
/* Metric-matched fallbacks (computed in tools/build-fonts.py) */
@font-face {
  font-family: "Newsreader-fb";
  src: local("Georgia");
  size-adjust: 93.61%;
  ascent-override: 78.52%;
  descent-override: 28.31%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Archivo-fb";
  src: local("Arial");
  size-adjust: 102.63%;
  ascent-override: 85.55%;
  descent-override: 20.46%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "SplineSansMono-fb";
  src: local("Courier New");
  size-adjust: 99.98%;
  ascent-override: 96.37%;
  descent-override: 23.65%;
  line-gap-override: 0%;
}

:root {
  /* Ink & paper
     Ink scale lifted slightly (graphics-redesign): warm blue-charcoal rather
     than near-black, so dark sections breathe. Ambient texture is added at
     .section level below. */
  --ink: #0e1219;
  --ink-2: #141a23;
  --ink-3: #1b222e;
  --grid-faint: rgba(233, 229, 218, 0.032);
  --paper: #f1ede3;
  --paper-2: #e8e3d5;
  --paper-3: #ddd6c4;

  /* Signal */
  --red: #e8482f;
  --red-bright: #ff5a3c;
  --red-dim: rgba(232, 72, 47, 0.14);
  --steel: #8fa3b8;
  --steel-dim: rgba(143, 163, 184, 0.35);

  /* Text on ink */
  --text: #e9e5da;
  --text-muted: #a3a49f;
  --text-faint: #6d6f6e;

  /* Text on paper */
  --ink-text: #14161b;
  --ink-muted: #565a5e;

  /* Lines */
  --line: rgba(233, 229, 218, 0.12);
  --line-strong: rgba(233, 229, 218, 0.25);
  --line-paper: rgba(20, 22, 27, 0.14);

  /* Type */
  /* Major headings use Newsreader; the brand wordmark stays Fraunces to match
     the approved logo lockup (see .brand-name). Newsreader is served as a
     500..600 variable range, so any legacy sub-500 weights clamp to Medium. */
  --f-display: "Newsreader", "Newsreader-fb", Georgia, serif;
  --f-wordmark: "Fraunces", Georgia, serif;
  --f-body: "Archivo", "Archivo-fb", "Helvetica Neue", sans-serif;
  --f-mono: "Spline Sans Mono", "SplineSansMono-fb", "Courier New", monospace;

  /* Rhythm */
  --gutter: clamp(1.25rem, 4vw, 4rem);
  /* Batch 3 spacing scale */
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2.5rem;
  --sp-5: clamp(2.75rem, 5vw, 4rem);
  --sp-6: clamp(4rem, 7vw, 6.5rem);
  --section-pad: var(--sp-6);
  --header-h: 76px;

  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-swift: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--red); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #2a303c; border: 3px solid var(--ink); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* Film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ---------- Utilities ---------- */
.wrap {
  width: min(1280px, 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.mono {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-l);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-l);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  /* Anchor the dash to the first line so wrapped kickers don't leave
     it floating between two lines. */
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
  flex: none;
  margin-top: calc(0.75em - 1px);
}
.on-paper .kicker { color: var(--ink-muted); }

/* Display type */
.h-display {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--fs-display);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.h-section {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--fs-title);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.h-sub {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--fs-head);
  line-height: 1.25;
}
.h-display em, .h-section em {
  font-style: italic;
  font-weight: 500;
  color: var(--red-bright);
}
.on-paper .h-display em, .on-paper .h-section em { color: var(--red); }

.lede {
  font-size: var(--fs-lede);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 56ch;
}
.on-paper .lede { color: var(--ink-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--f-mono);
  font-size: var(--fs-mono-l);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem 1.6rem;
  border: 1px solid transparent;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out),
              border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  position: relative;
}
.btn .btn-arrow { transition: transform 0.35s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(5px); }

.btn-solid { background: var(--red); color: #fff; }
.btn-solid:hover { background: var(--red-bright); transform: translateY(-2px); }

.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--red); color: var(--red-bright); }

.on-paper .btn-ghost { border-color: rgba(20, 22, 27, 0.3); color: var(--ink-text); }
.on-paper .btn-ghost:hover { border-color: var(--red); color: var(--red); }

/* Text link */
.link-mono {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-l);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-bright);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.25s;
}
.link-mono:hover { border-color: var(--red-bright); }
.on-paper .link-mono { color: var(--red); }
.on-paper .link-mono:hover { border-color: var(--red); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  /* Backdrop is always on: the previous JS-toggled .scrolled state let
     the cream wordmark flash invisible over cream bands mid-scroll. On
     the dark heroes the translucent ink is visually indistinguishable
     from the old transparent state. */
  background: rgba(11, 14, 19, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(1380px, 100% - var(--gutter) * 2);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex: none;
}
.brand-mark { width: 42px; height: 42px; flex: none; }
/* Zero flex gap; spacing set on the separator so it sits exactly centred
   between the mark and the wordmark. margin-left is smaller because the mark
   SVG carries ~6px of internal whitespace on its right edge. */
.brand-sep { width: 1px; height: 28px; background: rgba(233, 229, 218, 0.32); flex: none; margin: 0 9px 0 3px; }
.brand-name {
  font-family: var(--f-wordmark);
  font-size: var(--fs-lede);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  white-space: nowrap;
}
.brand-name em { font-style: italic; font-weight: 400; color: var(--text-muted); }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2.4rem);
}
.site-nav > a {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-l);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.25s;
}
.site-nav > a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.site-nav > a:hover, .site-nav > a[aria-current="page"] { color: var(--text); }
.site-nav > a:hover::after, .site-nav > a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}
.site-nav .nav-cta {
  border: 1px solid var(--line-strong);
  padding: 0.75rem 1.3rem;
  color: var(--text);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.site-nav .nav-cta::after { display: none; }
.site-nav .nav-cta:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px 4px;
  z-index: 1102;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    inset: 0;
    background: var(--ink);
    flex-direction: column;
    justify-content: center;
    gap: 2.2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
    z-index: 1100;
  }
  .site-nav.open { opacity: 1; visibility: visible; }
  .site-nav > a { font-size: var(--fs-body); }
  .site-header.nav-open { background: transparent; backdrop-filter: none; }
}

/* ============================================================
   HERO (home)
   ============================================================ */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 8vh, 6rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

/* Graph-paper atmosphere */
.grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 80% at 60% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 60% 0%, black 30%, transparent 75%);
  opacity: 0.55;
}
.hero::before {
  content: "";
  position: absolute;
  top: -30%; right: -15%;
  width: 70%;
  height: 120%;
  background: radial-gradient(circle at center, rgba(232, 72, 47, 0.09), transparent 62%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 1020px) {
  .hero-layout { grid-template-columns: 1fr; }
}

.hero-copy .h-display { margin-bottom: 1.75rem; }
.hero-copy .lede { margin-bottom: 2.5rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  font-family: var(--f-mono);
  font-size: var(--fs-mono-l);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--mono-text);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 0.55rem; }
.hero-meta span::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--red);
  transform: rotate(45deg);
  flex: none;
  opacity: 0.85;
}

/* Staggered load-in */
.hero [data-rise] {
  opacity: 0;
  transform: translateY(26px);
  animation: rise 1s var(--ease-out) forwards;
  animation-delay: calc(var(--d, 0) * 120ms);
}
@keyframes rise {
  to { opacity: 1; transform: none; }
}

/* ---------- Exhibit panel (the Gantt centerpiece) ---------- */
.exhibit {
  position: relative;
  background: linear-gradient(160deg, var(--ink-2), var(--ink-3));
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(26px);
  animation: rise 1.1s var(--ease-out) 0.45s forwards;
}
.exhibit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.exhibit-head .tag {
  color: var(--red-bright);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.exhibit-head .tag::before {
  content: "";
  width: 8px; height: 8px;
  border: 1.5px solid var(--red-bright);
  transform: rotate(45deg);
}
.exhibit-body { padding: 1.5rem 1.25rem 1.25rem; }
.exhibit-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  padding: 0.9rem 1.25rem;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mono-text);
}
.exhibit-foot i {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.exhibit-foot .swatch { width: 14px; height: 8px; flex: none; }
.exhibit-foot .swatch.planned { border: 1px solid var(--steel); }
.exhibit-foot .swatch.built { background: var(--steel); opacity: 0.85; }
.exhibit-foot .swatch.critical { background: var(--red); }

/* Live schedule status: the exhibit's conclusion, recomputed as the data
   date scrubs. Arrives after the entrance animation has drawn the story
   it summarises; from then on it updates 1:1 with the slider. */
.exhibit-foot .ex-status {
  margin-left: auto;
  display: inline-flex;
  align-items: baseline;
  gap: 1.1rem;
  opacity: 0;
  animation: fadenote 0.7s ease 3.4s forwards;
}
.exhibit.interactive .ex-status { opacity: 1; animation: none; }
.ex-status .st-drv { color: var(--text-muted); }
.ex-status .st-var { color: var(--red-bright); min-width: 4.5ch; text-align: right; }

/* Corner registration marks */
.exhibit::before, .exhibit::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border-color: var(--red);
  border-style: solid;
  opacity: 0.9;
}
.exhibit::before { top: -7px; left: -7px; border-width: 2px 0 0 2px; }
.exhibit::after { bottom: -7px; right: -7px; border-width: 0 2px 2px 0; }

/* Gantt SVG animation */
.gantt-svg { width: 100%; height: auto; }
.gantt-svg .bar {
  transform: scaleX(0);
  transform-origin: left center;
  transform-box: fill-box;
  animation: growbar 0.9s var(--ease-swift) forwards;
  animation-delay: calc(0.9s + var(--i, 0) * 0.14s);
}
@keyframes growbar { to { transform: scaleX(1); } }

.gantt-svg .cpath {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawpath 2.4s var(--ease-swift) 2s forwards;
}
@keyframes drawpath { to { stroke-dashoffset: 0; } }

.gantt-svg .mstone {
  opacity: 0;
  animation: popstone 0.5s var(--ease-out) forwards;
  animation-delay: calc(2.4s + var(--i, 0) * 0.2s);
}
@keyframes popstone {
  from { opacity: 0; transform: scale(0.3); transform-box: fill-box; transform-origin: center; }
  to { opacity: 1; transform: scale(1); transform-box: fill-box; transform-origin: center; }
}
.gantt-svg .note {
  opacity: 0;
  animation: fadenote 0.7s ease forwards;
  animation-delay: calc(2.8s + var(--i, 0) * 0.2s);
}
@keyframes fadenote { to { opacity: 1; } }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding-block: var(--section-pad); position: relative; }

/* Ambient atmosphere on ink sections: a whisper of the hero graph-paper plus
   two very soft glows (steel high, red low). Keeps dark areas from reading
   as flat black without changing the identity. Paper sections override. */
.section:not(.section-paper) {
  background-image:
    radial-gradient(55% 42% at 88% 0%, rgba(143, 163, 184, 0.055), transparent 70%),
    radial-gradient(48% 38% at 2% 100%, rgba(232, 72, 47, 0.045), transparent 70%),
    linear-gradient(var(--grid-faint) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-faint) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
}

.section-paper {
  background: var(--paper);
  color: var(--ink-text);
}
.section-paper .h-section, .section-paper .h-sub, .section-paper .h-display { color: var(--ink-text); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 2rem 4rem;
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.section-head .lede { justify-self: start; }
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  /* 0.3s: normal scrolling no longer outruns the reveal (Batch 4) */
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 60ms);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  /* [data-rise] appears under both .hero (homepage) and .page-hero (all
     subpages) - cover the attribute wherever it occurs. */
  .reveal, [data-rise], .exhibit { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .urgent-line a { opacity: 1 !important; animation: none !important; }
  .urgent-line a::before { animation: none !important; }
  .gantt-svg .bar, .gantt-svg .cpath, .gantt-svg .mstone, .gantt-svg .note { animation: none !important; transform: none; opacity: 1; stroke-dashoffset: 0; transition: none !important; }
  .exhibit-foot .ex-status { opacity: 1 !important; animation: none !important; }
  .dd-slider::-webkit-slider-thumb { transition: none !important; }
  .dd-slider::-moz-range-thumb { transition: none !important; }
  .career-svg .cbar, .career-svg .clink, .career-svg .cnote { animation: none !important; transition: none !important; transform: none; opacity: 1; }
  .pp-grid::before, .pp-row::before { transition: none !important; }
  .opt-rule { transition: none !important; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Situations (scenario ledger) ---------- */
.ledger { border-top: 1px solid var(--line); }
/* Every row shares the same fixed column structure: ref / title / description
   / link. First text baselines align across all four columns; a fixed link
   column keeps the right edge consistent even though each row is its own grid. */
.ledger-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.35fr) 14rem;
  gap: 1.25rem 2.5rem;
  align-items: baseline;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.35s, padding-left 0.35s var(--ease-out);
}
.ledger-row::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease-out);
}
.ledger-row:hover { background: rgba(232, 72, 47, 0.04); padding-left: 1.5rem; }
.ledger-row:hover::before { transform: scaleY(1); }
.ledger-num {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-l);
  letter-spacing: 0.12em;
  color: var(--red-bright);
}
.ledger-title {
  font-family: var(--f-display);
  font-size: var(--fs-head);
  font-weight: 500;
  line-height: 1.25;
}
.ledger-desc {
  color: var(--text-muted);
  font-size: var(--fs-body);
  max-width: 52ch;
}
.ledger-cue {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--mono-text);
  white-space: nowrap;
  justify-self: end;
  text-align: right;
  /* inline-flex column: the container's baseline is the first link's baseline,
     so rows with one or two links align identically */
  display: inline-flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-end;
}
.ledger-cue a { color: inherit; transition: color 0.25s; }
.ledger-cue a:hover, .ledger-cue a:focus-visible { color: var(--red-bright); }
@media (max-width: 1150px) {
  .ledger-row { grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.3fr) 11rem; gap: 1.25rem 1.75rem; }
  .ledger-cue { white-space: normal; }
}
@media (max-width: 920px) {
  .ledger-row { grid-template-columns: 60px 1fr; }
  .ledger-desc { grid-column: 2; }
  .ledger-cue { grid-column: 2; justify-self: start; text-align: left; align-items: flex-start; }
}

/* ---------- Service cards (exhibit files) ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-paper);
  border: 1px solid var(--line-paper);
}
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-card {
  background: var(--paper);
  padding: 2.2rem 1.9rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}
.svc-card:hover { background: var(--paper-2); }
.svc-card::after {
  content: attr(data-index);
  position: absolute;
  right: 0.7rem;
  top: 0.35rem;
  font-family: var(--f-display);
  font-size: 6rem;
  font-weight: 400;
  font-style: italic;
  color: rgba(20, 22, 27, 0.06);
  line-height: 1;
  pointer-events: none;
  transition: color 0.4s;
}
.svc-card:hover::after { color: rgba(232, 72, 47, 0.13); }

.svc-tag {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.svc-tag::before {
  content: "";
  width: 7px; height: 7px;
  border: 1.5px solid var(--red);
  transform: rotate(45deg);
}
.svc-card h3 {
  font-family: var(--f-display);
  font-size: var(--fs-head);
  font-weight: 500;
  line-height: 1.12;
  color: var(--ink-text);
}
.svc-card p {
  color: var(--ink-muted);
  font-size: var(--fs-body);
  flex: 1;
}
.svc-card .link-mono { margin-top: auto; }

/* ---------- Methods (diagram cards) ---------- */
.methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
@media (max-width: 1000px) { .methods-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .methods-grid { grid-template-columns: 1fr; } }

.method-card {
  border: 1px solid var(--line);
  background: var(--ink-2);
  padding: 1.6rem 1.5rem 1.7rem;
  transition: border-color 0.35s, transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.method-card:hover {
  border-color: rgba(232, 72, 47, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6);
}
.method-fig {
  border: 1px solid var(--line);
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 22px,
    var(--ink);
  margin-bottom: 1.3rem;
  overflow: hidden;
}
.method-fig svg { width: 100%; height: auto; }
.method-card h3 {
  font-family: var(--f-display);
  font-size: var(--fs-lede);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.method-card .mono-sub {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-bright);
  display: block;
  margin-bottom: 0.7rem;
}
.method-card p { color: var(--text-muted); font-size: var(--fs-body); }

.methods-note {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  border: 1px solid var(--line);
  background: var(--red-dim);
  padding: 1.75rem 2rem;
}
.methods-note .mark {
  width: 12px; height: 12px;
  background: var(--red);
  transform: rotate(45deg);
  margin-top: 0.5rem;
}
.methods-note p { color: var(--text); font-size: var(--fs-body); max-width: 75ch; }
.on-paper .methods-note p { color: var(--ink-text); }
.on-paper .methods-note p strong { color: var(--red); }
.methods-note p strong { color: var(--red-bright); font-weight: 600; }
@media (max-width: 620px) { .methods-note { grid-template-columns: 1fr; } .methods-note .mark { display: none; } }

/* ---------- Stats band ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-paper);
  background: var(--line-paper);
  gap: 1px;
}
@media (max-width: 900px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }

.stat {
  background: var(--paper);
  padding: 2.1rem 1.75rem 1.9rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4rem;
  min-height: 188px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease-out);
}
/* red rule sweeps in on hover */
.stat::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.stat:hover { background: var(--paper-2); }
.stat:hover::before { transform: scaleX(1); }
.stat b {
  font-family: var(--f-display);
  font-size: var(--fs-title);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink-text);
  display: block;
  transition: transform 0.4s var(--ease-out);
}
.stat:hover b { transform: translateY(-2px); }
.stat b sup {
  font-size: 0.38em;
  color: var(--red);
  font-weight: 600;
  top: -1.1em;
  left: 0.03em;
  position: relative;
}
.stat span {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.13em;
  line-height: 1.65;
  text-transform: uppercase;
  color: var(--ink-muted);
  max-width: 20ch;
  transition: color 0.4s var(--ease-out);
}
.stat:hover span { color: var(--ink-text); }

/* ---------- Principles / Why us ---------- */
.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 5rem);
}
/* !important beats the inline 3-column overrides used on several pages,
   which otherwise force min-content overflow on narrow viewports. */
@media (max-width: 820px) { .principles { grid-template-columns: 1fr !important; } }

.principle { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; }
.principle-num {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-l);
  color: var(--red-bright);
  letter-spacing: 0.1em;
  padding-top: 0.45rem;
  position: relative;
}
.principle-num::after {
  content: "";
  position: absolute;
  top: 2.2rem; left: 50%;
  width: 1px;
  height: calc(100% - 2.4rem);
  background: var(--line);
}
.principle h3 {
  font-family: var(--f-display);
  font-size: var(--fs-head);
  font-weight: 500;
  margin-bottom: 0.6rem;
}
.principle p { color: var(--text-muted); font-size: var(--fs-body); max-width: 46ch; }
.on-paper .principle p { color: var(--ink-muted); }

/* ---------- Sectors (typographic index) ---------- */
.sector-list { border-top: 1px solid var(--line-paper); counter-reset: sector; }
.sector-row {
  display: flex;
  align-items: baseline;
  gap: 2rem;
  padding: 1.5rem 0.5rem;
  border-bottom: 1px solid var(--line-paper);
  counter-increment: sector;
  position: relative;
  overflow: hidden;
  transition: padding-left 0.35s var(--ease-out);
}
.sector-row::before {
  content: counter(sector, decimal-leading-zero);
  font-family: var(--f-mono);
  font-size: var(--fs-mono-l);
  color: var(--red);
  letter-spacing: 0.1em;
  flex: none;
  width: 2.2rem;
}
.sector-row:hover { padding-left: 1.25rem; }
.sector-name {
  font-family: var(--f-display);
  font-size: var(--fs-title);
  font-weight: 400;
  color: var(--ink-text);
  transition: color 0.3s, font-style 0.3s;
}
.sector-row:hover .sector-name { color: var(--red); font-style: italic; }
.sector-note {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: right;
}
@media (max-width: 640px) { .sector-note { display: none; } }

/* ---------- Process timeline ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: 3rem;
}
/* !important beats inline column overrides used on some pages (approach),
   which otherwise force min-content overflow on narrow viewports. */
@media (max-width: 940px) { .process { grid-template-columns: repeat(2, 1fr) !important; row-gap: 3.5rem; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr !important; } }
.process.cols-3 { grid-template-columns: repeat(3, 1fr); }

.step { padding-right: clamp(1.25rem, 3vw, 2.75rem); position: relative; }
/* Milestone marker lives INSIDE its step (was absolutely positioned on the
   divider above, which collided with dense text and stacked layouts). */
.step::before {
  content: "";
  display: block;
  width: 9px; height: 9px;
  background: var(--red);
  transform: rotate(45deg);
  margin-bottom: 1.1rem;
}
.step-num {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-l);
  letter-spacing: 0.15em;
  color: var(--red-bright);
  display: block;
  margin-bottom: 0.9rem;
}
.step h3 {
  font-family: var(--f-display);
  font-size: var(--fs-head);
  font-weight: 500;
  margin-bottom: 0.6rem;
}
.step p { color: var(--text-muted); font-size: var(--fs-body); }

/* ---------- Process flow (controlled-analysis pipeline) ----------
   A connected flowchart: spine line, diamond nodes, direction chevrons.
   First half steel (technology-assisted), second half red (expert-
   controlled) - the diagram states the technology/judgement claim itself.
   Horizontal on wide viewports; .vert (or narrow screens) runs the spine
   vertically. */
.flow-bands {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-bottom: 1.5rem;
}
.flow-bands span {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-l);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  padding-bottom: 0.6rem;
  border-bottom: 1px dashed var(--steel-dim);
  color: var(--steel);
}
.flow-bands span:last-child { color: var(--red-bright); border-bottom-color: rgba(232, 72, 47, 0.45); }

.flow {
  list-style: none;
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0 1.4rem;
  margin: 0;
  padding: 0;
}
.flow::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 5px;
  height: 2px;
  background: linear-gradient(90deg, var(--steel-dim) 0%, var(--steel-dim) 46%, var(--red) 54%, var(--red) 100%);
}
.flow-node { position: relative; padding-top: 1.7rem; }
.flow-node::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 10px; height: 10px;
  transform: rotate(45deg);
  background: var(--ink);
  border: 2px solid var(--steel);
}
.flow-node:nth-child(n+4)::before { border-color: var(--red); background: var(--red); }
.flow-node:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 2px; right: -1rem;
  width: 7px; height: 7px;
  border-top: 2px solid var(--line-strong);
  border-right: 2px solid var(--line-strong);
  transform: rotate(45deg);
}
.flow-num {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.15em;
  color: var(--steel);
  display: block;
  margin-bottom: 0.55rem;
}
.flow-node:nth-child(n+4) .flow-num { color: var(--red-bright); }
.flow-node h3, .flow-node .flow-title {
  font-family: var(--f-display);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 0.45rem;
  display: block;
  color: var(--text);
}
.flow-node p { color: var(--text-muted); font-size: var(--fs-body); line-height: 1.55; }

/* Vertical variant (and all flows on narrow viewports) */
.flow.vert { grid-template-columns: 1fr; gap: 0; }
.flow.vert::before {
  left: 4px; right: auto; top: 4px; bottom: 6px;
  width: 2px; height: auto;
  background: linear-gradient(180deg, var(--steel-dim) 0%, var(--steel-dim) 46%, var(--red) 54%, var(--red) 100%);
}
.flow.vert .flow-node { padding: 0 0 1.5rem 2rem; }
.flow.vert .flow-node:last-child { padding-bottom: 0; }
.flow.vert .flow-node::before { top: 3px; }
.flow.vert .flow-node:not(:last-child)::after { display: none; }
.flow.vert .flow-num { margin-bottom: 0.3rem; }

/* Inline variant: number and title share one line (shorter nodes) */
.flow.flow-inline .flow-node { display: flex; align-items: baseline; gap: 0.9rem; padding-bottom: 1.1rem; }
.flow.flow-inline .flow-num { margin-bottom: 0; }
.flow.flow-inline .flow-title { margin-bottom: 0; }

/* Titled variant: the stage number sits on the title's line and the
   description hangs beneath the title, so each node reads as one entry. */
.flow.flow-titled .flow-node { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 0.9rem; align-items: baseline; }
.flow.flow-titled .flow-num { margin-bottom: 0; }
.flow.flow-titled .flow-title { margin-bottom: 0; }
.flow.flow-titled .flow-node p { grid-column: 2; margin-top: 0.5rem; }
/* Natural height stays under the sibling column so space-between can
   distribute the slack and both columns end on the same line. */
.flow.vert.flow-titled .flow-node { padding-bottom: 0.9rem; }
/* Narrow: keep the stage line intact, but let the description use the
   full node width rather than the squeezed title column. */
@media (max-width: 620px) {
  .flow.flow-titled .flow-node p { grid-column: 1 / -1; }
}

/* Plate that stretches to match a sibling column exactly: the flow fills
   the plate and distributes its nodes across the available height. */
.spec-plate.flow-plate { display: flex; flex-direction: column; }
.flow-plate .flow.vert { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
@media (max-width: 1000px) {
  .flow-bands { display: none; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow::before {
    left: 4px; right: auto; top: 4px; bottom: 6px;
    width: 2px; height: auto;
    background: linear-gradient(180deg, var(--steel-dim) 0%, var(--steel-dim) 46%, var(--red) 54%, var(--red) 100%);
  }
  .flow .flow-node { padding: 0 0 1.9rem 2rem; }
  .flow .flow-node:last-child { padding-bottom: 0; }
  .flow .flow-node::before { top: 3px; }
  .flow .flow-node:not(:last-child)::after { display: none; }
}

/* Two-column section layout (text + exhibit) */
.cols-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 940px) { .cols-2 { grid-template-columns: 1fr; } }

/* ---------- Pull quote ---------- */
.pullquote {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
  padding-block: clamp(1rem, 3vw, 2rem);
}
.pullquote blockquote {
  font-family: var(--f-display);
  font-size: var(--fs-title);
  font-weight: 500;
  font-style: italic;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.pullquote blockquote strong { color: var(--red-bright); font-weight: 500; }
.on-paper .pullquote blockquote strong { color: var(--red); }
.on-paper .pullquote cite { color: var(--ink-muted); }
.pullquote cite {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  font-family: var(--f-mono);
  font-size: var(--fs-mono-l);
  font-style: normal;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mono-text);
}
.pullquote cite::before, .pullquote cite::after {
  content: "";
  width: 26px; height: 1px;
  background: var(--red);
}

/* ============================================================
   CTA BAND + FOOTER
   ============================================================ */
.cta-band {
  position: relative;
  padding-block: clamp(5rem, 10vw, 8rem);
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.cta-band .grid-bg {
  mask-image: radial-gradient(ellipse 80% 90% at 50% 100%, black 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 100%, black 20%, transparent 72%);
}
.cta-inner {
  position: relative;
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
}
.cta-inner .h-section { margin-bottom: 1.4rem; }
.cta-inner p { color: var(--text-muted); margin-bottom: 2.6rem; font-size: var(--fs-body); }
.cta-inner .btn-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink-2);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand p {
  color: var(--text-muted);
  font-size: var(--fs-body);
  max-width: 34ch;
  margin-top: 1.2rem;
}
.footer-col .footer-h {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mono-text);
  margin-bottom: 1.3rem;
}
.footer-col ul { display: grid; gap: 0.7rem; }
.footer-col a {
  color: var(--text-muted);
  font-size: var(--fs-body);
  transition: color 0.25s;
}
.footer-col a:hover { color: var(--red-bright); }
.footer-col li { color: var(--text-muted); font-size: var(--fs-body); }

.footer-base {
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2.5rem;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--mono-text);
}

/* ============================================================
   SUBPAGE PATTERNS
   ============================================================ */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3.5rem, 8vh, 6rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero .h-display { max-width: 20ch; margin-bottom: 1.6rem; }
.page-hero .lede { max-width: 62ch; }
.page-hero [data-rise] {
  opacity: 0;
  transform: translateY(26px);
  animation: rise 1s var(--ease-out) forwards;
  animation-delay: calc(var(--d, 0) * 120ms);
}
.crumb {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mono-text);
  margin-bottom: 2rem;
  display: inline-flex;
  gap: 0.9rem;
  align-items: center;
}
.crumb a { color: var(--text-muted); transition: color 0.25s; }
.crumb a:hover { color: var(--red-bright); }
.crumb .sep { color: var(--red); }

/* Detailed service blocks (services.html) */
.svc-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 2rem);
}
.svc-detail:last-of-type { border-bottom: none; }
@media (max-width: 900px) { .svc-detail { grid-template-columns: 1fr; } }

.svc-detail-head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
@media (max-width: 900px) { .svc-detail-head { position: static; } }
.svc-detail-head .idx {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-l);
  letter-spacing: 0.14em;
  color: var(--red-bright);
  display: block;
  margin-bottom: 1.1rem;
}
.svc-detail-head h2 {
  font-family: var(--f-display);
  font-size: var(--fs-title);
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 1.1rem;
}
.svc-detail-head .who {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--mono-text);
  line-height: 1.65;
}

.svc-detail-body > p { color: var(--text-muted); margin-bottom: 1.4rem; max-width: 65ch; }

.deliver-list { margin-top: 2rem; border-top: 1px solid var(--line); }
.deliver-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.2rem 0.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
  font-size: var(--fs-body);
  line-height: 1.65;
  align-items: baseline;
}
.deliver-list li::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--red);
  transform: rotate(45deg);
  position: relative;
  top: -1px;
}
.deliver-list li strong { color: var(--text); font-weight: 500; }

.deliver-label {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mono-text);
  display: block;
  margin-top: 2.2rem;
}

/* Scope blocks and deliverable lists on paper surfaces (service pages) */
.on-paper .svc-detail { border-color: var(--line-paper); }
.on-paper .svc-detail-head .who { color: var(--ink-muted); }
.on-paper .svc-detail-body > p { color: var(--ink-muted); }
.on-paper .deliver-list { border-color: var(--line-paper); }
.on-paper .deliver-list li { color: var(--ink-muted); border-color: var(--line-paper); }
.on-paper .deliver-list li strong { color: var(--ink-text); }
.on-paper .deliver-label { color: var(--ink-muted); }

/* Comparison / method table (approach.html) */
.method-table { border: 1px solid var(--line); }
.method-table-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.4rem 1.6rem;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.method-table-row:last-child { border-bottom: none; }
.method-table-row.head {
  background: var(--ink-2);
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mono-text);
}
.method-table-row .m-name {
  font-family: var(--f-display);
  font-size: var(--fs-lede);
  font-weight: 500;
}
.method-table-row .m-desc { color: var(--text-muted); font-size: var(--fs-body); }
.method-table-row .m-fit {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  line-height: 1.65;
}
@media (max-width: 780px) {
  .method-table-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .method-table-row.head { display: none; }
}

/* Duty / statement block */
.duty-block {
  border-left: 3px solid var(--red);
  background: var(--ink-2);
  padding: clamp(1.75rem, 4vw, 3rem);
  max-width: 900px;
}
.duty-block p {
  font-family: var(--f-display);
  font-size: var(--fs-head);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
}
.duty-block .mono { display: block; margin-top: 1.5rem; color: var(--mono-text); }
.on-paper .duty-block { background: var(--paper-2); }
.on-paper .duty-block p { color: var(--ink-text); }
.on-paper .duty-block .mono { color: var(--ink-muted); }

/* Tools row */
/* ---------- Dossier plate (spec sheet) ----------
   Replaces the flat chip rows: hairline-ruled label/value rows framed with
   the registration-corner motif. Ink by default; .on-paper adapts. */
.spec-plate {
  position: relative;
  border: 1px solid var(--line);
  background: rgba(233, 229, 218, 0.02);
  padding: 0.4rem 1.6rem;
}
.spec-plate::before, .spec-plate::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border: 2px solid var(--red);
}
.spec-plate::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.spec-plate::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.spec-row {
  display: grid;
  grid-template-columns: clamp(7.5rem, 15vw, 11rem) 1fr;
  gap: 0.35rem 2rem;
  padding: 0.95rem 0;
  align-items: baseline;
}
.spec-row + .spec-row { border-top: 1px solid var(--line); }
.spec-lbl {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mono-text);
}
.spec-val { font-size: var(--fs-body); color: var(--text); line-height: 1.55; }
.on-paper .spec-plate { border-color: var(--line-paper); background: rgba(20, 22, 27, 0.035); }
.on-paper .spec-row + .spec-row { border-color: var(--line-paper); }
.on-paper .spec-lbl { color: var(--ink-muted); }
.on-paper .spec-val { color: var(--ink-text); }
@media (max-width: 560px) { .spec-row { grid-template-columns: 1fr; } }

.tools-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}
.tools-row span {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-l);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  padding: 0.6rem 1rem;
  color: var(--text-muted);
  transition: border-color 0.3s, color 0.3s;
}
.tools-row span:hover { border-color: var(--red); color: var(--text); }

/* About - profile */
.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 880px) { .profile-grid { grid-template-columns: 1fr; } }

.profile-card {
  border: 1px solid var(--line-paper);
  background: var(--paper-2);
  padding: 2rem;
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}
@media (max-width: 880px) { .profile-card { position: static; } }
.profile-card .avatar {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(rgba(20,22,27,0.06) 1px, transparent 1px) 0 0 / 100% 22px,
    linear-gradient(90deg, rgba(20,22,27,0.06) 1px, transparent 1px) 0 0 / 22px 100%,
    var(--paper-3);
  margin-bottom: 1.5rem;
  border: 1px solid var(--line-paper);
  overflow: hidden;
  position: relative;
}
.profile-card .avatar svg { display: block; width: 100%; height: 100%; }
/* subtle warm vignette so the plate reads as a framed portrait */
.profile-card .avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 120% 90% at 50% 38%, transparent 45%, rgba(20,22,27,0.07));
  pointer-events: none;
}
.profile-card h3 { font-family: var(--f-display); font-size: var(--fs-head); font-weight: 500; color: var(--ink-text); }
.profile-card .role {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin: 0.4rem 0 1.2rem;
}
.profile-card ul { display: grid; gap: 0.55rem; border-top: 1px solid var(--line-paper); padding-top: 1.2rem; }
.profile-card li {
  font-size: var(--fs-body);
  color: var(--ink-muted);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: baseline;
}
.profile-card li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--red);
  transform: rotate(45deg);
  position: relative; top: -1px;
}

.prose > p { color: var(--ink-muted); margin-bottom: 1.4rem; max-width: 66ch; }
.prose > p:last-child { margin-bottom: 0; }
.on-ink .prose > p { color: var(--text-muted); }

/* Values strip (about) */
.values-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 800px) { .values-strip { grid-template-columns: 1fr; } }
.value-cell { background: var(--ink); padding: 2.2rem 1.9rem; }
.value-cell .mono-sub {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red-bright);
  display: block;
  margin-bottom: 1rem;
}
.value-cell h3 { font-family: var(--f-display); font-size: var(--fs-head); font-weight: 500; margin-bottom: 0.7rem; }
.value-cell p { color: var(--text-muted); font-size: var(--fs-body); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-aside .h-sub { margin-bottom: 1rem; }
.contact-aside > p { color: var(--text-muted); margin-bottom: 2.2rem; }

.contact-steps { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-steps .n {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-l);
  color: var(--red-bright);
  padding-top: 0.2rem;
}
.contact-steps h3 { font-family: var(--f-display); font-size: var(--fs-body); font-weight: 500; margin-bottom: 0.25rem; }
.contact-steps p { color: var(--text-muted); font-size: var(--fs-body); }

.confid-note {
  margin-top: 2rem;
  border: 1px solid var(--line);
  background: var(--ink-2);
  padding: 1.4rem 1.6rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}
.confid-note .mark { width: 9px; height: 9px; background: var(--red); transform: rotate(45deg); margin-top: 0.45rem; }
.confid-note p { font-size: var(--fs-body); color: var(--text-muted); }
.confid-note strong { color: var(--text); }

/* Form */
.enquiry-form {
  border: 1px solid var(--line);
  background: var(--ink-2);
  padding: clamp(1.75rem, 4vw, 3rem);
  position: relative;
}
.enquiry-form::before {
  content: "ENQUIRY - PRIVILEGED & CONFIDENTIAL";
  position: absolute;
  top: -0.55rem;
  left: 1.5rem;
  background: var(--ink);
  padding: 0 0.8rem;
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.16em;
  color: var(--red-bright);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
/* Single column: the fields' own margin-bottom provides the rhythm, so
   drop the row gap to avoid double spacing between stacked fields. */
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

.field { display: grid; gap: 0.5rem; margin-bottom: 1.4rem; align-content: start; }
.field label {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mono-text);
  /* Fixed line box so labels with and without the "(required)" span
     compute the same height and form rows stay aligned. */
  line-height: 1.65;
}
.field label b { color: var(--red-bright); font-weight: 400; }
.field input, .field select, .field textarea {
  background: var(--ink);
  border: 1px solid var(--line-strong);
  padding: 0.9rem 1rem;
  font-size: var(--fs-body);
  color: var(--text);
  border-radius: 0;
  width: 100%;
  transition: border-color 0.3s;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a3a49f' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--red);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 1px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: 0.5rem;
}
.form-foot .hint { font-size: var(--fs-body); color: var(--mono-text); max-width: 34ch; }

.form-status {
  margin-top: 1.2rem;
  font-family: var(--f-mono);
  font-size: var(--fs-mono-l);
  letter-spacing: 0.1em;
  color: var(--red-bright);
  min-height: 1.2em;
}

/* Enquiry form: required markers, supporting text, errors, urgent state */
.field .req, .field .req-opt {
  font-weight: 400;
  color: var(--mono-text);
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 1em;
  /* Must not enlarge the label's line box (keeps rows aligned) and
     must never break onto its own line. */
  line-height: 1;
  white-space: nowrap;
}
.field .sub { color: var(--mono-text); font-size: var(--fs-mono-l); margin: 0.1rem 0 0; }
.field-err { display: block; color: var(--red-bright); font-size: var(--fs-mono-l); margin-top: 0.3rem; }
/* display:block above must not defeat the hidden attribute — an empty
   error span was adding a phantom grid row that misaligned form rows. */
.field-err[hidden] { display: none; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red); }
.field.hl input { border-color: var(--red); }
.check-row { display: flex; gap: 0.65rem; align-items: center; }
.check-row input[type="checkbox"] { width: 1.05rem; height: 1.05rem; accent-color: var(--red); flex: none; }
.check-row label { color: var(--text); }
.form-privacy { font-size: var(--fs-mono-l); color: var(--mono-text); margin-bottom: 1.4rem; max-width: 62ch; }

/* Direct contact block */
.direct-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 3rem;
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.direct-row a, .direct-row span {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-l);
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.25s;
}
.direct-row a:hover { color: var(--red-bright); }
.direct-row .lbl { color: var(--mono-text); font-size: var(--fs-mono-s); letter-spacing: 0.15em; text-transform: uppercase; }

/* ============================================================
   MISC
   ============================================================ */
.divider-axis {
  display: flex;
  align-items: center;
  gap: 0;
  padding-block: 0.5rem;
  overflow: hidden;
}
.divider-axis::before, .divider-axis::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.divider-axis span {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.2em;
  color: var(--mono-text);
  padding-inline: 1.5rem;
  white-space: nowrap;
}

/* Visually hidden, exposed to assistive technology */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 2001;
  background: var(--red);
  color: #fff;
  padding: 0.8rem 1.2rem;
  font-family: var(--f-mono);
  font-size: var(--fs-mono-l);
  letter-spacing: 0.1em;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ============================================================
   V2 - INTERACTIVE HERO (data-date slider)
   ============================================================ */
.exhibit-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  border-top: 1px solid var(--line);
  background: rgba(232, 72, 47, 0.05);
}
.exhibit-controls .dd-label {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.exhibit-controls .dd-value {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-l);
  letter-spacing: 0.1em;
  color: var(--red-bright);
  min-width: 4ch;
  text-align: right;
}
.dd-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 22px;
  background: transparent;
  cursor: ew-resize;
}
.dd-slider::-webkit-slider-runnable-track {
  height: 3px;
  background: linear-gradient(90deg, var(--red) var(--fill, 100%), rgba(233,229,218,0.18) var(--fill, 100%));
}
.dd-slider::-moz-range-track {
  height: 3px;
  background: rgba(233,229,218,0.18);
}
.dd-slider::-moz-range-progress { height: 3px; background: var(--red); }
.dd-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 15px; height: 15px;
  background: var(--red-bright);
  transform: rotate(45deg) translateY(-5px);
  margin-top: -1px;
  border: 2px solid var(--ink);
  box-shadow: 0 0 0 1px var(--red-bright);
  transition: box-shadow 0.16s var(--ease-out);
}
.dd-slider::-moz-range-thumb {
  width: 13px; height: 13px;
  background: var(--red-bright);
  border: 2px solid var(--ink);
  border-radius: 0;
  transform: rotate(45deg);
  box-shadow: 0 0 0 1px var(--red-bright);
  transition: box-shadow 0.16s var(--ease-out);
}
/* Instrument feel: the thumb acknowledges the hand before it is dragged. */
@media (hover: hover) and (pointer: fine) {
  .dd-slider:hover::-webkit-slider-thumb { box-shadow: 0 0 0 1px var(--red-bright), 0 0 0 6px rgba(255, 90, 60, 0.14); }
  .dd-slider:hover::-moz-range-thumb { box-shadow: 0 0 0 1px var(--red-bright), 0 0 0 6px rgba(255, 90, 60, 0.14); }
}
.dd-slider:active::-webkit-slider-thumb { box-shadow: 0 0 0 1px var(--red-bright), 0 0 0 8px rgba(255, 90, 60, 0.2); }
.dd-slider:active::-moz-range-thumb { box-shadow: 0 0 0 1px var(--red-bright), 0 0 0 8px rgba(255, 90, 60, 0.2); }
.dd-slider:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 4px; }
.dd-hint {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-bright);
  animation: hintpulse 2.2s ease-in-out infinite;
  text-align: center;
}
@keyframes hintpulse { 0%,100% { opacity: 0.45; } 50% { opacity: 1; } }
.exhibit.scrubbing .dd-hint { animation: none; opacity: 0; }

/* JS-driven exhibit state: once interactive, kill entrance animations */
.exhibit.interactive .gantt-svg .bar,
.exhibit.interactive .gantt-svg .cpath,
.exhibit.interactive .gantt-svg .mstone,
.exhibit.interactive .gantt-svg .note { animation: none; }
.exhibit.interactive .gantt-svg .bar.planned-bar { transform: scaleX(1); }
.exhibit.interactive .gantt-svg .mstone,
.exhibit.interactive .gantt-svg .note { opacity: 1; }
.exhibit.interactive .gantt-svg .built { transition: none; }
/* Scrubbing is 1:1 direct manipulation - bars and the data-date line track
   the pointer with no lag. Only the gated annotations get a short fade so
   they don't teleport in and out as the date crosses their threshold. */
.exhibit.interactive .gantt-svg .note,
.exhibit.interactive .gantt-svg .mstone { transition: opacity 0.13s var(--ease-out); }
.gantt-svg .datadate {
  stroke: var(--red-bright);
  stroke-width: 1.2;
  opacity: 0;
}
.exhibit.interactive .gantt-svg .datadate { opacity: 0.9; }

.site-nav .nav-cta.solid { background: var(--red); border-color: var(--red); color: #fff; }
.site-nav .nav-cta.solid:hover { background: var(--red-bright); border-color: var(--red-bright); }
.exhibit-controls .dd-hint { grid-column: 2; justify-self: center; margin-top: 2px; }
.on-paper .case-card { box-shadow: 0 14px 34px -20px rgba(0, 0, 0, 0.4); }

/* ============================================================
   V2 - URGENT LINE
   The priority route for deadline-critical visitors. In-flow over the
   hero's top padding: it is content at the top of the page, not a
   floating overlay, so it can never cover anything the reader is
   scanning (remediation condition) and needs no dismiss logic. It
   scrolls away with the hero.
   ============================================================ */
.urgent-line {
  position: absolute;
  top: calc(var(--header-h) + 14px);
  left: 0;
  right: 0;
  z-index: 500;
  width: min(1280px, 100% - var(--gutter) * 2);
  margin-inline: auto;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}
.urgent-line a {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  opacity: 0;
  animation: urgentin 0.6s var(--ease-out) 0.9s forwards;
  transition: color 0.25s, border-color 0.25s;
}
@keyframes urgentin { to { opacity: 1; } }
.urgent-line a:hover { color: var(--red-bright); border-color: rgba(255, 90, 60, 0.5); }
.urgent-line a::before {
  content: "";
  width: 7px; height: 7px;
  flex: none;
  background: var(--red);
  transform: rotate(45deg);
  animation: hintpulse 1.6s ease-in-out infinite;
}

/* ============================================================
   V2 - CASE FILES
   ============================================================ */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
@media (max-width: 880px) { .case-grid { grid-template-columns: 1fr; } }

.case-card {
  position: relative;
  background: var(--paper);
  color: var(--ink-text);
  padding: 2rem 1.9rem 1.9rem;
  border: 1px solid var(--line-paper);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 56px -24px rgba(0, 0, 0, 0.55);
}
.case-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 22px; height: 22px;
  background: var(--red);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}
.case-ref {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 1rem;
}
.case-card h3 {
  font-family: var(--f-display);
  font-size: var(--fs-head);
  font-weight: 500;
  line-height: 1.12;
  margin-bottom: 1.1rem;
}
.case-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.6rem 2rem;
  border-top: 1px solid var(--line-paper);
  border-bottom: 1px solid var(--line-paper);
  padding: 0.8rem 0;
  margin-bottom: 1.1rem;
}
.case-meta div { display: grid; gap: 0.15rem; }
.case-meta dt {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.case-meta dd {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-l);
  letter-spacing: 0.06em;
  color: var(--ink-text);
}
.case-card > p { color: var(--ink-muted); font-size: var(--fs-body); margin-bottom: 1.2rem; }
.case-outcome {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  background: rgba(232, 72, 47, 0.07);
  border-left: 3px solid var(--red);
  padding: 0.9rem 1rem;
}
.case-outcome .lbl {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  padding-top: 0.2rem;
}
.case-outcome p { font-size: var(--fs-body); color: var(--ink-text); font-weight: 500; }

/* Featured case file: spans the grid */
.case-card.case-feature { grid-column: 1 / -1; }

.placeholder-note {
  margin-top: clamp(2rem, 4vw, 3rem);
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mono-text);
  text-align: center;
}
.on-paper .placeholder-note { color: var(--ink-muted); }

/* ============================================================
   V2 - FAQ
   ============================================================ */
.faq-list { border-top: 1px solid var(--line); max-width: 900px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: baseline;
  padding: 1.5rem 0.5rem;
  transition: color 0.25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .qn {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-l);
  color: var(--red-bright);
  letter-spacing: 0.1em;
}
.faq-item summary h3 {
  font-family: var(--f-display);
  font-size: var(--fs-head);
  font-weight: 500;
}
.faq-item summary .ind {
  width: 11px; height: 11px;
  border: 1.5px solid var(--red);
  transform: rotate(45deg);
  transition: background 0.3s, transform 0.4s var(--ease-out);
  position: relative;
  top: -2px;
}
.faq-item[open] summary .ind { background: var(--red); transform: rotate(225deg); }
.faq-item summary:hover h3 { color: var(--red-bright); }
.faq-body {
  padding: 0 0.5rem 1.75rem calc(0.5rem + 0.68rem + 1.25rem + 0.6ch);
  color: var(--text-muted);
  max-width: 72ch;
}
.faq-body p + p { margin-top: 0.8rem; }
@media (max-width: 640px) { .faq-body { padding-left: 0.5rem; } }

/* ============================================================
   V2 - TESTIMONIALS
   ============================================================ */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-paper);
  border: 1px solid var(--line-paper);
}
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }
.quote-cell {
  background: var(--paper);
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.quote-cell blockquote {
  font-family: var(--f-display);
  font-size: var(--fs-lede);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink-text);
  flex: 1;
}
.quote-cell blockquote::before { content: "\201C"; color: var(--red); font-size: 1.6em; line-height: 1; vertical-align: -0.35em; margin-right: 0.15rem; }
.quote-cell cite {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.quote-cell cite::before { content: ""; width: 18px; height: 2px; background: var(--red); }

/* ============================================================
   V2 - HEALTH CHECK PROMO BAND
   ============================================================ */
.hc-promo {
  position: relative;
  border: 1px solid rgba(232, 72, 47, 0.4);
  background:
    linear-gradient(115deg, rgba(232,72,47,0.12), transparent 55%),
    var(--ink-2);
  padding: clamp(2.25rem, 5vw, 3.75rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  overflow: hidden;
}
@media (max-width: 880px) { .hc-promo { grid-template-columns: 1fr; } }
.hc-promo::before, .hc-promo::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border-color: var(--red);
  border-style: solid;
}
.hc-promo::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.hc-promo::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.hc-promo h2 { margin-bottom: 1rem; }
.hc-promo .lede { margin-bottom: 2rem; }
.hc-mini { border: 1px solid var(--line); background: var(--ink); padding: 1.4rem; }
.hc-mini .mini-row { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 0.55rem 0; }
.hc-mini .mini-row + .mini-row { border-top: 1px solid var(--line); }
.hc-mini .mini-lbl {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  min-width: 8ch;
}
.hc-mini .mini-bar { height: 6px; background: rgba(233,229,218,0.1); position: relative; overflow: hidden; }
.hc-mini .mini-bar i {
  position: absolute; inset: 0;
  transform-origin: left;
  background: var(--steel);
  animation: minibar 1.4s var(--ease-swift) both;
}
.hc-mini .mini-bar.crit i { background: var(--red); }
.hc-mini .mini-val { font-family: var(--f-mono); font-size: var(--fs-mono-s); color: var(--text-muted); min-width: 3.5ch; text-align: right; }
@keyframes minibar { from { transform: scaleX(0); } }

/* ============================================================
   V2 - HEALTH CHECK TOOL
   ============================================================ */
.hc-shell {
  max-width: 860px;
  margin-inline: auto;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--ink-2), var(--ink-3));
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
  position: relative;
}
.hc-shell::before, .hc-shell::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border-color: var(--red);
  border-style: solid;
}
.hc-shell::before { top: -7px; left: -7px; border-width: 2px 0 0 2px; }
.hc-shell::after { bottom: -7px; right: -7px; border-width: 0 2px 2px 0; }

.hc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hc-head .tag { color: var(--red-bright); display: inline-flex; align-items: center; gap: 0.5rem; }
.hc-head .tag::before { content: ""; width: 8px; height: 8px; border: 1.5px solid var(--red-bright); transform: rotate(45deg); }

.hc-progress { display: flex; gap: 4px; padding: 0 1.5rem; margin-top: 1.25rem; }
.hc-progress i { flex: 1; height: 3px; background: rgba(233,229,218,0.12); transition: background 0.4s; }
.hc-progress i.done { background: var(--red); }
.hc-progress i.cur { background: rgba(232, 72, 47, 0.35); }

.hc-body {
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 2.5rem);
  /* Question phases exceed this naturally, so only the lean intro is
     tightened; phase-to-phase height stays stable. */
  min-height: 300px;
  display: flex;
  flex-direction: column;
  transition: opacity 0.18s var(--ease-out), transform 0.18s var(--ease-out);
}
/* Phase swap: content settles in rather than teleporting. setBody() applies
   .hc-swap for one frame, then releases it so the transition above runs. */
.hc-body.hc-swap { transition: none; opacity: 0; transform: translateY(6px); }
.hc-qnum { font-family: var(--f-mono); font-size: var(--fs-mono-s); letter-spacing: 0.15em; color: var(--red-bright); margin-bottom: 1rem; }
.hc-question {
  font-family: var(--f-display);
  font-size: var(--fs-head);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.hc-why { color: var(--mono-text); font-size: var(--fs-body); margin-bottom: 1.75rem; max-width: 58ch; }

.hc-options { display: grid; gap: 0.7rem; }
.hc-opt {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: baseline;
  border: 1px solid var(--line-strong);
  padding: 1.05rem 1.2rem;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease-out);
  text-align: left;
  width: 100%;
  font-size: var(--fs-body);
  color: var(--text);
}
.hc-opt:hover { border-color: var(--red); background: rgba(232, 72, 47, 0.06); transform: translateX(4px); }
.hc-opt::before {
  content: "";
  width: 9px; height: 9px;
  border: 1.5px solid var(--red);
  transform: rotate(45deg);
  transition: background 0.2s;
  position: relative;
  top: -1px;
}
.hc-opt:hover::before { background: var(--red); }
.hc-opt small { display: block; color: var(--mono-text); font-size: var(--fs-body); margin-top: 0.25rem; }

.hc-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--line);
}
.hc-back {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--mono-text);
  transition: color 0.25s;
}
.hc-back:hover { color: var(--red-bright); }
.hc-back[hidden] { visibility: hidden; }
.hc-priv { font-family: var(--f-mono); font-size: var(--fs-mono-s); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mono-text); }

/* Result */
.hc-result-head { text-align: center; margin-bottom: 2.25rem; }
.hc-result-head .kicker { justify-content: center; display: inline-flex; }
.hc-result-head p { color: var(--text-muted); max-width: 52ch; margin-inline: auto; }

.score-rows { display: grid; gap: 1.1rem; margin-bottom: 2.25rem; }
.score-row { display: grid; grid-template-columns: 150px 1fr 4ch; gap: 1.1rem; align-items: center; }
@media (max-width: 560px) { .score-row { grid-template-columns: 100px 1fr 4ch; } }
.score-row .lbl {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.score-bar { height: 10px; background: rgba(233,229,218,0.1); position: relative; }
.score-bar i {
  position: absolute; inset: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease-swift);
}
.score-bar.s-ok i { background: #7fb069; }
.score-bar.s-warn i { background: #e8a13a; }
.score-bar.s-bad i { background: var(--red); }
.score-row .val { font-family: var(--f-mono); font-size: var(--fs-mono-l); color: var(--text); text-align: right; }

.hc-recs { border-top: 1px solid var(--line); margin-bottom: 2.25rem; }
.hc-recs li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.05rem 0.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
  font-size: var(--fs-body);
  align-items: baseline;
}
.hc-recs li::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--red);
  transform: rotate(45deg);
  position: relative;
  top: -1px;
}
.hc-recs li strong { color: var(--text); font-weight: 500; }
.hc-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hc-restart {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--mono-text);
  margin-top: 1.5rem;
  display: inline-block;
  transition: color 0.25s;
}
.hc-restart:hover { color: var(--red-bright); }
.hc-disclaimer {
  margin-top: 2rem;
  font-size: var(--fs-mono-l);
  color: var(--mono-text);
  text-align: center;
  max-width: 58ch;
  margin-inline: auto;
}
/* Secondary notes inside the JS-rendered result. On the type scale and
   AA-clear - JS-state content obeys the same rules as static content. */
.hc-note {
  color: var(--mono-text);
  font-size: var(--fs-mono-l);
  text-align: center;
  max-width: 56ch;
  margin: 0.75rem auto 0;
}

/* Health Check qualitative result areas (no percentages) */
.hc-area-list { display: grid; gap: 0.9rem; margin-bottom: 2.25rem; text-align: left; }
.hc-area { border: 1px solid var(--line); background: var(--ink); padding: 1.1rem 1.25rem; display: grid; gap: 0.45rem; }
.hc-area .hd { display: flex; justify-content: flex-start; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.hc-area .hd .lvl { margin-left: auto; }
.hc-area .lbl {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mono-text);
}
.hc-area .lvl {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
/* Level ranking stays inside the fixed palette: strongest = full text
   colour, middle = muted, weakest = the single signal orange. (A legacy
   green here was the last survivor of the removed stamp treatment.) */
.hc-area .lvl.l-top { color: var(--text); }
.hc-area .lvl.l-mid { color: var(--text-muted); }
.hc-area .lvl.l-low { color: var(--red-bright); }
.hc-area p { color: var(--text-muted); font-size: var(--fs-body); margin: 0; }
.hc-area p.nx { color: var(--mono-text); font-size: var(--fs-body); }
.hc-area .ref {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.12em;
  color: var(--mono-text);
}
/* Findings assemble in sequence on completion - the one moment that earns
   a composed entrance. */
.hc-area-list .hc-area {
  opacity: 0;
  transform: translateY(6px);
  animation: hcarea 0.4s var(--ease-out) forwards;
  animation-delay: calc(var(--d, 0) * 55ms);
}
@keyframes hcarea { to { opacity: 1; transform: none; } }
@media (min-width: 860px) {
  .hc-area-list { grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  .hc-area-list .hc-area { animation: none !important; opacity: 1; transform: none; }
  .hc-body, .hc-body.hc-swap { transition: none !important; opacity: 1; transform: none; }
}

/* ============================================================
   V2 - INSIGHTS
   ============================================================ */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
@media (max-width: 960px) { .insights-grid { grid-template-columns: 1fr; } }
.insight-card {
  position: relative;
  border: 1px solid var(--line);
  background: var(--ink-2);
  padding: 1.9rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  /* Same document grammar as the case files: the clipped corner marks it
     as a file you can open. */
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  transition: border-color 0.3s, transform 0.35s var(--ease-out);
}
.insight-card:hover { border-color: rgba(232, 72, 47, 0.5); transform: translateY(-4px); }
/* The whole card is the link, not just the headline text. */
.insight-card h3 a::after { content: ""; position: absolute; inset: 0; }
.insight-card .link-mono { position: relative; z-index: 1; }
.insight-card:has(h3 a:focus-visible) { outline: 2px solid var(--red-bright); outline-offset: 2px; }
.insight-card .tag {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red-bright);
}
.insight-card h3 {
  font-family: var(--f-display);
  font-size: var(--fs-head);
  font-weight: 500;
  line-height: 1.25;
}
.insight-card h3 a { transition: color 0.25s; }
.insight-card h3 a:hover { color: var(--red-bright); }
.insight-card p { color: var(--text-muted); font-size: var(--fs-body); flex: 1; }
.insight-card .meta {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mono-text);
}

/* Article page */
.article-wrap { max-width: 760px; margin-inline: auto; }
.article-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.article-head .h-display { font-size: var(--fs-title); }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  margin-top: 1.75rem;
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--mono-text);
}
.article-body > p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: var(--fs-body); line-height: 1.65; }
.article-body > p:first-of-type { color: var(--text); font-size: var(--fs-lede); }
.article-body h2 {
  font-family: var(--f-display);
  font-size: var(--fs-head);
  font-weight: 400;
  margin: 3rem 0 1.25rem;
}
.article-body h3 {
  font-family: var(--f-display);
  font-size: var(--fs-lede);
  font-weight: 500;
  margin: 2.25rem 0 0.9rem;
}
.article-body ul, .article-body ol { margin: 0 0 1.5rem; display: grid; gap: 0.7rem; }
.article-body ul li, .article-body ol li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  color: var(--text-muted);
  align-items: baseline;
}
.article-body ul li::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--red);
  transform: rotate(45deg);
  position: relative;
  top: -1px;
}
.article-body ol { counter-reset: art; }
.article-body ol li { counter-increment: art; }
.article-body ol li::before {
  content: counter(art, decimal-leading-zero);
  font-family: var(--f-mono);
  font-size: var(--fs-mono-l);
  color: var(--red-bright);
}
.article-body strong { color: var(--text); font-weight: 500; }
.article-body blockquote {
  border-left: 3px solid var(--red);
  background: var(--ink-2);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  font-family: var(--f-display);
  font-style: italic;
  font-size: var(--fs-lede);
  line-height: 1.55;
  color: var(--text);
}
.article-fig {
  border: 1px solid var(--line);
  background: var(--ink-2);
  margin: 2.25rem 0;
}
.article-fig svg { width: 100%; height: auto; }
.article-fig figcaption {
  padding: 0.8rem 1.2rem;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--mono-text);
}
.article-cta {
  margin: 3rem 0 0;
  border: 1px solid rgba(232, 72, 47, 0.4);
  background: rgba(232, 72, 47, 0.06);
  padding: 1.75rem 2rem;
}
.article-cta h3 { font-family: var(--f-display); font-size: var(--fs-lede); font-weight: 500; margin-bottom: 0.5rem; }
.article-cta p { color: var(--text-muted); font-size: var(--fs-body); margin-bottom: 1.25rem; }

/* ============================================================
   V2 - 404
   ============================================================ */
.err-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}
.err-code {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-l);
  letter-spacing: 0.2em;
  color: var(--red-bright);
  margin-bottom: 1.5rem;
  display: block;
}

/* ============================================================
   Batch 2 - Colour tokens (remediation)
   The brand values are untouched for display use; each gains an
   AA-compliant text counterpart for small sizes. Values validated
   with tools/contrast.mjs:
     --orange-text  #b23621: 5.22 on cream, 4.76 on paper-2
     --orange-button #bd3820: 5.60 with #fff text (hover #c73f27: 5.04)
     --mono-text    #8f918c: 5.89 / 5.49 / 5.02 on ink / ink-2 / ink-3
   ============================================================ */
:root {
  --orange-display: #e8482f; /* = --red; >=24px, brand mark, display accents */
  --orange-text: #b23621;    /* small orange text on cream/paper surfaces */
  --orange-button: #bd3820;  /* solid CTA fill, AA with white label */
  --mono-text: #8f918c;      /* meaningful mono/microcopy on dark surfaces */
  --steel-text: #546678;     /* steel accents as text on cream/paper (5.06/4.62) */
  /* Batch 3 type scale: seven steps, three weights */
  --fs-display: clamp(2.6rem, 6.2vw, 5.2rem);
  --fs-title: clamp(2rem, 4.2vw, 3.4rem);
  --fs-head: 1.45rem;
  --fs-lede: clamp(1.05rem, 1.6vw, 1.25rem);
  --fs-body: 1rem;
  --fs-mono-l: 0.75rem;
  --fs-mono-s: 0.625rem;
}

/* Small orange text on paper surfaces -> AA text orange */
.on-paper .link-mono, .svc-card .link-mono,
.on-paper .btn-ghost:hover,
.on-paper .ledger-num,
.on-paper .faq-item summary .qn, .on-paper .faq-item summary:hover h3,
.case-ref, .case-outcome .lbl, .svc-tag,
.profile-card .role,
.on-paper .methods-note p strong,
.on-paper .pullquote blockquote strong,
.on-paper .sector-row::before,
.sector-row:hover .sector-name { color: var(--orange-text); }
.on-paper .link-mono:hover, .svc-card .link-mono:hover { border-color: var(--orange-text); }
.on-paper .btn-ghost:hover { border-color: var(--orange-text); }

/* Solid CTAs: fill deepened so the white label clears AA */
.btn-solid { background: var(--orange-button); }
.btn-solid:hover { background: #c73f27; }
.site-nav .nav-cta.solid { background: var(--orange-button); border-color: var(--orange-button); }
.site-nav .nav-cta:hover { background: var(--orange-button); border-color: var(--orange-button); }

/* Emphasis inside the tinted note band: assertive cream, not dim orange */
.methods-note p strong { color: var(--text); }

/* Meaningful mono microcopy on dark surfaces -> AA mono grey */
.duty-block .mono { color: var(--mono-text); }
.article-fig figcaption { color: var(--mono-text); }

/* Statement blocks read as assertions, not decoration */
.duty-block p { font-style: normal; }

/* Batch 3: the weight set is 400/500/600 - browsers default bold
   elements to 700, which would add a fourth weight. */
strong, b { font-weight: 600; }
h1, h2, h3, h4, h5, h6 { font-weight: 500; }
th { font-weight: 600; }

/* Batch 3 spacing fixes */
/* A section whose only child is its heading carries no trailing slack */
.section-head:last-child { margin-bottom: 0; }
/* Measure caps: side ledes ~55ch, the featured case body ~72ch */
.section-head .lede { max-width: 48ch; }
.case-feature > p { max-width: 72ch; }
/* Sub-page heroes hand over to content without a dead screen */
.page-hero + .section { padding-top: var(--sp-5); }
/* Principle headings reserve two lines so the three bodies and their
   hairline dividers baseline-align across the row */
.principle h3 { min-height: 2.5em; }
/* Article/legal pages: first heading starts the page, no inherited gap */
.article-body > h2:first-child { margin-top: 0; }

/* ============================================================
   Batch 4 - Structure (remediation)
   ============================================================ */
/* Service detail: the short left column tracks the tall right column */
.svc-detail-head { position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; }

/* Casework grid: feature spans, the remaining three sit 3-up, so no
   half-width card dangles beside an empty cell */
@media (min-width: 1000px) {
  .case-grid { grid-template-columns: repeat(6, 1fr); }
  .case-card { grid-column: span 3; }
  .case-card.case-feature { grid-column: 1 / -1; }
  .case-feature ~ .case-card { grid-column: span 2; }
}

/* Insights index: cards read as clickable at rest */
.insight-card { border-color: var(--line-strong); }
.insight-card::after {
  content: "Read the article →";
  font-family: var(--f-mono);
  font-size: var(--fs-mono-l);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-top: auto;
}

/* Health Check: the page's main event no longer under-scaled */
.hc-shell { max-width: 900px; }

/* Hero gantt at phone widths: labels raised to a legible size, header
   and legend kept on their lines */
@media (max-width: 640px) {
  .gantt-svg text { font-size: 15px; }
  .exhibit-head .tag { white-space: nowrap; }
  .exhibit-foot { gap: 0.45rem 1.1rem; }
}

/* Article table of contents: jump links in the empty right rail */
.article-body h2 { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.article-toc { display: none; }
@media (min-width: 1240px) {
  .article-toc { display: block; position: absolute; top: 0; bottom: 0; left: calc(50% + 350px); width: 250px; }
  .article-toc .toc-inner { position: sticky; top: calc(var(--header-h) + 2.5rem); display: grid; gap: 0.55rem; }
  .article-toc .toc-lbl { font-family: var(--f-mono); font-size: var(--fs-mono-s); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mono-text); margin-bottom: 0.35rem; }
  .article-toc a { font-size: var(--fs-mono-l); font-family: var(--f-mono); letter-spacing: 0.04em; color: var(--text-muted); border-left: 2px solid var(--line); padding-left: 0.75rem; transition: color 0.25s, border-color 0.25s; }
  .article-toc a:hover { color: var(--red-bright); border-color: var(--red); }
}

/* Services page: one continuous paper run. The index header owns the
   section from its pale paper-2 band; the six services are subordinate
   entries - milestone-marked one-line display titles with the
   description and deliverables in two edge-aligned blocks beneath. */
.svc-band { background: var(--paper); color: var(--ink-text); border-top: 1px solid var(--line-paper); }
.svc-band .svc-detail {
  border-bottom: none;
  display: block;
  padding-left: clamp(1rem, 2.5vw, 2rem);
  padding-block: clamp(2.25rem, 4.5vw, 3.5rem);
}
/* relative (not static) so the title-line glyph can anchor to it;
   top reset because the service-page sticky rule leaves top:100px */
.svc-band .svc-detail-head { position: relative; top: 0; }
/* Service titles at display scale, one line across the page width */
.svc-band .svc-detail-head h2 { font-size: var(--fs-title); margin-bottom: 0.6rem; }
.svc-band .idx { display: inline-flex; align-items: center; gap: 0.55rem; margin-bottom: 0.5rem; }
.svc-band .idx::before { content: ""; width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); flex: none; }
/* Two blocks under the title, sharing top and bottom edges: the text
   column anchors its link to the bottom line of the deliverables list */
.svc-detail-cols {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  margin-top: 1.9rem;
  align-items: stretch;
}
.svc-band .svc-detail-body { display: flex; flex-direction: column; }
.svc-band .svc-detail-body > p:last-child { margin-top: auto; padding-top: 1.4rem; }
.svc-band .svc-detail-body > p { max-width: 60ch; }
.svc-deliver { display: flex; flex-direction: column; }
.svc-deliver .deliver-list { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
@media (max-width: 860px) {
  .svc-detail-cols { grid-template-columns: 1fr; gap: 1.5rem; }
  .svc-band .svc-detail { padding-left: 0; }
  .svc-band .svc-detail-body > p:last-child { margin-top: 0; padding-top: 0.4rem; }
}

/* Engagement steps on paper */
.on-paper .step h3 { color: var(--ink-text); }
.on-paper .step p { color: var(--ink-muted); }
.on-paper .step-num { color: var(--orange-text); }

/* Engagement options: three coded plates on the pale closing band.
   The code uses the site's escalation grammar - hollow steel, filled
   steel, filled red - and each plate's rule draws in on reveal.
   No hover treatment: these plates are not links, and hover grammar
   on this site is reserved for things that can be clicked. */
.opt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
@media (max-width: 880px) { .opt-grid { grid-template-columns: 1fr; } }
.opt-card {
  background: var(--paper);
  border: 1px solid var(--line-paper);
  padding: 1.6rem 1.6rem 1.9rem;
}
.opt-rule {
  display: block;
  position: relative;
  height: 2px;
  margin-bottom: 1.5rem;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease-swift);
}
.opt-card.in .opt-rule { transform: scaleX(1); }
.opt-card.in .opt-rule { transition-delay: calc(var(--d, 0) * 90ms + 120ms); }
.opt-rule::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px; height: 8px;
  margin-top: -4px;
  transform: rotate(45deg);
}
.opt-rule.code-1 { background: var(--steel-dim); }
.opt-rule.code-1::before { background: var(--paper); border: 1.5px solid var(--steel); }
.opt-rule.code-2 { background: var(--steel); }
.opt-rule.code-2::before { background: var(--steel); }
.opt-rule.code-3 { background: var(--red); }
.opt-rule.code-3::before { background: var(--red); }
.opt-idx {
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.8rem;
}
.opt-card h3 { font-family: var(--f-display); font-size: var(--fs-head); color: var(--ink-text); margin-bottom: 0.6rem; }
.opt-card p { color: var(--ink-muted); font-size: var(--fs-body); }

/* Jump blocks in the header band: six animated link plates, three per
   row, each routing to its service entry */
.svc-jump-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.8rem, 1.5vw, 1.1rem);
  margin-top: 2rem;
}
@media (max-width: 880px) { .svc-jump-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-jump-grid { grid-template-columns: 1fr; } }
.svc-jump-grid a {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  background: var(--paper);
  border: 1px solid var(--line-paper);
  padding: 1rem 1.15rem;
  transition: border-color 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.svc-jump-grid .n { font-family: var(--f-mono); font-size: var(--fs-mono-s); letter-spacing: 0.12em; color: var(--orange-text); flex: none; }
.svc-jump-grid .t { font-family: var(--f-display); font-size: var(--fs-body); color: var(--ink-text); line-height: 1.25; }
.svc-jump-grid .go { margin-left: auto; font-family: var(--f-mono); font-size: var(--fs-mono-l); color: var(--orange-text); transition: transform 0.25s var(--ease-out); flex: none; }
@media (hover: hover) and (pointer: fine) {
  .svc-jump-grid a:hover { border-color: var(--orange-text); transform: translateY(-2px); box-shadow: 0 10px 24px -16px rgba(20, 22, 27, 0.35); }
  .svc-jump-grid a:hover .go { transform: translateX(4px); }
}
.svc-jump-grid a:active { transform: translateY(0); }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .svc-jump-grid a, .svc-jump-grid .go { transition: border-color 0.25s, box-shadow 0.25s; }
  .svc-jump-grid a:hover { transform: none; }
  .svc-jump-grid a:hover .go { transform: none; }
}

/* Entry anatomy: a rule closes the full-width title line, with the
   service number as a quiet oversized numeral at its right end (the
   homepage exhibit-card language); the audience line heads the left
   column level with the deliverables label */
.svc-band .svc-detail-head { padding-bottom: 1.1rem; border-bottom: 1px solid var(--line-paper); }
.svc-band .svc-detail-head::after {
  content: attr(data-n);
  position: absolute;
  right: 0;
  bottom: 0.4rem;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: 5.5rem;
  line-height: 1;
  color: rgba(20, 22, 27, 0.07);
  pointer-events: none;
}
.svc-band .svc-detail-head h2 { margin-bottom: 0; }
.svc-band .svc-detail-body .who {
  display: block;
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line-paper);
  margin-bottom: 0.2rem;
}
/* Both column labels share one construction so their tops, hairlines
   and first content lines land on the same grid */
.svc-band .deliver-label { margin-top: 0; margin-bottom: 0; padding-bottom: 0.85rem; border-bottom: 1px solid var(--line-paper); }
.svc-band .deliver-list { margin-top: 0; border-top: none; }
@media (max-width: 1000px) { .svc-band .svc-detail-head::after { display: none; } }

/* ---------- Direct enquiry submission (ported from content-v2) ---------- */
.form-status.ok { color: var(--steel); }
.form-status.err { color: var(--red-bright); }
/* Honeypot: invisible to people (and to screen readers via aria-hidden),
   present for the bots the server-side check catches. */
.hp-field {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
/* Health Check send step */
.hc-send {
  margin: 1.6rem auto 0;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  max-width: 640px;
}
.hc-send-row { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.hc-send-row input {
  flex: 1 1 180px;
  min-width: 0;
  background: var(--ink);
  border: 1px solid var(--line-strong);
  padding: 0.85rem 1rem;
  font-size: var(--fs-body);
  color: var(--text);
}
.hc-send-row input::placeholder { color: var(--text-faint); }
.hc-send-row input:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 2px; }
.hc-send .form-status { text-align: center; }

/* Wide tables break out of the prose column instead of wrapping every
   cell to five lines; cells top-align so sparse rows do not look broken */
.table-breakout { overflow-x: auto; width: min(1060px, calc(100vw - 2 * var(--gutter))); margin-left: 50%; transform: translateX(-50%); }
.table-breakout table { min-width: 640px; }
.table-breakout th, .table-breakout td { vertical-align: top; }

/* Gate-driven fixes from tools/check-contrast.mjs */
.skip-link { background: var(--orange-button); }
.on-paper .idx, .on-paper .principle-num { color: var(--orange-text); }
/* On the pink tinted note band, orange falls just short of AA - the
   emphasis and links go assertive ink instead. */
.on-paper .methods-note p strong { color: var(--ink-text); }

/* ============================================================
   V2 - Surface alternation support (Iteration 3c)
   Components gain the missing counterpart so any section can sit
   on ink or paper and the homepage alternates strictly.
   ============================================================ */

/* Situation ledger on paper */
.on-paper .ledger, .on-paper .ledger-row { border-color: var(--line-paper); }
.on-paper .ledger-num { color: var(--orange-text); }
.on-paper .ledger-title { color: var(--ink-text); }
.on-paper .ledger-desc, .on-paper .ledger-cue { color: var(--ink-muted); }
.on-paper .ledger-cue a:hover, .on-paper .ledger-cue a:focus-visible { color: var(--red); }

/* Service exhibit cards on ink: the cards stay paper plates and pop
   against the dark section; only the grid lines change register. */
.section:not(.section-paper) .svc-grid { background: var(--line); border-color: var(--line); }
.svc-card .link-mono { color: var(--orange-text); }
.svc-card .link-mono:hover { border-color: var(--orange-text); }

/* Flow diagram on paper */
.on-paper .flow-node::before { background: var(--paper); }
.on-paper .flow-node:nth-child(n+4)::before { background: var(--red); }
.on-paper .flow-node h3, .on-paper .flow-node .flow-title { color: var(--ink-text); }
.on-paper .flow-node p { color: var(--ink-muted); }
.on-paper .flow-num { color: var(--steel-text); }
.on-paper .flow-node:nth-child(n+4) .flow-num { color: var(--orange-text); }
.on-paper .flow-node:not(:last-child)::after { border-color: rgba(20, 22, 27, 0.28); }

/* Health Check promo: the panel itself stays an ink plate even when
   its section sits on paper, so its interior keeps dark-surface colors. */
.on-paper .hc-promo .kicker { color: var(--text-muted); }
.on-paper .hc-promo .h-section { color: var(--text); }
.on-paper .hc-promo .h-section em { color: var(--red-bright); }
.on-paper .hc-promo .lede { color: var(--text-muted); }

/* FAQ on paper */
.on-paper .faq-list, .on-paper .faq-item { border-color: var(--line-paper); }
.on-paper .faq-item summary .qn { color: var(--orange-text); }
.on-paper .faq-item summary h3 { color: var(--ink-text); }
.on-paper .faq-item summary:hover h3 { color: var(--orange-text); }
.on-paper .faq-body { color: var(--ink-muted); }

/* ============================================================
   V2 - Career critical-path exhibit (full-width, animated)
   The founder's biography drawn as a programme: steel bars for
   personal delivery experience, a dashed launch marker mid-career,
   red bars for the consultancy's services. Bars and links draw in
   sequence once the plate scrolls into view, echoing the hero gantt.
   ============================================================ */
.spec-plate.fill { display: flex; flex-direction: column; justify-content: space-between; }
/* Rows compress to their content so the stretched plate's height is set by
   the neighbouring column; flex distribution then shares the slack evenly
   and the plate's bottom edge lands exactly on the neighbour's last line. */
.spec-plate.fill .spec-row { flex: 1; display: grid; align-content: center; padding: 0.35rem 0; }

/* Paper plate variant: a cream exhibit sitting on an ink section */
.spec-plate.plate-paper { background: var(--paper); border-color: var(--paper); }
.plate-paper .spec-row + .spec-row { border-color: var(--line-paper); }
.plate-paper .spec-lbl { color: var(--ink-muted); }
.plate-paper .spec-val { color: var(--ink-text); }
.career-plate.plate-paper .career-head { border-color: var(--line-paper); }
.plate-paper .career-name, .plate-paper .career-brand-name { color: var(--ink-text); }
.plate-paper .career-brand-name em { color: var(--red); }

.career-plate { padding: 1.5rem 1.9rem 1.35rem; }
.career-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1.6rem;
  border-bottom: 1px solid var(--line);
}
.career-name {
  font-family: var(--f-display);
  font-size: var(--fs-lede);
  font-weight: 500;
  color: var(--text);
}
.career-brand { display: inline-flex; align-items: center; gap: 0.55rem; }
.career-brand svg { width: 26px; height: 26px; display: block; }
.career-brand-name { font-family: var(--f-display); font-size: var(--fs-body); color: var(--text); }
.career-brand-name em { color: var(--red-bright); }
.career-svg { width: 100%; height: auto; display: block; }
.career-svg text { font-family: var(--f-mono); }
.career-narrow { display: none; }
@media (max-width: 860px) {
  .career-wide { display: none; }
  .career-narrow { display: block; max-width: 420px; margin-inline: auto; }
}

.career-svg .cbar { transform: scaleX(0); transform-box: fill-box; transform-origin: left center; transition: transform 0.85s var(--ease-swift); }
.career-svg .clink { transform: scaleY(0); transform-box: fill-box; transform-origin: center top; transition: transform 0.45s var(--ease-swift); }
.career-svg .cnote { opacity: 0; transition: opacity 0.7s ease; }
.career-plate.in .cbar, .career-track.in .cbar { transform: scaleX(1); }
.career-plate.in .clink, .career-track.in .clink { transform: scaleY(1); }
.career-plate.in .cnote, .career-track.in .cnote { opacity: 1; }

/* ============================================================
   V2 - Founder composition: proposition, professional proof,
   career trajectory. One grid, one plate, one quiet timeline.
   ============================================================ */
.founder-grid { display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); gap: clamp(3.5rem, 5.5vw, 5rem); align-items: stretch; }
@media (max-width: 940px) { .founder-grid { grid-template-columns: 1fr; gap: 3rem; } }

/* The plate sits on ink so it recedes into the section; it stretches to
   the left column's height and its rows distribute across the slack, so
   its top meets the headline and its bottom meets the supporting line. */
.profile-plate { padding: clamp(1.9rem, 3vw, 2.6rem) clamp(1.8rem, 3vw, 2.5rem); display: flex; flex-direction: column; }
.profile-plate .pp-grid { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.pp-grid .pp-row { flex: 1; align-content: center; }
.pp-head { padding-bottom: 1.3rem; margin-bottom: 0.4rem; border-bottom: 1px solid var(--line); }
.pp-name { font-family: var(--f-display); font-size: var(--fs-head); font-weight: 500; color: var(--text); line-height: 1.12; }
.pp-role { font-family: var(--f-mono); font-size: var(--fs-mono-s); letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-bright); margin-top: 0.55rem; }

/* A fine programme spine threads the categories; hollow milestones
   sit on it at each label. Both draw once as the plate enters view. */
.pp-grid { position: relative; padding-left: 1.6rem; }
.pp-grid::before {
  content: ""; position: absolute; left: 3px; top: 14px; bottom: 14px; width: 1.5px;
  background: rgba(232, 72, 47, 0.45);
  transform: scaleY(0); transform-origin: top; transition: transform 0.9s var(--ease-swift) 0.25s;
}
.profile-plate.in .pp-grid::before { transform: scaleY(1); }
.pp-row { position: relative; display: grid; grid-template-columns: clamp(7.5rem, 11vw, 10rem) 1fr; gap: 1.5rem; padding: 0.55rem 0; }
.pp-row + .pp-row { border-top: 1px solid var(--line); }
.pp-row::before {
  content: ""; position: absolute; left: calc(-1.6rem - 1.25px); top: 50%; margin-top: -5px; width: 7px; height: 7px;
  background: var(--ink); border: 1.5px solid var(--red); transform: rotate(45deg);
  opacity: 0; transition: opacity 0.5s ease;
}
.profile-plate.in .pp-row::before { opacity: 1; }
.profile-plate.in .pp-row:nth-child(1)::before { transition-delay: 0.35s; }
.profile-plate.in .pp-row:nth-child(2)::before { transition-delay: 0.55s; }
.profile-plate.in .pp-row:nth-child(3)::before { transition-delay: 0.75s; }
.profile-plate.in .pp-row:nth-child(4)::before { transition-delay: 0.95s; }
.pp-lbl { font-family: var(--f-mono); font-size: var(--fs-mono-s); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mono-text); padding-top: 0.25rem; }
.pp-val { color: var(--text); font-size: var(--fs-body); line-height: 1.65; margin: 0; }
@media (max-width: 560px) { .pp-row { grid-template-columns: 1fr; gap: 0.35rem; } }

