/* ============================================================
   Cherry Park Advisory Group — Homepage Mockup
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --green: #2F4F2F;
  --green-deep: #233e23;
  --green-soft: #3d5e3d;
  --green-tint: #c4d9c4;
  --wine: #6B1F2A;

  /* Ink scale */
  --ink: #1A1A1A;
  --ink-2: #333333;
  --ink-3: #555555;
  --ink-4: #767676;

  /* Surfaces */
  --rule: #d9d6d0;
  --rule-2: #ebe8e2;
  --paper: #fafaf7;
  --paper-2: #f3f1ec;
  --white: #ffffff;

  /* Typography */
  --serif: "IBM Plex Serif", Georgia, serif;
  --sans: "Work Sans", system-ui, sans-serif;

  /* Spacing scale (8pt-ish) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 120px;

  /* Layout */
  --container-max: 1320px;
  --container-pad: 48px;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
/* Offset for in-page anchors so the sticky 84px header doesn't cover the section top */
section[id] { scroll-margin-top: 100px; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

/* ---------- Layout primitives ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.section { padding: var(--s-10) 0; }
.section-dark { background: var(--green); color: white; }
.section-paper { background: var(--paper); }
.section-dark .eyebrow { color: rgba(255,255,255,0.7); }

/* ---------- Typography utilities ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow .dot {
  display: inline-block;
  width: 4px; height: 4px;
  background: currentColor;
  margin: 0 10px 2px;
  vertical-align: middle;
}

/* ---------- Buttons / links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 14px 22px;
  border: 1px solid var(--green);
  background: var(--green);
  color: white;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn-ghost {
  background: transparent;
  color: var(--green);
}
.btn-ghost:hover { background: var(--green); color: white; }
.btn .arr { font-family: var(--serif); font-weight: 400; transition: transform 160ms ease; }
.btn:hover .arr { transform: translateX(3px); }

.link-arrow {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
  border-bottom: 1px solid var(--green);
  padding-bottom: 4px;
  transition: gap 160ms ease;
}
.link-arrow:hover { gap: 12px; }
.link-arrow .arr { font-family: var(--serif); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: saturate(180%) blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brandmark {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brandmark img {
  height: 56px;
  width: auto;
}
.brandmark .word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brandmark .word .name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.brandmark .word .group {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 6px;
}

nav.primary {
  display: flex;
  gap: 32px;
  align-items: center;
}
/* Direct-child selector so .mobile-nav-cta links inside .primary
   don't pick up the underline-animation styling. */
nav.primary > a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
  transition: color 160ms ease;
}
nav.primary > a:hover { color: var(--green); }
nav.primary > a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}
nav.primary > a:hover::after { transform: scaleX(1); }

/* Mobile-only block inside the nav panel (hidden on desktop) */
.mobile-nav-cta { display: none; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-cta .phone {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}

/* Hamburger button (hidden on desktop, shown at <=1100px) */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  position: relative;
  margin-left: 4px;
}
.mobile-toggle .bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  margin: 5px auto;
  transition: transform 240ms ease, opacity 240ms ease;
  transform-origin: center;
}
body.menu-open .mobile-toggle .bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .mobile-toggle .bar:nth-child(2) { opacity: 0; }
body.menu-open .mobile-toggle .bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Lock body scroll when the mobile menu is open */
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  padding: var(--s-9) 0 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.hero-mark {
  position: absolute;
  right: -120px;
  top: 60px;
  width: 520px;
  opacity: 0.04;
  pointer-events: none;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 44px;
}
.hero-meta .rule { flex: 0 0 56px; height: 1px; background: var(--green); }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 80px;
  align-items: end;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6.5vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0;
  max-width: 14ch;
}
.hero h1 em {
  font-style: italic;
  color: var(--green);
}
.hero-sub {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 36px 0 0;
  max-width: 52ch;
  font-weight: 300;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 56px 0 0;
  flex-wrap: wrap;
}
.hero-cta-row .secondary {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-cta-row .secondary a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink-2);
  padding-bottom: 2px;
}
.hero-cta-row .secondary a:hover { color: var(--green); border-color: var(--green); }

/* Hero side: Practice Focus (replaces fabricated stats) */
.hero-side {
  border-left: 1px solid var(--rule);
  padding: 12px 0 12px 40px;
  align-self: end;
  margin-bottom: 8px;
}
.hero-side .label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 24px;
}
.hero-side .focus {
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--rule-2);
}
.hero-side .focus:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.hero-side .focus .roman {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--green);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.hero-side .focus .name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.hero-side .focus .desc {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
  margin-top: 8px;
  max-width: 28ch;
}

.hero-foot {
  margin-top: 96px;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.hero-foot .right { display: flex; gap: 32px; }

/* ---------- Differentiator (dark green) ---------- */
.differ-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
}
.differ-grid h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: white;
  margin: 24px 0 0;
}
.differ-grid h2 em { font-style: italic; color: var(--green-tint); }
.differ-body {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.55;
  color: rgba(255,255,255,0.88);
  max-width: 60ch;
  margin: 0 0 56px;
}
.differ-body em { color: white; font-style: italic; }

/* Three-principles list — replaces the conventional-vs-Cherry-Park comparison.
   Editorial roman-numeral layout: numeral on the left, heading + body on the right,
   hairline dividers between principles. */
.principles {
  margin-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.22);
}
.principle {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  align-items: start;
}
.principle:last-child { border-bottom: none; padding-bottom: 8px; }
.principle .roman {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  font-weight: 400;
  color: var(--green-tint);
  line-height: 1;
  letter-spacing: 0.02em;
}
.principle h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  color: white;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.principle p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  margin: 0;
  max-width: 56ch;
}

/* ---------- Services ---------- */
.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 72px;
}
.services-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.018em;
  margin: 24px 0 0;
  color: var(--ink);
}
.services-head p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 50ch;
  margin: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.service {
  grid-column: span 2;
  /* Every cell gets the same 28px horizontal gutter so hover fills
     paint with consistent inset on all items. */
  padding: 36px 28px 40px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: background 200ms ease;
  /* Flex column so the "Capability brief" link can be pushed
     to the bottom of every card via margin-top: auto. */
  display: flex;
  flex-direction: column;
}

/* Drop the dangling right border on item 3 (last cell of row 1, no neighbor) */
.service:nth-child(3) { border-right: none; }

/* Row 2: items 4, 5 offset to cols 2-3 and 4-5 (no bottom row below) */
.service:nth-child(4) {
  grid-column: 2 / span 2;
  border-left: 1px solid var(--rule);
  border-bottom: none;
}
.service:nth-child(5) {
  grid-column: 4 / span 2;
  border-bottom: none;
}
.service:hover { background: var(--paper); }
.service .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--green);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  display: block;
}
.service h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 16px;
}
.service p {
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-3);
  margin: 0 0 24px;
}
.service { cursor: pointer; }

.service .more {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;       /* push to bottom of the flex-column .service */
  align-self: flex-start; /* keep width to content, left-aligned */
}

/* Card-link pattern: the .more anchor's ::after overlay covers the
   whole card, making the entire box clickable while preserving
   semantic HTML (no <a> wrapping <h3>, no nested anchors). */
.service .more::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.service h3,
.service p,
.service .num,
.service .more {
  position: relative;
  z-index: 2; /* keep text selection above the click overlay */
}
.service .more .arr { font-family: var(--serif); transition: transform 160ms ease; }
.service:hover .more .arr { transform: translateX(3px); }

/* ---------- Practice Lead (About preview) ---------- */
.lead-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}
.lead-portrait {
  position: relative;
}
.lead-portrait .frame {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, rgba(47,79,47,0.06) 0%, rgba(107,31,42,0.06) 100%),
    var(--paper-2);
  border: 1px solid var(--rule);
  overflow: hidden;
}
.portrait-illustration {
  width: 100%;
  height: 100%;
  display: block;
}
.lead-body h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 24px 0 32px;
  color: var(--ink);
}
.lead-body .pull {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0 0 32px;
  padding-left: 24px;
  border-left: 2px solid var(--green);
  max-width: 56ch;
}
.lead-body p {
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-3);
  margin: 0 0 18px;
  max-width: 60ch;
}
.lead-creds {
  margin: 36px 0 36px;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.lead-creds .item .k {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 8px;
}
.lead-creds .item .v {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink);
  line-height: 1.35;
}

/* ---------- Audience ---------- */
.audience-head {
  margin-bottom: 64px;
  max-width: 56ch;
}
.audience-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -0.018em;
  margin: 24px 0 0;
  color: var(--ink);
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.audience {
  /* Same gutter pattern as .service so cells feel consistent across sections */
  padding: 36px 28px 40px;
  border-right: 1px solid var(--rule);
}
.audience:last-child { border-right: none; }
.audience .role {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--green);
  margin-bottom: 18px;
}
.audience h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--ink);
}
.audience p {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-3);
  margin: 0;
}

/* ---------- Insights ---------- */
.insights-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 24px;
}
.insights-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.018em;
  margin: 24px 0 0;
  color: var(--ink);
}
.insights-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--ink);
}
.insight {
  padding: 32px 32px 36px 0;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}
.insight:last-child { border-right: none; padding-right: 0; }
.insight + .insight { padding-left: 32px; }
.insight .meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.insight .meta .cat { color: var(--green); }
.insight h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--ink);
  transition: color 160ms ease;
}
.insight:nth-child(1) h3 { font-size: 32px; }
.insight:nth-child(2) h3,
.insight:nth-child(3) h3 { font-size: 22px; }
.insight:hover h3 { color: var(--green); }
.insight .dek {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0 0 24px;
}
.insight .author {
  margin-top: auto;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-3);
  padding-top: 20px;
  border-top: 1px solid var(--rule-2);
}
.insight .author .name { color: var(--ink); font-weight: 500; }

/* ---------- CTA ---------- */
.cta-section {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  padding: var(--s-10) 0;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}
.cta-grid h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.018em;
  margin: 24px 0 32px;
  color: var(--ink);
}
.cta-grid h2 em { font-style: italic; color: var(--green); }
.cta-grid .lead {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 36px;
  max-width: 50ch;
}
.cta-grid .lead-meta {
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  margin: 0 0 48px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-grid .lead-meta .item {
  display: flex;
  gap: 8px;
  align-items: center;
}
.cta-grid .lead-meta .item::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

.cta-side {
  background: white;
  padding: 40px;
  border: 1px solid var(--rule);
}
.cta-side .label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 12px;
}
.cta-side .what {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule-2);
}
.cta-side ul {
  list-style: none;
  margin: 0 0 32px; padding: 0;
}
.cta-side ul li {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-2);
  padding: 10px 0;
  display: flex;
  gap: 12px;
  align-items: baseline;
  line-height: 1.5;
}
.cta-side ul li::before {
  content: "—";
  color: var(--green);
  font-family: var(--serif);
  flex-shrink: 0;
}

/* ---------- Sub-page hero (shared by services, about, insights, etc.) ---------- */
.page-hero {
  padding: 88px 0 56px;
  border-bottom: 1px solid var(--rule);
}
.page-hero .eyebrow { margin-bottom: 20px; display: inline-block; }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--ink);
  max-width: 22ch;
}
.page-hero .lede {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 21px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  max-width: 60ch;
}
.page-hero .meta {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.legal-content {
  padding: 72px 0 120px;
}
.legal-content .container {
  max-width: 820px;
}
.legal-content .lede {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule-2);
}
.legal-content h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 48px 0 16px;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.legal-content h2 .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--green);
  flex-shrink: 0;
  min-width: 32px;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.3;
  color: var(--ink);
  margin: 28px 0 10px;
}
.legal-content p {
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 16px;
}
.legal-content ul {
  margin: 8px 0 20px;
  padding: 0;
  list-style: none;
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.legal-content ul li {
  padding: 6px 0 6px 24px;
  position: relative;
}
.legal-content ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--green);
  font-family: var(--serif);
}
.legal-content strong { color: var(--ink); font-weight: 600; }
.legal-content a {
  color: var(--green);
  border-bottom: 1px solid var(--green);
}
.legal-content a:hover { color: var(--green-deep); border-color: var(--green-deep); }
.legal-content .disclaim {
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 16px 0;
  padding: 20px 24px;
  background: var(--paper);
  border-left: 2px solid var(--green);
}
.legal-content .contact-block {
  margin-top: 48px;
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--rule);
}
.legal-content .contact-block .label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 12px;
}
.legal-content .contact-block .firm {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 14px;
}
.legal-content .contact-block .row {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink-2);
  margin: 4px 0;
}
.legal-content .contact-block a { border-bottom: none; }

@media (max-width: 640px) {
  .page-hero { padding: 64px 0 40px; }
  .legal-content { padding: 56px 0 80px; }
  .legal-content .lede { font-size: 18px; }
  .legal-content h2 { font-size: 22px; gap: 12px; }
  .legal-content h2 .num { font-size: 16px; min-width: 26px; }
  .legal-content .disclaim { padding: 16px 18px; font-size: 12.5px; }
  .legal-content .contact-block { padding: 24px; }
}

/* ---------- Services page (services.html) ---------- */
.service-detail {
  padding: 96px 0;
  border-bottom: 1px solid var(--rule);
}
.service-detail:last-of-type { border-bottom: none; }
.service-detail:nth-of-type(even) { background: var(--paper); }
.service-detail-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}
.service-detail-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--green);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 16px;
}
.service-detail-meta h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 28px;
}
.service-detail-meta .for-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin: 28px 0 10px;
}
.service-detail-meta .for-list {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
}
.service-detail-body p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 18px;
  max-width: 64ch;
}
.service-detail-body p.lead {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 21px;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 28px;
}
.service-detail-includes {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.service-detail-includes h3 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin: 0 0 18px;
}
.service-detail-includes ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
}
.service-detail-includes li {
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  padding-left: 22px;
  position: relative;
}
.service-detail-includes li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--green);
  font-family: var(--serif);
}

/* ---------- About page ---------- */
.philosophy {
  padding: 104px 0;
}
.philosophy-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
}
.philosophy-grid h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 24px 0 0;
  color: var(--ink);
}
.philosophy-grid .body p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 18px;
  max-width: 64ch;
}
.philosophy-grid .body p.lead {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 28px;
}

.affiliations {
  padding: 88px 0;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.affiliations-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
}
.affiliations-grid h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.1;
  margin: 24px 0 0;
  color: var(--ink);
}
.affiliations-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
}
.affiliations-list .item .name {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.affiliations-list .item .desc {
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-3);
}

/* About page founder section reuses .lead-grid + .lead-body patterns from home.
   Add a tighter top to fit a full page. */
.about-founder { padding: 104px 0; background: var(--paper); }
.about-founder + .affiliations { border-top: none; }

/* ---------- Archive (Insights, Case Studies) ---------- */
.archive-section { padding: 88px 0 120px; }
.archive-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.filter-chip {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 16px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink-3);
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}
.filter-chip:hover { color: var(--green); border-color: var(--green); }
.filter-chip.is-active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.archive-card {
  padding: 36px 28px 40px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  transition: background 200ms ease;
  position: relative;
  cursor: pointer;
}
.archive-card:nth-child(3n) { border-right: none; }
.archive-card:hover { background: var(--paper); }
.archive-card .meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
  flex-wrap: wrap;
}
.archive-card .meta .cat { color: var(--green); font-weight: 500; }
.archive-card .meta .type-badge {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wine);
  padding: 3px 7px;
  border: 1px solid rgba(107,31,42,0.35);
}
.archive-card .meta .type-badge.case-study {
  color: var(--green);
  border-color: rgba(47,79,47,0.4);
}
.archive-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  color: var(--ink);
  transition: color 160ms ease;
}
.archive-card:hover h3 { color: var(--green); }
.archive-card .dek {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0 0 22px;
}
.archive-card .author {
  margin-top: auto;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-3);
  padding-top: 20px;
  border-top: 1px solid var(--rule-2);
}
.archive-card .author .name { color: var(--ink); font-weight: 500; }
.archive-card a.full-link {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}
.archive-card a.full-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.archive-card > *:not(.full-link) {
  position: relative;
  z-index: 0;
}

/* Featured (first) article on Insights page */
.archive-featured {
  margin-bottom: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.archive-featured .meta {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-4);
  flex-wrap: wrap;
}
.archive-featured .meta .cat { color: var(--green); font-weight: 500; }
.archive-featured h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
  color: var(--ink);
}
.archive-featured .dek {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 24px;
}
.archive-featured .byline {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.archive-featured .byline .name { color: var(--ink); font-weight: 500; }
.archive-featured-image {
  aspect-ratio: 5 / 4;
  background:
    linear-gradient(135deg, rgba(47,79,47,0.12) 0%, rgba(107,31,42,0.10) 100%),
    var(--paper-2);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-4);
  letter-spacing: 0.04em;
}

/* ---------- Case studies ---------- */
.confidentiality-note {
  margin: 0 0 48px;
  padding: 24px 32px;
  background: var(--paper);
  border-left: 2px solid var(--green);
  font-family: var(--serif);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 80ch;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.case-card {
  padding: 36px 28px 40px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  transition: background 200ms ease;
  position: relative;
  cursor: pointer;
}
.case-card:nth-child(3n) { border-right: none; }
.case-card:hover { background: var(--paper); }
.case-card .industry {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 500;
  margin-bottom: 14px;
}
.case-card .scale {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-4);
  margin-bottom: 18px;
}
.case-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  color: var(--ink);
  transition: color 160ms ease;
}
.case-card:hover h3 { color: var(--green); }
.case-card .summary {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0 0 20px;
}
.case-card .outcome {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--rule-2);
}
.case-card .outcome .label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 8px;
}
.case-card .outcome .text {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink);
  line-height: 1.4;
}
.case-card a.full-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  text-indent: -9999px;
  overflow: hidden;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-form .form-field {
  margin-bottom: 24px;
}
.contact-form .form-field label {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.contact-form .form-field input,
.contact-form .form-field textarea,
.contact-form .form-field select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--rule);
  transition: border-color 160ms ease;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.contact-form .form-field input:focus,
.contact-form .form-field textarea:focus,
.contact-form .form-field select:focus {
  border-color: var(--green);
  outline: none;
}
.contact-form .form-field textarea {
  min-height: 140px;
  resize: vertical;
}
.contact-form .form-field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 13px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-form .form-row .form-field { margin-bottom: 0; }
.contact-form .submit-row {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.contact-form .submit-row .note {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.5;
  max-width: 32ch;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 32px;
}
.contact-card.dark {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.contact-card .label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--ink-4);
}
.contact-card.dark .label { color: rgba(255,255,255,0.7); }
.contact-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 14px;
}
.contact-card.dark h3 { color: white; }
.contact-card p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0 0 22px;
}
.contact-card.dark p { color: rgba(255,255,255,0.82); }
.contact-card .row {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  margin: 6px 0;
}
.contact-card.dark .row { color: white; }
.contact-card .row a { color: inherit; }
.contact-card .row a:hover { color: var(--green); }
.contact-card.dark .row a:hover { color: var(--green-tint); }
.contact-card .btn-on-dark {
  background: white;
  color: var(--green);
  border-color: white;
}
.contact-card .btn-on-dark:hover { background: var(--paper-2); color: var(--green-deep); border-color: var(--paper-2); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.78);
  padding: 80px 0 32px;
}
.footer a { color: rgba(255,255,255,0.78); transition: color 160ms ease; }
.footer a:hover { color: white; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.footer-brand .brandmark img { filter: brightness(0) invert(1) opacity(0.85); }
.footer-brand .word .name { color: white; }
.footer-brand .word .group { color: rgba(255,255,255,0.55); }
.footer-brand .blurb {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
  margin: 32px 0 0;
  max-width: 36ch;
}
.footer-col h5 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 24px;
  font-weight: 500;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { padding: 8px 0; font-size: 14px; }
.footer-contact .row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.footer-contact .row .k {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.footer-contact .row .v {
  font-family: var(--serif);
  font-size: 17px;
  color: white;
}
.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom .legal { display: flex; gap: 28px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .container { padding: 0 32px; }

  /* Mobile nav: hide by default, drop down as full-width panel when menu-open */
  nav.primary {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--container-pad) 28px;
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    max-height: calc(100vh - 84px);
    overflow-y: auto;
  }
  body.menu-open nav.primary { display: flex; }
  nav.primary > a {
    padding: 18px 0;
    font-size: 17px;
    border-bottom: 1px solid var(--rule-2);
  }
  nav.primary > a::after { display: none; }

  /* CTA block at the bottom of the mobile panel */
  .mobile-nav-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 24px;
    margin-top: 4px;
  }
  .mobile-nav-cta .mobile-phone {
    font-family: var(--serif);
    font-size: 20px;
    color: var(--ink);
    letter-spacing: 0.01em;
  }

  /* Show hamburger */
  .mobile-toggle { display: block; }

  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-side { border-left: none; border-top: 1px solid var(--rule); padding: 32px 0 0; }
  .differ-grid, .services-head, .insights-head, .cta-grid, .lead-grid {
    grid-template-columns: 1fr; gap: 32px;
  }
  .services-grid, .audience-grid, .insights-grid { grid-template-columns: 1fr; }
  .service {
    grid-column: 1 / -1 !important;
    padding: 32px 0 !important;
    border-right: none !important;
    border-left: none !important;
    border-bottom: 1px solid var(--rule) !important;
  }
  .audience, .insight {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding: 32px 0;
  }
  .insight + .insight { padding-left: 0; padding-top: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .lead-creds { grid-template-columns: 1fr 1fr; }

  /* New page-level layouts collapse to single column */
  .service-detail-grid,
  .philosophy-grid,
  .affiliations-grid,
  .archive-featured,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-detail-includes ul { grid-template-columns: 1fr; }
  .archive-grid, .case-grid { grid-template-columns: 1fr 1fr; }
  .archive-card:nth-child(3n) { border-right: 1px solid var(--rule); }
  .archive-card:nth-child(2n) { border-right: none; }
  .case-card:nth-child(3n) { border-right: 1px solid var(--rule); }
  .case-card:nth-child(2n) { border-right: none; }
  .affiliations-list { grid-template-columns: 1fr; }
  .archive-featured h2 { font-size: 32px; }
  .service-detail { padding: 72px 0; }
  .philosophy, .affiliations, .about-founder { padding: 72px 0; }
}

@media (max-width: 640px) {
  :root { --container-pad: 20px; }

  /* Compact header: logo + hamburger only. Phone, CTA, and nav links
     live in the dropdown panel so the bar doesn't overflow. */
  .header-inner { height: 72px; }
  .brandmark img { height: 44px; }
  .brandmark .word .name { font-size: 18px; }
  .brandmark .word .group { font-size: 8.5px; letter-spacing: 0.24em; }
  .header-cta .phone { display: none; }
  .header-cta > .btn { display: none; }
  nav.primary { max-height: calc(100vh - 72px); }

  /* Hero meta wraps if it would overflow; rule hides to keep things tidy */
  .hero-meta { flex-wrap: wrap; gap: 12px; }
  .hero-meta .rule { display: none; }

  .hero { padding-top: 56px; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-foot .right { gap: 16px; flex-wrap: wrap; }

  /* Section anchor offset matches the smaller sticky header */
  section[id] { scroll-margin-top: 88px; }

  /* Heading scale-down — the desktop sizes are too large on phones */
  .hero h1 { font-size: clamp(36px, 9vw, 56px); }
  .hero-sub { font-size: 18px; }
  .differ-grid h2, .audience-head h2, .insights-head h2 { font-size: 32px; }
  .services-head h2, .cta-grid h2 { font-size: 36px; }
  .lead-body h2 { font-size: 28px; }
  .differ-body { font-size: 18px; }
  .principle h3 { font-size: 22px; }
  .principle p { font-size: 16px; }
  .lead-body .pull { font-size: 18px; padding-left: 16px; }
  .lead-body p { font-size: 15px; }
  .service h3 { font-size: 22px; }
  .insight:nth-child(1) h3 { font-size: 26px; }
  .insight:nth-child(2) h3,
  .insight:nth-child(3) h3 { font-size: 20px; }

  .section { padding: 72px 0; }
  .cta-side { padding: 28px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
  .footer-brand .blurb { max-width: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .lead-creds { grid-template-columns: 1fr; }
  .principle { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
  .principle .roman { font-size: 24px; }

  /* New pages on mobile */
  .page-hero .lede { font-size: 17px; }
  .service-detail { padding: 56px 0; }
  .service-detail-meta h2 { font-size: 26px; }
  .philosophy, .affiliations, .about-founder { padding: 56px 0; }
  .philosophy-grid h2, .affiliations-grid h2 { font-size: 28px; }
  .archive-grid, .case-grid { grid-template-columns: 1fr; }
  .archive-card, .case-card {
    border-right: none !important;
    padding: 32px 0 36px;
  }
  .archive-featured h2 { font-size: 28px; }
  .archive-featured .dek { font-size: 16px; }
  .archive-section { padding: 56px 0 80px; }
  .contact-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form .form-row .form-field { margin-bottom: 24px; }
  .contact-card { padding: 24px; }
  .confidentiality-note { padding: 18px 20px; font-size: 15px; }
}

/* ---------- Filter empty state ---------- */
.archive-empty {
  display: none;
  padding: 80px 28px;
  margin: 0;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-3);
  border-bottom: 1px solid var(--ink);
}
.archive-empty.is-visible { display: block; }

/* ---------- Single article / case study ---------- */
.back-link-bar {
  padding: 28px 0 0;
}
.back-link {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.back-link:hover { color: var(--green); }
.back-link .arr { transition: transform 0.15s ease; }
.back-link:hover .arr { transform: translateX(-2px); }

.article-hero {
  padding: 32px 0 56px;
  border-bottom: 1px solid var(--rule);
}
.article-hero .container { max-width: 820px; }
.article-hero .meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.article-hero .meta .cat {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11.5px;
  font-weight: 600;
}
.article-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 22px;
}
.article-hero .lede {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
  max-width: 64ch;
}

.case-spec {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.case-spec .item .label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 8px;
}
.case-spec .item .value {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink);
}

.article-body {
  padding: 64px 0 88px;
}
.article-body .container { max-width: 720px; }
.article-body p {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-2);
  margin: 0 0 22px;
}
.article-body p.lead {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 30px;
}
.article-body h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 48px 0 18px;
}
.article-body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 21px;
  line-height: 1.3;
  color: var(--ink);
  margin: 32px 0 12px;
}
.article-body ol,
.article-body ul {
  margin: 0 0 26px;
  padding-left: 0;
  list-style: none;
  counter-reset: list;
}
.article-body ol li,
.article-body ul li {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  padding-left: 38px;
  position: relative;
  margin-bottom: 14px;
}
.article-body ol li {
  counter-increment: list;
}
.article-body ol li::before {
  content: counter(list, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0.02em;
}
.article-body ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-family: var(--serif);
}
.article-body .pull {
  margin: 36px 0;
  padding: 28px 32px;
  border-left: 3px solid var(--green);
  background: var(--paper-2);
  font-family: var(--serif);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink);
}
.article-body .pull em { font-style: italic; color: var(--wine); }
.article-body .editors-note {
  margin: 56px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--rule);
  font-family: var(--serif);
  font-style: italic;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-3);
}

/* Related rail */
.related-rail {
  padding: 72px 0;
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.related-rail .rail-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 32px;
  gap: 24px;
  flex-wrap: wrap;
}
.related-rail h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.related-rail .rail-link {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--green);
  text-decoration: none;
}
.related-rail .rail-link:hover { color: var(--wine); }
.related-rail .archive-grid { margin: 0; }

@media (max-width: 800px) {
  .article-hero h1 { font-size: 32px; }
  .article-hero .lede { font-size: 18px; }
  .article-hero { padding: 24px 0 40px; }
  .case-spec { grid-template-columns: 1fr; gap: 22px; }
  .article-body { padding: 44px 0 64px; }
  .article-body p { font-size: 16px; }
  .article-body p.lead { font-size: 19px; }
  .article-body h2 { font-size: 24px; margin-top: 36px; }
  .article-body h3 { font-size: 19px; }
  .article-body ol li, .article-body ul li { font-size: 16px; }
  .article-body .pull { padding: 22px 22px; font-size: 18px; }
  .related-rail { padding: 56px 0; }
  .related-rail h2 { font-size: 22px; }
}
