/* Brighter Tomorrow Foundation Inc. — site styles
   Layout concept: ivory editorial ground, forest-green structure, golden "sunrise" accents,
   and awareness-ribbon colors reserved for their own causes. */

:root {
  /* Brand (from the official logo) */
  --forest: #164811;
  --forest-2: #407d3c;
  --leaf: #609430;
  --lime: #a1c339;
  --gold: #f7dc54;
  --gold-deep: #8a6d00;   /* gold-family tone that passes contrast as text on ivory */
  --logo-ink: #212317;

  /* Awareness causes */
  --purple: #5b2c86;      /* Domestic violence awareness */
  --mh-green: #2e7d32;    /* Mental health awareness */
  --teal: #0b7377;        /* Sexual assault awareness */

  /* Surfaces & text (light) */
  --bg: #fbf8ef;          /* ivory */
  --surface: #ffffff;
  --surface-2: #f4efe0;
  --text: #22281d;
  --text-soft: #4d5547;
  --heading: #143f10;
  --link: #2f6b2c;
  --line: #e4dcc7;
  --band: #164811;
  --band-text: #f6f3e6;
  --band-soft: #cfdcbf;
  --btn-primary-bg: #f7dc54;
  --btn-primary-text: #1b2414;
  --btn-dark-bg: #164811;
  --btn-dark-text: #ffffff;
  --focus: #5b2c86;
  --tint-purple: #f1eaf7;
  --tint-mh: #e8f3e6;
  --tint-teal: #e3f2f2;
  --tint-gold: #fdf6d2;
  --cause-purple: #5b2c86;
  --cause-mh: #2e7d32;
  --cause-teal: #0b7377;
  --shadow: 0 1px 2px rgba(22, 40, 14, .06), 0 12px 32px -12px rgba(22, 40, 14, .18);
  --logo-light: block;
  --logo-dark: none;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;

  --step--1: clamp(.84rem, .82rem + .1vw, .9rem);
  --step-0: clamp(1rem, .97rem + .15vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.12rem + .35vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.3rem + .7vw, 1.9rem);
  --step-3: clamp(1.8rem, 1.5rem + 1.3vw, 2.6rem);
  --step-4: clamp(2.2rem, 1.7rem + 2.4vw, 3.7rem);

  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1200px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f150d; --surface: #172015; --surface-2: #1d281a; --text: #e9ecdf; --text-soft: #b7c0ac;
    --heading: #f2f0dc; --link: #c3dc6f; --line: #2c3a27; --band: #0b2208; --band-text: #f6f3e6; --band-soft: #b9c9a6;
    --btn-dark-bg: #a1c339; --btn-dark-text: #10200c; --focus: #f7dc54; --gold-deep: #f7dc54;
    --tint-purple: #241a2e; --tint-mh: #172916; --tint-teal: #132626; --tint-gold: #29260f;
    --cause-purple: #c9a6ee; --cause-mh: #8fd18f; --cause-teal: #6fd2d0;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.6);
    --logo-light: none; --logo-dark: block; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f150d; --surface: #172015; --surface-2: #1d281a; --text: #e9ecdf; --text-soft: #b7c0ac;
  --heading: #f2f0dc; --link: #c3dc6f; --line: #2c3a27; --band: #0b2208; --band-text: #f6f3e6; --band-soft: #b9c9a6;
  --btn-dark-bg: #a1c339; --btn-dark-text: #10200c; --focus: #f7dc54; --gold-deep: #f7dc54;
  --tint-purple: #241a2e; --tint-mh: #172916; --tint-teal: #132626; --tint-gold: #29260f;
  --cause-purple: #c9a6ee; --cause-mh: #8fd18f; --cause-teal: #6fd2d0;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.6);
  --logo-light: none; --logo-dark: block; color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.65;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--heading); line-height: 1.12; margin: 0; text-wrap: balance; font-weight: 600; font-variation-settings: "opsz" 96, "SOFT" 50; letter-spacing: -.01em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-variation-settings: "opsz" 36, "SOFT" 50; letter-spacing: 0; }
p { margin: 0; }
ul { margin: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 32px); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.wrap--narrow { max-width: calc(780px + 32px); }
.section { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.section--alt { background: var(--surface-2); }
.section--white { background: var(--surface); }
.stack { display: grid; gap: 1rem; align-content: start; }
.stack--lg { gap: 1.5rem; }
.prose { display: grid; gap: 1.1rem; max-width: 68ch; }
.prose ul { padding-left: 1.2rem; display: grid; gap: .4rem; }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--text-soft); max-width: 60ch; }
.muted { color: var(--text-soft); }
.small { font-size: var(--step--1); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--link);
}
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { display: grid; gap: .9rem; max-width: 760px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- Skip / quick exit ---------- */
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--btn-dark-bg); color: var(--btn-dark-text); padding: .7rem 1rem; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + .75rem); }

.quick-exit {
  position: fixed; z-index: 60; right: calc(max(16px, env(safe-area-inset-right, 0px))); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.1rem; border-radius: 999px;
  background: #5b2c86; color: #fff; border: 2px solid #fff; font: 700 .95rem/1 var(--font-body); cursor: pointer; white-space: nowrap;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.45);
}
.quick-exit:hover { background: #47206b; }
.quick-exit small { font-weight: 500; opacity: .85; }

/* ---------- Header / nav ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 50; background: var(--bg); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,0,0,.35); }
.topbar { background: var(--band); color: var(--band-text); font-size: .85rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; justify-content: space-between; align-items: center; padding-block: .45rem; }
.topbar a { color: var(--gold); font-weight: 700; }
.topbar p { color: var(--band-soft); }
@media (max-width: 600px) { .topbar p:first-child { display: none; } .topbar .wrap { justify-content: center; } }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: block; flex: none; line-height: 0; }
.brand img { height: 52px; width: auto; }
.brand .logo-light { display: var(--logo-light); }
.brand .logo-dark { display: var(--logo-dark); }

.nav-toggle {
  display: none; align-items: center; gap: .5rem; border: 1px solid var(--line); background: var(--surface);
  color: var(--heading); border-radius: 999px; padding: .6rem 1rem; font: 700 .95rem var(--font-body); cursor: pointer;
}
.nav-toggle-bars { width: 18px; height: 12px; position: relative; }
.nav-toggle-bars span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle-bars span:nth-child(1) { top: 0; } .nav-toggle-bars span:nth-child(2) { top: 5px; } .nav-toggle-bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.primary-nav { display: flex; align-items: center; gap: 1.25rem; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.nav-item { position: relative; }
.nav-link, .nav-trigger {
  display: inline-flex; align-items: center; gap: .3rem; padding: .6rem .8rem; border-radius: 999px;
  color: var(--heading); font: 600 .97rem/1.2 var(--font-body); text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav-link:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { background: var(--surface-2); }
.nav-link[aria-current="page"], .nav-trigger.is-current { box-shadow: inset 0 -2px 0 var(--leaf); border-radius: 0; }
.nav-trigger svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); min-width: 270px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: .5rem; list-style: none; margin: 0; display: none;
}
.nav-menu--wide { min-width: 560px; display: none; grid-template-columns: 1fr 1fr; gap: .1rem; }
.nav-item.is-open > .nav-menu { display: block; animation: menu-in .18s ease-out; }
.nav-item.is-open > .nav-menu--wide { display: grid; }
@keyframes menu-in { from { opacity: 0; transform: translate(-50%, -4px); } to { opacity: 1; transform: translate(-50%, 0); } }
.nav-menu a { display: flex; gap: .65rem; align-items: flex-start; padding: .6rem .75rem; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; line-height: 1.3; }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { background: var(--surface-2); color: var(--heading); }
.nav-menu .dot { flex: none; width: 10px; height: 10px; border-radius: 50%; margin-top: .3rem; background: var(--leaf); }
.dot--purple { background: var(--cause-purple) !important; } .dot--mh { background: var(--cause-mh) !important; } .dot--teal { background: var(--cause-teal) !important; } .dot--gold { background: #d9b92a !important; }
.nav-actions { display: flex; gap: .5rem; align-items: center; }

@media (max-width: 1140px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed; inset: 0; top: 0; z-index: 45; display: none; flex-direction: column; align-items: stretch; gap: 1rem;
    background: var(--bg); overflow-y: auto; overscroll-behavior: contain;
    padding: calc(env(safe-area-inset-top, 0px) + 124px) var(--gutter-r) calc(2rem + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
  }
  .primary-nav.is-open { display: flex; }
  .nav-open .nav-toggle { position: relative; z-index: 46; }
  .nav-open .brand { position: relative; z-index: 46; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link, .nav-trigger { width: 100%; justify-content: space-between; padding: 1rem .25rem; border-radius: 0; font-size: 1.1rem; }
  .nav-link:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { background: none; }
  .nav-link[aria-current="page"], .nav-trigger.is-current { box-shadow: none; color: var(--link); }
  .nav-menu, .nav-menu--wide { position: static; transform: none; min-width: 0; box-shadow: none; border: 0; padding: 0 0 .75rem; background: transparent; grid-template-columns: 1fr; }
  .nav-item.is-open > .nav-menu { animation: none; }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-actions .btn { justify-content: center; }
}
@media (max-width: 1140px) {
  .site-header { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-header .header-inner { min-height: 68px; } .brand img { height: 44px; }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--btn-dark-bg); --btn-fg: var(--btn-dark-text);
  display: inline-flex; align-items: center; gap: .55rem; justify-content: center;
  padding: .85rem 1.35rem; border-radius: 999px; border: 2px solid var(--btn-bg);
  background: var(--btn-bg); color: var(--btn-fg); font: 700 1rem/1.1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(0,0,0,.45); text-decoration: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--gold { --btn-bg: var(--btn-primary-bg); --btn-fg: var(--btn-primary-text); }
.btn--outline { background: transparent; color: var(--heading); border-color: currentColor; }
.btn--purple { --btn-bg: #5b2c86; --btn-fg: #fff; }
.btn--teal { --btn-bg: #0b7377; --btn-fg: #fff; }
.btn--light { --btn-bg: #fff; --btn-fg: #164811; }
.btn--sm { padding: .6rem 1rem; font-size: .93rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.text-link { font-weight: 700; display: inline-flex; gap: .35rem; align-items: center; text-decoration: none; }
.text-link svg { width: 16px; height: 16px; transition: transform .2s; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(1rem, .5rem + 1.5vw, 2rem) 0; }
.hero::before {
  content: ""; position: absolute; width: min(900px, 120vw); aspect-ratio: 1; right: -18%; top: -55%;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold) 55%, transparent) 0%, transparent 62%); opacity: .55; pointer-events: none;
}
.hero-copy { position: relative; display: grid; gap: 1.25rem; max-width: 980px; margin-top: clamp(2.25rem, 1.5rem + 3vw, 4rem); }
.hero h1 { font-size: clamp(2.3rem, 1.6rem + 3.4vw, 4.6rem); line-height: 1.04; font-weight: 600; }
.hero h1 .line { display: block; }
.hero h1 .line--accent { color: var(--leaf); font-style: italic; font-weight: 500; }
.hero h1 .line--sun { background: linear-gradient(transparent 68%, color-mix(in srgb, var(--gold) 70%, transparent) 68%); padding-inline: .05em; }
.hero .lede { max-width: 62ch; }

.banner-frame { position: relative; margin: 0; }
@media (max-width: 640px) { .banner-frame { margin-inline: calc(-1 * var(--gutter-l)) calc(-1 * var(--gutter-r)); } .banner-frame picture, .banner-frame img { border-radius: 0 !important; } }
.banner-frame picture, .banner-frame img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); }
.banner-frame img { box-shadow: 0 30px 60px -35px rgba(22, 50, 14, .55); background: #f6f1e4; aspect-ratio: 2500 / 714; }

.action-panel {
  position: relative; z-index: 2; margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden;
}
.action { display: grid; gap: .35rem; padding: 1.35rem 1.4rem 1.45rem; text-decoration: none; color: var(--text); border-left: 1px solid var(--line); transition: background-color .2s; position: relative; }
.action:first-child { border-left: 0; }
.action:hover { background: var(--surface-2); }
.action-title { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font: 700 1.12rem/1.2 var(--font-body); color: var(--heading); }
.action-title svg { width: 20px; height: 20px; flex: none; transition: transform .2s; }
.action:hover .action-title svg { transform: translateX(3px); }
.action p { font-size: .93rem; color: var(--text-soft); line-height: 1.45; }
.action::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--accent, var(--leaf)); }
.action--donate { --accent: var(--gold); background: var(--tint-gold); }
.action--support { --accent: var(--purple); }
.action--volunteer { --accent: var(--leaf); }
.action--sponsor { --accent: var(--forest); }
@media (max-width: 900px) {
  .action-panel { grid-template-columns: 1fr 1fr; }
  .action:nth-child(3) { border-left: 0; }
  .action:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .action-panel { grid-template-columns: 1fr; }
  .action { border-left: 0; border-top: 1px solid var(--line); }
  .action:first-child { border-top: 0; }
}

/* ---------- Page hero (interior) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--hero-bg, var(--band)); color: var(--band-text); padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.page-hero::after {
  content: ""; position: absolute; right: -120px; bottom: -220px; width: 520px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--hero-glow, rgba(247, 220, 84, .45)) 0%, transparent 65%); pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; display: grid; gap: 1rem; }
.page-hero h1 { color: #fff; max-width: 22ch; }
.page-hero .lede { color: rgba(255,255,255,.86); }
.page-hero .eyebrow { color: var(--hero-eyebrow, var(--gold)); }
.page-hero--purple { --hero-bg: #3f1d5e; --hero-glow: rgba(186, 140, 230, .45); --hero-eyebrow: #e2c9fb; }
.page-hero--mh { --hero-bg: #1f5a23; --hero-glow: rgba(161, 195, 57, .5); --hero-eyebrow: #cfe9a0; }
.page-hero--teal { --hero-bg: #0a5457; --hero-glow: rgba(111, 210, 208, .45); --hero-eyebrow: #b6ecea; }
.page-hero--gold { --hero-bg: #1d4a14; }
.breadcrumb { font-size: .88rem; color: rgba(255,255,255,.75); }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.breadcrumb a { color: inherit; }
.ribbon-mark { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .9rem; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: .35rem .85rem .35rem .55rem; justify-self: start; }
.ribbon-mark svg { width: 20px; height: 20px; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: clamp(1rem, .75rem + 1vw, 1.5rem); }
.grid > * { min-width: 0; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 1rem + .8vw, 1.75rem); display: grid; gap: .7rem; align-content: start; }
.card h3 { font-size: 1.28rem; }
.card p { color: var(--text-soft); }

.program-card { position: relative; text-decoration: none; color: var(--text); transition: transform .22s ease, box-shadow .22s ease, border-color .22s; grid-template-rows: auto auto 1fr auto; }
.program-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--tone, var(--leaf)) 45%, var(--line)); }
.program-card .icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--tone, var(--leaf)) 14%, transparent); color: var(--tone-text, var(--tone, var(--leaf))); }
.program-card .icon svg { width: 24px; height: 24px; }
.program-card h3 { color: var(--heading); }
.program-card .more { color: var(--link); font-weight: 700; font-size: .93rem; display: inline-flex; align-items: center; gap: .3rem; }
.program-card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.program-card:hover .more svg { transform: translateX(3px); }
.tone-purple { --tone: #5b2c86; --tone-text: var(--cause-purple); }
.tone-mh { --tone: #2e7d32; --tone-text: var(--cause-mh); }
.tone-teal { --tone: #0b7377; --tone-text: var(--cause-teal); }
.tone-gold { --tone: #c9a514; --tone-text: var(--gold-deep); }
.tone-forest { --tone: #407d3c; --tone-text: var(--link); }

/* Awareness causes */
.causes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, .75rem + 1vw, 1.5rem); }
@media (max-width: 880px) { .causes { grid-template-columns: 1fr; } }
.cause { position: relative; border-radius: var(--radius-lg); padding: 1.75rem; display: grid; gap: .8rem; align-content: start; background: var(--cause-tint); border: 1px solid color-mix(in srgb, var(--cause-color) 25%, transparent); overflow: hidden; }
.cause h3 { color: var(--cause-ink); font-size: 1.45rem; }
.cause p { color: var(--text); }
.cause .ribbon { width: 42px; height: 42px; color: var(--cause-color); }
.cause .month { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cause-ink); }
.cause a { color: var(--cause-ink); font-weight: 700; }
.cause--purple { --cause-color: #5b2c86; --cause-ink: var(--cause-purple); --cause-tint: var(--tint-purple); }
.cause--mh { --cause-color: #2e7d32; --cause-ink: var(--cause-mh); --cause-tint: var(--tint-mh); }
.cause--teal { --cause-color: #0b7377; --cause-ink: var(--cause-teal); --cause-tint: var(--tint-teal); }

/* Kit list */
.kit { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow); display: grid; gap: 1.25rem; }
.kit-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-bottom: 2px dashed var(--line); padding-bottom: 1rem; }
.kit-head h3 { font-size: 1.4rem; }
.tag { justify-self: start; display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px; background: var(--tint-mh); color: var(--cause-mh); }
.tag--future { background: var(--tint-gold); color: var(--gold-deep); border: 1px dashed currentColor; }
.tag--now { background: var(--tint-mh); color: var(--cause-mh); }
.tag--purple { background: var(--tint-purple); color: var(--cause-purple); }
.kit-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 2rem; }
@media (max-width: 560px) { .kit-groups { grid-template-columns: 1fr; } }
.kit-groups h4 { font-family: var(--font-body); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); margin-bottom: .5rem; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; line-height: 1.45; }
.checklist li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: .15rem; border-radius: 50%; background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Bands */
.band { background: var(--band); color: var(--band-text); }
.band h2, .band h3 { color: #fff; }
.band .lede, .band p { color: var(--band-soft); }
.band .eyebrow { color: var(--gold); }
.band a:not(.btn) { color: var(--gold); }
.band .btn--outline { color: #fff; }
.cta-band { position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: 50%; bottom: -380px; transform: translateX(-50%); width: 760px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(247,220,84,.42), transparent 62%); pointer-events: none; }
.cta-band .wrap { position: relative; text-align: center; display: grid; justify-items: center; gap: 1.25rem; }
.cta-band .btn-row { justify-content: center; }

/* Partners */
.partner { display: grid; gap: .75rem; align-content: start; padding: 1.75rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.partner-name { font-family: var(--font-display); font-size: 1.5rem; color: var(--heading); font-weight: 600; line-height: 1.2; }
.partner-kind { font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--link); }

/* Future vision */
.future { position: relative; border: 2px dashed color-mix(in srgb, var(--gold-deep) 55%, var(--line)); border-radius: var(--radius-lg); background: var(--tint-gold); padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); display: grid; gap: 1.5rem; }
.future-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 880px) { .future-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .future-pillars { grid-template-columns: 1fr; } }
.pillar { background: var(--surface); border-radius: var(--radius); padding: 1.1rem 1.2rem; border: 1px solid var(--line); display: grid; gap: .3rem; }
.pillar strong { color: var(--heading); font-size: 1.05rem; }
.pillar span { color: var(--text-soft); font-size: .95rem; line-height: 1.5; }
.notice { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.15rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-size: .97rem; }
.notice svg { width: 22px; height: 22px; flex: none; color: var(--link); margin-top: .1rem; }
.notice--purple { background: var(--tint-purple); border-color: color-mix(in srgb, #5b2c86 30%, transparent); }
.notice--purple svg { color: var(--cause-purple); }
.notice--gold { background: var(--tint-gold); border-color: color-mix(in srgb, #c9a514 40%, transparent); }
.notice--gold svg { color: var(--gold-deep); }

/* Placeholders (content to be supplied) */
.placeholder {
  display: grid; place-items: center; align-content: center; text-align: center; gap: .5rem; padding: 1.5rem; min-height: 200px;
  border-radius: var(--radius); border: 2px dashed var(--line); color: var(--text-soft);
  background: repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--line) 35%, transparent) 14px 15px), var(--surface);
}
.placeholder svg { width: 34px; height: 34px; color: var(--leaf); }
.placeholder strong { color: var(--heading); font-size: 1.02rem; }
.placeholder span { font-size: .92rem; max-width: 36ch; }
.placeholder--portrait { aspect-ratio: 4 / 5; min-height: 0; }
.placeholder--video { aspect-ratio: 16 / 9; min-height: 0; }
.placeholder--wide { aspect-ratio: 3 / 2; min-height: 0; }
.tbd { display: inline-block; font-style: normal; font-size: .9em; padding: .05rem .5rem; border-radius: 6px; border: 1px dashed var(--gold-deep); color: var(--gold-deep); background: var(--tint-gold); }

/* Crisis resources */
.crisis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1rem; }
.resource { display: grid; gap: .45rem; align-content: start; padding: 1.25rem 1.3rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--res, var(--leaf)); }
.resource h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 800; color: var(--heading); }
.resource .number { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; color: var(--heading); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.resource .number a { color: inherit; text-decoration: none; }
.resource p { font-size: .93rem; color: var(--text-soft); line-height: 1.5; }
.res-emergency { --res: #b3261e; } .res-purple { --res: #5b2c86; } .res-mh { --res: #2e7d32; } .res-teal { --res: #0b7377; } .res-gold { --res: #c9a514; }
.crisis-strip { background: var(--tint-purple); border-block: 1px solid color-mix(in srgb, #5b2c86 25%, transparent); }
.crisis-strip .wrap { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; padding-block: 1rem; font-size: .95rem; }
.crisis-strip strong { color: var(--cause-purple); }
.crisis-strip a { color: var(--cause-purple); font-weight: 700; }

/* Forms */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; min-width: 0; }
.field label, .field legend { font-weight: 700; color: var(--heading); font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--text-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 10px; padding: .75rem .85rem; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 4px color-mix(in srgb, var(--leaf) 22%, transparent); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field .error { color: #b3261e; font-size: .85rem; font-weight: 600; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.check input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--forest-2); flex: none; }
.form-status { padding: 1rem 1.15rem; border-radius: var(--radius); background: var(--tint-gold); border: 1px solid color-mix(in srgb, #c9a514 40%, transparent); font-size: .97rem; }
.form-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 1rem + 2vw, 2.25rem); box-shadow: var(--shadow); }

/* Donation selector */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; justify-content: center; min-width: 84px; padding: .7rem 1.1rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 700; color: var(--heading); font-variant-numeric: tabular-nums; transition: all .15s; }
.chip input:checked + span { background: var(--btn-dark-bg); color: var(--btn-dark-text); border-color: var(--btn-dark-bg); }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Gallery */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.filter-bar button { font: 700 .93rem var(--font-body); padding: .55rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--heading); cursor: pointer; }
.filter-bar button[aria-pressed="true"] { background: var(--btn-dark-bg); color: var(--btn-dark-text); border-color: var(--btn-dark-bg); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1rem; }

/* Timeline-ish list for events */
.event-card { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start; }
.date-badge { width: 76px; text-align: center; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.date-badge b { display: block; background: var(--btn-dark-bg); color: var(--btn-dark-text); font-size: .78rem; letter-spacing: .1em; padding: .3rem 0; text-transform: uppercase; }
.date-badge span { display: block; font-family: var(--font-display); font-size: 1.7rem; padding: .3rem 0 .4rem; color: var(--heading); }
.month-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.month-list li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 1rem 1.15rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--res, var(--leaf)); }
.month-list b { color: var(--heading); }
@media (max-width: 520px) { .month-list li { grid-template-columns: 1fr; gap: .2rem; } }

/* Figure / quote */
.pull { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.3; color: var(--heading); font-style: italic; font-weight: 500; border-left: 4px solid var(--gold); padding-left: 1.25rem; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1rem; }
.value { padding: 1.25rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: .35rem; }
.value strong { font-family: var(--font-display); font-size: 1.25rem; color: var(--heading); font-weight: 600; }
.value span { color: var(--text-soft); font-size: .95rem; }

/* Footer */
.site-footer { background: #0e2a0b; color: #d8e2cc; padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: grid; gap: 1rem; align-content: start; }
.footer-brand img { width: 230px; height: auto; }
.footer-brand p { color: #bfcdb0; font-size: .95rem; max-width: 36ch; }
.site-footer h2 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #f7dc54; margin-bottom: .9rem; font-weight: 800; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: #eef3e6; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.4rem calc(1.4rem + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .86rem; color: #a9b99a; }
.footer-crisis { margin-top: 2rem; padding: 1rem 1.2rem; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font-size: .93rem; color: #d8e2cc; }
.footer-crisis strong { color: #fff; }

/* Reveal animation (progressive enhancement: content is visible without JS) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .hero-copy > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; } .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .banner-frame { animation: rise 1s .2s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
