/*
Theme Name: KCP Consulting
Theme URI: https://kcpconsult.com
Author: KCP Consulting
Description: Editorial finance theme for KCP Consulting — outsourced CFO practice. Mono palette, Source Serif 4 display type, five page templates.
Version: 1.0.0
License: Proprietary
Text Domain: kcp
*/

/* ============================================================
   KCP Consulting — Shared editorial design system
   ============================================================ */


:root {
  /* Color — Mono (default): black ink, white paper, grey accent */
  --ink: #111111;
  --ink-deep: #000000;
  --ink-soft: rgba(17, 17, 17, 0.7);
  --ink-mute: rgba(17, 17, 17, 0.45);
  --paper: #FFFFFF;
  --paper-2: #F4F4F4;
  --paper-3: #FAFAFA;
  --rule: rgba(17, 17, 17, 0.16);
  --rule-soft: rgba(17, 17, 17, 0.08);
  --accent: #6B6B6B;
  --accent-soft: rgba(107, 107, 107, 0.14);

  /* Type */
  --font-display: "Source Serif 4", "Newsreader", Georgia, serif;
  --font-body: "Geist", "Inter Tight", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Scale */
  --u: 8px;
  --max-w: 1320px;
  --gutter: clamp(24px, 4vw, 64px);

  /* Density */
  --section-y: clamp(80px, 10vw, 160px);
  --block-y: clamp(40px, 5vw, 72px);

  /* Type scale — editorial */
  --t-hero: clamp(56px, 8.5vw, 132px);
  --t-display: clamp(44px, 6vw, 88px);
  --t-h1: clamp(36px, 4.6vw, 64px);
  --t-h2: clamp(28px, 3.2vw, 44px);
  --t-h3: clamp(22px, 2vw, 28px);
  --t-lede: clamp(19px, 1.5vw, 24px);
  --t-body: 17px;
  --t-small: 14px;
  --t-eyebrow: 12px;
}

/* Color themes — applied via [data-theme] */
[data-theme="navy"] {
  --ink: #0B1F3A;
  --ink-deep: #060F1E;
  --ink-soft: rgba(11, 31, 58, 0.72);
  --ink-mute: rgba(11, 31, 58, 0.48);
  --paper: #F2EBDD;
  --paper-2: #EAE2D1;
  --paper-3: #F8F3E7;
  --rule: rgba(11, 31, 58, 0.18);
  --rule-soft: rgba(11, 31, 58, 0.08);
  --accent: #A8854B;
  --accent-soft: rgba(168, 133, 75, 0.16);
}
[data-theme="ink"] {
  --ink: #0A0A0A;
  --ink-deep: #000000;
  --ink-soft: rgba(10, 10, 10, 0.72);
  --ink-mute: rgba(10, 10, 10, 0.48);
  --paper: #FBFAF7;
  --paper-2: #F3F1EC;
  --paper-3: #FFFFFF;
  --rule: rgba(10, 10, 10, 0.18);
  --rule-soft: rgba(10, 10, 10, 0.08);
  --accent: #8B6B3D;
  --accent-soft: rgba(139, 107, 61, 0.14);
}
[data-theme="warm"] {
  --ink: #3B2A1B;
  --ink-deep: #261A0F;
  --ink-soft: rgba(59, 42, 27, 0.72);
  --ink-mute: rgba(59, 42, 27, 0.5);
  --paper: #EFE5D2;
  --paper-2: #E5DAC2;
  --paper-3: #F6EFDD;
  --rule: rgba(59, 42, 27, 0.2);
  --rule-soft: rgba(59, 42, 27, 0.08);
  --accent: #8B5A2B;
  --accent-soft: rgba(139, 90, 43, 0.14);
}
[data-theme="mono"] {
  /* identical to root — kept as a no-op selector for tweak-panel symmetry */
  --ink: #111111;
  --ink-deep: #000000;
  --paper: #FFFFFF;
  --paper-2: #F4F4F4;
  --paper-3: #FAFAFA;
  --rule: rgba(17, 17, 17, 0.16);
  --rule-soft: rgba(17, 17, 17, 0.08);
  --accent: #6B6B6B;
  --accent-soft: rgba(107, 107, 107, 0.14);
}

/* Headline font themes */
[data-headline="sans"] {
  --font-display: "Inter Tight", "Geist", -apple-system, sans-serif;
}

/* Density */
[data-density="compact"] {
  --section-y: clamp(56px, 6vw, 96px);
  --block-y: clamp(28px, 3vw, 48px);
  --u: 6px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }

/* Container */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.wrap-narrow {
  max-width: 980px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Type */
.display, h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 400;
}
.lede {
  font-size: var(--t-lede);
  line-height: 1.45;
  color: var(--ink-soft);
  font-weight: 300;
  text-wrap: pretty;
  font-family: var(--font-display);
  font-style: italic;
  letter-spacing: -0.005em;
}
p { margin: 0 0 1em; color: var(--ink-soft); text-wrap: pretty; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--paper) 88%, var(--ink) 4%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.nav-mark {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.nav-mark .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  transform: translateY(-2px);
}
.nav-mark small {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink-mute);
  font-weight: 500;
}
.nav-links {
  display: flex;
  gap: 36px;
  justify-content: center;
}
.nav-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color .25s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--ink); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--accent);
}
.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: all .25s ease;
}
.nav-cta:hover { background: var(--ink); color: var(--paper); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  color: var(--paper);
  background: var(--ink);
  border-radius: 999px;
  transition: all .3s ease;
  cursor: pointer;
}
.btn:hover { background: var(--ink-deep); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn .arrow {
  width: 14px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: width .3s ease;
}
.btn .arrow::after {
  content: "";
  position: absolute;
  right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .arrow { width: 22px; }

/* Section heading pattern */
.section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  position: relative;
}
.section + .section { padding-top: 0; }
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: var(--block-y);
}
@media (min-width: 900px) {
  .section-head.split { grid-template-columns: 1fr 2fr; gap: 64px; align-items: end; }
}
.chapter {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.chapter::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

/* Rule lines */
.rule { height: 1px; background: var(--rule); width: 100%; }
.rule-accent { height: 1px; background: var(--accent); width: 56px; }

/* Cards / panels */
.card {
  background: var(--paper-3);
  border: 1px solid var(--rule-soft);
  padding: 36px 32px;
  transition: all .3s ease;
}
.card:hover { border-color: var(--rule); }

/* Footer */
.footer {
  margin-top: var(--section-y);
  border-top: 1px solid var(--rule);
  background: var(--ink);
  color: color-mix(in oklab, var(--paper) 90%, transparent);
  padding: 72px 0 32px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
.footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--paper) 60%, transparent);
  font-weight: 400;
  margin-bottom: 18px;
}
.footer a { color: color-mix(in oklab, var(--paper) 88%, transparent); display: block; padding: 4px 0; font-size: 15px; }
.footer a:hover { color: var(--paper); }
.footer-mark {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--paper);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-bottom {
  max-width: var(--max-w);
  margin: 64px auto 0;
  padding: 24px var(--gutter) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--paper) 60%, transparent);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-rule {
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s cubic-bezier(.65,0,.35,1);
}
.reveal-rule.visible { transform: scaleX(1); }

/* Number ticker */
.tick {
  font-family: var(--font-display);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

/* Section grid for service lists */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (min-width: 700px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 860px) { .service-grid.three { grid-template-columns: 1fr 1fr 1fr; } }
.service-cell {
  background: var(--paper);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: background .3s ease;
}
.service-cell:hover { background: var(--paper-3); }
.service-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
}
.service-title {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}
.service-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-list li {
  font-size: 15px;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
  line-height: 1.4;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 8px; height: 1px;
  background: var(--accent);
}

/* Utility */
.center { text-align: center; }
.muted { color: var(--ink-mute); }
.serif { font-family: var(--font-display); }
.mono { font-family: var(--font-mono); }
.accent { color: var(--accent); }

/* Mobile nav */
@media (max-width: 760px) {
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
}

/* Homepage-specific styles */

/* ========== HERO ========== */
.hero { 
  padding: clamp(72px, 9vw, 140px) 0 clamp(72px, 8vw, 120px);
  position: relative;
  overflow: hidden;
}
.hero-eyebrow {
  margin-bottom: 32px;
  text-align: center;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: var(--t-hero);
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-align: center;
  font-weight: 400;
  margin: 0 auto;
  max-width: 16ch;
  color: var(--ink);
  text-wrap: balance;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.hero-amp {
  font-style: italic;
  color: var(--ink-mute);
  font-weight: 300;
}
.hero-lede {
  text-align: center;
  max-width: 640px;
  margin: 36px auto 0;
}
.hero-cta {
  margin-top: 44px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Split hero */
.hero-split { padding-bottom: 80px; }
.hero-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: end;
}
@media (min-width: 980px) {
  .hero-split-grid { grid-template-columns: 1.4fr 1fr; gap: 96px; }
}
.hero-split .hero-headline { text-align: left; margin: 0; max-width: none; font-size: clamp(48px, 6.6vw, 104px); }
.hero-split .hero-lede { text-align: left; margin: 32px 0 0; }
.hero-split .hero-cta { justify-content: flex-start; }
.hero-split .chapter { margin-bottom: 24px; }

.hero-aside {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}
.hero-detail {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.detail-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-soft);
  align-items: baseline;
}
.detail-row:last-child { border-bottom: 0; }
.detail-row .mono {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.detail-row .serif {
  font-size: 18px;
  color: var(--ink);
}

/* Full-bleed hero */
.hero-full { 
  min-height: clamp(560px, 80vh, 820px); 
  padding: clamp(72px, 9vw, 120px) 0;
  display: flex;
  align-items: center;
  position: relative;
}
.hero-full-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}
.hero-full-bg span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(280px, 50vw, 700px);
  color: var(--ink);
  opacity: 0.05;
  letter-spacing: -0.05em;
  line-height: 0.8;
}
.hero-full-content { position: relative; z-index: 1; }
.hero-headline-xl {
  font-family: var(--font-display);
  font-size: clamp(72px, 11vw, 180px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin: 16px 0 0;
  text-wrap: balance;
}
.hero-headline-xl em {
  font-style: italic;
  color: var(--accent);
}

/* Marquee */
.marquee {
  margin-top: clamp(72px, 9vw, 120px);
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 24px 0;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 50s linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.marquee-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}

/* ========== POSITIONING ========== */
.section-positioning .section-head { margin-bottom: 80px; }
.positioning-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 880px) { .positioning-grid { grid-template-columns: 1fr 1fr 1fr; } }
.positioning-cell {
  background: var(--paper);
  padding: 56px 36px 64px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.positioning-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 24px;
}
.positioning-cell h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.012em;
  margin: 0 0 8px;
  max-width: 14ch;
}
.positioning-cell p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* ========== STATS ========== */
.section-stats { padding-top: 0; padding-bottom: 0; }
.section-stats .wrap { padding-top: 24px; padding-bottom: 24px; }
.stats-rule { height: 1px; background: var(--rule); width: 100%; }
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  padding: clamp(40px, 5vw, 64px) 0;
  gap: 32px;
}
@media (min-width: 700px) { .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 32px;
  border-left: 1px solid var(--rule-soft);
}
.stat:first-child { padding-left: 0; border-left: 0; }
@media (max-width: 699px) { .stat { padding: 0; border-left: 0; } }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.025em;
  font-weight: 400;
  color: var(--ink);
}
.stat-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  max-width: 18ch;
}

/* ========== SERVICES preview ========== */
.section-services .service-grid { margin-top: 16px; }
.services-cta {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

/* ========== EXIT READINESS (dark) ========== */
.section-exit {
  background: var(--ink);
  color: color-mix(in oklab, var(--paper) 92%, transparent);
  margin-top: 0;
  padding-top: clamp(96px, 11vw, 160px);
  padding-bottom: clamp(96px, 11vw, 160px);
}
.exit-wrap { color: inherit; }
.exit-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.024em;
  color: var(--paper);
  margin: 32px 0 56px;
  max-width: 14ch;
  font-weight: 400;
}
.exit-headline em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.exit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}
@media (min-width: 900px) {
  .exit-grid { grid-template-columns: 1.6fr 1fr; gap: 96px; }
}
.exit-lede {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.5;
  font-weight: 300;
  color: color-mix(in oklab, var(--paper) 82%, transparent);
  margin: 0 0 1.2em;
  text-wrap: pretty;
}
.exit-checklist {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(242,235,221,0.12);
  padding: 32px 32px 36px;
}
.exit-checklist h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 400;
  margin-bottom: 20px;
}
.exit-checklist ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.exit-checklist li {
  font-family: var(--font-display);
  font-size: 19px;
  color: color-mix(in oklab, var(--paper) 90%, transparent);
  padding-left: 26px;
  position: relative;
}
.exit-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 14px;
}

/* ========== INDUSTRIES ========== */
.industries-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (min-width: 880px) { .industries-grid { grid-template-columns: 1fr 1fr 1fr; } }
.industry {
  background: var(--paper);
  padding: 56px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.industry-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 56px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}
.industry h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.18;
  margin: 0 0 4px;
}
.industry p {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0 0 24px;
  flex: 1;
}
.industry-foot {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ========== CLIENTS ========== */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
}
@media (min-width: 640px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .logo-wall { grid-template-columns: repeat(4, 1fr); } }
.logo-cell {
  background: var(--paper);
  box-shadow: 0 0 0 0.5px var(--rule);
  padding: 36px 24px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  transition: background .3s ease;
  position: relative;
}
.logo-cell:hover { background: var(--paper-3); }
.logo-glyph {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 32px;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo-name {
  font-size: 14px;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.25;
  max-width: 16ch;
}

/* ========== TEAM TEASER ========== */
.team-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 24px;
}
@media (min-width: 640px) { .team-row { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .team-row { grid-template-columns: repeat(6, 1fr); } }
.team-card { display: flex; flex-direction: column; gap: 14px; }
.team-photo {
  aspect-ratio: 3 / 4;
  background: linear-gradient(180deg, var(--paper-2), var(--paper-3));
  border: 1px solid var(--rule-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.team-photo span.serif {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 56px;
  color: var(--ink-mute);
  letter-spacing: -0.02em;
}
.team-fpo {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  background: var(--paper-3);
  padding: 4px 8px;
  border: 1px solid var(--rule-soft);
}
.team-name {
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.team-role {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: start;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 96px; }
}
.contact-cta {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.contact-card {
  background: var(--paper-3);
  border: 1px solid var(--rule);
  padding: 40px 36px;
}
.contact-address, .contact-phone, .contact-email {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.3;
  margin-top: 10px;
  color: var(--ink);
}
.contact-email { font-size: 18px; }

/* Shared page-hero + sub-page styles */

.page-hero {
  padding: clamp(72px, 9vw, 140px) 0 clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--rule);
}
.page-hero .chapter { margin-bottom: 32px; }
.page-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 400;
  max-width: 18ch;
  margin: 0;
  text-wrap: balance;
}
.page-hero-headline em { font-style: italic; color: var(--accent); font-weight: 400; }
.page-hero-lede { max-width: 760px; margin: 36px 0 0; }

/* ========== Service pillar layout ========== */
.pillar { padding-top: clamp(72px, 8vw, 120px); padding-bottom: clamp(72px, 8vw, 120px); }
.pillar-dark { 
  background: var(--ink); 
  color: color-mix(in oklab, var(--paper) 90%, transparent);
}
.pillar-dark .pillar-title,
.pillar-dark .pillar-list-text { color: var(--paper); }
.pillar-dark .pillar-lede { color: color-mix(in oklab, var(--paper) 78%, transparent); }
.pillar-dark .chapter { color: color-mix(in oklab, var(--paper) 60%, transparent); }
.pillar-dark .pillar-num { color: var(--accent); }
.pillar-dark .pillar-list-num { color: color-mix(in oklab, var(--paper) 50%, transparent); }
.pillar-dark .pillar-list li { border-bottom-color: rgba(242,235,221,0.12); }
.pillar-dark .pillar-meta-rule { background: rgba(242,235,221,0.2); }

.pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}
@media (min-width: 980px) {
  .pillar-grid { grid-template-columns: 1fr 1.2fr; gap: 96px; }
}
.pillar-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin: 16px 0 24px;
  max-width: 14ch;
}
.pillar-title em { font-style: italic; color: var(--accent); font-weight: 400; }
.pillar-lede { max-width: 56ch; }
.pillar-meta {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-top: 40px;
}
.pillar-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 48px;
  color: var(--accent);
  line-height: 1;
}
.pillar-meta-rule {
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.pillar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--rule);
}
.pillar-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule-soft);
  align-items: baseline;
}
.pillar-list-num {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
}
.pillar-list-text {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.35;
  color: var(--ink);
}

/* Engagement steps */
.section-engagement { padding-top: clamp(72px, 8vw, 120px); }
.engagement-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--rule);
}
.engagement-item {
  display: grid;
  grid-template-columns: 80px 220px 1fr;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
@media (max-width: 760px) {
  .engagement-item { grid-template-columns: 1fr; gap: 8px; }
}
.engagement-num {
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--accent);
}
.engagement-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.4vw, 36px);
  letter-spacing: -0.015em;
  color: var(--ink);
}
.engagement-desc {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
}

/* CTA band */
.section-cta-band { padding-top: 0; padding-bottom: clamp(80px, 9vw, 120px); }
.cta-band {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(48px, 6vw, 88px) clamp(24px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
}
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }
.cta-band .display {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  margin-top: 12px;
}
.cta-band .display em { font-style: italic; color: var(--accent); }

/* ========== TEAM page ========== */
.team-grid-full {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px 48px;
}
@media (min-width: 640px) { .team-grid-full { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .team-grid-full { grid-template-columns: repeat(3, 1fr); } }
.team-full {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.team-full .team-photo { aspect-ratio: 4 / 5; }
.team-full .team-name { font-size: 24px; }
.team-full-bio {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-top: 4px;
  max-width: 38ch;
}
.team-contact {
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--rule-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.team-contact a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  transition: color .2s ease;
}
.team-contact a:hover { color: var(--accent); }

/* Founder block */
.founder-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: clamp(64px, 8vw, 120px);
  padding-bottom: clamp(64px, 8vw, 120px);
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 880px) {
  .founder-block { grid-template-columns: 1fr 1.4fr; gap: 96px; }
}
.founder-photo {
  aspect-ratio: 4 / 5;
  background: linear-gradient(180deg, var(--paper-2), var(--paper-3));
  border: 1px solid var(--rule-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.founder-photo .serif {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 96px;
  color: var(--ink-mute);
}
.founder-name {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
}
.founder-role {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 14px;
}
.founder-bio {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.5;
  font-weight: 300;
  color: var(--ink);
  margin-top: 32px;
  max-width: 56ch;
}

/* ========== CLIENTS page ========== */
.clients-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.filter-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .25s ease;
}
.filter-pill:hover { border-color: var(--ink); color: var(--ink); }
.filter-pill.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.client-detail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding: 56px 0;
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  margin-top: 24px;
}
@media (min-width: 900px) { .client-detail { grid-template-columns: repeat(5, 1fr); } }
.client-detail-stat {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.client-detail-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 8px;
}

/* ========== CONTACT page ========== */
.contact-page {
  padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 9vw, 120px);
}
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}
@media (min-width: 980px) {
  .contact-page-grid { grid-template-columns: 1.1fr 1fr; gap: 96px; }
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.contact-field input,
.contact-field select,
.contact-field textarea {
  font-family: var(--font-display);
  font-size: 20px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 8px 0 12px;
  color: var(--ink);
  outline: none;
  transition: border-color .25s ease;
  width: 100%;
}
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus { border-bottom-color: var(--accent); }
.contact-field textarea { resize: vertical; min-height: 120px; font-family: var(--font-body); font-size: 16px; line-height: 1.55; }
.contact-form-submit { margin-top: 16px; align-self: flex-start; }

.contact-page-side {
  background: var(--paper-3);
  border: 1px solid var(--rule);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contact-side-block { display: flex; flex-direction: column; gap: 6px; }
.contact-side-block .mono {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
}
.contact-side-block .serif {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  line-height: 1.3;
}

.contact-success {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  padding: 16px 20px;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink);
  margin-top: 16px;
}

/* ---- Theme additions ---- */
@media (min-width: 1200px) { .team-row { grid-template-columns: repeat(7, 1fr); } }
.logo-cell[hidden] { display: none; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: var(--paper); padding: 12px 18px; z-index: 999; }

/* Customizer-driven photos: keep monogram + image behaviour identical in both slots */
.founder-photo img, .team-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.founder-photo .team-fpo { position: absolute; bottom: 10px; left: 10px; font-size: 9px; letter-spacing: 0.22em; color: var(--ink-mute); background: var(--paper-3); padding: 4px 8px; border: 1px solid var(--rule-soft); }
.founder-photo { position: relative; }
/* Custom logo in the nav, if one is uploaded */
.nav-mark .custom-logo-link { display: inline-flex; align-items: center; }
.nav-mark .custom-logo { max-height: 40px; width: auto; }

/* Real client logos */
.logo-cell .logo-img { display: flex; align-items: center; justify-content: center; width: 100%; height: 56px; margin-bottom: 4px; }
.logo-cell .logo-img img { max-width: 78%; max-height: 56px; width: auto; height: auto; object-fit: contain; filter: grayscale(100%); opacity: .85; transition: filter .3s ease, opacity .3s ease; }
.logo-cell:hover .logo-img img { filter: grayscale(0%); opacity: 1; }
.logo-meta { font-size: 9px; letter-spacing: 0.22em; color: var(--ink-mute); margin-top: 6px; }

/* Honeypot — visually gone, still focusable by bots */
.kcp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Form error banner */
.contact-error { border: 1px solid var(--ink); background: var(--paper-2); padding: 14px 18px; font-family: var(--font-body); font-size: 15px; color: var(--ink); margin-bottom: 28px; }

/* Turnstile widget spacing */
.cf-turnstile { margin-top: 8px; }

/* ---- Headline scale: reduced across all pages ---- */
:root {
	--t-hero: clamp(38px, 5.2vw, 82px);
	--t-display: clamp(30px, 3.9vw, 58px);
	--t-h1: clamp(30px, 3.6vw, 50px);
	--t-h2: clamp(25px, 2.7vw, 38px);
}
.hero-headline { font-size: clamp(38px, 5.2vw, 82px); max-width: 20ch; }
.hero-split .hero-headline { font-size: clamp(36px, 4.6vw, 68px); }
.hero-headline-xl { font-size: clamp(52px, 7.4vw, 118px); }
.page-hero-headline { font-size: clamp(34px, 4.4vw, 68px); }
.exit-headline { font-size: clamp(36px, 4.6vw, 72px); }
.pillar-title { font-size: clamp(29px, 3.2vw, 46px); }
.founder-name { font-size: clamp(30px, 3.4vw, 46px); }
.stat-num { font-size: clamp(40px, 4.4vw, 62px); }
.cta-band .display { font-size: clamp(30px, 3.4vw, 52px); }
.engagement-title { font-size: clamp(22px, 2vw, 30px); }
.positioning-cell h3 { font-size: clamp(21px, 2vw, 27px); }
.industry h3 { font-size: clamp(20px, 1.9vw, 25px); }
.client-detail-stat { font-size: clamp(30px, 3.2vw, 46px); }

/* PHOTO placeholder badge removed */
.team-fpo { display: none; }

/* ---- Contact page: tighter, smaller ---- */
.contact-field input, .contact-field select { font-size: 17px; padding: 6px 0 10px; }
.contact-field textarea { font-size: 15px; }
.contact-field label { font-size: 10px; }
.contact-form { gap: 20px; }
.contact-page-side { padding: 32px; gap: 24px; }
.contact-side-block .serif { font-size: 18px; }
.contact-side-block .mono { font-size: 10px; }
.contact-address, .contact-phone { font-size: 19px; }
.contact-email { font-size: 16px; }
.contact-card { padding: 32px 28px; }

/* ---- Clickable client cells ---- */
a.logo-cell { text-decoration: none; color: inherit; }
a.logo-cell.is-link { cursor: pointer; }
a.logo-cell.is-link:hover { background: var(--paper-3); }
a.logo-cell.is-link:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.logo-link-cue { position: absolute; top: 12px; right: 14px; font-size: 12px; color: var(--ink-mute); opacity: 0; transition: opacity .25s ease; }
a.logo-cell.is-link:hover .logo-link-cue { opacity: 1; }

/* ---- Hero text runs the full page width ---- */
.hero-headline { max-width: none; width: 100%; text-wrap: balance; }
.hero-centered .hero-headline { padding: 0; }
.hero-lede { max-width: 78ch; }
.page-hero-headline { max-width: none; }
.page-hero-lede { max-width: 88ch; }
.exit-headline { max-width: none; }
.pillar-title { max-width: 22ch; }
.positioning-cell h3 { max-width: 20ch; }

/* ---- Tighten the gap around the marquee and the section after it ---- */
.marquee { margin-top: clamp(40px, 4.5vw, 64px); padding: 18px 0; }
.hero { padding-bottom: 0; }
.hero-centered { padding-bottom: 0; }
.section-positioning { padding-top: clamp(48px, 5.5vw, 88px); }
.section-positioning .section-head { margin-bottom: clamp(40px, 4.5vw, 64px); }

/* ---- Marquee visible on first paint: tighter hero top + CTA gap ---- */
.hero { padding-top: clamp(40px, 4.5vw, 68px); }
.hero-eyebrow { margin-bottom: 20px; }
.hero-lede { margin-top: 24px; }
.hero-cta { margin-top: 28px; }
.marquee { margin-top: clamp(28px, 3vw, 44px); }

/* ---- Space above the marquee matches the nav-to-headline gap ---- */
.marquee { margin-top: clamp(40px, 4.5vw, 68px); }

/* ---- Stats strip heading ---- */
.stats-head { padding-top: clamp(36px, 4vw, 56px); }
.stats-head .chapter { margin-bottom: 12px; }
.stats-head-title { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 36px); letter-spacing: -0.015em; line-height: 1.1; margin: 0; color: var(--ink); }
.section-stats .stats-grid { padding-top: clamp(32px, 3.5vw, 48px); }

/* ---- First screen: hero fills exactly one viewport, marquee pinned to its base ----
   svh = "small viewport height", which accounts for mobile browser toolbars.
   Only applies on screens tall enough to hold the content comfortably. */
@media (min-height: 620px) {
	.hero-centered {
		min-height: calc(100svh - var(--nav-h, 79px));
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding-top: clamp(28px, 3vw, 48px);
		padding-bottom: 0;
	}
	.hero-centered .marquee { margin-top: auto; }
}

/* ============================================================
   OXFORD NAVY on white — active palette
   ============================================================ */
:root {
	--ink: #0E1B2A;
	--ink-deep: #060E18;
	--ink-soft: rgba(14, 27, 42, .72);
	--ink-mute: rgba(14, 27, 42, .46);
	--paper: #FFFFFF;
	--paper-2: #F2F5F7;
	--paper-3: #FAFBFC;
	--rule: rgba(14, 27, 42, .16);
	--rule-soft: rgba(14, 27, 42, .08);
	--accent: #2F5D7C;
	--accent-soft: rgba(47, 93, 124, .12);
	--band: #EEF1F4;
	--accent-on-dark: #7BA4C4;
}

/* Banner uses the tinted band rather than a translucent mix */
.nav { background: color-mix(in oklab, var(--band) 94%, transparent); border-bottom: 1px solid var(--rule); }

/* On the navy sections the accent needs to lift off the background */
.section-exit .chapter span:first-child,
.exit-checklist h4 { color: var(--accent-on-dark); }
.exit-headline em,
.exit-checklist li::before,
.pillar-dark .pillar-title em,
.pillar-dark .pillar-num { color: var(--accent-on-dark); }
.section-exit .chapter > span[style] { background: var(--accent-on-dark) !important; }

.footer h4 { color: var(--accent-on-dark); }

/* Links inherit the palette */
a { color: inherit; }
.wrap a:not(.btn):not(.nav-link):not(.nav-mark):not(.logo-cell):not(.nav-cta):hover { color: var(--accent); }

/* ---- Deeper PE navy ---- */
:root {
	--ink: #0A1628;
	--ink-deep: #050B14;
	--ink-soft: rgba(10, 22, 40, .74);
	--ink-mute: rgba(10, 22, 40, .48);
	--paper-2: #EFF2F6;
	--paper-3: #F9FAFC;
	--rule: rgba(10, 22, 40, .17);
	--rule-soft: rgba(10, 22, 40, .08);
	--accent: #1B3F63;
	--accent-soft: rgba(27, 63, 99, .12);
	--band: #E9EEF3;
	--accent-on-dark: #6E9BC0;
}

/* ============================================================
   Structured rhythm: section labels alternate sides, content boxed
   ============================================================ */
@media (min-width: 900px) {
	.section-head.split.flip { grid-template-columns: 2fr 1fr; }
	.section-head.split.flip > div:first-child { order: 2; }
	.section-head.split.flip > div:last-child { order: 1; }
	.section-head.split.flip .chapter { justify-content: flex-end; }
	.section-head.split.flip .chapter::before { order: 2; }
}

/* A bordered container so each block reads as its own unit */
.boxed {
	border: 1px solid var(--rule);
	background: var(--paper);
	padding: clamp(24px, 3vw, 44px);
}
.boxed-grid {
	border: 1px solid var(--rule);
	background: var(--paper);
	padding: clamp(28px, 3.2vw, 48px) clamp(24px, 3vw, 40px);
}
.section-stats .boxed-grid { margin-bottom: 8px; }
.section-stats .stats-rule { display: none; }
.team-row.boxed { gap: clamp(24px, 3vw, 36px) clamp(20px, 2.4vw, 28px); }

/* Numbered section labels sit on a hairline so the sequence reads as a spine */
.chapter { align-items: baseline; }
.section-head.split > div:first-child { position: relative; }

/* ============================================================
   Section heads follow the "By the numbers" pattern everywhere:
   small label directly above the heading, left aligned, full width
   ============================================================ */
.section-head.split,
.section-head.split.flip {
	grid-template-columns: 1fr !important;
	gap: 0 !important;
	align-items: start !important;
}
.section-head.split > div:first-child,
.section-head.split.flip > div:first-child { order: 1 !important; }
.section-head.split > div:last-child,
.section-head.split.flip > div:last-child { order: 2 !important; }
.section-head.split .chapter,
.section-head.split.flip .chapter { justify-content: flex-start !important; margin-bottom: 12px; }
.section-head.split.flip .chapter::before { order: 0 !important; }
.section-head .display,
.section-head h2 { max-width: 34ch; }
.section-head .lede { margin-top: 18px; }

/* Undo the boxed containers — back to open grids with hairlines */
.boxed, .boxed-grid { border: 0; padding: 0; background: transparent; }
.section-stats .stats-rule { display: block; }
.section-stats .boxed-grid { margin-bottom: 0; padding: clamp(40px, 5vw, 64px) 0; }
.team-row.boxed { gap: 32px 24px; }

/* ---- Section headings run the full container width ---- */
.section-head .display,
.section-head h2 { max-width: none; }
.section-positioning .section-head h2 { max-width: none; }
.section-head .lede { max-width: 88ch; }

/* ---- More air above the section label, less below the intro ---- */
.section-services { padding-top: clamp(64px, 7vw, 108px); }
.section-services .section-head { margin-bottom: clamp(22px, 2.4vw, 32px); }
.section-services .section-head .lede { margin-top: 14px; }
.section-clients { padding-top: clamp(64px, 7vw, 108px); }
.section-clients .section-head { margin-bottom: clamp(22px, 2.4vw, 32px); }
.section-team { padding-top: clamp(64px, 7vw, 108px); }
.section-team .section-head { margin-bottom: clamp(22px, 2.4vw, 32px); }
.section-team .section-head .lede { margin-top: 14px; }

/* ---- Card headings hold one line ---- */
.positioning-cell h3 {
	max-width: none;
	font-size: clamp(19px, 1.75vw, 26px);
	white-space: nowrap;
}
@media (max-width: 880px) {
	.positioning-cell h3 { white-space: normal; }
}

/* ---- One heading size for every section, matching "The practice, measured." ---- */
.section-head .display,
.section-head h2,
.stats-head-title,
.section-positioning .section-head h2,
.section-services .section-head .display,
.section-clients .section-head .display,
.section-team .section-head .display,
.section-contact .section-head .display,
.section-contact .display {
	font-size: clamp(24px, 2.6vw, 36px) !important;
	line-height: 1.14 !important;
	letter-spacing: -.015em;
}

/* Intro paragraphs share one size too */
.section-head .lede,
.section-services .section-head .lede,
.section-team .section-head .lede,
.section-contact .lede {
	font-size: 16px !important;
	line-height: 1.55;
	font-family: var(--font-body) !important;
	font-style: normal !important;
	color: var(--ink-soft);
}

/* ---- Headings fill the measure instead of leaving a ragged gap ---- */
.section-head .display,
.section-head h2,
.stats-head-title { text-wrap: pretty; }

/* Practice heading: let it use the full width so the right side isn't empty */
.section-positioning .section-head h2 {
	max-width: none;
	font-size: clamp(24px, 2.9vw, 40px) !important;
	line-height: 1.12 !important;
}
.section-positioning .section-head { margin-bottom: clamp(30px, 3.2vw, 44px); }

/* Practice heading matches the others exactly — width alone fixes the rag */
.section-positioning .section-head h2 {
	font-size: clamp(24px, 2.6vw, 36px) !important;
	line-height: 1.14 !important;
}

/* ---- Tighter, matched gaps between sections ---- */
/* Space between the Practice cards and the numbers strip */
.section-positioning { padding-bottom: clamp(28px, 3vw, 44px); }
.section-stats .wrap { padding-top: 0; padding-bottom: 0; }
.section-stats .boxed-grid { padding: clamp(28px, 3.2vw, 44px) 0; }

/* Space below the "See the full scope" button matches the gap above it */
.services-cta { margin-top: clamp(28px, 3.2vw, 44px); margin-bottom: 0; }
.section-services { padding-bottom: clamp(48px, 5.5vw, 80px); }

/* Dark band starts right after, with balanced internal padding */
.section-exit { padding-top: clamp(64px, 7vw, 104px); padding-bottom: clamp(64px, 7vw, 104px); }

/* ---- Numbers strip: single-line labels; more room above the Services label ---- */
.stat-lbl { max-width: none; white-space: nowrap; }
@media (max-width: 880px) { .stat-lbl { white-space: normal; } }

.section-services { padding-top: clamp(52px, 6vw, 88px); }

/* ---- One divider only between Practice and the numbers strip ---- */
.positioning-grid { border-bottom: 0; }
.section-stats .stats-rule:first-of-type { display: block; }

/* Breathing room under the divider before the § BY THE NUMBERS label */
.section-stats .stats-head { padding-top: clamp(30px, 3.4vw, 48px); }

/* Services label sits clear of the rule above it */
.section-services { padding-top: clamp(30px, 3.4vw, 48px); }
.section-services .section-head { padding-top: 0; }

/* ---- B (Services label) matches A's distance from its rule ---- */
.section-services { padding-top: 0; }
.section-services .section-head { padding-top: clamp(30px, 3.4vw, 48px); }

/* ---- Exit Readiness label sits the same distance from the band edge ---- */
.section-exit { padding-top: clamp(30px, 3.4vw, 48px); }
.section-exit .exit-wrap > .chapter { padding-top: clamp(30px, 3.4vw, 48px); }
.exit-headline { margin-top: 22px; }

/* Remove the stray duplicate rule before the label */
.section-exit .chapter span[style] { display: inline-block; }
.section-exit .chapter::before { display: none; }

/* ---- Clients label matches the same distance from its rule ---- */
.section-clients { padding-top: 0; border-top: 1px solid var(--rule); }
.section-clients .section-head { padding-top: clamp(30px, 3.4vw, 48px); }

/* ---- Dark band: legible contrast ---- */
.section-exit .chapter,
.section-exit .chapter span { color: #FFFFFF !important; }
.exit-headline { color: #FFFFFF !important; }
.exit-headline em { color: #FFFFFF !important; font-style: italic; }
.exit-checklist h4 { color: #FFFFFF !important; }
.exit-checklist li { color: #FFFFFF; }
.exit-checklist li::before { color: #FFFFFF; }
.exit-lede { color: rgba(255,255,255,.88); }
.pillar-dark .pillar-title,
.pillar-dark .pillar-title em,
.pillar-dark .chapter,
.pillar-dark .pillar-list-text { color: #FFFFFF !important; }
.pillar-dark .pillar-lede { color: rgba(255,255,255,.86); }
.pillar-dark .pillar-list-num,
.pillar-dark .pillar-num { color: rgba(255,255,255,.7) !important; }

/* ============================================================
   Full-measure page heroes + responsive polish across breakpoints
   ============================================================ */

/* Page hero headlines fill the container instead of leaving a void */
.page-hero-headline {
	max-width: none;
	width: 100%;
	font-size: clamp(30px, 4vw, 58px);
	line-height: 1.08;
	text-wrap: balance;
}
.page-hero-lede {
	max-width: none;
	width: min(100%, 92ch);
	font-size: clamp(16px, 1.15vw, 19px);
	line-height: 1.55;
	font-family: var(--font-body);
	font-style: normal;
	color: var(--ink-soft);
}
.page-hero { padding-bottom: clamp(36px, 4vw, 64px); }

/* Pillar copy uses the full column */
.pillar-title { max-width: none; }
.pillar-lede { max-width: none; }
.engagement-desc { max-width: none; }
.founder-bio { max-width: none; }
.team-full-bio { max-width: none; }

/* ---- Large desktop: wider measure, no wasted margin ---- */
@media (min-width: 1500px) {
	:root { --max-w: 1480px; }
}

/* ---- Tablet ---- */
@media (max-width: 1024px) {
	.page-hero-headline { font-size: clamp(28px, 5vw, 44px); }
	.engagement-item { grid-template-columns: 64px 1fr; }
	.engagement-item .engagement-desc { grid-column: 2; }
}

/* ---- Phone ---- */
@media (max-width: 760px) {
	:root { --gutter: 20px; }
	.hero-headline { font-size: clamp(30px, 8.4vw, 44px); }
	.hero-lede { font-size: 16px; }
	.hero-cta { flex-direction: column; align-items: stretch; gap: 10px; }
	.hero-cta .btn { justify-content: center; }
	.page-hero-headline { font-size: clamp(26px, 7.6vw, 36px); }
	.section-head .display,
	.section-head h2,
	.stats-head-title { font-size: 22px !important; }
	.marquee-item { font-size: 17px; gap: 30px; }
	.marquee-track { gap: 30px; }
	.stat-num { font-size: 38px; }
	.exit-headline { font-size: clamp(28px, 8vw, 40px) !important; }
	.exit-checklist li { font-size: 16px; }
	.pillar-list li { grid-template-columns: 34px 1fr; gap: 10px; }
	.pillar-list-text { font-size: 16px; }
	.contact-page-grid > div:first-child > form > div[style*="grid-template-columns:1fr 1fr"],
	.contact-form > div[style] { grid-template-columns: 1fr !important; }
	.cta-band { padding: 32px 20px; }
	.footer-inner { grid-template-columns: 1fr; gap: 32px; }
	.footer-bottom { flex-direction: column; gap: 8px; }
	.client-detail { grid-template-columns: 1fr 1fr; gap: 24px; }
	.clients-filter { gap: 6px; }
	.filter-pill { padding: 8px 13px; font-size: 10px; }
}

/* ---- Touch targets never below 44px ---- */
@media (hover: none) {
	.nav-link, .filter-pill, .btn, .nav-cta { min-height: 44px; display: inline-flex; align-items: center; }
}

/* ---- Presence: crisper rules, deliberate hover states ---- */
.btn { transition: background .25s ease, color .25s ease, transform .25s ease; }
.btn:active { transform: translateY(0); }
.service-cell, .positioning-cell, .industry { transition: background .3s ease; }
.nav { box-shadow: 0 1px 0 var(--rule-soft); }

/* Selection and focus reflect the palette */
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
	.reveal, .reveal-rule { opacity: 1 !important; transform: none !important; transition: none !important; }
	.marquee-track { animation: none; }
}

/* ---- Services page: homepage spacing rhythm, no roman numerals ---- */
.pillar-num { display: none; }
.pillar-meta { margin-top: 28px; }
.pillar-meta-rule { flex: 1; }

.pillar { padding-top: 0; padding-bottom: clamp(48px, 5.5vw, 80px); border-top: 1px solid var(--rule); }
.pillar .pillar-grid { padding-top: clamp(30px, 3.4vw, 48px); }
.pillar-dark { border-top: 0; }
.pillar-dark .pillar-grid { padding-top: clamp(30px, 3.4vw, 48px); }

.section-engagement { padding-top: 0; border-top: 1px solid var(--rule); }
.section-engagement .section-head { padding-top: clamp(30px, 3.4vw, 48px); }

/* Team / Clients / Contact pages pick up the same rule-then-label pattern */
.section-cta-band { padding-top: 0; }
.founder-block { padding-top: clamp(30px, 3.4vw, 48px); }

/* ---- Page headlines fill the full measure on one or two lines ---- */
.page-hero-headline {
	font-size: clamp(30px, 4.6vw, 68px);
	max-width: none;
	width: 100%;
	text-wrap: balance;
}

/* Fill line one before wrapping, rather than balancing line lengths */
.page-hero-headline { text-wrap: normal; }

/* ---- Page hero centered ---- */
.page-hero { text-align: center; }
.page-hero .chapter { justify-content: center; }
.page-hero-headline { margin-left: auto; margin-right: auto; }
.page-hero-lede { margin-left: auto; margin-right: auto; }

/* ---- Page hero: equal space above and below ---- */
.page-hero {
	padding-top: clamp(36px, 4vw, 64px);
	padding-bottom: clamp(36px, 4vw, 64px);
}
.page-hero .chapter { margin-bottom: 18px; }
.page-hero-lede { margin-top: 22px; }

/* ============================================================
   Engagement stages — timeline spine, timing, deliverables
   ============================================================ */
.stages { list-style: none; margin: 0; padding: 0; }
.stage {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: clamp(16px, 2vw, 32px);
	padding: clamp(26px, 3vw, 38px) 0;
	border-top: 1px solid var(--rule);
	position: relative;
}
.stage:last-child { border-bottom: 1px solid var(--rule); }

/* Spine */
.stage-rail { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.stage-num { font-size: 11px; letter-spacing: .2em; color: var(--accent); line-height: 1; padding-top: 4px; }
.stage-dot { position: absolute; left: 3px; top: 26px; bottom: -40px; width: 1px; background: var(--rule); }
.stage:last-child .stage-dot { display: none; }

.stage-body { display: flex; flex-direction: column; gap: 10px; }
.stage-top { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.stage-title {
	font-family: var(--font-display);
	font-size: clamp(21px, 2vw, 28px);
	letter-spacing: -.015em;
	line-height: 1.1;
	margin: 0;
	color: var(--ink);
}
.stage-when {
	font-size: 10px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--accent);
	border: 1px solid var(--rule);
	border-radius: 99px;
	padding: 5px 11px;
	white-space: nowrap;
}
.stage-desc {
	font-size: 16px;
	line-height: 1.55;
	color: var(--ink-soft);
	margin: 0;
	max-width: 74ch;
}
.stage-dels { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.stage-dels-label {
	font-size: 9px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--ink-mute);
	flex: 0 0 auto;
}
.stage-dels ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.stage-dels li {
	font-family: var(--font-body);
	font-size: 13px;
	color: var(--ink);
	background: var(--paper-2);
	border: 1px solid var(--rule-soft);
	padding: 5px 11px;
	border-radius: 3px;
	line-height: 1.2;
}
.section-engagement .section-head .lede { max-width: 78ch; }

@media (max-width: 700px) {
	.stage { grid-template-columns: 1fr; gap: 10px; }
	.stage-rail { flex-direction: row; align-items: center; gap: 10px; }
	.stage-dot { display: none; }
	.stage-dels { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ---- Pillar left column vertically centered against its list ---- */
.pillar-grid { align-items: center; }
.pillar-grid > div:first-child { align-self: center; }
@media (max-width: 979px) {
	.pillar-grid { align-items: start; }
}

/* ---- Spine runs through the final stage too ---- */
.stage:last-child .stage-dot { display: block; bottom: 0; }
.stage-dot { bottom: calc(-1 * clamp(26px, 3vw, 38px)); }

/* ---- CTA band: centered stack, matched sizing ---- */
.cta-band {
	grid-template-columns: 1fr;
	justify-items: center;
	text-align: center;
	gap: 22px;
	padding: clamp(34px, 4vw, 56px) clamp(20px, 3vw, 40px);
}
.cta-band > div { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cta-band .chapter { justify-content: center; margin-bottom: 0; }
.cta-band .display {
	font-size: clamp(24px, 2.6vw, 36px) !important;
	line-height: 1.14 !important;
	margin-top: 0;
}
.cta-band .btn { align-self: center; }

/* ---- DRIVE letters lead each stage ---- */
.stage-letter {
	font-family: var(--font-display);
	font-size: clamp(30px, 3.2vw, 44px);
	line-height: .9;
	font-weight: 400;
	color: var(--accent);
	display: block;
	letter-spacing: -.02em;
}
.stage { grid-template-columns: 72px 1fr; }
.stage-dot { top: 46px; left: 6px; }
@media (max-width: 700px) {
	.stage { grid-template-columns: 1fr; }
	.stage-letter { font-size: 26px; }
}

/* ---- Footer: white text across the board ---- */
.footer, .footer p, .footer a { color: #FFFFFF !important; }
.footer h4 { color: #FFFFFF !important; opacity: .72; }
.footer-mark, .footer-mark { color: #FFFFFF !important; }
.footer a:hover { color: #FFFFFF !important; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { color: #FFFFFF !important; opacity: .68; }
.footer-bottom span { color: #FFFFFF !important; }

/* ---- Engagement copy runs the full width ---- */
.section-engagement .section-head .lede { max-width: none; }
.stage-desc { max-width: none; }

/* ---- Team role labels can break across lines ---- */
.team-role { white-space: pre-line; }

/* ---- Fix horizontal overflow from nowrap stat labels ---- */
.stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { min-width: 0; }
.stat-lbl { white-space: normal; letter-spacing: 0.14em; }
/* Only hold one line where there is genuinely room for it */
@media (min-width: 1140px) {
	.stat-lbl { white-space: nowrap; }
}
@media (max-width: 699px) {
	.stats-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Close the dead band between the last section and the footer */
.section-contact { padding-bottom: clamp(40px, 4.5vw, 64px); }
.footer { margin-top: clamp(40px, 4.5vw, 64px); }

/* ---- Team photos 20% smaller ---- */
.team-grid-full { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .team-grid-full { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .team-grid-full { grid-template-columns: repeat(4, 1fr); } }
.team-full .team-photo { aspect-ratio: 4 / 5; max-width: 80%; }
.team-full .team-name { font-size: 19px; }
.team-full-bio { font-size: 14px; }

/* ---- Team cards align regardless of bio length ---- */
.team-grid-full { align-items: stretch; }
.team-full { height: 100%; }
.team-full-bio { flex: 1 1 auto; }
.team-full .team-contact { margin-top: auto; }

/* ---- Team card footer: link above the rule, rule on every card ---- */
.team-foot {
	margin-top: auto;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--rule-soft);
	display: flex;
	align-items: flex-end;
	min-height: 34px;
}
.team-foot a {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: .04em;
	color: var(--ink-soft);
	transition: color .2s ease;
	text-decoration: none;
}
.team-foot a:hover { color: var(--accent); }
.team-foot-empty { display: block; height: 18px; }
.team-full .team-contact { display: none; }

/* ---- Wordmark: no accent dot ---- */
.nav-mark .dot { display: none; }

/* ---- Dark band + section copy run the full width ---- */
.exit-headline { max-width: none; white-space: normal; }
.section-clients .section-head .display { max-width: none; }
.section-head .lede,
.section-services .section-head .lede,
.section-team .section-head .lede { max-width: none; }

/* ---- Page hero → first section: one rule, standard clearance ---- */
.page-hero + .section { padding-top: clamp(30px, 3.4vw, 48px); }
.client-detail { border-top: 0; margin-top: 0; padding-top: 0; }

/* ============================================================
   Call-to-action band — dark, with reassurance and a low-friction option
   ============================================================ */
.cta-band {
	background: var(--ink);
	border: 0 !important;
	padding: clamp(44px, 5vw, 76px) clamp(24px, 4vw, 56px) !important;
	display: block !important;
	text-align: center;
}
.cta-band-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	max-width: 66ch;
	margin: 0 auto;
}
.cta-band .chapter { color: rgba(255,255,255,.62) !important; justify-content: center; margin: 0; }
.cta-band .chapter::before { background: var(--accent-on-dark); }
.cta-band .display,
.cta-band .display em { color: #FFFFFF !important; }
.cta-band-sub {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.55;
	color: rgba(255,255,255,.8);
	margin: 2px 0 0;
	max-width: 58ch;
}
.cta-band-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin-top: 12px;
}
.cta-band .btn {
	background: #FFFFFF;
	color: var(--ink);
	border-color: #FFFFFF;
}
.cta-band .btn:hover { background: var(--accent-on-dark); border-color: var(--accent-on-dark); color: var(--ink); }
.cta-band-alt {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: rgba(255,255,255,.7);
	text-decoration: none;
	border-bottom: 1px solid rgba(255,255,255,.28);
	padding-bottom: 2px;
	transition: color .2s ease, border-color .2s ease;
}
.cta-band-alt:hover { color: #FFFFFF; border-color: #FFFFFF; }
.section-cta-band { padding-bottom: clamp(48px, 5.5vw, 80px); }


/* ---- Navy menu bar with white type ---- */
.nav { background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.12); box-shadow: none; }
.nav-mark { color: #FFFFFF; }
.nav-mark small { color: rgba(255,255,255,.6); }
.nav-link { color: rgba(255,255,255,.78); }
.nav-link:hover, .nav-link.active { color: #FFFFFF; }
.nav-link.active::after { background: var(--accent-on-dark); }
.nav-cta { color: #FFFFFF; border-color: rgba(255,255,255,.5); }
.nav-cta:hover { background: #FFFFFF; color: var(--ink); border-color: #FFFFFF; }

/* ---- Menu type: a touch larger, tracking tightened for legibility ---- */
.nav-link { font-size: 13px; letter-spacing: 0.13em; }
.nav-links { gap: 30px; }
.nav-cta { font-size: 12px; letter-spacing: 0.12em; padding: 11px 19px; }
.nav-mark { font-size: 23px; }
.nav-mark small { font-size: 23px; }
@media (max-width: 1024px) { .nav-links { gap: 22px; } }

/* ============================================================
   TYPE SCALE — single source of truth (loaded last, wins cascade)
   ============================================================ */
:root {
	--fs-hero:     clamp(34px, 5vw, 76px);   /* homepage hero only */
	--fs-page:     clamp(30px, 4.2vw, 60px); /* page hero headlines */
	--fs-section:  clamp(24px, 2.6vw, 36px); /* every section heading */
	--fs-card:     clamp(19px, 1.7vw, 25px); /* card / stage / pillar-item headings */
	--fs-lede:     clamp(16px, 1.05vw, 18px);/* section intros */
	--fs-body:     16px;                     /* body copy */
	--fs-small:    14px;                     /* secondary copy */
	--fs-label:    11px;                     /* mono labels, eyebrows */
	--lh-tight:    1.12;
	--lh-body:     1.55;
}

/* ---- Level 1: hero ---- */
.hero-headline { font-size: var(--fs-hero) !important; line-height: 1.02 !important; }
.hero-lede { font-size: clamp(17px, 1.25vw, 21px) !important; line-height: 1.45 !important; }

/* ---- Level 2: page hero headlines ---- */
.page-hero-headline { font-size: var(--fs-page) !important; line-height: 1.06 !important; }
.page-hero-lede { font-size: var(--fs-lede) !important; line-height: var(--lh-body) !important; }

/* ---- Level 3: every section heading, on every page ---- */
.section-head .display,
.section-head h2,
.stats-head-title,
.section-positioning .section-head h2,
.exit-headline,
.pillar-title,
.cta-band .display,
.booker-title,
.founder-name {
	font-size: var(--fs-section) !important;
	line-height: var(--lh-tight) !important;
	letter-spacing: -0.015em;
}

/* ---- Level 4: card and list-item headings ---- */
.positioning-cell h3,
.service-title,
.stage-title,
.industry h3,
.pillar-list-text,
.engagement-title,
.team-full .team-name,
.contact-side-block .serif,
.contact-address,
.contact-phone,
.exit-checklist li {
	font-size: var(--fs-card) !important;
	line-height: 1.2 !important;
}
.pillar-list-text, .exit-checklist li { font-size: clamp(16px, 1.3vw, 19px) !important; line-height: 1.35 !important; }
.contact-email { font-size: 16px !important; }

/* ---- Intros ---- */
.section-head .lede,
.cta-band-sub,
.pillar-lede {
	font-size: var(--fs-lede) !important;
	line-height: var(--lh-body) !important;
	font-family: var(--font-body) !important;
	font-style: normal !important;
}

/* ---- Body copy ---- */
.positioning-cell p,
.stage-desc,
.engagement-desc,
.industry p,
.exit-lede,
.footer p,
.service-list li,
.team-full-bio,
.founder-bio {
	font-size: var(--fs-body) !important;
	line-height: var(--lh-body) !important;
}
.team-full-bio { font-size: var(--fs-small) !important; }
.exit-lede { font-family: var(--font-body) !important; font-style: normal !important; }

/* ---- Mono labels ---- */
.chapter, .eyebrow, .service-num, .positioning-num, .stat-lbl,
.client-detail-lbl, .team-role, .stage-when, .stage-dels-label,
.pillar-list-num, .engagement-num, .footer h4, .footer-bottom, .filter-pill, .logo-meta {
	font-size: var(--fs-label) !important;
}
.stage-dels-label, .logo-meta { font-size: 9.5px !important; }
.stage-when { font-size: 10px !important; }

/* ---- Numbers ---- */
.stat-num { font-size: clamp(38px, 4.2vw, 58px) !important; line-height: 1 !important; }
.client-detail-stat { font-size: clamp(30px, 3.2vw, 46px) !important; line-height: 1 !important; }
.stage-letter { font-size: clamp(26px, 2.8vw, 38px) !important; }

/* ============================================================
   PHONE — one coherent step down, nothing cramped
   ============================================================ */
@media (max-width: 760px) {
	:root {
		--fs-hero:    clamp(29px, 8vw, 40px);
		--fs-page:    clamp(26px, 7.2vw, 34px);
		--fs-section: 22px;
		--fs-card:    18px;
		--fs-lede:    16px;
		--fs-body:    15.5px;
		--fs-small:   14px;
		--gutter:     20px;
	}
	.hero-lede { font-size: 16px !important; }
	.stat-num { font-size: 34px !important; }
	.client-detail-stat { font-size: 28px !important; }
	.stage-letter { font-size: 24px !important; }
	.marquee-item { font-size: 16px !important; }
	.footer-mark { font-size: 24px !important; }
	.nav-mark, .nav-mark small { font-size: 20px !important; }

	/* Stack anything still side-by-side */
	.contact-page-grid, .contact-grid, .exit-grid, .pillar-grid, .section-head.split { grid-template-columns: 1fr !important; }
	.client-detail { grid-template-columns: 1fr 1fr !important; }
	.team-grid-full { grid-template-columns: 1fr 1fr !important; }
	.team-row { grid-template-columns: 1fr 1fr !important; }
	.service-grid, .service-grid.three, .positioning-grid { grid-template-columns: 1fr !important; }
	.stage { grid-template-columns: 1fr !important; }
	.footer-inner { grid-template-columns: 1fr !important; }
	.contact-form > div[style] { grid-template-columns: 1fr !important; }
	.hero-cta, .contact-cta { flex-direction: column; align-items: stretch; }
	.hero-cta .btn, .contact-cta .btn { justify-content: center; }
	.team-full .team-photo { max-width: 100%; }
}

/* ---- Tablet ---- */
@media (min-width: 761px) and (max-width: 1024px) {
	:root { --fs-section: clamp(22px, 3vw, 30px); --fs-card: clamp(18px, 2.2vw, 22px); }
	.service-grid.three { grid-template-columns: 1fr 1fr; }
	.team-grid-full { grid-template-columns: repeat(3, 1fr); }
	.client-detail { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Nothing overflows sideways, at any width ---- */
html, body { overflow-x: hidden; max-width: 100%; }
.stats-grid, .client-detail, .service-grid, .positioning-grid, .team-row, .team-grid-full, .logo-wall { min-width: 0; }
.stats-grid > *, .client-detail > *, .logo-wall > * { min-width: 0; }
img, svg, video { max-width: 100%; height: auto; }

/* ---- Clients page: numbers strip sits lower, clear of the headline ---- */
.page-hero + .section .client-detail { padding-top: clamp(34px, 3.8vw, 56px); }
.page-hero + .section { padding-top: clamp(34px, 3.8vw, 56px); }

/* ============================================================
   CONDENSED RHYTHM — tighter section spacing, same type scale
   ============================================================ */
:root {
	--section-y: clamp(40px, 4.2vw, 68px);
	--block-y:   clamp(22px, 2.4vw, 34px);
}

/* Sections */
.section { padding-top: clamp(40px, 4.2vw, 68px); padding-bottom: clamp(40px, 4.2vw, 68px); }
.section-head { margin-bottom: clamp(22px, 2.4vw, 32px); }
.section-positioning { padding-top: clamp(34px, 3.6vw, 52px); padding-bottom: clamp(22px, 2.4vw, 34px); }
.section-services,
.section-clients,
.section-team { padding-top: 0; }
.section-services .section-head,
.section-clients .section-head,
.section-team .section-head { padding-top: clamp(26px, 2.8vw, 40px); }
.section-stats .boxed-grid { padding: clamp(24px, 2.6vw, 36px) 0; }
.section-stats .stats-head { padding-top: clamp(26px, 2.8vw, 40px); }
.section-exit { padding-top: clamp(26px, 2.8vw, 40px); padding-bottom: clamp(44px, 4.6vw, 72px); }
.section-exit .exit-wrap > .chapter { padding-top: clamp(26px, 2.8vw, 40px); }
.exit-headline { margin: 16px 0 30px; }
.section-contact { padding-bottom: clamp(34px, 3.6vw, 52px); }
.footer { margin-top: clamp(34px, 3.6vw, 52px); padding: clamp(44px, 4.6vw, 64px) 0 26px; }

/* Cards and cells */
.positioning-cell { padding: clamp(28px, 3vw, 40px) clamp(22px, 2.4vw, 32px); }
.service-cell { padding: clamp(26px, 2.8vw, 34px) clamp(20px, 2.2vw, 28px); }
.logo-cell { min-height: 118px; padding: 26px 18px; }
.services-cta { margin-top: clamp(24px, 2.6vw, 36px); }
.exit-checklist { padding: 26px 26px 28px; }
.exit-checklist ul { gap: 9px; }
.exit-grid { gap: clamp(32px, 3.4vw, 64px); }

/* Pages */
.page-hero { padding-top: clamp(28px, 3vw, 48px); padding-bottom: clamp(28px, 3vw, 48px); }
.page-hero + .section { padding-top: clamp(26px, 2.8vw, 40px); }
.page-hero + .section .client-detail { padding-top: clamp(26px, 2.8vw, 40px); padding-bottom: clamp(26px, 2.8vw, 40px); }
.pillar { padding-bottom: clamp(34px, 3.6vw, 56px); }
.pillar .pillar-grid,
.pillar-dark .pillar-grid { padding-top: clamp(26px, 2.8vw, 40px); }
.pillar-list li { padding: 13px 0; }
.pillar-meta { margin-top: 20px; }
.stage { padding: clamp(20px, 2.2vw, 30px) 0; }
.section-engagement .section-head { padding-top: clamp(26px, 2.8vw, 40px); }
.team-grid-full { gap: clamp(34px, 3.6vw, 48px) clamp(22px, 2.4vw, 34px); }
.founder-block { padding-bottom: clamp(34px, 3.6vw, 52px); margin-bottom: clamp(34px, 3.6vw, 52px); }
.cta-band { padding: clamp(34px, 3.6vw, 56px) clamp(22px, 3vw, 44px) !important; }
.section-cta-band { padding-bottom: clamp(34px, 3.6vw, 56px); }
.contact-page { padding: clamp(30px, 3.2vw, 48px) 0 clamp(40px, 4.2vw, 64px); }
.contact-page-grid { gap: clamp(34px, 3.6vw, 64px); }
.contact-page-side { padding: 26px; gap: 18px; }
.contact-form { gap: 16px; }

/* Hero keeps its full-screen behaviour but with less internal padding */
@media (min-height: 620px) {
	.hero-centered { padding-top: clamp(22px, 2.4vw, 38px); }
}
.hero-eyebrow { margin-bottom: 16px; }
.hero-lede { margin-top: 20px; }
.hero-cta { margin-top: 24px; }
.marquee { margin-top: clamp(30px, 3.2vw, 48px); padding: 15px 0; }
