/* ==========================================================================
   Hidden Caregiver Network — Site Styles
   Palette pulled from the brand mark: cream, soft pink, navy-purple
   ========================================================================== */

/* -------- Custom properties ---------------------------------------------- */
:root {
  /* Brand palette */
  --cream: #FAF5EC;
  --cream-soft: #FFFDF8;
  --cream-deep: #F1E9D8;
  --pink: #F5C6C6;
  --pink-soft: #FBE2E2;
  --pink-deep: #E39B9B;
  --navy: #4D4968;
  --navy-soft: #6C6985; /* darkened from #8B88A3 for WCAG AA small-text contrast on cream */
  --rose-text: #A35857; /* text-safe rose: pink-deep fails contrast as text on light backgrounds */
  --navy-deep: #322F4A;
  --gold: #E8C97C;

  /* Semantic roles */
  --bg: var(--cream);
  --surface: var(--cream-soft);
  --surface-alt: var(--pink-soft);
  --text: var(--navy-deep);
  --text-muted: var(--navy-soft);
  --accent: var(--pink);
  --accent-strong: var(--pink-deep);
  --heading: var(--navy);
  --link: var(--navy);
  --link-hover: var(--pink-deep);
  --border: rgba(77, 73, 104, 0.12);

  /* Typography */
  --font-body: "Nunito", "Helvetica Neue", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --font-heading: "Lora", "Georgia", "Times New Roman", serif;
  --font-script: "Caveat", "Brush Script MT", cursive;

  /* Spacing scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;
  --r-full: 9999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(50, 47, 74, 0.05);
  --shadow-md: 0 4px 12px rgba(50, 47, 74, 0.08);
  --shadow-lg: 0 12px 32px rgba(50, 47, 74, 0.12);

  /* Container widths */
  --wide: 1200px;
  --narrow: 760px;
}

/* -------- Reset ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }
a { color: var(--link); text-decoration-color: rgba(77, 73, 104, 0.3); text-underline-offset: 3px; }
a:hover { color: var(--link-hover); text-decoration-color: currentColor; }

/* -------- Typography ----------------------------------------------------- */
h1, h2, h3, h4, .brand-link__text {
  font-family: var(--font-heading);
  color: var(--heading);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 var(--s-4);
}
.brand-link__text { margin: 0; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 400; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; font-weight: 600; font-family: var(--font-body); color: var(--navy); }
p  { margin: 0 0 var(--s-4); }
.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 60ch; }
.script { font-family: var(--font-script); font-size: 1.6em; color: var(--navy); line-height: 1; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-soft);
  font-weight: 700;
  margin-bottom: var(--s-3);
}

/* -------- Layout primitives --------------------------------------------- */
.container { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 var(--s-5); }
.container--narrow { max-width: var(--narrow); }
.section { padding: var(--s-8) 0; }
.section--tight { padding: var(--s-7) 0; }
.section--alt { background: var(--cream-deep); }
.section--pink { background: var(--pink-soft); }
.section--dark { background: var(--navy-deep); color: var(--cream); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--cream); }

.grid { display: grid; gap: var(--s-5); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: 1fr 1fr; gap: var(--s-7); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.stack > * + * { margin-top: var(--s-4); }
.text-center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

/* -------- Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 0.8em 1.6em;
  border-radius: var(--r-full);
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn--primary { background: var(--navy); color: var(--cream); }
.btn--primary:hover { background: var(--navy-deep); color: var(--cream); box-shadow: var(--shadow-md); }
.btn--secondary { background: var(--pink); color: var(--navy-deep); }
.btn--secondary:hover { background: var(--pink-deep); color: var(--navy-deep); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--cream); }
.btn--small { padding: 0.55em 1.1em; font-size: 0.85rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* -------- Header / Nav --------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 245, 236, 0.94);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-3) var(--s-5);
  max-width: var(--wide); margin: 0 auto;
  gap: var(--s-5);
}
.brand-link { display: flex; align-items: center; gap: var(--s-2); text-decoration: none; color: var(--navy); }
.brand-link img { height: 44px; width: auto; }
.brand-link__text { font-family: var(--font-heading); font-weight: 500; font-size: 1.05rem; letter-spacing: -0.01em; }

.site-nav { display: flex; align-items: center; gap: var(--s-5); }
.site-nav ul { list-style: none; padding: 0; margin: 0; display: flex; gap: var(--s-5); }
.site-nav a:not(.btn) { text-decoration: none; color: var(--navy); font-weight: 600; font-size: 0.95rem; }
.site-nav a:not(.btn):hover, .site-nav a.is-active { color: var(--pink-deep); }
.site-nav .btn--primary { color: var(--cream); }
.site-nav .btn--primary:hover { color: var(--cream); }

.nav-toggle {
  display: none;
  background: transparent; border: 0; padding: var(--s-2);
  color: var(--navy);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; }
  .site-nav.is-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; inset: 100% 0 auto 0;
    background: var(--cream-soft); border-bottom: 1px solid var(--border);
    padding: var(--s-5); box-shadow: var(--shadow-md); gap: var(--s-4);
  }
  .site-nav.is-open ul { flex-direction: column; width: 100%; gap: var(--s-4); }
  /* Support the work sits at the bottom of the menu, full width, centered. */
  .site-nav.is-open .btn { width: 100%; justify-content: center; text-align: center; }
}

/* -------- Hero ----------------------------------------------------------- */
.hero {
  position: relative;
  padding: var(--s-8) 0 var(--s-8);
  overflow: hidden;
}
.hero--home {
  background:
    radial-gradient(ellipse at 12% 10%, rgba(245, 198, 198, 0.45), transparent 40%),
    radial-gradient(ellipse at 95% 90%, rgba(232, 201, 124, 0.18), transparent 35%),
    var(--cream);
  padding: var(--s-9) 0;
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-7); align-items: center; }
/* On phones/tablets the logo shows first, headline second. */
.hero__art { order: -1; }
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .hero__art { order: 0; }
}
.hero__copy { min-width: 0; }
.hero__copy h1 { margin-bottom: var(--s-5); overflow-wrap: break-word; }
.hero__copy h1 .script { display: inline-block; max-width: 100%; }
.hero__copy .lead { font-size: 1.2rem; color: var(--navy); max-width: 42ch; }
.hero__art {
  display: flex; align-items: center; justify-content: center;
  min-height: 220px; min-width: 0;
}
.hero__art img { max-width: 100%; width: 420px; height: auto; }
/* On roomy screens the logo grows past its column and anchors to the
   right edge, using the empty space beside the headline. Below 1100px it
   stays column-fit so it never crowds the text on smaller laptops. */
@media (min-width: 1100px) {
  .hero__art { justify-content: flex-end; overflow: visible; }
  .hero__art img { width: 620px; max-width: none; }
}
.hero__cta { margin-top: var(--s-6); }

.hero--page {
  padding: var(--s-7) 0 var(--s-6);
  background: linear-gradient(180deg, var(--cream-deep), var(--cream));
  text-align: center;
}
.hero--page h1 { margin-bottom: var(--s-3); }
.hero--page .lead { margin: 0 auto; }

/* -------- Pillars -------------------------------------------------------- */
.pillar-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pillar-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pillar-card__num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  color: var(--pink-deep);
  line-height: 1; margin-bottom: var(--s-3);
}
.pillar-card h3 { margin-bottom: var(--s-3); }

/* -------- Impact counter ------------------------------------------------- */
.impact {
  background: var(--navy-deep);
  color: var(--cream);
  padding: var(--s-8) 0;
}
.impact__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6);
  text-align: center;
}
@media (min-width: 768px) { .impact__grid { grid-template-columns: repeat(4, 1fr); } }
.impact__num {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  color: var(--pink);
  line-height: 1; margin-bottom: var(--s-2);
  font-weight: 400;
}
.impact__label { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.85rem; color: rgba(250, 245, 236, 0.75); }

/* -------- Founder letter ------------------------------------------------- */
.letter {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: var(--s-7);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  max-width: 760px; margin: 0 auto;
}
.letter__signature {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--navy);
  margin-top: var(--s-5);
  line-height: 1;
}
.letter__meta { color: var(--text-muted); font-size: 0.9rem; }

/* -------- Timeline ------------------------------------------------------- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 10px;
  width: 2px; background: var(--pink);
}
.timeline li { position: relative; padding: 0 0 var(--s-6) var(--s-7); }
.timeline li::before {
  content: ""; position: absolute; left: 3px; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--pink-deep);
  box-shadow: 0 0 0 4px var(--cream);
}
.timeline h4 { margin-bottom: var(--s-1); }
.timeline time { display: block; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy-soft); margin-bottom: var(--s-2); }

/* -------- Partner wall --------------------------------------------------- */
.partner-wall {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5);
  align-items: center;
}
@media (min-width: 600px) { .partner-wall { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .partner-wall { grid-template-columns: repeat(4, 1fr); } }
.partner-wall__item {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: var(--s-5);
  text-align: center;
  min-height: 110px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-weight: 600; font-size: 0.95rem;
  border: 1px solid var(--border);
}

/* -------- Quiz card ------------------------------------------------------ */
.quiz-card {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: var(--s-7);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  max-width: 640px; margin: 0 auto;
}
.quiz-card fieldset { border: 0; margin: 0; padding: 0; }
.quiz-card legend {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: var(--s-4);
}
.quiz-card__options { display: grid; gap: var(--s-3); }
.quiz-card__option {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.quiz-card__option:hover { border-color: var(--pink-deep); background: var(--pink-soft); }
.quiz-card__option input { accent-color: var(--pink-deep); width: 20px; height: 20px; }
.quiz-card__progress {
  height: 6px; background: var(--border); border-radius: var(--r-full); margin-bottom: var(--s-5);
  overflow: hidden;
}
.quiz-card__progress span { display: block; height: 100%; background: var(--pink-deep); transition: width 0.3s ease; }
.quiz-card__footer { display: flex; justify-content: space-between; margin-top: var(--s-5); gap: var(--s-3); }
.quiz-result h3 { color: var(--navy); }
.quiz-result__tag {
  display: inline-block; padding: var(--s-1) var(--s-3);
  background: var(--pink-soft); color: var(--navy-deep);
  border-radius: var(--r-full); font-size: 0.85rem; font-weight: 700;
  margin-right: var(--s-2); margin-bottom: var(--s-2);
}

/* -------- Resource directory -------------------------------------------- */
.resource-filters {
  display: flex; flex-wrap: wrap; gap: var(--s-4);
  padding: var(--s-5);
  background: var(--surface); border-radius: var(--r-lg);
  border: 1px solid var(--border);
  margin-bottom: var(--s-6);
}
.resource-filters__group { display: flex; flex-direction: column; gap: var(--s-2); min-width: 180px; flex: 1; }
.resource-filters label { font-size: 0.85rem; font-weight: 700; color: var(--navy); letter-spacing: 0.05em; text-transform: uppercase; }
.resource-filters select, .resource-filters input {
  padding: 0.6em 0.8em; border: 2px solid var(--border);
  border-radius: var(--r-sm); background: var(--cream-soft);
  font: inherit; color: var(--navy-deep);
}
.resource-filters select:focus, .resource-filters input:focus { outline: none; border-color: var(--pink-deep); }

.resource-grid { display: grid; gap: var(--s-5); grid-template-columns: 1fr; }
.resource-grid[hidden] { display: none; }
@media (min-width: 700px) { .resource-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .resource-grid { grid-template-columns: repeat(3, 1fr); } }

.resource-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: var(--s-3);
}
.resource-card h3 { margin: 0; font-size: 1.15rem; color: var(--navy); font-family: var(--font-body); font-weight: 700; }
.resource-card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.resource-card__tags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: auto; }
.tag {
  display: inline-block; padding: 0.2em 0.65em;
  background: var(--pink-soft); color: var(--navy-deep);
  border-radius: var(--r-full); font-size: 0.75rem; font-weight: 700;
}
.tag--age { background: var(--cream-deep); }
.tag--condition { background: rgba(232, 201, 124, 0.28); }
.tag--audience { background: var(--cream-deep); }
.tag--state { background: rgba(232, 201, 124, 0.28); letter-spacing: 0.05em; }

.resource-card__report {
  font-size: 0.78rem;
  color: var(--navy-soft);
  text-decoration: underline;
  text-decoration-color: var(--border);
  align-self: flex-start;
}
.resource-card__report:hover { color: var(--navy); text-decoration-color: var(--pink-deep); }

.resource-card__contact {
  font-size: 0.85rem;
  color: var(--navy);
  background: var(--cream-deep);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-sm);
  line-height: 1.5;
}
.resource-card__contact-label {
  font-weight: 700;
  color: var(--navy-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.7rem;
  display: block;
  margin-bottom: 2px;
}
.resource-card__contact a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--pink-deep); }

/* -------- Audience quick-start cards (Network) -------------------------- */
.audience-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
}
@media (min-width: 600px) { .audience-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .audience-cards { grid-template-columns: repeat(5, 1fr); } }

.audience-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  text-align: left;
  cursor: pointer;
  display: flex; flex-direction: column; gap: var(--s-2);
  font: inherit;
  color: var(--navy);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.audience-card:hover {
  border-color: var(--pink-deep);
  transform: translateY(-2px);
}
.audience-card.is-active {
  background: var(--pink-soft);
  border-color: var(--pink-deep);
  box-shadow: var(--shadow-md);
}
.audience-card__icon { font-size: 1.6rem; line-height: 1; }
.audience-card strong { font-size: 1rem; }
.audience-card span:not(.audience-card__icon) {
  font-size: 0.85rem;
  color: var(--navy-soft);
}
.audience-card.is-active span:not(.audience-card__icon) { color: var(--navy); }

/* -------- Resource toolbar + view toggle ------------------------------- */
.resource-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4); flex-wrap: wrap;
  margin-bottom: var(--s-4);
}
.resource-toolbar [data-resource-count] { margin: 0; }

.view-toggle {
  display: inline-flex;
  background: var(--cream-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 4px;
}
.view-toggle__btn {
  background: transparent;
  border: 0;
  padding: 0.4em 1em;
  border-radius: var(--r-full);
  font: inherit; font-size: 0.85rem; font-weight: 700;
  color: var(--navy-soft);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.view-toggle__btn.is-active {
  background: var(--navy);
  color: var(--cream);
}

/* -------- Resource map (Leaflet) --------------------------------------- */
.resource-map {
  height: 480px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.resource-map[hidden] { display: none; }

/* -------- Video facade --------------------------------------------------- */
.video-grid { display: grid; gap: var(--s-5); grid-template-columns: 1fr; }
@media (min-width: 700px) { .video-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }

/* Empty-state "coming soon" notes: span the whole grid row, centered, one line on desktop */
.video-grid > .form-note,
.written-stories > .form-note {
  grid-column: 1 / -1;
  text-align: center;
  margin: 0 auto;
  padding: var(--s-5) 0;
}

.video-facade {
  position: relative; display: block;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--navy-deep); color: var(--cream);
  cursor: pointer; border: 0; padding: 0;
  aspect-ratio: 9 / 16; width: 100%;
  transition: transform 0.2s ease;
}
.video-facade:hover { transform: translateY(-2px); }
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: opacity 0.2s ease; }
.video-facade:hover img { opacity: 1; }
.video-facade__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(250, 245, 236, 0.92); color: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; padding-left: 6px;
  box-shadow: var(--shadow-lg);
}
.video-facade__badge {
  position: absolute; top: var(--s-3); left: var(--s-3);
  background: var(--cream-soft); color: var(--navy-deep);
  padding: 0.2em 0.6em; border-radius: var(--r-full);
  font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
}

.video-embed { position: relative; width: 100%; aspect-ratio: 9 / 16; border-radius: var(--r-lg); overflow: hidden; }
.video-embed iframe { width: 100%; height: 100%; border: 0; }
.video-embed video { width: 100%; height: 100%; object-fit: contain; background: var(--navy-deep); }

.video-intro { max-width: 460px; margin: 0 auto; }
.video-facade--portrait { aspect-ratio: 1080 / 1514; }

/* -------- FAQ shortcuts (Contact page) ---------------------------------- */
.faq-shortcuts {
  list-style: none;
  padding: 0;
  margin: var(--s-3) 0 0;
  display: flex; flex-direction: column;
  gap: var(--s-2);
}
.faq-shortcuts a {
  display: block;
  padding: var(--s-3) var(--s-4);
  background: var(--cream-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--navy);
  text-decoration: none;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.faq-shortcuts a:hover {
  border-color: var(--pink-deep);
  transform: translateX(2px);
}

/* -------- Written stories archive --------------------------------------- */
.written-stories {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
@media (min-width: 700px) { .written-stories { grid-template-columns: 1fr 1fr; } }

.story-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  display: flex; flex-direction: column; gap: var(--s-3);
}
.story-card__head { display: flex; align-items: center; gap: var(--s-3); }
.story-card__photo {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover; flex: 0 0 auto;
}
.story-card__avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--pink-soft); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.05em;
  flex: 0 0 auto;
}
.story-card__title { margin: 0; font-size: 1.05rem; }
.story-card__byline { margin: 0; font-size: 0.85rem; color: var(--navy-soft); }
.story-card__excerpt { margin: 0; color: var(--navy); }
.story-card__details summary {
  cursor: pointer;
  color: var(--rose-text);
  font-weight: 600;
  font-size: 0.95rem;
}
.story-card__details[open] summary { margin-bottom: var(--s-2); }
.story-card__details > div p { margin: 0 0 var(--s-3); }

/* -------- Workshop ------------------------------------------------------- */
.workshop {
  background: var(--navy-deep); color: var(--cream);
  border-radius: var(--r-xl);
  padding: var(--s-7);
  position: relative; overflow: hidden;
}
.workshop::before {
  content: "★"; position: absolute; top: 16px; right: 24px;
  color: var(--gold); font-size: 2rem; opacity: 0.55;
}
.workshop::after {
  content: "★"; position: absolute; bottom: 24px; left: 24px;
  color: var(--pink); font-size: 1.2rem; opacity: 0.55;
}
.workshop h2, .workshop h3 { color: var(--cream); }
.workshop .script { color: var(--gold); }
.workshop-grid { display: grid; gap: var(--s-5); grid-template-columns: 1fr; margin-top: var(--s-5); }
@media (min-width: 700px) { .workshop-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .workshop-grid { grid-template-columns: repeat(4, 1fr); } }
.workshop-pillar {
  background: rgba(250, 245, 236, 0.08);
  border: 1px solid rgba(250, 245, 236, 0.18);
  border-radius: var(--r-md);
  padding: var(--s-5);
}
.workshop-pillar h4 { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: var(--s-2); }
.workshop-pillar p { color: rgba(250, 245, 236, 0.88); margin: 0; font-size: 0.95rem; }
.workshop__details {
  display: grid; gap: var(--s-5); grid-template-columns: 1fr;
  margin-top: var(--s-6);
}
@media (min-width: 700px) { .workshop__details { grid-template-columns: 1fr 1fr; } }
.workshop__meta {
  padding: var(--s-5);
  background: rgba(250, 245, 236, 0.08);
  border-radius: var(--r-md);
}
.workshop__meta dt { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--s-1); }
.workshop__meta dd { margin: 0 0 var(--s-4); color: rgba(250, 245, 236, 0.92); }

/* -------- Donation tiers ------------------------------------------------- */
.donation-tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
@media (min-width: 600px) { .donation-tiers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .donation-tiers { grid-template-columns: repeat(5, 1fr); } }

.donation-tier {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  display: flex; flex-direction: column; gap: var(--s-2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.donation-tier:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.donation-tier__amount {
  font-family: var(--font-heading);
  font-size: 1.85rem; font-weight: 500;
  color: var(--navy);
}
.donation-tier h3 { font-size: 1.05rem; margin: 0; }
.donation-tier p { font-size: 0.95rem; color: var(--navy-soft); margin: 0; }
.donation-tier--highlight {
  background: var(--cream-soft);
  border-color: var(--pink-deep);
  position: relative;
}
.donation-tier--highlight::after {
  content: "Most common";
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--pink-deep); color: var(--navy-deep);
  padding: 0.2em 0.7em; border-radius: var(--r-full);
  font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
}

/* -------- Forms ---------------------------------------------------------- */
.form-card {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: var(--s-7);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.form-field { margin-bottom: var(--s-4); }
.form-field label {
  display: block; font-weight: 700; font-size: 0.9rem; color: var(--navy);
  margin-bottom: var(--s-2); letter-spacing: 0.03em;
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 0.8em 1em;
  border: 2px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--cream-soft);
  font: inherit; color: var(--navy-deep);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--pink-deep);
}
.form-note { font-size: 0.85rem; color: var(--text-muted); }

/* -------- Newsletter strip ---------------------------------------------- */
.newsletter {
  background: var(--pink-soft);
  border-radius: var(--r-xl);
  padding: var(--s-7);
  text-align: center;
  border: 1px solid var(--border);
}
.newsletter__form {
  display: flex; gap: var(--s-3); flex-wrap: wrap;
  justify-content: center; margin-top: var(--s-4);
}
.newsletter__form input {
  flex: 1; min-width: 240px; padding: 0.8em 1.2em;
  border: 2px solid var(--border); border-radius: var(--r-full);
  background: var(--cream-soft); font: inherit;
}

/* -------- Footer --------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: var(--cream);
  padding: var(--s-8) 0 var(--s-5);
  margin-top: var(--s-8);
}
.site-footer__grid {
  display: grid; grid-template-columns: 1fr; gap: var(--s-6);
  padding: 0 var(--s-5); max-width: var(--wide); margin: 0 auto;
}
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer h4 {
  color: var(--pink); font-family: var(--font-body); font-weight: 700;
  font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-2); }
.site-footer a { color: rgba(250, 245, 236, 0.82); text-decoration: none; }
.site-footer a:hover { color: var(--pink); }
.site-footer__brand img { height: 56px; background: var(--cream); padding: var(--s-2); border-radius: var(--r-md); }
.site-footer__brand p { margin-top: var(--s-4); color: rgba(250, 245, 236, 0.72); max-width: 32ch; font-size: 0.95rem; }
.site-footer__social { display: flex; gap: var(--s-3); margin-top: var(--s-4); }
.site-footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(250, 245, 236, 0.08); color: var(--cream);
}
.site-footer__social a:hover { background: var(--pink); color: var(--navy-deep); }
.site-footer__bottom {
  max-width: var(--wide); margin: var(--s-7) auto 0;
  padding: var(--s-5) var(--s-5) 0;
  border-top: 1px solid rgba(250, 245, 236, 0.1);
  display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: space-between;
  font-size: 0.85rem; color: rgba(250, 245, 236, 0.6);
}

/* -------- Utilities ------------------------------------------------------ */
.u-mt-0 { margin-top: 0 !important; }
.u-mt-6 { margin-top: var(--s-6); }
.u-mt-7 { margin-top: var(--s-7); }
.u-mb-0 { margin-bottom: 0 !important; }
.u-hidden { display: none !important; }

/* -------- Reduced motion ------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
