/* ==========================================================================
   yaacomm website — proof of concept
   Alle merkwaarden staan als variabelen bovenaan. Pas hier aan, niet in de pagina's.
   ========================================================================== */

:root {
  /* Kleuren */
  --navy: #00294D;
  --navy-90: #1A3F5F;
  --cyan: #00C6EC;
  --coral: #E04B32;          /* alleen klein accent */
  --blue-text: #0E7E9C;      /* tekstveilig blauw (contrast AA op wit) */
  --cyan-light: #E6F8FD;
  --grey-light: #F4F7FA;
  --line: #DDE4EB;
  --text: #00294D;
  --text-muted: #4A6075;
  --white: #FFFFFF;

  /* Typografie */
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;

  /* Vormregel: drie kleine hoeken, één grote hoek (rechtsboven) */
  --r-s: 6px;
  --r-l: 40px;
  --shape: var(--r-s) var(--r-l) var(--r-s) var(--r-s);
  --shape-sm: var(--r-s) 20px var(--r-s) var(--r-s);

  /* Maten */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tint { background: var(--grey-light); }
.section--cyan { background: var(--cyan-light); }
.section:not(.section--tint):not(.section--cyan) + .section:not(.section--tint):not(.section--cyan) { padding-top: 0; }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.06; font-weight: 300; }
h1 strong, h2 strong { font-weight: 600; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; font-weight: 400; }
h3 { font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: 18px; font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1em; }
.lead { font-size: 20px; color: var(--text-muted); max-width: 36em; }
.muted { color: var(--text-muted); }
.small { font-size: 15px; }
.eyebrow {
  font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: .02em;
  color: var(--blue-text); margin: 0 0 16px; display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--cyan); border-radius: 2px 5px 2px 2px; }
.section-head { max-width: 760px; margin-bottom: 48px; }

/* ---------- Knoppen en links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 16px; text-decoration: none;
  padding: 14px 24px; border-radius: var(--r-s) 16px var(--r-s) var(--r-s);
  border: 1.5px solid var(--navy); transition: background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-90); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--cyan-light); }
.btn--light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--light:hover { background: var(--cyan-light); border-color: var(--cyan-light); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.link-arrow {
  font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--navy);
  text-decoration: none; display: inline-flex; gap: 6px; align-items: center;
  border-bottom: 1.5px solid var(--cyan); padding-bottom: 2px;
}
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-family: var(--font-head); font-size: 15px; font-weight: 500; text-decoration: none; color: var(--navy); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--cyan); }
.nav .btn { color: var(--white); border-bottom: 1.5px solid var(--navy); padding: 11px 20px; }
.nav .btn:hover { border-bottom-color: var(--navy-90); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* ---------- Kruimelpad ---------- */
.breadcrumb { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero--simple .hero__grid { grid-template-columns: 1fr; max-width: 860px; }

/* ---------- Beeld-placeholders ---------- */
.ph {
  position: relative; background: var(--cyan-light); border-radius: var(--shape);
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 220px; overflow: hidden; color: var(--blue-text);
  font-family: var(--font-head); font-size: 14px; font-weight: 500; padding: 24px;
}
.ph::before { /* rustig structuurmotief: raster */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--white) 1px, transparent 1px), linear-gradient(90deg, var(--white) 1px, transparent 1px);
  background-size: 40px 40px; opacity: .7;
}
.ph span { position: relative; background: var(--white); padding: 6px 14px; border-radius: 999px; }
.ph--tall { min-height: 440px; }
.ph--med { min-height: 320px; }
.ph--sq { aspect-ratio: 1; min-height: 0; }
.ph--navy { background: var(--navy); color: var(--white); }
.ph--navy::before { background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); }
.ph--navy span { background: rgba(255,255,255,.12); }

/* ---------- Statistieken ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 40px; border-top: 1px solid var(--line); margin-top: clamp(48px, 6vw, 80px); }
.stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat__num { font-family: var(--font-head); font-size: clamp(32px, 3.4vw, 44px); font-weight: 300; line-height: 1.1; color: var(--navy); }
.stat__num em { font-style: normal; color: var(--blue-text); }
.stat__label { font-size: 15px; color: var(--text-muted); margin-top: 8px; max-width: 16em; }

/* ---------- Grids en kaarten ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--top { align-items: start; }
.split--wide { grid-template-columns: 1.4fr 1fr; }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--shape-sm);
  padding: 28px; display: flex; flex-direction: column; gap: 8px;
  transition: border-color .2s, transform .2s;
}
a.card { text-decoration: none; }
a.card:hover { border-color: var(--navy); transform: translateY(-2px); }
.card p { margin: 0; color: var(--text-muted); font-size: 16px; }
.card .meta { margin-top: auto; padding-top: 16px; font-size: 14px; font-family: var(--font-head); font-weight: 600; color: var(--blue-text); }
.card--tint { background: var(--grey-light); border-color: transparent; }
.card--quote h3 { font-weight: 500; font-size: 21px; }
.card--quote h3::before { content: "“"; color: var(--cyan); }
.card--quote h3::after { content: "”"; color: var(--cyan); }

.icon {
  width: 44px; height: 44px; border-radius: var(--r-s) 14px var(--r-s) var(--r-s);
  background: var(--cyan-light); display: grid; place-items: center; margin-bottom: 12px; color: var(--navy);
}
.icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Flow (3 fases) ---------- */
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; position: relative; }
.phase { border: 1px solid var(--line); border-radius: var(--shape-sm); padding: 28px; background: var(--white); position: relative; display: flex; flex-direction: column; }
.phase__num { width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-size: 14px; margin-bottom: 16px; }
.phase p { color: var(--text-muted); font-size: 16px; }
.phase .meta { margin-top: auto; font-size: 14px; font-family: var(--font-head); font-weight: 600; color: var(--blue-text); }
.phase:not(:last-child)::after { content: "→"; position: absolute; right: -16px; top: 50%; transform: translateY(-50%); color: var(--blue-text); font-size: 14px; background: var(--white); z-index: 1; }
.assist-band {
  grid-column: 2 / 4; margin-top: 12px; padding: 22px 28px; border-radius: var(--shape-sm);
  background: var(--cyan-light); border-left: 4px solid var(--cyan);
}
.assist-band h3 { margin-bottom: 4px; }
.assist-band p { margin: 0; font-size: 16px; color: var(--text-muted); }
.dashboard-bar {
  margin-top: 20px; background: var(--navy); color: var(--white); border-radius: var(--shape-sm);
  padding: 20px 28px; font-family: var(--font-head); font-weight: 500; text-align: center;
}
.loop { text-align: center; margin-top: 16px; font-size: 15px; color: var(--text-muted); }
.loop::before { content: "↺ "; color: var(--blue-text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-family: var(--font-head); font-weight: 500; background: var(--white); text-decoration: none; color: var(--navy); }
button.chip { cursor: pointer; }
.chip.is-active, button.chip:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---------- Lijst met lijnen ---------- */
.line-list { list-style: none; padding: 0; margin: 32px 0 0; }
.line-list li { border-top: 1px solid var(--line); padding: 18px 0; }
.line-list li:last-child { border-bottom: 1px solid var(--line); }
.line-list h4 { margin: 0 0 2px; }
.line-list p { margin: 0; color: var(--text-muted); font-size: 16px; }

/* ---------- Voor wie (interactief) ---------- */
.picker { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; }
.picker__orgs { display: flex; flex-direction: column; gap: 12px; }
.org {
  text-align: left; background: var(--grey-light); border: 1.5px solid transparent; border-radius: var(--shape-sm);
  padding: 20px 22px; cursor: pointer; font: inherit; color: inherit; transition: .2s;
}
.org h3 { margin: 0 0 2px; font-size: 20px; }
.org p { margin: 0; font-size: 15px; color: var(--text-muted); }
.org.is-active { background: var(--white); border-color: var(--navy); }
.org:hover { border-color: var(--navy); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tile {
  border: 1px solid var(--line); border-radius: var(--r-s) 14px var(--r-s) var(--r-s); padding: 16px; min-height: 92px;
  display: flex; flex-direction: column; justify-content: space-between; font-family: var(--font-head); font-weight: 600; font-size: 15px;
  transition: opacity .25s, border-color .25s, background .25s;
}
.tile::before { content: ""; width: 14px; height: 14px; border-radius: 2px 6px 2px 2px; background: var(--line); transition: background .25s; }
.tile.is-on { border-color: var(--navy); }
.tile.is-on::before { background: var(--cyan); }
.tile.is-off { opacity: .35; }
.tile--dash.is-on { background: var(--navy); color: var(--white); }
.picker__result { grid-column: 2; background: var(--cyan-light); border-radius: var(--shape-sm); padding: 20px 24px; }
.picker__result p { margin: 0 0 6px; font-weight: 600; }

/* ---------- Logo's ---------- */
.logo-ph { background: var(--grey-light); border-radius: var(--r-s); height: 72px; display: grid; place-items: center; font-size: 14px; color: var(--text-muted); }
.logo-ph--line { background: var(--white); border: 1px solid var(--line); }

/* ---------- Citaat ---------- */
.quote { font-family: var(--font-head); font-size: clamp(24px, 2.6vw, 32px); font-weight: 400; line-height: 1.3; color: var(--navy); margin: 0 0 20px; letter-spacing: -0.01em; }
.quote::before { content: "“"; color: var(--cyan); }
.quote::after { content: "”"; color: var(--cyan); }
.quote-by { color: var(--text-muted); font-size: 16px; }
.label { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-text); margin-bottom: 12px; }

/* ---------- Stappen ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.step { padding: 24px 20px 0 0; border-top: 2px solid var(--line); position: relative; }
.step::before { content: ""; position: absolute; top: -2px; left: 0; width: 40px; height: 2px; background: var(--cyan); }
.step__n { font-family: var(--font-head); font-size: 14px; color: var(--blue-text); font-weight: 600; }
.step h3 { margin-top: 6px; font-size: 20px; }
/* trap: groeisymbool */
.stair { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; align-items: end; height: 120px; margin-bottom: 0; }
.stair i { display: block; background: var(--cyan-light); border-radius: var(--r-s) 14px 0 0; }
.stair i:last-child { background: var(--cyan); }

/* ---------- Matrix (fondsen) ---------- */
.matrix { display: grid; grid-template-columns: 160px 1fr 1fr; gap: 12px; }
.matrix > div { padding: 20px; border-radius: var(--r-s); }
.matrix .mh { font-family: var(--font-head); font-weight: 600; font-size: 15px; padding: 8px 20px; }
.matrix .mc { background: var(--grey-light); color: var(--text-muted); font-size: 16px; }

/* ---------- Schema (aansluiting) ---------- */
.chain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.chain .card { position: relative; text-align: left; }
.chain .card:not(:last-child)::after { content: "→"; position: absolute; right: -21px; top: 50%; transform: translateY(-50%); color: var(--blue-text); }
.chain .card--hl { background: var(--navy); border-color: var(--navy); }
.chain .card--hl h4, .chain .card--hl p { color: var(--white); }

/* hub (koppelingen) */
.hub { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.hub__core { width: 180px; height: 180px; border-radius: var(--shape); background: var(--navy); color: var(--white); display: grid; place-items: center; text-align: center; font-family: var(--font-head); font-weight: 600; padding: 20px; }
.hub__col { display: flex; flex-direction: column; gap: 12px; }
.hub__col .chip { text-align: center; padding: 12px; font-size: 15px; }

/* ---------- Sub-navigatie (platform) ---------- */
.subnav { position: sticky; top: 76px; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 28px; overflow-x: auto; height: 56px; align-items: center; }
.subnav a { white-space: nowrap; font-family: var(--font-head); font-size: 15px; font-weight: 500; text-decoration: none; color: var(--text-muted); }
.subnav a:hover { color: var(--navy); }

/* ---------- Keuzehulp ---------- */
.quiz { background: var(--white); border-radius: var(--shape); padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); }
.quiz__progress { font-size: 14px; color: var(--blue-text); font-family: var(--font-head); font-weight: 600; margin-bottom: 8px; }
.quiz__bar { height: 4px; background: var(--grey-light); border-radius: 4px; margin-bottom: 28px; }
.quiz__bar i { display: block; height: 100%; background: var(--cyan); border-radius: 4px; transition: width .3s; }
.quiz__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.quiz__opts button { text-align: left; padding: 18px 20px; border: 1.5px solid var(--line); border-radius: var(--shape-sm); background: var(--white); font: inherit; font-weight: 600; color: var(--navy); cursor: pointer; }
.quiz__opts button:hover { border-color: var(--navy); background: var(--cyan-light); }

/* ---------- Demo-widget ---------- */
.demo-widget { background: var(--white); border-radius: var(--shape); border: 1px solid var(--line); overflow: hidden; }
.demo-widget__bar { background: var(--navy); color: var(--white); padding: 16px 20px; font-family: var(--font-head); font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.demo-widget__bar small { font-weight: 400; opacity: .7; }
.demo-widget__body { padding: 20px; }
.demo-widget input { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-s); font: inherit; }
.demo-widget input:focus { border-color: var(--cyan); outline: none; }
.demo-results { list-style: none; padding: 0; margin: 16px 0 0; }
.demo-results li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; }
.demo-results b { font-family: var(--font-head); display: block; font-size: 15px; }
.demo-results mark { background: var(--cyan-light); color: inherit; }

/* ---------- Filter / artikelen ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 32px; }
.filter__label { font-size: 15px; color: var(--text-muted); margin-right: 4px; }
.post .ph { min-height: 200px; margin-bottom: 16px; }
.post__meta { font-size: 13px; font-family: var(--font-head); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-text); }
.post h3 { font-size: 20px; margin-top: 6px; }
.post { text-decoration: none; display: block; }
.post:hover h3 { text-decoration: underline; text-decoration-color: var(--cyan); text-underline-offset: 4px; }
.post.is-hidden, .case.is-hidden { display: none; }

/* ---------- Formulieren ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-size: 14px; font-weight: 600; }
.field label small { font-weight: 400; color: var(--text-muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--r-s); background: var(--white); color: var(--navy); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); outline: none; }
.form-note { grid-column: 1 / -1; font-size: 14px; color: var(--text-muted); }
.form-ok { display: none; background: var(--cyan-light); border-radius: var(--shape-sm); padding: 20px 24px; font-weight: 600; }
.inline-form { display: flex; gap: 12px; max-width: 520px; }
.inline-form input { flex: 1; font: inherit; padding: 13px 16px; border: 1.5px solid transparent; border-radius: var(--r-s); }

/* ---------- Contact-CTA ---------- */
.cta-wrap { padding: var(--section) 0; }
.cta {
  background: var(--navy); color: var(--white); border-radius: var(--shape);
  padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.cta::after { /* kleur-vormmoment, zoals het logo-blokje */
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px;
  background: var(--cyan); border-radius: var(--r-l) var(--r-s) var(--r-s) var(--r-s); opacity: .95;
}
.cta h2 { color: var(--white); }
.cta p { color: rgba(255,255,255,.8); margin: 0; }
.cta__action { position: relative; z-index: 1; }
.cta__action p { margin-top: 14px; font-size: 16px; }
.cta__action a.tel { color: var(--white); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 72px 0 32px; font-size: 16px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer__grid img { height: 44px; width: auto; }
.site-footer h4 { color: var(--white); font-size: 15px; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 56px; padding-top: 24px; font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- Melding 'pagina volgt' ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--navy); color: var(--white); padding: 14px 22px; border-radius: var(--shape-sm); font-size: 15px; opacity: 0; pointer-events: none; transition: .25s; z-index: 100; }
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }
.poc-banner { background: var(--cyan-light); color: var(--navy); font-size: 13px; text-align: center; padding: 6px 12px; font-family: var(--font-head); }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }

/* ---------- Responsief ---------- */
@media (max-width: 1024px) {
  .grid--4, .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .picker { grid-template-columns: 1fr; }
  .picker__orgs { flex-direction: row; overflow-x: auto; }
  .org { min-width: 220px; }
  .picker__result { grid-column: 1; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chain .card::after { display: none; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 76px 0 auto 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line); display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; justify-content: center; }
  .hero__grid, .split, .split--wide, .cta, .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .phase:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -18px; transform: translateX(50%); }
  .assist-band { grid-column: 1; }
  .hub { grid-template-columns: 1fr; justify-items: center; }
  .hub__col { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .matrix { grid-template-columns: 1fr 1fr; }
  .matrix .mh:first-child { display: none; }
  .form, .quiz__opts { grid-template-columns: 1fr; }
  .ph--tall { min-height: 280px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .grid--6, .tiles, .stats, .steps, .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .grid--4:has(.logo-ph) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr; }
  .inline-form { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.post .ph--tall { min-height: 380px; margin: 0; }
