/* ============================================================
   Care & Connect Manitoba — shared design system
   Warm, human, hopeful. Accessibility first.
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; }
img, picture, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
ul[role="list"] { list-style: none; padding: 0; }
a { color: inherit; }

/* ---------- Design tokens ---------- */
:root {
  /* Surfaces */
  --cream:      #FBF6EE;
  --cream-2:    #F3EADC;
  --paper:      #FFFFFF;
  --ink:        #221E1A;
  --ink-soft:   #5C544A;
  --ink-faint:  #857B6E;
  --line:       rgba(34,30,26,.13);
  --line-soft:  rgba(34,30,26,.07);

  /* Brand = Teal (Advocacy is the heart) */
  --teal:       #0E7E7A;
  --teal-700:   #0A5B58;
  --teal-900:   #073d3b;
  --teal-50:    #E2F1F0;
  --teal-100:   #C6E4E2;

  /* Community = Amber / gold */
  --amber:      #E0962A;
  --amber-700:  #955911;
  --amber-50:   #FBEFDB;
  --amber-100:  #F6DCB4;

  /* Resources = Indigo */
  --indigo:     #5658CF;
  --indigo-700: #383AA0;
  --indigo-50:  #ECEDFC;
  --indigo-100: #D8DAF6;

  /* Warmth accent = Coral (Get Involved / Story) */
  --coral:      #E25B43;
  --coral-700:  #B23A25;
  --coral-50:   #FCEAE4;
  --coral-100:  #F8D2C7;

  /* Crisis */
  --crisis:     #B42318;
  --crisis-700: #8A1B12;
  --crisis-50:  #FCEBE8;

  /* Per-page section accent — overridden by .theme-* */
  --accent:      var(--teal);
  --accent-700:  var(--teal-700);
  --accent-50:   var(--teal-50);
  --accent-100:  var(--teal-100);

  /* Type */
  --font-display: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Mulish", ui-sans-serif, system-ui, sans-serif;

  /* Accessible rhythm (tweakable) */
  --base-size: 18px;
  --leading:   1.72;
  --tracking:  0.01em;

  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(34,30,26,.06), 0 2px 8px rgba(34,30,26,.05);
  --shadow:    0 6px 24px rgba(34,30,26,.10), 0 2px 6px rgba(34,30,26,.06);
  --shadow-lg: 0 24px 60px rgba(34,30,26,.18), 0 8px 24px rgba(34,30,26,.10);

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
}

/* Per-section accent themes */
.theme-advocacy { --accent: var(--teal);   --accent-700: var(--teal-700);   --accent-50: var(--teal-50);   --accent-100: var(--teal-100); }
.theme-community { --accent: var(--amber);  --accent-700: var(--amber-700);  --accent-50: var(--amber-50);  --accent-100: var(--amber-100); }
.theme-resources { --accent: var(--indigo); --accent-700: var(--indigo-700); --accent-50: var(--indigo-50); --accent-100: var(--indigo-100); }
.theme-involved  { --accent: var(--coral);  --accent-700: var(--coral-700);  --accent-50: var(--coral-50);  --accent-100: var(--coral-100); }

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  font-size: var(--base-size);
  line-height: var(--leading);
  letter-spacing: var(--tracking);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.018em;
  font-weight: 800;
  text-wrap: balance;
  color: var(--ink);
}
p { text-wrap: pretty; max-width: 68ch; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-700);
  display: inline-flex;
  align-items: center;
  gap: .55em;
}
.eyebrow::before {
  content: "";
  width: 1.6em; height: 3px; border-radius: 2px;
  background: var(--accent);
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section-tight { padding-block: clamp(44px, 6vw, 80px); }
.stack > * + * { margin-top: 1.1em; }

/* ---------- Focus (WCAG) ---------- */
:where(a, button, input, select, textarea, [tabindex], image-slot):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 20px;
  border-radius: 10px; font-weight: 700; text-decoration: none;
  transition: top .18s ease;
}
.skip-link:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .6em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .005em;
  line-height: 1;
  padding: 1rem 1.6rem;
  min-height: 52px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  text-decoration: none;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .18s ease, background .18s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn--ink   { --btn-bg: var(--ink); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border-color: var(--line); box-shadow: none;
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-700); box-shadow: var(--shadow-sm); }
.btn--light { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.btn--lg { font-size: 1.1rem; padding: 1.15rem 2rem; min-height: 58px; }
.btn .ico { width: 20px; height: 20px; }

.link-arrow {
  font-family: var(--font-display);
  font-weight: 700; color: var(--accent-700);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: .45em;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .16s ease; }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   Crisis banner
   ============================================================ */
.crisis-bar {
  background: var(--crisis);
  color: #fff;
  font-size: .98rem;
}
.crisis-bar .container {
  display: flex; align-items: center; gap: 16px;
  padding-block: 12px;
}
.crisis-bar .crisis-ico { flex: none; width: 24px; height: 24px; }
.crisis-bar p { max-width: none; margin: 0; line-height: 1.45; }
.crisis-bar strong { font-weight: 800; }
.crisis-bar a { color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.crisis-bar .crisis-x {
  margin-left: auto; flex: none;
  background: rgba(255,255,255,.16); border: 0; color: #fff;
  width: 34px; height: 34px; border-radius: 999px; cursor: pointer;
  display: grid; place-items: center; transition: background .16s;
}
.crisis-bar .crisis-x:hover { background: rgba(255,255,255,.3); }
.crisis-bar[hidden] { display: none; }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 86%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .container {
  display: flex; align-items: center; gap: 28px;
  min-height: 78px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-logo { width: 52px; height: 52px; object-fit: contain; flex: none; display: block; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 13px; flex: none;
  background: radial-gradient(120% 120% at 30% 20%, var(--teal) 0%, var(--teal-700) 70%);
  display: grid; place-items: center; color: #fff;
  box-shadow: var(--shadow-sm);
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-name { font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.brand-name b { display: block; font-size: 1.12rem; white-space: nowrap; }
.brand-name span { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }

.primary-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.primary-nav a {
  text-decoration: none; font-family: var(--font-display); font-weight: 700;
  font-size: 1rem; color: var(--ink-soft);
  padding: 10px 14px; border-radius: 999px; line-height: 1;
  display: inline-flex; align-items: center; gap: .5em;
  transition: background .15s, color .15s;
}
.primary-nav a .dot { width: 9px; height: 9px; border-radius: 50%; }
.primary-nav a:hover { background: var(--paper); color: var(--ink); }
.primary-nav a[aria-current="page"] { color: var(--ink); background: var(--paper); box-shadow: var(--shadow-sm); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; }

/* Mobile nav */
@media (max-width: 940px) {
  .primary-nav, .header-actions .btn { display: none; }
  .nav-toggle {
    display: grid; place-items: center; margin-left: auto;
    width: 50px; height: 50px; border-radius: 14px;
    background: var(--paper); border: 1px solid var(--line); cursor: pointer;
    box-shadow: var(--shadow-sm);
  }
  .nav-toggle svg { width: 26px; height: 26px; }
  .mobile-nav {
    display: none; flex-direction: column; gap: 4px;
    padding: 12px var(--gutter) 24px;
    border-bottom: 1px solid var(--line); background: var(--cream);
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav a {
    text-decoration: none; font-family: var(--font-display); font-weight: 700;
    font-size: 1.15rem; padding: 14px 12px; border-radius: 12px; color: var(--ink);
    display: flex; align-items: center; gap: .6em;
  }
  .mobile-nav a:hover { background: var(--paper); }
  .mobile-nav .btn { margin-top: 8px; }
}
@media (min-width: 941px) { .mobile-nav { display: none; } }

/* ============================================================
   Search ("Find Help")
   ============================================================ */
.finder {
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-soft);
}
.finder .search-ico { flex: none; width: 26px; height: 26px; margin-left: 12px; color: var(--ink-faint); }
.finder input {
  flex: 1; min-width: 0; border: 0; background: transparent;
  font-size: 1.18rem; padding: 14px 6px; outline: none;
  letter-spacing: 0;
}
.finder input::placeholder { color: var(--ink-faint); }
.finder-btn {
  flex: none; border: 0; cursor: pointer; border-radius: 16px;
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-display); font-weight: 800; line-height: 1;
  transition: transform .14s, box-shadow .16s, background .16s;
}
.finder-btn svg { width: 22px; height: 22px; }
.finder-btn.mic {
  width: 56px; height: 56px; justify-content: center; padding: 0;
  background: var(--teal-50); color: var(--teal-700);
}
.finder-btn.mic:hover { background: var(--teal-100); }
.finder-btn.mic.listening { background: var(--crisis); color: #fff; animation: pulse 1.4s ease-out infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(180,35,24,.5); }
  100% { box-shadow: 0 0 0 16px rgba(180,35,24,0); }
}
.finder-btn.ai {
  height: 56px; padding: 0 22px;
  background: linear-gradient(120deg, var(--teal) 0%, var(--teal-700) 100%);
  color: #fff;
}
.finder-btn.ai:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.finder-btn .spark { width: 22px; height: 22px; }

.finder-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; align-items: center; }
.finder-tags .lbl { font-size: .92rem; color: var(--ink-soft); font-weight: 700; }
.finder-tag {
  background: rgba(255,255,255,.7); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 16px; font-size: .95rem; font-weight: 600;
  cursor: pointer; text-decoration: none; color: var(--ink-soft);
  transition: background .15s, color .15s, border-color .15s;
}
.finder-tag:hover { background: var(--paper); color: var(--ink); border-color: var(--accent); }

/* Live results dropdown */
.finder-wrap { position: relative; }
.finder-results {
  position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 30;
  background: var(--paper); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line-soft);
  overflow: hidden; padding: 8px;
}
.finder-results[hidden] { display: none; }
.finder-results .res-head { font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); padding: 10px 14px 6px; }
.res-item { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; text-decoration: none; color: inherit; }
.res-item:hover { background: var(--cream); }
.res-item .res-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.res-item .res-ico svg { width: 22px; height: 22px; }
.res-item b { font-family: var(--font-display); font-size: 1.05rem; display: block; }
.res-item small { color: var(--ink-soft); font-size: .92rem; }
.res-empty { padding: 22px 14px; color: var(--ink-soft); }

/* ============================================================
   HERO — three switchable directions via [data-hero]
   ============================================================ */
.hero { position: relative; isolation: isolate; }
.hero-slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide image-slot { width: 100%; height: 100%; }
.hero-scrim { position: absolute; inset: 0; z-index: -1; }

.hero-inner { position: relative; }
.hero-content { max-width: 720px; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  letter-spacing: -.025em;
}
.hero .lede { font-size: clamp(1.12rem, 1.8vw, 1.4rem); color: var(--ink-soft); }

.scroll-cue {
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 700; font-size: .85rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint);
  text-decoration: none; margin-top: 8px;
}
.scroll-cue .chev {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--line); display: grid; place-items: center;
  animation: bob 1.8s ease-in-out infinite; background: rgba(255,255,255,.5);
}
.scroll-cue svg { width: 22px; height: 22px; }
@keyframes bob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(7px);} }

/* ---- Direction A : full-bleed carousel ---- */
[data-hero="A"] .hero { min-height: clamp(620px, 92vh, 920px); display: flex; align-items: center; color: #fff; }
[data-hero="A"] .hero .hero-slides { display: block; }
[data-hero="A"] .hero-scrim {
  background:
    radial-gradient(120% 90% at 18% 30%, rgba(7,61,59,.78) 0%, rgba(7,61,59,.30) 55%, transparent 80%),
    linear-gradient(180deg, rgba(20,18,15,.45) 0%, rgba(20,18,15,.20) 40%, rgba(20,18,15,.55) 100%);
}
[data-hero="A"] .hero-card { display: none; }
[data-hero="A"] .hero h1 { color: #fff; }
[data-hero="A"] .hero .lede { color: rgba(255,255,255,.9); }
[data-hero="A"] .hero .eyebrow { color: #fff; }
[data-hero="A"] .hero .eyebrow::before { background: #fff; }
[data-hero="A"] .hero-inner { padding-block: clamp(80px, 10vh, 140px); }
[data-hero="A"] .hero-content { max-width: 760px; }
[data-hero="A"] .scroll-cue { color: rgba(255,255,255,.85); }
[data-hero="A"] .scroll-cue .chev { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.12); }
[data-hero="A"] .hero-figure-b, [data-hero="A"] .hero-figure-c { display: none; }

/* ---- Direction B : editorial split (color block + image collage) ---- */
[data-hero="B"] .hero { background: var(--cream); }
[data-hero="B"] .hero-slides { display: none; }
[data-hero="B"] .hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 64px);
  align-items: center; padding-block: clamp(56px, 7vw, 104px);
}
[data-hero="B"] .hero-figure-c { display: none; }
[data-hero="B"] .hero-figure-b {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 14px; height: clamp(420px, 46vw, 580px);
}
[data-hero="B"] .hero-figure-b image-slot { width: 100%; height: 100%; }
[data-hero="B"] .hero-figure-b .tall { grid-row: span 2; }
[data-hero="B"] .hero-card { background: transparent; }

/* ---- Direction C : soft layered, contained frame ---- */
[data-hero="C"] .hero { background: radial-gradient(135% 120% at 80% -10%, var(--teal-50) 0%, var(--cream) 55%); overflow: hidden; }
[data-hero="C"] .hero-slides { display: none; }
[data-hero="C"] .hero-inner {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 56px);
  align-items: center; padding-block: clamp(56px, 7vw, 100px);
}
[data-hero="C"] .hero-figure-b { display: none; }
[data-hero="C"] .hero-figure-c { position: relative; height: clamp(440px, 48vw, 600px); }
[data-hero="C"] .hero-figure-c .frame-main {
  position: absolute; inset: 8% 0 8% 6%; border-radius: 32px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 6px solid var(--paper);
}
[data-hero="C"] .hero-figure-c .frame-main image-slot { width: 100%; height: 100%; }
[data-hero="C"] .hero-figure-c .frame-pip {
  position: absolute; right: -2%; bottom: 4%; width: 46%; height: 40%;
  border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 6px solid var(--paper);
}
[data-hero="C"] .hero-figure-c .frame-pip image-slot { width: 100%; height: 100%; }
[data-hero="C"] .hero-figure-c .blob {
  position: absolute; left: -8%; top: -6%; width: 38%; aspect-ratio: 1;
  background: var(--amber-100); border-radius: 46% 54% 60% 40% / 52% 44% 56% 48%;
  z-index: -1;
}
[data-hero="C"] .hero-figure-c .blob.two { left: auto; right: 8%; top: auto; bottom: -8%; background: var(--indigo-100); width: 30%; }

@media (max-width: 860px) {
  [data-hero="B"] .hero-inner,
  [data-hero="C"] .hero-inner { grid-template-columns: 1fr; }
  [data-hero="B"] .hero-figure-b { height: 340px; }
  [data-hero="C"] .hero-figure-c { height: 360px; }
}

/* Soft top fade so sticky header sits cleanly over hero A */
.hero-toplight { position: absolute; inset: 0 0 auto 0; height: 120px; z-index: -1;
  background: linear-gradient(180deg, rgba(20,18,15,.35), transparent); }
[data-hero="B"] .hero-toplight, [data-hero="C"] .hero-toplight { display: none; }

/* ============================================================
   Services
   ============================================================ */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .service-grid { grid-template-columns: 1fr; } }

.service-card {
  position: relative; overflow: hidden;
  background: var(--paper); border-radius: var(--radius-lg);
  padding: 34px 32px 30px; text-decoration: none; color: inherit;
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease;
  display: flex; flex-direction: column; gap: 14px;
  isolation: isolate;
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 6px;
  background: var(--accent);
}
.service-card::after {
  content: ""; position: absolute; z-index: -1; right: -40px; top: -40px;
  width: 150px; height: 150px; border-radius: 50%;
  background: var(--accent-50); opacity: .9;
  transition: transform .35s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::after { transform: scale(1.7); }
.service-card--soon { cursor: default; }
.service-card--soon:hover { transform: none; box-shadow: var(--shadow-sm); }
.service-card--soon:hover::after { transform: none; }
.service-card--soon .coming-soon {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--indigo-700);
}
.service-ico {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  background: var(--accent); color: #fff; box-shadow: var(--shadow-sm);
}
.service-ico svg { width: 30px; height: 30px; }
.service-card h3 { font-size: 1.55rem; }
.service-card .menu-tag {
  font-family: var(--font-display); font-weight: 800; font-size: .76rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent-700);
}
.service-card ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.service-card ul li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); font-size: 1rem; }
.service-card ul li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .65em; border-radius: 50%; background: var(--accent); }
.service-card .link-arrow { margin-top: auto; padding-top: 8px; }

/* ============================================================
   Generic section header
   ============================================================ */
.sec-head { max-width: 760px; margin-bottom: 48px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-top: 14px; }
.sec-head p { font-size: 1.18rem; color: var(--ink-soft); margin-top: 16px; }
.sec-head.center p { margin-inline: auto; }

/* ============================================================
   Share your story (coral)
   ============================================================ */
.story {
  background: linear-gradient(135deg, var(--coral-50) 0%, var(--cream-2) 100%);
  border-radius: var(--radius-lg); overflow: hidden;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch;
  border: 1px solid var(--coral-100);
}
.story .story-body { padding: clamp(36px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.story .quote { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.18; letter-spacing: -.02em; }
.story .attrib { color: var(--coral-700); font-weight: 700; }
.story .story-media { position: relative; min-height: 320px; }
.story .story-media image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 820px) { .story { grid-template-columns: 1fr; } .story .story-media { min-height: 260px; } }

/* ============================================================
   Get involved (coral) — two cards
   ============================================================ */
.involve-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .involve-grid { grid-template-columns: 1fr; } }
.involve-card {
  border-radius: var(--radius-lg); padding: clamp(30px, 4vw, 48px);
  color: #fff; display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 280px;
}
.involve-card.donate { background: linear-gradient(140deg, var(--coral) 0%, var(--coral-700) 100%); }
.involve-card.volunteer { background: linear-gradient(140deg, var(--teal) 0%, var(--teal-700) 100%); }
.involve-card h3 { color: #fff; font-size: 1.9rem; }
.involve-card p { color: rgba(255,255,255,.9); }
.involve-card .big-ico { width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.involve-card .big-ico svg { width: 30px; height: 30px; }
.involve-card .btn { align-self: flex-start; margin-top: auto; }
.involve-card .deco { position: absolute; z-index: -1; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.1); }

/* ============================================================
   About / stats
   ============================================================ */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 880px) { .about { grid-template-columns: 1fr; } }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
}
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; letter-spacing: -.03em; color: var(--accent-700); }
.stat .lbl { color: var(--ink-soft); margin-top: 8px; font-size: 1rem; }
.about-media { position: relative; }
.about-media image-slot { width: 100%; height: clamp(420px, 42vw, 560px); }
.about-media .badge {
  position: absolute; left: -22px; bottom: 26px; background: var(--paper);
  border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow-lg);
  display: flex; gap: 12px; align-items: center; max-width: 240px;
}
.about-media .badge .b-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; }

/* ============================================================
   Connect / contact
   ============================================================ */
.connect { background: var(--teal-900); color: #fff; }
.connect h2 { color: #fff; }
.connect .grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
@media (max-width: 880px) { .connect .grid { grid-template-columns: 1fr; } }
.connect .lede { color: rgba(255,255,255,.82); font-size: 1.18rem; }
.channel-list { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.channel {
  display: flex; gap: 16px; align-items: center; text-decoration: none; color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px; padding: 16px 20px; transition: background .16s, transform .16s;
}
.channel:hover { background: rgba(255,255,255,.13); transform: translateX(4px); }
.channel .c-ico { flex: none; width: 48px; height: 48px; border-radius: 13px; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.channel .c-ico svg { width: 24px; height: 24px; }
.channel b { font-family: var(--font-display); font-size: 1.1rem; display: block; }
.channel small { color: rgba(255,255,255,.7); font-size: .95rem; }

.contact-form { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-lg); }
.contact-form h3 { color: var(--ink); }
.field { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.field label { font-family: var(--font-display); font-weight: 700; font-size: .98rem; color: var(--ink); }
.field input, .field textarea, .field select {
  border: 2px solid var(--line); border-radius: 12px; padding: 14px 16px;
  font-size: 1.05rem; background: var(--cream); color: var(--ink); width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--teal); outline: none; background: #fff; }
.contact-form .btn { margin-top: 24px; width: 100%; }
.contact-form .form-note { color: var(--ink-soft); margin-top: 8px; line-height: 1.55; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; color: var(--ink); }
.form-consent input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--teal); }
.form-consent span { font-size: .94rem; line-height: 1.45; }
.form-status { margin-top: 14px; min-height: 1.5em; font-weight: 700; color: var(--ink); }
.form-status.is-error { color: var(--crisis-700); }
.form-status.is-success { color: var(--teal-700); }
.form-status:focus { outline: 3px solid var(--amber); outline-offset: 3px; }
.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

/* ============================================================
   Temporary coming-soon splash
   ============================================================ */
.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;
}
.splash-page {
  background:
    radial-gradient(circle at 12% 5%, var(--amber-100), transparent 34rem),
    radial-gradient(circle at 92% 18%, var(--teal-100), transparent 30rem),
    var(--cream);
}
.splash-stage {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(32px, 6vw, 76px) var(--gutter);
}
.splash-shell {
  width: min(100%, 1080px);
}
.splash-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.splash-logo {
  width: clamp(118px, 17vw, 176px);
  height: auto;
  filter: drop-shadow(0 12px 22px rgba(34, 30, 26, .12));
}
.splash-brand-name {
  margin-top: 12px;
  max-width: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  line-height: 1;
  letter-spacing: -.02em;
}
.splash-brand-name small {
  display: block;
  margin-top: 7px;
  color: var(--ink-faint);
  font-size: .68em;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.splash-page h1 {
  margin-top: clamp(22px, 4vw, 34px);
  text-align: center;
  font-size: clamp(2.35rem, 7vw, 4.7rem);
  color: var(--teal-900);
}
.splash-connect {
  margin-top: clamp(28px, 5vw, 48px);
  padding: clamp(22px, 4vw, 42px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: start;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: clamp(22px, 4vw, 34px);
  background: var(--teal-900);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.splash-connect .eyebrow {
  color: var(--amber-100);
}
.splash-connect .eyebrow::before {
  background: var(--amber);
}
.splash-connect h2 {
  margin-top: 14px;
  color: #fff;
  font-size: clamp(1.85rem, 4vw, 2.8rem);
}
.splash-lede {
  margin-top: 16px;
  color: rgba(255, 255, 255, .82);
  font-size: 1.08rem;
}
.splash-campaign {
  margin-top: 10px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: .03em;
}
.splash-signature {
  margin-top: 12px;
  color: rgba(255, 255, 255, .82);
  font-size: .96rem;
}
.splash-footer {
  padding: 0 var(--gutter) 28px;
  color: var(--ink-soft);
  font-size: .82rem;
  line-height: 1.45;
  text-align: center;
}
.splash-channels {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.splash-channel {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  text-decoration: none;
  transition: background .16s ease, transform .16s ease;
}
.splash-channel:hover {
  background: rgba(255, 255, 255, .14);
  transform: translateY(-2px);
}
.splash-channel-icon {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(255, 255, 255, .13);
}
.splash-channel-icon svg {
  width: 24px;
  height: 24px;
}
.splash-channel b,
.splash-channel small {
  display: block;
  overflow-wrap: anywhere;
}
.splash-channel b {
  font-family: var(--font-display);
  font-size: 1.02rem;
}
.splash-channel small {
  margin-top: 2px;
  color: rgba(255, 255, 255, .72);
  font-size: .84rem;
  line-height: 1.35;
}
.splash-contribute {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 20px;
  border: 2px solid var(--amber-100);
  border-radius: 14px;
  background: var(--amber);
  color: var(--teal-900);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}
.splash-contribute:hover {
  background: var(--amber-100);
  color: var(--teal-900);
  transform: translateY(-2px);
}
.splash-contribute:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.splash-contact-form {
  padding: clamp(24px, 4vw, 38px);
  box-shadow: none;
}
.splash-contact-form h3 {
  font-size: 1.55rem;
}
.optional-label {
  color: var(--ink-faint);
  font-weight: 600;
}
@media (max-width: 820px) {
  .splash-connect {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .splash-stage {
    padding-inline: 14px;
  }
  .splash-connect {
    padding: 18px;
    border-radius: 22px;
  }
  .splash-contact-form {
    padding: 22px 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .splash-channel {
    transition: none;
  }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--cream-2); border-top: 1px solid var(--line); }
.site-footer .grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 820px) { .site-footer .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; color: var(--ink-faint); font-size: .92rem; }

/* ============================================================
   Panic / quick-escape button
   ============================================================ */
.panic-btn {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; border: 2px solid rgba(255,255,255,.18);
  border-radius: 999px; padding: 14px 22px; cursor: pointer;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem; line-height: 1;
  box-shadow: var(--shadow-lg); transition: transform .14s, background .16s;
}
.panic-btn:hover { transform: translateY(-2px); background: var(--crisis); border-color: rgba(255,255,255,.35); }
.panic-btn svg { width: 22px; height: 22px; }
.panic-hint {
  position: fixed; right: 22px; bottom: 78px; z-index: 59;
  max-width: 250px; background: var(--paper); color: var(--ink);
  border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow-lg);
  font-size: .9rem; line-height: 1.45; border: 1px solid var(--line);
  transform-origin: bottom right;
}
.panic-hint[hidden] { display: none; }
.panic-hint b { font-weight: 800; }
.panic-hint kbd {
  font-family: var(--font-display); font-weight: 800; background: var(--cream-2);
  border-radius: 6px; padding: 1px 7px; border: 1px solid var(--line);
}
@media (max-width: 560px) { .panic-btn span { display: none; } .panic-btn { padding: 14px; } }

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
