:root {
  --paper: #ffffff;
  --paper-soft: #faf9f7;
  --paper-raised: #f4f2ee;
  --ink: #14120f;
  --ink-soft: #5c574f;
  --line: #ddd9d2;
  --amber: #e8730c;
  --amber-hover: #eb8420;
  --red: #b3261e;
  --green: #2e6b34;
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --shell: 1600px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(72px, 9vw, 144px);
  --radius: 2px;
}

@view-transition {
  navigation: auto;
}

@media (prefers-reduced-motion: no-preference) {
  ::view-transition-group(root) {
    animation-duration: 320ms;
    animation-timing-function: cubic-bezier(.22, 1, .36, 1);
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    mix-blend-mode: normal;
  }

  ::view-transition-old(root) {
    animation: page-transition-out 160ms ease-out both;
  }

  ::view-transition-new(root) {
    animation: page-transition-in 320ms cubic-bezier(.22, 1, .36, 1) both;
  }
}

@keyframes page-transition-out {
  to { opacity: 0; transform: translateY(-8px); }
}

@keyframes page-transition-in {
  from { opacity: 0; transform: translateY(8px); }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body, button, input, textarea, select { font-family: var(--font-body); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { color: var(--ink); background: #f6cb99; }

.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;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.shell { width: min(100%, var(--shell)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-soft { background: var(--paper-raised); }
.section-subtle { background: var(--paper-soft); }
.section-rule { border-top: 1px solid var(--line); }
.section-index,
.eyebrow,
.meta,
.rail-note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.section-index, .eyebrow, .meta { color: var(--ink-soft); }
.eyebrow { text-transform: uppercase; }
.section-index { margin-bottom: 28px; text-transform: uppercase; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
h1 { font-size: clamp(3.5rem, 8.2vw, 8.6rem); }
h2 { margin-bottom: 24px; font-size: clamp(2.5rem, 5vw, 5rem); }
h3 { margin-bottom: 14px; font-size: clamp(1.6rem, 2.6vw, 2.7rem); }
p { margin-bottom: 1.25rem; }
.lede { max-width: 46ch; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.35; }
.measure { max-width: 62ch; }
.muted { color: var(--ink-soft); }
.mono { font-family: var(--font-mono); }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background-color 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out;
}
.button-primary { color: var(--ink); background: var(--amber); }
.button-primary:hover { background: var(--amber-hover); }
.button-outline { border-color: var(--ink); background: transparent; }
.button-outline:hover { color: var(--paper); background: var(--ink); }
.button-ink { color: var(--paper); background: var(--ink); }
.button-ink:hover { color: var(--ink); background: var(--paper); }
.text-link {
  position: relative;
  display: inline-block;
  padding-block: 8px 5px;
  border-bottom: 2px solid currentColor;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}
.text-link::after {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--amber), var(--green));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease-out;
}
.text-link:hover::after,
.text-link:focus-visible::after { transform: scaleX(1); }
.actions { display: flex; flex-wrap: wrap; gap: 16px 36px; align-items: center; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 32px; }
.wordmark {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
}
.header-wordmark { display: flex; width: 142px; align-items: center; }
.header-wordmark img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav > ul { display: flex; margin: 0; padding: 0; align-items: center; gap: 32px; list-style: none; }
.site-nav > ul > li { position: relative; }
.site-nav > ul > li > a,
.nav-dropdown-toggle { padding-block: 10px; font-size: 0.92rem; font-weight: 600; text-decoration: none; }
.site-nav > ul > li > a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-dropdown-toggle { display: flex; padding-inline: 0; border: 0; align-items: center; gap: 8px; background: transparent; cursor: pointer; }
.nav-dropdown-toggle svg { transition: transform 160ms ease-out; }
.nav-dropdown.is-open .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  z-index: 2;
  top: calc(100% + 17px);
  left: 50%;
  display: grid;
  width: 350px;
  margin: 0;
  padding: 0;
  gap: 0;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 18px 36px rgb(20 18 15 / 12%);
  list-style: none;
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity 150ms ease-out, transform 180ms ease-out, visibility 0s linear 180ms;
  pointer-events: none;
}
.nav-dropdown.is-open .nav-dropdown-menu { visibility: visible; opacity: 1; transform: translate(-50%, 0); transition-delay: 0s; pointer-events: auto; }
.nav-dropdown-menu li + li { border-top: 1px solid var(--line); }
.nav-dropdown-menu li:nth-child(1) { border-left: 5px solid var(--red); }
.nav-dropdown-menu li:nth-child(2) { border-left: 5px solid var(--amber); }
.nav-dropdown-menu li:nth-child(3) { border-left: 5px solid var(--green); }
.nav-dropdown-menu li:nth-child(4) { border-left: 5px solid var(--red); }
.nav-dropdown-menu li:nth-child(5) { border-left: 5px solid var(--amber); }
.nav-dropdown-menu a { display: grid; min-height: 82px; padding: 15px 18px 15px 14px; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 12px; text-decoration: none; }
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible { background: var(--paper-raised); text-decoration: none; }
.nav-dropdown-number { align-self: start; padding-top: 2px; font-family: var(--font-mono); font-size: .68rem; color: var(--ink-soft); }
.nav-dropdown-menu strong { display: block; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.1; }
.nav-dropdown-menu small { display: block; margin-top: 4px; color: var(--ink-soft); font-size: .78rem; }
.header-cta { min-height: 46px; }
.menu-button { position: relative; display: none; width: 46px; height: 46px; padding: 10px; border: 1px solid var(--ink); place-items: center; background: transparent; cursor: pointer; }
.menu-chart-icon { display: flex; width: 24px; height: 19px; justify-content: center; align-items: flex-start; flex-direction: column; gap: 5px; }
.menu-chart-bar { display: block; width: 100%; height: 3px; flex: 0 0 3px; background: var(--ink); transform-origin: center; transition: width 160ms ease-out, opacity 160ms ease-out, transform 160ms ease-out; }
.menu-chart-bar:nth-child(1) { width: 10px; }
.menu-chart-bar:nth-child(2) { width: 17px; }
.menu-button[aria-expanded="true"] .menu-chart-bar:nth-child(1) { width: 24px; transform: translateY(8px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-chart-bar:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] .menu-chart-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.home-hero {
  position: relative;
  z-index: 0;
  display: grid;
  min-height: 620px;
  grid-template-columns: minmax(0, .84fr) minmax(620px, 1.16fr);
  align-items: stretch;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.home-hero-copy {
  display: flex;
  padding: clamp(48px, 6vw, 88px) var(--gutter);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.home-hero h1 { max-width: 34ch; margin-bottom: 24px; font-size: clamp(4rem, 5.5vw, 5.5rem); line-height: .94; }
/* The hairline is heading text, not decoration: it carries the head term the
   rotating word cannot hold, so it must stay visible and inside the H1. */
.hero-h1-hairline { display: block; max-width: 34ch; margin-bottom: 20px; font-family: var(--font-mono); font-size: .78rem; font-weight: 400; line-height: 1.5; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
.hero-h1-lead { display: block; max-width: 10.8ch; }
.rotating-word {
  display: inline-block;
  min-width: 4.55ch;
  color: var(--amber);
  transition: opacity 180ms ease-out, transform 180ms ease-out;
}
.rotating-word::after { content: "."; }
.rotating-word.is-changing { opacity: 0; transform: translateY(.12em); }
.home-hero .lede { margin-bottom: 32px; }
.hero-bars { position: relative; z-index: 0; display: flex; height: 620px; align-items: end; padding-right: var(--gutter); overflow: hidden; }
.hero-bar {
  position: relative;
  display: flex;
  width: 33.333%;
  height: var(--bar-height);
  min-height: 250px;
  padding: 28px 26px;
  color: var(--paper);
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}
.hero-bar.is-visible { animation: bar-slide-up 700ms cubic-bezier(0, 0, .38, .9) both; }
.hero-bar:nth-child(2).is-visible { animation-delay: 100ms; }
.hero-bar:nth-child(3).is-visible { animation-delay: 200ms; }
@keyframes bar-slide-up {
  from { clip-path: inset(100% 0 0); transform: translateY(32px); }
  to { clip-path: inset(0); transform: translateY(0); }
}
@keyframes rail-grow { from { transform: scaleX(.08); } to { transform: scaleX(1); } }
.hero-bar-red { background: linear-gradient(145deg, #c52319, var(--red)); }
.hero-bar-amber { background: linear-gradient(145deg, #f57a00, var(--amber)); }
.hero-bar-green { background: linear-gradient(145deg, #267533, var(--green)); }
.bar-label { font-size: 0.82rem; font-weight: 600; text-transform: uppercase; }
.bar-value { display: block; margin-block: 8px 16px; font-family: var(--font-display); font-size: clamp(4rem, 7vw, 7.25rem); line-height: 1; letter-spacing: -0.05em; }
.bar-copy { padding-top: 18px; border-top: 1px solid rgb(255 255 255 / 70%); font-family: var(--font-mono); font-size: 0.8rem; line-height: 1.45; }
.bar-window { margin-top: auto; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / 70%); }
.bar-window strong { display: block; margin-bottom: 6px; font-family: var(--font-display); font-size: 1.25rem; }

.mechanic-strip { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); scroll-margin-top: 88px; }
.mechanic-step { min-height: 270px; padding: 40px var(--gutter); color: var(--paper); }
.mechanic-step:nth-child(1) { background: var(--red); }
.mechanic-step:nth-child(2) { background: var(--amber); }
.mechanic-step:nth-child(3) { background: var(--green); }
.mechanic-step .step-top { display: flex; margin-bottom: 20px; padding-bottom: 14px; gap: 24px; border-bottom: 1px solid rgb(255 255 255 / 65%); font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; }
.mechanic-step h2 { max-width: 12ch; margin-bottom: 16px; font-size: clamp(2rem, 3vw, 3.4rem); }
.mechanic-step p { max-width: 46ch; font-size: 0.95rem; }

.sector-doors { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); scroll-margin-top: 88px; }
.sector-door {
  display: grid;
  min-height: 220px;
  padding: 48px var(--gutter);
  grid-template-columns: 1fr auto;
  align-items: end;
  text-decoration: none;
  transition: color 150ms ease-out, background 150ms ease-out;
}
.sector-door + .sector-door { border-left: 1px solid var(--line); }
.sector-door:hover { color: var(--paper); background: var(--ink); }
.sector-door h2 { margin-bottom: 10px; font-size: clamp(2.2rem, 4vw, 4rem); }
.sector-door p { max-width: 36ch; margin: 0; }
.door-number { align-self: start; font-family: var(--font-mono); font-size: 0.8rem; }

.split-ledger { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(48px, 8vw, 128px); align-items: start; }
.split-ledger h2 { max-width: 10ch; }
.ledger-row { display: grid; padding-block: 24px; grid-template-columns: 56px 1fr; gap: 20px; border-bottom: 1px solid var(--line); }
.ledger-row:last-child { border-bottom: 0; }
.ledger-row .row-number { font-family: var(--font-mono); color: var(--amber); }
.ledger-row h3 { margin-bottom: 8px; font-size: 1.35rem; letter-spacing: -0.02em; }
.ledger-row p { max-width: 48ch; margin: 0; color: var(--ink-soft); }

.proof-banner { padding-block: clamp(64px, 8vw, 112px); color: var(--paper); background: var(--green); }
.proof-rotator { display: grid; }
.proof-result {
  grid-area: 1 / 1;
  visibility: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 260ms ease-out, transform 260ms ease-out, visibility 0s linear 260ms;
}
.proof-result.is-active {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}
.proof-banner-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: end; }
.proof-number { font-family: var(--font-display); font-size: clamp(6rem, 16vw, 15rem); font-weight: 700; line-height: .78; letter-spacing: -0.07em; }
/* Caption styled as a heading, marked up as a paragraph — see index.njk. */
.proof-title { max-width: 12ch; margin-bottom: 24px; font-family: var(--font-display); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; font-size: clamp(2.4rem, 5vw, 5rem); }
.proof-source { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / 55%); font-family: var(--font-mono); font-size: 0.78rem; }
.proof-rotation-status { display: flex; margin-top: 32px; padding-top: 16px; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid rgb(255 255 255 / 55%); }
.proof-position { font-family: var(--font-mono); font-size: .72rem; }
.proof-rotation-toggle { padding: 8px 10px; border: 1px solid currentColor; color: inherit; background: transparent; font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; cursor: pointer; }
.proof-rotation-toggle:hover { color: var(--green); background: var(--paper); }
.proof-rotation-toggle:focus-visible { outline-color: var(--paper); }

.growth-funnel-section { padding-block: var(--section); overflow: hidden; background: var(--paper-raised); scroll-margin-top: 88px; }
.growth-funnel-header { display: grid; margin-bottom: clamp(56px, 7vw, 96px); grid-template-columns: minmax(180px, .38fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.growth-funnel-header .section-index { margin: 8px 0 0; }
.growth-funnel-header h2 { max-width: 11ch; }
.growth-funnel-header .lede { margin: 0; }
.growth-funnel-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: clamp(48px, 7vw, 112px); align-items: center; }
.funnel-visual { min-width: 0; }
.funnel-stack { position: relative; display: flex; min-height: 560px; padding-block: 24px; align-items: center; justify-content: center; flex-direction: column; gap: 10px; transition: transform 420ms cubic-bezier(.2, .8, .2, 1); }
.funnel-layer { position: relative; z-index: 1; display: grid; width: var(--base-width); min-width: min(100%, 240px); min-height: 88px; padding: 15px 22px; grid-template-columns: 34px minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; column-gap: 12px; border: 1px solid var(--ink); background: var(--paper-raised); transition: width 460ms cubic-bezier(.2, .8, .2, 1), color 220ms ease-out, background-color 220ms ease-out, border-color 220ms ease-out, transform 220ms ease-out; }
.funnel-layer-number { grid-row: 1 / 3; align-self: center; font-family: var(--font-mono); font-size: .68rem; color: var(--ink-soft); }
.funnel-layer strong { min-width: 0; align-self: end; overflow-wrap: anywhere; font-family: var(--font-display); font-size: clamp(1rem, 1.8vw, 1.35rem); line-height: 1.05; letter-spacing: -.02em; }
.funnel-layer small { min-width: 0; max-height: 0; align-self: start; overflow: hidden; opacity: 0; overflow-wrap: anywhere; font-family: var(--font-mono); font-size: .65rem; line-height: 1.35; transition: max-height 260ms ease-out, margin-top 260ms ease-out, opacity 180ms ease-out; }
.funnel-layer.is-expanded { width: var(--expanded-width); background: #f6cb99; }
.funnel-layer.is-expanded small { max-height: 5em; margin-top: 5px; opacity: 1; }
.funnel-layer.is-current { color: var(--ink); background: var(--amber); }
.funnel-layer.is-current .funnel-layer-number { color: inherit; }
.funnel-layer-output { color: var(--paper); border-color: var(--green); background: var(--green); }
.funnel-layer-output small { color: inherit; }
.funnel-analytics-frame { position: absolute; z-index: 0; bottom: 0; left: 50%; display: flex; opacity: 0; transform: translate(-50%, 6px); transition: opacity 260ms ease-out, transform 420ms cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.funnel-analytics-frame span { padding: 5px 8px; color: var(--paper); background: var(--green); font-family: var(--font-mono); font-size: .66rem; text-transform: uppercase; }
.funnel-stack.is-analytics { transform: scale(1.035); }
.funnel-stack.is-analytics .funnel-layer { color: var(--paper); border-color: var(--green); background: var(--green); }
.funnel-stack.is-analytics .funnel-layer-number { color: inherit; }
.funnel-stack.is-analytics .funnel-analytics-frame { opacity: 1; transform: translate(-50%, 0); }
.funnel-explanation { min-width: 0; }
.funnel-narrative { display: grid; min-height: 255px; }
.funnel-phase-copy { grid-area: 1 / 1; visibility: hidden; opacity: 0; transform: translateY(16px); transition: opacity 220ms ease-out, transform 220ms ease-out, visibility 0s linear 220ms; }
.funnel-phase-copy.is-active { visibility: visible; opacity: 1; transform: translateY(0); transition-delay: 0s; }
.funnel-phase-label { margin-bottom: 22px; font-family: var(--font-mono); font-size: .75rem; color: var(--amber); text-transform: uppercase; }
.funnel-phase-copy h3 { max-width: 14ch; font-size: clamp(2rem, 3.8vw, 3.8rem); }
.funnel-phase-copy > p:last-child { max-width: 46ch; margin: 0; color: var(--ink-soft); }
.funnel-stepper { display: grid; margin-top: 40px; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.funnel-stepper button { min-height: 68px; padding: 10px 12px; border: 0; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--paper); font-size: .75rem; font-weight: 600; text-align: left; cursor: pointer; transition: color 150ms ease-out, background-color 150ms ease-out; }
.funnel-stepper button span { display: block; margin-bottom: 4px; font-family: var(--font-mono); font-size: .62rem; font-weight: 400; color: var(--ink-soft); }
.funnel-stepper button:hover { background: #f6cb99; }
.funnel-stepper button.is-active { background: var(--amber); }
.funnel-stepper button.is-active span { color: inherit; }
.funnel-stepper button:last-child.is-active { color: var(--paper); background: var(--green); }
.funnel-playback { display: flex; margin-top: 18px; align-items: center; justify-content: space-between; gap: 20px; font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; }
.funnel-playback button { min-height: 44px; padding: 8px 10px; border: 1px solid var(--ink); background: transparent; font-family: inherit; font-size: inherit; text-transform: inherit; cursor: pointer; }
.funnel-playback button:hover { color: var(--paper); background: var(--ink); }

.testimonial-section { padding-block: clamp(72px, 9vw, 136px); color: var(--paper); background: var(--ink); }
.testimonial-shell { display: grid; grid-template-columns: minmax(150px, .3fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 128px); align-items: start; }
.testimonial-aside { display: flex; min-height: 74px; align-items: flex-start; flex-direction: column; justify-content: space-between; gap: 24px; }
.testimonial-logo-stage { display: grid; width: min(100%, 210px); min-height: 72px; align-items: center; }
.testimonial-client-logo { grid-area: 1 / 1; display: block; width: 100%; max-width: 210px; height: 72px; object-fit: contain; object-position: left center; visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity 220ms ease-out, transform 220ms ease-out, visibility 0s linear 220ms; }
.testimonial-client-logo.is-active { visibility: visible; opacity: 1; transform: translateY(0); transition-delay: 0s; }
.testimonial-main, .testimonial-stage { min-width: 0; }
.testimonial-stage { display: grid; }
.testimonial-card { grid-area: 1 / 1; visibility: hidden; opacity: 0; transform: translateY(18px); transition: opacity 260ms ease-out, transform 260ms ease-out, visibility 0s linear 260ms; }
.testimonial-card.is-active, .testimonial-card-static { visibility: visible; opacity: 1; transform: translateY(0); transition-delay: 0s; }
.testimonial-card blockquote { margin: 0; }
.testimonial-card blockquote p { max-width: 27ch; margin: 0 0 clamp(42px, 6vw, 80px); font-family: var(--font-display); font-size: clamp(2.15rem, 4vw, 4.6rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.testimonial-attribution { display: grid; padding-top: 20px; grid-template-columns: minmax(160px, .7fr) minmax(0, 1fr); gap: 24px; border-top: 1px solid rgb(255 255 255 / 28%); color: #c4bfb6; font-size: .88rem; line-height: 1.5; }
.testimonial-attribution cite { color: var(--paper); font-style: normal; font-weight: 700; }
.testimonial-controls { display: flex; margin-top: 32px; padding-top: 16px; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid rgb(255 255 255 / 28%); font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; }
.testimonial-controls button { padding: 8px 10px; border: 1px solid currentColor; color: inherit; background: transparent; font-family: inherit; font-size: .68rem; text-transform: inherit; cursor: pointer; }
.testimonial-controls button:hover { color: var(--ink); background: var(--paper); }
.testimonial-controls button:focus-visible { outline-color: var(--paper); }

.case-study-summary { padding-block: clamp(64px, 8vw, 112px); color: var(--paper); background: var(--green); }
.case-study-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(48px, 8vw, 120px); align-items: end; }
.case-study-summary h2 { max-width: 11ch; margin: 0; font-size: clamp(2.8rem, 6vw, 6.5rem); }
.case-study-overview > p:first-child { margin: 0; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.45; }
.case-study-source { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / 55%); font-family: var(--font-mono); font-size: .75rem; }
.case-study-metrics { display: grid; margin-top: clamp(56px, 7vw, 96px); grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgb(255 255 255 / 65%); border-bottom: 1px solid rgb(255 255 255 / 65%); }
.case-study-metric { display: flex; min-height: 230px; padding: 30px; justify-content: flex-end; flex-direction: column; }
.case-study-metric + .case-study-metric { border-left: 1px solid rgb(255 255 255 / 45%); }
.case-study-metric strong { margin-bottom: 18px; font-family: var(--font-display); font-size: clamp(4rem, 8vw, 8.5rem); font-weight: 700; line-height: .8; letter-spacing: -.07em; }
.case-study-metric span { font-size: 1.05rem; font-weight: 600; }
.case-study-metric small { margin-top: 7px; font-family: var(--font-mono); font-size: .72rem; }

.page-hero { padding-block: clamp(72px, 8vw, 124px) 56px; }
.page-hero-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 64px; align-items: end; }
.page-hero h1 { max-width: 9ch; margin-bottom: 24px; font-size: clamp(4rem, 8vw, 8.5rem); }
.page-hero-aside { padding-top: 20px; }
.page-hero-aside p { font-size: 1.125rem; color: var(--ink-soft); }

.data-rails { padding-bottom: clamp(48px, 6vw, 88px); overflow: hidden; }
.data-rail {
  display: flex;
  width: var(--rail-size);
  min-width: min(100%, 500px);
  min-height: 58px;
  margin-bottom: 14px;
  padding: 12px var(--gutter);
  color: var(--paper);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transform-origin: left;
}
.data-rail.is-visible { animation: rail-grow 760ms cubic-bezier(0, 0, .38, .9) both; }
.data-rail:nth-child(2).is-visible { animation-delay: 90ms; }
.data-rail:nth-child(3).is-visible { animation-delay: 180ms; }
.data-rail-red { background: var(--red); }
.data-rail-amber { background: var(--amber); }
.data-rail-green { background: var(--green); }
.data-rail-inner { display: flex; min-width: 0; flex: 1 1 auto; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; white-space: nowrap; }
.data-rail-label { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 500; text-transform: uppercase; }
.data-rail-detail { font-size: 0.9rem; }
.data-rail strong { flex: 0 0 auto; margin-left: auto; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.6rem); line-height: 1; }

.service-rail-source { margin-top: calc(clamp(48px, 6vw, 88px) * -1); padding-bottom: clamp(48px, 6vw, 88px); }
/* Adjacent services presented as one connected growth system, not a link grid. */
.service-cross-intro h2 { max-width: 13ch; }
.service-cross-intro .lede { max-width: 34ch; }
.service-cross-list { margin: 0; padding: 0; list-style: none; }
.service-cross-list li { border-bottom: 1px solid var(--line); }
.service-cross-list li:first-child { border-top: 1px solid var(--line); }
.service-cross-list a {
  display: grid;
  padding: 24px 0;
  grid-template-columns: minmax(170px, .65fr) minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  color: inherit;
  text-decoration: none;
}
.service-cross-label {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.15;
  transition: color 180ms ease-out;
}
.service-cross-note { color: var(--ink-soft); font-size: .95rem; line-height: 1.5; }
.service-cross-arrow {
  font-size: 1.35rem;
  line-height: 1;
  transition: color 180ms ease-out, transform 180ms ease-out;
}
.service-cross-list a:hover .service-cross-label,
.service-cross-list a:focus-visible .service-cross-label,
.service-cross-list a:hover .service-cross-arrow,
.service-cross-list a:focus-visible .service-cross-arrow { color: var(--green); }
.service-cross-list a:hover .service-cross-arrow,
.service-cross-list a:focus-visible .service-cross-arrow { transform: translateX(4px); }
.service-rail-source p { max-width: 90ch; margin: 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-soft); font-family: var(--font-mono); font-size: .7rem; line-height: 1.6; }

.services-table { border-top: 0; }
.service-line {
  display: grid;
  padding: 30px 0;
  grid-template-columns: 80px 1fr .9fr;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}
.service-line:last-child { border-bottom: 0; }
.service-line .line-number { font-family: var(--font-mono); color: var(--amber); }
.service-line h3 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.7rem); }
.service-line p { margin: 0; color: var(--ink-soft); }

.cadence { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.cadence-step { min-height: 220px; padding: 30px; }
.cadence-step + .cadence-step { border-left: 1px solid var(--line); }
.cadence-step strong { display: block; margin-bottom: 42px; font-family: var(--font-display); font-size: 3rem; color: var(--amber); }
.cadence-step h3 { font-size: 1.35rem; }
.cadence-step p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

.article-index { border-top: 0; }
.article-row {
  display: grid;
  padding: 36px 0;
  grid-template-columns: 76px 1fr minmax(180px, .45fr);
  gap: 32px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding-inline 180ms ease-out, background 180ms ease-out;
}
.article-row:hover { padding-inline: 20px; background: var(--paper-raised); }
.article-row:last-child { border-bottom: 0; }
.article-number { font-family: var(--font-mono); color: var(--amber); }
.article-row h2 { margin-bottom: 12px; font-size: clamp(2rem, 4vw, 4rem); }
.article-row p { margin: 0; color: var(--ink-soft); }
.article-meta { display: flex; justify-content: space-between; gap: 20px; font-family: var(--font-mono); font-size: 0.75rem; }

.related-articles-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 48px;
}
.related-articles-header h2 { max-width: 12ch; margin-bottom: 0; }
.related-articles-header .text-link { margin-bottom: 8px; }
.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.related-article-card {
  display: flex;
  min-width: 0;
  padding: 0 32px 8px 0;
  flex-direction: column;
  text-decoration: none;
}
.related-article-card + .related-article-card {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}
.related-article-meta {
  display: flex;
  gap: 18px;
  align-items: baseline;
  margin-bottom: 28px;
}
.related-article-meta .meta { text-transform: uppercase; }
.related-article-card h3 { font-size: clamp(1.7rem, 2.7vw, 2.8rem); }
.related-article-card p { color: var(--ink-soft); }
.related-article-link {
  margin-top: auto;
  padding-top: 20px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: color 180ms ease-out;
}
.related-article-card:hover .related-article-link { color: var(--amber); }

.topic-rail { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.topic-cell { min-height: 160px; padding: 32px var(--gutter); }
.topic-cell + .topic-cell { border-left: 1px solid var(--line); }
.topic-cell.is-featured { color: var(--paper); background: var(--amber); }
.topic-cell .meta { margin-bottom: 36px; color: inherit; }
.topic-cell h3 { margin: 0; font-size: clamp(1.7rem, 3vw, 3rem); }
.topic-rotating-word { min-width: 0; min-height: 2.04em; }
.topic-rotating-word::after { content: none; }

.team-section { color: var(--paper); background: var(--ink); }
.team-section .section-index { color: #a39d92; }
.team-section-header {
  display: grid;
  margin-bottom: 56px;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .7fr);
  gap: clamp(32px, 8vw, 112px);
  align-items: end;
}
.team-section-header h2 { max-width: 11ch; margin-bottom: 0; }
.team-section-header .lede { margin-bottom: 4px; color: #c4bfb6; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-block: 1px solid rgb(255 255 255 / 22%); }
.team-profile { padding-block: 48px; }
.team-profile + .team-profile { padding-left: 48px; border-left: 1px solid rgb(255 255 255 / 22%); }
.team-profile-role { margin-bottom: 16px; font-family: var(--font-mono); font-size: .76rem; color: #a39d92; text-transform: uppercase; }
.team-profile h3 { margin-bottom: 24px; font-size: clamp(2rem, 3.6vw, 3.6rem); }
.team-profile-bio { max-width: 52ch; margin-bottom: 24px; color: #d6d2cb; line-height: 1.65; }
.team-profile-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.team-profile-links a {
  padding-bottom: 4px;
  border-bottom: 1px solid rgb(255 255 255 / 55%);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: .76rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease;
}
.team-profile-links a:hover,
.team-profile-links a:focus-visible { border-color: #ee9639; color: #ee9639; }

.ai-team-section { background: var(--paper-soft); }
.ai-team-header {
  display: grid;
  margin-bottom: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
  gap: clamp(32px, 8vw, 112px);
  align-items: end;
}
.ai-team-header h2 { max-width: 12ch; margin-bottom: 0; }
.ai-team-header .lede { margin-bottom: 4px; }
.ai-team-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: .76rem;
  text-transform: uppercase;
}
.ai-team-flow span { padding: 16px 20px; }
.ai-team-flow span + span { border-left: 1px solid var(--ink); }
.ai-team-flow span:nth-child(2) { color: var(--paper); background: var(--amber); }
.ai-team-flow span:nth-child(3) { color: var(--paper); background: var(--green); }
.ai-agent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.ai-agent {
  display: flex;
  min-height: 330px;
  padding: 32px;
  flex-direction: column;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.ai-agent-code,
.ai-agent-role,
.ai-agent-reviewer {
  font-family: var(--font-mono);
  font-size: .74rem;
  text-transform: uppercase;
}
.ai-agent-code { margin-bottom: 32px; color: var(--amber); }
.ai-agent h3 { margin-bottom: 8px; font-size: clamp(2.4rem, 4vw, 4.2rem); }
.ai-agent-role { margin-bottom: 28px; color: var(--ink-soft); }
.ai-agent > p:not([class]) { max-width: 36ch; color: var(--ink-soft); }
.ai-agent-reviewer { margin: auto 0 0; padding-top: 22px; border-top: 1px solid var(--line); }

.article-hero { padding-block: clamp(72px, 8vw, 124px); border-bottom: 1px solid var(--line); }
.article-hero h1 { width: 75%; max-width: none; margin-block: 20px 36px; font-size: clamp(3.5rem, 7.2vw, 7.5rem); }
.article-byline { display: flex; flex-wrap: wrap; gap: 12px 40px; font-family: var(--font-mono); font-size: 0.78rem; }
/* AI is the production method, not a co-author: the disclosure sits beside the byline, one weight down. */
.byline-method { flex-basis: 100%; order: 1; color: var(--ink-soft); }
.article-layout { display: grid; padding-block: clamp(64px, 8vw, 112px); grid-template-columns: minmax(0, 260px) minmax(0, 720px); gap: clamp(48px, 8vw, 120px); justify-content: center; }
.article-aside { position: sticky; top: 120px; align-self: start; display: flex; flex-direction: column; max-height: calc(100vh - 240px); }
.article-aside .aside-number { margin-bottom: 16px; font-family: var(--font-display); font-size: 5.5rem; font-weight: 700; line-height: 1; color: var(--amber); letter-spacing: -0.06em; }
.article-summary > p { margin: 0; padding-top: 16px; border-top: 1px solid var(--ink); color: var(--ink-soft); font-size: .9rem; }
.article-toc { display: flex; flex-direction: column; min-height: 0; margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--ink); }
.toc-title { margin: 0 0 8px; font-family: var(--font-mono); font-size: .72rem; color: var(--ink-soft); text-transform: uppercase; }
.toc-toggle { display: none; }
.toc-list { min-height: 0; margin: 0; padding: 0; overflow-y: auto; list-style: none; scrollbar-width: thin; }
.toc-list a { display: block; padding: 9px 8px 9px 14px; border-left: 2px solid var(--line); color: var(--ink-soft); font-size: .82rem; line-height: 1.35; text-decoration: none; transition: color 150ms ease-out, border-color 150ms ease-out; }
.toc-list a:hover { color: var(--ink); border-left-color: var(--ink); }
.toc-list a[aria-current="true"] { color: var(--ink); border-left-color: var(--amber); font-weight: 600; }
.prose { font-size: 1.08rem; }
.prose > p:first-child { font-size: 1.4rem; line-height: 1.42; }
.prose h2 { margin-top: 72px; margin-bottom: 24px; scroll-margin-top: 128px; font-size: clamp(2rem, 4vw, 3.7rem); }
.prose h3 { margin-top: 48px; font-size: 1.7rem; }
.prose ul, .prose ol { margin: 0 0 28px; padding-left: 24px; }
.prose li { margin-bottom: 10px; }
.prose code {
  padding: 0.12em 0.34em;
  color: var(--ink);
  background: #e4dfd6;
  border-radius: var(--radius);
  box-decoration-break: clone;
  font-family: var(--font-mono);
  font-size: 0.92em;
  -webkit-box-decoration-break: clone;
}
.prose blockquote { margin: 56px 0; padding: 28px 0 28px 28px; border-left: 6px solid var(--amber); font-family: var(--font-display); font-size: 1.8rem; line-height: 1.2; }

/* Prose tables. Ledger Grid: hairline rules, mono figures, no vertical borders.
   Wide tables scroll inside .table-scroll so the page body never scrolls sideways. */
.table-scroll { overflow-x: auto; max-width: 100%; margin: 0 0 32px; -webkit-overflow-scrolling: touch; }
/* .prose is a grid item; without this it defaults to min-width:auto and a wide
   table blows the whole page out sideways instead of scrolling inside its wrapper. */
.prose { min-width: 0; }
.table-scroll table { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 0 0 32px; }
.prose thead th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  padding: 0 16px 10px 0;
  border-bottom: 1px solid var(--ink);
  white-space: nowrap;
}
.prose tbody td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose tbody td:first-child { font-family: var(--font-mono); color: var(--ink-soft); white-space: nowrap; }
.prose tbody td:last-child { padding-right: 0; }
.prose table strong { font-weight: 600; }
/* Setup-checklist tables: the Type and Month-one columns hold short fixed values
   ("One-off", "Ongoing") that must not break across lines. Scoped, because the
   prose comparison tables elsewhere need their cells to wrap normally. */
.checklist-table td:nth-child(3),
.checklist-table td:nth-child(5),
.checklist-table th:nth-child(3),
.checklist-table th:nth-child(5) { white-space: nowrap; }
.checklist-table td:nth-child(5) { text-align: center; }

/* Month-one tick in the setup checklist */
.prose tbody td span[aria-label] { color: var(--amber); font-weight: 600; }

@media (max-width: 700px) {
  .prose table { font-size: 0.88rem; min-width: 34rem; }
  .prose thead th, .prose tbody td { padding-right: 12px; }
}
.article-metric { margin: 56px 0; padding: 32px; color: var(--paper); background: var(--green); }
.article-metric strong { display: block; margin-bottom: 12px; font-family: var(--font-display); font-size: clamp(4rem, 10vw, 7rem); line-height: 1; letter-spacing: -0.05em; }

.article-sticky-cta {
  position: fixed;
  z-index: 18;
  right: 50%;
  bottom: 20px;
  display: grid;
  width: min(calc(100% - 40px), 1040px);
  min-height: 88px;
  padding: 16px 62px 16px 22px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 28px;
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 18px 50px rgb(20 18 15 / 24%);
  opacity: 0;
  transform: translate(50%, calc(100% + 44px));
  transition: opacity 220ms ease-out, transform 280ms cubic-bezier(.2, .8, .2, 1);
  pointer-events: none;
}
.article-sticky-cta.is-visible { opacity: 1; transform: translate(50%, 0); pointer-events: auto; }
.article-sticky-kicker { margin: 0; font-family: var(--font-mono); font-size: .68rem; color: #c4bfb6; text-transform: uppercase; }
.article-sticky-copy { margin: 0; color: #d8d4cd; font-size: .9rem; line-height: 1.35; }
.article-sticky-copy strong { color: var(--paper); }
.article-sticky-cta .button { min-height: 48px; white-space: nowrap; }
.article-sticky-close { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; padding: 0; border: 0; color: var(--paper); background: transparent; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.article-sticky-close:hover { color: var(--ink); background: var(--paper); }
.article-sticky-cta:focus-within { outline: 2px solid var(--paper); outline-offset: 3px; }

.contact-hero { display: grid; min-height: calc(100vh - 88px); grid-template-columns: .9fr 1.1fr; }
.contact-intro { display: flex; padding: clamp(72px, 8vw, 120px) var(--gutter); flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); }
.contact-intro h1 { max-width: 10ch; font-size: clamp(3.75rem, 6.25vw, 6.75rem); }
.contact-intro .lede { margin-top: 24px; }
.audit-scope { display: grid; margin-top: 64px; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.audit-scope div { padding: 18px 12px 0 0; }
.audit-scope div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.audit-scope strong { display: block; margin-bottom: 6px; font-family: var(--font-display); font-size: 1.6rem; color: var(--amber); }
.audit-scope span { font-size: .8rem; color: var(--ink-soft); }
.audit-scope div { opacity: .48; transition: opacity 180ms ease-out; }
.audit-scope div.is-active, .audit-scope div.is-complete { opacity: 1; }
.audit-scope div.is-complete strong { color: var(--green); }
.contact-panel { padding: clamp(72px, 8vw, 120px) var(--gutter); background: var(--paper-raised); }
.contact-panel h2 { max-width: 10ch; font-size: clamp(2.4rem, 4vw, 4.2rem); }
.contact-form { margin-top: 36px; }
.form-progress { display: grid; margin-bottom: 34px; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.form-progress span { height: 4px; background: var(--line); transition: background-color 180ms ease-out; }
.form-progress span.is-active { background: var(--amber); }
.form-progress span.is-complete { background: var(--green); }
.form-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.contact-form:not(.is-multistep) .form-step + .form-step { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }
.form-step > legend { width: 100%; margin-bottom: 10px; font-family: var(--font-display); font-size: clamp(1.7rem, 2.7vw, 2.6rem); line-height: 1; }
.form-step-copy { max-width: 52ch; margin: 0 0 28px; color: var(--ink-soft); }
.form-step-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; color: var(--ink); background: transparent; }
.field textarea { min-height: 110px; resize: vertical; }
.consent-field { margin-top: 4px; }
.consent-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: .8rem; font-weight: 400; line-height: 1.45; }
.consent-checkbox input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--green); }
.consent-checkbox a { text-underline-offset: 3px; }
.service-choices { margin: 34px 0 0; padding: 0; border: 0; }
.service-choices legend { margin-bottom: 6px; font-size: .82rem; font-weight: 600; }
.service-choices .form-step-copy { margin-bottom: 14px; font-size: .82rem; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice-option { display: flex; min-height: 56px; padding: 12px 14px; border: 1px solid var(--line); align-items: center; gap: 10px; background: var(--paper); cursor: pointer; transition: border-color 160ms ease-out, background-color 160ms ease-out; }
.choice-option:hover, .choice-option:focus-within { border-color: var(--ink); }
.choice-option:has(input:checked) { border-color: var(--green); background: rgb(41 111 55 / 8%); }
.choice-option input { width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--green); }
.choice-option span { font-size: .82rem; line-height: 1.25; }
.form-nav { display: flex; margin-top: 32px; align-items: center; gap: 12px; }
.contact-form button { cursor: pointer; }
.contact-form button:disabled { opacity: .6; cursor: default; }
.contact-form.is-complete .form-progress, .contact-form.is-complete .form-step { display: none; }
.form-success, .form-error { grid-column: 1 / -1; margin: 0; padding: 16px; background: var(--paper); }
.form-success { border: 1px solid var(--green); color: var(--green); }
.form-error { border: 1px solid var(--red); color: var(--red); }

.close-band { padding-block: clamp(64px, 8vw, 104px); color: var(--ink); background: var(--amber); }
.close-band-inner { display: grid; grid-template-columns: .35fr 1fr auto; gap: 48px; align-items: end; }
.close-band .section-index { color: var(--ink); }
.close-band h2 { max-width: 10ch; margin-bottom: 16px; }
.close-band p { max-width: 50ch; }

.logo-strip {
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
  border-block: 1px solid rgb(255 255 255 / 22%);
}
.logo-strip-heading {
  display: flex;
  padding-block: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgb(255 255 255 / 22%);
}
.logo-strip-heading .meta {
  margin: 0;
  color: #c4bfb6;
  text-transform: uppercase;
}
.logo-strip-window { overflow: hidden; }
.logo-strip-track {
  display: flex;
  width: max-content;
  animation: logo-strip-scroll 38s linear infinite;
}
.logo-strip-set {
  display: flex;
  padding-right: 64px;
  align-items: center;
  gap: 64px;
}
.logo-strip-item {
  display: grid;
  width: clamp(140px, 14vw, 210px);
  height: 116px;
  padding: 26px 8px;
  place-items: center;
}
.logo-strip-item img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 62px;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
}
.logo-strip:hover .logo-strip-track,
.logo-strip:focus-within .logo-strip-track { animation-play-state: paused; }

@keyframes logo-strip-scroll {
  to { transform: translateX(-50%); }
}

.site-footer { padding-block: 64px 32px; color: var(--paper-soft); background: var(--ink); }
.footer-lead { display: flex; padding-bottom: 56px; align-items: end; justify-content: space-between; gap: 32px; border-bottom: 1px solid rgb(255 255 255 / 22%); }
.footer-wordmark { display: flex; width: clamp(176px, 18vw, 224px); align-items: center; }
.footer-wordmark img { width: 100%; height: auto; }
.footer-lead .footer-rotating-copy { width: min(100%, 22ch); margin: 0; flex-shrink: 0; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1; color: var(--paper); }
.footer-rotating-copy > [aria-hidden="true"] { white-space: nowrap; }
.footer-rotating-copy .rotating-word { min-width: 0; color: #ee9639; }
.footer-grid { display: grid; padding-block: 48px; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-grid div { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid a { margin-bottom: 8px; text-decoration: none; }
.footer-grid a:hover { color: #ee9639; }
.footer-label { margin-bottom: 18px; font-family: var(--font-mono); font-size: .72rem; color: #a39d92; text-transform: uppercase; }
.footer-base { display: flex; padding-top: 24px; justify-content: space-between; gap: 20px; border-top: 1px solid rgb(255 255 255 / 22%); font-family: var(--font-mono); font-size: .7rem; color: #c4bfb6; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 18px; }
.footer-legal a { text-underline-offset: 3px; }
.footer-legal button { padding: 0; border: 0; color: inherit; background: transparent; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer-legal a:hover,
.footer-legal button:hover { color: var(--paper); }

.consent-banner {
  position: fixed;
  z-index: 60;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: grid;
  width: min(calc(100% - 40px), 1080px);
  margin-inline: auto;
  padding: 20px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px 32px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid rgb(255 255 255 / 32%);
  box-shadow: 0 18px 50px rgb(20 18 15 / 28%);
}
.consent-banner[hidden] { display: none; }
.consent-title { margin-bottom: 4px; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.consent-banner p:last-child { max-width: 68ch; margin-bottom: 0; color: #d8d4cd; font-size: .84rem; }
.consent-banner a { color: var(--paper); text-underline-offset: 3px; }
.consent-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.consent-banner .button-outline { color: var(--paper); border-color: rgb(255 255 255 / 70%); }
.consent-banner .button-outline:hover { color: var(--ink); background: var(--paper); }

@media (max-width: 1023px) {
  .menu-button { display: grid; }
  .site-nav {
    position: absolute;
    top: 88px;
    right: 0;
    left: 0;
    display: none;
    padding: 24px var(--gutter) 32px;
    align-items: stretch;
    flex-direction: column;
    background: var(--paper);
    border-bottom: 1px solid var(--ink);
  }
  .site-nav.is-open { display: flex; }
  .site-nav > ul { width: 100%; align-items: stretch; flex-direction: column; gap: 6px; }
  .site-nav > ul > li > a,
  .nav-dropdown-toggle { display: flex; width: 100%; padding-block: 10px; }
  .nav-dropdown-toggle { justify-content: space-between; }
  .site-nav .nav-dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    margin: 2px 0 10px;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
    pointer-events: auto;
  }
  .site-nav .nav-dropdown.is-open .nav-dropdown-menu { display: grid; transform: none; }
  .header-cta { align-self: flex-start; }
  .home-hero { min-height: auto; grid-template-columns: 1fr; }
  .home-hero-copy { min-height: 400px; padding-block: 40px; }
  .hero-bars { height: 470px; padding-left: var(--gutter); }
  .hero-bar { padding: 22px 18px; }
  .mechanic-strip { grid-template-columns: 1fr; }
  .mechanic-step { min-height: auto; }
  .page-hero-grid, .proof-banner-grid, .split-ledger, .contact-hero { grid-template-columns: 1fr; }
  .page-hero h1 { max-width: 15ch; }
  .mechanic-step h2,
  .split-ledger h2,
  .proof-title,
  .growth-funnel-header h2,
  .funnel-phase-copy h3,
  .case-study-summary h2,
  .related-articles-header h2,
  .team-section-header h2,
  .ai-team-header h2,
  .contact-intro h1,
  .contact-panel h2,
  .close-band h2 { max-width: none; }
  .topic-rail { grid-template-columns: repeat(2, 1fr); }
  .topic-cell:nth-child(odd) { border-left: 0; }
  .topic-cell:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .ai-team-header { grid-template-columns: 1fr; gap: 20px; }
  .ai-agent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .data-rail-inner { white-space: normal; }
  .data-rail-detail { line-height: 1.25; }
  .growth-funnel-header { grid-template-columns: 1fr; gap: 24px; }
  .growth-funnel-layout { grid-template-columns: 1fr; }
  .page-hero-aside { max-width: 500px; }
  .contact-intro { border-right: 0; border-bottom: 1px solid var(--line); }
  .related-articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-article-card:nth-child(odd) { padding-left: 0; border-left: 0; }
  .related-article-card:nth-child(n + 3) { padding-top: 32px; border-top: 1px solid var(--line); }
  .related-article-card:last-child:nth-child(odd) { grid-column: 1 / -1; padding-right: 0; }
  .close-band-inner { grid-template-columns: 1fr; }
  .close-band .button { justify-self: start; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; }
  .header-inner { min-height: 72px; }
  .site-nav { top: 72px; }
  h1 { font-size: clamp(3.25rem, 17vw, 5.4rem); }
  .contact-intro h1 { font-size: clamp(3.25rem, 14vw, 4.75rem); }
  .home-hero-copy { min-height: auto; padding-block: 40px 48px; }
  .service-cross-list a { grid-template-columns: 1fr auto; gap: 10px 20px; }
  .service-cross-note { grid-column: 1 / -1; }
  .mechanic-strip { scroll-margin-top: 72px; }
  .hero-bars { display: block; height: auto; padding: 0; }
  .hero-bar {
    width: var(--mobile-width);
    height: auto;
    min-height: 190px;
  }
  .hero-bar + .hero-bar { margin-top: 0; }
  .hero-bar .bar-value { font-size: 4.5rem; }
  .bar-window { margin-top: 30px; }
  .sector-doors { grid-template-columns: 1fr; }
  .sector-door + .sector-door { border-top: 1px solid var(--line); border-left: 0; }
  .sector-door { min-height: 190px; }
  .proof-banner-grid { gap: 48px; }
  .growth-funnel-section { scroll-margin-top: 72px; }
  .growth-funnel-header { margin-bottom: 48px; }
  .growth-funnel-header h2 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
  .growth-funnel-layout { gap: 48px; }
  .testimonial-shell { grid-template-columns: 1fr; gap: 36px; }
  .testimonial-aside { min-height: 0; flex-direction: row; align-items: end; }
  .testimonial-logo-stage { min-height: 58px; }
  .testimonial-client-logo { max-width: 180px; height: 58px; }
  .testimonial-card blockquote p { max-width: none; font-size: clamp(2rem, 9vw, 3rem); }
  .testimonial-attribution { grid-template-columns: 1fr; gap: 6px; }
  .funnel-visual { margin-inline: 0; }
  .funnel-stack { min-height: 470px; padding-block: 28px; gap: 8px; }
  .funnel-layer { min-width: min(100%, 220px); min-height: 70px; padding: 10px 12px; grid-template-columns: 25px minmax(0, 1fr); column-gap: 6px; }
  .funnel-layer strong { font-size: clamp(.78rem, 3.7vw, 1rem); }
  .funnel-layer small { font-size: clamp(.52rem, 2.55vw, .65rem); }
  .funnel-analytics-frame { bottom: 8px; }
  .funnel-stack.is-analytics { transform: scale(1.015); }
  .funnel-narrative { min-height: 270px; }
  .funnel-phase-copy h3 { max-width: 13ch; }
  .funnel-stepper { grid-template-columns: 1fr 1fr; }
  .funnel-stepper button { min-height: 62px; }
  .case-study-intro { grid-template-columns: 1fr; }
  .case-study-metrics { grid-template-columns: 1fr; }
  .case-study-metric { min-height: 190px; padding-inline: 0; }
  .case-study-metric + .case-study-metric { border-top: 1px solid rgb(255 255 255 / 45%); border-left: 0; }
  .data-rail { min-width: 0; padding-inline: 18px; }
  .data-rail-inner { display: block; overflow: hidden; }
  .data-rail-detail { display: block; overflow: hidden; font-size: .78rem; text-overflow: ellipsis; }
  .service-line { grid-template-columns: 44px 1fr; gap: 18px; }
  .service-line p { grid-column: 2; }
  .cadence { grid-template-columns: 1fr 1fr; }
  .cadence-step:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
  .cadence-step:nth-child(4) { border-top: 1px solid var(--line); }
  .article-row { grid-template-columns: 40px 1fr; gap: 16px; }
  .article-meta { grid-column: 2; }
  .related-articles-header { grid-template-columns: 1fr; margin-bottom: 32px; }
  .related-articles-header .text-link { justify-self: start; margin-bottom: 0; }
  .related-articles-grid { grid-template-columns: 1fr; }
  .related-article-card,
  .related-article-card:last-child:nth-child(odd) { grid-column: auto; padding: 28px 0; }
  .related-article-card:first-child { padding-top: 0; }
  .related-article-card + .related-article-card { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .topic-rail { grid-template-columns: 1fr; }
  .topic-cell + .topic-cell { border-top: 1px solid var(--line); border-left: 0; }
  .team-section-header { grid-template-columns: 1fr; gap: 20px; }
  .team-grid { grid-template-columns: 1fr; }
  .team-profile { padding-block: 36px; }
  .team-profile + .team-profile { padding-left: 0; border-top: 1px solid rgb(255 255 255 / 22%); border-left: 0; }
  .ai-team-flow { grid-template-columns: 1fr; }
  .ai-team-flow span + span { border-top: 1px solid var(--ink); border-left: 0; }
  .ai-agent-grid { grid-template-columns: 1fr; }
  .ai-agent { min-height: 290px; padding: 28px 24px; }
  .article-layout { padding-top: 0; grid-template-columns: 1fr; gap: 48px; }
  .article-hero h1 { width: 100%; }
  .article-sticky-cta { right: 12px; bottom: 12px; left: 12px; width: auto; min-height: 0; padding: 14px 48px 14px 16px; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; transform: translateY(calc(100% + 28px)); }
  .article-sticky-cta.is-visible { transform: translateY(0); }
  .article-sticky-kicker { display: none; }
  .article-sticky-copy { font-size: .78rem; }
  .article-sticky-copy strong { display: block; margin-bottom: 2px; }
  .article-sticky-cta .button { min-height: 46px; padding-inline: 14px; font-size: .82rem; }
  .article-sticky-close { top: 5px; right: 7px; width: 30px; height: 30px; }
  .article-aside { position: sticky; z-index: 14; top: 72px; display: block; width: calc(100% + (2 * var(--gutter))); min-width: 0; max-height: none; margin-inline: calc(-1 * var(--gutter)); align-self: start; background: var(--paper); }
  .article-summary { display: none; }
  .article-toc { position: relative; display: block; margin: 0; padding: 0; border-top: 0; border-bottom: 1px solid var(--line); }
  .toc-title { display: none; }
  .toc-toggle { display: flex; width: 100%; min-height: 68px; padding: 10px 20px; border: 0; align-items: flex-start; justify-content: center; flex-direction: column; gap: 3px; text-align: left; background: var(--paper); cursor: pointer; }
  .toc-toggle-label { font-family: var(--font-mono); font-size: .68rem; color: var(--ink-soft); text-transform: uppercase; }
  .toc-current { display: block; width: 100%; overflow: hidden; font-size: .88rem; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
  .toc-list { position: absolute; top: 100%; right: 0; left: 0; display: none; max-height: min(60vh, 440px); padding: 10px 20px 18px; overflow-y: auto; background: var(--paper); border-bottom: 1px solid var(--ink); }
  .article-toc.is-open .toc-list { display: block; }
  .toc-list a { padding-block: 11px; font-size: .88rem; }
  .prose h2 { scroll-margin-top: 164px; }
  .form-step-grid, .choice-grid { grid-template-columns: 1fr; }
  .field-full, .form-success, .form-error { grid-column: auto; }
  .audit-scope { grid-template-columns: 1fr; }
  .audit-scope div + div { padding-left: 0; border-left: 0; }
  .logo-strip-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .logo-strip-set { padding-right: 40px; gap: 40px; }
  .logo-strip-item { width: 150px; height: 96px; padding-block: 22px; }
  .footer-lead { align-items: start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-base { align-items: flex-start; flex-direction: column; }
  .footer-legal { justify-content: flex-start; }
  .consent-banner { right: 12px; bottom: 12px; left: 12px; width: auto; padding: 16px; grid-template-columns: 1fr; gap: 14px; }
  .consent-actions { justify-content: flex-start; }
  .consent-actions .button { width: 100%; }
}

@media (max-width: 640px) {
  .article-sticky-detail { display: none; }
  .article-sticky-copy strong { margin-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  ::view-transition-group(root),
  ::view-transition-image-pair(root),
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none !important; }
  .hero-bar, .data-rail { transform: none !important; animation: none !important; }
  .rotating-word { transition: none; }
  .proof-result { transform: none; transition: none; }
  .testimonial-card, .testimonial-client-logo { transform: none; transition: none; }
  .funnel-stack, .funnel-layer, .funnel-phase-copy, .funnel-analytics-frame { transform: none !important; transition: none; }
  .article-sticky-cta { transition: none; }
  .logo-strip-window { overflow-x: auto; }
  .logo-strip-track { animation: none; }
  .logo-strip-set[aria-hidden="true"] { display: none; }
}

.answer-capsule { border: 1px solid var(--line); border-left: 3px solid var(--amber); background: var(--paper-soft); padding: 20px 24px; margin: 0 0 32px; }
.answer-capsule .capsule-label { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); margin: 0 0 8px; }
.answer-capsule p:last-child { margin: 0; font-size: 1.02rem; line-height: 1.55; }
