/* ==========================================================================
   Medlock Systems: "The Medlock Line"
   Hand-written CSS. Mobile-first. Tokens first, then base, layout,
   components, sections, utilities.
   ========================================================================== */

/* ---------- Fonts (SIL OFL 1.1, self-hosted) ---------- */
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Navy and charcoal */
  --navy-950: #0a1420;
  --navy-900: #0f1b2d;
  --navy-800: #15253b;
  --navy-700: #1f3350;
  --charcoal-900: #1d2127;
  --charcoal-800: #262b32;

  /* Ivory and stone */
  --paper: #fbf8f2;
  --ivory: #f5f0e6;
  --stone: #ece5d6;
  --stone-dark: #ddd3c0;

  /* Gold: restrained. 400 for lines on dark, 700 for text on light. */
  --gold-300: #d8c095;
  --gold-400: #c4a372;
  --gold-500: #a9884f;
  --gold-600: #9a7a45; /* large decorative numerals on ivory: 3.5:1 */
  --gold-700: #7c6033;

  /* Ink */
  --ink: #151a21;
  --ink-2: #3a414c;
  --ink-3: #5a6270;
  --on-dark: #f5f0e6;
  --on-dark-2: #c9c6be;
  --on-dark-3: #9ea3ab;

  --rule-light: rgba(21, 26, 33, 0.14);
  --rule-dark: rgba(245, 240, 230, 0.16);

  /* Type */
  --font-serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;

  --step--1: 0.8125rem;
  --step-0: clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);
  --step-1: clamp(1.125rem, 1.06rem + 0.3vw, 1.3125rem);
  --step-2: clamp(1.375rem, 1.24rem + 0.6vw, 1.75rem);
  --step-3: clamp(1.875rem, 1.5rem + 1.7vw, 3.125rem);
  --step-4: clamp(2.25rem, 1.6rem + 3vw, 4.25rem);
  --step-5: clamp(2.75rem, 1.8rem + 4.4vw, 5.75rem);

  /* Space */
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 3rem);
  --section: clamp(4.5rem, 3rem + 7vw, 9.5rem);
  --max: 82.5rem;

  --radius: 2px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 4.5rem;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.6;
  font-weight: 400;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.menu-open { overflow: hidden; }

h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; }
[role="list"] { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
strong { font-weight: 600; }
code { font-size: 0.9em; }

main:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}

::selection { background: var(--gold-300); color: var(--navy-950); }

.visually-hidden {
  position: absolute !important;
  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;
  left: 1rem; top: -100px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--gold-400);
  color: var(--navy-950);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 2rem + 3vw, 5rem);
}

.section {
  position: relative;
  padding-block: var(--section);
}

.section--ivory { background: var(--ivory); }
.section--paper { background: var(--paper); }
.section--stone { background: var(--stone); }
.section--navy { background: var(--navy-900); color: var(--on-dark); }
.section--charcoal { background: var(--charcoal-900); color: var(--on-dark); }

/* ---------- Typography ---------- */
.display,
.h2,
.hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.display {
  font-size: var(--step-4);
  line-height: 1.04;
}
.display em { font-style: italic; color: var(--gold-700); }

.h2 {
  font-size: var(--step-3);
  line-height: 1.1;
  max-width: 20ch;
}
.h2 + .lede,
.display + .lede { margin-top: 1.5rem; }

.lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 36rem;
  text-wrap: pretty;
}
.section--navy .lede,
.section--charcoal .lede { color: var(--on-dark-2); }

/* Surveyor's eyebrow: a short measured rule with end ticks. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.5rem;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 2rem;
  height: 7px;
  border-inline: 1px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat;
}
.eyebrow--dark { color: var(--gold-400); }

/* ---------- Buttons and links ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  --btn-border: currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 0.75rem 1.375rem;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn--sm { min-height: 2.75rem; padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn--block { width: 100%; }

.btn--gold { --btn-bg: var(--gold-400); --btn-fg: var(--navy-950); --btn-border: var(--gold-400); }
.btn--gold:hover { --btn-bg: var(--gold-300); --btn-border: var(--gold-300); }

.btn--navy { --btn-bg: var(--navy-900); --btn-fg: var(--ivory); --btn-border: var(--navy-900); }
.btn--navy:hover { --btn-bg: var(--navy-700); --btn-border: var(--navy-700); }

.btn--ghost { --btn-fg: var(--navy-900); --btn-border: rgba(15, 27, 45, 0.4); }
.btn--ghost:hover { --btn-border: var(--navy-900); }

.btn--ghost-light { --btn-fg: var(--ivory); --btn-border: rgba(245, 240, 230, 0.4); }
.btn--ghost-light:hover { --btn-border: var(--ivory); --btn-bg: rgba(245, 240, 230, 0.06); }

.btn__arrow {
  width: 0.875rem;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: transform 0.25s var(--ease);
}
.btn__arrow::after {
  content: "";
  position: absolute;
  right: 0; top: -3px;
  width: 6px; height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .btn__arrow { transform: translateX(3px); }

/* Pending configuration: a visible, deliberate placeholder state. */
.btn.is-pending { position: relative; }
.btn[aria-disabled="true"] { cursor: not-allowed; opacity: 0.6; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 2rem;
  padding-block: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy-900);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-500);
}
.link-arrow--light { color: var(--ivory); border-color: var(--gold-400); }
.link-arrow__mark { width: 0.75rem; height: 1px; background: currentColor; }

.pending-tag {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border: 1px dashed currentColor;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #9a3412;
  background: #fff4e5;
  vertical-align: middle;
}
.pending-tag--inline { font-size: 0.6875rem; padding: 0 0.375rem; }

.placeholder-note {
  margin-top: 1.5rem;
  padding: 0.875rem 1rem;
  border: 1px dashed #9a3412;
  background: #fff4e5;
  color: #7c2d12;
  font-size: 0.875rem;
  max-width: 36rem;
}

/* ---------- Preview bar ---------- */
.preview-bar {
  background: #fff4e5;
  color: #7c2d12;
  font-size: 0.8125rem;
  line-height: 1.4;
  border-bottom: 1px solid #f3d9b5;
}
.preview-bar .container { padding-block: 0.5rem; display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; }

/* ---------- Logo (symbol C3 + wordmark) ----------
   Proportions from the brand guide, measured in the wordmark's cap height
   (Archivo caps are 0.686 em; at 0.875rem that is 0.6rem): the symbol is
   4 cap-heights tall and sits 1.75 cap-heights from the wordmark. */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 1.05rem;
}
.logo__symbol {
  display: block;
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  /* Optical alignment: centre the symbol on the wordmark's capitals rather
     than on Archivo's line box, which sits 0.75px lower. */
  translate: 0 -0.047rem;
}
/* The symbol has no text baseline, so without this the inline footer link
   would sit on the line's baseline and gain about 4px of descender space. */
.site-footer__wordmark { vertical-align: top; }

/* Narrowest phones (under 360px): scale the whole header logo as one unit so
   the menu button still fits. Proportions are unchanged; about 220px wide. */
@media (max-width: 359.98px) {
  .site-header .logo { zoom: 0.8; }
}

/* ---------- Wordmark ---------- */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.wordmark__rule {
  width: 1.25rem;
  height: 1px;
  background: var(--gold-400);
}
.wordmark__sub { font-weight: 400; color: var(--on-dark-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-900);
  color: var(--ivory);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(15, 27, 45, 0.97);
  border-bottom-color: var(--rule-dark);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-scrolled { background: rgba(15, 27, 45, 0.9); backdrop-filter: blur(10px); }
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.site-header__brand {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  text-decoration: none;
}
.site-header__actions { display: flex; align-items: center; gap: 0.5rem; }

.site-nav { display: none; }
.site-nav__list { display: flex; gap: 2.25rem; }
.site-nav__link {
  position: relative;
  display: inline-block;
  padding-block: 0.75rem;
  font-size: 0.9375rem;
  color: var(--on-dark-2);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.375rem;
  height: 1px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.site-nav__link:hover { color: var(--ivory); }
.site-nav__link:hover::after { transform: scaleX(1); }

.site-header__cta { display: none; }

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.5rem;
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}
.menu-toggle__bars { display: grid; gap: 7px; width: 22px; }
.menu-toggle__bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.menu-toggle__bars span:last-child { width: 14px; justify-self: end; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child { transform: translateY(4.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child { width: 22px; transform: translateY(-4.25px) rotate(-45deg); }

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: var(--menu-h, calc(100dvh - var(--header-h)));
  background: var(--navy-900);
  border-top: 1px solid var(--rule-dark);
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__inner { padding-block: 1.5rem 2.5rem; display: flex; flex-direction: column; min-height: 100%; }
.mobile-menu__list { display: grid; }
.mobile-menu__link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: 0.875rem;
  border-bottom: 1px solid var(--rule-dark);
  font-family: var(--font-serif);
  font-size: 1.75rem;
  line-height: 1.2;
  text-decoration: none;
  color: var(--ivory);
}
.mobile-menu__index { font-family: var(--font-sans); font-size: 0.75rem; letter-spacing: 0.12em; color: var(--gold-400); }
.mobile-menu__foot { margin-top: auto; padding-top: 2rem; }
.mobile-menu__note { margin-top: 0.75rem; font-size: 0.875rem; color: var(--on-dark-3); text-align: center; }

@media (min-width: 30em) {
  .site-header__cta { display: inline-flex; }
}
@media (min-width: 62em) {
  .site-nav { display: block; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
  .site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .site-header__actions { justify-content: flex-end; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 85% 10%, rgba(31, 51, 80, 0.55), transparent 60%),
    var(--navy-900);
  color: var(--on-dark);
  isolation: isolate;
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(3.5rem, 2rem + 6vw, 7.5rem) 0;
}

.hero__copy { max-width: 44rem; }

.hero__title {
  font-size: var(--step-5);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
}

.hero__lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--on-dark-2);
  max-width: 34rem;
  text-wrap: pretty;
}

.hero__signature {
  margin-top: 1.5rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--step-2);
  line-height: 1.3;
  color: var(--gold-300);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.hero__location {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: 2.5rem;
  font-size: 0.875rem;
  color: var(--on-dark-3);
}
.hero__location-rule { flex: none; width: 2rem; height: 1px; background: var(--gold-400); }

.hero__art {
  position: relative;
  z-index: 0;
  margin-top: 1rem;
  pointer-events: none;
}
.hero-art { width: 100%; height: auto; overflow: visible; }

/* Illustration strokes */
.ha-structure path, .ha-structure rect, .ha-structure circle,
.ha-window, .ha-ground line, .ha-culvert path, .ha-marker circle, .ha-marker path {
  fill: none;
  stroke: rgba(245, 240, 230, 0.5);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.ha-structure .ha-floor { stroke: rgba(245, 240, 230, 0.16); }
.ha-faint path, .ha-culvert .ha-faint { stroke: rgba(245, 240, 230, 0.26); }
.ha-glaze { stroke: rgba(245, 240, 230, 0.2); stroke-width: 0.75; }
.ha-window { stroke: rgba(245, 240, 230, 0.42); }
.ha-ticks { fill: none; stroke: rgba(196, 163, 114, 0.6); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ha-culvert path { stroke: rgba(196, 163, 114, 0.35); stroke-dasharray: 3 5; }
.ha-river {
  fill: none;
  stroke: var(--gold-400);
  stroke-width: 2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.ha-river--echo { stroke: rgba(196, 163, 114, 0.3); stroke-width: 1; }
.ha-marker circle, .ha-marker path { stroke: var(--gold-300); }
.ha-leader { stroke: rgba(216, 192, 149, 0.6); stroke-dasharray: 2 4; vector-effect: non-scaling-stroke; }

@media (max-width: 47.99em) {
  .hero__art { width: 128%; margin-left: -28%; }
}
@media (min-width: 48em) and (max-width: 61.99em) {
  .hero__art { margin-top: -4rem; margin-left: 20%; }
}

@media (min-width: 62em) {
  .hero { min-height: min(56rem, calc(100svh - var(--header-h))); display: flex; align-items: center; }
  .hero__inner { padding-block: 6rem calc(min(72vw, 70rem) * 0.18 + 2.5rem); }
  .hero__copy { max-width: 40rem; }
  .hero__art {
    position: absolute;
    inset: auto 0 0 auto;
    width: min(72%, 70rem);
    margin: 0;
  }
}

@media (min-width: 75em) {
  .hero__copy { max-width: 62rem; }
}

/* ---------- What we do ---------- */
.capabilities {
  display: grid;
  border-top: 1px solid var(--rule-light);
}
.capability {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  column-gap: 1rem;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--rule-light);
}
.capability__index {
  grid-row: span 2;
  padding-top: 0.375rem;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-700);
  font-variant-numeric: tabular-nums;
}
.capability__title {
  font-family: var(--font-serif);
  font-size: var(--step-2);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.capability p { color: var(--ink-2); max-width: 34rem; }

@media (min-width: 62em) {
  .what .grid { grid-template-columns: 5fr 6fr; align-items: start; }
  .what__intro { position: sticky; top: calc(var(--header-h) + 3rem); }
  .capabilities { margin-top: 0.5rem; }
  .capability { grid-template-columns: 4.5rem minmax(0, 1fr); padding-block: 2.25rem; }
}

/* ---------- Revenue flow diagram ---------- */
.flow__head { max-width: 46rem; margin-bottom: clamp(3rem, 2rem + 4vw, 5.5rem); }
.flow .h2 { max-width: 22ch; }

.flow__figure { position: relative; }

/* Mobile: vertical sequence along a gold line. */
.flow__stages {
  position: relative;
  display: grid;
  gap: 0;
  padding-left: 2.25rem;
}
.flow__stages::before {
  content: "";
  position: absolute;
  left: 0.4375rem;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 1px;
  background: var(--gold-400);
  transform-origin: top;
}

.flow__stage {
  position: relative;
  padding-bottom: 2rem;
}
.flow__node {
  position: absolute;
  left: -2.25rem;
  top: 0.3rem;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid var(--gold-400);
  background: var(--navy-900);
}
.flow__node::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--gold-400);
}
.flow__index {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold-400);
  font-variant-numeric: tabular-nums;
}
.flow__name {
  margin-top: 0.25rem;
  font-family: var(--font-serif);
  font-size: var(--step-2);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ivory);
}
.flow__drop {
  display: block;
  width: 1px;
  height: 1.25rem;
  margin: 0.75rem 0 0.75rem 0.25rem;
  background: repeating-linear-gradient(to bottom, var(--gold-400) 0 3px, transparent 3px 6px);
  position: relative;
}
.flow__drop::after {
  /* the leak: a small falling drop */
  content: "";
  position: absolute;
  left: -3px;
  bottom: -7px;
  width: 7px;
  height: 7px;
  background: var(--gold-400);
  border-radius: 0 50% 50% 50%;
  transform: rotate(45deg);
}
.flow__leak {
  color: var(--on-dark-2);
  font-size: 0.9375rem;
  line-height: 1.5;
  max-width: 22rem;
}

.flow__undercurrent {
  position: relative;
  margin-top: 1rem;
  padding: 2.25rem 0 0;
  border-top: 1px solid var(--rule-dark);
}
.flow__river {
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 40px;
  overflow: visible;
}
.flow__river path {
  fill: none;
  stroke: var(--gold-400);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  opacity: 0.7;
}
.flow__under-text {
  max-width: 44rem;
  font-family: var(--font-serif);
  font-size: var(--step-2);
  line-height: 1.35;
  color: var(--on-dark-2);
}
.flow__under-text strong { font-weight: 400; color: var(--ivory); font-style: italic; }
.flow__caption {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--on-dark-3);
  max-width: 44rem;
}

/* Desktop: horizontal map, leaks hanging from each stage. */
@media (min-width: 62em) {
  .flow__stages {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.5rem;
    padding-left: 0;
    padding-top: 0;
  }
  .flow__stages::before {
    left: 0;
    right: 0;
    top: 7px;
    bottom: auto;
    width: auto;
    height: 1px;
    transform-origin: left;
  }
  .flow__stage { padding: 2.25rem 0 3rem; }
  .flow__node { left: 0; top: 0; }
  .flow__drop { height: 2.5rem; margin-block: 1.25rem 1.25rem; }
  .flow__undercurrent { margin-top: 0; padding-top: 3rem; }
}

/* Reveal animation: progressive enhancement only. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] .flow__stages::before { transform: scaleY(0); transition: transform 1.4s var(--ease); }
  .js [data-reveal] .flow__stage { opacity: 0; transform: translateY(10px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i) * 120ms + 200ms); }
  .js [data-reveal] .flow__river path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease) 0.9s; }
  .js [data-reveal].is-visible .flow__stages::before { transform: none; }
  .js [data-reveal].is-visible .flow__stage { opacity: 1; transform: none; }
  .js [data-reveal].is-visible .flow__river path { stroke-dashoffset: 0; }

  @media (min-width: 62em) {
    .js [data-reveal] .flow__stages::before { transform: scaleX(0); }
  }

  .ha-river { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw-line 2.6s var(--ease) 0.4s forwards; }
}

@keyframes draw-line { to { stroke-dashoffset: 0; } }

/* ---------- Approach ---------- */
.approach__head { max-width: 60rem; margin-bottom: clamp(3rem, 2rem + 3vw, 4.5rem); }
.stages { display: grid; gap: 0; border-top: 1px solid var(--rule-light); }
.stage {
  position: relative;
  padding: 2rem 0;
  border-bottom: 1px solid var(--rule-light);
}
.stage__marker {
  display: block;
  margin-bottom: 1.25rem;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--gold-700);
  letter-spacing: 0.08em;
}
.stage__title {
  font-family: var(--font-serif);
  font-size: var(--step-3);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.stage:last-child .stage__title { font-style: italic; }
.stage p { color: var(--ink-2); max-width: 24rem; }

@media (min-width: 48em) {
  .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--rule-light); }
  .stage { padding: 2.5rem 2rem 3rem 0; border-bottom: 0; }
  .stage + .stage { padding-left: 2rem; border-left: 1px solid var(--rule-light); }
  .stage::before {
    /* surveyor's tick at the head of each column */
    content: "";
    position: absolute;
    top: -4px;
    left: 0;
    width: 1px;
    height: 8px;
    background: var(--gold-500);
  }
  .stage + .stage::before { left: -1px; }
}

/* ---------- Manchester band ---------- */
.band {
  position: relative;
  overflow: hidden;
  background: var(--navy-950);
  color: var(--ivory);
  isolation: isolate;
}
.band__art {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.band__art svg { width: 100%; height: 100%; }
.band__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 20, 32, 0.96) 0%, rgba(10, 20, 32, 0.82) 55%, rgba(10, 20, 32, 0.5) 100%);
}
.bd-pier, .bd-window, .bd-glaze, .bd-sill, .bd-course {
  fill: none;
  stroke: rgba(245, 240, 230, 0.22);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.bd-glaze { stroke: rgba(245, 240, 230, 0.12); }
.bd-sill, .bd-course { stroke: rgba(196, 163, 114, 0.35); }
.band__inner { padding-block: clamp(5rem, 3.5rem + 7vw, 10rem); }
.band__coords {
  margin-bottom: 2rem;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold-400);
  font-variant-numeric: tabular-nums;
}
.band__statement {
  max-width: 24ch;
  font-weight: 400;
  font-family: var(--font-serif);
  font-size: var(--step-4);
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

/* ---------- Engagements ---------- */
.engage__head { max-width: 46rem; margin-bottom: clamp(2.5rem, 2rem + 3vw, 4rem); }
.routes { display: grid; gap: 1.25rem; }
.route {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 1.25rem + 2vw, 3rem);
  background: var(--ivory);
  border: 1px solid var(--rule-light);
  border-top: 2px solid var(--navy-900);
}
.route__tag {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  align-items: baseline;
  margin-bottom: 1.75rem;
  font-size: 0.875rem;
  color: var(--ink-3);
}
.route__tag span {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.route__title {
  font-family: var(--font-serif);
  font-size: var(--step-3);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 1.25rem;
  max-width: 14ch;
}
.route__body { color: var(--ink-2); max-width: 32rem; }
.route__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: auto;
  padding-top: 2.5rem;
}
.route__foot::before {
  content: "";
  flex-basis: 100%;
  height: 1px;
  margin-bottom: 0.5rem;
  background: var(--rule-light);
}
.route__price {
  font-family: var(--font-serif);
  font-size: var(--step-3);
  line-height: 1;
  color: var(--navy-900);
}
.route__price-label {
  display: block;
  margin-bottom: 0.375rem;
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.route__price--text { font-size: var(--step-2); font-style: italic; }
.route__price--text .route__price-label { font-style: normal; margin-bottom: 0.625rem; }
.engage__note { margin-top: 2rem; color: var(--ink-3); }

@media (min-width: 56em) {
  .routes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
}

/* ---------- Sectors ---------- */
.sector-list { display: grid; border-top: 1px solid rgba(21, 26, 33, 0.2); }
.sector {
  display: grid;
  gap: 0.5rem;
  padding-block: 1.75rem;
  border-bottom: 1px solid rgba(21, 26, 33, 0.2);
}
.sector__name {
  font-family: var(--font-serif);
  font-size: var(--step-2);
  font-weight: 400;
  line-height: 1.2;
}
.sector p { color: var(--ink-2); }

@media (min-width: 48em) {
  .sector { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem; padding-block: 2.25rem; }
}
@media (min-width: 62em) {
  .sectors .grid { grid-template-columns: 5fr 7fr; align-items: start; }
}

/* ---------- Founder-led ---------- */
.commitments { display: grid; gap: 0; align-self: end; border-top: 1px solid var(--rule-dark); }
.commitment {
  position: relative;
  padding: 1.5rem 0 1.5rem 2.5rem;
  border-bottom: 1px solid var(--rule-dark);
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--ivory);
}
.commitment::before {
  /* surveyor's check: a short tick */
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 1.95rem;
  width: 0.875rem;
  height: 0.4375rem;
  border-left: 1.5px solid var(--gold-400);
  border-bottom: 1.5px solid var(--gold-400);
  transform: rotate(-45deg);
}
@media (min-width: 62em) {
  .founder .grid { grid-template-columns: 6fr 5fr; align-items: end; }
}

/* ---------- Closing CTA ---------- */
.closing { overflow: hidden; padding-top: calc(var(--section) + 2rem); }
.closing__line {
  position: absolute;
  top: 1.5rem;
  left: 0;
  width: 100%;
  height: 90px;
  overflow: visible;
}
.closing__line path {
  fill: none;
  stroke: var(--gold-500);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}
.closing__title { max-width: 18ch; margin-bottom: 2rem; }
.closing__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }
.closing__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--ink-3);
}
@media (min-width: 62em) {
  .closing__inner { display: grid; grid-template-columns: 7fr 5fr; column-gap: 4rem; align-items: start; }
  .closing__body { padding-top: 0.75rem; }
  .closing__inner .eyebrow { grid-column: 1 / -1; justify-self: start; }
  .closing__title { margin-bottom: 0; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: var(--on-dark-2);
  font-size: 0.9375rem;
}
.site-footer a { text-decoration: none; color: var(--ivory); }
.site-footer a:hover { color: var(--gold-300); }
.site-footer__top {
  display: grid;
  gap: 2.5rem;
  padding-block: 4rem 3rem;
}
.site-footer__wordmark { display: inline-flex; min-height: 2.75rem; align-items: center; color: var(--ivory); }
.site-footer__descriptor { margin-top: 1rem; }
.site-footer__tagline {
  margin-top: 1.5rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--step-2);
  color: var(--gold-300);
}
.site-footer__nav ul { display: grid; gap: 0.25rem; }
.site-footer__nav a, .site-footer__unavailable { display: inline-block; padding-block: 0.5rem; }
.site-footer__unavailable { color: var(--on-dark-3); }
.site-footer__label {
  margin-bottom: 0.75rem;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.site-footer__contact p + p { margin-top: 0.5rem; }
.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.5rem 2rem;
  border-top: 1px solid var(--rule-dark);
  font-size: 0.8125rem;
  color: var(--on-dark-3);
}
@media (min-width: 48em) {
  .site-footer__top { grid-template-columns: 2fr 1fr 1fr; padding-block: 5rem 4rem; }
}

/* ==========================================================================
   Inner pages (Phase 2). Same tokens, rules and rhythm as the homepage.
   ========================================================================== */

/* ---------- Shared type helpers ---------- */
.h3 {
  font-family: var(--font-serif);
  font-size: var(--step-2);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.h2--wide { max-width: 26ch; }
.kicker {
  margin: 0 0 1rem;
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.section--navy .kicker,
.section--charcoal .kicker { color: var(--gold-400); }
.section-head { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head:has(> .eyebrow:only-child) { margin-bottom: 0.5rem; }

/* Active navigation state */
.site-nav__link[aria-current="page"] { color: var(--ivory); }
.site-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.mobile-menu__link[aria-current="page"] { color: var(--gold-300); }

/* Ruled lists */
.ticks, .dashes { display: grid; gap: 0; border-top: 1px solid var(--rule-light); }
.ticks li, .dashes li {
  position: relative;
  padding: 0.875rem 0 0.875rem 2rem;
  border-bottom: 1px solid var(--rule-light);
  color: var(--ink-2);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0.125rem;
  top: 1.3rem;
  width: 0.75rem;
  height: 0.375rem;
  border-left: 1.5px solid var(--gold-500);
  border-bottom: 1.5px solid var(--gold-500);
  transform: rotate(-45deg);
}
.dashes li::before {
  content: "";
  position: absolute;
  left: 0.125rem;
  top: 1.45rem;
  width: 0.75rem;
  height: 1px;
  background: var(--ink-3);
}
.section--navy .ticks, .section--charcoal .ticks { border-color: var(--rule-dark); }
.section--navy .ticks li, .section--charcoal .ticks li { border-color: var(--rule-dark); color: var(--on-dark-2); }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(110% 90% at 90% 0%, rgba(31, 51, 80, 0.6), transparent 60%),
    var(--navy-900);
  color: var(--on-dark);
  isolation: isolate;
}
.page-hero__art {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(60%, 46rem);
  z-index: -1;
  opacity: 0.55;
}
.page-hero__art svg { width: 100%; height: 100%; }
.ph-pier, .ph-window, .ph-glaze, .ph-sill, .ph-course {
  fill: none;
  stroke: rgba(245, 240, 230, 0.22);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.ph-glaze { stroke: rgba(245, 240, 230, 0.12); }
.ph-sill, .ph-course { stroke: rgba(196, 163, 114, 0.4); }

.page-hero__inner { padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem) clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.page-hero__title {
  max-width: 20ch;
  font-family: var(--font-serif);
  font-size: var(--step-4);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.page-hero__title em { font-style: italic; color: var(--gold-300); }
.page-hero__intro {
  max-width: 38rem;
  margin-top: clamp(1.5rem, 1rem + 1.5vw, 2rem);
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--on-dark-2);
  text-wrap: pretty;
}
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }
.page-hero__jump {
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule-dark);
}
.page-hero__jump ul { display: flex; flex-wrap: wrap; gap: 0.25rem 2rem; }
.page-hero__jump a {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.75rem;
  font-size: 0.9375rem;
  color: var(--on-dark-2);
  text-decoration: none;
}
.page-hero__jump a::before {
  content: "";
  width: 0.75rem;
  height: 1px;
  background: var(--gold-400);
  transition: width 0.25s var(--ease);
}
.page-hero__jump a:hover { color: var(--ivory); }
.page-hero__jump a:hover::before { width: 1.25rem; }

@media (max-width: 47.99em) {
  .page-hero__art { width: 100%; opacity: 0.28; }
}

/* ---------- Services: capability rows ---------- */
.cap-row {
  display: grid;
  gap: 1.25rem;
  padding-block: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  border-top: 1px solid var(--rule-light);
}
.cap-row:last-child { border-bottom: 1px solid var(--rule-light); }
.cap-row__label { display: flex; align-items: baseline; gap: 1rem; }
.cap-row__index {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-700);
  font-variant-numeric: tabular-nums;
}
.cap-row__name {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.cap-row__title {
  font-family: var(--font-serif);
  font-size: var(--step-3);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
  max-width: 20ch;
  text-wrap: balance;
}
.cap-row__body p { color: var(--ink-2); max-width: 34rem; font-size: var(--step-1); line-height: 1.55; }
.cap-row__questions ul { display: grid; gap: 0.75rem; }
.cap-row__questions li {
  padding-left: 1rem;
  border-left: 1px solid var(--gold-500);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1875rem;
  line-height: 1.35;
  color: var(--ink);
}
@media (min-width: 62em) {
  .cap-row { grid-template-columns: 3fr 6fr 4fr; column-gap: 3rem; align-items: start; }
  .cap-row__label { flex-direction: column; gap: 0.75rem; padding-top: 0.5rem; }
  .cap-row__questions { padding-top: 0.5rem; }
}

/* ---------- Services: engagement detail ---------- */
.engagement__head {
  display: grid;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  padding-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
  border-bottom: 1px solid var(--rule-light);
}
.engagement--dark .engagement__head { border-color: var(--rule-dark); }
.engagement__facts { display: grid; gap: 1.5rem; margin: 0; }
.engagement__facts dt {
  margin-bottom: 0.375rem;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.engagement--dark .engagement__facts dt { color: var(--on-dark-3); }
.engagement__facts dd { margin: 0; color: var(--ink-2); max-width: 30rem; }
.engagement__price {
  font-family: var(--font-serif);
  font-size: var(--step-3);
  line-height: 1;
  color: var(--navy-900) !important;
}
.engagement--dark .engagement__price { color: var(--ivory) !important; }
.engagement__price--text { font-size: var(--step-2); font-style: italic; }
.route__tag--dark { color: var(--on-dark-3); }
.route__tag--dark span { color: var(--gold-400); }
.engagement__lede { max-width: 46rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.engagement__side { display: grid; gap: 1.5rem; align-content: start; }
.engagement__cta { margin-top: 2rem; }
.engagement__side .engagement__cta { margin-top: 0.5rem; }

@media (min-width: 62em) {
  .engagement__head { grid-template-columns: 7fr 5fr; column-gap: 4rem; align-items: end; }
  .engagement__body { grid-template-columns: 6fr 5fr; align-items: start; }
}

/* Numbered steps on a vertical gold rule */
.steps { position: relative; display: grid; padding-left: 3rem; }
.steps::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1rem;
  bottom: 1rem;
  width: 1px;
  background: var(--gold-500);
}
.step { position: relative; padding-bottom: 2rem; }
.step:last-child { padding-bottom: 0; }
.step__node {
  position: absolute;
  left: -3rem;
  top: 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--gold-500);
  border-radius: 50%;
  background: var(--ivory);
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  color: var(--gold-700);
}
.step__title {
  margin-bottom: 0.375rem;
  padding-top: 0.25rem;
  font-family: var(--font-serif);
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.3;
}
.step p { color: var(--ink-2); max-width: 34rem; }

.panel {
  padding: clamp(1.5rem, 1.25rem + 1vw, 2.25rem);
  background: var(--paper);
  border: 1px solid var(--rule-light);
  border-top: 2px solid var(--navy-900);
}
.panel--quiet { background: transparent; border-top-color: var(--rule-light); }
.panel .ticks, .panel .dashes { border-top: 0; }
.panel .ticks li:last-child, .panel .dashes li:last-child { border-bottom: 0; }
.panel--quiet .dashes { grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); column-gap: 1.5rem; }
.panel--quiet .dashes li { font-size: 0.9375rem; }
.scope-note {
  padding: 1.25rem 1.5rem;
  border-left: 2px solid var(--gold-500);
  background: rgba(196, 163, 114, 0.1);
}
.scope-note .kicker { margin-bottom: 0.5rem; }
.scope-note p { font-size: 0.9375rem; color: var(--ink-2); }

/* Programme blocks */
.blocks { display: grid; gap: 0; border-top: 1px solid var(--rule-dark); }
.block { padding: 2rem 0; border-bottom: 1px solid var(--rule-dark); }
.block__index {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold-400);
}
.block__title {
  margin-bottom: 0.75rem;
  font-family: var(--font-serif);
  font-size: var(--step-2);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ivory);
}
.block p { color: var(--on-dark-2); max-width: 30rem; }
@media (min-width: 56em) {
  .blocks { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--rule-dark); }
  .block { padding: 2.5rem 2rem 3rem 0; border-bottom: 0; }
  .block + .block { padding-left: 2rem; border-left: 1px solid var(--rule-dark); }
}

/* Two-column statement section (support, other sectors, thinking) */
.support__inner { display: grid; gap: 1.5rem 4rem; }
.support__inner .lede { max-width: 40rem; }
.support__inner .link-arrow { margin-top: 1.5rem; }
@media (min-width: 62em) {
  .support__inner { grid-template-columns: 5fr 6fr; align-items: start; }
  .support__inner > :last-child { padding-top: 2.75rem; }
}

/* ---------- Sectors ---------- */
.sector-detail__grid { display: grid; gap: 2.5rem; }
.sector-detail__index {
  margin-bottom: 1rem;
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  line-height: 0.9;
  color: var(--gold-600);
}
.sector-detail__head .lede { margin-top: 1.5rem; }
.area-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--rule-light);
  border-left: 1px solid var(--rule-light);
}
.area-grid li {
  position: relative;
  min-height: 5.5rem;
  padding: 1.75rem 1rem 1rem;
  border-right: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.3;
}
.area-grid li::before {
  /* surveyor's corner mark */
  content: "";
  position: absolute;
  top: 0.75rem;
  left: 1rem;
  width: 0.625rem;
  height: 0.625rem;
  border-top: 1px solid var(--gold-500);
  border-left: 1px solid var(--gold-500);
}
.pull-question { margin: 0; padding-left: 1.5rem; border-left: 2px solid var(--gold-500); }
.pull-question blockquote { margin: 0; }
.pull-question p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--step-2);
  line-height: 1.3;
  color: var(--navy-900);
  max-width: 30ch;
  text-wrap: balance;
}
@media (min-width: 48em) {
  .area-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 62em) {
  .sector-detail__grid { grid-template-columns: 5fr 7fr; column-gap: 5rem; row-gap: 3rem; align-items: start; }
  .sector-detail__head { grid-row: span 3; position: sticky; top: calc(var(--header-h) + 2.5rem); }
}

/* ---------- Approach: method stages ---------- */
.method__grid { display: grid; gap: 1.5rem 3rem; }
.method__marker { display: flex; align-items: baseline; gap: 1.25rem; }
.method__numeral {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 3rem + 5vw, 8rem);
  line-height: 0.85;
  color: var(--gold-600);
}
.method__name {
  font-family: var(--font-serif);
  font-size: var(--step-2);
  line-height: 1.2;
}
#you-profit .method__name { font-style: italic; color: var(--gold-700); }
.method__body .lede { margin-top: 1.5rem; }
.method__outputs { padding-top: 0.5rem; }
@media (min-width: 62em) {
  .method__grid { grid-template-columns: 3fr 6fr 4fr; align-items: start; }
  .method__marker { flex-direction: column; gap: 1rem; }
  .method__outputs { padding-top: 0.75rem; }
}

/* Approach page rhythm: tighter stages and principles, same proportions. */
.page-approach .method__stage { padding-block: calc(var(--section) * 0.8); }
.page-approach .principles { padding-block: calc(var(--section) * 0.85); }
.page-approach .faq { padding-block: calc(var(--section) * 0.85); }
.method__more { margin-top: 1.25rem; max-width: 36rem; color: var(--ink-2); }
.method__scope { max-width: 52rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }

/* Working principles */
.principle-list { display: grid; gap: 0; border-top: 1px solid var(--rule-dark); }
.principle {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  column-gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule-dark);
}
.principle__index {
  grid-row: span 2;
  padding-top: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold-400);
}
.principle__title {
  font-family: var(--font-serif);
  font-size: var(--step-2);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.375rem;
}
.principle p { color: var(--on-dark-2); }
@media (min-width: 62em) {
  .principle-list { grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--rule-dark); }
  .principle { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; padding: 2rem 1.5rem 2.5rem 0; border-bottom: 0; }
  .principle__title { min-height: 2.4em; margin-bottom: 0.75rem; }
  .principle + .principle { padding-left: 1.5rem; border-left: 1px solid var(--rule-dark); }
  .principle__index { grid-row: auto; margin-bottom: 1.5rem; padding-top: 0; }
}

/* ---------- FAQ ---------- */
@media (min-width: 62em) {
  .faq__grid { grid-template-columns: 4fr 7fr; align-items: start; }
  .faq__intro { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}
.faq__list { border-top: 1px solid var(--rule-light); }
.faq__item { border-bottom: 1px solid var(--rule-light); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 3rem;
  padding-block: 1.375rem;
  font-family: var(--font-serif);
  font-size: var(--step-1);
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--navy-700); }
.faq__icon {
  position: relative;
  flex: none;
  width: 1rem;
  height: 1rem;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: var(--gold-700);
  transition: transform 0.25s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding: 0 2.5rem 1.75rem 0; }
.faq__a p { color: var(--ink-2); max-width: 40rem; }

/* ---------- About ---------- */
.founder-profile__grid { display: grid; gap: 2.5rem; }
.founder-profile__photo { margin: 0; position: relative; max-width: 30rem; }
.founder-profile__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  background: var(--stone);
  filter: saturate(0.85);
}
.founder-profile__photo picture { position: relative; display: block; }
.founder-profile__photo picture::after {
  /* offset surveyor frame */
  content: "";
  position: absolute;
  inset: 1rem -1rem -1rem 1rem;
  border: 1px solid var(--gold-500);
  z-index: -1;
}
.founder-profile__grid { isolation: isolate; }
.founder-profile__photo figcaption {
  display: grid;
  gap: 0.375rem;
  margin-top: 1.75rem;
}
.founder-profile__name { font-family: var(--font-serif); font-size: var(--step-1); }
.founder-profile__role {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.founder-profile__copy .lede { margin-top: 1.5rem; }
.founder-profile__copy p + p { margin-top: 1.25rem; }
.founder-profile__copy > p:not(.lede):not(.eyebrow) { color: var(--ink-2); max-width: 36rem; }
.founder-profile__note:empty { display: none; }
@media (min-width: 62em) {
  .founder-profile__grid { grid-template-columns: 5fr 6fr; column-gap: 6rem; align-items: center; }
  .founder--start .grid { align-items: start; }
}

.band__inner--split { display: grid; gap: 2rem 4rem; }
.band__inner--split .band__statement { font-size: var(--step-3); max-width: 18ch; }
.band__body { max-width: 34rem; font-size: var(--step-1); line-height: 1.55; color: var(--on-dark-2); }
@media (min-width: 62em) {
  .band__inner--split { grid-template-columns: 6fr 5fr; align-items: end; }
}

/* About: slightly tighter hand-off from Our Thinking into the founder section */
.page-about .thinking { padding-bottom: calc(var(--section) * 0.75); }
.page-about .founder-profile { padding-top: calc(var(--section) * 0.75); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; gap: 3.5rem; }
.contact-card {
  padding: clamp(1.75rem, 1.25rem + 2vw, 3rem);
  background: var(--paper);
  border: 1px solid var(--rule-light);
  border-top: 2px solid var(--navy-900);
}
.contact-card .lede { margin-top: 1.25rem; font-size: var(--step-0); }
.contact-card__points { margin-top: 1.5rem; }
.contact-card__points li { padding-block: 0.625rem; color: var(--ink); }
.contact-card__points li::before { top: 1.05rem; }
.contact-card__actions { margin-top: 2rem; }
.contact-card__meta { margin-top: 0.75rem; font-size: 0.875rem; color: var(--ink-3); }
.contact-card__unavailable {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-light);
  color: var(--ink-2);
}
.contact-card__unavailable .link-arrow { margin-top: 1rem; }
.contact-card__status {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--ink);
}
.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  border: 1px solid var(--gold-700);
}
.contact-card__direct { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--rule-light); }
.contact-card__direct .kicker { margin-bottom: 0.5rem; }
.contact-card__direct a { color: var(--navy-900); }
.contact__enquiry > .lede { margin-top: 1.25rem; }
@media (min-width: 62em) {
  .contact__grid { grid-template-columns: 5fr 7fr; column-gap: 5rem; align-items: start; }
  .contact__book { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* Form */
.enquiry-form { margin-top: 2.5rem; display: grid; gap: 1.5rem; }
.enquiry-form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.enquiry-form__legend-note { font-size: 0.875rem; color: var(--ink-3); }
.field-row { display: grid; gap: 1.5rem; }
@media (min-width: 40em) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.5rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend {
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}
.req { color: var(--gold-700); }
.opt { font-weight: 400; color: var(--ink-3); }
.field__hint { margin-top: -0.25rem; font-size: 0.875rem; color: var(--ink-3); }
.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid rgba(21, 26, 33, 0.32);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(21, 26, 33, 0.55); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--navy-900);
  box-shadow: 0 0 0 3px rgba(169, 136, 79, 0.45);
}
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #a8321e; }
.select { position: relative; }
.select select { appearance: none; padding-right: 2.75rem; cursor: pointer; }
.select::after {
  content: "";
  position: absolute;
  right: 1.125rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: -0.375rem;
  border-right: 1.5px solid var(--ink-2);
  border-bottom: 1.5px solid var(--ink-2);
  transform: rotate(45deg);
  pointer-events: none;
}
.field--choices legend { margin-bottom: 0.75rem; }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(21, 26, 33, 0.32);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.choice input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: var(--ivory); }
.choice input:focus-visible + span { outline: 2px solid var(--gold-500); outline-offset: 3px; }
.check { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: 0.875rem; align-items: start; font-weight: 400 !important; color: var(--ink-2) !important; cursor: pointer; }
.check input {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.15rem 0 0;
  accent-color: var(--navy-900);
  cursor: pointer;
}
.check a { color: var(--navy-900); }
.enquiry-form__submit { padding-top: 0.5rem; }
.enquiry-form__submit .btn[disabled] { opacity: 0.6; cursor: progress; }

.form-status {
  padding: 1.25rem 1.5rem;
  border-left: 2px solid var(--gold-500);
  background: rgba(196, 163, 114, 0.12);
}
.form-status:focus { outline: none; }
.form-status[data-state="error"] { border-color: #a8321e; background: #fbebe7; }
.form-status__title { font-family: var(--font-serif); font-size: var(--step-2); line-height: 1.25; margin-bottom: 0.375rem; }
.form-status a { color: var(--navy-900); }
.enquiry-form.is-sent > :not(.form-status) { display: none; }

/* Contact: two equally weighted address blocks */
.addresses__grid { display: grid; gap: 2rem 4rem; }
.addresses__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(21, 26, 33, 0.2); }
.address-block { padding: 1.75rem 1.25rem 0.5rem 0; }
.address-block + .address-block { padding-left: 1.25rem; border-left: 1px solid rgba(21, 26, 33, 0.2); }
.address-block__city {
  margin-bottom: 0.875rem;
  font-family: var(--font-serif);
  font-size: var(--step-2);
  font-weight: 400;
  line-height: 1.2;
}
.address-block address { font-style: normal; line-height: 1.7; color: var(--ink-2); }
.address-block__note {
  margin-top: 0.875rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(21, 26, 33, 0.12);
  font-size: 0.875rem;
  color: var(--ink-3);
}
@media (max-width: 23.99em) {
  .addresses__list { grid-template-columns: 1fr; }
  .address-block { padding: 1.5rem 0 1.25rem; }
  .address-block + .address-block { padding-left: 0; border-left: 0; border-top: 1px solid rgba(21, 26, 33, 0.2); }
}
@media (min-width: 48em) {
  .address-block { padding: 2.25rem 2rem 0.5rem 0; }
  .address-block + .address-block { padding-left: 2rem; }
}
@media (min-width: 62em) {
  .addresses__grid { grid-template-columns: 5fr 7fr; align-items: start; }
}

/* ---------- Privacy / prose ---------- */
.prose-section__grid { display: grid; gap: 2rem 4rem; }
.prose { max-width: 40rem; color: var(--ink-2); }
.prose > * + * { margin-top: 1.25rem; }
@media (min-width: 62em) { .prose-section__grid { grid-template-columns: 5fr 6fr; } }

/* Privacy notice: contents rail + long-form legal text */
.privacy { padding-top: clamp(3rem, 2rem + 4vw, 6rem); }
.privacy__grid { display: grid; gap: 2.5rem 5rem; }
.privacy__contents { padding-bottom: 1.5rem; border-bottom: 1px solid var(--rule-light); }
.privacy__contents .kicker { margin-bottom: 0.75rem; }
.privacy__contents ol { display: grid; gap: 0; counter-reset: toc; }
.privacy__contents li { counter-increment: toc; }
.privacy__contents a {
  display: flex;
  gap: 0.75rem;
  padding-block: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: var(--ink-2);
  text-decoration: none;
}
.privacy__contents a::before {
  content: counter(toc, decimal-leading-zero);
  flex: none;
  width: 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.6rem;
  color: var(--gold-700);
  font-variant-numeric: tabular-nums;
}
.privacy__contents a:hover { color: var(--navy-900); }
@media (min-width: 62em) {
  .privacy__grid { grid-template-columns: 16rem minmax(0, 1fr); align-items: start; }
  .privacy__contents { position: sticky; top: calc(var(--header-h) + 2rem); padding-bottom: 0; border-bottom: 0; }
}

.legal { max-width: 46rem; color: var(--ink-2); }
.legal > section + section { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); padding-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); border-top: 1px solid var(--rule-light); }
/* html already offsets anchors for the sticky header; pull each section up by
   its top padding so the heading, not the divider gap, lands under the header. */
.legal > section + section { scroll-margin-top: calc(1rem - clamp(2.5rem, 2rem + 2vw, 3.5rem)); }
.legal h2 {
  margin-bottom: 1.25rem;
  font-family: var(--font-serif);
  font-size: var(--step-3);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.legal p, .legal ul, .legal table { margin-top: 1rem; }
.legal h2 + p, .legal h2 + table { margin-top: 0; }
.legal ul { padding-left: 1.25rem; }
.legal li + li { margin-top: 0.5rem; }
.legal li::marker { color: var(--gold-500); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--navy-900); text-decoration-color: var(--gold-500); text-underline-offset: 0.18em; overflow-wrap: anywhere; }
.legal__updated { font-size: 0.9375rem; color: var(--ink-3); }

.data-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.5; }
.data-table thead th {
  padding: 0 1rem 0.75rem 0;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
  color: var(--gold-700);
  border-bottom: 1px solid var(--ink);
}
.data-table tbody th, .data-table td {
  padding: 0.875rem 1rem 0.875rem 0;
  vertical-align: top;
  text-align: left;
  border-bottom: 1px solid var(--rule-light);
}
.data-table tbody th { font-weight: 600; color: var(--ink); }
.data-table th:last-child, .data-table td:last-child { padding-right: 0; }
.data-table:not(.data-table--two) tbody th { width: 24%; }
.data-table--two tbody th { width: 42%; }

/* Small screens: each row becomes a labelled card; no sideways scrolling. */
@media (max-width: 47.99em) {
  .data-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .data-table, .data-table tbody, .data-table tr, .data-table tbody th, .data-table td { display: block; width: auto !important; }
  .data-table tr { padding: 1rem 0; border-bottom: 1px solid var(--rule-light); }
  .data-table tr:first-child { border-top: 1px solid var(--ink); }
  .data-table tbody th, .data-table td { padding: 0; border: 0; }
  .data-table tbody th { margin-bottom: 0.5rem; font-family: var(--font-serif); font-size: var(--step-1); font-weight: 400; line-height: 1.3; }
  .data-table td + td { margin-top: 0.625rem; }
  .data-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.125rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-700);
  }
}

/* ---------- Inner closing CTA ---------- */
.closing--inner { padding-top: var(--section); border-top: 1px solid var(--rule-light); }

/* Compact section rhythm: shorter statement and closing bands. */
.section--compact { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
.section--compact .support__inner > :last-child { padding-top: 0; }
.closing.section--compact .closing__title { margin-bottom: 1.5rem; }
@media (min-width: 62em) {
  .section--compact .support__inner { align-items: center; }
  .closing.section--compact .closing__title { margin-bottom: 0; }
}

/* ---------- Sectors: supporting copy and diagnostic entry point ---------- */
.sector-detail__more { margin-top: 1.25rem; max-width: 36rem; color: var(--ink-2); }
.diag-intro__grid { display: grid; gap: 1.5rem 4rem; }
.diag-intro .h2 { max-width: 18ch; }
.diag-intro__body .lede { max-width: 38rem; }
.diag-intro__body > p + p { margin-top: 1.25rem; max-width: 38rem; color: var(--ink-2); }
.diag-intro__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  max-width: 38rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(21, 26, 33, 0.2);
}
@media (min-width: 62em) {
  .diag-intro__grid { grid-template-columns: 5fr 6fr; align-items: start; }
  .diag-intro__body { padding-top: 2.75rem; }
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: var(--navy-900);
  color: var(--on-dark);
}
.notfound .hero__title { font-size: var(--step-4); max-width: 16ch; }
.notfound p { max-width: 32rem; color: var(--on-dark-2); }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .preview-bar, .hero__art, .band__art, .closing__line { display: none; }
  .section--navy, .section--charcoal, .hero, .band { background: #fff; color: #000; }
}
