/* ==========================================================================
   Strands of Life — stylesheet

   One geometric sans (Outfit) from the 62px hero down to 11px labels, a serif
   italic (Libre Baskerville) for pull quotes and nothing else, pill buttons,
   and a page built as a sequence of full-bleed colour bands: indigo, paper,
   indigo, paper. The indigo is the logo's own — sampled from the butterfly —
   and the gold is the one loud accent, spent on big numbers, one word in a
   heading and the outline of the action cards.

   Everything colour lives in :root; retoning the site is an edit to the three
   --brand lines. The month tones (rose / sage / sky / plum) are deliberately
   outside the brand palette: a story tag and a calendar card need to be
   tellable apart at a glance.
   ========================================================================== */

:root {
  /* ---------- palette ---------- */
  /* Sampled from the mark: the butterfly is #3030A8, the ring runs to violet. */
  --brand: #3434AA;
  --brand-deep: #262682;
  --brand-darkest: #171756;
  /* The ring's violet, for the deeper sweep behind the action cards. */
  --violet: #4A2C86;
  /* Gold: numbers, the highlighted word in a heading, the card outlines. Rare
     on purpose — it stops working the moment it is a texture. */
  --gold: #FFD34D;
  --gold-deep: #E6B33F;

  /* Warm paper with a faint grain, so the light sections read as paper next
     to the indigo rather than as a blank screen. */
  --bg: #F7F4EE;
  --bg-alt: #EFEBE2;
  --paper: #FFFFFF;
  --ink: #1B1B3A;
  --ink-soft: #46466A;
  /* 5.2:1 on --bg: dates, captions, hints. */
  --muted: #62628A;
  --line: #E2DFE6;
  --line-strong: #CBC8D4;

  --accent: var(--brand);
  --accent-dark: var(--brand-deep);
  --accent-tint: #E8E8F7;

  /* Amber is kept for notices only — placeholder warnings and the crisis
     line — so a warning never reads as brand decoration. Distinct from the
     gold: darker, oranger, and always behind an icon in a bordered box. */
  --warn: #D99423;
  --warn-tint: #FBEDD3;
  --warn-line: #E6CFA3;
  --warn-ink: #6E4E12;

  /* Month tones. Each -ink clears 4.5:1 on its tint. */
  --rose: #C9636B;  --rose-tint: #FBE6E7;  --rose-ink: #A0454D;
  --sage: #5C8A6A;  --sage-tint: #E2F0E5;  --sage-ink: #3F6B4C;
  --sky: #4E7BA8;   --sky-tint: #E3EDF6;   --sky-ink: #3A5F85;
  --plum: #6E63A8;  --plum-tint: #E9E6F5;  --plum-ink: #5E4877;

  /* Rounder than before, and one big radius for anything photographic. */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-photo: 24px;
  --radius-pill: 30px;

  --shadow-sm: 0 1px 2px rgba(27, 27, 58, 0.04), 0 2px 8px rgba(27, 27, 58, 0.05);
  --shadow-md: 0 2px 6px rgba(27, 27, 58, 0.05), 0 12px 30px rgba(27, 27, 58, 0.08);
  --shadow-lg: 0 4px 10px rgba(27, 27, 58, 0.06), 0 24px 56px rgba(27, 27, 58, 0.12);

  --container: 1160px;

  --font-display: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* The counterpoint. Italic, and only ever on a pull quote. */
  --font-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ---------- accessibility ---------- */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 200;
  background: var(--brand-deep); color: #fff; padding: 12px 20px;
  border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 600; transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

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

body {
  margin: 0;
  background-color: var(--bg);
  /* The grain: tiled fractal noise at ~7% over the paper. Only ever visible
     on the light sections; the indigo bands paint over it. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0 0.25 0 0 0 0.07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }

/* Big headings are light, not heavy: at 40–60px a regular weight with tight
   tracking reads as big and airy. Weight comes back as size drops, so card
   titles at 18–21px are extrabold. */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.05; margin: 0 0 0.5em; letter-spacing: -0.03em; }
h1 { font-size: clamp(38px, 5.2vw, 60px); font-weight: 400; letter-spacing: -0.04em; line-height: 1.0; }
h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 500; letter-spacing: -0.035em; }
h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.025em; }
h4 { font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }

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

/* ---------- utility ---------- */
/* A small caps label above a card title or block: "OUR MISSION", "CHAPTERS". */
.eyebrow {
  display: block; font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-dark); margin: 0 0 12px;
}
.lede { font-size: 20px; line-height: 1.45; color: var(--ink-soft); max-width: 62ch; }

/* Sections are tall. The alternation of indigo / paper does the separating,
   so there are no rules between them. */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section-tight { padding: clamp(56px, 7vw, 88px) 0; }
.section-alt { background: rgba(27, 27, 58, 0.04); }
.section-paper { background: var(--paper); }
/* Indigo band: everything on it is white. */
.section-brand { background: var(--brand); color: #fff; }
.section-brand h1, .section-brand h2, .section-brand h3, .section-brand h4 { color: #fff; }
.section-brand p, .section-brand .lede { color: rgba(255, 255, 255, 0.88); }
.section-brand .eyebrow { color: var(--gold); }
/* One word in gold, per heading, on dark grounds only. Plain <em>. */
.hero-banner h1 em, .section-brand h2 em, .page-hero h1 em, .cta-band h2 em, .action-section h2 em { font-style: normal; color: var(--gold); }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }
.text-center { text-align: center; }

/* ---------- buttons ---------- */
/* Pills, all of them. 1px border on every variant so filled and outlined sit
   at the same height; no shadow, no hover lift. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 500; font-size: 16px; line-height: 1.2;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary, .btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover, .btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
/* On a dark ground: outlined white, and solid white with indigo text. */
.btn-light, .btn-on-dark { background: transparent; color: #fff; border-color: #fff; }
.btn-light:hover, .btn-on-dark:hover { background: #fff; color: var(--brand); }
.btn-on-image { background: #fff; color: var(--brand); border-color: #fff; }
.btn-on-image:hover { background: var(--gold); border-color: var(--gold); color: var(--brand-darkest); }
.section-brand .btn-outline { color: #fff; border-color: #fff; }
.section-brand .btn-outline:hover { background: #fff; color: var(--brand); }
.section-brand .btn-primary, .section-brand .btn-accent { background: #fff; color: var(--brand); border-color: #fff; }
.section-brand .btn-primary:hover, .section-brand .btn-accent:hover { background: var(--gold); border-color: var(--gold); color: var(--brand-darkest); }
.btn-sm { padding: 10px 20px; font-size: 14.5px; }
.btn-block { width: 100%; white-space: normal; text-align: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15.5px; color: var(--accent-dark); }
.link-arrow::after { content: "\2192"; transition: transform 0.16s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- header / nav ---------- */
/* Solid indigo bar, 100px, white throughout. */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--brand); }
.nav { max-width: var(--container); margin: 0 auto; padding: 21px 28px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 13px; font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; color: #fff; white-space: nowrap; }
/* The mark's outer edge is its violet ring, so the cropped PNG is itself the
   disc: it fills the box with a 2px inset that keeps antialiasing off the
   edge, and the white behind it fills the ring's interior. Never recolour it. */
.brand-mark { width: 58px; height: 58px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; overflow: hidden; position: relative; }
.brand-mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 2px; max-width: none; }
.nav-links { list-style: none; display: flex; gap: 28px; margin: 0 auto 0 8px; padding: 0; }
.nav-links a { display: inline-flex; align-items: center; padding: 8px 0; border-bottom: 2px solid transparent; font-size: 16px; font-weight: 500; color: rgba(255, 255, 255, 0.82); transition: color 0.15s ease, border-color 0.15s ease; }
.nav-links a:hover, .nav-links a.is-active { color: #fff; border-color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn { color: #fff; border-color: #fff; background: transparent; }
.nav-actions .btn:hover { background: #fff; color: var(--brand); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: var(--radius-sm); background: transparent; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 50%; width: 18px; height: 2px; background: #fff; border-radius: 2px;
  transform: translateX(-50%); transition: transform 0.18s ease, opacity 0.18s ease;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { content: ""; top: -6px; left: 0; transform: none; }
.nav-toggle span::after { content: ""; top: 6px; left: 0; transform: none; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.nav-only-mobile { display: none; }

/* ---------- the mark as a watermark ---------- */
/* The one image the site has, used faint and white behind the dark bands.
   A background rather than an <img>, so it never collides with the tile
   rules that position a real photograph. */
.tile-mark {
  position: absolute; z-index: -1; pointer-events: none; user-select: none;
  background: url("../images/logo.png") center / contain no-repeat;
  filter: brightness(0) invert(1);
}

/* ---------- homepage hero (indigo band, no photograph) ---------- */
.hero-banner {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--brand); color: #fff;
  padding: clamp(72px, 9vw, 120px) 0 clamp(88px, 10vw, 128px);
}
.hero-mark {
  position: absolute; z-index: -1; right: -6%; top: -12%;
  width: clamp(420px, 52vw, 760px); aspect-ratio: 1; opacity: 0.09;
  filter: brightness(0) invert(1); pointer-events: none; user-select: none;
}
.hero-mark img { width: 100%; height: 100%; object-fit: contain; }
.hero-banner::after {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(900px 600px at 85% 20%, rgba(74, 44, 134, 0.55), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero-banner h1 { color: #fff; font-size: clamp(40px, 5.4vw, 62px); margin-bottom: 26px; text-wrap: balance; }
.hero-banner .eyebrow { color: var(--gold); }
.hero-banner .lede { color: rgba(255, 255, 255, 0.9); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-banner .btn-outline { color: #fff; border-color: #fff; }
.hero-banner .btn-outline:hover { background: #fff; color: var(--brand); }
.hero-fineprint { position: absolute; right: 28px; bottom: 24px; margin: 0; font-size: 12.5px; color: rgba(255, 255, 255, 0.72); max-width: 340px; text-align: right; }
@media (max-width: 900px) {
  .hero-banner { display: flex; flex-wrap: wrap; }
  .hero-banner > .container { flex-basis: 100%; }
  .hero-fineprint { position: static; flex-basis: 100%; text-align: left; max-width: none; margin: 28px 0 0; padding: 0 28px; }
}

/* ---------- spotlight (this month's focus) ---------- */
/* Sits in the hero, on white, with the gold rule along its top edge. */
.spotlight { position: relative; background: var(--paper); color: var(--ink-soft); border-radius: var(--radius-photo); padding: 34px 32px 30px; box-shadow: 0 24px 60px rgba(23, 23, 86, 0.35); overflow: hidden; }
.spotlight::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--gold); }
.spotlight-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.spotlight-month { font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-dark); }
.spotlight h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; letter-spacing: -0.03em; margin-bottom: 12px; color: var(--ink); }
.spotlight p { font-size: 16px; margin-bottom: 18px; }
.spotlight-ribbon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent-dark); flex: none; }

/* ---------- inner page header ---------- */
/* Every inner page opens on an indigo band, so the nav runs straight into it. */
.page-hero { background: var(--brand); color: #fff; padding: clamp(72px, 9vw, 120px) 0 clamp(64px, 8vw, 96px); }
.page-hero h1 { color: #fff; margin-bottom: 16px; max-width: 20ch; text-wrap: balance; }
.page-hero .lede { color: rgba(255, 255, 255, 0.88); }
.page-hero .eyebrow { color: var(--gold); }

/* ---------- badges & pills ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--radius-pill); font-family: var(--font-display); font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: var(--accent-tint); color: var(--accent-dark); }
.pill-rose { background: var(--rose-tint); color: var(--rose-ink); }
.pill-sage { background: var(--sage-tint); color: var(--sage-ink); }
.pill-sky { background: var(--sky-tint); color: var(--sky-ink); }
.pill-plum { background: var(--plum-tint); color: var(--plum-ink); }
.pill-quiet { background: var(--bg-alt); color: var(--ink-soft); }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 15.5px; }
.card p:last-child { margin-bottom: 0; }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent-dark); margin-bottom: 16px; }
.card-icon.rose { background: var(--rose-tint); color: var(--rose-ink); }
.card-icon.sage { background: var(--sage-tint); color: var(--sage-ink); }
.card-icon.sky { background: var(--sky-tint); color: var(--sky-ink); }
.card-icon.plum { background: var(--plum-tint); color: var(--plum-ink); }

/* ---------- pull quote (serif italic; the one place the second face appears) ---------- */
.pullquote { max-width: 900px; margin: 0 auto; text-align: center; }
.pullquote blockquote { margin: 0 0 22px; }
.pullquote blockquote p { font-family: var(--font-serif); font-style: italic; font-size: clamp(24px, 3vw, 40px); line-height: 1.3; letter-spacing: -0.012em; color: var(--brand-deep); margin: 0; text-wrap: pretty; }
.pullquote figcaption { font-size: 15px; color: var(--muted); }
.pullquote figcaption strong { display: block; color: var(--ink); font-weight: 700; }
.quote-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-photo); padding: 36px 40px; }
.quote-card blockquote { margin: 0 0 14px; font-family: var(--font-serif); font-style: italic; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; color: var(--brand-deep); }
.quote-card cite { font-style: normal; font-size: 14px; color: var(--muted); }

/* ---------- stat mosaic (indigo tiles, huge gold numbers) ---------- */
/* Edge to edge, no gaps. There is no photography yet, so each tile carries a
   month tone under the indigo and the mark as a watermark. To put a
   photograph under a tile, add an <img> as its first child; the overlay is
   the same either way. */
.stat-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--brand-deep); }
.stat-tile { position: relative; isolation: isolate; min-height: clamp(280px, 32vw, 420px); display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 3.4vw, 48px); color: #fff; overflow: hidden; }
.stat-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.stat-tile::before { content: ""; position: absolute; inset: 0; z-index: -4; background: linear-gradient(160deg, var(--tone, var(--violet)), var(--brand-deep)); }
.stat-tile::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(to top, rgba(23, 23, 86, 0.6), rgba(23, 23, 86, 0) 60%), var(--brand); mix-blend-mode: multiply; opacity: 0.82; }
.stat-tile.rose { --tone: var(--rose); } .stat-tile.sage { --tone: var(--sage); } .stat-tile.sky { --tone: var(--sky); } .stat-tile.plum { --tone: var(--plum); }
.stat-tile .tile-mark { right: -14%; top: -18%; width: 70%; aspect-ratio: 1; opacity: 0.14; }
.stat-num { font-family: var(--font-display); font-size: clamp(64px, 7.6vw, 104px); font-weight: 800; line-height: 0.9; letter-spacing: -0.05em; color: var(--gold); margin-bottom: 12px; }
.stat-label { font-size: clamp(16px, 1.5vw, 19px); font-weight: 500; line-height: 1.3; max-width: 24ch; margin: 0; color: #fff; }
/* The older figures strip, kept for any page still using it. */
.stat-strip { display: grid; gap: 24px; }
.stat-cell .stat-num { font-size: clamp(42px, 5vw, 58px); color: var(--brand-deep); }
.stat-cell .stat-label { color: var(--muted); font-size: 15px; }

/* ---------- steps ---------- */
/* Plain numerals, set large: the order is real information, so the number
   stays, but not in a circle. */
.steps { counter-reset: step; display: grid; gap: 28px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.step-num { counter-increment: step; font-family: var(--font-display); font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--brand); }
.step-num::before { content: counter(step); }
.step h3 { margin: 4px 0 6px; }
.step p { margin-bottom: 0; font-size: 15.5px; }
.section-brand .step-num { color: var(--gold); }

/* ---------- twelve-month marquee (indigo strip) ---------- */
/* One scrolling row of the year's focuses, rendered from AWARENESS_MONTHS by
   main.js, which also clones the set and sets .is-live. Until then the names
   wrap as a centred row. */
.month-marquee { position: relative; padding: 26px 0; background: var(--brand-deep); color: #fff; }
.month-marquee .marquee-track { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 40px; margin: 0; padding: 0; list-style: none; }
.month-marquee .marquee-track li { font-family: var(--font-display); font-size: clamp(17px, 2vw, 24px); font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; display: flex; align-items: center; gap: 40px; }
.month-marquee .marquee-track li b { font-weight: 700; color: var(--gold); margin-right: 10px; }
.month-marquee .marquee-track li::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.month-marquee.is-live { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.month-marquee.is-live .marquee-track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; gap: 40px; animation: marquee-drift 60s linear infinite; will-change: transform; }
@keyframes marquee-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(-100% / 3), 0, 0); } }
.month-marquee.is-live:hover .marquee-track, .month-marquee.is-live:focus-within .marquee-track, .month-marquee.is-live.is-paused .marquee-track { animation-play-state: paused; }
.marquee-pause { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); z-index: 3; min-width: 30px; height: 30px; padding: 0 9px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 11px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.marquee-pause:hover { background: rgba(255, 255, 255, 0.24); border-color: #fff; }
@media (prefers-reduced-motion: reduce) { .month-marquee.is-live .marquee-track { animation: none; } .month-marquee.is-live { overflow-x: auto; } }

/* ---------- awareness calendar ---------- */
.month-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.month-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.month-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.month-card .month-name { font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.month-card h3 { font-size: 19px; margin-bottom: 8px; }
.month-card p { font-size: 15px; margin-bottom: 12px; }
.month-card .month-also { font-size: 13px; color: var(--muted); margin: 0; }
.month-card.is-current { border: 3px solid var(--gold); padding: 24px; }
.month-flag { display: none; position: absolute; top: -12px; left: 22px; padding: 4px 12px; border-radius: var(--radius-pill); background: var(--gold); color: var(--ink); font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.month-card.is-current .month-flag { display: block; }

/* ---------- stories ---------- */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.story-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-photo); overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.story-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.story-thumb { height: 170px; background: linear-gradient(135deg, var(--accent-tint), var(--bg-alt)); display: grid; place-items: center; color: var(--accent-dark); }
.story-thumb.rose { background: linear-gradient(135deg, var(--rose-tint), var(--bg-alt)); color: var(--rose-ink); }
.story-thumb.sage { background: linear-gradient(135deg, var(--sage-tint), var(--bg-alt)); color: var(--sage-ink); }
.story-thumb.sky { background: linear-gradient(135deg, var(--sky-tint), var(--bg-alt)); color: var(--sky-ink); }
.story-thumb.plum { background: linear-gradient(135deg, var(--plum-tint), var(--bg-alt)); color: var(--plum-ink); }
.story-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.story-body h3 { font-size: 19px; margin: 12px 0 8px; }
.story-body p { font-size: 15px; }
.story-meta { margin-top: auto; padding-top: 14px; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); }

/* ---------- notice ---------- */
.notice { display: flex; gap: 14px; align-items: flex-start; background: var(--warn-tint); border: 1px solid var(--warn-line); border-radius: var(--radius-md); padding: 16px 20px; font-size: 14.5px; color: var(--warn-ink); }
.notice svg { flex: none; margin-top: 2px; color: var(--warn); }
.notice p { margin: 0; }
.notice strong { color: #5A3F0C; }

/* ---------- lists ---------- */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 15.5px; }
.check-list li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--accent-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23262682' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.split-media { border-radius: var(--radius-photo); background: linear-gradient(140deg, var(--accent-tint), var(--bg-alt)); min-height: 360px; display: grid; place-items: center; padding: 32px; text-align: center; color: var(--accent-dark); }
.split-media p { font-size: 14px; color: var(--ink-soft); margin: 14px 0 0; max-width: 32ch; }
.split-media code { font-size: 12.5px; background: rgba(255, 255, 255, 0.7); padding: 2px 6px; border-radius: 4px; }

/* ---------- action cards (three tilted, gold-outlined cards on indigo) ---------- */
.action-section { position: relative; isolation: isolate; background: var(--brand); color: #fff; overflow: hidden; }
.action-section::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 500px at 15% 90%, rgba(74, 44, 134, 0.6), transparent 70%), radial-gradient(600px 450px at 90% 10%, rgba(78, 123, 168, 0.35), transparent 70%); }
.action-section h2 { color: #fff; }
.action-section .lede { color: rgba(255, 255, 255, 0.86); margin-left: auto; margin-right: auto; }
.action-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 24px 0 12px; }
.action-card { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius-photo); border: 5px solid var(--gold); overflow: hidden; color: #fff; isolation: isolate; box-shadow: 0 22px 50px rgba(23, 23, 86, 0.4); transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease; background: linear-gradient(160deg, var(--tone, var(--violet)), var(--brand-deep)); }
.action-card.rose { --tone: var(--rose); } .action-card.sage { --tone: var(--sage); } .action-card.sky { --tone: var(--sky); } .action-card.plum { --tone: var(--plum); }
.action-card:nth-child(1) { transform: rotate(-4deg) translateY(10px); }
.action-card:nth-child(2) { transform: rotate(0deg) translateY(-6px); }
.action-card:nth-child(3) { transform: rotate(4deg) translateY(10px); }
.action-card:hover, .action-card:focus-visible { transform: rotate(0deg) translateY(-14px) scale(1.03); box-shadow: 0 32px 64px rgba(23, 23, 86, 0.5); }
.action-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.action-card .tile-mark { right: -22%; bottom: -14%; width: 84%; aspect-ratio: 1; opacity: 0.16; }
.action-card::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(to bottom, rgba(23, 23, 86, 0.35) 0%, rgba(23, 23, 86, 0) 40%, rgba(23, 23, 86, 0.75) 100%); }
.action-card-word { position: absolute; top: 22px; left: 24px; font-family: var(--font-display); font-size: clamp(34px, 3.6vw, 48px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; text-transform: lowercase; color: #fff; }
.action-card-text { position: absolute; left: 24px; right: 24px; bottom: 22px; font-size: 15.5px; line-height: 1.4; color: #fff; }
.action-card-text span { display: block; color: var(--gold); font-weight: 700; margin-top: 8px; }

/* ---------- CTA band (inner pages) ---------- */
.cta-band { background: var(--brand); color: rgba(255, 255, 255, 0.86); border-radius: var(--radius-photo); padding: 60px 52px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 320px; background: radial-gradient(ellipse at center, rgba(74, 44, 134, 0.6), rgba(74, 44, 134, 0) 70%); pointer-events: none; }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { position: relative; max-width: 56ch; margin: 0 auto 26px; font-size: 17px; }
.cta-actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-band .btn-accent { background: #fff; color: var(--brand); border-color: #fff; }
.cta-band .btn-accent:hover { background: var(--gold); border-color: var(--gold); color: var(--brand-darkest); }

/* ---------- forms ---------- */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-photo); padding: 32px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field .hint { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg); font-family: var(--font-body); font-size: 15.5px; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.field textarea { min-height: 150px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.checkbox { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 14.5px; }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 22px; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-dark); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 12px 0 0; font-size: 15.5px; }

/* ---------- footer ---------- */
/* Deep indigo, so a band just above it still reads as its own block. */
.site-footer { background: var(--brand-deep); color: rgba(255, 255, 255, 0.78); padding: 88px 0 40px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.site-footer .brand { color: #fff; }
.footer-blurb { margin: 16px 0 0; font-size: 15px; max-width: 34ch; }
.footer-col h4 { color: #fff; font-family: var(--font-display); font-size: 16px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { font-size: 15.5px; color: rgba(255, 255, 255, 0.82); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { padding-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13.5px; color: rgba(255, 255, 255, 0.7); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- story filters ---------- */
[hidden] { display: none !important; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-btn { padding: 9px 18px; border-radius: var(--radius-pill); border: 1px solid var(--ink); background: transparent; font-family: var(--font-display); font-size: 14.5px; font-weight: 500; color: var(--ink); cursor: pointer; transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease; }
.filter-btn:hover { background: var(--accent-tint); }
.filter-btn.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.empty-state { text-align: center; color: var(--muted); padding: 44px 0; font-size: 15.5px; }
.empty-state a { color: var(--accent-dark); font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .month-grid, .story-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-mark { right: -30%; top: auto; bottom: -20%; width: 70vw; opacity: 0.07; }
}
@media (max-width: 860px) {
  .stat-mosaic { grid-template-columns: 1fr; }
  .stat-tile { min-height: 240px; }
  .action-cards { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; gap: 26px; }
  .action-card { aspect-ratio: 4 / 3; }
  .action-card:nth-child(1) { transform: rotate(-2deg); }
  .action-card:nth-child(3) { transform: rotate(2deg); }
}
@media (max-width: 820px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px 20px 16px; background: var(--brand-deep); border-top: 1px solid rgba(255, 255, 255, 0.18); box-shadow: var(--shadow-md); }
  .nav-open .nav-links { display: flex; }
  .nav { position: relative; }
  .nav-links a { display: block; width: 100%; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); font-size: 17px; color: #fff; }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-toggle { display: block; }
  .nav-actions .btn { display: none; }
  .nav-only-mobile { display: list-item; }
  .nav-only-mobile a { font-weight: 600; }
}
@media (max-width: 680px) {
  .container { padding: 0 20px; }
  .cols-2, .cols-3, .cols-4, .month-grid, .story-grid, .field-row { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr !important; }
  .cta-band { padding: 42px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-fineprint { padding: 0 20px; }
}
@media (max-width: 560px) {
  .nav { padding: 14px 18px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 48px; height: 48px; }
}
