/* ==========================================================================
   Reactor Graphs — site.css
   A hairline-and-typography system. No cards, no soft shadows, no rounding.
   Type: Archivo (variable wght+wdth) / Newsreader (editorial) / JetBrains Mono
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* ---- Brand ------------------------------------------------------------
     One colour does the work. Bright orange for fills, buttons, large type
     and graphics; a deeper cut for small text, which needs 4.5:1 on white. */
  --orange:        #F96300;
  --orange-hi:     #FF7A22;
  --orange-text:   #C04600;   /* small text on white            */
  --orange-on-ink: #FF8437;   /* small text on the ink band     */
  --orange-lg:     #EE5B00;   /* large display accents on tint  */

  /* ---- Ground: white-first ---------------------------------------------
     --ink* are the *base* grounds (now white). --bone is the inverse band.
     Both are re-pointed inside .section--ink, so components need no changes. */
  --ink:        #FFFFFF;
  --ink-raised: #F7F6F4;
  --ink-panel:  #EFEDE9;
  --ink-line:   #E4E1DC;

  --bone:       #101112;      /* the inverse (dark) band        */
  --bone-dim:   #16171A;
  --bone-line:  #26282B;

  /* ---- Type on the base ground (white) */
  --fg:         #101112;
  --fg-muted:   #55595E;
  --fg-faint:   #6B7076;

  /* ---- Type on the inverse ground (ink) */
  --fg-ink:     #FFFFFF;
  --fg-ink-mut: #A9AEB3;

  /* ---- Accent aliases used across components ---------------------------
     --accent resolves to whatever is legible on the *current* ground; it is
     re-pointed inside .section--ink below. */
  --accent:      var(--orange-text);
  --accent-hi:   var(--orange-hi);
  --accent-alt: var(--orange-on-ink);

  /* ---- Rules */
  --rule:        rgba(16, 17, 18, 0.14);
  --rule-soft:   rgba(16, 17, 18, 0.06);
  --rule-ink:    rgba(255, 255, 255, 0.17);
  --rule-ink-s:  rgba(255, 255, 255, 0.08);
  --rule-ui:     rgba(16, 17, 18, 0.40);
  --rule-ui-ink: rgba(255, 255, 255, 0.44);

  /* Type families */
  --sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Measure + rhythm */
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --maxw: 1440px;
  --measure: 62ch;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Inverse bands re-point the ground tokens, so every component that reads
   --ink / --fg / --rule keeps working without a per-component override. */
.section--ink,
.site-footer {
  --ink:        #101112;
  --ink-raised: #16171A;
  --ink-panel:  #1D1F22;
  --bone:       #101112;
  --fg:         #FFFFFF;
  --fg-muted:   #A9AEB3;
  --fg-faint:   #8B9197;
  --accent:      var(--orange-on-ink);
  --rule:       rgba(255, 255, 255, 0.17);
  --rule-soft:  rgba(255, 255, 255, 0.08);
  --rule-ui:    rgba(255, 255, 255, 0.44);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  overflow-x: hidden;
}

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-variation-settings: "wght" 400, "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--orange); color: #FFFFFF; }

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

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: 980px; }

.section {
  position: relative;
  padding-block: clamp(4.5rem, 10vw, 9rem);
}

.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.section--ink {
  background: var(--bone);
  color: var(--fg-ink);
}

.section--panel { background: var(--ink-raised); }

.rule-top { border-top: 1px solid var(--rule); }
.rule-bottom { border-bottom: 1px solid var(--rule); }
.section--ink .rule-top { border-top-color: var(--rule-ink); }
.section--ink .rule-bottom { border-bottom-color: var(--rule-ink); }

/* Background hairline column grid — the "drafting table" motif */
.gridlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  opacity: 0.5;
}
.gridlines span {
  border-left: 1px solid var(--rule-soft);
}
.gridlines span:last-child { border-right: 1px solid var(--rule-soft); }

@media (max-width: 760px) {
  .gridlines { grid-template-columns: repeat(2, 1fr); }
}

/* Everything above the gridlines */
.site-header, main, .site-footer { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   4. Type
   -------------------------------------------------------------------------- */

/* Section label — the logo's chamfered box, reused as a subject chip */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--orange);
  flex: none;
}
.section--ink .eyebrow { color: var(--fg-ink-mut); }

/* Display headline — wide, heavy, uppercase, tight tracking */
.display {
  font-family: var(--sans);
  font-variation-settings: "wght" 800, "wdth" 112;
  text-transform: uppercase;
  letter-spacing: -0.028em;
  line-height: 0.92;
  font-size: clamp(2.75rem, 8.5vw, 7.25rem);
  margin: 0;
}

.display--hero {
  font-size: clamp(2.5rem, min(10vw, 13.2svh), 8.5rem);
  line-height: 0.86;
  letter-spacing: -0.035em;
}
/* Beside the orange panel the usable column is ~58vw, so the type scales to
   that, not to the viewport. */
@media (min-width: 901px) {
  .display--hero { font-size: clamp(2.5rem, min(7.6vw, 13.2svh), 8.5rem); }
}

/* Section heading */
.h2 {
  font-family: var(--sans);
  font-variation-settings: "wght" 780, "wdth" 108;
  text-transform: uppercase;
  letter-spacing: -0.022em;
  line-height: 0.98;
  font-size: clamp(1.9rem, 4.6vw, 3.5rem);
}

.h3 {
  font-family: var(--sans);
  font-variation-settings: "wght" 700, "wdth" 104;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.08;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.h4 {
  font-family: var(--sans);
  font-variation-settings: "wght" 650, "wdth" 100;
  font-size: 1.0625rem;
  letter-spacing: 0.005em;
  line-height: 1.3;
}

/* Editorial lede — serif, large, generous */
.lede {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.15vw, 1.7rem);
  line-height: 1.45;
  font-weight: 380;
  letter-spacing: -0.005em;
  color: var(--fg);
  max-width: 34ch;
}
.lede--wide { max-width: 46ch; }
.section--ink .lede { color: var(--fg-ink); }

.prose {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.68;
  font-weight: 400;
  color: var(--fg-muted);
  max-width: var(--measure);
}
.prose p + p { margin-top: 1.1em; }
.prose strong {
  color: var(--fg);
  font-weight: 600;
}
.section--ink .prose { color: var(--fg-ink-mut); }
.section--ink .prose strong { color: var(--fg-ink); }

.body-sm {
  font-size: 0.9375rem;
  line-height: 1.62;
  color: var(--fg-muted);
}
.section--ink .body-sm { color: var(--fg-ink-mut); }

.mono-label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.section--ink .mono-label { color: var(--fg-ink-mut); }

.accent { color: var(--accent); }
.section--ink .accent { color: var(--accent-alt); }

/* Index numeral */
.idx {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent);
  display: block;
}
.section--ink .idx { color: var(--accent-alt); }

/* --------------------------------------------------------------------------
   5. Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  --btn-fg: #101112;
  --btn-bg: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.0625rem 1.75rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--sans);
  font-variation-settings: "wght" 680, "wdth" 100;
  font-size: 0.8125rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  border: 1px solid var(--btn-bg);
  border-radius: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease);
  white-space: nowrap;
}
.btn .arw {
  transition: transform 0.4s var(--ease-out);
  flex: none;
}
.btn:hover { background: var(--accent-hi); border-color: var(--accent-hi); }
.btn:hover .arw { transform: translateX(5px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  border-color: var(--rule);
}
.btn--ghost:hover {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}
.section--ink .btn--ghost {
  --btn-fg: var(--fg-ink);
  border-color: var(--rule-ink);
}
.section--ink .btn--ghost:hover {
  border-color: var(--accent-alt);
  color: var(--accent-alt);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

/* Text link with a wiping orange underline */
.tlink {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-variation-settings: "wght" 620, "wdth" 100;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 0.4rem;
  color: var(--fg);
}
.tlink::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--rule);
}
.tlink::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  z-index: 1;
  transition: width 0.45s var(--ease-out);
}
.tlink:hover::before { width: 100%; }
.tlink:hover { color: var(--accent); }
.tlink .arw { transition: transform 0.4s var(--ease-out); }
.tlink:hover .arw { transform: translateX(4px); }
.section--ink .tlink { color: var(--fg-ink); }
.section--ink .tlink::after { background: var(--rule-ink); }
.section--ink .tlink:hover { color: var(--accent-alt); }
.section--ink .tlink:hover::before { background: var(--accent-alt); }

/* --------------------------------------------------------------------------
   6. Header / nav
   -------------------------------------------------------------------------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--orange);
  color: #FFFFFF;
  padding: 0.75rem 1.25rem;
  z-index: 999;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.skip:focus { left: 0; }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--rule);
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
}

/* Home page: header starts hidden, reveals after the hero */
.site-header[data-reveal="pending"] {
  transform: translateY(-101%);
  opacity: 0;
  pointer-events: none;
}
.site-header[data-reveal="shown"] {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 4.5rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}

.nav__link {
  font-family: var(--sans);
  font-variation-settings: "wght" 560, "wdth" 100;
  font-size: 0.78125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  position: relative;
  padding-block: 0.5rem;
  transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0.1rem;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease-out);
}
.nav__link:hover { color: var(--fg); }
.nav__link:hover::after { width: 100%; }
.nav__link[aria-current="page"] { color: var(--fg); }
.nav__link[aria-current="page"]::after { width: 100%; }

.nav__cta { display: none; }
@media (min-width: 1080px) { .nav__cta { display: inline-flex; } }

.nav__actions { display: flex; align-items: center; gap: 1.25rem; }

/* Wordmark */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6875rem;
  flex: none;
}
.wordmark__mark { flex: none; }
.wordmark__mark .ring { transform-origin: 50% 50%; }
.wordmark:hover .ring--a { animation: spin 9s linear infinite; }
.wordmark:hover .ring--b { animation: spin 6s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.wordmark__text {
  font-family: var(--sans);
  font-variation-settings: "wght" 760, "wdth" 106;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--fg);
}
.wordmark__text i {
  font-style: normal;
  font-variation-settings: "wght" 400, "wdth" 106;
  color: var(--fg-muted);
}

/* Mobile menu */
.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem; height: 2.75rem;
  padding: 0 0.6rem;
  background: none;
  border: 1px solid var(--rule);
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--fg);
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 900px) { .nav__toggle { display: none; } }

@media (max-width: 899px) {
  .nav__links {
    position: fixed;
    inset: 4.5rem 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 18px 40px -24px rgba(16,17,18,.35);
    padding: 0.5rem var(--gutter) 2rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), transform 0.35s var(--ease), visibility 0.3s;
  }
  .nav__links[data-open="true"] {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav__link {
    padding-block: 1.05rem;
    border-bottom: 1px solid var(--rule-soft);
    font-size: 0.9375rem;
  }
  .nav__link::after { display: none; }
}

/* --------------------------------------------------------------------------
   7. Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-block: 1.75rem 1.25rem;
  overflow: hidden;
  isolation: isolate;
}

/* The reactor motif sits behind the type, bleeding off the right edge */
.hero__motif {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -18vw;
  translate: 0 -50%;
  width: min(88vh, 68vw);
  aspect-ratio: 1;
  opacity: 0.85;
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero__motif {
    top: 34%;
    right: -34vw;
    width: 110vw;
    opacity: 0.5;
  }
}

/* Amber glow behind motif */
.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: 50%; right: -10vw;
  translate: 0 -50%;
  width: 60vw; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(249, 99, 0, 0.10) 0%, transparent 62%);
  pointer-events: none;
}

/* Vignette to keep type legible */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, var(--ink) 24%, rgba(10, 12, 14, 0.72) 50%, transparent 82%);
  pointer-events: none;
}

.hero__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
}
.hero__bar .wordmark__text { font-size: 1rem; }

.hero__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(1rem, 3vh, 2.5rem);
}

.hero__title span {
  display: block;
  /* Clip the rise-in vertically only; a line that momentarily runs wider than
     the column must never lose its trailing glyphs. */
  clip-path: inset(-0.1em -100vw 0 -100vw);
}
.hero__title span > b {
  display: block;
  font-weight: inherit;
  font-variation-settings: inherit;
  animation: riseIn 1.05s var(--ease-out) both;
}
.hero__title span:nth-child(1) > b { animation-delay: 0.06s; }
.hero__title span:nth-child(2) > b { animation-delay: 0.15s; }
.hero__title span:nth-child(3) > b { animation-delay: 0.24s; }

@keyframes riseIn {
  from { transform: translateY(102%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.hero__sub {
  margin-top: clamp(1.25rem, 2.6vw, 2rem);
  max-width: 46ch;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  animation: fadeUp 1s var(--ease-out) 0.42s both;
}

.hero__actions {
  margin-top: clamp(1.375rem, 2.6vw, 2rem);
  animation: fadeUp 1s var(--ease-out) 0.54s both;
}

@keyframes fadeUp {
  from { transform: translateY(16px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* Hero footer strip — the standing promise, in mono */
.hero__strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
  animation: fadeUp 1s var(--ease-out) 0.7s both;
}
.hero__strip div {
  padding: 1.125rem 1.25rem 0.125rem 0;
  border-right: 1px solid var(--rule);
}
.hero__strip div:last-child { border-right: 0; }
.hero__strip dt {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.hero__strip dd {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--fg-muted);
  margin: 0;
  max-width: 26ch;
}
@media (max-width: 620px) {
  .hero__strip div { border-right: 0; padding-right: 0; }
}

.scrollcue {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.scrollcue i {
  display: block;
  width: 1px; height: 1.75rem;
  background: linear-gradient(var(--accent), transparent);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue {
  0%, 100% { transform: scaleY(0.35); transform-origin: top; opacity: 0.5; }
  50%      { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

/* --------------------------------------------------------------------------
   8. Page hero (interior)
   -------------------------------------------------------------------------- */
.pagehero {
  padding-top: calc(4.5rem + clamp(3.5rem, 8vw, 7rem));
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.pagehero::before {
  content: "";
  position: absolute;
  top: -30%; right: -12%;
  width: 46vw; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(249, 99, 0, 0.09) 0%, transparent 65%);
  pointer-events: none;
}
.pagehero__grid {
  display: grid;
  gap: clamp(1.75rem, 5vw, 4rem);
  align-items: end;
}
@media (min-width: 900px) {
  .pagehero__grid { grid-template-columns: 1.55fr 1fr; }
}

/* Page-hero headlines are set to the column, not to the viewport, so the
   authored line breaks are the only breaks that happen. */
.pagehero .display {
  font-size: clamp(2.25rem, 5.1vw, 4.5rem);
  line-height: 0.94;
}

/* --------------------------------------------------------------------------
   9. Split sections
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1.15fr; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--sticky > :first-child {
    position: sticky;
    top: 7rem;
  }
}

/* --------------------------------------------------------------------------
   10. Capability list — hairline rows, hover-wash
   -------------------------------------------------------------------------- */
.caplist { border-top: 1px solid var(--rule); }
.section--ink .caplist { border-top-color: var(--rule-ink); }

.cap {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 0 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: padding-left 0.45s var(--ease-out);
}
.section--ink .cap { border-bottom-color: var(--rule-ink); }

.cap::before {
  content: "";
  position: absolute;
  left: -1.5rem; right: -1.5rem;
  top: 0; bottom: -1px;
  background: linear-gradient(90deg, rgba(249, 99, 0, 0.06), transparent 70%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
.cap:hover::before { opacity: 1; }
.cap:hover { padding-left: 0.75rem; }

.cap__idx {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-top: 0.35rem;
}
.section--ink .cap__idx { color: var(--accent-alt); }

.cap__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}
.cap__body {
  margin-top: 0.75rem;
  max-width: 68ch;
  font-size: 0.9688rem;
  line-height: 1.65;
  color: var(--fg-muted);
}
.section--ink .cap__body { color: var(--fg-ink-mut); }

.cap__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.125rem;
}
.tag {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-faint);
  border: 1px solid var(--rule);
  padding: 0.3rem 0.6rem;
  white-space: nowrap;
}
.section--ink .tag {
  color: var(--fg-ink-mut);
  border-color: var(--rule-ink);
}

@media (max-width: 620px) {
  .cap { grid-template-columns: 1fr; gap: 0.5rem; }
  .cap__idx { padding-top: 0; }
}

/* --------------------------------------------------------------------------
   11. Grid of blocks (sectors, values, method)
   -------------------------------------------------------------------------- */
.blocks {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (min-width: 700px)  { .blocks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .blocks--3 { grid-template-columns: repeat(3, 1fr); } }

.section--ink .blocks { background: var(--rule-ink); border-color: var(--rule-ink); }

.block {
  background: var(--ink);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  position: relative;
  transition: background 0.4s var(--ease);
  min-height: 100%;
}
.block:hover { background: var(--ink-panel); }
.section--panel .block { background: var(--ink-raised); }
.section--panel .block:hover { background: var(--ink-panel); }
.section--ink .block { background: var(--bone); }
.section--ink .block:hover { background: var(--ink-panel); }

.block__idx {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.section--ink .block__idx { color: var(--accent-alt); }

.block p {
  font-size: 0.9375rem;
  line-height: 1.62;
  color: var(--fg-muted);
}
.section--ink .block p { color: var(--fg-ink-mut); }

.block ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.block li {
  font-size: 0.875rem;
  color: var(--fg-muted);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}
.block li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 5px; height: 1px;
  background: var(--accent);
}
.section--ink .block li { color: var(--fg-ink-mut); }
.section--ink .block li::before { background: var(--accent-alt); }

/* --------------------------------------------------------------------------
   12. Method / numbered steps
   -------------------------------------------------------------------------- */
.steps { border-top: 1px solid var(--rule); }
.section--ink .steps { border-top-color: var(--rule-ink); }

.step {
  display: grid;
  gap: 0.75rem clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
  border-bottom: 1px solid var(--rule);
}
.section--ink .step { border-bottom-color: var(--rule-ink); }

@media (min-width: 860px) {
  .step { grid-template-columns: 4rem 15rem 1fr; align-items: start; }
}

.step__n {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  padding-top: 0.25rem;
}
.section--ink .step__n { color: var(--accent-alt); }

.step__meta {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-top: 0.625rem;
}

/* --------------------------------------------------------------------------
   13. Statement / pull quote band
   -------------------------------------------------------------------------- */
.statement {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 4vw, 3.1rem);
  line-height: 1.16;
  font-weight: 300;
  letter-spacing: -0.015em;
  max-width: 22ch;
}
.statement em {
  font-style: italic;
  color: var(--orange);
}
.section--ink .statement em { color: var(--accent-alt); }

.statement--wide { max-width: 26ch; }

/* --------------------------------------------------------------------------
   14. People
   -------------------------------------------------------------------------- */
.people {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (min-width: 860px) { .people { grid-template-columns: repeat(2, 1fr); } }

.person {
  background: var(--ink);
  padding: clamp(1.75rem, 3.5vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}
.person__portrait {
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 15rem;
  background:
    linear-gradient(160deg, var(--ink-panel), var(--ink-raised));
  border: 1px solid var(--rule);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.person__portrait img { width: 100%; height: 100%; object-fit: cover; }
.person__portrait::after {
  content: attr(data-initials);
  font-family: var(--sans);
  font-variation-settings: "wght" 800, "wdth" 118;
  font-size: 2.75rem;
  letter-spacing: -0.02em;
  color: var(--rule);
}
.person__portrait:has(img)::after { content: none; }

.person__role {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   15. CTA band
   -------------------------------------------------------------------------- */
.cta {
  background: var(--bone);
  color: var(--fg-ink);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  right: -8%; top: 50%;
  translate: 0 -50%;
  width: 34rem; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(249, 99, 0, 0.22) 0%, transparent 62%);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
@media (min-width: 900px) {
  .cta__inner { grid-template-columns: 1.3fr 1fr; }
}
.cta .btn--ghost { --btn-fg: var(--fg-ink); border-color: rgba(10,12,14,.3); }
.cta .btn--ghost:hover { border-color: var(--fg-ink); color: var(--fg-ink); }

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--rule);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
}

.footer__top {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 900px) {
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; }
}

.footer__brandline {
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--fg-muted);
  max-width: 30ch;
  margin-top: 1.375rem;
}

.footer__col h2 {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 1.375rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--rule);
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.8125rem; }
.footer__col a {
  font-size: 0.9375rem;
  color: var(--fg-muted);
  transition: color 0.3s var(--ease), padding-left 0.35s var(--ease-out);
  display: inline-block;
}
.footer__col a:hover { color: var(--accent); padding-left: 0.375rem; }

.footer__contact dt {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 0.3125rem;
}
.footer__contact dd {
  margin: 0 0 1.375rem;
  font-size: 0.9375rem;
  color: var(--fg);
}
.footer__contact dd a { transition: color 0.3s var(--ease); }
.footer__contact dd a:hover { color: var(--accent); }

/* Oversized watermark wordmark */
.footer__watermark {
  border-top: 1px solid var(--rule);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
}
.footer__watermark svg { width: 100%; height: auto; display: block; }

.footer__legal {
  border-top: 1px solid var(--rule);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-block: 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.75rem;
}
.footer__legal p, .footer__legal a {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--fg-faint);
}
.footer__legal a { transition: color 0.3s var(--ease); }
.footer__legal a:hover { color: var(--accent); }
.footer__legal nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* --------------------------------------------------------------------------
   17. Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.5rem; }
.form__row { display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field > label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.field .req { color: var(--accent); }

.field input,
.field textarea,
.field select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  padding: 0.8125rem 0;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--fg);
  transition: border-color 0.35s var(--ease);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 8rem; line-height: 1.6; }
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--fg-muted) 50%),
                    linear-gradient(135deg, var(--fg-muted) 50%, transparent 50%);
  background-position: calc(100% - 12px) 1.35rem, calc(100% - 7px) 1.35rem;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.field select option { background: var(--ink); color: var(--fg); }

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.field input::placeholder, .field textarea::placeholder { color: var(--fg-faint); }

.field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}
.field--check input {
  width: 1.05rem; height: 1.05rem;
  flex: none;
  margin-top: 0.2rem;
  border: 1px solid var(--rule);
  background: transparent;
  cursor: pointer;
}
.field--check input:checked { background: var(--orange); border-color: var(--orange); }
.field--check label {
  font-family: var(--sans);
  font-size: 0.875rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--fg-muted);
  line-height: 1.55;
}

.form__note {
  font-size: 0.8125rem;
  color: var(--fg-faint);
  line-height: 1.6;
}

.form__status {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  padding: 0.875rem 1rem;
  border: 1px solid var(--rule);
  display: none;
}
.form__status[data-state="ok"] { display: block; border-color: var(--accent); color: var(--accent); }
.form__status[data-state="err"] { display: block; border-color: #B3341A; color: #A32E15; }
.form__status[data-state="busy"] { display: block; color: var(--fg-muted); }

/* Honeypot */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* --------------------------------------------------------------------------
   18. Legal / long-form document pages
   -------------------------------------------------------------------------- */
.doc { max-width: 74ch; }
.doc h2 {
  font-family: var(--sans);
  font-variation-settings: "wght" 720, "wdth" 104;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: 1.3125rem;
  line-height: 1.15;
  margin-top: 3.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 6rem;
}
.doc h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.doc h3 {
  font-family: var(--sans);
  font-variation-settings: "wght" 640, "wdth" 100;
  font-size: 1rem;
  margin-top: 2rem;
  letter-spacing: 0.005em;
}
.doc p, .doc li {
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--fg-muted);
}
.doc p { margin-top: 1rem; }
.doc ul, .doc ol { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.625rem; }
.doc li { padding-left: 1.375rem; position: relative; }
.doc li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 7px; height: 1px;
  background: var(--accent);
}
.doc ol { counter-reset: n; }
.doc ol li::before {
  counter-increment: n;
  content: counter(n, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.7rem;
  background: none;
  width: auto; height: auto;
  top: 0.28em;
  color: var(--accent);
}
.doc a:not(.btn):not(.tlink) {
  color: var(--accent);
  border-bottom: 1px solid rgba(192, 70, 0, 0.38);
  transition: border-color 0.3s var(--ease);
}
.doc a:not(.btn):not(.tlink):hover { border-bottom-color: var(--accent); }
.doc strong { color: var(--fg); font-weight: 600; }

.toc {
  border: 1px solid var(--rule);
  padding: 1.5rem;
  position: sticky;
  top: 6.5rem;
}
.toc h2 {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 1rem;
}
.toc ol { counter-reset: t; display: flex; flex-direction: column; gap: 0.6875rem; }
.toc li { counter-increment: t; }
.toc a {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  display: flex;
  gap: 0.625rem;
  line-height: 1.4;
  transition: color 0.3s var(--ease);
}
.toc a::before {
  content: counter(t, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.625rem;
  color: var(--fg-faint);
  flex: none;
  padding-top: 0.15em;
}
.toc a:hover { color: var(--accent); }
@media (max-width: 899px) { .toc { position: static; } }

/* --------------------------------------------------------------------------
   19. Scroll reveal
   -------------------------------------------------------------------------- */
[data-reveal-el] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
[data-reveal-el].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal-el] { opacity: 1; transform: none; }
  .hero__title span > b,
  .hero__sub, .hero__actions, .hero__strip { animation: none !important; }
}

/* --------------------------------------------------------------------------
   20. Utilities
   -------------------------------------------------------------------------- */
.stack   { display: flex; flex-direction: column; }
.gap-sm  { gap: 0.75rem; }
.gap-md  { gap: 1.5rem; }
.gap-lg  { gap: clamp(1.75rem, 3vw, 2.75rem); }
.mt-md   { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.mt-lg   { margin-top: clamp(2.25rem, 5vw, 3.75rem); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   21. Dashed detail list
   -------------------------------------------------------------------------- */
.list-dash { display: flex; flex-direction: column; gap: 0.75rem; }
.list-dash li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--fg-muted);
}
.list-dash li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 9px; height: 1px;
  background: var(--accent);
}
.section--ink .list-dash li { color: var(--fg-ink-mut); }
.section--ink .list-dash li::before { background: var(--accent-alt); }

/* Capability index cards on the capabilities page */
.idxgrid {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (min-width: 700px)  { .idxgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .idxgrid { grid-template-columns: repeat(3, 1fr); } }
.idxgrid li { background: var(--ink); }
.idxgrid a {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  height: 100%;
  transition: background 0.4s var(--ease);
}
.idxgrid a:hover { background: var(--ink-panel); }
.idxgrid a:hover .h4 { color: var(--accent); }
.idxgrid .h4 { transition: color 0.35s var(--ease); }

/* --------------------------------------------------------------------------
   22. Small-screen refinements
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  /* The hero's right-hand tagline competes with the wordmark on narrow screens */
  .hero__bar .mono-label { display: none; }
  .hero__bar { padding-bottom: 1rem; }
}

@media (max-width: 560px) {
  /* Long CTA labels must wrap rather than overflow the viewport */
  .btn {
    white-space: normal;
    width: 100%;
    justify-content: space-between;
    text-align: left;
    padding: 1rem 1.25rem;
    font-size: 0.75rem;
    letter-spacing: 0.09em;
    line-height: 1.35;
  }
  .btn-row { flex-direction: column; align-items: stretch; }
  .nav__toggle { width: 2.75rem; }
  .hero__strip div { padding-top: 1rem; }
  .toc { padding: 1.25rem; }
}

/* Keep the reactor motif from crowding the headline on short, wide screens */
@media (max-height: 640px) and (min-width: 900px) {
  .hero__motif { width: min(78vh, 52vw); right: -12vw; }
}

/* --------------------------------------------------------------------------
   23. Document page layout (TOC + body)
   -------------------------------------------------------------------------- */
.doclayout {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 960px) {
  .doclayout { grid-template-columns: 16rem minmax(0, 1fr); }
}
.doc a { overflow-wrap: anywhere; }

/* Portrait placeholders on light cards need an ink-toned initial */
.section--ink .person__portrait::after { color: rgba(10, 12, 14, 0.15); }

/* --------------------------------------------------------------------------
   24. Interactive component boundaries (WCAG 1.4.11 — 3:1 minimum)
   The hairline --rule is right for decorative dividers but too faint to be
   the visible edge of a control.
   -------------------------------------------------------------------------- */
.btn--ghost,
.nav__toggle,
.field input,
.field textarea,
.field select,
.field--check input,
.form__status { border-color: var(--rule-ui); }

.field input,
.field textarea,
.field select { border-bottom-color: var(--rule-ui); }

.cta .btn--ghost,
.section--ink .btn--ghost { border-color: var(--rule-ui-ink); }

/* ==========================================================================
   25. Brand system — lettermark, orange field, chamfered labels
   ========================================================================== */

/* ---- The lockup ---------------------------------------------------------- */
.wordmark { color: var(--orange); }
.lockup {
  display: block;
  height: 2.625rem;
  width: auto;
  color: currentColor;
}
.site-header .lockup { height: 2.25rem; }
.hero__bar .lockup { height: 2.875rem; }
.site-footer .lockup { height: 2.75rem; }
@media (max-width: 560px) {
  .lockup, .site-header .lockup, .hero__bar .lockup { height: 2rem; }
  .site-footer .lockup { height: 2.25rem; }
}

/* ---- Chamfered label: the logo's box, reused as the site's subject tag ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: auto;
  margin-bottom: 1.75rem;
  padding: 0.5rem 0.75rem 0.45rem;
  background: var(--orange);
  color: #101112;
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%);
}
.eyebrow::before { display: none; }
.section--ink .eyebrow { color: #101112; }

/* Give the label a block of its own so it never stretches in a flex column */
.eyebrow { align-self: flex-start; }

/* ---- Hero: white ground, orange field bleeding off the right ------------- */
.hero { background: var(--ink); }
.hero::before, .hero::after { content: none; display: none; }

.hero__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 34vw;
  background: var(--orange);
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}
.hero__panel svg { width: 100%; height: 100%; display: block; }

.hero__body > * { max-width: min(100%, 62vw); }

@media (max-width: 900px) {
  .hero__panel { display: none; }
  .hero__body > * { max-width: 100%; }
}

/* ---- CTA: a solid orange band ------------------------------------------- */
.cta {
  background: var(--orange);
  color: #101112;
}
.cta::before { content: none; display: none; }
.cta .eyebrow {
  background: #101112;
  color: #FFFFFF;
}
.cta .h2, .cta strong { color: #101112; }
.cta .prose { color: rgba(16, 17, 18, 0.84); }
.cta .body-sm { color: rgba(16, 17, 18, 0.78); }
.cta .btn {
  --btn-bg: #101112;
  --btn-fg: #FFFFFF;
  border-color: #101112;
}
.cta .btn:hover { background: #2C2F33; border-color: #2C2F33; }
.cta .btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #101112;
  border-color: rgba(16, 17, 18, 0.5);
}
.cta .btn--ghost:hover {
  background: transparent;
  border-color: #101112;
  color: #101112;
}

/* ---- Inverse bands ------------------------------------------------------- */
.section--ink { background: var(--bone); color: var(--fg-ink); }
.section--ink .block { background: var(--ink); }
.section--ink .person { background: var(--ink); }

/* Portrait placeholders sit on the ink band now */
.person__portrait {
  background: linear-gradient(160deg, var(--ink-panel), var(--ink-raised));
  border-color: var(--rule);
}
.section--ink .person__portrait::after { color: rgba(255, 255, 255, 0.16); }
.person__portrait::after { color: rgba(16, 17, 18, 0.14); }

/* ---- Footer watermark reads on ink -------------------------------------- */
.site-footer { background: var(--bone); }

/* Keep hero content clear of the orange field (which is anchored to the
   viewport edge, not to the centred .wrap) */
@media (min-width: 901px) {
  .hero .wrap { padding-right: max(var(--gutter), 37vw); }
  .hero__body > * { max-width: 100%; }
}

/* Contrast corrections -------------------------------------------------------
   White on bright orange is only 3.08:1, so the skip link takes the ink field.
   The statement accent sits on the tinted panel, where full-strength orange
   falls just under 3:1 for large text. */
.skip { background: #101112; color: #FFFFFF; }
.statement em { color: var(--orange-lg); }

/* ==========================================================================
   26. Wave-1 revisions
   ========================================================================== */

/* ---- Supplied brandmark (square badge) ---------------------------------- */
.brandmark {
  display: block;
  height: 3rem;
  width: auto;
}
.site-header .brandmark { height: 2.875rem; }
.hero__bar .brandmark   { height: 4.5rem; }
.site-footer .brandmark { height: 4rem; }
@media (max-width: 560px) {
  .brandmark, .site-header .brandmark { height: 2.5rem; }
  .hero__bar .brandmark   { height: 3.25rem; }
  .site-footer .brandmark { height: 3rem; }
}

/* ---- Plain section label (no chip) -------------------------------------- */
.section-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

/* ---- Hero credibility strip: 2 x 2 -------------------------------------- */
.hero__strip {
  grid-template-columns: repeat(2, 1fr);
  column-gap: clamp(1.5rem, 4vw, 4rem);
}
.hero__strip div {
  border-right: 0;
  padding: 1.0625rem 0 0.875rem;
}
.hero__strip div:nth-child(n + 3) { border-top: 1px solid var(--rule); }
.hero__strip dd { max-width: 42ch; }
@media (max-width: 620px) {
  .hero__strip { grid-template-columns: 1fr; }
  .hero__strip div:nth-child(n + 2) { border-top: 1px solid var(--rule); }
}

/* ---- Attributed quote ---------------------------------------------------- */
.attrib {
  margin-top: 1.75rem;
  padding-top: 1.125rem;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  max-width: 46ch;
}
.attrib span { display: block; color: var(--fg-muted); margin-top: 0.4rem; letter-spacing: 0.1em; }

/* ---- Method steps without index numerals -------------------------------- */
@media (min-width: 860px) {
  .steps--plain .step { grid-template-columns: 15rem 1fr; }
}

/* ---- Sector blocks become links ----------------------------------------- */
a.block {
  text-decoration: none;
  color: inherit;
}
a.block .h4 { transition: color 0.35s var(--ease); }
a.block:hover .h4 { color: var(--accent); }
a.block::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width 0.45s var(--ease-out);
}
a.block:hover::after { width: 100%; }

/* ==========================================================================
   27. Wave-2 revisions: firm + capabilities + urgent modal
   ========================================================================== */

/* ---- Animated accent words inside headings ------------------------------
   Words wrapped in .hl start in the heading's own ink and sweep to orange
   once their section reveals, with a small stagger. Without JS (no .is-in)
   or with reduced motion they are simply orange. */
.hl { transition: color 1s var(--ease); }
[data-reveal-el].is-in .hl,
.hl.is-on { color: var(--orange); }
[data-reveal-el].is-in .hl:nth-of-type(1) { transition-delay: 0.25s; }
[data-reveal-el].is-in .hl:nth-of-type(2) { transition-delay: 0.55s; }
[data-reveal-el].is-in .hl:nth-of-type(3) { transition-delay: 0.85s; }
@media (prefers-reduced-motion: reduce) {
  .hl { color: var(--orange); transition: none; }
}

/* Orange section headings (capabilities detail) */
.h2--accent { color: var(--orange); }

/* ---- Capability index: title-only, larger ------------------------------- */
.idxgrid--plain a { gap: 0.375rem; padding: clamp(1.625rem, 2.8vw, 2.25rem); }
.idxgrid--plain .h4 {
  font-variation-settings: "wght" 700, "wdth" 104;
  font-size: clamp(1.05rem, 1.6vw, 1.3125rem);
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.15;
}

/* ---- Partner portraits --------------------------------------------------- */
.person__portrait--photo { max-width: 17rem; }
.person__portrait--photo img {
  filter: saturate(0.92);
}

/* ---- Urgent-response modal ----------------------------------------------- */
.urgent-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  background: rgba(16, 17, 18, 0.66);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.urgent-modal[data-open="true"] { display: flex; }

.urgent-modal__panel {
  background: #FFFFFF;
  color: var(--fg);
  max-width: 34rem;
  width: 100%;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  position: relative;
  border-top: 6px solid var(--orange);
  animation: modalIn 0.45s var(--ease-out) both;
  max-height: calc(100vh - 2 * var(--gutter));
  overflow-y: auto;
}
@keyframes modalIn {
  from { transform: translateY(26px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .urgent-modal__panel { animation: none; }
}

.urgent-modal__logo { height: 3.25rem; width: auto; margin-bottom: 1.5rem; }

.urgent-modal__title {
  font-family: var(--serif);
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: -0.015em;
}
.urgent-modal__title em { font-style: italic; color: var(--orange-lg); }

.urgent-modal__body {
  margin-top: 1.125rem;
  font-size: 0.9688rem;
  line-height: 1.6;
  color: var(--fg-muted);
}

.urgent-modal__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.375rem;
  font-family: var(--sans);
  font-variation-settings: "wght" 760, "wdth" 106;
  font-size: clamp(1.375rem, 3.2vw, 1.75rem);
  letter-spacing: 0.01em;
  color: var(--orange-text);
  transition: color 0.3s var(--ease);
}
.urgent-modal__phone:hover { color: var(--orange); }

.urgent-modal__close {
  position: absolute;
  top: 0.875rem; right: 0.875rem;
  width: 2.5rem; height: 2.5rem;
  display: grid;
  place-items: center;
  background: none;
  border: 1px solid var(--rule-ui);
  cursor: pointer;
  font-size: 1.125rem;
  line-height: 1;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.urgent-modal__close:hover { border-color: var(--orange); color: var(--orange); }

.urgent-modal__note {
  margin-top: 1.25rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

/* ==========================================================================
   28. Orange highlighter + full-width home sections
   ========================================================================== */

/* ---- .mark: animated orange highlighter -----------------------------------
   Text sits on an orange block that sweeps in left-to-right once the
   element's [data-reveal-el] ancestor (or the element itself) reveals.
   Letters go white on the orange, echoing the logo's cutout. Highlighted
   text is kept bold and large so white-on-orange stays within WCAG limits. */
.mark {
  background-image: linear-gradient(var(--orange), var(--orange));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-position: 0 0;
  padding: 0.04em 0.14em;
  margin-inline: -0.04em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size 1s var(--ease-out) 0.35s,
              color 0.5s var(--ease) 0.55s;
}
[data-reveal-el].is-in .mark,
[data-reveal-el].is-in.mark,
.mark.is-on {
  background-size: 100% 100%;
  color: #FFFFFF;
}
.lede .mark, .prose .mark { font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  .mark { background-size: 100% 100%; color: #FFFFFF; transition: none; }
}

/* ---- Home capability list: linked rows, no index column ------------------ */
.caplist--plain .cap {
  grid-template-columns: 1fr;
  gap: 0;
}
.caplist--plain .cap .cap__body { max-width: none; }
a.cap { color: inherit; }
a.cap .h3 {
  display: inline-flex;
  align-items: baseline;
  gap: 0.75rem;
  transition: color 0.35s var(--ease);
}
a.cap .h3 .arw { flex: none; align-self: center; opacity: 0; transform: translateX(-6px); transition: opacity 0.35s var(--ease), transform 0.4s var(--ease-out); }
a.cap:hover .h3 { color: var(--orange); }
a.cap:hover .h3 .arw { opacity: 1; transform: none; }

/* ---- Method steps: title + full-width paragraph -------------------------- */
.steps--plain .step .prose { max-width: none; }

/* ---- Full-width lede ------------------------------------------------------ */
.lede--full { max-width: none; }

/* ---- Balanced multi-line heading ----------------------------------------- */
.h2--balance {
  text-wrap: balance;
  max-width: 24ch;
}

/* ==========================================================================
   29. White color-sweep + interior hero panel + dark RG mark
   ========================================================================== */

/* Words that sweep from ink to white (for use on the orange CTA band) */
.hlw { transition: color 1s var(--ease) 0.35s; }
[data-reveal-el].is-in .hlw, .hlw.is-on { color: #FFFFFF; }
@media (prefers-reduced-motion: reduce) { .hlw { color: #FFFFFF; transition: none; } }

/* Interior page hero with the orange RG panel on the right */
.pagehero--panel { position: relative; }
.pagehero__panel {
  position: absolute;
  top: 0; bottom: 0;
  /* Right edge sits on the content column, not the viewport edge */
  right: calc(max(0px, (100vw - var(--maxw)) / 2) + var(--gutter));
  width: min(30vw, 27rem);
  background: var(--orange);
  overflow: hidden;
  pointer-events: none;
}
.pagehero__panel svg { width: 100%; height: 100%; display: block; }
@media (min-width: 901px) {
  .pagehero--panel .wrap {
    padding-right: calc(min(30vw, 27rem) + var(--gutter) + 2.5rem);
  }
}
@media (max-width: 900px) {
  .pagehero__panel { display: none; }
}

/* RG letterforms for the dark Firm band: ink letters rimmed in orange */
.rg-dark {
  width: min(100%, 17rem);
  height: auto;
  justify-self: end;
}
@media (max-width: 899px) { .rg-dark { display: none; } }

/* ==========================================================================
   30. Process diagrams (Approach page)
   ========================================================================== */

/* ---- Vertical numbered flow ---------------------------------------------- */
.flow {
  position: relative;
  display: flex;
  flex-direction: column;
}
.flow::before {
  content: "";
  position: absolute;
  left: 1.375rem;
  top: 1.5rem; bottom: 1.5rem;
  width: 2px;
  background: var(--rule);
}
.flow__step {
  position: relative;
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 0.25rem clamp(1.25rem, 2.5vw, 2rem);
  padding-block: clamp(1.125rem, 2.2vw, 1.75rem);
}
.flow__n {
  width: 2.75rem; height: 2.75rem;
  background: var(--orange);
  color: #101112;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 0.9375rem;
  font-weight: 500;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%);
  position: relative;
  z-index: 1;
}
.flow__title {
  font-family: var(--sans);
  font-variation-settings: "wght" 700, "wdth" 104;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
  line-height: 1.15;
  align-self: center;
}
.flow__body {
  grid-column: 2;
  font-size: 0.9375rem;
  line-height: 1.62;
  color: var(--fg-muted);
  max-width: 62ch;
}
.flow__body strong { color: var(--fg); font-weight: 600; }
.flow__tags {
  grid-column: 2;
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem 1.25rem;
}
.flow__tags span {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-faint);
  position: relative;
  padding-left: 0.875rem;
}
.flow__tags span::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 6px; height: 1px;
  background: var(--orange);
}

/* Phase separators inside a flow */
.flow__phase {
  position: relative;
  z-index: 1;
  margin: clamp(1rem, 2vw, 1.5rem) 0 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}
.flow__phase::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}

/* ---- Parallel mapping: strategic step <-> crisis behavior ---------------- */
.pairs { border-top: 1px solid var(--rule); }
.pair {
  display: grid;
  grid-template-columns: 1fr 3.5rem 1fr;
  align-items: center;
  gap: 0.5rem 1rem;
  padding-block: clamp(1rem, 2vw, 1.375rem);
  border-bottom: 1px solid var(--rule);
}
.pair__a, .pair__b {
  font-size: 0.9375rem;
  line-height: 1.5;
}
.pair__a { font-variation-settings: "wght" 640, "wdth" 100; }
.pair__b { color: var(--fg-muted); }
.pair__link {
  justify-self: center;
  color: var(--orange);
}
@media (max-width: 700px) {
  .pair { grid-template-columns: 1fr; }
  .pair__link { display: none; }
  .pair__b { padding-left: 1rem; border-left: 2px solid var(--orange); }
}
