:root {
  --primary: #cf2e2e;
  --primary-dark: #a01f1f;
  --secondary: #503AA8;
  --secondary-dark: #3a2782;
  --accent: #ff5e00;
  --cream: #FBFAF3;
  --ink: #111111;
  --muted: #686868;
  --line: #e8e3da;
  --bg-soft: #fdf6f3;
  --white: #ffffff;
  --shadow-sm: 0 2px 6px rgba(31, 41, 55, .06);
  --shadow-md: 0 10px 30px rgba(31, 41, 55, .08);
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.35rem; }

a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ===== Top announcement bar ===== */
.topbar {
  background: #131922;
  color: var(--cream);
  font-size: 0.85rem;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 12px; }
.topbar a { color: var(--cream); }
.topbar a:hover { color: var(--accent); }
.topbar-socials { display: inline-flex; gap: 6px; vertical-align: middle; margin-right: 12px; }
.topbar-socials a {
  width: 24px; height: 24px;
  display: inline-grid; place-items: center;
  border-radius: 6px;
  color: var(--cream);
  transition: background .2s ease, color .2s ease;
}
.topbar-socials a:hover { background: rgba(255,255,255,.12); color: var(--accent); }
.topbar-socials svg { width: 13px; height: 13px; display: block; }

.contact-socials { display: inline-flex; gap: 8px; margin-top: 4px; }
.contact-socials a {
  width: 34px; height: 34px;
  display: inline-grid; place-items: center;
  border-radius: 8px;
  color: var(--ink);
  background: var(--bg-soft);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.contact-socials a:hover { background: var(--primary); color: white; transform: translateY(-2px); }
.contact-socials svg { width: 16px; height: 16px; display: block; }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 115px;
  text-decoration: none;
  flex: 0 0 auto;
  margin-left: -40px;
  width: 210px;
  overflow: hidden;
}
.brand-logo {
  display: block;
  max-height: 110px;
  max-width: 540px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
  transform: scale(1.55);
  transform-origin: left center;
  transition: opacity .2s ease;
}
.brand:hover .brand-logo { opacity: 0.85; }

/* Placeholder if logo image is missing */
.brand-placeholder {
  display: none;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 16px;
  border: 1.5px dashed var(--line);
  border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--bg-soft);
  transition: border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.brand-placeholder.show { display: inline-flex; }
.brand:hover .brand-placeholder {
  border-color: var(--primary);
  color: var(--primary);
}
/* Footer override: dark background needs lighter placeholder */
.footer .brand-placeholder {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .65);
}
.footer .brand:hover .brand-placeholder {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-links {
  display: flex; align-items: center; gap: 2px; list-style: none;
}
.nav-links a {
  color: var(--ink); font-weight: 700; font-size: 1rem;
  padding: 9px 12px; border-radius: 10px;
  position: relative;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--primary); }
.nav-links a.active {
  color: var(--primary);
  background: var(--bg-soft);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -2px;
  transform: translateX(-50%);
  width: 5px; height: 5px;
  background: var(--primary);
  border-radius: 50%;
}

/* Dropdown menu */
.has-dropdown { position: relative; }
.dropdown-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.dropdown-toggle .caret {
  font-size: 0.7em;
  line-height: 1;
  transition: transform .2s ease;
  display: inline-block;
}
.has-dropdown:hover .dropdown-toggle .caret,
.has-dropdown:focus-within .dropdown-toggle .caret {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 180px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(17, 17, 17, .12);
  border: 1px solid var(--line);
  padding: 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  z-index: 100;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .2s ease, transform .2s ease, visibility 0s;
}
.dropdown-menu li { list-style: none; }
.dropdown-menu a {
  display: block !important;
  padding: 10px 14px !important;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  border-radius: 8px;
  white-space: nowrap;
}
.dropdown-menu a:hover {
  background: var(--bg-soft);
  color: var(--primary);
}

@media (max-width: 900px) {
  .dropdown-menu {
    position: static;
    opacity: 0;
    visibility: hidden;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    margin: 0;
    padding: 0 0 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease, opacity .2s ease;
  }
  .has-dropdown.open > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 600px;
    padding: 4px 0 8px 16px;
  }
  .has-dropdown:hover .dropdown-menu,
  .has-dropdown:focus-within .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: none;
  }
  .has-dropdown.open:hover .dropdown-menu,
  .has-dropdown.open:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
  }
  .dropdown-menu a {
    padding: 8px 12px !important;
    font-size: 0.95rem;
    color: var(--muted);
    border-radius: 0 !important;
  }
  .dropdown-menu a:hover,
  .dropdown-menu a.active {
    background: transparent;
    color: var(--primary);
  }
  .dropdown-toggle .caret {
    display: inline-block;
    margin-left: 6px;
    transition: transform .2s ease;
  }
  .has-dropdown.open > .dropdown-toggle .caret {
    transform: rotate(180deg);
  }
}

.nav-cta { display: flex; gap: 10px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer; transition: all .2s ease;
  font-family: inherit;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); color: white; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.nav-cta a[href="volunteer.html"] {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.nav-cta a[href="volunteer.html"]:hover {
  background: #e35200;
  border-color: #e35200;
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary { background: var(--secondary); color: white; }
.btn-secondary:hover { background: var(--secondary-dark); color: white; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: .25s; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 70px 0 90px;
  background: var(--bg-soft);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: center;
}

.hero-stack {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
}
.hero-stack .line { display: block; }
.hero-stack .red { color: var(--primary); }

.hero p.lead {
  font-size: 1.1rem; color: var(--ink); margin: 32px 0 36px; max-width: 520px; line-height: 1.55;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn { border-radius: 6px; padding: 14px 28px; font-size: 1rem; }
.btn-support { background: var(--primary); color: white; }
.btn-support:hover { background: var(--primary-dark); color: white; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-donate-orange { background: var(--accent); color: white; }
.btn-donate-orange:hover { background: #e35200; color: white; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-volunteer { background: white; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-volunteer:hover { background: var(--ink); color: white; }

/* Photo collage mosaic */
.hero-collage {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  grid-template-rows: 1.1fr 1.1fr 1fr;
  grid-template-areas:
    "a a b"
    "a a c"
    "d e f";
  gap: 10px;
  aspect-ratio: 1.15 / 1;
  max-width: 620px;
  margin-left: auto;
  width: 100%;
}
.tile {
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
  font-size: 2.4rem;
  color: rgba(255,255,255,.85);
  text-shadow: 0 2px 8px rgba(0,0,0,.25);
  transition: transform .35s ease;
}
.tile:hover { transform: scale(1.02); z-index: 2; }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.25) 100%);
  pointer-events: none;
}
.tile-a { grid-area: a; background: linear-gradient(135deg, #8a5a3b, #c08658 60%, #d4a583); font-size: 4rem; }
.tile-b { grid-area: b; background: linear-gradient(135deg, #3a4e7a, #5c6ea0); }
.tile-c { grid-area: c; background: linear-gradient(135deg, #6b8a8a, #a2c0bc); }
.tile-d { grid-area: d; background: linear-gradient(135deg, #b87a5c, #d59879); }
.tile-e { grid-area: e; background: linear-gradient(135deg, #a3a3b8, #c9c9d9); }
.tile-f { grid-area: f; background: linear-gradient(135deg, #4a5a8c, #6f7eb0); }

/* ===== Sections ===== */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section-head .eyebrow {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--bg-soft); color: var(--primary);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 14px;
}
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

/* ===== Stats ===== */
.stats {
  background: var(--ink);
  color: white;
  padding: 32px 0;
}
.stats .stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
  text-align: center;
}
.stats h3 {
  color: var(--accent); font-size: 1.9rem; font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.1;
}
.stats p { color: #c7cdd5; font-size: 0.88rem; margin-top: 2px; }

/* ===== Cards ===== */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px;
}
.card {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .icon-circle {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; font-size: 1.6rem;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--bg-soft), white);
  border: 1px solid var(--line);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .arrow { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--primary); font-weight: 600; font-size: 0.9rem; }

/* Programs colored variations */
.card.tone-coral .icon-circle { background: #fde3e3; border-color: #f8c5c5; color: var(--primary); }
.card.tone-teal .icon-circle { background: #ebe3fb; border-color: #d4c6f4; color: var(--secondary); }
.card.tone-amber .icon-circle { background: #ffe7d4; border-color: #ffcb9a; color: #c44d00; }
.card.tone-violet .icon-circle { background: #f3eafd; border-color: #dec8f7; color: var(--secondary); }

/* ===== Our Impact Through Action ===== */
.impact {
  padding: 90px 0;
  background: white;
}
.impact .section-head h2 .accent { color: var(--primary); }
.impact .section-head p {
  font-size: 1.05rem;
  color: var(--ink);
  max-width: 640px;
  margin: 14px auto 0;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 50px;
}

.impact-card {
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  padding: 36px 26px 32px;
  text-align: center;
  background: white;
  transition: transform .25s ease, box-shadow .3s ease, border-color .25s ease;
}
.impact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .09);
}

.impact-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 22px;
  color: var(--primary);
  fill: currentColor;
  display: block;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}
.impact-card:hover .impact-icon { transform: scale(1.12); }

.impact-card h3 {
  font-size: 1.2rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}
.impact-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 1100px) {
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .impact-grid { grid-template-columns: 1fr; }
}

/* ===== Mission Strip ===== */
.mission {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white; text-align: center;
  padding: 36px 0;
}
.mission h2 { color: white; max-width: 800px; margin: 0 auto; font-size: 1.5rem; }
.mission p { color: rgba(255,255,255,.95); margin-top: 10px; font-size: 0.98rem; }
.mission .btn-outline { color: white; border-color: rgba(255,255,255,.5); }
.mission .btn-outline:hover { background: white; color: var(--primary); }

/* ===== Two-column feature block ===== */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-row .visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--bg-soft), #fde3e3);
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 5rem;
}
.feature-row.tone-teal .visual { background: linear-gradient(135deg, #ebe3fb, #d4c6f4); }
.feature-row.tone-violet .visual { background: linear-gradient(135deg, #f3eafd, #fde3e3); }
.feature-row h2 { margin-bottom: 16px; }
.feature-row ul { list-style: none; margin-top: 18px; }
.feature-row li { padding: 8px 0 8px 30px; position: relative; color: var(--muted); }
.feature-row li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--secondary); color: white;
  display: grid; place-items: center; font-size: 0.75rem; font-weight: 800;
}

/* ===== Testimonials ===== */
.testimonials { background: var(--bg-soft); }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testimonial {
  background: white; padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.testimonial .quote { font-size: 1.05rem; color: var(--ink); margin-bottom: 22px; line-height: 1.6; }
.testimonial .who { display: flex; align-items: center; gap: 14px; }
.testimonial .avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid; place-items: center; color: white; font-weight: 700;
}
.testimonial strong { display: block; }
.testimonial span { font-size: 0.85rem; color: var(--muted); }

/* ===== CTA strip ===== */
.cta-strip {
  background: var(--ink); color: white;
  padding: 70px 0; text-align: center;
}
.cta-strip h2 { color: white; max-width: 820px; margin: 0 auto 18px; }
.cta-strip h2 .red    { color: var(--primary); }
.cta-strip h2 .orange { color: var(--accent); }
.cta-strip p { color: #c7cdd5; max-width: 640px; margin: 0 auto 32px; font-size: 1.05rem; }
.cta-actions {
  display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}
.cta-strip .btn-outline {
  color: white; border-color: rgba(255,255,255,.55);
}
.cta-strip .btn-outline:hover {
  background: white; color: var(--ink); border-color: white;
}

/* ===== Footer ===== */
.footer {
  background: #131922; color: #c7cdd5;
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 50px;
}
.footer h4 { color: white; margin-bottom: 18px; font-size: 1rem; }
.footer ul { list-style: none; }
.footer li { margin: 8px 0; }
.footer a { color: #c7cdd5; font-size: 0.95rem; }
.footer a:hover { color: var(--accent); }
.footer .brand { color: white; margin-bottom: 18px; }
.footer .brand small { color: #8a93a0; }
.footer .tagline { color: #c7cdd5; font-size: 0.95rem; margin-bottom: 20px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  color: #c7cdd5;
  transition: all .2s ease;
}
.socials a svg { width: 18px; height: 18px; display: block; }
.socials a:hover { background: var(--primary); color: white; transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.85rem; color: #8a93a0;
}

/* ===== Page header (inner pages) ===== */
.page-head {
  padding: 80px 0 60px;
  background:
    radial-gradient(circle at 80% 20%, rgba(244, 162, 97, .2), transparent 50%),
    linear-gradient(180deg, var(--bg-soft), white);
  text-align: center;
}
.breadcrumbs { color: var(--muted); font-size: 0.85rem; margin-bottom: 14px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--primary); }
.page-head h1 { margin-bottom: 14px; }
.page-head p { color: var(--muted); max-width: 700px; margin: 0 auto; font-size: 1.05rem; }

/* Two-column page header (e.g. TASCA NZ) */
.page-head-split { text-align: left; position: relative; overflow: hidden; }
.page-head-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.page-head-split .page-head-text { justify-self: start; }
.page-head-split .page-head-text .breadcrumbs,
.page-head-split .page-head-text h1,
.page-head-split .page-head-text p { text-align: left; margin-left: 0; margin-right: 0; }
.page-head-split .page-head-text p { margin: 0 0 12px; max-width: 560px; }
.page-head-sub {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px !important;
}

.nz-map {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  margin-left: auto;
  justify-self: end;
  overflow: visible;
}
.nz-map canvas {
  display: block;
  width: 100%;
  height: 100%;
}
@media (max-width: 800px) {
  .page-head-grid { grid-template-columns: 1fr; gap: 32px; }
  .nz-map { margin: 0 auto; }
}

/* ===== Forms ===== */
.form-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px;
  align-items: start;
}
.form-card {
  background: white; padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.form-row.single { grid-template-columns: 1fr; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 0.95rem;
  transition: border-color .15s ease, box-shadow .15s ease;
  background: white;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(217, 79, 112, .12);
}
.field textarea { min-height: 130px; resize: vertical; }

.success-msg {
  background: #e8f6f3; color: var(--secondary-dark);
  padding: 14px 18px; border-radius: 10px;
  border-left: 4px solid var(--secondary);
  margin-top: 16px; display: none;
}
.success-msg.show { display: block; animation: slide 0.4s ease; }
@keyframes slide { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* Donate amount pills */
.amount-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.amount-pill {
  padding: 14px 8px; border: 1.5px solid var(--line); background: white;
  border-radius: 10px; font-weight: 700; font-size: 1.05rem;
  cursor: pointer; transition: all .15s ease; font-family: inherit; color: var(--ink);
}
.amount-pill:hover { border-color: var(--primary); }
.amount-pill.active { background: var(--primary); color: white; border-color: var(--primary); }

.info-side h3 { margin-bottom: 14px; }
.info-side p { color: var(--muted); margin-bottom: 18px; }
.info-item {
  display: flex; gap: 14px; padding: 18px;
  background: var(--bg-soft); border-radius: var(--radius);
  margin-bottom: 12px;
}
.info-item .icon { font-size: 1.4rem; }
.info-item strong { display: block; margin-bottom: 2px; }
.info-item span { color: var(--muted); font-size: 0.9rem; }

/* ===== Events / News lists ===== */
.event-list { display: grid; gap: 20px; }
.event {
  display: grid; grid-template-columns: 110px 1fr auto;
  gap: 24px; align-items: center;
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
  transition: all .2s ease;
}
.event:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: transparent; }
.event-date {
  text-align: center;
  background: var(--bg-soft); border-radius: 12px;
  padding: 12px 8px;
}
.event-date .day { font-size: 1.8rem; font-weight: 800; color: var(--primary); line-height: 1; }
.event-date .month { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }
.event-info h3 { margin-bottom: 6px; }
.event-info p { color: var(--muted); font-size: 0.92rem; }
.event-info .meta { display: flex; gap: 16px; margin-top: 8px; font-size: 0.85rem; color: var(--secondary-dark); font-weight: 600; }

.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.news-card {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all .25s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card .thumb {
  aspect-ratio: 16 / 9;
  display: grid; place-items: center;
  font-size: 3rem;
}
.news-card .thumb.t1 { background: linear-gradient(135deg, #fde3e3, #ffe7d4); }
.news-card .thumb.t2 { background: linear-gradient(135deg, #ebe3fb, #f3eafd); }
.news-card .thumb.t3 { background: linear-gradient(135deg, #ffe7d4, var(--cream)); }
.news-card .thumb.t4 { background: linear-gradient(135deg, #f3eafd, #fde3e3); }
.news-card .body { padding: 24px; }
.news-card .tag { display: inline-block; font-size: 0.75rem; color: var(--primary); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.news-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.news-card p { color: var(--muted); font-size: 0.92rem; }
.news-card .meta { font-size: 0.8rem; color: var(--muted); margin-top: 14px; }

/* ===== Team grid ===== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.team-card {
  text-align: center; background: white;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 20px;
  transition: all .2s ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-card .avatar-lg {
  width: 110px; height: 110px; margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid; place-items: center;
  color: white; font-weight: 800; font-size: 2rem;
}
.team-card h3 { font-size: 1.1rem; }
.team-card .role { color: var(--primary); font-weight: 600; font-size: 0.9rem; margin-top: 4px; }
.team-card p { font-size: 0.88rem; color: var(--muted); margin-top: 10px; }

/* ===== Conditions / Support ===== */
.conditions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.condition {
  background: white; border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 32px;
  border-top: 4px solid var(--primary);
}
.condition.beta { border-top-color: var(--secondary); }
.condition.beta-minor { border-top-color: var(--accent); }
.condition.sickle { border-top-color: var(--primary-dark); }
.condition h3 { margin-bottom: 12px; }
.condition p { color: var(--muted); font-size: 0.95rem; }
.condition .pill {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  background: var(--bg-soft); color: var(--primary);
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 10px;
}
.condition.beta .pill { background: #ebe3fb; color: var(--secondary-dark); }
.condition.beta-minor .pill { background: #ffe7d4; color: #c44d00; }
.condition.sickle .pill { background: #fde3e3; color: var(--primary-dark); }

/* ===== Team carousel ===== */
.team-section {
  position: relative;
  padding: 90px 0 100px;
  background: white;
  overflow: hidden;
}

.team-marquee {
  position: relative;
  overflow: hidden;
  padding: 22px 0 32px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.team-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: team-scroll 28s linear infinite;
  will-change: transform;
}

.team-marquee:hover .team-track {
  animation-play-state: paused;
}

@keyframes team-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-4186px); }
}

.team-member {
  flex: 0 0 300px;
  width: 300px;
  height: 400px;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-soft);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(17, 17, 17, .08);
  transition: transform .35s ease, box-shadow .35s ease;
}
.team-member:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(17, 17, 17, .15);
}

.member-photo {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center top;
  background-color: transparent;
  transition: transform .6s ease;
  z-index: 1;
}
.team-member:hover .member-photo { transform: scale(1.06); }

/* Gradient + initials fallback (visible behind photo; only seen if photo is missing) */
.member-fallback {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  z-index: 0;
}
.member-fallback .initials {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 4.4rem;
  color: white;
  letter-spacing: -0.04em;
  opacity: .95;
}

.team-member.tone-1 .member-fallback { background: linear-gradient(135deg, var(--primary), var(--accent)); }
.team-member.tone-2 .member-fallback { background: linear-gradient(135deg, var(--secondary), var(--primary)); }
.team-member.tone-3 .member-fallback { background: linear-gradient(135deg, var(--accent), #c44d00); }
.team-member.tone-4 .member-fallback { background: linear-gradient(135deg, var(--secondary), var(--secondary-dark)); }
.team-member.tone-5 .member-fallback { background: linear-gradient(135deg, #2e8b57, var(--secondary)); }
.team-member.tone-6 .member-fallback { background: linear-gradient(135deg, var(--primary-dark), #6b46c1); }
.team-member.tone-7 .member-fallback { background: linear-gradient(135deg, #3a4e7a, var(--secondary)); }
.team-member.tone-8 .member-fallback { background: linear-gradient(135deg, var(--accent), var(--primary-dark)); }

/* Default name + role visible at bottom */
.member-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 22px 22px;
  color: white;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.6) 50%, transparent 100%);
  transition: opacity .35s ease, transform .35s ease;
  z-index: 2;
}
.member-info h3 {
  color: white;
  font-size: 1.4rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-bottom: 5px;
  line-height: 1.2;
}
.member-info .role {
  color: rgba(255,255,255,.92);
  font-size: 0.95rem;
  margin: 0;
}

/* Bio overlay — slides up from bottom on hover */
.member-bio {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(207,46,46,.96), rgba(255,94,0,.92));
  color: white;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
  z-index: 3;
  overflow-y: auto;
}
.team-member.tone-2 .member-bio { background: linear-gradient(160deg, rgba(80,58,168,.96), rgba(207,46,46,.92)); }
.team-member.tone-3 .member-bio { background: linear-gradient(160deg, rgba(255,94,0,.96), rgba(196,77,0,.94)); }
.team-member.tone-4 .member-bio { background: linear-gradient(160deg, rgba(80,58,168,.96), rgba(58,39,130,.94)); }
.team-member.tone-5 .member-bio { background: linear-gradient(160deg, rgba(46,139,87,.96), rgba(80,58,168,.92)); }
.team-member.tone-6 .member-bio { background: linear-gradient(160deg, rgba(160,31,31,.96), rgba(107,70,193,.92)); }
.team-member.tone-7 .member-bio { background: linear-gradient(160deg, rgba(58,78,122,.96), rgba(80,58,168,.92)); }
.team-member.tone-8 .member-bio { background: linear-gradient(160deg, rgba(255,94,0,.96), rgba(160,31,31,.94)); }

.member-bio h3 {
  color: white;
  font-size: 1.3rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-bottom: 4px;
}
.member-bio .role {
  color: rgba(255,255,255,.85);
  font-size: 0.85rem;
  font-style: italic;
  margin-bottom: 16px;
  display: block;
}
.member-bio p {
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(255,255,255,.96);
  margin: 0;
}
.member-bio h3 { font-size: 1.2rem; margin-bottom: 4px; }
.member-bio .role { font-size: 0.8rem; margin-bottom: 12px; }

.team-member:hover .member-bio {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.team-member:hover .member-info {
  opacity: 0;
  transform: translateY(10px);
}

/* Carousel nav buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: white;
  border: 1.5px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(17, 17, 17, .12);
  transition: all .2s ease;
}
.carousel-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-50%) scale(1.05);
}
.carousel-btn svg { width: 22px; height: 22px; }
.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }

@media (max-width: 600px) {
  .team-member { flex: 0 0 240px; }
}

@media (prefers-reduced-motion: reduce) {
  .team-track { animation: none; }
  .team-member, .member-photo, .member-bio, .member-info { transition: none; }
}

/* ===== Our values — animated ===== */
.values-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
  padding: 100px 0;
}
.values-section::before,
.values-section::after {
  content: "";
  position: absolute;
  width: 440px; height: 440px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}
.values-section::before {
  background: radial-gradient(circle, rgba(207,46,46,.16), transparent 70%);
  top: -160px; right: -160px;
  animation: values-drift-a 18s ease-in-out infinite;
}
.values-section::after {
  background: radial-gradient(circle, rgba(80,58,168,.14), transparent 70%);
  bottom: -160px; left: -160px;
  animation: values-drift-b 22s ease-in-out infinite;
}
@keyframes values-drift-a {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(50px,-30px) scale(1.06); }
}
@keyframes values-drift-b {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(-40px,40px) scale(1.05); }
}
.values-section .container { position: relative; z-index: 1; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.value-card {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px 26px 28px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity .7s cubic-bezier(.22,.61,.36,1),
    transform .7s cubic-bezier(.22,.61,.36,1),
    box-shadow .35s ease,
    border-color .35s ease;
}
.value-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Big display number, top-right */
.value-card .big-num {
  position: absolute;
  top: 14px; right: 18px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: 3.8rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.6px var(--line);
  letter-spacing: -0.05em;
  transition: -webkit-text-stroke-color .4s ease;
  z-index: 1;
}

.value-card .icon-wrap {
  position: relative; z-index: 1;
  width: 54px; height: 54px;
  border-radius: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  margin-bottom: 22px;
  color: var(--primary);
  transition:
    background .4s ease,
    border-color .4s ease,
    color .4s ease,
    transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
.value-card.v-equality   .icon-wrap { color: var(--secondary); background: #f3eafd; border-color: #dec8f7; }
.value-card.v-inclusivity .icon-wrap { color: #c44d00; background: #ffe7d4; border-color: #ffcb9a; }
.value-card.v-empowerment .icon-wrap { color: var(--secondary-dark); background: #ebe3fb; border-color: #d4c6f4; }

.value-card .icon-wrap svg {
  width: 28px; height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
.value-card .icon-wrap svg * {
  transform-box: fill-box;
  transform-origin: center;
}

/* Hover gradient sweep */
.value-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 0;
}
.value-card.v-equality::before   { background: linear-gradient(135deg, var(--secondary), var(--primary)); }
.value-card.v-inclusivity::before { background: linear-gradient(135deg, var(--accent), #c44d00); }
.value-card.v-empowerment::before { background: linear-gradient(135deg, var(--secondary), var(--secondary-dark)); }

.value-card > h3,
.value-card > p { position: relative; z-index: 1; transition: color .4s ease; }

.value-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--ink);
}
.value-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

.value-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: 0 22px 50px rgba(207, 46, 46, .12);
}
.value-card:hover::before { opacity: 1; }
.value-card:hover h3,
.value-card:hover p { color: white; }
.value-card:hover .big-num { -webkit-text-stroke-color: rgba(255,255,255,.4); }
.value-card:hover .icon-wrap {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.35);
  color: white;
  transform: scale(1.12) rotate(-6deg);
}

/* Idle micro-animations per icon */
.icon-humility .palm-l { animation: humility-cup 3s ease-in-out infinite; }
.icon-humility .palm-r { animation: humility-cup 3s ease-in-out .25s infinite; }
@keyframes humility-cup {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-1.5px); }
}

.icon-equality .bar-1 { animation: equality-slide-1 2.4s ease-in-out infinite; }
.icon-equality .bar-2 { animation: equality-slide-2 2.4s ease-in-out infinite; }
@keyframes equality-slide-1 {
  0%,100% { transform: translateX(-1px); }
  50%     { transform: translateX(1px); }
}
@keyframes equality-slide-2 {
  0%,100% { transform: translateX(1px); }
  50%     { transform: translateX(-1px); }
}

.icon-inclusivity .ring-out { animation: incl-ripple 2.4s ease-out infinite; }
.icon-inclusivity .ring-mid { animation: incl-ripple 2.4s ease-out .6s infinite; }
.icon-inclusivity .dot-c    { animation: incl-pulse 2.4s ease-in-out infinite; }
@keyframes incl-ripple {
  0%   { transform: scale(.55); opacity: 1; }
  100% { transform: scale(1.05); opacity: .15; }
}
@keyframes incl-pulse {
  0%,100% { transform: scale(1); }
  50%     { transform: scale(1.25); }
}

.icon-empowerment .shaft { animation: emp-rise 1.8s ease-in-out infinite; }
.icon-empowerment .head  { animation: emp-rise 1.8s ease-in-out infinite; }
@keyframes emp-rise {
  0%,100% { transform: translateY(1px); }
  50%     { transform: translateY(-2px); }
}

/* Speed up on hover */
.value-card:hover .icon-wrap svg * {
  animation-duration: .8s !important;
}

@media (max-width: 1100px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .values-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .value-card { opacity: 1; transform: none; transition: none; }
  .value-card .icon-wrap svg * { animation: none !important; }
  .values-section::before, .values-section::after { animation: none; }
}

/* ===== About home section ===== */
.about-home {
  position: relative;
  padding: 100px 0;
  background: white;
  overflow: hidden;
}
.about-home::before {
  content: "";
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(207,46,46,.08), transparent 70%);
  top: -200px; right: -250px;
  z-index: 0;
}
.about-home::after {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(80,58,168,.07), transparent 70%);
  bottom: -200px; left: -180px;
  z-index: 0;
}
.about-heading {
  position: relative; z-index: 1;
  text-align: center;
  margin-bottom: 50px;
}
.about-heading h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.about-heading h2 .red { color: var(--primary); }
.about-heading h2 .black { color: var(--ink); }
.about-heading .underline {
  display: block;
  width: 60px;
  height: 4px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 999px;
}

.about-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}

/* Mission / Story side-by-side cards */
.about-card {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 44px 40px 38px;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.about-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.about-card::after {
  content: "";
  position: absolute;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(207, 46, 46, .06), transparent 70%);
  bottom: -100px; right: -100px;
  pointer-events: none;
}
.about-card.story::after {
  background: radial-gradient(circle, rgba(80, 58, 168, .06), transparent 70%);
  bottom: -100px; left: -100px; right: auto;
}
.about-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 22px 50px rgba(17, 17, 17, .08);
}

.about-card-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.about-card-tag::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.about-card.story .about-card-tag { color: var(--secondary); }
.about-card.story .about-card-tag::before { background: var(--secondary); }

.about-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.7rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  color: var(--ink);
}

.about-card p {
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 14px;
}
.about-card p:last-of-type { margin-bottom: 0; }
.about-card p em {
  color: var(--primary);
  font-style: italic;
  font-weight: 600;
}
.about-card.story p em { color: var(--secondary); }

.about-card .quote-mark {
  position: absolute;
  top: 18px; right: 24px;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: rgba(207, 46, 46, .08);
  pointer-events: none;
}
.about-card.story .quote-mark { color: rgba(80, 58, 168, .1); }

.about-footnote {
  text-align: center;
  margin-top: 44px;
}

.about-text .eyebrow {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.about-text h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}
.about-text h2 .accent {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-text p {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 18px;
}
.about-text p:first-of-type { font-size: 1.05rem; }
.about-text em {
  color: var(--primary);
  font-style: italic;
  font-weight: 600;
}
.about-text strong {
  color: var(--ink);
  font-weight: 700;
  background-image: linear-gradient(180deg, transparent 60%, rgba(255, 94, 0, .25) 60%);
  padding: 0 2px;
}

/* Drop cap on first paragraph */
.about-text .dropcap {
  float: left;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 4.4rem;
  line-height: 0.9;
  font-weight: 800;
  margin: 6px 12px -2px 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.04em;
}

/* Pull quote */
.about-quote {
  position: relative;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.3rem, 1.8vw, 1.65rem);
  font-style: italic;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.35;
  margin: 32px 0 32px 0;
  padding: 6px 0 6px 26px;
  border-left: 4px solid var(--primary);
}
.about-quote::before {
  content: "“";
  position: absolute;
  top: -28px; left: 14px;
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--accent);
  opacity: .35;
  line-height: 1;
}

/* Signature line */
.about-signature {
  display: flex; align-items: center; gap: 14px;
  margin: 30px 0 22px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-style: italic;
  font-size: 1.3rem;
  color: #d62828;
  letter-spacing: 0.04em;
}
.about-signature::before {
  content: "";
  width: 56px; height: 3px;
  background: #d62828;
  border-radius: 2px;
}

.about-callout {
  background: var(--bg-soft);
  border-left: 4px solid var(--primary);
  border-radius: 0 14px 14px 0;
  padding: 22px 26px;
  margin: 26px 0;
}
.about-callout h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.about-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.about-chip {
  display: inline-block;
  padding: 6px 13px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink);
  transition: all .2s ease;
}
.about-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.about-pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0;
}
.about-pillar {
  text-align: center;
  padding: 16px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  transition: all .2s ease;
}
.about-pillar:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.about-pillar .ico {
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.about-pillar strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.about-cta {
  margin-top: 28px;
  display: inline-flex; align-items: center; gap: 10px;
}

/* About photo mosaic */
.about-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "a b"
    "c d"
    "e e";
  gap: 14px;
  max-width: 620px;
  margin-left: auto;
  width: 100%;
}
.about-collage .a-tile {
  aspect-ratio: 1 / 1;
}
.about-collage .a5 { aspect-ratio: 16 / 7; }
.about-collage .a-tile {
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  border: 5px solid white;
  box-shadow: 0 8px 22px rgba(17, 17, 17, .12);
  transition: transform .4s ease, box-shadow .4s ease;
}
.about-collage .a-tile:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 18px 40px rgba(17, 17, 17, .2);
  z-index: 2;
}
.about-collage .a-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,.22) 100%);
  pointer-events: none;
}
.about-collage .a1 { grid-area: a; }
.about-collage .a2 { grid-area: b; }
.about-collage .a3 { grid-area: c; }
.about-collage .a4 { grid-area: d; }
.about-collage .a5 { grid-area: e; }

@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-collage { aspect-ratio: 1.55 / 1; max-width: 100%; margin: 0; }
}
@media (max-width: 560px) {
  .about-pillars { grid-template-columns: 1fr; }
}

/* ===== What we do — polished animated grid ===== */
.what-we-do {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, white 0%, var(--bg-soft) 100%);
}
.what-we-do::before,
.what-we-do::after {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.what-we-do::before {
  background: radial-gradient(circle, #fde3e3, transparent 70%);
  top: -180px; left: -180px;
  animation: wwd-float-a 18s ease-in-out infinite;
}
.what-we-do::after {
  background: radial-gradient(circle, #ebe3fb, transparent 70%);
  bottom: -180px; right: -180px;
  animation: wwd-float-b 22s ease-in-out infinite;
}
@keyframes wwd-float-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(60px, -40px) scale(1.08); }
}
@keyframes wwd-float-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-50px, 30px) scale(1.05); }
}
.what-we-do .container { position: relative; z-index: 1; }

.what-we-do .card-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.what-we-do .card { padding: 30px 22px 26px; }
.what-we-do .card h3 { font-size: 1.15rem; }
.what-we-do .card p  { font-size: 0.9rem; line-height: 1.5; }

.what-we-do .card {
  position: relative;
  overflow: hidden;
  background: white;
  border-radius: var(--radius-lg);
  padding: 34px 28px 30px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity .7s cubic-bezier(.22,.61,.36,1),
    transform .7s cubic-bezier(.22,.61,.36,1),
    box-shadow .35s ease,
    border-color .35s ease;
}
.what-we-do .card.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* hover gradient sweep layer */
.what-we-do .card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 0;
}
.what-we-do .card.tone-teal::before   { background: linear-gradient(135deg, var(--secondary), var(--primary)); }
.what-we-do .card.tone-amber::before  { background: linear-gradient(135deg, var(--accent), #c44d00); }
.what-we-do .card.tone-violet::before { background: linear-gradient(135deg, var(--secondary), var(--secondary-dark)); }

.what-we-do .card > * { position: relative; z-index: 1; transition: color .35s ease; }

.what-we-do .card:hover {
  transform: translateY(-10px);
  border-color: transparent;
  box-shadow: 0 22px 50px rgba(207, 46, 46, .18);
}
.what-we-do .card:hover::before { opacity: 1; }
.what-we-do .card:hover h3,
.what-we-do .card:hover p,
.what-we-do .card:hover .arrow { color: white; }

.what-we-do .card .icon-circle {
  transition:
    transform .45s cubic-bezier(.34, 1.56, .64, 1),
    background .4s ease,
    border-color .4s ease,
    color .4s ease;
}
.what-we-do .card:hover .icon-circle {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .35);
  color: white;
  transform: scale(1.12) rotate(-6deg);
}

.what-we-do .card .arrow {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px;
  font-weight: 600; font-size: 0.9rem;
  transition: transform .3s ease, color .35s ease;
}
.what-we-do .card:hover .arrow { transform: translateX(6px); }

/* numbered corner badge */
.what-we-do .card .corner { display: none; }

/* ===== Custom SVG icons inside .what-we-do cards ===== */
.what-we-do .icon-circle { font-size: 0; }
.what-we-do .icon {
  width: 30px; height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
.what-we-do .icon * {
  transform-box: fill-box;
  transform-origin: center;
}

/* 1 — Awareness (megaphone): sound-waves pulse out */
.icon-megaphone .wave { transform-origin: left center; }
.icon-megaphone .w1 { animation: mega-pulse 1.8s ease-in-out infinite; }
.icon-megaphone .w2 { animation: mega-pulse 1.8s ease-in-out .35s infinite; }
@keyframes mega-pulse {
  0%, 100% { opacity: .25; transform: translateX(-1px) scale(.92); }
  50%      { opacity: 1;   transform: translateX(1px)  scale(1.05); }
}
.what-we-do .card:hover .icon-megaphone .wave { animation-duration: .9s; }

/* 2 — Education (cap): tassel sway */
.icon-cap .tassel  { transform-origin: top center; animation: tassel-sway 3s ease-in-out infinite; }
@keyframes tassel-sway {
  0%, 100% { transform: rotate(-8deg); }
  50%      { transform: rotate(8deg); }
}
.what-we-do .card:hover .icon-cap .tassel { animation-duration: 1.2s; }

/* 3 — Advocacy (scales): balance tilt */
.icon-scales .beam { transform-origin: center; animation: scale-tilt 3.4s ease-in-out infinite; }
.icon-scales .pan-l, .icon-scales .pan-r { transform-origin: top center; }
.icon-scales .pan-l { animation: pan-rise-l 3.4s ease-in-out infinite; }
.icon-scales .pan-r { animation: pan-rise-r 3.4s ease-in-out infinite; }
@keyframes scale-tilt {
  0%, 100% { transform: rotate(-6deg); }
  50%      { transform: rotate(6deg); }
}
@keyframes pan-rise-l {
  0%, 100% { transform: translateY(2px); }
  50%      { transform: translateY(-2px); }
}
@keyframes pan-rise-r {
  0%, 100% { transform: translateY(-2px); }
  50%      { transform: translateY(2px); }
}
.what-we-do .card:hover .icon-scales * { animation-duration: 1.4s; }

/* 4 — Patient Support (heart): heartbeat */
.icon-heart .heart { transform-origin: center; animation: heart-beat 1.6s cubic-bezier(.28,.84,.42,1) infinite; }
@keyframes heart-beat {
  0%, 100% { transform: scale(1); }
  15%      { transform: scale(1.18); }
  30%      { transform: scale(1); }
  45%      { transform: scale(1.12); }
  60%      { transform: scale(1); }
}
.what-we-do .card:hover .icon-heart .heart { animation-duration: .9s; }

/* 5 — Blood Donation (drop): drip falls inside */
.icon-drop .drip {
  transform-origin: center top;
  animation: drop-drip 2s cubic-bezier(.45,.05,.55,.95) infinite;
}
@keyframes drop-drip {
  0%       { transform: translateY(-6px) scale(.4); opacity: 0; }
  30%      { opacity: 1; }
  60%      { transform: translateY(2px)  scale(1);  opacity: 1; }
  80%      { transform: translateY(4px)  scale(.9); opacity: .6; }
  100%     { transform: translateY(6px)  scale(.4); opacity: 0; }
}
.what-we-do .card:hover .icon-drop .drip { animation-duration: 1.1s; }

/* 6 — Research (microscope lens): scan + dot pulse */
.icon-lens .lens-ring { transform-origin: 11px 11px; animation: lens-rotate 6s linear infinite; }
.icon-lens .dot       { transform-origin: 11px 11px; animation: dot-flash 1.6s ease-in-out infinite; }
@keyframes lens-rotate {
  to { transform: rotate(360deg); }
}
@keyframes dot-flash {
  0%, 100% { opacity: .35; transform: scale(.85); }
  50%      { opacity: 1;   transform: scale(1.25); }
}
.what-we-do .card:hover .icon-lens .lens-ring { animation-duration: 2.2s; }

/* 7 — Networking (globe): rotate + latitude tilt */
.icon-globe .longitude { transform-origin: center; animation: globe-spin 6s linear infinite; }
.icon-globe .latitude  { transform-origin: center; animation: lat-tilt 4s ease-in-out infinite; }
@keyframes globe-spin {
  to { transform: rotateY(360deg); }
}
@keyframes lat-tilt {
  0%, 100% { transform: scaleY(.4); }
  50%      { transform: scaleY(.7); }
}
.what-we-do .card:hover .icon-globe .longitude { animation-duration: 2.4s; }

/* 8 — Peer support (people): gentle sway toward each other */
.icon-peers .person-l { transform-origin: bottom center; animation: peer-sway-l 3.2s ease-in-out infinite; }
.icon-peers .person-r { transform-origin: bottom center; animation: peer-sway-r 3.2s ease-in-out infinite; }
@keyframes peer-sway-l {
  0%, 100% { transform: rotate(-5deg); }
  50%      { transform: rotate(4deg); }
}
@keyframes peer-sway-r {
  0%, 100% { transform: rotate(5deg); }
  50%      { transform: rotate(-4deg); }
}
.what-we-do .card:hover .icon-peers > * { animation-duration: 1.4s; }

/* 9 — Bridging & Navigation (compass): needle searches and settles */
.icon-compass .needle {
  transform-origin: 12px 12px;
  animation: compass-search 4.5s cubic-bezier(.5, .1, .5, 1) infinite;
}
@keyframes compass-search {
  0%   { transform: rotate(-15deg); }
  25%  { transform: rotate(95deg);  }
  50%  { transform: rotate(200deg); }
  75%  { transform: rotate(295deg); }
  100% { transform: rotate(345deg); }
}
.what-we-do .card:hover .icon-compass .needle { animation-duration: 2s; }

/* 10 — Mental Health (brain): synapses flicker on each side */
.icon-mind .pulse-l,
.icon-mind .pulse-r {
  animation: mind-fire 1.6s ease-in-out infinite;
}
.icon-mind .pulse-r { animation-delay: .4s; }
@keyframes mind-fire {
  0%, 100% { opacity: .25; transform: scale(.85); }
  50%      { opacity: 1;   transform: scale(1.15); }
}
.what-we-do .card:hover .icon-mind .pulse-l,
.what-we-do .card:hover .icon-mind .pulse-r { animation-duration: .7s; }

@media (prefers-reduced-motion: reduce) {
  .what-we-do .icon * { animation: none !important; }
}

/* CTA below grid */
.what-we-do .wwd-foot {
  text-align: center;
  margin-top: 50px;
}

@media (max-width: 1200px) {
  .what-we-do .card-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .what-we-do .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .what-we-do .card-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .what-we-do .card { opacity: 1; transform: none; transition: none; }
  .what-we-do::before, .what-we-do::after,
  .what-we-do .card .icon-circle { animation: none; }
}

/* ===== Partners marquee strip ===== */
.partners {
  background: white;
  padding: 60px 0 70px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.partners-head {
  text-align: center; margin-bottom: 36px;
}
.partners-head .eyebrow {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--bg-soft); color: var(--primary);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 12px;
}
.partners-head h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}
.partners-head p {
  color: var(--muted); margin-top: 8px; font-size: 0.98rem;
}

.marquee {
  position: relative;
  overflow: hidden;
  --gap: 36px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: var(--gap);
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

.partner-chip {
  flex: 0 0 auto;
  display: grid; place-items: center;
  padding: 22px 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  height: 130px;
  width: 240px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.partner-chip:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.partner-chip img {
  max-height: 80px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}
.partner-chip.partner-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.partner-chip.partner-text svg {
  width: 38px; height: 38px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.partner-chip.partner-text span {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
  letter-spacing: 0.02em;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - var(--gap) / 2)); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee {
    -webkit-mask-image: none; mask-image: none;
    overflow-x: auto;
  }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid, .feature-row, .form-grid, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.reverse { direction: ltr; }
  .hero-collage { max-width: 100%; margin: 0 auto; }
  .stats .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: white; border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 12px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: all .2s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 16px; text-align: left; }
  .nav-cta .btn-outline { display: none; }
  .event { grid-template-columns: 90px 1fr; }
  .event .btn { grid-column: 1 / -1; }
  section { padding: 60px 0; }
  .hero { padding: 60px 0 80px; }
}

@media (max-width: 500px) {
  .form-row { grid-template-columns: 1fr; }
  .stats .stats-grid { grid-template-columns: 1fr; }
}

/* ===== Services page ===== */
.services-intro-strip {
  background: var(--ink);
  color: white;
  padding: 38px 0;
}
.services-intro-strip .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.services-intro-strip .stats-grid h3 {
  color: var(--accent);
  font-size: 2rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.1;
}
.services-intro-strip .stats-grid p {
  color: #c7cdd5;
  font-size: 0.9rem;
  margin-top: 4px;
}
@media (max-width: 700px) {
  .services-intro-strip .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .services-intro-strip .stats-grid { grid-template-columns: 1fr; }
}

.pillar-quick-nav {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-top: 30px;
}
.pillar-quick-nav a {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem; font-weight: 600;
  color: var(--ink); text-decoration: none;
  transition: all .2s ease;
}
.pillar-quick-nav a:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.pillar-quick-nav a .num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.7rem;
  background: var(--bg-soft);
  color: var(--primary);
  padding: 3px 7px;
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.pillar-section {
  padding: 80px 0;
  position: relative;
  scroll-margin-top: 90px;
}
.pillar-section:nth-of-type(even) { background: var(--bg-soft); }

.pillar-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: flex-start;
  margin-bottom: 44px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.pillar-header .pillar-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: 5rem;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.8px var(--primary);
  letter-spacing: -0.05em;
}
.pillar-header .pillar-info { padding-top: 6px; }
.pillar-header .pillar-cat {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.pillar-header h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  line-height: 1.1;
  margin-bottom: 10px;
}
.pillar-header .pillar-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 700px;
  margin: 0;
}
.pillar-header .pillar-icon {
  font-size: 2rem;
  margin-right: 12px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
}
.service-card {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 26px 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-card .service-num {
  position: absolute;
  top: 18px; right: 22px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.76rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.service-card .icon-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--bg-soft);
  display: grid; place-items: center;
  margin-bottom: 16px;
  color: var(--primary);
  transition: background .25s ease, color .25s ease, transform .35s cubic-bezier(.34, 1.56, .64, 1);
}
.service-card .icon-wrap svg {
  width: 24px; height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card:hover .icon-wrap {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  transform: scale(1.08) rotate(-4deg);
}
.service-card h3 {
  font-size: 1.05rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-bottom: 8px;
  line-height: 1.3;
}
.service-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* Per-pillar color theming */
.pillar-section.p-education .pillar-num { -webkit-text-stroke-color: #cf2e2e; }
.pillar-section.p-advocacy .pillar-num  { -webkit-text-stroke-color: var(--secondary); }
.pillar-section.p-awareness .pillar-num { -webkit-text-stroke-color: var(--accent); }
.pillar-section.p-networking .pillar-num{ -webkit-text-stroke-color: #2e8b57; }
.pillar-section.p-selfmgmt .pillar-num  { -webkit-text-stroke-color: #6b46c1; }
.pillar-section.p-training .pillar-num  { -webkit-text-stroke-color: var(--primary-dark); }

.pillar-section.p-education .pillar-cat { color: #cf2e2e; }
.pillar-section.p-advocacy .pillar-cat  { color: var(--secondary); }
.pillar-section.p-awareness .pillar-cat { color: var(--accent); }
.pillar-section.p-networking .pillar-cat{ color: #2e8b57; }
.pillar-section.p-selfmgmt .pillar-cat  { color: #6b46c1; }
.pillar-section.p-training .pillar-cat  { color: var(--primary-dark); }

@media (max-width: 700px) {
  .pillar-header { grid-template-columns: 1fr; gap: 16px; }
  .pillar-header .pillar-num { font-size: 3.5rem; }
}

/* ===== Legal / prose pages ===== */
.prose-section { padding: 70px 0 90px; }
.prose-section .container { max-width: 820px; }
.prose-section h2 {
  font-size: 1.5rem;
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--bg-soft);
  scroll-margin-top: 90px;
}
.prose-section h2:first-of-type { margin-top: 12px; }
.prose-section h3 {
  font-size: 1.15rem;
  margin: 22px 0 8px;
  color: var(--primary);
}
.prose-section p, .prose-section li {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink);
}
.prose-section p { margin-bottom: 12px; }
.prose-section ul, .prose-section ol { padding-left: 22px; margin-bottom: 14px; }
.prose-section ul li, .prose-section ol li { margin-bottom: 6px; }
.prose-section strong { color: var(--ink); font-weight: 700; }
.prose-section .last-updated {
  display: inline-block;
  padding: 6px 14px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.82rem;
  border-radius: 999px;
  margin-bottom: 28px;
}
.prose-section .toc {
  background: var(--bg-soft);
  padding: 22px 26px;
  border-radius: 14px;
  margin: 20px 0 36px;
  border-left: 4px solid var(--primary);
}
.prose-section .toc h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.prose-section .toc ol {
  margin: 0;
  columns: 2;
  column-gap: 32px;
}
.prose-section .toc a { color: var(--ink); font-weight: 500; }
.prose-section .toc a:hover { color: var(--primary); }
@media (max-width: 600px) { .prose-section .toc ol { columns: 1; } }

/* ===== NZ Hospitals directory ===== */
.emergency-strip {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 26px 0;
  color: white;
}
.emergency-strip .container {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.emergency-strip .em-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 2.4rem; line-height: 1;
  background: rgba(255, 255, 255, .18);
  padding: 12px 22px; border-radius: 14px;
}
.emergency-strip p {
  flex: 1; min-width: 280px;
  font-size: 1rem; line-height: 1.5; color: rgba(255, 255, 255, .96);
}
.emergency-strip strong { font-weight: 700; }

.hospitals-section { padding: 0 0 80px; background: white; }

.hospital-controls {
  position: sticky; top: 70px; z-index: 20;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  padding: 22px 0 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.hospital-search {
  width: 100%; padding: 15px 20px;
  font-family: inherit; font-size: 1rem;
  border: 1.5px solid var(--line); border-radius: 12px;
  background: white; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.hospital-search:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(207, 46, 46, .12);
}
.hospital-filters {
  display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; align-items: center;
}
.h-chip {
  font-family: inherit; font-size: 0.88rem; font-weight: 500;
  cursor: pointer; padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: white; color: var(--muted);
  transition: all .18s;
}
.h-chip:hover { border-color: var(--primary); color: var(--primary); }
.h-chip.active {
  background: var(--primary); color: white; border-color: var(--primary);
}
.h-count { margin-left: auto; font-size: 0.88rem; color: var(--muted); }

.island-head {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.7rem; font-weight: 800;
  color: var(--primary);
  margin: 50px 0 6px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-soft);
  letter-spacing: -0.01em;
}
.region-block { margin-top: 32px; }
.region-block > h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem; font-weight: 700;
  color: var(--primary);
}
.city-block { margin-top: 20px; }
.city-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--ink); margin-bottom: 12px;
}
.hospital-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}
.h-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex; flex-direction: column;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.h-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.h-card-top {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 10px;
}
.h-card h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem; font-weight: 700;
  line-height: 1.25; color: var(--primary-dark);
}
.h-tag {
  flex-shrink: 0;
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 6px;
  white-space: nowrap;
}
.h-tag.public { background: #fde3e3; color: var(--primary); }
.h-tag.private { background: #eef1f4; color: #52606d; }
.h-services {
  font-size: 0.85rem; color: var(--muted); margin-top: 8px;
  line-height: 1.5;
}
.h-addr {
  font-size: 0.85rem; color: var(--muted);
  margin-top: 10px; padding-top: 10px;
  border-top: 1px dashed var(--line);
  display: flex; gap: 8px; align-items: flex-start;
}
.h-addr svg { flex-shrink: 0; margin-top: 2px; }
.h-actions {
  display: flex; gap: 8px; margin-top: 12px;
}
.h-btn {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; text-decoration: none;
  font-size: 0.87rem; font-weight: 600;
  padding: 10px 12px; border-radius: 10px;
  transition: all .15s;
}
.h-btn-call { background: var(--primary); color: white; }
.h-btn-call:hover { background: var(--primary-dark); color: white; }
.h-btn-map {
  background: transparent; color: var(--primary);
  border: 1.5px solid var(--line);
}
.h-btn-map:hover { border-color: var(--primary); }
.empty-state {
  text-align: center; padding: 60px 20px;
  color: var(--muted); font-size: 1.05rem;
  display: none;
}

.hospital-meta {
  background: var(--bg-soft);
  padding: 50px 0;
  font-size: 0.92rem; color: var(--muted);
  line-height: 1.7;
}
.hospital-meta .legend {
  display: flex; gap: 22px; flex-wrap: wrap;
  margin: 12px 0 22px;
}
.hospital-meta .legend span {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; color: var(--ink);
}
.hospital-meta .ldot {
  width: 12px; height: 12px; border-radius: 3px;
  display: inline-block;
}
.hospital-meta .ldot.public { background: var(--primary); }
.hospital-meta .ldot.private { background: #52606d; }
.hospital-meta p { max-width: 78ch; margin-bottom: 10px; }

@media print {
  .hospital-controls, .emergency-strip, .h-actions,
  .site-header, .topbar, .footer, .cta-strip { display: none; }
  .h-card { box-shadow: none; break-inside: avoid; }
}

/* ===== TASCA NZ — Milestones timeline ===== */
.milestones {
  background: var(--bg-soft);
  padding: 90px 0 100px;
}
.timeline {
  position: relative;
  margin: 50px 0 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 0 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.timeline::-webkit-scrollbar { display: none; }

.timeline-track {
  position: relative;
  display: flex;
  gap: 26px;
  min-width: max-content;
  padding: 0 28px;
}

/* horizontal spine through the pegs */
.timeline-track::before {
  content: "";
  position: absolute;
  top: 72px;
  left: 122px;
  right: 122px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent) 50%, var(--secondary));
  border-radius: 2px;
  z-index: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.2s cubic-bezier(.6, .04, .3, 1);
}
.timeline.in-view .timeline-track::before {
  transform: scaleX(1);
}

.milestone {
  position: relative;
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 96px;
  scroll-snap-align: start;
  z-index: 1;
  --idx: 0;
  --base-delay: 0.7s;
  --stagger: 0.12s;
}

.milestone .year {
  position: absolute;
  top: 0; left: 0; right: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s ease, transform .5s ease;
}
.timeline.in-view .milestone .year {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--base-delay) + var(--idx) * var(--stagger));
}
.milestone:nth-child(2n) .year { color: var(--accent); }
.milestone:nth-child(3n) .year { color: var(--secondary); }

.milestone::before {
  content: "";
  position: absolute;
  top: 64px;
  left: 50%;
  width: 18px; height: 18px;
  background: white;
  border: 4px solid var(--primary);
  border-radius: 50%;
  z-index: 2;
  transform: translateX(-50%) scale(0);
  opacity: 0;
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), opacity .3s ease, background .25s ease, border-color .25s ease;
}
.timeline.in-view .milestone::before {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  transition-delay: calc(var(--base-delay) + var(--idx) * var(--stagger) + 0.1s);
}
.milestone:nth-child(2n)::before { border-color: var(--accent); }
.milestone:nth-child(3n)::before { border-color: var(--secondary); }

.milestone-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 18px 20px;
  box-shadow: var(--shadow-sm);
  width: 100%;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease, border-color .25s ease, box-shadow .25s ease;
}
.timeline.in-view .milestone-card {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--base-delay) + var(--idx) * var(--stagger) + 0.18s);
}
.milestone-card::before {
  /* connector from peg down to card */
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px; height: 14px;
  background: var(--line);
}

.milestone:hover::before {
  background: var(--primary);
  transform: translateX(-50%) scale(1.18);
}
.milestone:nth-child(2n):hover::before { background: var(--accent); }
.milestone:nth-child(3n):hover::before { background: var(--secondary); }
.milestone:hover .milestone-card {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.milestone-card h3 {
  font-size: 0.98rem;
  margin-bottom: 6px;
  line-height: 1.3;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.milestone-card p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 600px) {
  .milestone { flex-basis: 180px; }
  .milestone .year { font-size: 1.3rem; }
}

/* ===== TASCA NZ — Patient care journey ===== */
.care-journey {
  padding: 90px 0;
  background: white;
}
.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 50px;
  position: relative;
}
.journey-step {
  position: relative;
  padding: 30px 26px;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  transition: all .25s ease;
}
.journey-step:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.journey-step .step-num {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.6px var(--primary);
  letter-spacing: -0.05em;
  margin-bottom: 16px;
  transition: -webkit-text-stroke-color .3s ease;
}
.journey-step:hover .step-num { -webkit-text-stroke-color: var(--accent); }
.journey-step h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.journey-step p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 900px) {
  .journey-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .journey-steps { grid-template-columns: 1fr; }
}

/* ===== TASCA NZ — Resources & Downloads ===== */
.resources-section {
  padding: 90px 0;
  background: var(--bg-soft);
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 50px;
}
.resource-card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px 26px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  transition: all .25s ease;
}
.resource-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}
.resource-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 11px;
  background: var(--bg-soft);
  color: var(--primary);
  border-radius: 999px;
  margin-bottom: 18px;
  align-self: flex-start;
}
.resource-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.3;
}
.resource-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}
.resource-meta {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.resource-meta::after {
  content: "↓";
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--primary);
  font-weight: 700;
  transition: all .2s ease;
}
.resource-card:hover .resource-meta::after {
  background: var(--primary);
  color: white;
  transform: translateY(2px);
}
@media (max-width: 1000px) {
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .resource-grid { grid-template-columns: 1fr; }
}

/* ===== TASCA NZ — Voices / testimonials ===== */
.voices-section {
  padding: 90px 0;
  background: white;
}
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.voice-card {
  position: relative;
  padding: 38px 30px 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.voice-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.voice-card .quote-icon {
  font-family: Georgia, serif;
  font-size: 5.5rem;
  line-height: 0.6;
  color: var(--primary);
  opacity: 0.12;
  position: absolute;
  top: 22px;
  left: 24px;
  pointer-events: none;
}
.voice-card blockquote {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 22px;
  position: relative;
  z-index: 1;
}
.voice-attribution {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.voice-attribution strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
}
.voice-attribution span {
  font-size: 0.83rem;
  color: var(--muted);
}
@media (max-width: 900px) {
  .voices-grid { grid-template-columns: 1fr; }
}

/* ===== TASCA NZ — FAQ accordion ===== */
.faq-section {
  background: var(--bg-soft);
  padding: 90px 0 100px;
}
.faq-list {
  max-width: 820px;
  margin: 50px auto 0;
}
.faq-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.faq-item[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 56px 20px 24px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  position: relative;
  transition: color .25s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  background: var(--bg-soft);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
  line-height: 1;
}
.faq-item[open] summary::after {
  content: "−";
  background: var(--primary);
  color: white;
}
.faq-item summary:hover { color: var(--primary); }
.faq-item p {
  padding: 0 26px 22px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.93rem;
}

/* ===== Hero featured photos (index.html) ===== */
.hero-photos {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  aspect-ratio: 1 / 1.05;
}
.hero-photo {
  position: absolute;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 22px;
  box-shadow: 0 30px 60px -22px rgba(60, 18, 18, 0.35), 0 8px 18px -8px rgba(0,0,0,0.15);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.hero-photo-back {
  top: 0;
  right: 0;
  width: 68%;
  aspect-ratio: 1 / 1;
  border: 6px solid white;
  transform: rotate(2deg);
  z-index: 1;
}
.hero-photo-front {
  bottom: 0;
  left: 0;
  width: 72%;
  aspect-ratio: 4 / 5;
  border: 6px solid white;
  transform: rotate(-3deg);
  z-index: 2;
}
.hero-photos:hover .hero-photo-back { transform: rotate(3.5deg) translateY(-4px); }
.hero-photos:hover .hero-photo-front { transform: rotate(-4.5deg) translateY(-6px); }

.hero-photo-blob {
  position: absolute;
  z-index: 0;
  top: 8%;
  left: 8%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle at 35% 30%, rgba(214, 40, 40, 0.18), rgba(255, 138, 60, 0.12) 55%, transparent 75%);
  filter: blur(20px);
  border-radius: 50%;
  pointer-events: none;
}

@media (max-width: 960px) {
  .hero-photos { max-width: 460px; margin: 0 auto; }
}
@media (max-width: 540px) {
  .hero-photos { max-width: 360px; }
  .hero-photo-back { width: 70%; }
  .hero-photo-front { width: 76%; }
}

/* ===== Hero rotating globe — monochrome loading indicator (index.html) ===== */
.hero-globe {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  background: #fafaf6;
  border-radius: 22px;
  padding: 16px;
}
.globe-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 560px;
}
.whirl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  will-change: transform;
}
.whirl-outer { animation: whirl-spin-cw 22s linear infinite; }
.whirl-arc   { animation: whirl-spin-cw 5s linear infinite; }
.whirl-dot   { animation: whirl-spin-ccw 8s linear infinite; }
@keyframes whirl-spin-cw  { to { transform: rotate(360deg); } }
@keyframes whirl-spin-ccw { to { transform: rotate(-360deg); } }

.globe-orb {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.globe-orb canvas {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
}

@media (prefers-reduced-motion: reduce) {
  .whirl-outer, .whirl-arc, .whirl-dot { animation: none; }
}

/* ===== NZ Support Directory (library.html) ===== */
.support-directory { background: var(--bg-soft); }
.support-search-wrap {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg-soft);
  padding: 16px 0 14px;
  margin: 18px 0 8px;
  border-bottom: 1px solid var(--line);
}
.support-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.support-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(214,40,40,0.12);
}
.support-search svg {
  width: 18px; height: 18px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}
.support-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  color: var(--ink);
  padding: 6px 0;
}
.support-search input::placeholder { color: var(--muted); }
.support-search-meta {
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 10px;
  min-height: 1.2em;
}
.support-no-results {
  display: none;
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
  font-size: 0.95rem;
}
.support-no-results.show { display: block; }
.support-group { margin-bottom: 8px; }
.support-group.hidden { display: none; }
.support-card.hidden { display: none; }
.support-cat {
  margin: 44px 0 18px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.01em;
}
.support-cat::before {
  content: "";
  width: 28px; height: 3px;
  background: var(--primary);
  border-radius: 2px;
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.support-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 22px 16px;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.support-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.support-card.urgent {
  border-color: #fca5a5;
  background: #fff5f5;
}
.support-card h4 {
  margin: 0 0 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.support-card > p {
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}
.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.support-actions a {
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--primary);
  background: var(--bg-soft);
  padding: 6px 12px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.support-actions a:hover { background: var(--primary); color: white; }
@media (max-width: 1000px) { .support-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .support-grid { grid-template-columns: 1fr; } }

/* ===== Global section spacing tighten (reduce big gaps site-wide) ===== */
section { padding: 32px 0; }
.hero { padding: 40px 0 44px; }
.what-we-do,
.impact-section,
.values-section,
.pillar-section,
.team-section,
.resources-section,
.voices-section,
.faq-section,
.prose-section,
.hospitals-section { padding-top: 34px; padding-bottom: 34px; }
.section-head { margin: 0 auto 22px; }
@media (max-width: 768px) {
  section { padding: 24px 0; }
  .hero { padding: 28px 0 32px; }
}
