/* PINE redesign concept
   Research-driven choices: body text at a comfortable reading size (not oversized/bold),
   generous side margins, clear heading hierarchy, short text blocks, purple brand lead. */

:root {
  --purple: #5b3a96;
  --purple-dark: #3f2670;
  --purple-tint: #f3effa;
  --navy: #1c2a4a;
  --ink: #2a3247;
  --muted: #5a6378;
  --line: #e4e1ec;
  --bg: #fdfcfe;
  --tint: #f6f4f9;
  --blue: #4f5d95;
  --blue-tint: #eef0f6;
  --green: #6e6491;
  --green-tint: #f1eff6;
  --yellow: #b39256;
  --yellow-tint: #f6f1e7;
  --red: #985070;
  --red-tint: #f6eef2;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(28, 42, 74, .06), 0 6px 20px rgba(28, 42, 74, .06);
  --wrap: 1160px;
  --font-body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--purple); text-underline-offset: 3px; }
a:hover { color: var(--purple-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; color: #fff; }

.concept-bar { background: var(--navy); color: #e6e9f2; font-size: .85rem; text-align: center; padding: 8px 16px; }
.concept-bar a { color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: .7em 1.2em; border-radius: 10px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-lg { font-size: 1.02rem; padding: .85em 1.4em; }
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--purple); border-color: var(--purple); }
.btn-ghost:hover { background: var(--purple-tint); }
.btn-light { background: #fff; color: var(--purple-dark); }
.btn-light:hover { background: var(--purple-tint); color: var(--purple-dark); }

.eyebrow { font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--purple); margin-bottom: .6em; }
.eyebrow-light { color: #cdbff0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(253, 252, 254, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--purple); flex-shrink: 0; white-space: nowrap; }
.brand-mark { width: 36px; height: 36px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-head); font-size: 1.35rem; color: var(--navy); letter-spacing: .02em; }
.brand-text small { font-size: .68rem; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.site-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { color: var(--ink); text-decoration: none; font-size: .95rem; white-space: nowrap; }
.site-nav ul a:hover { color: var(--purple); text-decoration: underline; }
.nav-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.nav-actions a { white-space: nowrap; }
.link-quiet { font-size: .95rem; font-weight: 700; text-decoration: none; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 24px; height: 2px; background: var(--navy); position: relative; border-radius: 2px; }
.bars::before, .bars::after { content: ""; position: absolute; }
.bars::before { top: -7px; } .bars::after { top: 7px; }

/* Switch to the menu button before the full header runs out of room (it needs ~1,090px) */
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 16px 20px; gap: 12px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .link-quiet { padding: 8px 4px; }
}

/* Hero */
.hero { position: relative; isolation: isolate; padding: 72px 0 64px; background: linear-gradient(180deg, var(--purple-tint) 0%, var(--bg) 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-copy h1 { text-wrap: balance; }
.lead { font-size: 1.2rem; color: var(--ink); max-width: 36em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: .95rem; }
.trust strong { color: var(--navy); font-family: var(--font-head); }

.hero-quote { position: relative; margin: 0; background: #fff; border-radius: 20px; padding: 34px 30px 26px; box-shadow: var(--shadow); }
.hero-quote .blob { position: absolute; z-index: -1; inset: -40px -60px auto auto; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #ddd2f1 0 45%, transparent 46%), radial-gradient(circle at 70% 70%, #c3b3e3 0 40%, transparent 41%); opacity: .9; }
.hero-quote blockquote { margin: 0 0 14px; }
.hero-quote blockquote p { font-family: var(--font-head); font-size: 1.38rem; line-height: 1.35; color: var(--navy); font-weight: 500; margin: 0; }
.hero-quote blockquote p::before { content: ""; display: block; width: 44px; height: 6px; border-radius: 3px; background: var(--purple); margin-bottom: 18px; }
.hero-quote figcaption { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.quote-more { font-weight: 700; text-decoration: none; }

@media (max-width: 860px) {
  .hero { padding: 44px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-quote .blob { width: 180px; height: 180px; inset: -30px -40px auto auto; }
}

/* Gap */
.gap { background: var(--purple-dark); color: #ece8f6; padding: 64px 0 28px; }
.gap h2 { color: #fff; }
.gap-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.gap-stats { display: grid; gap: 14px; margin: 0; }
.gap-stats div { display: flex; align-items: baseline; gap: 18px; background: rgba(255,255,255,.08); border-radius: var(--radius); padding: 16px 20px; }
.gap-stats dt { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: #fff; min-width: 3.2ch; }
.gap-stats div:nth-child(3) dt { color: #d9cdef; }
.gap-stats dd { margin: 0; }
.source { font-size: .8rem; color: #bfb3dd; margin-top: 28px; }
@media (max-width: 860px) { .gap-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Sections */
.section { padding: 80px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy); color: #e3e7f1; }
.section-dark h2 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-sub { color: var(--muted); font-size: 1.1rem; }
@media (max-width: 600px) { .section { padding: 56px 0; } }

/* Offer */
.offer-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.offer-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.offer-card p { color: var(--muted); }
.offer-card .proof { margin: auto 0 0; padding-top: 12px; border-top: 1px dashed var(--line); color: var(--ink); font-size: .92rem; }
.offer-card .proof strong { color: var(--purple); font-family: var(--font-head); }
.offer-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; margin-bottom: 16px; }
.offer-icon svg { width: 26px; height: 26px; fill: currentColor; }
.c-purple { background: var(--purple-tint); color: var(--purple); }
.c-blue { background: var(--blue-tint); color: var(--blue); }
.c-green { background: var(--green-tint); color: var(--green); }
.c-yellow { background: var(--yellow-tint); color: #7a6133; }
.c-red { background: var(--red-tint); color: var(--red); }
@media (max-width: 980px) { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .offer-grid { grid-template-columns: 1fr; } }

.topics { margin-top: 56px; }
.topics-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 18px; }
.topics-head h3 { margin: 0; font-size: 1.3rem; }
.topics-head p { margin: 0; color: var(--muted); }
.topic-row { list-style: none; margin: 0; padding: 4px 2px 16px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; }
.topic { scroll-snap-align: start; border-radius: var(--radius); padding: 22px 20px; min-height: 170px; display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); }
.topic strong { font-family: var(--font-head); font-size: 1.08rem; color: var(--navy); line-height: 1.25; }
.topic span:last-child { color: var(--muted); font-size: .93rem; }
.tag { align-self: flex-start; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: #fff; color: var(--purple); margin-bottom: auto; }
.t1 { background: var(--purple-tint); } .t2 { background: var(--blue-tint); } .t3 { background: var(--yellow-tint); }
.t4 { background: var(--green-tint); } .t5 { background: var(--red-tint); }

/* Stories */
.story-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.story { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.story-feature { grid-row: span 2; background: var(--purple); color: #f1ecfb; border: 0; display: flex; flex-direction: column; }
.story-feature .story-quote { color: #fff; font-size: 1.7rem; }
.story-feature .more summary { color: #fff; }
.story-feature .cite { color: #d6caf2; }
.story-feature blockquote p { color: #fff; }
.story-grid .story:last-child { grid-column: 2 / span 2; }
.story-kicker { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); margin-bottom: .4em; }
.story-quote { font-family: var(--font-head); font-weight: 500; font-size: 1.25rem; line-height: 1.35; color: var(--navy); }
.story-quote.sm { font-size: 1.12rem; }
.more { margin-top: auto; }
.more summary { cursor: pointer; font-weight: 700; color: var(--purple); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-size: 1.2em; line-height: 1; }
.more[open] summary::after { content: "–"; }
.more[open] summary { margin-bottom: 12px; }
.more blockquote { margin: 0 0 8px; padding-left: 14px; border-left: 3px solid var(--yellow); }
.cite { font-size: .85rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr 1fr; }
  .story-feature { grid-column: 1 / -1; grid-row: auto; }
  .story-grid .story:last-child { grid-column: auto; }
}
@media (max-width: 600px) { .story-grid { grid-template-columns: 1fr; } }

/* Looks */
.looks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.look p { color: var(--muted); }
.look-art { height: 150px; border-radius: var(--radius); margin-bottom: 18px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.art-schedule { background: var(--blue-tint); }
.art-schedule span { width: 46px; height: 58px; background: #fff; border-radius: 8px; display: grid; place-items: center; font-size: 1.4rem; color: var(--blue); box-shadow: var(--shadow); }
.art-choice { background: var(--yellow-tint); }
.art-choice span { width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); }
.art-choice span:nth-child(2) { background: var(--red); transform: translateY(-14px); }
.art-choice span:nth-child(3) { background: var(--purple); }
.art-reset { background: var(--green-tint); }
.art-reset span { width: 120px; height: 70px; border-radius: 60px 60px 18px 18px; background: var(--green); opacity: .85; }
@media (max-width: 820px) { .looks-grid { grid-template-columns: 1fr; } .look-art { height: 110px; } }

/* Results */
.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0 0 40px; }
.results-grid div { border-top: 3px solid #a996d6; padding-top: 18px; }
.results-grid dt { font-family: var(--font-head); font-size: 2.8rem; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 10px; }
.results-grid dd { margin: 0; color: #c9d0e2; }
.reach { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.15); }
.reach p { margin: 0; color: #c9d0e2; }
.reach strong { color: #fff; font-family: var(--font-head); font-size: 1.2rem; }
.reach .btn { margin-left: auto; }
@media (max-width: 900px) { .results-grid { grid-template-columns: repeat(2, 1fr); } .reach .btn { margin-left: 0; } }
@media (max-width: 480px) { .results-grid { grid-template-columns: 1fr; } }

/* Cases */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.case-district { font-size: .85rem; font-weight: 700; color: var(--green); margin-bottom: .5em; }
.case blockquote { margin: 0 0 8px; }
.case blockquote p { color: var(--ink); font-style: italic; margin: 0; }
.case .cite { margin-bottom: 18px; }
.case-link { margin-top: auto; font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; }
@media (max-width: 900px) { .case-grid { grid-template-columns: 1fr; } }

/* Audiences */
.aud-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #d9d4e4; }
.aud-row { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) minmax(0, 1.5fr) 2rem; gap: 24px; align-items: baseline; padding: 24px 8px; border-bottom: 1px solid #d9d4e4; text-decoration: none; color: var(--ink); transition: background .15s; }
.aud-row:hover { background: #fff; color: var(--ink); }
.aud-num { font-family: var(--font-head); color: #a49bbb; font-size: .95rem; }
.aud-row strong { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: var(--navy); }
.aud-desc { color: var(--muted); }
.aud-arrow { color: var(--purple); font-size: 1.3rem; justify-self: end; transition: transform .15s; }
.aud-row:hover .aud-arrow { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .aud-row:hover .aud-arrow { transform: none; } }
@media (max-width: 760px) {
  .aud-row { grid-template-columns: 2rem minmax(0, 1fr) 1.5rem; gap: 6px 14px; }
  .aud-desc { grid-column: 2; }
  .aud-arrow { grid-row: 1; grid-column: 3; }
}

/* FAQ — native details, several can be open at once, not tagged as headings */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-family: var(--font-head); font-weight: 500; font-size: 1.08rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--purple); border-bottom: 2px solid var(--purple); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > *:not(summary) { color: var(--muted); }
.faq details ul { margin: 0 0 1em; padding-left: 1.2em; }
.faq details[open] { padding-bottom: 8px; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 8px; } }

/* Experts */
.expert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.expert { margin: 0; background: #fff; border-radius: var(--radius); padding: 30px; border-top: 5px solid var(--purple); box-shadow: var(--shadow); }
.expert:nth-child(2) { border-top-color: var(--blue); }
.expert blockquote { margin: 0 0 16px; }
.expert blockquote p { font-size: 1.12rem; color: var(--ink); margin: 0; }
.expert figcaption { color: var(--muted); font-size: .92rem; }
.expert figcaption strong { color: var(--navy); }
@media (max-width: 760px) { .expert-grid { grid-template-columns: 1fr; } }

/* Share */
.share { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: center; }
.share-box { background: var(--yellow-tint); border: 1px solid #e4d8c2; border-radius: var(--radius); padding: 28px; }
.share-box p { color: var(--ink); }
.copy-status { margin-left: 12px; font-weight: 700; color: var(--green); }
@media (max-width: 860px) { .share { grid-template-columns: 1fr; gap: 16px; } }

/* CTA */
.cta { padding: 80px 0; background:
  radial-gradient(circle at 0% 0%, #e4dbf3 0 120px, transparent 121px),
  radial-gradient(circle at 100% 100%, #d3c6ec 0 140px, transparent 141px),
  var(--purple-tint); }
.cta-inner { text-align: center; max-width: 760px; }
.cta-inner p { color: var(--muted); font-size: 1.1rem; }
.cta .hero-ctas { justify-content: center; }
@media (max-width: 600px) { .cta { background: var(--purple-tint); padding: 56px 0; } }

/* Footer */
.site-footer { background: var(--navy); color: #c9d0e2; padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 40px; }
.footer-brand { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: .3em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; columns: 2; }
.site-footer li { margin-bottom: 8px; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }
.footer-note { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; color: #9aa3ba; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Inner pages ---------- */
.site-nav ul a[aria-current="page"] { color: var(--purple); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

.page-hero { padding: 64px 0 56px; background: linear-gradient(180deg, var(--purple-tint) 0%, var(--bg) 100%); }
.hero-green { background: linear-gradient(180deg, var(--green-tint) 0%, var(--bg) 100%); }
.hero-blue { background: linear-gradient(180deg, var(--blue-tint) 0%, var(--bg) 100%); }
.hero-warm { background: linear-gradient(180deg, var(--yellow-tint) 0%, var(--bg) 100%); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); max-width: 18ch; }
.page-hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .page-hero { padding: 44px 0 40px; } .page-hero-grid { grid-template-columns: 1fr; gap: 28px; } }

.fact-card { background: #fff; border-radius: 18px; padding: 26px 28px; box-shadow: var(--shadow); margin: 0; }
.fact-card > div { display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.fact-card > div:last-child { border-bottom: 0; }
.fact-card dt { font-weight: 700; color: var(--navy); }
.fact-card dd { margin: 0; color: var(--muted); }
.fact-title { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 1.1rem; }
@media (max-width: 420px) { .fact-card > div { grid-template-columns: 1fr; gap: 2px; } }

.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li { background: var(--green-tint); color: #4a3f6e; border-radius: 99px; padding: 6px 14px; font-size: .92rem; font-weight: 700; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); }
.step p { color: var(--muted); margin: 0; }
.step-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--purple); color: #fff; font-family: var(--font-head); font-weight: 700; margin-bottom: 14px; }
.step:nth-child(2) .step-num { background: var(--blue); }
.step:nth-child(3) .step-num { background: var(--green); }
.step:nth-child(4) .step-num { background: var(--red); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0 0; }
.mini-stats div { background: var(--purple-tint); border-radius: var(--radius); padding: 22px; }
.mini-stats.on-tint div { background: #fff; }
.mini-stats dt { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: var(--purple); line-height: 1.1; }
.mini-stats dd { margin: 4px 0 0; color: var(--ink); }
.section .source { color: var(--muted); margin-top: 14px; }
@media (max-width: 720px) { .mini-stats { grid-template-columns: 1fr; } }

.date-grid { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.date-card { background: #fff; border-radius: var(--radius); padding: 22px 24px; border: 1px solid var(--line); border-top: 5px solid var(--green); box-shadow: var(--shadow); }
.date-card p { margin: 0; font-size: 1.1rem; color: var(--ink); }
.date-card.is-full { border-top-color: var(--line); background: var(--tint); box-shadow: none; }
.date-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.date-top h3 { margin: 0; }
.badge { font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--green-tint); color: #4a3f6e; }
.badge-full { background: #e6e3ec; color: #4a5266; }
@media (max-width: 820px) { .date-grid { grid-template-columns: 1fr; } }

.callouts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.callout { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.callout p:last-child { margin-bottom: 0; }
.callout-accent { background: var(--purple-tint); border-color: #ddd3f0; }
@media (max-width: 760px) { .callouts { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 24px; } }
.big { font-size: 1.3rem; line-height: 1.5; color: var(--navy); }

.quote-stack { display: grid; gap: 18px; }
.pull { margin: 0; background: #fff; border-left: 5px solid var(--purple); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 24px; box-shadow: var(--shadow); }
.pull-blue { border-left-color: var(--blue); }
.pull blockquote { margin: 0 0 10px; }
.pull blockquote p { font-family: var(--font-head); font-weight: 500; font-size: 1.15rem; color: var(--navy); margin: 0; line-height: 1.4; }
.pull figcaption { color: var(--muted); font-size: .9rem; margin-bottom: 8px; }

.check-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
.ticks { list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; gap: 10px; }
.check-grid li, .ticks li { position: relative; padding-left: 32px; }
.check-grid li::before, .ticks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 20%22%3E%3Cpath d=%22M5 10.5l3 3 7-7%22 stroke=%22white%22 stroke-width=%222.2%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E") center/14px no-repeat;
}
.note { color: var(--muted); margin-top: 24px; }
@media (max-width: 700px) { .check-grid { grid-template-columns: 1fr; } }

.product-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: start; }
.product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.product h3 { font-size: 1.35rem; }
.product h4 { font-family: var(--font-head); color: var(--navy); margin: 1.2em 0 .6em; font-size: 1rem; }
.product-alt { background: var(--yellow-tint); border-color: #e4d8c2; }
.product-type { font-size: .82rem; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .05em; }
.meta-row { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.meta-row li { background: var(--tint); border-radius: 8px; padding: 4px 10px; font-size: .9rem; font-weight: 700; color: var(--navy); }
@media (max-width: 860px) { .product-grid { grid-template-columns: 1fr; } }

.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; text-decoration: none; color: var(--ink); }
.contact-card:hover { border-color: var(--purple); color: var(--ink); }
.contact-card strong { color: var(--navy); font-family: var(--font-head); }
.contact-card span { color: var(--purple); }

.session-list { display: grid; gap: 18px; }
.session { display: grid; grid-template-columns: auto 1fr; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.session-avatar { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: #fff; flex: none; }
.av-purple { background: var(--purple); }
.av-red { background: var(--red); }
.av-green { background: var(--green); }
.av-blue { background: var(--blue); }
.av-yellow { background: var(--yellow); color: var(--navy); }
.session-tag { font-size: .78rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .3em; }
.session h3 { font-size: 1.25rem; }
.speaker { color: var(--muted); font-size: .95rem; }
.takeaway { background: var(--tint); border-radius: 10px; padding: 12px 16px; }
@media (max-width: 600px) { .session { grid-template-columns: 1fr; gap: 12px; } .session-avatar { width: 48px; height: 48px; font-size: .95rem; } }

.expert-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .expert-grid.three { grid-template-columns: 1fr; } }

.values-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value { border-radius: var(--radius); padding: 24px; border-top: 5px solid; }
.value p { margin: 0; color: var(--ink); }
.v-purple { background: var(--purple-tint); border-color: var(--purple); }
.v-blue { background: var(--blue-tint); border-color: var(--blue); }
.v-red { background: var(--red-tint); border-color: var(--red); }
.v-yellow { background: var(--yellow-tint); border-color: var(--yellow); }
.v-green { background: var(--green-tint); border-color: var(--green); }
@media (max-width: 900px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }

.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.person > p { color: var(--muted); }
.person-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.person-head h3 { margin: 0 0 2px; }
.role { margin: 0; font-size: .92rem; color: var(--purple); font-weight: 700; }
.person-mail { margin-top: auto; font-weight: 700; }
@media (max-width: 760px) { .team-grid { grid-template-columns: 1fr; } }

.section-tight { padding: 40px 0; }
.path-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.path { width: 100%; height: 100%; text-align: left; display: flex; flex-direction: column; gap: 4px; background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 18px 20px; cursor: pointer; font: inherit; color: var(--ink); }
.path strong { font-family: var(--font-head); color: var(--navy); }
.path span { color: var(--muted); font-size: .92rem; }
.path:hover { border-color: #c9bce6; }
.path[aria-pressed="true"] { border-color: var(--purple); background: var(--purple-tint); }
@media (max-width: 860px) { .path-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .path-grid { grid-template-columns: 1fr; } }

.form-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .form-layout { grid-template-columns: 1fr; gap: 20px; } }
.notice { background: var(--yellow-tint); border: 1px solid #e4d8c2; border-radius: 12px; padding: 16px 18px; font-size: .95rem; }
.form { background: #fff; border-radius: 18px; padding: 30px; box-shadow: var(--shadow); }
.field { margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } .form { padding: 22px; } }
.field label, .field legend { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; padding: 0; }
.field input:not([type=checkbox]), .field select, .field textarea { width: 100%; font: inherit; padding: 11px 14px; border: 1.5px solid #8f89a0; border-radius: 10px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.field-help { font-size: .88rem; color: var(--muted); margin: 6px 0 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.checks label { font-weight: 400; color: var(--ink); display: flex; gap: 10px; align-items: center; margin: 0; }
.checks input { width: 18px; height: 18px; accent-color: var(--purple); flex: none; }
@media (max-width: 520px) { .checks { grid-template-columns: 1fr; } }
.form-status { margin: 14px 0 0; color: var(--ink); }

/* ---------- Homepage: link under "What changed" ---------- */
.section-more { margin: 28px 0 0; }
.section-more a { font-weight: 700; text-decoration: none; }
.section-more a:hover { text-decoration: underline; }

/* ---------- Impact page ---------- */
.jump ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.jump a { font-weight: 700; }

/* Educator voices */
.voice-grid { columns: 3 280px; column-gap: 20px; }
.voice { break-inside: avoid; margin: 0 0 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.voice blockquote { margin: 0 0 12px; }
.voice blockquote p { margin: 0; font-size: 1.02rem; color: var(--ink); }
.voice figcaption { font-size: .88rem; font-weight: 700; color: var(--purple); }
.voice-lg { background: var(--purple); border-color: var(--purple); }
.voice-lg blockquote p { color: #fff; font-family: var(--font-head); font-weight: 500; font-size: 1.2rem; line-height: 1.45; }
.voice-lg figcaption { color: #d9cdef; }

/* Who took the course */
.roles { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.role-bar { display: flex; height: 22px; border-radius: 11px; overflow: hidden; gap: 2px; }
.role-legend { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; color: var(--ink); }
.role-legend i { display: inline-block; width: 11px; height: 11px; border-radius: 2px; margin-right: 6px; }
.rb1 { background: #3f2670; } .rb2 { background: #5b3a96; } .rb3 { background: #7d61b3; } .rb4 { background: #9d86c9; }
.rb5 { background: #bcaedc; } .rb6 { background: #6f7896; } .rb7 { background: #c9c6d1; }

/* Case study cards: place, title, labelled result, how, then the quote */
.case-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--purple); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.case-cards li:nth-child(2) .case-card { border-top-color: #a996d6; }
.case-cards li:nth-child(3) .case-card { border-top-color: var(--blue); }
.change-place { font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.case-card h3 { font-size: 1.2rem; margin-bottom: 16px; }
.result { background: var(--purple-tint); border-radius: 12px; padding: 16px 18px; margin-bottom: 14px; }
.result-label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--purple); margin: 0 0 6px; }
.result-text { margin: 0; font-size: 1.05rem; line-height: 1.45; color: var(--navy); }
.result-text strong, .how strong + strong { font-family: var(--font-head); color: var(--purple); }
.result-text strong { font-size: 1.35em; line-height: 1; }
.how { font-size: .95rem; color: var(--muted); }
.how strong:first-child { color: var(--ink); }
.case-quote { margin: 4px 0 20px; padding-left: 14px; border-left: 3px solid var(--line); }
.case-quote p { margin: 0 0 4px; font-style: italic; color: var(--ink); }
.case-quote footer { font-size: .85rem; color: var(--muted); }
.case-open { margin-top: auto; align-self: flex-start; }
@media (max-width: 980px) { .case-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .case-cards { grid-template-columns: 1fr; } }

/* Case study dialogs */
body:has(dialog[open]) { overflow: hidden; }
.story-dialog { width: min(860px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: 20px; box-shadow: 0 20px 60px rgba(20, 16, 40, .35); color: var(--ink); background: #fff; }
.story-dialog::backdrop { background: rgba(28, 22, 48, .55); }
.story-dialog[open] { animation: pop .18s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .story-dialog[open] { animation: none; } }
.sd-inner { position: relative; padding: 36px 36px 32px; }
.sd-inner h3 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin: 6px 0 22px; padding-right: 40px; }
.sd-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--tint); color: var(--navy); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.sd-close:hover { background: var(--purple-tint); }
.sd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.sd-block { background: var(--tint); border-radius: 12px; padding: 18px; }
.sd-block h4 { font-family: var(--font-head); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--purple); margin: 0 0 8px; }
.sd-block p { margin: 0; font-size: .97rem; }
.sd-quote { margin: 0 0 22px; padding: 4px 0 4px 18px; border-left: 4px solid var(--purple); }
.sd-quote p { font-family: var(--font-head); font-weight: 500; font-size: 1.15rem; color: var(--navy); margin: 0 0 6px; line-height: 1.4; }
.sd-quote footer { color: var(--muted); font-size: .9rem; }
@media (max-width: 720px) { .sd-grid { grid-template-columns: 1fr; } .sd-inner { padding: 28px 20px 24px; } }
.pdf-tag { font-size: .68rem; font-weight: 700; letter-spacing: .05em; border: 1.5px solid currentColor; border-radius: 4px; padding: 1px 5px; margin-left: 4px; opacity: .85; }

/* Impact report */
.report-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 28px; padding: 24px 26px; background: rgba(255,255,255,.07); border-radius: var(--radius); }
.report-cta p { margin: 0; color: #c9d0e2; max-width: 44em; }

/* ---------- Homepage: clickable "look inside the courses" cards ---------- */
.topic-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.topic-card { width: 100%; height: 100%; min-height: 170px; text-align: left; font: inherit; cursor: pointer; border-radius: var(--radius); padding: 22px 20px; display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); color: var(--ink); transition: transform .15s, box-shadow .15s; }
.topic-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.topic-card strong { font-family: var(--font-head); font-size: 1.1rem; color: var(--navy); line-height: 1.25; margin-top: 8px; }
.topic-card > span:not(.tag):not(.topic-more) { color: var(--muted); font-size: .94rem; }
.topic-card .tag { margin-bottom: 0; }
.topic-more { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--purple); font-size: .92rem; }
.t6 { background: var(--tint); }
@media (max-width: 900px) { .topic-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .topic-grid { grid-template-columns: 1fr; } }
.sd-lead { font-size: 1.08rem; line-height: 1.6; margin: 0 0 22px; color: var(--ink); max-width: 44em; }
.sd-quote-alt { border-left-color: var(--blue); }
.sd-quote-alt p { font-size: 1.02rem; }

/* Keep "Ongoing support, not a one-off workshop" on one line on wider screens */
.section-head-wide { max-width: none; }
.section-head-wide .section-sub { max-width: 720px; }
@media (min-width: 860px) { .section-head-wide h2 { white-space: nowrap; } }

/* Right-aligned notes and links */
.section-more, .gap .source { text-align: right; }
