/* ============================================================
   School for All — HARTS blog
   Brand palette + shared styles
   ============================================================ */
:root {
  /* Brand gradient stops */
  --teal:   #14D6C4;
  --teal-2: #2FE6C8;
  --blue:   #2E6BE6;
  --blue-2: #2B7FFF;
  --indigo: #6C3FE0;
  --purple: #7A3FD6;
  --navy:   #14143C;
  --navy-2: #0E1330;

  --grad: linear-gradient(135deg, #14D6C4 0%, #2E6BE6 42%, #6C3FE0 74%, #1A1B4B 100%);
  --grad-soft: linear-gradient(135deg, rgba(20,214,196,.12), rgba(108,63,224,.12));

  --ink:    #1B2233;   /* near-navy body text */
  --ink-soft:#46506A;
  --line:   #E2E7F0;
  --bg:     #FFFFFF;
  --bg-tint:#F6F8FC;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(20,20,60,.08);
  --shadow-lg: 0 18px 50px rgba(20,20,60,.16);

  --maxw: 820px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 18px;            /* dyslexia-friendly: larger base */
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }

/* ---------- Top nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav a.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav a.brand img { height: 38px; }
.nav-links { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; }
.nav-links a:hover { color: var(--blue); }

/* ---------- Hero ---------- */
.hero {
  background: var(--grad);           /* bright brand gradient */
  color: #fff;
  padding: 84px 24px 92px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero .kicker {
  text-transform: uppercase; letter-spacing: .22em; font-weight: 700;
  font-size: 14px; color:#fff; opacity: .95; margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 66px); line-height: 1.02; margin: 0 auto 8px;
  max-width: 16ch; font-weight: 800; letter-spacing: -.02em; color:#fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.18);
}
.hero .subhead {
  font-size: clamp(18px, 3vw, 24px); font-weight: 700; color:#fff;
  margin: 0 auto 18px; opacity: .96;
}
/* override the global dark .lead colour when inside the hero */
.hero p.lead, .hero .lead {
  font-size: clamp(17px, 2.4vw, 20px); max-width: 58ch; margin: 0 auto;
  color:#fff; opacity: .97; font-weight: 500;
}
.hero .logo-mark { height: 64px; margin: 0 auto 22px; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.bg-tint { background: var(--bg-tint); }

h2 { font-size: clamp(26px, 4vw, 36px); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h3 { font-size: clamp(20px, 3vw, 25px); margin: 1.6em 0 .4em; }
p { margin: 0 0 1.1em; }
.lead { font-size: 20px; color: var(--ink-soft); }

.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--blue);
  background: var(--grad-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}

/* ---------- Post cards (landing) ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px,1fr)); gap: 22px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease; text-decoration: none; color: inherit;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .thumb { height: 120px; background: var(--grad); }
.card .body { padding: 18px 20px 22px; }
.card .tag { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.card h3 { font-size: 19px; margin: 8px 0 6px; }
.card p { font-size: 15px; color: var(--ink-soft); margin: 0; }
.card.soon { opacity: .72; }
.card.soon .thumb { background: var(--bg-tint); border-bottom: 1px solid var(--line); display:flex; align-items:center; justify-content:center; }
.card.soon .thumb span { color: var(--ink-soft); font-weight:700; letter-spacing:.1em; font-size:13px; text-transform:uppercase; }

/* ---------- Article ---------- */
.article-head {
  background: var(--grad);
  color:#fff; padding: 64px 24px 56px;
}
.article-head h1 { text-shadow: 0 2px 16px rgba(0,0,0,.16); }
.article-head .wrap { text-align: left; }
.article-head .meta { font-size: 14px; opacity:.92; font-weight:600; letter-spacing:.04em; margin-bottom:14px; }
.article-head h1 { font-size: clamp(30px,5vw,46px); line-height:1.08; margin:0 0 14px; max-width:20ch; }
.article-head p { font-size: 19px; opacity:.96; max-width: 56ch; margin:0; }

.article { font-size: 18.5px; }
.article p { margin-bottom: 1.25em; }
.dropcap::first-letter { /* subtle, optional */ }

/* pull / callout */
.callout {
  border-left: 5px solid var(--teal);
  background: var(--grad-soft);
  padding: 18px 22px; border-radius: 0 12px 12px 0; margin: 28px 0;
  font-size: 18px;
}
.callout strong { color: var(--indigo); }

.figure { margin: 34px 0; }
.figure img { border-radius: 14px; box-shadow: var(--shadow); border:1px solid var(--line); }
.figure figcaption { font-size: 14.5px; color: var(--ink-soft); margin-top: 10px; text-align: center; }

/* ---------- Belonging Chain (static, fully visible, accessible) ---------- */
.chain-block { margin: 38px 0 18px; }
.chainflow {
  position: relative;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px;
}
/* the gradient "spine" behind the rings, desktop only */
.chainflow::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 44px; height: 8px;
  background: var(--grad); border-radius: 8px; z-index: 0; opacity: .85;
}
.node { position: relative; z-index: 1; text-align: center; }
.node .ring {
  width: 88px; height: 88px; margin: 0 auto 12px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 34px; color: #fff;
  background: var(--nc, var(--blue));
  box-shadow: 0 8px 20px rgba(20,20,60,.18);
  border: 4px solid #fff;
}
.node .nname { font-size: 15px; font-weight: 800; line-height: 1.18; color: var(--ink); }
.node .ndesc { font-size: 13.5px; line-height: 1.3; color: var(--ink-soft); margin-top: 4px; }

@media (max-width: 720px) {
  .chainflow { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .chainflow::before { display: none; }
  .node .ring { width: 76px; height: 76px; font-size: 30px; }
}

.chain-hint { font-size: 14.5px; color: var(--ink-soft); text-align: center; margin: 22px 0 0; }

/* ---------- Assistive-tech categories graphic ---------- */
/* One continuous gradient panel ties the 6 categories together; white inner
   cards keep the text high-contrast and accessible. */
.at-panel {
  background: linear-gradient(135deg, #14D6C4 0%, #2E6BE6 45%, #6C3FE0 100%);
  border-radius: 22px; padding: 18px; margin: 26px 0 6px;
  box-shadow: 0 12px 30px rgba(20,20,60,.16);
}
.at-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 640px){ .at-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px){ .at-grid { grid-template-columns: 1fr; } }
.at-card {
  background: #fff; border-radius: 14px; padding: 16px 16px 18px;
  box-shadow: 0 4px 12px rgba(20,20,60,.12);
}
.at-card .at-ico {
  width: 44px; height: 44px; border-radius: 12px; background: var(--ac, var(--blue));
  display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 10px;
}
.at-card h4 { margin: 0 0 4px; font-size: 16px; font-weight: 800; color: var(--ink); }
.at-card p { margin: 0; font-size: 13.5px; line-height: 1.4; color: var(--ink-soft); }
.at-foot { text-align:center; font-size: 14px; color: var(--ink-soft); margin: 14px 0 0; }

/* ---------- School connectedness: strong vs weak ---------- */
.sc-cols{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:24px 0 8px;}
@media (max-width:600px){.sc-cols{grid-template-columns:1fr;}}
.sc-card{border-radius:18px;overflow:hidden;box-shadow:var(--shadow);border:1px solid var(--line);}
.sc-top{padding:16px 18px;color:#fff;display:flex;align-items:center;gap:12px;}
.sc-top .badge{width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.22);
  display:flex;align-items:center;justify-content:center;font-size:22px;flex:0 0 auto;font-weight:800;}
.sc-top h4{margin:0;font-size:18px;font-weight:800;line-height:1.15;}
.sc-top .sub{font-size:12.5px;opacity:.92;font-weight:600;}
.sc-strong .sc-top{background:linear-gradient(135deg,#14D6C4,#2E8FE6);}
.sc-weak .sc-top{background:linear-gradient(135deg,#6C3FE0,#2A1E66);}
.sc-body{background:#fff;padding:10px 16px 16px;}
.sc-item{display:flex;align-items:flex-start;gap:11px;padding:10px 2px;border-bottom:1px solid var(--line);}
.sc-item:last-child{border-bottom:none;}
.sc-ico{width:24px;height:24px;border-radius:7px;flex:0 0 auto;display:flex;align-items:center;
  justify-content:center;font-size:14px;color:#fff;font-weight:800;margin-top:1px;}
.sc-strong .sc-ico{background:#14B7C4;}
.sc-weak .sc-ico{background:#6C3FE0;}
.sc-item p{margin:0;font-size:15.5px;line-height:1.35;color:var(--ink);}

/* ---------- Brand button (no dark navy end) ---------- */
.btn-brand {
  display:inline-block; color:#fff !important; font-weight:700;
  padding: 12px 24px; border-radius: 999px; text-decoration:none;
  background: linear-gradient(90deg, #14D6C4 0%, #2E6BE6 50%, #6C3FE0 100%);
  box-shadow: 0 8px 20px rgba(46,107,230,.28); transition: transform .15s ease;
}
.btn-brand:hover { transform: translateY(-2px); }

/* ---------- Video ---------- */
.video-wrap { position: relative; width: 100%; padding-top: 56.25%; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); border:1px solid var(--line); }
.video-wrap iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }

/* ---------- SVG infographic ---------- */
.infographic { margin: 30px 0 10px; }
.infographic svg { width: 100%; height: auto; }

/* ---------- References ---------- */
.refs { font-size: 15px; color: var(--ink-soft); }
.refs ol { padding-left: 22px; }
.refs li { margin-bottom: 12px; text-indent: -22px; padding-left: 22px; } /* hanging indent feel */

/* ---------- Footer ---------- */
.footer { background: var(--navy-2); color: #cfd6e6; padding: 48px 24px; }
.footer .wrap { display:flex; flex-wrap:wrap; gap: 24px; align-items:center; justify-content: space-between; }
.footer img { height: 44px; }
.footer a { color: #9ec1ff; }
.footer small { color: #8893ad; }

.btn {
  display:inline-block; background:#fff; color: var(--navy); font-weight:700;
  padding: 12px 22px; border-radius: 999px; text-decoration:none; border: 2px solid transparent;
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color:#fff; border-color: rgba(255,255,255,.6); }

.center { text-align:center; }
.mt-0 { margin-top:0; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* ============================================================
   PROGRAM SITE — additional components
   ============================================================ */

/* wider reading wrap option for content pages */
.wrap-wide { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- Section sub-nav (sticky jump links on a page) ---------- */
.subnav { position: sticky; top: 62px; z-index: 40; background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav-inner { max-width: 1080px; margin: 0 auto; padding: 10px 24px; display: flex; gap: 18px;
  flex-wrap: wrap; overflow-x: auto; }
.subnav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.subnav a:hover { color: var(--blue); }

/* ---------- Journey / nav cards on home ---------- */
.journey { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px,1fr)); gap: 20px; margin-top: 12px; }
.jcard { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 24px 24px 26px;
  box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; position: relative; overflow: hidden; }
.jcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.jcard .jnum { width: 42px; height: 42px; border-radius: 12px; display:flex; align-items:center; justify-content:center;
  color:#fff; font-weight:800; font-size:18px; background: var(--jc, var(--blue)); margin-bottom: 6px; }
.jcard h3 { margin: 0; font-size: 20px; }
.jcard p { margin: 0; font-size: 15.5px; color: var(--ink-soft); }
.jcard .jgo { margin-top: 6px; font-weight: 700; color: var(--blue); font-size: 14.5px; }

/* ---------- Stat cards (Icelandic / global data snapshots) ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 16px; margin: 26px 0 8px; }
.stat { border-radius: 18px; padding: 22px 20px; color:#fff; box-shadow: var(--shadow);
  background: var(--sc, linear-gradient(135deg,#2E6BE6,#6C3FE0)); }
.stat .big { font-size: clamp(34px,5vw,46px); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.stat .lbl { font-size: 14.5px; margin-top: 8px; opacity: .96; line-height: 1.35; font-weight:500; }
.stat .src { font-size: 12px; margin-top: 10px; opacity: .8; }
.stat .src a { color:#fff; text-decoration: underline; }

/* ---------- Health outcomes branch ---------- */
.outcomes { display:grid; grid-template-columns: 1fr 1fr; gap:18px; margin:24px 0 8px; }
@media (max-width:640px){ .outcomes{ grid-template-columns:1fr; } }
.oc { border-radius:18px; overflow:hidden; box-shadow:var(--shadow); border:1px solid var(--line); }
.oc-top { padding:16px 20px; color:#fff; font-weight:800; font-size:17px; display:flex; align-items:center; gap:10px; }
.oc-strong .oc-top{ background:linear-gradient(135deg,#14D6C4,#2E8FE6); }
.oc-risk .oc-top{ background:linear-gradient(135deg,#6C3FE0,#2A1E66); }
.oc ul { list-style:none; margin:0; padding:12px 18px 16px; background:#fff; }
.oc li { display:flex; gap:10px; align-items:flex-start; padding:8px 0; border-bottom:1px solid var(--line); font-size:15.5px; }
.oc li:last-child{ border-bottom:none; }
.oc li .ic { flex:0 0 auto; width:22px; height:22px; border-radius:6px; color:#fff; font-weight:800;
  display:flex; align-items:center; justify-content:center; font-size:13px; margin-top:1px; }
.oc-strong .ic{ background:#14B7C4; } .oc-risk .ic{ background:#6C3FE0; }
.oc li a{ color:var(--ink); } .oc li cite{ color:var(--ink-soft); font-style:normal; font-size:13px; }

/* ---------- Data-gap matrix ---------- */
.gap-table { width:100%; border-collapse:separate; border-spacing:0; margin:24px 0 8px; border:1px solid var(--line);
  border-radius:16px; overflow:hidden; box-shadow:var(--shadow); font-size:15.5px; }
.gap-table th, .gap-table td { padding:14px 16px; text-align:center; border-bottom:1px solid var(--line); }
.gap-table thead th { background:var(--bg-tint); font-weight:800; color:var(--ink); }
.gap-table tbody th { text-align:left; font-weight:700; background:#fff; color:var(--ink); }
.gap-table tr:last-child td, .gap-table tr:last-child th { border-bottom:none; }
.gap-yes { color:#14A597; font-weight:800; font-size:18px; }
.gap-no { color:#C0392B; font-weight:800; font-size:18px; }
.gap-cap { font-size:13.5px; color:var(--ink-soft); margin-top:10px; }

/* ---------- Bridge (teacher knowledge) ---------- */
.bridge { display:grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items:center; gap:12px; margin:26px 0 10px; }
@media (max-width:760px){ .bridge{ grid-template-columns:1fr; } .bridge .arrow{ transform:rotate(90deg); justify-self:center; } }
.bcell { border-radius:16px; padding:18px 18px; color:#fff; box-shadow:var(--shadow); text-align:center; }
.bcell h4{ margin:0 0 6px; font-size:16px; font-weight:800; } .bcell p{ margin:0; font-size:13.5px; opacity:.95; line-height:1.4; }
.bcell.b1{ background:linear-gradient(135deg,#14D6C4,#2E8FE6); }
.bcell.b2{ background:linear-gradient(135deg,#6C3FE0,#2A1E66); }
.bcell.b3{ background:linear-gradient(135deg,#2E6BE6,#6C3FE0); }
.bridge .arrow{ font-size:26px; color:var(--ink-soft); font-weight:800; }

/* ---------- Component cards (program) ---------- */
.comp-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:18px; margin:24px 0 8px; }
.comp { border-radius:18px; border:1px solid var(--line); box-shadow:var(--shadow); overflow:hidden; background:#fff; }
.comp .ctop{ padding:16px 18px; color:#fff; background:var(--cc,var(--blue)); }
.comp .ctop .cn{ font-size:12.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; opacity:.9; }
.comp .ctop h4{ margin:4px 0 0; font-size:18px; font-weight:800; }
.comp .cbody{ padding:14px 18px 18px; } .comp .cbody p{ margin:0; font-size:14.5px; color:var(--ink-soft); }

/* ---------- Timeline (adaptations) ---------- */
.tl { border-left:3px solid var(--line); margin:24px 0 8px; padding-left:22px; }
.tl-item{ position:relative; padding:6px 0 18px; }
.tl-item::before{ content:""; position:absolute; left:-30px; top:10px; width:14px; height:14px; border-radius:50%;
  background:var(--grad); border:3px solid #fff; box-shadow:0 0 0 1px var(--line); }
.tl-item h4{ margin:0 0 4px; font-size:16.5px; }
.tl-item p{ margin:0; font-size:15px; color:var(--ink-soft); }

/* ---------- Audience badges ---------- */
.aud { display:inline-flex; gap:6px; align-items:center; font-size:12.5px; font-weight:700; color:var(--blue);
  background:var(--grad-soft); padding:5px 12px; border-radius:999px; margin:2px 4px 2px 0; }

/* ---------- Two-context tabs (Iceland / global) ---------- */
.context-cols{ display:grid; grid-template-columns:1fr 1fr; gap:18px; margin:22px 0 8px; }
@media (max-width:720px){ .context-cols{ grid-template-columns:1fr; } }
.ctx{ border-radius:18px; padding:22px 22px 24px; border:1px solid var(--line); box-shadow:var(--shadow); }
.ctx.ice{ background:linear-gradient(135deg, rgba(20,214,196,.10), rgba(46,107,230,.08)); }
.ctx.glob{ background:linear-gradient(135deg, rgba(108,63,224,.10), rgba(26,27,75,.06)); }
.ctx .flag{ font-size:13px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--blue); margin-bottom:8px; }
.ctx h3{ margin:0 0 8px; }

/* hero size variant for inner pages */
.hero.compact{ padding:60px 24px 64px; }
.hero.compact h1{ font-size:clamp(32px,5.5vw,52px); }

/* footer nav */
.foot-links{ display:flex; gap:18px; flex-wrap:wrap; }
.foot-links a{ color:#9ec1ff; text-decoration:none; font-size:14px; }

/* ============================================================
   REBUILD v2 — section icons, goal chain, SCT, exclusion chain
   ============================================================ */

/* ---- Section header with icon chip ---- */
.sec-head { display:flex; align-items:center; gap:14px; margin-bottom:6px; }
.sec-ico { width:46px; height:46px; border-radius:13px; flex:0 0 auto; display:flex;
  align-items:center; justify-content:center; font-size:24px; color:#fff;
  background:var(--si,linear-gradient(135deg,#2E6BE6,#6C3FE0)); box-shadow:0 6px 16px rgba(46,107,230,.25); }
.sec-head .eyebrow { margin:0; }

/* ---- cleaner top nav ---- */
.nav-links a { font-size:15px; }
.nav-links a.everything-btn { background:var(--grad-soft); padding:6px 14px; border-radius:999px; color:var(--indigo); }

/* ---- Goal causal chain ---- */
.goalchain { margin:26px 0 8px; }
.gc-row { display:grid; grid-template-columns:1fr auto 1fr auto 1fr auto 1fr; align-items:stretch; gap:8px; }
@media (max-width:820px){ .gc-row{ grid-template-columns:1fr; } .gc-row .gc-arrow{ transform:rotate(90deg); justify-self:center; } }
.gc-step { border-radius:16px; padding:18px 16px; color:#fff; box-shadow:var(--shadow); display:flex; flex-direction:column; justify-content:center; text-align:center; }
.gc-step .gc-k { font-size:11.5px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; opacity:.9; margin-bottom:6px; }
.gc-step .gc-t { font-size:16px; font-weight:800; line-height:1.25; }
.gc-step .gc-d { font-size:12.5px; opacity:.95; margin-top:6px; line-height:1.4; }
.gc-1{ background:linear-gradient(135deg,#14D6C4,#2E8FE6); }
.gc-2{ background:linear-gradient(135deg,#2E6BE6,#4A5BE0); }
.gc-3{ background:linear-gradient(135deg,#4A5BE0,#6C3FE0); }
.gc-4{ background:linear-gradient(135deg,#6C3FE0,#1A1B4B); }
.gc-arrow{ display:flex; align-items:center; justify-content:center; font-size:24px; color:var(--ink-soft); font-weight:800; }
.gc-goal-banner{ text-align:center; background:var(--grad); color:#fff; border-radius:14px; padding:14px 20px; margin:0 0 16px; font-weight:700; font-size:16px; box-shadow:var(--shadow); }
.gc-subs{ display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:16px; }
@media (max-width:640px){ .gc-subs{ grid-template-columns:1fr; } }
.gc-sub{ border:1px solid var(--line); border-left:5px solid var(--teal); border-radius:0 12px 12px 0; background:var(--grad-soft); padding:14px 16px; }
.gc-sub h4{ margin:0 0 4px; font-size:15px; color:var(--indigo); }
.gc-sub p{ margin:0; font-size:13.5px; color:var(--ink-soft); }

/* ---- Branded exclusion chain card ---- */
.ecard{ border-radius:22px; overflow:hidden; box-shadow:var(--shadow-lg); border:1px solid var(--line); margin:26px 0 8px; }
.ecard-top{ background:var(--grad); color:#fff; padding:24px 26px 26px; }
.ecard-brand{ display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.ecard-brand img{ height:34px; }
.ecard-top .eb{ font-size:12px; font-weight:800; letter-spacing:.18em; text-transform:uppercase; opacity:.9; }
.ecard-top h3{ margin:6px 0 8px; font-size:clamp(22px,3.4vw,30px); color:#fff; line-height:1.1; }
.ecard-top p{ margin:0; font-size:15px; opacity:.95; max-width:62ch; }
.ecard-body{ background:#fff; padding:26px 22px 24px; }
.ec-flow{ display:grid; grid-template-columns:repeat(6,1fr); gap:8px; align-items:start; }
@media (max-width:760px){ .ec-flow{ grid-template-columns:repeat(2,1fr); gap:20px 10px; } }
.ec-node{ text-align:center; position:relative; }
.ec-ring{ width:74px; height:74px; border-radius:50%; margin:0 auto 10px; display:flex; align-items:center;
  justify-content:center; font-weight:800; font-size:26px; background:#fff; border:5px solid var(--ec,#2E6BE6); color:var(--ec,#2E6BE6); }
.ec-nm{ font-size:14px; font-weight:800; color:var(--ink); line-height:1.18; }
.ec-ds{ font-size:12.5px; color:var(--ink-soft); margin-top:4px; line-height:1.3; }
.ec-badge{ display:inline-block; margin-top:10px; background:linear-gradient(90deg,#14D6C4,#2E6BE6); color:#fff;
  font-size:12px; font-weight:800; padding:5px 12px; border-radius:999px; box-shadow:0 6px 16px rgba(20,214,196,.35); }
/* per-link explanation cards */
.ec-explain{ display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:16px; margin:24px 0 8px; }
.ec-card{ border:1px solid var(--line); border-radius:16px; background:#fff; box-shadow:var(--shadow); padding:18px; border-top:4px solid var(--ec,#2E6BE6); }
.ec-card .ec-h{ display:flex; align-items:center; gap:10px; margin-bottom:8px; }
.ec-card .ec-n{ width:32px; height:32px; border-radius:9px; flex:0 0 auto; display:flex; align-items:center; justify-content:center;
  font-weight:800; color:#fff; background:var(--ec,#2E6BE6); font-size:15px; }
.ec-card h4{ margin:0; font-size:16px; }
.ec-card p{ margin:0; font-size:14px; color:var(--ink-soft); }

/* ---- SCT triad ---- */
.sct-wrap{ margin:24px 0 8px; }
.sct-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
@media (max-width:760px){ .sct-grid{ grid-template-columns:1fr; } }
.sct-node{ border-radius:18px; padding:20px; color:#fff; box-shadow:var(--shadow); }
.sct-node h4{ margin:0 0 6px; font-size:17px; font-weight:800; }
.sct-node .sct-sub{ font-size:12.5px; opacity:.9; font-weight:700; text-transform:uppercase; letter-spacing:.08em; margin-bottom:8px; }
.sct-node p{ margin:0; font-size:14px; opacity:.96; line-height:1.45; }
.sct-p{ background:linear-gradient(135deg,#14D6C4,#2E8FE6); }
.sct-b{ background:linear-gradient(135deg,#2E6BE6,#4A5BE0); }
.sct-e{ background:linear-gradient(135deg,#6C3FE0,#1A1B4B); }
.sct-note{ text-align:center; font-size:13.5px; color:var(--ink-soft); margin-top:14px; font-style:italic; }

/* ---- audience doors ---- */
.doors{ display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:14px; margin:22px 0 6px; }
.door{ display:flex; flex-direction:column; gap:6px; text-decoration:none; color:inherit; border:1px solid var(--line);
  border-radius:16px; padding:18px 20px; background:#fff; box-shadow:var(--shadow); transition:transform .15s ease; }
.door:hover{ transform:translateY(-3px); }
.door .di{ font-size:24px; }
.door h4{ margin:0; font-size:16px; }
.door p{ margin:0; font-size:13px; color:var(--ink-soft); }
.door .dgo{ font-size:13px; font-weight:700; color:var(--blue); margin-top:4px; }

/* ---- video ---- */
.video-embed{ position:relative; padding-top:56.25%; border-radius:16px; overflow:hidden; box-shadow:var(--shadow); border:1px solid var(--line); margin:22px 0; }
.video-embed iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.video-ph{ position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center;
  background:var(--grad); color:#fff; text-align:center; padding:20px; }
.video-ph .pp{ width:64px; height:64px; border-radius:50%; background:rgba(255,255,255,.25); display:flex; align-items:center; justify-content:center; font-size:28px; margin-bottom:12px; }

/* wrapper for embedded SVG graphics lifted from blog */
.frame{ margin:24px auto; max-width:720px; background:#fff; border:1px solid var(--line);
  border-radius:16px; padding:18px; box-shadow:var(--shadow); }
.frame svg{ width:100%; height:auto; display:block; }
.infographic svg{ width:100%; height:auto; }

/* ============================================================
   REBUILD v3 — clean headers, FAQ, SMART, marketing, model
   ============================================================ */
/* clean section header: no emoji, eyebrow + gradient rule */
.sec-head{ display:block; margin-bottom:4px; }
.sec-rule{ height:4px; width:60px; border-radius:4px; margin:10px 0 16px;
  background:var(--si, linear-gradient(90deg,#14D6C4,#6C3FE0)); }

/* program model (HTML, icons) */
.pm{ border-radius:22px; overflow:hidden; box-shadow:var(--shadow-lg); border:1px solid var(--line); margin:24px 0 8px; }
.pm-top{ background:var(--grad); color:#fff; padding:22px 26px; }
.pm-top h3{ margin:0; color:#fff; font-size:clamp(20px,3vw,26px); }
.pm-top p{ margin:6px 0 0; opacity:.95; font-size:14.5px; }
.pm-body{ background:#fff; padding:24px 22px; }
.pm-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; align-items:stretch; }
@media (max-width:820px){ .pm-row{ grid-template-columns:1fr 1fr; gap:18px; } }
@media (max-width:460px){ .pm-row{ grid-template-columns:1fr; } }
.pm-step{ position:relative; padding:0 14px; text-align:center; }
.pm-step:not(:last-child)::after{ content:"→"; position:absolute; right:-9px; top:34px; color:var(--ink-soft); font-weight:800; font-size:20px; }
@media (max-width:820px){ .pm-step::after{ display:none; } }
.pm-ico{ width:72px; height:72px; border-radius:20px; margin:0 auto 12px; display:flex; align-items:center; justify-content:center;
  background:var(--pc,#2E6BE6); box-shadow:0 8px 18px rgba(46,107,230,.25); }
.pm-ico svg{ width:38px; height:38px; }
.pm-tag{ font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--pc,#2E6BE6); }
.pm-step h4{ margin:4px 0 6px; font-size:17px; }
.pm-step p{ margin:0; font-size:13px; color:var(--ink-soft); line-height:1.4; }
.pm-foot{ margin-top:20px; background:var(--bg-tint); border:1px solid var(--line); border-radius:14px; padding:14px 18px;
  text-align:center; font-size:13.5px; color:var(--ink); }

/* FAQ accordion */
.faq{ margin:22px 0 8px; }
.faq details{ border:1px solid var(--line); border-radius:14px; background:#fff; box-shadow:var(--shadow); margin-bottom:12px; overflow:hidden; }
.faq summary{ cursor:pointer; padding:18px 22px; font-weight:700; font-size:17px; color:var(--ink); list-style:none;
  display:flex; justify-content:space-between; align-items:center; gap:14px; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; color:var(--blue); font-weight:800; font-size:24px; flex:0 0 auto; transition:transform .2s; }
.faq details[open] summary::after{ content:"–"; }
.faq .faq-a{ padding:0 22px 20px; font-size:15.5px; color:var(--ink-soft); line-height:1.6; }
.faq .faq-a a{ color:var(--blue); }

/* SMART objectives */
.smart{ display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:16px; margin:22px 0 8px; }
.smart-card{ border:1px solid var(--line); border-left:5px solid var(--sc2,#2E6BE6); border-radius:0 14px 14px 0;
  background:#fff; box-shadow:var(--shadow); padding:18px 20px; }
.smart-card .so-k{ font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--sc2,#2E6BE6); }
.smart-card p{ margin:6px 0 0; font-size:14.5px; color:var(--ink); line-height:1.5; }

/* marketing gallery */
.mkt-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:22px; margin:24px 0 8px; }
.mkt-card{ border:1px solid var(--line); border-radius:18px; overflow:hidden; background:#fff; box-shadow:var(--shadow); }
.mkt-card .mkt-img{ background:var(--bg-tint); display:flex; align-items:center; justify-content:center; padding:16px; min-height:200px; }
.mkt-card .mkt-img.dark{ background:linear-gradient(135deg,#1A1B4B,#14143C); }
.mkt-card img{ max-height:280px; width:auto; border-radius:8px; }
.mkt-card .mkt-cap{ padding:14px 18px 18px; }
.mkt-card .mkt-cap h4{ margin:0 0 4px; font-size:16px; }
.mkt-card .mkt-cap p{ margin:0; font-size:13.5px; color:var(--ink-soft); }
.note-box{ background:var(--grad-soft); border:1px solid var(--line); border-radius:14px; padding:16px 20px; margin:20px 0; font-size:15px; }

/* ============================================================
   REBUILD v4 — active nav, scroll-spy sidebar
   ============================================================ */
.nav-links a.active{ color:var(--blue); font-weight:800; border-bottom:2px solid var(--blue); padding-bottom:2px; }

/* scroll-spy sidebar (progressive enhancement; wide screens only) */
.spy{ display:none; }
@media (min-width:1340px){
  .spy{ display:block; position:fixed; top:120px; left:max(16px, calc((100vw - 1080px)/2 - 200px)); width:190px;
    max-height:72vh; overflow:auto; padding:6px 10px; z-index:30; }
  .spy-title{ font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-soft); margin-bottom:10px; }
  .spy a{ display:block; font-size:13px; line-height:1.35; color:var(--ink-soft); text-decoration:none;
    padding:6px 10px; border-left:2px solid var(--line); margin-bottom:2px; transition:all .15s; }
  .spy a:hover{ color:var(--blue); border-left-color:var(--blue); }
  .spy a.on{ color:var(--blue); font-weight:700; border-left-color:var(--blue); background:var(--grad-soft); border-radius:0 8px 8px 0; }
}

/* v5 — sidebar reveals on scroll only */
@media (min-width:1340px){
  .spy{ opacity:0; transform:translateX(-8px); pointer-events:none; transition:opacity .3s ease, transform .3s ease; }
  .spy.visible{ opacity:1; transform:none; pointer-events:auto; }
}

/* v6 — nav logo sized to fit the horizontal lockup */
.nav a.brand img{ height:46px; max-width:230px; width:auto; object-fit:contain; }
@media (max-width:900px){ .nav a.brand img{ height:38px; max-width:180px; } }

/* v7 — detailed session anatomy */
.sess{ border:1px solid var(--line); border-radius:18px; overflow:hidden; box-shadow:var(--shadow); margin:20px 0; background:#fff; }
.sess-head{ padding:20px 24px; color:#fff; background:var(--sc,linear-gradient(135deg,#2E6BE6,#6C3FE0)); }
.sess-tag{ font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; opacity:.92; }
.sess-head h3{ margin:6px 0 8px; color:#fff; font-size:clamp(19px,2.6vw,24px); }
.sess-method{ font-size:13.5px; opacity:.96; line-height:1.45; background:rgba(255,255,255,.14); border-radius:10px; padding:8px 12px; }
.sess-method strong{ font-weight:800; }
.sess-body{ padding:10px 24px 20px; }
.pillar{ display:flex; gap:14px; padding:14px 0; border-bottom:1px solid var(--line); }
.pillar:last-child{ border-bottom:none; }
.pillar .dot{ flex:0 0 auto; width:12px; height:12px; border-radius:50%; margin-top:6px; background:var(--sc,linear-gradient(135deg,#2E6BE6,#6C3FE0)); }
.pillar .pc h4{ margin:0 0 3px; font-size:16px; }
.pillar .pc p{ margin:0; font-size:14.5px; color:var(--ink-soft); line-height:1.5; }

/* v8 — anchor scroll offset so headings clear the sticky nav */
[id]{ scroll-margin-top: 96px; }
