/* =========================================================
   Vons Consulting, Redesign (home)
   Mobile-first. Petrol-green primary. Source Serif 4 + Inter.
   Self-contained: tokens + components in one file. Loaded
   only on the redesigned homepage; existing pages keep their
   own stylesheet.
   ========================================================= */

:root {
  /* ---------- Color ---------- */
  --c-petrol:        #0B3B36;
  --c-petrol-deep:   #062925;
  --c-petrol-soft:   #E5EBE9;
  --c-petrol-line:   #C9D3D0;

  --c-ink:           #0F1714;
  --c-ink-2:         #4A5651;
  --c-ink-3:         #7B847F;

  --c-paper:         #FFFFFF;
  --c-paper-2:       #F7F6F2;
  --c-paper-3:       #ECEAE3;

  --c-ember:         #B0492C;
  --c-ember-deep:    #8C3820;

  --c-rule:          rgba(15,23,20,0.10);
  --c-rule-strong:   rgba(15,23,20,0.22);
  --c-rule-onpetrol: rgba(255,255,255,0.16);

  /* ---------- Type families ---------- */
  --font-serif: "Source Serif 4", "Source Serif Pro", "Charter", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  /* ---------- Type scale (mobile first) ---------- */
  --fs-eyebrow:   12px;
  --fs-meta:      14px;
  --fs-body-sm:   15px;
  --fs-body:      16px;
  --fs-lede:      18px;
  --fs-h4:        20px;
  --fs-h3:        24px;
  --fs-h2:        28px;
  --fs-h1:        36px;
  --fs-hero:      42px;

  --lh-tight:    1.1;
  --lh-snug:     1.22;
  --lh-normal:   1.55;
  --lh-loose:    1.7;

  --tracking-eyebrow: 0.14em;
  --tracking-tight:   -0.01em;
  --tracking-display: -0.015em;

  /* ---------- Space (8-pt) ---------- */
  --s-1:  4px;  --s-2:  8px;  --s-3: 12px;  --s-4: 16px;
  --s-5: 20px;  --s-6: 24px;  --s-7: 32px;  --s-8: 40px;
  --s-9: 56px;  --s-10: 72px; --s-11: 96px; --s-12: 128px;

  --section-y: 64px;

  /* ---------- Layout ---------- */
  --container: 1200px;
  --gutter:    20px;
  --col-gap:   24px;

  /* ---------- Motion ---------- */
  --ease:      cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-fast:  180ms;
  --dur-base:  300ms;

  /* ---------- Border ---------- */
  --hairline:        1px solid var(--c-rule);
  --hairline-strong: 1px solid var(--c-rule-strong);
  --radius-sm:       2px;
  --radius-md:       4px;
}

@media (min-width: 720px) {
  :root {
    --fs-h3: 25px; --fs-h2: 32px; --fs-h1: 46px; --fs-hero: 58px;
    --fs-lede: 19px; --section-y: 96px; --gutter: 36px; --col-gap: 28px;
  }
}
@media (min-width: 1024px) {
  :root {
    --fs-body: 17px; --fs-lede: 20px; --fs-h3: 26px; --fs-h2: 38px;
    --fs-h1: 56px; --fs-hero: 70px; --section-y: 120px; --gutter: 48px; --col-gap: 40px;
  }
}
@media (min-width: 1440px) {
  :root {
    --fs-h1: 64px; --fs-hero: 82px; --section-y: 144px; --gutter: 64px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root { --dur-fast: 1ms; --dur-base: 1ms; }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "kern";
}
::selection { background: var(--c-petrol); color: var(--c-paper); }
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }

/* ---------- Layout primitives ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--bone { background: var(--c-paper-2); }
.section--deep { background: var(--c-paper-3); }
.section--petrol { background: var(--c-petrol); color: var(--c-paper); }
.section--petrol-soft { background: var(--c-petrol-soft); }
.divider { height: 1px; background: var(--c-rule); border: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 { margin: 0; font-weight: 500; color: var(--c-ink); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

.h-hero {
  font-family: var(--font-serif); font-size: var(--fs-hero);
  line-height: var(--lh-tight); font-weight: 400;
  letter-spacing: var(--tracking-display); color: var(--c-petrol);
  text-wrap: balance;
  font-variation-settings: "opsz" 60;
  font-feature-settings: "kern", "liga";
}
.h-1 {
  font-family: var(--font-serif); font-size: var(--fs-h1);
  line-height: var(--lh-tight); font-weight: 400;
  letter-spacing: var(--tracking-display); color: var(--c-petrol);
  text-wrap: balance;
  font-variation-settings: "opsz" 48;
  font-feature-settings: "kern", "liga";
}
.h-2 {
  font-family: var(--font-serif); font-size: var(--fs-h2);
  line-height: var(--lh-snug); font-weight: 500;
  letter-spacing: var(--tracking-tight); color: var(--c-petrol);
  text-wrap: balance;
  font-variation-settings: "opsz" 32;
}
.h-3 {
  font-family: var(--font-serif); font-size: var(--fs-h3);
  line-height: var(--lh-snug); font-weight: 500; color: var(--c-petrol);
  font-variation-settings: "opsz" 24;
}
.h-4 {
  font-family: var(--font-sans); font-size: var(--fs-h4);
  line-height: 1.35; font-weight: 600; letter-spacing: -0.005em; color: var(--c-ink);
}

.lede {
  font-family: var(--font-sans); font-size: var(--fs-lede);
  line-height: 1.55; color: var(--c-ink-2); font-weight: 400; text-wrap: pretty;
}

.body { font-size: var(--fs-body); line-height: var(--lh-normal); color: var(--c-ink); }
.body-2 { font-size: var(--fs-body); line-height: var(--lh-normal); color: var(--c-ink-2); }
.meta { font-size: var(--fs-meta); color: var(--c-ink-3); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-size: var(--fs-eyebrow);
  font-weight: 500; letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase; color: var(--c-petrol);
}
.eyebrow::before { content: ""; display: inline-block; width: 24px; height: 1px; background: var(--c-petrol); }
.eyebrow--ink { color: var(--c-ink); }
.eyebrow--ink::before { background: var(--c-ink); }
.eyebrow--paper { color: var(--c-paper); }
.eyebrow--paper::before { background: var(--c-paper); }

.section--petrol .h-hero,
.section--petrol .h-1,
.section--petrol .h-2,
.section--petrol .h-3,
.section--petrol .h-4 { color: var(--c-paper); }
.section--petrol .lede,
.section--petrol .body-2 { color: rgba(255,255,255,0.82); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: var(--hairline);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: var(--s-6);
}

/* Brand lockup. Swap to a real logo by replacing the markup with
   <img class="brand__img" src="...">, flex/gap rules already accept it. */
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-serif); font-size: 20px; font-weight: 500;
  color: var(--c-petrol); letter-spacing: -0.01em; line-height: 1; white-space: nowrap;
}
.brand__img { height: 22px; width: auto; display: block; }
.brand__category { font-weight: 400; color: var(--c-ink-2); }

.nav { display: none; align-items: center; gap: var(--s-7); }
.nav a {
  font-size: 14px; font-weight: 500; color: var(--c-ink);
  padding: 8px 0; position: relative;
  transition: color var(--dur-fast) var(--ease);
}
.nav a:hover { color: var(--c-petrol); }
.nav a.active { color: var(--c-petrol); }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px; background: var(--c-petrol);
}

/* Filled petrol CTA. Scoped to win specificity vs .nav a cascade. */
.nav .nav-cta,
.drawer .nav-cta,
a.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  letter-spacing: 0; color: var(--c-paper); background: var(--c-petrol);
  padding: 10px 18px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.nav .nav-cta::after,
.drawer .nav-cta::after,
a.nav-cta::after {
  content: "→"; font-family: var(--font-sans); font-weight: 400;
  margin-left: 2px; transition: transform var(--dur-fast) var(--ease);
}
.nav .nav-cta:hover,
.drawer .nav-cta:hover,
a.nav-cta:hover { background: var(--c-petrol-deep); color: var(--c-paper); }
.nav .nav-cta:hover::after,
.drawer .nav-cta:hover::after,
a.nav-cta:hover::after { transform: translateX(2px); }
.nav .nav-cta:focus-visible,
.drawer .nav-cta:focus-visible,
a.nav-cta:focus-visible { outline: 2px solid var(--c-ember); outline-offset: 3px; }

.menu-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 0; color: var(--c-petrol);
}
@media (min-width: 900px) {
  .nav { display: inline-flex; }
  .menu-btn { display: none; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 64px 0 0 0;
  background: var(--c-paper);
  padding: var(--s-7) var(--gutter);
  display: none; flex-direction: column; gap: var(--s-5);
  z-index: 49; border-top: var(--hairline);
}
.drawer.open { display: flex; }
.drawer a {
  font-family: var(--font-serif); font-size: 28px;
  color: var(--c-petrol); padding: 8px 0; border-bottom: var(--hairline);
}
.drawer .nav-cta {
  align-self: flex-start; margin-top: var(--s-5);
  font-family: var(--font-sans); font-size: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; font-size: 15px; font-weight: 500;
  font-family: var(--font-sans); border-radius: 999px;
  transition: all var(--dur-fast) var(--ease);
  border: 1.5px solid transparent; white-space: nowrap;
}
.btn--primary { background: var(--c-petrol); color: var(--c-paper); border-color: var(--c-petrol); }
.btn--primary:hover { background: var(--c-petrol-deep); border-color: var(--c-petrol-deep); }
.btn--ghost { background: transparent; color: var(--c-petrol); border-color: var(--c-petrol); }
.btn--ghost:hover { background: var(--c-petrol); color: var(--c-paper); }
.btn--paper { background: var(--c-paper); color: var(--c-petrol); border-color: var(--c-paper); }
.btn--paper:hover { background: transparent; color: var(--c-paper); border-color: var(--c-paper); }
.btn--ghost-paper { background: transparent; color: var(--c-paper); border-color: rgba(255,255,255,0.4); }
.btn--ghost-paper:hover { border-color: var(--c-paper); }

.link {
  color: var(--c-ember); font-weight: 500; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 1px;
  transition: color var(--dur-fast) var(--ease);
}
.link:hover { color: var(--c-ember-deep); }

.arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--c-petrol); font-weight: 500; font-size: 15px;
  transition: gap var(--dur-fast) var(--ease);
}
.arrow::after { content: "→"; transition: transform var(--dur-fast) var(--ease); }
.arrow:hover { gap: 12px; }

/* ---------- Hero ---------- */
.hero { padding: var(--s-9) 0 var(--s-10); }
.hero__eyebrow { margin-bottom: var(--s-5); }
.hero__title { margin-bottom: var(--s-6); max-width: 16ch; }
.hero__lede { margin-bottom: var(--s-7); max-width: 56ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.hero__below {
  margin-top: var(--s-9); padding-top: var(--s-7);
  border-top: var(--hairline);
  display: grid; grid-template-columns: 1fr; gap: var(--s-6);
}
@media (min-width: 720px) {
  .hero__below { grid-template-columns: repeat(3, 1fr); gap: var(--s-7); }
}
.hero__below .credential { display: flex; flex-direction: column; gap: 6px; }
.hero__below .credential .meta {
  color: var(--c-ink-3); font-size: 13px;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.hero__below .credential .val {
  font-family: var(--font-serif); font-size: 28px;
  line-height: 1.1; color: var(--c-petrol); font-weight: 500;
}
@media (min-width: 1024px) { .hero__below .credential .val { font-size: 36px; } }

/* ---------- Logos band ---------- */
.logos {
  padding: var(--s-7) 0;
  border-top: var(--hairline); border-bottom: var(--hairline);
}
.logos__head {
  text-align: center; margin-bottom: var(--s-6);
  font-size: 12px; letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase; color: var(--c-ink-3);
}
.logos__row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: var(--s-7); row-gap: var(--s-5);
}
.logos__row img {
  height: 26px; width: auto; opacity: 0.55;
  filter: grayscale(100%);
  transition: opacity var(--dur-fast) var(--ease);
}
.logos__row img:hover { opacity: 0.9; }
@media (min-width: 720px) { .logos__row img { height: 30px; } .logos__row { gap: var(--s-9); } }

/* ---------- Section heads ---------- */
.section-head {
  display: grid; grid-template-columns: 1fr; gap: var(--s-4);
  margin-bottom: var(--s-8);
}
.section-head .lede { max-width: 60ch; }
@media (min-width: 900px) {
  .section-head {
    grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
    gap: var(--s-9); align-items: end;
  }
  .section-head .lede { margin-top: 8px; }
}

/* ---------- Cards (frameworks) ---------- */
.cards {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--c-rule);
  border-top: var(--hairline); border-bottom: var(--hairline);
}
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: var(--c-paper); padding: var(--s-7) var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-3);
  transition: background var(--dur-base) var(--ease);
  min-height: 260px;
}
.card:hover { background: var(--c-paper-2); }
.section--bone .card { background: var(--c-paper-2); }
.section--bone .card:hover { background: var(--c-paper); }
.card__num {
  font-family: var(--font-serif); font-size: 20px; font-weight: 500;
  color: var(--c-ink-3); font-feature-settings: "tnum"; letter-spacing: 0.04em;
}
.card__title {
  font-family: var(--font-serif); font-size: 26px; line-height: 1.2;
  font-weight: 500; color: var(--c-petrol); letter-spacing: var(--tracking-tight);
}
.card__desc { color: var(--c-ink-2); font-size: 15px; line-height: 1.6; flex: 1; }
.card__cta {
  color: var(--c-petrol); font-size: 14px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
}
.card__cta::after { content: "→"; }

/* ---------- Splits ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: var(--s-7); }
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 7fr; gap: var(--s-9); align-items: start; }
  .split--reverse > :first-child { order: 2; }
  .split--center { align-items: center; }
}

/* ---------- Pillars ---------- */
.pillars {
  display: grid; grid-template-columns: 1fr;
  border-top: var(--hairline);
}
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar { padding: var(--s-7) var(--s-5) var(--s-7) 0; border-bottom: var(--hairline); }
@media (min-width: 720px) {
  .pillar { padding: var(--s-7) var(--s-7) var(--s-7) 0; border-right: var(--hairline); }
  .pillar:nth-child(2n) { border-right: 0; padding-right: 0; }
}
@media (min-width: 1024px) {
  .pillar { border-right: var(--hairline); padding-right: var(--s-7); }
  .pillar:nth-child(2n) { border-right: var(--hairline); padding-right: var(--s-7); }
  .pillar:last-child { border-right: 0; padding-right: 0; }
}
.pillar__num {
  font-family: var(--font-serif); font-size: 14px;
  color: var(--c-ink-3); margin-bottom: var(--s-4); letter-spacing: 0.06em;
}
.pillar__title {
  font-family: var(--font-serif); font-size: 22px; line-height: 1.25;
  font-weight: 500; color: var(--c-petrol); margin-bottom: var(--s-3);
}
.pillar__desc { font-size: 15px; line-height: 1.6; color: var(--c-ink-2); }

/* ---------- Phases ---------- */
.phases {
  counter-reset: ph;
  display: grid; grid-template-columns: 1fr; gap: var(--s-6);
}
@media (min-width: 720px) { .phases { grid-template-columns: repeat(3, 1fr); gap: var(--s-7); } }
.phase { border-top: 2px solid var(--c-petrol); padding-top: var(--s-5); }
.phase__num {
  font-family: var(--font-serif); font-size: 14px;
  color: var(--c-ink-3); letter-spacing: 0.06em; margin-bottom: var(--s-3);
}
.phase__title {
  font-family: var(--font-serif); font-size: 22px; line-height: 1.25;
  color: var(--c-petrol); font-weight: 500; margin-bottom: var(--s-2);
}
.phase__dur { font-size: 13px; color: var(--c-ink-3); margin-bottom: var(--s-4); letter-spacing: 0.02em; }
.phase__desc { font-size: 15px; color: var(--c-ink-2); line-height: 1.55; }

/* ---------- Quote ---------- */
.quote {
  border-left: 2px solid var(--c-petrol);
  padding: var(--s-2) var(--s-6); margin: var(--s-7) 0; max-width: 56ch;
}
.quote__text {
  font-family: var(--font-serif); font-size: 22px; line-height: 1.4;
  color: var(--c-ink); font-style: italic; font-weight: 400;
}
@media (min-width: 720px) { .quote__text { font-size: 26px; } }
.quote__cite {
  display: block; margin-top: var(--s-4); font-size: 13px; font-style: normal;
  color: var(--c-ink-3); letter-spacing: 0.04em; text-transform: uppercase;
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--c-petrol); color: var(--c-paper); }
.cta-band .h-1 { color: var(--c-paper); max-width: 22ch; }
.cta-band .lede { color: rgba(255,255,255,0.85); max-width: 56ch; margin-top: var(--s-5); }
.cta-band__row { margin-top: var(--s-7); display: flex; gap: var(--s-3); flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-petrol-deep);
  color: rgba(255,255,255,0.82);
  padding: var(--s-10) 0 var(--s-7);
  font-size: 14px;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-7); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s-7); } }
.footer-brand .brand { color: var(--c-paper); }
.footer-brand p { color: rgba(255,255,255,0.65); margin-top: var(--s-3); max-width: 32ch; line-height: 1.55; }
.footer-col h5 {
  font-size: 12px; font-weight: 500;
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase;
  color: var(--c-paper); margin: 0 0 var(--s-5) 0;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--s-3); }
.footer-col a { color: rgba(255,255,255,0.65); transition: color var(--dur-fast) var(--ease); }
.footer-col a:hover { color: var(--c-paper); }
.footer-bottom {
  margin-top: var(--s-9); padding-top: var(--s-5);
  border-top: 1px solid var(--c-rule-onpetrol);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: var(--s-3);
  color: rgba(255,255,255,0.5); font-size: 13px;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--c-paper); }

/* ---------- Diagram (case feature) ---------- */
.diagram {
  background: var(--c-petrol); color: var(--c-paper);
  padding: var(--s-9) var(--s-7);
  display: flex; align-items: center; justify-content: center;
  min-height: 260px; position: relative; overflow: hidden;
}
.diagram::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(255,255,255,0.08), transparent 35%),
    radial-gradient(circle at 82% 72%, rgba(176,73,44,0.18), transparent 40%);
}
.diagram > * { position: relative; z-index: 1; }

/* ---------- Skip link / a11y ---------- */
.skip {
  position: absolute; left: -9999px;
  padding: 12px 16px; background: var(--c-petrol); color: var(--c-paper); z-index: 999;
}
.skip:focus { left: 16px; top: 16px; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--c-ember); outline-offset: 3px; border-radius: 2px;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Utilities (replace inline style="..." patterns) ---------- */
.section-head .h-1 { margin-top: var(--s-3); }
.cta-band .h-1 { margin-top: var(--s-4); }
.mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mb-5 { margin-bottom: var(--s-5); }
.mb-6 { margin-bottom: var(--s-6); }
.max-prose { max-width: 60ch; }
.max-prose-56 { max-width: 56ch; }
.max-prose-64 { max-width: 64ch; }
.btn-row { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.center-row { display: flex; justify-content: center; }
.eyebrow--inline { display: inline-flex; }

/* ---------- Breadcrumbs ---------- */
.crumbs {
  font-size: 13px; color: var(--c-ink-3);
  margin-bottom: var(--s-7); letter-spacing: 0.02em;
}
.crumbs a { color: var(--c-ink-3); }
.crumbs a:hover { color: var(--c-petrol); }

/* ---------- Headshot ---------- */
.headshot {
  width: 100%; max-width: 360px;
  aspect-ratio: 4/5; object-fit: cover;
  border-radius: 2px; background: var(--c-paper-2);
  filter: saturate(0.92);
}

/* ---------- Stats row (subpage scale) ---------- */
.stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6);
}
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); gap: var(--s-7); } }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat__val {
  font-family: var(--font-serif); font-size: 40px; line-height: 1;
  color: var(--c-petrol); font-weight: 500; letter-spacing: -0.015em;
}
@media (min-width: 720px) { .stat__val { font-size: 56px; } }
.stat__label { font-size: 13px; color: var(--c-ink-2); line-height: 1.45; max-width: 24ch; }
.section--petrol .stat__val { color: var(--c-paper); }
.section--petrol .stat__label { color: rgba(255,255,255,0.78); }

/* ---------- Timeline ---------- */
.timeline { display: flex; flex-direction: column; }
.t-item {
  display: grid; grid-template-columns: 1fr; gap: var(--s-2);
  padding: var(--s-6) 0; border-bottom: var(--hairline);
}
.t-item:first-child { border-top: var(--hairline); }
.t-year { font-family: var(--font-serif); font-size: 18px; color: var(--c-ink-3); letter-spacing: 0.04em; }
.t-co { font-family: var(--font-serif); font-size: 24px; color: var(--c-petrol); font-weight: 500; line-height: 1.2; }
.t-role { font-size: 14px; color: var(--c-ink-3); }
.t-desc { font-size: 15px; color: var(--c-ink-2); line-height: 1.55; max-width: 60ch; }
@media (min-width: 720px) {
  .t-item { grid-template-columns: 120px 1fr; gap: var(--s-7); padding: var(--s-7) 0; align-items: baseline; }
}

/* ---------- Row list (frameworks index) ---------- */
.row-list { border-top: var(--hairline-strong); }
.row {
  display: grid; grid-template-columns: 1fr;
  gap: var(--s-3); padding: var(--s-7) 0;
  border-bottom: var(--hairline);
  transition: background var(--dur-fast) var(--ease);
}
.row:hover { background: var(--c-paper-2); }
.row__num { font-family: var(--font-serif); font-size: 18px; color: var(--c-ink-3); letter-spacing: 0.04em; }
.row__title {
  font-family: var(--font-serif); font-size: 26px; font-weight: 500;
  color: var(--c-petrol); line-height: 1.2; letter-spacing: var(--tracking-tight);
}
.row__desc { color: var(--c-ink-2); font-size: 15px; line-height: 1.55; max-width: 60ch; }
.row__cta { color: var(--c-petrol); font-size: 14px; font-weight: 500; }
.row__cta::after { content: "→"; margin-left: 6px; }
@media (min-width: 900px) {
  .row { grid-template-columns: 64px minmax(0, 4fr) minmax(0, 5fr) auto; gap: var(--s-7); align-items: baseline; padding: var(--s-8) 0; }
  .row__title { font-size: 32px; }
}
@media (min-width: 1024px) {
  .row { grid-template-columns: 88px minmax(0, 4fr) minmax(0, 6fr) auto; gap: var(--s-8); padding: var(--s-9) 0; }
  .row__title { font-size: 36px; line-height: 1.15; letter-spacing: -0.02em; }
  .row__desc { font-size: 16px; line-height: 1.6; max-width: 60ch; }
  .row__num { font-size: 20px; }
}
@media (min-width: 1440px) {
  .row__title { font-size: 40px; }
}

/* ---------- When/when-not (framework detail) ---------- */
.when-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--s-6);
}
@media (min-width: 720px) { .when-grid { grid-template-columns: 1fr 1fr; gap: var(--s-7); } }
.when {
  background: var(--c-paper); border: var(--hairline);
  padding: var(--s-7) var(--s-6);
}
.when h4 { font-family: var(--font-serif); font-size: 22px; color: var(--c-petrol); font-weight: 500; margin-bottom: var(--s-5); }
.when ul { list-style: none; padding: 0; margin: 0; }
.when li {
  font-size: 15px; color: var(--c-ink-2);
  padding: 8px 0 8px 24px;
  position: relative; line-height: 1.5;
}
.when li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 12px; height: 1px; background: var(--c-petrol);
}
.when--no h4 { color: var(--c-ink-3); }
.when--no li::before { background: var(--c-ink-3); }
@media (min-width: 1024px) {
  .when { padding: var(--s-9) var(--s-8); }
  .when h4 { font-size: 26px; margin-bottom: var(--s-6); }
  .when li { font-size: 16px; padding: 10px 0 10px 28px; }
  .when li::before { width: 16px; top: 18px; }
}

/* ---------- Days (validation sprint diagram) ---------- */
.days { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.day {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  font-size: 13px; color: rgba(255,255,255,0.85);
}
.day--active { background: var(--c-ember); border-color: var(--c-ember); color: var(--c-paper); }
@media (min-width: 1024px) { .day { width: 48px; height: 48px; font-size: 14px; } }

/* ---------- FAQ accordion ---------- */
.faq { border-top: var(--hairline-strong); }
.faq details { border-bottom: var(--hairline); padding: var(--s-6) 0; }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: baseline;
  gap: var(--s-5);
  font-family: var(--font-serif); font-size: 22px;
  font-weight: 500; color: var(--c-petrol); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-sans); font-size: 24px; font-weight: 300;
  color: var(--c-ink-3);
  transition: transform var(--dur-fast) var(--ease);
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--c-petrol); }
.faq details > p {
  margin-top: var(--s-4); color: var(--c-ink-2);
  font-size: 16px; line-height: 1.65; max-width: 64ch;
}
.faq details > p a { color: var(--c-ember); border-bottom: 1px solid currentColor; }
@media (min-width: 1024px) {
  .faq summary { font-size: 26px; line-height: 1.3; gap: var(--s-7); }
  .faq details { padding: var(--s-7) 0; }
  .faq details > p { font-size: 17px; line-height: 1.7; max-width: 68ch; margin-top: var(--s-5); }
}

/* ---------- Interior-page hero modifier ---------- */
.hero-h {
  margin: var(--s-5) 0 var(--s-6);
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.08; letter-spacing: -0.015em;
  font-variation-settings: "opsz" 60; font-weight: 400;
}
@media (min-width: 720px) { .hero-h { margin: var(--s-6) 0 var(--s-7); } }
@media (min-width: 1024px) { .hero-h { margin: var(--s-7) 0 var(--s-8); line-height: 1.06; letter-spacing: -0.018em; } }
@media (min-width: 1440px) { .hero-h { margin: var(--s-8) 0 var(--s-9); letter-spacing: -0.02em; } }

/* =========================================================
   TABLET (720, 1023px), composure layer
   ========================================================= */
@media (min-width: 720px) and (max-width: 1023px) {
  .hero { padding: var(--s-10) 0 var(--s-11); }
  .hero__title { max-width: 14ch; }
  .hero__lede { max-width: 52ch; }
  .section-head { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: var(--s-8); align-items: end; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card { padding: var(--s-8) var(--s-7); min-height: 280px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .phases { grid-template-columns: repeat(3, 1fr); gap: var(--s-7); }
  .when-grid { gap: var(--s-7); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .h-hero { letter-spacing: -0.015em; }
}

/* =========================================================
   DESKTOP (1024px+), premium editorial layer
   ========================================================= */
@media (min-width: 1024px) {
  .hero { padding: var(--s-11) 0 var(--s-12); }
  .hero .container > .eyebrow.hero__eyebrow { display: inline-flex; }
  .hero__title { max-width: 16ch; letter-spacing: -0.025em; }
  .hero__lede { max-width: 56ch; font-size: var(--fs-lede); }

  .h-hero { letter-spacing: -0.02em; line-height: 1.06; }
  .h-1 { letter-spacing: -0.018em; }

  .section-head {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--s-10); align-items: end; margin-bottom: var(--s-9);
  }

  .cards { grid-template-columns: repeat(4, 1fr); }
  .card { padding: var(--s-8) var(--s-7); min-height: 320px; gap: var(--s-4); }
  .card__title { font-size: 28px; line-height: 1.18; }
  .card__num { font-size: 22px; }

  .pillars { grid-template-columns: repeat(4, 1fr); }
  .pillar { padding: var(--s-8) var(--s-7) var(--s-8) 0; }
  .pillar__title { font-size: 24px; line-height: 1.22; }
  .pillar__desc { font-size: 16px; line-height: 1.65; }

  .split { grid-template-columns: 5fr 7fr; gap: var(--s-10); align-items: start; }
  .split--center { align-items: center; }

  .phases { grid-template-columns: repeat(3, 1fr); gap: var(--s-9); }
  .phase { padding-top: var(--s-6); border-top-width: 2px; }
  .phase__title { font-size: 26px; line-height: 1.2; margin-bottom: var(--s-3); }
  .phase__desc { font-size: 16px; line-height: 1.65; max-width: 38ch; }

  .quote { padding: var(--s-3) var(--s-7); margin: var(--s-9) 0; max-width: 72ch; }
  .quote__text { font-size: 32px; line-height: 1.35; }

  .cta-band { padding: var(--s-12) 0; }
  .cta-band .h-1 { max-width: 20ch; }
  .cta-band__row { margin-top: var(--s-8); }

  .site-header__inner { height: 80px; }
  .nav { gap: var(--s-8); }
  .nav a { font-size: 15px; }
  .brand { font-size: 24px; }

  .logos { padding: var(--s-9) 0; }
  .logos__row { gap: var(--s-10); }
  .logos__row img { height: 32px; }

  .hero__below { gap: var(--s-9); padding-top: var(--s-8); margin-top: var(--s-10); }
  .hero__below .credential .val { font-size: 40px; line-height: 1.05; }

  .diagram { min-height: 360px; padding: var(--s-10) var(--s-8); }

  .site-footer { padding: var(--s-12) 0 var(--s-8); }
  .footer-grid { gap: var(--s-9); }
}

/* =========================================================
   WIDE (1440px+), top-1% breathing room
   ========================================================= */
@media (min-width: 1440px) {
  .container { max-width: 1320px; }
  .hero__title { max-width: 18ch; }
  .h-hero { letter-spacing: -0.022em; }
  .quote__text { font-size: 36px; }
  .card { padding: var(--s-9) var(--s-7); min-height: 340px; }
  .card__title { font-size: 30px; }
  .cta-band { padding: 160px 0; }
  .section-head { gap: var(--s-11); margin-bottom: var(--s-10); }
}
