/* =====================================================================
   WITHIN REACH MUSIC INITIATIVE — SITE STYLES
   ---------------------------------------------------------------------
   Layout concept: an airy, editorial white page. Color comes mostly from
   the watercolor logo artwork; type and hairlines do the rest.

   Want to change a brand color or font? Edit the tokens just below.
   Everything else on the site is built from them.
   ===================================================================== */

:root {
  /* ---- Brand palette (sampled from the logo) ---- */
  --plum:        #4a2466;   /* primary accent: buttons, links, headings accents */
  --plum-soft:   #6c3f8e;   /* "MUSIC INITIATIVE" purple */
  --teal:        #1c6f7c;   /* secondary accent */
  --teal-soft:   #3a9aa6;
  --gold:        #e7a33e;   /* sparing accent */
  --coral:       #e2563f;   /* sparing accent */
  --magenta:     #b8336f;   /* sparing accent */

  /* ---- Neutrals (very slightly plum-tinted) ---- */
  --ink:         #1f1a26;   /* headings */
  --text:        #3b3542;   /* body copy */
  --muted:       #6e6676;   /* captions, meta */
  --line:        #e8e3ed;   /* hairlines */
  --mist:        #f8f6fa;   /* light section background */
  --paper:       #ffffff;   /* page background */

  /* ---- Type ---- */
  --font-display: "Literata", Georgia, "Times New Roman", serif;
  --font-label:   "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Mulish", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: 0.8125rem;
  --step-0:  1.0625rem;
  --step-1:  1.25rem;
  --step-2:  clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --step-3:  clamp(1.9rem, 1.4rem + 2vw, 2.85rem);
  --step-4:  clamp(2.4rem, 1.6rem + 3.4vw, 4.25rem);
  --step-5:  clamp(2.9rem, 1.8rem + 5vw, 6rem);

  /* ---- Space & shape ---- */
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4rem, 3rem + 5vw, 8rem);
  --wrap: 1200px;
  --radius: 4px;
  --header-h: 112px;   /* top bar height; the full logo fills it */

  color-scheme: light;
}

/* The site deliberately stays in one light, white look (the logo is
   designed for a white ground), so there is no dark theme. */

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--magenta); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
  font-optical-sizing: auto;
}
h1 { font-size: var(--step-5); letter-spacing: -0.02em; }
h2 { font-size: var(--step-4); letter-spacing: -0.01em; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); font-weight: 600; }
p { margin: 0; max-width: 65ch; }
.lead { font-size: var(--step-1); line-height: 1.6; color: var(--text); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--plum); color: #fff; padding: .6rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--mist { background: var(--mist); }
.section--tight { padding-block: calc(var(--section) * .6); }
.stack { display: flex; flex-direction: column; gap: 1.25rem; }
.stack--lg { gap: 2rem; }

.split {
  display: grid; gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
}
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split--center { align-items: center; }
@media (max-width: 860px) {
  .split, .split--even { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Labels, eyebrows, arrows ---------- */
.eyebrow {
  font-family: var(--font-label);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent, var(--plum-soft));
  display: inline-flex; align-items: center; gap: .75rem;
}
.eyebrow::before {
  content: ""; width: 2rem; height: 1px; background: currentColor; opacity: .6;
}
.kicker {                 /* italic sub-headline, e.g. "More than a single visit." */
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-1);
  color: var(--accent, var(--plum));
  line-height: 1.35;
}

.link-arrow {
  font-family: var(--font-label);
  font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent, var(--plum));
  text-decoration: none;
  display: inline-flex; align-items: center; gap: .6rem;
  padding-block: .35rem;
  border-bottom: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  transition: gap .2s ease, border-color .2s ease;
}
.link-arrow::after { content: "→"; font-family: var(--font-body); letter-spacing: 0; }
.link-arrow:hover { gap: 1rem; color: var(--accent, var(--plum)); border-color: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-label);
  font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 1.6rem; min-height: 48px;
  border-radius: var(--radius);
  border: 1.5px solid var(--plum);
  text-decoration: none; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn--primary { background: var(--plum); color: #fff; }
.btn--primary:hover { background: #3a1a52; border-color: #3a1a52; color: #fff; }
.btn--outline { background: transparent; color: var(--plum); }
.btn--outline:hover { background: var(--plum); color: #fff; }
.btn--teal { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn--teal:hover { background: #145863; border-color: #145863; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- Watercolor brush stroke (reusable accent) ----------
   <span class="brush" style="--c1:var(--teal);--c2:var(--plum)"></span> */
.brush {
  display: block; width: 7.5rem; height: .7rem;
  background: linear-gradient(90deg, var(--c1, var(--plum)), var(--c2, var(--magenta)));
  -webkit-mask: url("../img/brush.svg") center / 100% 100% no-repeat;
          mask: url("../img/brush.svg") center / 100% 100% no-repeat;
  opacity: .85;
}

/* =====================================================================
   HEADER & NAVIGATION
   ===================================================================== */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--paper);   /* solid: a backdrop blur here would trap the phone menu inside the bar */
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { height: calc(var(--header-h) - 16px); width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; letter-spacing: -.01em; color: var(--ink); }
.brand-sub {
  font-family: var(--font-label); font-weight: 500; font-size: .58rem; letter-spacing: .3em;
  color: var(--plum-soft); margin-top: .4rem; text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: .25rem; }
.nav-list { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav-link, .nav-toggle {
  font-family: var(--font-label); font-size: .78rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink); text-decoration: none;
  padding: .7rem .75rem; display: inline-flex; align-items: center; gap: .35rem;
  background: none; border: 0; cursor: pointer; position: relative; white-space: nowrap;
}
.nav-link::after, .nav-toggle::after {
  content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .35rem; height: 1.5px;
  background: var(--plum); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-link:hover, .nav-toggle:hover { color: var(--plum); }
.nav-link:hover::after, .nav-toggle:hover::after,
.nav-link[aria-current="page"]::after, .nav-toggle.is-current::after { transform: scaleX(1); }
.nav-link[aria-current="page"], .nav-toggle.is-current { color: var(--plum); }
.nav-toggle .chev { width: 10px; height: 10px; transition: transform .2s ease; }
.nav-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 21rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 40px -18px rgba(40, 20, 60, .25);
  list-style: none; margin: 0; padding: .6rem;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1081px) {
  .has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: none; }
}
.dropdown a {
  display: grid; grid-template-columns: 4px 1fr; gap: .9rem; align-items: stretch;
  padding: .8rem .9rem; text-decoration: none; color: var(--ink); border-radius: 3px;
}
.dropdown a:hover { background: var(--mist); color: var(--ink); }
.dropdown .swatch { border-radius: 2px; background: var(--accent); }
.dropdown .dd-title { font-family: var(--font-display); font-size: 1.08rem; font-weight: 500; line-height: 1.25; display: block; }
.dropdown .dd-desc { font-size: .82rem; color: var(--muted); line-height: 1.4; display: block; margin-top: .15rem; }

.nav-donate { margin-left: .75rem; padding: .8rem 1.3rem; min-height: 44px; }

.menu-button {
  display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius);
  width: 48px; height: 48px; cursor: pointer; align-items: center; justify-content: center; color: var(--ink);
}
.menu-button svg { width: 22px; height: 22px; }

@media (max-width: 1080px) {
  .menu-button { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 1rem var(--gutter) calc(2rem + env(safe-area-inset-bottom, 0px));
    overflow-y: auto; border-top: 1px solid var(--line);
    opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link, .nav-toggle { width: 100%; justify-content: space-between; font-size: .9rem; padding: 1.1rem .25rem; }
  .nav-link::after, .nav-toggle::after { display: none; }
  .dropdown {
    position: static; min-width: 0; box-shadow: none; border: 0; padding: 0 0 .75rem;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .has-dropdown.is-open .dropdown { display: block; }
  .nav-donate { margin: 1.5rem 0 0; width: 100%; }
}
@media (max-width: 420px) {
  .brand-name { font-size: 1.2rem; }
  .brand-sub { font-size: .5rem; letter-spacing: .26em; }
}
body.menu-open { overflow: hidden; }

/* =====================================================================
   HOME HERO
   ===================================================================== */
.hero { position: relative; overflow: hidden; padding-block: clamp(4rem, 8vw, 8rem) clamp(3rem, 6vw, 5rem); }
.hero-inner { position: relative; z-index: 2; display: grid; gap: 2rem; max-width: 46rem; }
.hero h1 { line-height: 1.02; }
.hero h1 > span { display: block; }
.hero h1 .dot-teal { color: var(--teal); }
.hero h1 .dot-gold { color: var(--gold); }
.hero h1 .dot-magenta { color: var(--magenta); }
.hero .lead { max-width: 36rem; }
.hero-wave {
  position: absolute; z-index: 1; pointer-events: none;
  right: -4vw; top: 50%; width: min(64vw, 980px); transform: translateY(-38%);
  opacity: .92;
}
@media (max-width: 860px) {
  .hero-wave { position: relative; right: auto; top: auto; transform: none; width: 118%; margin: 2.5rem -8% -1rem auto; }
}

/* Tagline band — kept separate from the logo, as requested */
.tagline-band { border-block: 1px solid var(--line); }
.tagline {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: .75rem 2.25rem; padding-block: 1.6rem; margin: 0; list-style: none;
  font-family: var(--font-label); font-weight: 600; font-size: clamp(.72rem, .65rem + .3vw, .9rem);
  letter-spacing: .26em; text-transform: uppercase; color: var(--ink); text-align: center;
}
.tagline li { display: inline-flex; align-items: center; gap: .8rem; }
.tagline li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }

/* =====================================================================
   INTERIOR PAGE HERO
   ===================================================================== */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 7vw, 7rem) clamp(2.5rem, 5vw, 4.5rem); border-bottom: 1px solid var(--line); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero-inner { display: grid; gap: 1.5rem; max-width: 50rem; }
.page-hero h1 { font-size: var(--step-4); }
.page-hero-art {
  position: absolute; z-index: 1; right: -6vw; bottom: -2.5rem; width: min(46vw, 640px);
  opacity: .55; pointer-events: none;
}
@media (max-width: 860px) { .page-hero-art { width: 80vw; opacity: .28; right: -20vw; } }
.breadcrumb { font-family: var(--font-label); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--plum); }

/* =====================================================================
   SECTION HEADER
   ===================================================================== */
.section-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 48rem; }
.section-head h2 { font-size: var(--step-3); }

/* =====================================================================
   PROGRAM CARDS (Home)  — accent set per card with --accent
   ===================================================================== */
.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (max-width: 980px) { .program-grid { grid-template-columns: minmax(0, 1fr); } }
.program-card {
  display: flex; flex-direction: column; gap: 1.1rem;
  padding: 2.25rem 0 0; border-top: 1px solid var(--line); position: relative;
}
.program-card::before {          /* colored top rule, picks up the card's accent */
  content: ""; position: absolute; top: -1px; left: 0; width: 4.5rem; height: 3px; background: var(--accent);
}
.program-card .eyebrow::before { display: none; }
.program-card h3 { font-size: clamp(1.5rem, 1.25rem + .8vw, 1.9rem); }
.program-card p { font-size: 1rem; }
.program-card .link-arrow { margin-top: auto; align-self: flex-start; }
.program-card .num { font-family: var(--font-display); font-style: italic; color: var(--accent); font-size: 1rem; }

.accent-teal    { --accent: var(--teal);    --c1: var(--teal-soft); --c2: var(--teal); }
.accent-plum    { --accent: var(--plum);    --c1: var(--plum-soft); --c2: var(--magenta); }
.accent-coral   { --accent: #b9432f;        --c1: var(--gold);      --c2: var(--coral); }   /* darker coral for readable text */
.accent-magenta { --accent: var(--magenta); --c1: var(--magenta);   --c2: var(--plum-soft); }

/* =====================================================================
   IMAGE PLACEHOLDERS — replace a .ph <div> with an <img> when photos arrive
   ===================================================================== */
.ph {
  position: relative; width: 100%; max-width: 100%; aspect-ratio: var(--ratio, 4 / 3);
  border-radius: var(--radius); overflow: hidden;
  background:
    radial-gradient(60% 70% at 15% 20%, color-mix(in srgb, var(--c1, var(--teal-soft)) 22%, transparent), transparent 70%),
    radial-gradient(55% 60% at 85% 80%, color-mix(in srgb, var(--c2, var(--plum-soft)) 20%, transparent), transparent 70%),
    var(--mist);
  display: flex; align-items: flex-end;
  border: 1px dashed color-mix(in srgb, var(--plum) 22%, transparent);
}
.ph span {
  margin: 1rem; font-family: var(--font-label); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); background: rgba(255,255,255,.85); padding: .45rem .7rem; border-radius: 2px;
}
.ph--portrait { --ratio: 4 / 5; }
.ph--wide { --ratio: 16 / 9; }
.photo { width: 100%; aspect-ratio: var(--ratio, 4 / 3); object-fit: cover; border-radius: var(--radius); }

/* =====================================================================
   IMPACT: stats, quotes, gallery
   ===================================================================== */
.stats { display: flex; flex-wrap: wrap; gap: clamp(2rem, 5vw, 4.5rem); }
.stat { display: grid; gap: .4rem; flex: 1 1 9rem; align-content: start; }
.stat-num {
  font-family: var(--font-display); font-weight: 500; line-height: .9;
  font-size: clamp(4rem, 3rem + 4vw, 7rem); color: var(--accent, var(--plum));
  font-variant-numeric: lining-nums tabular-nums;
}
.stat-label {
  font-family: var(--font-label); font-size: .74rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink); max-width: 13rem; line-height: 1.5;
}
.statement {
  font-family: var(--font-display); font-style: italic; font-size: var(--step-2); color: var(--plum); line-height: 1.3;
}

.impact-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(3rem, 6vw, 4.5rem); }
@media (max-width: 860px) { .impact-grid { grid-template-columns: minmax(0, 1fr); } }

.quote-card {
  display: flex; flex-direction: column; gap: 1rem; padding: 2rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.quote-card blockquote { margin: 0; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.45; color: var(--ink); }
.quote-card blockquote::before { content: "“"; display: block; font-size: 3rem; line-height: .6; color: var(--accent, var(--teal)); margin-bottom: .4rem; }
.quote-card cite { font-style: normal; font-family: var(--font-label); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.is-placeholder { border-style: dashed; }
.is-placeholder blockquote { color: var(--muted); }

/* =====================================================================
   WHY WITHIN REACH / BIG STATEMENTS
   ===================================================================== */
.why { position: relative; overflow: hidden; }
.why-art { position: absolute; left: -8vw; bottom: -3rem; width: min(52vw, 720px); opacity: .35; transform: scaleX(-1); pointer-events: none; }
.why .wrap { position: relative; z-index: 2; }
.closing-line {
  font-family: var(--font-display); font-style: italic; font-size: var(--step-3); color: var(--plum); line-height: 1.2;
  max-width: 22ch;
}

.callout {
  position: relative; padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 5vw, 4rem);
  border-left: 3px solid var(--teal); background: var(--mist);
}
.callout p { font-family: var(--font-display); font-size: var(--step-2); color: var(--ink); line-height: 1.3; max-width: 32ch; }
.callout em { color: var(--teal); }

/* =====================================================================
   FEATURE LIST (Residencies) & OFFERINGS (Masterclasses)
   ===================================================================== */
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4rem); }
@media (max-width: 760px) { .feature-list { grid-template-columns: minmax(0, 1fr); } }
.feature { display: grid; gap: .6rem; padding-block: 1.75rem; border-top: 1px solid var(--line); }
.feature h3 { font-size: 1.45rem; display: flex; flex-direction: column; gap: .7rem; }
.feature .brush { width: 4.5rem; height: .5rem; }
.feature p { font-size: 1rem; }

.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 900px) { .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .offer-grid { grid-template-columns: minmax(0, 1fr); } }
.offer { background: #fff; padding: 1.75rem 1.6rem; display: grid; gap: .5rem; align-content: start; }
.offer .offer-mark { width: 26px; height: 26px; color: var(--accent, var(--plum)); }
.offer h3 { font-size: 1.25rem; }
.offer p { font-size: .95rem; color: var(--muted); }

/* Teaching artist cards (reusable on any page) */
.artist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 2rem; }
.artist { display: grid; gap: .8rem; }
.artist h3 { font-size: 1.3rem; }
.artist .role { font-family: var(--font-label); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent, var(--teal)); font-weight: 600; }

/* Partner list (Community) */
.partner-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.partner-list li {
  font-family: var(--font-label); font-size: .8rem; font-weight: 500; letter-spacing: .06em;
  padding: .7rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink);
}

/* =====================================================================
   CTA PANEL
   ===================================================================== */
.cta-panel {
  position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(2.5rem, 6vw, 4.5rem); display: grid; gap: 1.5rem; background: #fff;
}
.cta-panel h2 { font-size: var(--step-3); max-width: 20ch; }
.cta-panel .wave-corner { position: absolute; right: -6rem; bottom: -2rem; width: 520px; opacity: .5; pointer-events: none; }
.cta-panel > *:not(.wave-corner) { position: relative; z-index: 1; }
@media (max-width: 700px) { .cta-panel .wave-corner { opacity: .2; } }

/* =====================================================================
   ABOUT: story with clef art
   ===================================================================== */
.story-art { max-width: 340px; margin-inline: auto; }
.draft-note {
  font-family: var(--font-label); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--magenta); border: 1px dashed currentColor; padding: .35rem .6rem; border-radius: 2px; align-self: flex-start;
}
.pull { font-family: var(--font-display); font-size: var(--step-2); color: var(--ink); line-height: 1.3; }

/* =====================================================================
   BOARD
   ===================================================================== */
.board-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 960px) { .board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .board-grid { grid-template-columns: minmax(0, 1fr); } }
.board-card { display: flex; flex-direction: column; gap: 1rem; }
.board-card h2 { font-size: 1.75rem; }
.board-card .brush { width: 6rem; }
.board-title {
  font-family: var(--font-label); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent, var(--plum)); line-height: 1.6;
}
.board-intro { font-size: 1rem; }
.bio-toggle {
  align-self: flex-start; background: none; border: 0; padding: .5rem 0; cursor: pointer;
  font-family: var(--font-label); font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent, var(--plum)); border-bottom: 1px solid currentColor;
}
.bio-full { display: grid; gap: 1rem; font-size: .98rem; padding-top: .25rem; }

/* =====================================================================
   SUPPORT: pathways
   ===================================================================== */
.pathways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (max-width: 900px) { .pathways { grid-template-columns: minmax(0, 1fr); } }
.pathway { display: flex; flex-direction: column; gap: 1rem; padding: 2.25rem 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pathway h3 { font-family: var(--font-label); font-size: 1.05rem; font-weight: 700; letter-spacing: .26em; color: var(--accent); }
.pathway .brush { width: 4rem; height: .5rem; }
.pathway p { font-size: 1.02rem; }
.pathway .btn, .pathway .link-arrow { margin-top: auto; align-self: flex-start; }

.donate-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }

/* =====================================================================
   CONTACT FORM
   ===================================================================== */
.form { display: grid; gap: 1.4rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: .45rem; }
.field label, .field legend {
  font-family: var(--font-label); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}
.field .req { color: var(--magenta); }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1px solid #d6cfde; border-radius: var(--radius); padding: .85rem 1rem; width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 10rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px color-mix(in srgb, var(--plum) 18%, transparent); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.5rem; margin-top: .4rem; }
@media (max-width: 640px) { .checks { grid-template-columns: minmax(0, 1fr); } }
.check { display: flex; align-items: flex-start; gap: .7rem; font-size: 1rem; cursor: pointer; line-height: 1.4; }
.check input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--plum); flex-shrink: 0; }
.form-status { font-size: .98rem; padding: 1rem 1.2rem; border-radius: var(--radius); border-left: 3px solid var(--teal); background: var(--mist); }
.form-status.is-error { border-color: var(--coral); }
.contact-aside { display: grid; gap: 2rem; align-content: start; }
.contact-aside .who { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.contact-aside .who li { display: grid; grid-template-columns: 8px 1fr; gap: .9rem; align-items: baseline; font-size: 1rem; }
.contact-aside .who li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); transform: translateY(-1px); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { border-top: 1px solid var(--line); position: relative; overflow: hidden; background: #fff; }
.footer-wave { display: block; width: 100%; max-width: 760px; margin-left: auto; opacity: .55; margin-bottom: -2rem; }
.footer-main { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); gap: 2.5rem; padding-block: 3.5rem 3rem; }
@media (max-width: 860px) { .footer-main { grid-template-columns: minmax(0, 1fr); } }
.footer-logo { width: 280px; }
.footer-tag { font-family: var(--font-label); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--plum-soft); font-weight: 600; line-height: 1.8; }
.footer-h { font-family: var(--font-label); font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin-bottom: 1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-links a { color: var(--text); text-decoration: none; font-size: .98rem; }
.footer-links a:hover { color: var(--plum); text-decoration: underline; }
.footer-legal {
  border-top: 1px solid var(--line); padding-block: 1.5rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem;
  font-size: .82rem; color: var(--muted);
}
.footer-legal p { max-width: none; }

/* ---------- Gentle entrance (content is visible at rest) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero-inner > *:nth-child(2) { animation-delay: .08s; }
  .hero-inner > *:nth-child(3) { animation-delay: .16s; }
  .hero-inner > *:nth-child(4) { animation-delay: .24s; }
  .hero-wave { animation: drift 1.6s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { transform: translateY(14px); opacity: .001; } to { transform: none; opacity: 1; } }
  @keyframes drift { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
}

.sticky-col { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 860px) { .sticky-col { position: static; } }
.split--form { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
@media (max-width: 860px) { .split--form { grid-template-columns: minmax(0, 1fr); } }

/* Our Story (About page) */
.story p { font-size: 1.08rem; }
.story-art { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 860px) { .story-art { position: static; max-width: 200px; } }
.signature { font-family: var(--font-display); font-style: italic; font-size: var(--step-1); color: var(--plum); display: grid; gap: .3rem; }
.signature span { font-family: var(--font-label); font-style: normal; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* Board photos */
.board-card .photo { object-position: center top; }

/* Donate QR (Support page) */
.qr-card { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; }
.qr-card img { width: 170px; height: 170px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.qr-card p { font-size: 1rem; max-width: 30ch; }
.qr-card .btn { align-self: flex-start; }

@media (max-width: 1080px) { :root { --header-h: 96px; } }
@media (max-width: 420px) { :root { --header-h: 84px; } }

/* Program highlight inside a section (Community page) */
.community-program { gap: .6rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.community-program h3 { color: var(--accent, var(--plum)); }

/* Support page: compact opening so the three ways to help are seen right away */
.page-hero--compact { padding-block: clamp(2.25rem, 4vw, 3.5rem) clamp(1.75rem, 3vw, 2.5rem); }
.page-hero--compact .page-hero-inner { gap: 1rem; }
.page-hero--compact h1 { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.4rem); }
.section--pathways { padding-block: clamp(2rem, 3.5vw, 3rem) var(--section); }
.pathway--featured {
  background: color-mix(in srgb, var(--plum) 5%, #fff);
  border-color: color-mix(in srgb, var(--plum) 35%, transparent);
  box-shadow: 0 20px 40px -30px rgba(74, 36, 102, .55);
}
.give-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; }
.give-actions .btn { margin-top: 0; }
.give-qr { display: flex; align-items: center; gap: .75rem; }
.give-qr img { width: 96px; height: 96px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.give-qr span { font-size: .85rem; color: var(--muted); max-width: 12ch; line-height: 1.35; }
