:root{
  --text-xs:clamp(.75rem,.7rem + .25vw,.875rem);
  --text-sm:clamp(.875rem,.8rem + .35vw,1rem);
  --text-base:clamp(1rem,.95rem + .25vw,1.125rem);
  --text-lg:clamp(1.125rem,1rem + .75vw,1.5rem);
  --text-xl:clamp(1.5rem,1.2rem + 1.25vw,2.25rem);
  --text-2xl:clamp(2rem,1.2rem + 2.5vw,3.5rem);
  --text-3xl:clamp(2.5rem,1rem + 4vw,5rem);

  --space-1:.25rem;--space-2:.5rem;--space-3:.75rem;--space-4:1rem;--space-5:1.25rem;--space-6:1.5rem;--space-8:2rem;--space-10:2.5rem;--space-12:3rem;--space-16:4rem;--space-20:5rem;--space-24:6rem;--space-32:8rem;

  --radius-sm:.375rem;--radius-md:.5rem;--radius-lg:.75rem;--radius-xl:1rem;--radius-2xl:1.5rem;--radius-full:9999px;
  --transition-interactive:200ms cubic-bezier(.16,1,.3,1);

  --content-narrow:680px;--content-default:1020px;--content-wide:1240px;

  --font-display:'Fraunces',Georgia,serif;
  --font-body:'Plus Jakarta Sans','Helvetica Neue',sans-serif;
}

/* LIGHT — warm cream surfaces, deep teal primary, warm gold secondary accent */
:root,[data-theme='light']{
  --color-bg:#fbf8f1;
  --color-surface:#fffdf8;
  --color-surface-2:#fffefb;
  --color-surface-offset:#f4efe3;
  --color-surface-offset-2:#ece5d4;
  --color-divider:#e4dcca;
  --color-border:#d9cfb8;

  --color-text:#23291f;
  --color-text-muted:#6a6f5f;
  --color-text-faint:#a9ab9a;
  --color-text-inverse:#fbf8f1;

  --color-primary:#0d6f6b;
  --color-primary-hover:#0a5450;
  --color-primary-active:#073b38;
  --color-primary-soft:#dceae6;

  --color-gold:#c98a14;
  --color-gold-hover:#a8710d;
  --color-gold-soft:#f3e6c8;

  --shadow-sm:0 1px 2px oklch(.3 .03 120 / .07);
  --shadow-md:0 6px 18px oklch(.3 .03 120 / .1);
  --shadow-lg:0 18px 44px oklch(.3 .03 120 / .14);
}

[data-theme='dark']{
  --color-bg:#15171298;
  --color-bg:#141611;
  --color-surface:#1b1d17;
  --color-surface-2:#21241c;
  --color-surface-offset:#1e2019;
  --color-surface-offset-2:#262921;
  --color-divider:#2c2f25;
  --color-border:#3a3d31;

  --color-text:#e7e6dc;
  --color-text-muted:#9ea090;
  --color-text-faint:#6c6e60;
  --color-text-inverse:#141611;

  --color-primary:#4db3ad;
  --color-primary-hover:#69c5bf;
  --color-primary-active:#88d3ce;
  --color-primary-soft:#1f322f;

  --color-gold:#e0ab43;
  --color-gold-hover:#eebf61;
  --color-gold-soft:#3a3122;

  --shadow-sm:0 1px 2px oklch(0 0 0 / .3);
  --shadow-md:0 6px 18px oklch(0 0 0 / .4);
  --shadow-lg:0 18px 44px oklch(0 0 0 / .5);
}
@media (prefers-color-scheme:dark){:root:not([data-theme]){--color-bg:#141611;--color-surface:#1b1d17;--color-surface-2:#21241c;--color-surface-offset:#1e2019;--color-surface-offset-2:#262921;--color-divider:#2c2f25;--color-border:#3a3d31;--color-text:#e7e6dc;--color-text-muted:#9ea090;--color-text-faint:#6c6e60;--color-text-inverse:#141611;--color-primary:#4db3ad;--color-primary-hover:#69c5bf;--color-primary-active:#88d3ce;--color-primary-soft:#1f322f;--color-gold:#e0ab43;--color-gold-hover:#eebf61;--color-gold-soft:#3a3122}}

/* ---------- Layout primitives ---------- */
.wrap{width:100%;max-width:var(--content-wide);margin-inline:auto;padding-inline:var(--space-6)}
.narrow{max-width:var(--content-default)}
section{padding-block:clamp(var(--space-16),9vw,var(--space-32))}
.eyebrow{font-size:var(--text-xs);font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--color-primary);display:inline-flex;align-items:center;gap:var(--space-2)}
[data-theme='dark'] .eyebrow{color:var(--color-primary)}
.h-display{font-family:var(--font-display);font-weight:600;font-size:var(--text-2xl);line-height:1.05;letter-spacing:-.01em}
.h-section{font-family:var(--font-display);font-weight:600;font-size:var(--text-xl);line-height:1.1;letter-spacing:-.01em}
.lead{font-size:var(--text-lg);color:var(--color-text-muted);max-width:60ch}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);font-size:var(--text-sm);font-weight:600;padding:.85em 1.5em;border-radius:var(--radius-full);text-decoration:none;line-height:1;min-height:44px;border:1.5px solid transparent}
.btn-primary{background:var(--color-primary);color:var(--color-text-inverse)}
.btn-primary:hover{background:var(--color-primary-hover);transform:translateY(-1px);box-shadow:var(--shadow-md)}
.btn-gold{background:var(--color-gold);color:#231c08}
.btn-gold:hover{background:var(--color-gold-hover);transform:translateY(-1px);box-shadow:var(--shadow-md)}
.btn-ghost{background:transparent;color:var(--color-text);border-color:var(--color-border)}
.btn-ghost:hover{border-color:var(--color-primary);color:var(--color-primary)}

/* ---------- Header ---------- */
.header{position:sticky;top:0;z-index:50;background:oklch(from var(--color-bg) l c h / .88);backdrop-filter:blur(14px);border-bottom:1px solid transparent;transition:border-color var(--transition-interactive),box-shadow var(--transition-interactive)}
.header.scrolled{border-color:var(--color-divider);box-shadow:var(--shadow-sm)}
.nav{display:flex;align-items:center;justify-content:space-between;gap:var(--space-6);min-height:72px}
.brand{display:flex;align-items:center;gap:var(--space-3);text-decoration:none;color:var(--color-text)}
.brand .logo{color:var(--color-primary);flex:none}
.brand-name{font-family:var(--font-display);font-weight:600;font-size:1.18rem;line-height:1;letter-spacing:-.01em}
.brand-tag{font-size:.62rem;letter-spacing:.18em;text-transform:uppercase;color:var(--color-text-muted);font-weight:700;margin-top:3px}
.nav-links{display:flex;align-items:center;gap:var(--space-6);list-style:none}
.nav-links a{font-size:var(--text-sm);font-weight:500;color:var(--color-text-muted);text-decoration:none}
.nav-links a:hover{color:var(--color-primary)}
.nav-actions{display:flex;align-items:center;gap:var(--space-3)}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:var(--radius-full);color:var(--color-text-muted);border:1px solid var(--color-border)}
.theme-toggle:hover{color:var(--color-primary);border-color:var(--color-primary)}
.menu-btn{display:none;width:42px;height:42px;align-items:center;justify-content:center;color:var(--color-text);border-radius:var(--radius-md)}

/* ---------- Hero ---------- */
.hero{position:relative;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(var(--space-8),5vw,var(--space-20));align-items:center;padding-block:clamp(var(--space-16),7vw,var(--space-24))}
.hero h1{font-family:var(--font-display);font-weight:600;font-size:var(--text-3xl);line-height:1.02;letter-spacing:-.02em;margin-block:var(--space-5) var(--space-6)}
.hero h1 em{font-style:italic;color:var(--color-primary)}
.hero .lead{margin-bottom:var(--space-8)}
.hero-cta{display:flex;flex-wrap:wrap;gap:var(--space-3)}
.hero-media{position:relative}
.hero-media img{border-radius:var(--radius-2xl);box-shadow:var(--shadow-lg);width:100%;object-fit:cover;aspect-ratio:4/3.2}
.hero-badge{position:absolute;left:-12px;bottom:24px;background:var(--color-surface);border:1px solid var(--color-divider);border-radius:var(--radius-xl);box-shadow:var(--shadow-lg);padding:var(--space-4) var(--space-5);display:flex;align-items:center;gap:var(--space-3);max-width:260px}
.hero-badge .num{font-family:var(--font-display);font-size:1.7rem;font-weight:600;color:var(--color-primary);line-height:1}
.hero-badge .lbl{font-size:var(--text-xs);color:var(--color-text-muted);line-height:1.3}
.hero-bg{position:absolute;inset:0;z-index:-1;background:radial-gradient(120% 90% at 80% 0%,var(--color-primary-soft),transparent 60%)}

/* ---------- Stats band ---------- */
.stats{background:var(--color-primary);color:var(--color-text-inverse)}
[data-theme='dark'] .stats{background:var(--color-surface-2);border-block:1px solid var(--color-border)}
.stats .wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--space-8);padding-block:var(--space-16)}
.stat .n{font-family:var(--font-display);font-size:clamp(2rem,3vw,2.8rem);font-weight:600;line-height:1}
.stat .l{font-size:var(--text-sm);opacity:.85;margin-top:var(--space-2)}
[data-theme='dark'] .stat .n{color:var(--color-primary)}

/* ---------- Cards / generic ---------- */
.grid{display:grid;gap:var(--space-6)}
.cols-3{grid-template-columns:repeat(3,1fr)}
.cols-2{grid-template-columns:repeat(2,1fr)}
.card{background:var(--color-surface);border:1px solid var(--color-divider);border-radius:var(--radius-xl);padding:var(--space-8)}
.card .ic{width:48px;height:48px;border-radius:var(--radius-lg);background:var(--color-primary-soft);color:var(--color-primary);display:flex;align-items:center;justify-content:center;margin-bottom:var(--space-5)}
.card h3{font-family:var(--font-display);font-size:var(--text-lg);font-weight:600;margin-bottom:var(--space-3)}
.card p{color:var(--color-text-muted);font-size:var(--text-base)}
.section-head{max-width:640px;margin-bottom:var(--space-12)}
.section-head .lead{margin-top:var(--space-4)}

/* ---------- Program split ---------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(var(--space-8),5vw,var(--space-16));align-items:center}
.split img{border-radius:var(--radius-2xl);box-shadow:var(--shadow-lg);width:100%;aspect-ratio:4/3;object-fit:cover}
.steps{list-style:none;counter-reset:s;margin-top:var(--space-6);display:grid;gap:var(--space-5)}
.steps li{position:relative;padding-left:calc(var(--space-12) + var(--space-2));counter-increment:s}
.steps li::before{content:counter(s);position:absolute;left:0;top:-2px;width:var(--space-10);height:var(--space-10);border-radius:var(--radius-full);background:var(--color-gold-soft);color:var(--color-gold-hover);font-family:var(--font-display);font-weight:600;display:flex;align-items:center;justify-content:center}
.steps h4{font-size:var(--text-base);font-weight:700;margin-bottom:var(--space-1)}
.steps p{color:var(--color-text-muted);font-size:var(--text-sm)}

/* ---------- Impact metrics ---------- */
.metrics{background:var(--color-surface-offset)}
.metric{background:var(--color-surface);border:1px solid var(--color-divider);border-radius:var(--radius-xl);padding:var(--space-6)}
.metric .n{font-family:var(--font-display);font-size:1.8rem;font-weight:600;color:var(--color-primary)}
.metric .l{font-size:var(--text-sm);font-weight:600;margin-top:var(--space-1)}
.metric .d{font-size:var(--text-xs);color:var(--color-text-muted);margin-top:var(--space-2)}

/* ---------- Partners / funders ---------- */
.partners{display:flex;flex-wrap:wrap;gap:var(--space-3);margin-top:var(--space-8)}
.chip{font-size:var(--text-sm);font-weight:600;color:var(--color-text-muted);background:var(--color-surface);border:1px solid var(--color-divider);border-radius:var(--radius-full);padding:.6em 1.1em}

/* ---------- Get involved (3 action cards) ---------- */
.involve .card{display:flex;flex-direction:column}
.involve .card .btn{margin-top:auto;align-self:flex-start}
.involve .featured{background:linear-gradient(160deg,var(--color-primary),var(--color-primary-hover));color:var(--color-text-inverse);border-color:transparent}
.involve .featured .ic{background:oklch(from #ffffff l c h / .18);color:#fff}
.involve .featured h3{color:#fff}
.involve .featured p{color:oklch(from #ffffff l c h / .82)}

/* ---------- Contact / form ---------- */
.contact{background:var(--color-surface-offset)}
.contact-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:clamp(var(--space-8),5vw,var(--space-16));align-items:start}
.form{background:var(--color-surface);border:1px solid var(--color-divider);border-radius:var(--radius-2xl);padding:clamp(var(--space-6),3vw,var(--space-10));box-shadow:var(--shadow-md)}
.field{margin-bottom:var(--space-5)}
.field label{display:block;font-size:var(--text-sm);font-weight:600;margin-bottom:var(--space-2)}
.field input,.field select,.field textarea{width:100%;padding:.8em 1em;border:1.5px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-2);color:var(--color-text);font-size:var(--text-base)}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-soft)}
.field textarea{min-height:120px;resize:vertical}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-4)}
.contact-info li{display:flex;gap:var(--space-3);align-items:flex-start;margin-bottom:var(--space-5);color:var(--color-text-muted);max-width:none}
.contact-info .ic{color:var(--color-primary);flex:none;margin-top:2px}
.contact-info strong{display:block;color:var(--color-text);font-size:var(--text-base)}
.form-note{font-size:var(--text-xs);color:var(--color-text-faint);margin-top:var(--space-3)}
.success{display:none;text-align:center;padding:var(--space-8) 0}
.success.show{display:block}
.success .ic{width:64px;height:64px;border-radius:var(--radius-full);background:var(--color-primary-soft);color:var(--color-primary);display:flex;align-items:center;justify-content:center;margin:0 auto var(--space-5)}
.success h3{font-family:var(--font-display);font-size:var(--text-xl);margin-bottom:var(--space-2)}
.success p{color:var(--color-text-muted);margin-inline:auto}

/* ---------- CTA banner ---------- */
.cta-band{background:linear-gradient(150deg,var(--color-primary-active),var(--color-primary));color:var(--color-text-inverse);text-align:center}
[data-theme='dark'] .cta-band{background:linear-gradient(150deg,#0a2e2b,#0f4642)}
.cta-band h2{font-family:var(--font-display);font-size:var(--text-2xl);font-weight:600;margin-bottom:var(--space-4);color:#fff}
.cta-band p{color:oklch(from #ffffff l c h / .85);max-width:52ch;margin:0 auto var(--space-8)}
.cta-band .hero-cta{justify-content:center}
.cta-band .btn-ghost{color:#fff;border-color:oklch(from #ffffff l c h / .4)}
.cta-band .btn-ghost:hover{background:oklch(from #ffffff l c h / .12);border-color:#fff;color:#fff}

/* ---------- Footer ---------- */
.footer{background:var(--color-surface-2);border-top:1px solid var(--color-divider)}
.footer .wrap{display:grid;grid-template-columns:2fr 1fr 1fr;gap:var(--space-10);padding-block:var(--space-16) var(--space-10)}
.footer p{color:var(--color-text-muted);font-size:var(--text-sm);margin-top:var(--space-4)}
.footer h4{font-size:var(--text-xs);letter-spacing:.12em;text-transform:uppercase;color:var(--color-text-faint);margin-bottom:var(--space-4)}
.footer ul{list-style:none;display:grid;gap:var(--space-3)}
.footer ul a{color:var(--color-text-muted);text-decoration:none;font-size:var(--text-sm)}
.footer ul a:hover{color:var(--color-primary)}
.footer-bottom{border-top:1px solid var(--color-divider);padding-block:var(--space-6)}
.footer-bottom .wrap{display:flex;justify-content:space-between;flex-wrap:wrap;gap:var(--space-4);padding-block:0}
.footer-bottom small{color:var(--color-text-faint);font-size:var(--text-xs)}

.reveal{opacity:0;transform:translateY(20px);transition:opacity .7s cubic-bezier(.16,1,.3,1),transform .7s cubic-bezier(.16,1,.3,1)}
.reveal.in{opacity:1;transform:none}

/* ---------- Responsive ---------- */
@media (max-width:900px){
  .hero-grid,.split,.contact-grid{grid-template-columns:1fr}
  .hero-media{order:-1}
  .stats .wrap{grid-template-columns:repeat(2,1fr);gap:var(--space-10)}
  .cols-3{grid-template-columns:1fr}
  .footer .wrap{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  .nav{gap:var(--space-3)}
  .nav-links{display:none}
  .menu-btn{display:inline-flex}
  .nav-links.open{display:flex;position:absolute;top:72px;left:0;right:0;flex-direction:column;align-items:flex-start;gap:var(--space-4);background:var(--color-surface);border-bottom:1px solid var(--color-divider);padding:var(--space-6)}
  .brand-tag{display:none}
  .brand-name{font-size:1.05rem}
  .nav-actions{gap:var(--space-2)}
  .nav-actions .btn-gold{padding:.7em 1.1em}
  .cols-2,.form-row{grid-template-columns:1fr}
  .footer .wrap{grid-template-columns:1fr}
  .hero-cta .btn{flex:1}
}
@media (max-width:380px){
  .nav-actions .btn-gold{display:none}
}

/* ABOUT / OUR STORY — value cards */
.values-grid{display:grid;gap:var(--space-4)}
.value-card{
  background:var(--color-surface-2);
  border:1px solid var(--color-border);
  border-radius:var(--radius-xl);
  padding:var(--space-6);
  box-shadow:var(--shadow-sm);
}
.value-card .eyebrow{margin-bottom:var(--space-3)}
.value-card p{margin:0;color:var(--color-text-muted)}
.value-list{list-style:none;margin:0;padding:0;display:grid;gap:var(--space-2)}
.value-list li{position:relative;padding-left:1.5rem;color:var(--color-text-muted)}
.value-list li::before{
  content:"";position:absolute;left:0;top:.55em;
  width:.5rem;height:.5rem;border-radius:var(--radius-full);
  background:var(--color-gold);
}

/* PAGE HERO — interior pages (Request a Ride) */
.page-hero{
  padding-block:var(--space-16) var(--space-8);
  background:var(--color-surface-offset);
  border-bottom:1px solid var(--color-border);
}
.page-hero .eyebrow{display:inline-flex}

/* DONATE MODAL */
.donate-overlay[hidden]{display:none!important}
.donate-overlay{
  position:fixed;inset:0;z-index:1000;
  display:grid;place-items:center;
  padding:var(--space-4);
  background:rgba(15,30,28,.55);
  backdrop-filter:blur(4px);
  opacity:0;transition:opacity .28s ease;
  overflow-y:auto;
}
.donate-overlay.show{opacity:1}
.donate-dialog{
  position:relative;
  width:100%;max-width:560px;
  margin:auto;
  background:var(--color-surface);
  border:1px solid var(--color-border);
  border-radius:var(--radius-2xl,1.5rem);
  box-shadow:var(--shadow-xl,0 30px 60px -15px rgba(0,0,0,.35));
  padding:var(--space-10) var(--space-8) var(--space-8);
  transform:translateY(16px) scale(.98);
  transition:transform .28s ease;
}
.donate-overlay.show .donate-dialog{transform:translateY(0) scale(1)}
.donate-close{
  position:absolute;top:var(--space-4);right:var(--space-4);
  display:grid;place-items:center;
  width:2.5rem;height:2.5rem;
  border:1px solid var(--color-border);
  border-radius:var(--radius-full,999px);
  background:var(--color-surface-2,var(--color-surface));
  color:var(--color-text);cursor:pointer;
  transition:background .2s ease,color .2s ease,transform .2s ease;
}
.donate-close:hover{background:var(--color-primary);color:#fff;transform:rotate(90deg)}
.donate-head{text-align:center;max-width:420px;margin:0 auto var(--space-6)}
.donate-head h2{font-family:var(--font-display);font-size:var(--text-2xl);margin:var(--space-3) 0}
.donate-head p{color:var(--color-text-muted);margin:0}
.donate-amounts{display:flex;gap:var(--space-3);justify-content:center;margin-top:var(--space-6);flex-wrap:wrap}
.donate-amounts .amt{
  display:flex;flex-direction:column;align-items:center;gap:2px;
  padding:var(--space-3) var(--space-4);
  border:1px solid var(--color-border);
  border-radius:var(--radius-lg,.75rem);
  background:var(--color-surface-offset,var(--color-surface-2,var(--color-surface)));
  font-size:var(--text-xs);color:var(--color-text-muted);min-width:84px;
}
.donate-amounts .amt b{font-family:var(--font-display);font-size:var(--text-lg);color:var(--color-primary)}
.donate-embed{display:flex;justify-content:center;min-height:120px}
.donate-embed iframe{width:100%;border:0;background:transparent}
.donate-fallback{
  display:block;text-align:center;color:var(--color-text-muted);
  font-size:var(--text-sm);max-width:400px;margin:var(--space-2) auto 0;line-height:1.7;
}
.donate-embed[data-live="true"] .donate-fallback{display:none}
.donate-embed[data-live="true"] iframe{display:block!important}
.donate-note{
  text-align:center;color:var(--color-text-faint,var(--color-text-muted));
  font-size:var(--text-xs);margin-top:var(--space-6);line-height:1.6;
}
@media (max-width:520px){
  .donate-dialog{padding:var(--space-8) var(--space-5) var(--space-6)}
  .donate-head h2{font-size:var(--text-xl)}
}

/* ==========================================================================
   SPELL IMPACT FRAMEWORK BLOCKS — built from the existing token set
   (--color-*, --space-*, --radius-*, --text-*, --font-*, --shadow-*)
   ========================================================================== */

/* R1 — attribution strip below the hero */
.spell-attrib{background:var(--color-surface-offset);border-block:1px solid var(--color-divider)}
.spell-attrib .wrap{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;
  gap:var(--space-4);padding-block:var(--space-5)}
.spell-attrib .attrib{font-size:var(--text-sm);color:var(--color-text-muted);max-width:none}
.spell-attrib .attrib b{font-size:var(--text-xs);font-weight:700;letter-spacing:.16em;
  text-transform:uppercase;color:var(--color-primary);margin-right:var(--space-2)}
.spell-attrib .tagline{font-family:var(--font-display);font-weight:600;font-size:var(--text-lg);
  color:var(--color-text);letter-spacing:-.01em;margin:0;max-width:none}
.spell-attrib .tagline em{font-style:italic;color:var(--color-primary)}

/* R3 — lead pillar */
.spell-pillar{background:var(--color-surface-offset)}
.pillar-card{background:var(--color-surface);border:1px solid var(--color-divider);
  border-radius:var(--radius-2xl);padding:clamp(var(--space-6),3vw,var(--space-10));
  box-shadow:var(--shadow-md);display:grid;grid-template-columns:auto 1fr;
  gap:clamp(var(--space-5),3vw,var(--space-8));align-items:start;margin-top:var(--space-10)}
.pillar-badge{width:72px;height:72px;flex:none;border-radius:var(--radius-xl);
  background:var(--color-primary);color:var(--color-text-inverse);display:grid;place-items:center;
  font-family:var(--font-display);font-weight:600;font-size:2.25rem;line-height:1;box-shadow:var(--shadow-sm)}
[data-theme='dark'] .pillar-badge{color:#0e1512}
.pillar-card h3{font-family:var(--font-display);font-weight:600;font-size:var(--text-xl);
  letter-spacing:-.01em;margin-bottom:var(--space-4)}
.pillar-card .pillar-fixed{font-size:var(--text-lg);color:var(--color-text);max-width:64ch}
.pillar-card .pillar-site{margin-top:var(--space-4);color:var(--color-text-muted);max-width:64ch}
.pillar-notes{list-style:none;margin:var(--space-6) 0 0;padding:0;display:grid;gap:var(--space-3)}
.pillar-notes li{position:relative;padding-left:1.6rem;color:var(--color-text-muted);
  font-size:var(--text-sm);max-width:64ch}
.pillar-notes li::before{content:"";position:absolute;left:0;top:.6em;width:.5rem;height:.5rem;
  border-radius:var(--radius-full);background:var(--color-gold)}
.pillar-notes strong{color:var(--color-text)}

/* R7 — outcome commitments */
.commit-intro{color:var(--color-text-muted);font-size:var(--text-base);
  max-width:68ch;margin-top:var(--space-4)}
.commit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-6);margin-top:var(--space-8)}
.commit-card{background:var(--color-surface);border:1px solid var(--color-divider);
  border-radius:var(--radius-xl);padding:var(--space-8);display:flex;flex-direction:column}
.commit-card .lvl{font-size:var(--text-xs);font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  color:var(--color-primary)}
.commit-card .val{font-family:var(--font-display);font-weight:600;font-size:var(--text-2xl);
  line-height:1;color:var(--color-text);margin-block:var(--space-4) var(--space-4)}
.commit-card .what{color:var(--color-text-muted);font-size:var(--text-sm);margin-bottom:var(--space-5)}
.commit-card .cadence{margin-top:auto;padding-top:var(--space-4);border-top:1px solid var(--color-divider);
  font-size:var(--text-xs);color:var(--color-text-faint);letter-spacing:.02em}

/* R8 — access bar */
.access-bar{background:var(--color-surface-2);border:1px solid var(--color-border);
  border-radius:var(--radius-2xl);box-shadow:var(--shadow-sm);
  padding:clamp(var(--space-6),3vw,var(--space-8));display:flex;flex-wrap:wrap;align-items:center;
  gap:var(--space-4) var(--space-6);justify-content:space-between}
.access-bar .access-copy{color:var(--color-text-muted);font-size:var(--text-sm);max-width:56ch;margin:0}
.access-bar .access-actions{display:flex;flex-wrap:wrap;gap:var(--space-3);align-items:center}
.access-bar .access-actions .btn{white-space:nowrap}

/* R9 — governance link treatment */
.gov-link{display:inline-flex;align-items:center;gap:var(--space-2);font-weight:600;
  font-size:var(--text-sm);color:var(--color-primary);text-decoration:none;margin-top:var(--space-6)}
.gov-link:hover{color:var(--color-primary-hover);text-decoration:underline}
.nav-links a.nav-gov{color:var(--color-text-muted)}

/* R2 — appended org footer block */
.footer-org{border-top:1px solid var(--color-divider)}
.footer-org .wrap{display:block;padding-block:var(--space-8)}
.footer-org p{color:var(--color-text-muted);font-size:var(--text-xs);line-height:1.7;
  max-width:88ch;margin-top:var(--space-3)}
.footer-org p:first-child{margin-top:0}
.footer-org .org-name{color:var(--color-text);font-weight:600;font-size:var(--text-sm)}
.footer-org a{color:var(--color-primary);text-decoration:none}
.footer-org a:hover{text-decoration:underline}

/* Responsive behaviour for the new blocks + wider nav */
@media (max-width:1240px){
  .nav-links{display:none}
  .menu-btn{display:inline-flex}
  .nav-links.open{display:flex;position:absolute;top:72px;left:0;right:0;flex-direction:column;
    align-items:flex-start;gap:var(--space-4);background:var(--color-surface);
    border-bottom:1px solid var(--color-divider);padding:var(--space-6);box-shadow:var(--shadow-md)}
}
@media (max-width:900px){
  .commit-grid{grid-template-columns:1fr}
  .pillar-card{grid-template-columns:1fr}
  .spell-attrib .wrap{flex-direction:column;align-items:flex-start}
}

/* Header fits the added SPELL Impact + Governance links without wrapping */
.nav-links a{white-space:nowrap}
.brand-name,.brand-tag{white-space:nowrap}
@media (min-width:1241px){
  .nav-links{gap:var(--space-4)}
  .nav-links a{font-size:var(--text-xs);word-spacing:.14em}
}

/* ── Claim discipline: targets must never read as delivered results ──
   Added per SPELL Impact Manifest v1.1, guardrail "Claim discipline"
   and Clinical Protocol Manual Appendix D.2. */
.target-notice {
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-5);
  border-left: 4px solid var(--color-gold, #B8860B);
  background: var(--color-surface-2, rgba(0,0,0,.03));
  border-radius: 0 var(--radius-md, 10px) var(--radius-md, 10px) 0;
  font-size: var(--text-sm);
  color: var(--color-text);
  max-width: 68ch;
}
.target-notice strong { color: var(--color-text); }

.target-pill {
  display: inline-block;
  margin-right: .5rem;
  padding: .12rem .5rem;
  border-radius: 999px;
  background: var(--color-gold, #B8860B);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  vertical-align: middle;
}

.stats-note {
  grid-column: 1 / -1;
  margin: var(--space-4) 0 0;
  font-size: var(--text-xs);
  color: rgba(255,255,255,.82);
  text-align: center;
}
.stats-note a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
