/* =========================================================
   JoyDragon Foundation — site stylesheet
   Shared base: tokens, header, footer, buttons, splash fields,
   partner marquee, give band, forms, donate page.
   Aesthetic: splash-ad system (curved orange rule, deep purple
   fields, faint dragon-heart watermark, frosted info panels,
   sparkle-star dividers). Purple + logo light green lead.
   ========================================================= */

:root {
  /* Brand purples */
  --plum-950: #170c2b;
  --plum-900: #22123d;
  --plum-800: #2f1b52;
  --plum-700: #3d2563;
  --plum-600: #523184;
  --plum-500: #6b4e9b;
  --lavender: #cbb9f2;
  --lavender-soft: #ece5fb;

  /* Revision 2 palette: purple + the light green (teal) of the JoyDragon Foundation logo */
  --violet-800: #3f1a78;
  --violet-700: #4a1f8c;   /* bright purple band: "Save a seat", Circle bar, podcast bar */
  --violet-600: #5a2ba3;
  --logo-purple: #562f91;  /* "JoyDragon" in the name logo */
  --teal-500: #06aba9;     /* "Foundation" in the name logo. Fill only; pair with dark text */
  --teal-700: #0a7775;     /* teal text on white (AA) */
  --teal-900: #064b4a;
  --aqua: #5fd4cc;         /* light green highlight on dark purple fields */
  --aqua-soft: #d9f4f1;    /* pale teal tint for panels on white */
  --mint: var(--aqua);     /* legacy name: now the logo light green, lightened for dark fields */
  --teal: #06aba9;
  /* legacy forest tokens now map to logo teal so no dark green remains */
  --forest-900: var(--teal-900);
  --forest-800: var(--teal-900);
  --forest-700: var(--teal-700);
  --forest-600: var(--teal-700);

  --orange: #f08a3c;
  --orange-ink: #b4521a;   /* AA on white */

  --ivory: #fbf8f2;
  --paper: #ffffff;
  --ink: #1d1530;
  --ink-soft: #4a4160;
  --line: rgba(29, 21, 48, .12);
  --line-light: rgba(255, 255, 255, .18);

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(.82rem, .79rem + .15vw, .9rem);
  --step-0: clamp(.95rem, .92rem + .15vw, 1.03rem);
  --step-1: clamp(1.12rem, 1.05rem + .35vw, 1.3rem);
  --step-2: clamp(1.4rem, 1.25rem + .7vw, 1.8rem);
  --step-3: clamp(1.8rem, 1.5rem + 1.4vw, 2.6rem);
  --step-4: clamp(2.2rem, 1.7rem + 2.4vw, 3.6rem);
  --step-5: clamp(2.6rem, 1.9rem + 3.4vw, 4.6rem);

  --wrap: 1200px;
  --gutter: clamp(1.1rem, 3vw, 2.5rem);
  --header-h: 76px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 18px 40px -22px rgba(34, 18, 61, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum-600); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-700); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.005em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--plum-900); color: #fff; padding: .7rem 1rem; border-radius: var(--radius-sm); }
.skip:focus { top: .75rem; color: #fff; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 820px); margin-inline: auto; }

/* ---------- Eyebrow + sparkle divider ---------- */
.eyebrow {
  font-family: var(--sans); font-weight: 600; font-size: .74rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--plum-600); margin: 0 0 .9rem;
}
.eyebrow--mint { color: var(--mint); }
.spark {
  display: flex; align-items: center; gap: .9rem; color: var(--orange); margin: 1rem 0;
  max-width: 340px;
}
.spark::before, .spark::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .65; }
.spark--light::before, .spark--light::after { background: #fff; opacity: .55; }
.spark svg { width: 14px; height: 14px; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--violet-700); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .7rem 1.35rem; border-radius: 999px; border: 2px solid var(--bg);
  background: var(--bg); color: var(--fg); font-family: var(--sans); font-weight: 600; font-size: .92rem;
  letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { --bg: var(--plum-800); color: var(--fg); transform: translateY(-1px); }
.btn--give { --bg: var(--violet-700); --fg: #fff; }
.btn--give:hover { --bg: var(--plum-900); }
.btn--teal { --bg: var(--teal-500); --fg: var(--plum-950); }
.btn--teal:hover { --bg: var(--aqua); --fg: var(--plum-950); }
.btn--green { --bg: var(--violet-700); }  /* legacy alias */
.btn--ghost { background: transparent; color: var(--violet-700); }
.btn--ghost:hover { background: var(--violet-700); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost-light:hover { background: #fff; color: var(--plum-900); border-color: #fff; }
.btn--light { --bg: #fff; --fg: var(--plum-900); }
.btn--light:hover { --bg: var(--aqua); --fg: var(--plum-950); }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: .5rem 1rem; font-size: .85rem; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(8px);
}
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
.brand__heart { width: 46px; height: auto; }
.brand__name { width: 190px; height: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.nav a:not(.btn) {
  font-size: .86rem; font-weight: 500; color: var(--ink); text-decoration: none; padding: .55rem .7rem; border-radius: 999px;
  white-space: nowrap; position: relative;
}
.nav a:not(.btn):hover { color: var(--plum-600); background: var(--lavender-soft); }
.nav a[aria-current="page"] { color: var(--violet-700); font-weight: 600; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .25rem; height: 2px; background: var(--orange); border-radius: 2px; }
.nav .ext svg { width: 11px; height: 11px; margin-left: 3px; vertical-align: -1px; }
.nav .btn { margin-left: .6rem; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 999px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: var(--plum-900); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.give-mobile { display: none; }

@media (max-width: 1200px) {
  .site-header__inner { gap: 1rem; }
  .nav { gap: .1rem; }
  .nav a:not(.btn) { padding: .5rem .5rem; font-size: .82rem; }
  .nav a[aria-current="page"]::after { left: .5rem; right: .5rem; }
  .nav .btn { margin-left: .35rem; }
  .brand__name { width: 160px; }
}
@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; margin-left: .5rem; }
  .give-mobile { display: inline-flex; margin-left: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: .75rem var(--gutter) 1.5rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: .9rem .25rem; font-size: 1rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"]::after { left: .25rem; right: auto; width: 28px; bottom: .45rem; }
  .nav .btn { display: none; }
}
@media (max-width: 420px) {
  .brand__heart { width: 38px; }
  .brand__name { width: 128px; }
  .give-mobile { padding-inline: 1rem; }
}
@media (max-width: 350px) {
  .site-header__inner { gap: .5rem; }
  .brand { gap: .4rem; }
  .brand__heart { width: 34px; }
  .brand__name { width: 104px; }
  .give-mobile { padding-inline: .8rem; }
  .nav-toggle { margin-left: .25rem; }
}

/* =========================================================
   SPLASH FIELD (shared dark panel)
   ========================================================= */
.field {
  position: relative; color: #fff; background-color: var(--plum-900); isolation: isolate; overflow: hidden;
}
.field::before { /* dragon-heart watermark */
  content: ""; position: absolute; z-index: -1; width: min(70vw, 760px); aspect-ratio: 800 / 820;
  right: -8%; top: 50%; transform: translateY(-50%) rotate(-6deg);
  background: url("../img/heart-watermark.webp") center / contain no-repeat; opacity: .07;
}
.field--violet { background-color: var(--violet-700); }
.field--violet::before { opacity: .09; }
.field--deep { background-color: var(--plum-950); }
.field a:not(.btn) { color: var(--mint); }
.field a:not(.btn):hover { color: #fff; }

/* curved orange rule — signature divider from the splash ads */
.curve { display: block; width: 100%; height: 56px; color: var(--orange); }
.curve path.fill { fill: var(--plum-900); }
.curve path.stroke { fill: none; stroke: currentColor; stroke-width: 2; vector-effect: non-scaling-stroke; }

.hero__curve { margin-top: -1px; }

/* =========================================================
   TESTIMONIAL CARDS (donate page)
   ========================================================= */
.voices { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.voices__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.2rem; flex-wrap: wrap; }
.voices__head h2 { font-size: var(--step-4); margin: 0; }
.voices__head p { margin: 0; max-width: 36ch; color: rgba(255,255,255,.8); }
.voices__cols { columns: 3 300px; column-gap: 1.25rem; }
.voice {
  break-inside: avoid; margin: 0 0 1.25rem; padding: 1.4rem 1.4rem 1.2rem; border-radius: var(--radius);
  background: rgba(255,255,255,.07); border: 1px solid var(--line-light); backdrop-filter: blur(6px);
}
.voice blockquote { margin: 0 0 1rem; font-size: .95rem; line-height: 1.6; color: rgba(255,255,255,.92); }
.voice blockquote::before { content: "\201C"; display: block; font-family: var(--serif); font-size: 3rem; line-height: .6; color: var(--orange); margin-bottom: .35rem; }
.voice figcaption { font-size: .8rem; font-weight: 600; color: var(--mint); letter-spacing: .02em; }
.voice--lead { background: rgba(255,255,255,.12); }
.voice--lead blockquote { font-family: var(--serif); font-size: var(--step-1); line-height: 1.4; }

/* =========================================================
   FRIENDS & PARTNERS MARQUEE
   ========================================================= */
.partners { padding-block: clamp(3rem, 7vw, 5rem); background: var(--paper); overflow: hidden; overflow: clip; }
.partners__head { text-align: left; margin-bottom: 1.4rem; }
.partners__head h2 { font-size: var(--step-3); color: var(--plum-900); margin: 0; }
.partners__head p { color: var(--ink-soft); margin: .4rem 0 0; font-size: .9rem; }
.marquee { position: relative; --gap: 1.1rem; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; width: max-content; gap: var(--gap); animation: marquee 60s linear infinite; padding-block: .6rem; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; gap: var(--gap); list-style: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
.logo-chip {
  display: flex; align-items: center; justify-content: center; height: 108px; padding: .9rem 1.3rem; min-width: 150px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.logo-chip img { max-height: 76px; width: auto; max-width: 210px; object-fit: contain; }
.logo-chip--dark { background: var(--plum-900); border-color: var(--plum-900); }
a.logo-chip:hover, a.logo-chip:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--plum-500); }
/* Keyboard use: when a logo link has keyboard focus, stop the scroll and lay every logo out in a wrapped grid so the focused one is always on screen */
.marquee:has(a:focus-visible) { mask-image: none; -webkit-mask-image: none; }
.marquee:has(a:focus-visible) .marquee__track { animation: none; transform: none; width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.marquee:has(a:focus-visible) .marquee__list { flex-wrap: wrap; }
.marquee:has(a:focus-visible) .marquee__list[aria-hidden="true"] { display: none; }
.marquee__ctrl { display: flex; justify-content: center; margin-top: 1.2rem; }
.marquee__ctrl button { font: 600 .8rem var(--sans); letter-spacing: .06em; color: var(--plum-700); background: none; border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1rem; min-height: 44px; cursor: pointer; }
.marquee__ctrl button:hover { background: var(--lavender-soft); }

/* =========================================================
   GIVE BAND — "Save a seat at the table"
   ========================================================= */
.give { padding-block: clamp(3.5rem, 8vw, 6rem); }
.give__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.give h2 { font-size: var(--step-5); margin: 0 0 .3em; }
.give p { font-size: var(--step-1); color: rgba(255,255,255,.88); max-width: 42ch; }
.give__box { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); border-radius: var(--radius-lg); padding: 1.6rem; backdrop-filter: blur(8px); }
.give__amts { display: grid; grid-template-columns: repeat(4, 1fr); gap: .55rem; margin-bottom: 1rem; border: 0; padding: 0; }
.give__amts label { position: relative; }
.give__amts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.give__amts span { display: flex; align-items: center; justify-content: center; min-height: 54px; border-radius: var(--radius); border: 1.5px solid rgba(255,255,255,.45); font-weight: 700; font-size: 1.05rem; transition: background .2s, color .2s, border-color .2s; }
.give__amts input:checked + span { background: #fff; color: var(--plum-900); border-color: #fff; }
.give__amts input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.give__fine { margin: .8rem 0 0; font-size: .78rem !important; color: rgba(255,255,255,.82) !important; text-align: center; max-width: none !important; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--plum-950); color: rgba(255,255,255,.82); padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem; font-size: .9rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1.3fr; gap: 2rem; }
.footer__brand { display: flex; flex-direction: column; gap: 1rem; }
.footer__lockup { display: flex; align-items: center; gap: .8rem; }
.footer__lockup .h { width: 52px; }
.footer__lockup .n { width: 200px; }
.footer__brand p { margin: 0; line-height: 1.55; }
.footer__h { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #fff; margin: 0 0 1rem; }
.site-footer ul { list-style: none; display: grid; gap: .55rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--mint); text-decoration: underline; }
.footer__faith p { margin: 0; line-height: 1.6; }
.footer__faith a { text-decoration: underline; text-decoration-color: var(--aqua); text-underline-offset: .22em; }
.footer__base { margin-top: 2.5rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8rem; color: rgba(255,255,255,.72); }
.footer__base a { color: rgba(255,255,255,.8); }

/* =========================================================
   INNER PAGE HERO
   ========================================================= */
/* Same splash treatment as the home hero: purple field + violet glow + watermark, curved orange-ruled edge, dragon art on the right */
.ph {
  --ph-left: max(var(--gutter), (100vw - var(--wrap)) / 2);
  /* Band height grows a little on wide screens; the art column is capped at about 2.1 times that height so the dragon is never cropped to a thin strip on large monitors */
  --ph-h: clamp(320px, max(44vh, 21vw), 480px);
  --ph-media: min(56%, var(--ph-h) * 2.1);
  position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--plum-900);
  min-height: var(--ph-h); display: flex; align-items: center;
}
@supports (height: 1svh) { .ph { --ph-h: clamp(320px, max(44svh, 21vw), 480px); } }
.ph::before { /* faint dragon-heart watermark on the purple field */
  content: ""; position: absolute; z-index: -1; width: min(40vw, 460px); aspect-ratio: 800 / 820;
  left: -7%; bottom: -34%; transform: rotate(-8deg);
  background: url("../img/heart-watermark.webp") center / contain no-repeat; opacity: .06;
}
.ph::after { /* soft violet glow behind the copy (single hue) */
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: radial-gradient(60% 90% at 18% 30%, rgba(90, 43, 163, .55), transparent 70%);
}
.ph__media { position: absolute; z-index: -2; top: 0; right: 0; bottom: 0; width: 56%; width: var(--ph-media); margin: 0; }
.ph__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--ph-pos, 70% 50%); }
.ph__edge { position: absolute; z-index: -1; display: block; pointer-events: none; }
.ph__edge .fill { fill: var(--plum-900); }
.ph__edge .stroke { fill: none; stroke: var(--orange); stroke-width: 2; vector-effect: non-scaling-stroke; }
.ph__edge--v { top: 0; bottom: 0; left: calc(44% - 1px); left: calc(100% - var(--ph-media) - 1px); width: min(9%, 150px); height: 100%; }
.ph__edge--h { display: none; }
.ph__inner { padding-block: clamp(2rem, 5vh, 3.2rem); }
.ph__copy { width: calc(46vw - var(--ph-left)); max-width: 560px; }
@media (min-width: 1500px) { .ph__copy { width: auto; max-width: 600px; } }
.ph__eyebrow {
  display: flex; align-items: center; gap: .8rem; margin: 0 0 .9rem;
  font: 600 .74rem/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--aqua);
}
.ph__eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; flex: none; }
.ph h1 { font-size: clamp(2.3rem, 1.4rem + 2.6vw, 3.6rem); font-weight: 600; line-height: 1.04; letter-spacing: -.01em; margin: 0; color: #fff; text-wrap: balance; }
.ph h1 em { color: var(--aqua); font-style: italic; }
.ph__spark { margin: 1rem 0; max-width: 300px; color: var(--orange); }
.ph__spark::before, .ph__spark::after { background: #fff; opacity: .4; }
.ph__lede { font-size: clamp(.98rem, .9rem + .3vw, 1.1rem); line-height: 1.6; color: rgba(255, 255, 255, .88); max-width: 46ch; margin: 0; }
@media (max-width: 860px) {
  .ph { display: block; min-height: 0; }
  .ph::after { background: radial-gradient(90% 60% at 20% 80%, rgba(90, 43, 163, .5), transparent 70%); }
  .ph::before { width: 80vw; left: auto; right: -30%; bottom: -20%; }
  .ph__media { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: clamp(300px, 50vw, 420px); }
  .ph__media img { object-position: 50% 0; } /* stacked: keep the top of the art (horns, steeple, sky lantern) */
  .ph__edge--v { display: none; }
  .ph__edge--h { display: block; position: relative; width: 100%; height: 40px; margin-top: -39px; }
  .ph__inner { padding-block: .5rem 2.2rem; }
  .ph__copy { width: auto; max-width: 600px; }
}
@media (max-width: 420px) {
  .ph__eyebrow { letter-spacing: .16em; gap: .6rem; }
  .ph__eyebrow::before { width: 22px; }
}

/* =========================================================
   VIDEO (click-to-load)
   ========================================================= */

.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: 0 20px 50px -20px rgba(0,0,0,.7); border: 1px solid var(--line-light); }
.video iframe, .video button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video button { cursor: pointer; background: center / cover no-repeat; display: flex; align-items: center; justify-content: center; }
.video button::after { content: ""; position: absolute; inset: 0; background: rgba(23,12,43,.35); transition: background .2s; }
.video button:hover::after { background: rgba(23,12,43,.15); }
.video button span { position: relative; z-index: 1; width: 78px; height: 78px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.video button span svg { width: 26px; height: 26px; margin-left: 4px; color: #fff; }

/* =========================================================
   FORMS
   ========================================================= */

.card-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.card-form h2, .card-form h3 { font-size: var(--step-3); color: var(--plum-800); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fgrid .full { grid-column: 1 / -1; }
.f { display: flex; flex-direction: column; gap: .4rem; }
.f label { font-size: .82rem; font-weight: 600; color: var(--ink); }
.f label .req { color: var(--orange-ink); font-weight: 500; font-size: .76rem; margin-left: .3rem; }
.f input, .f textarea, .f select {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--ivory); border: 1.5px solid rgba(29,21,48,.5); border-radius: var(--radius-sm);
  padding: .75rem .9rem; min-height: 48px; transition: border-color .2s, background .2s, box-shadow .2s; width: 100%;
}
.f textarea { min-height: 150px; resize: vertical; }
.f input:focus, .f textarea:focus, .f select:focus { outline: none; border-color: var(--plum-600); background: #fff; box-shadow: 0 0 0 4px rgba(107,78,155,.18); }
.f [aria-invalid="true"] { border-color: #b3261e; background: #fff6f5; }
.f .err { font-size: .78rem; color: #b3261e; margin: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; gap: 1rem; margin-top: 1.4rem; flex-wrap: wrap; }
.form-note { font-size: .78rem; color: var(--ink-soft); margin: 0; }
.demo-note { margin: 1rem 0 0; padding: .7rem .85rem; border-left: 3px solid var(--orange); background: var(--lavender-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .82rem; line-height: 1.5; color: var(--ink); }
.demo-note a { color: var(--violet-700); font-weight: 600; }
.give-card .demo-note { margin: 0 0 1rem; }
.card-form .demo-note { margin: 0 0 1.2rem; }
.field .card-form a:not(.btn), .field .card-form a:not(.btn):hover { color: var(--violet-700); }
.form-success { text-align: left; padding: 1rem 0; }
.form-success h3 { color: var(--forest-700); }

/* =========================================================
   DONATE PAGE
   ========================================================= */
.d-hero { padding-block: clamp(2.4rem, 5vw, 4rem); }
.d-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.d-hero h1 { font-size: var(--step-5); margin: 0 0 .35em; }
.d-hero h1 em { color: var(--orange); font-style: italic; }
.d-hero .lede { font-size: var(--step-1); color: rgba(255,255,255,.9); max-width: 44ch; }
.pillars { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 1.3rem 0 1.6rem; }
.pillars li { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .45rem .8rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); color: var(--mint); }
.d-quote { margin: 0; padding: 1.2rem 1.3rem; border-radius: var(--radius); background: rgba(255,255,255,.07); border: 1px solid var(--line-light); max-width: 48ch; }
.d-quote blockquote { margin: 0 0 .6rem; font-family: var(--serif); font-size: var(--step-1); font-style: italic; line-height: 1.4; }
.d-quote figcaption { font-size: .8rem; color: var(--mint); font-weight: 600; }
.d-party { display: flex; margin-top: 1.8rem; }
.d-party img { width: 74px; height: 96px; object-fit: cover; border-radius: 8px; border: 2px solid #fff; margin-right: -14px; box-shadow: 0 8px 18px -8px rgba(0,0,0,.6); }
.d-party img:nth-child(odd) { transform: rotate(-4deg); } .d-party img:nth-child(even) { transform: rotate(4deg) translateY(6px); }

.give-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(1.3rem, 3vw, 1.9rem); box-shadow: 0 30px 60px -25px rgba(0,0,0,.6); position: relative; }
.give-card a:not(.btn) { color: var(--plum-600); }
.give-card__steps { display: flex; gap: .35rem; margin-bottom: 1rem; }
.give-card__steps span { flex: 1; height: 4px; border-radius: 4px; background: var(--lavender-soft); }
.give-card__steps span.on { background: var(--forest-700); }
.give-card__title { font-size: var(--step-3); color: var(--plum-800); margin-bottom: .7rem; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .3rem; background: var(--ivory); border: 1px solid var(--line); border-radius: 999px; padding: .25rem; margin-bottom: .7rem; }
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; gap: .35rem; min-height: 40px; padding: 0 .5rem; border-radius: 999px; font-size: .84rem; font-weight: 600; color: var(--ink-soft); transition: background .2s, color .2s; text-align: center; line-height: 1.15; }
.seg span em { font-style: normal; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--forest-700); background: rgba(166,230,198,.45); padding: .15rem .4rem; border-radius: 999px; }
.seg input:checked + span { background: var(--plum-700); color: #fff; }
.seg input:checked + span em { color: var(--forest-900); background: var(--mint); }
.seg input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 1px; }
.seg--sm span { min-height: 36px; font-size: .8rem; }
.amounts { border: 0; padding: 0; margin: .4rem 0 .6rem; }
.amounts__grid { display: grid; gap: .5rem; }
.amt { position: relative; }
.amt input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.amt span { display: flex; align-items: baseline; justify-content: center; gap: .1rem; min-height: 54px; padding-top: .9rem; border-radius: var(--radius-sm); border: 1.5px solid rgba(29,21,48,.16); font-weight: 700; font-size: 1.1rem; color: var(--ink); transition: background .15s, border-color .15s, color .15s; }
.amt span small { font-size: .7rem; font-weight: 600; color: var(--ink-soft); }
.amt input:checked + span { background: var(--forest-700); border-color: var(--forest-700); color: #fff; }
.amt input:checked + span small { color: rgba(255,255,255,.8); }
.amt input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.other { position: relative; display: block; margin-top: .5rem; }
.other--cell { margin-top: 0; }
.other__cur { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--ink-soft); }
.other input { width: 100%; min-height: 54px; border-radius: var(--radius-sm); border: 1.5px solid rgba(29,21,48,.16); padding: 0 1rem 0 1.9rem; font: 700 1.05rem var(--sans); color: var(--ink); background: #fff; }
.other input:focus { outline: none; border-color: var(--plum-600); box-shadow: 0 0 0 4px rgba(107,78,155,.18); }
.impact-line { display: flex; gap: .7rem; align-items: flex-start; background: var(--lavender-soft); border-radius: var(--radius-sm); padding: .75rem .85rem; font-size: .84rem; line-height: 1.45; margin: .7rem 0 1rem; min-height: 3.6rem; }
.impact-line img { width: 28px; flex: none; }
.give-card .f { margin-bottom: .8rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.secure { display: flex; gap: .4rem; align-items: center; justify-content: center; font-size: .74rem; color: var(--ink-soft); margin: .8rem 0 0; text-align: center; }
.back { background: none; border: 0; padding: .3rem 0; font: 600 .84rem var(--sans); color: var(--plum-600); cursor: pointer; margin-bottom: .5rem; min-height: 40px; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .86rem; margin: .3rem 0 .8rem; cursor: pointer; line-height: 1.4; }
.check input { width: 20px; height: 20px; accent-color: var(--forest-700); flex: none; margin-top: 1px; }
.check--fee { background: var(--ivory); border-radius: var(--radius-sm); padding: .7rem .8rem; }
.tribute { padding: .8rem; border-radius: var(--radius-sm); border: 1px dashed var(--line); margin-bottom: .8rem; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: .7rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: .5rem 0 1rem; }
.total strong { font-family: var(--serif); font-size: 1.7rem; color: var(--plum-800); }
.pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; }
.pay__btn { min-height: 46px; border-radius: var(--radius-sm); border: 0; font: 700 .9rem var(--sans); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: .3rem; }
.pay__btn--apple { background: #000; color: #fff; }
.pay__btn--google { background: #fff; color: #3c4043; border: 1.5px solid #dadce0; }
.pay__btn--google b { color: #4285f4; }
.pay__btn--paypal { background: #ffc439; color: #003087; font-style: italic; }
.or { display: flex; align-items: center; gap: .6rem; font-size: .74rem; color: var(--ink-soft); margin: .9rem 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.form-error { background: #fff3f2; color: #8c1d18; border-radius: var(--radius-sm); padding: .6rem .8rem; font-size: .84rem; }
.step--thanks { text-align: center; }
.step--thanks:focus { outline: none; }
.thanks__icon { width: 74px; margin: 0 auto .6rem; }
.upsell { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; margin: 1rem 0; text-align: left; }
.upsell__title { font-weight: 700; color: var(--forest-700); margin-bottom: .3rem; }
.upsell__actions { display: grid; gap: .4rem; margin-top: .6rem; }
.link-btn { background: none; border: 0; color: var(--plum-600); font: 600 .86rem var(--sans); cursor: pointer; text-decoration: underline; min-height: 44px; }
.share { margin: 1rem 0; }
.share p { font-weight: 600; font-size: .84rem; margin-bottom: .4rem; }
.share__row { display: flex; justify-content: center; gap: .4rem; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; min-height: 38px; padding: 0 .9rem; font: 600 .8rem var(--sans); cursor: pointer; color: var(--plum-700); }

.impact { padding-block: clamp(3rem, 7vw, 5.5rem); }
.impact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.impact h2, .ways h2, .faq h2, .sponsors h2 { font-size: var(--step-4); }
.impact h2, .ways h2, .faq h2 { color: var(--plum-800); }
.impact__intro p { color: var(--ink-soft); }
.ladder { list-style: none; padding: 0; margin: 0; }
.ladder li { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; align-items: baseline; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.ladder__amt { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--forest-700); line-height: 1; }
.sponsors { padding-block: clamp(3rem, 7vw, 5.5rem); }
.sponsors__head { max-width: 640px; margin-bottom: 2rem; }
.sponsors__head p { color: rgba(255,255,255,.85); }
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; margin-bottom: 2rem; }
.tier { background: rgba(255,255,255,.07); border: 1px solid var(--line-light); border-radius: var(--radius); padding: 1.3rem; position: relative; }
.tier h3 { font-size: var(--step-2); margin-bottom: .2rem; }
.tier__amt { font-family: var(--serif); font-size: 2.2rem; font-weight: 700; color: var(--orange); margin: 0 0 .8rem; line-height: 1; }
.tier ul { list-style: none; display: grid; gap: .4rem; font-size: .86rem; color: rgba(255,255,255,.85); }
.tier ul li::before { content: "+ "; color: var(--mint); font-weight: 700; }
.tier--feature { background: #fff; color: var(--ink); border-color: #fff; }
.tier--feature ul { color: var(--ink-soft); }
.tier--feature ul li::before { color: var(--forest-700); }
.tier--feature .tier__amt { color: var(--orange-ink); }
.tier__tag { position: absolute; top: -.7rem; right: 1rem; background: var(--forest-700); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px; margin: 0; }
.ways { padding-block: clamp(3rem, 7vw, 5.5rem); }
.ways__grid { display: grid; grid-template-columns: .6fr 1.4fr; gap: 2.5rem; }
.ways__list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 2rem; margin: 0; }
.ways__list dt { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--plum-800); }
.ways__list dd { margin: .2rem 0 0; color: var(--ink-soft); font-size: .92rem; }
.faq { padding-block: clamp(3rem, 7vw, 5rem); background: var(--paper); }
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { font-family: var(--serif); font-size: var(--step-2); font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; min-height: 44px; align-items: center; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--orange-ink); font-size: 1.4rem; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); margin: .5rem 0 0; }
.sticky-give { position: fixed; left: 0; right: 0; bottom: 0; padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); z-index: 90; transform: translateY(110%); transition: transform .25s; display: none; }
.sticky-give.is-on { transform: none; }

/* ---------- Reveal (progressive; content visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 960px) {
  .give__grid, .d-hero__grid, .impact__grid, .ways__grid { grid-template-columns: minmax(0, 1fr); }
  .sticky-give { display: block; }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .give__amts { grid-template-columns: repeat(2, 1fr); }
  .fgrid, .row2, .ways__list { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .logo-chip { height: 88px; min-width: 120px; padding: .7rem 1rem; }
  .logo-chip img { max-height: 60px; max-width: 160px; }
  .ladder li { grid-template-columns: 4.5rem 1fr; }
  .pay { grid-template-columns: 1fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee__track { animation: none !important; width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee__list { flex-wrap: wrap; justify-content: center; }
  .marquee__list[aria-hidden="true"] { display: none; }
  .marquee__ctrl { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Curved rule height on short and small screens ---------- */
@media (min-width: 961px) and (max-height: 940px) {
  .curve { height: 40px; }
}

@media (max-width: 640px) {
  .curve { height: 36px; }
}

/* Fixes: icon size inside buttons; eyebrows keep their label style inside sections with large paragraph styles */
.btn svg { width: 12px; height: 12px; flex: none; }
.give p.eyebrow, .voices p.eyebrow, .d-hero p.eyebrow {
  font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .26em; line-height: 1.5; max-width: none; margin: 0 0 .9rem;
}
.nav a.btn[aria-current="page"], .give-mobile[aria-current="page"] { color: #fff; } .nav a.btn[aria-current="page"]::after { display: none; }
.js .reveal { opacity: 1; transform: translateY(10px); }
.js .reveal.is-in { transform: none; }
/* =========================================================
   HOME PAGE (index.html) — owned by home_designer
   ========================================================= */
.home { --left: max(var(--gutter), (100vw - var(--wrap)) / 2); }

/* ---------- HERO: splash field + curved orange edge + lantern dragon (rev 3: one third shorter, logo lockup) ---------- */
.hh {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--plum-900);
  min-height: clamp(430px, 61vh, 580px);
  display: flex; align-items: center;
}
.hh::before { /* faint dragon-heart watermark on the purple field */
  content: ""; position: absolute; z-index: -1; width: min(40vw, 520px); aspect-ratio: 800 / 820;
  left: -7%; bottom: -30%; transform: rotate(-8deg);
  background: url("../img/heart-watermark.webp") center / contain no-repeat; opacity: .06;
}
.hh::after { /* soft violet glow behind the copy (single hue, no blue) */
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: radial-gradient(55% 90% at 16% 35%, rgba(90, 43, 163, .55), transparent 70%);
}
.hh__media { position: absolute; z-index: -2; top: 0; right: 0; bottom: 0; width: 50%; margin: 0; }
.hh__media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 42%; }
.hh__edge { position: absolute; z-index: -1; display: block; pointer-events: none; }
.hh__edge .fill { fill: var(--plum-900); }
.hh__edge .stroke { fill: none; stroke: var(--orange); stroke-width: 2; vector-effect: non-scaling-stroke; }
.hh__edge--v { top: 0; bottom: 0; left: calc(50% - 1px); width: 9%; height: 100%; }
.hh__edge--h { display: none; }

.hh__inner { padding-block: clamp(1.1rem, 3.4vh, 2.6rem); }
.hh__copy { width: calc(52vw - var(--left)); max-width: 640px; }

.hh__brand { display: flex; align-items: center; gap: clamp(.9rem, 1.6vw, 1.3rem); margin: 0 0 clamp(.9rem, 2.2vh, 1.4rem); }
.hh__brand { position: relative; }
.hh__heart { width: auto; height: clamp(84px, 11vh, 104px); flex: none; filter: drop-shadow(0 0 18px rgba(203, 185, 242, .28)) drop-shadow(0 6px 14px rgba(0, 0, 0, .3)); }
.hh__brand-text { display: flex; flex-direction: column; gap: .55rem; min-width: 0; }
.hh__name { width: clamp(280px, 25vw, 330px); height: auto; }
.hh__eyebrow {
  display: flex; align-items: center; gap: .7rem; margin: 0;
  font: 600 .72rem/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--aqua);
}
.hh__eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.hh__title {
  font-size: max(2rem, min(3.3vw, 6.4vh, 3.3rem)); font-weight: 600; line-height: 1.04; letter-spacing: -.01em;
  margin: 0; color: #fff; text-wrap: balance;
}
.hh__title em { color: var(--aqua); font-style: italic; font-weight: 600; white-space: nowrap; }
.hh__spark { margin: clamp(.6rem, 1.6vh, 1rem) 0; max-width: 300px; }
.hh__spark::before, .hh__spark::after { background: #fff; opacity: .4; }
.hh__lede { font-size: clamp(.92rem, .86rem + .2vw, 1.02rem); line-height: 1.6; color: rgba(255, 255, 255, .88); max-width: 62ch; margin: 0; }
.hh__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: clamp(.9rem, 2.2vh, 1.4rem); }
.hh__btn { --bg: var(--teal-500); --fg: var(--plum-900); }
.hh__btn:hover { --bg: var(--aqua); --fg: var(--plum-900); }

@media (max-width: 860px) {
  .hh { display: block; min-height: 0; }
  .hh::after { background: radial-gradient(90% 60% at 20% 80%, rgba(90, 43, 163, .5), transparent 70%); }
  .hh::before { width: 70vw; left: auto; right: -24%; bottom: -16%; }
  .hh__media { position: relative; width: 100%; aspect-ratio: 9 / 4; z-index: -2; }
  .hh__media img { object-position: 74% 46%; }
  .hh__edge--v { display: none; }
  .hh__edge--h { display: block; position: relative; width: 100%; height: 36px; margin-top: -35px; }
  .hh__inner { padding-block: .2rem 1.8rem; }
  .hh__copy { width: auto; max-width: none; }
  .hh__heart { height: 80px; }
  .hh__name { width: 270px; }
  .hh__title { font-size: clamp(1.75rem, 5.6vw, 2.6rem); }
}
@media (max-width: 520px) {
  .hh__media { aspect-ratio: 21 / 10; }
  .hh__media img { object-position: 76% 50%; }
  .hh__edge--h { height: 26px; margin-top: -25px; }
  .hh__inner { padding-block: 0 1.4rem; }
  .hh__brand { gap: .75rem; margin-bottom: .7rem; }
  .hh__heart { height: 64px; }
  .hh__name { width: min(210px, 56vw); }
  .hh__brand-text { gap: .35rem; }
  .hh__eyebrow { font-size: .62rem; letter-spacing: .14em; gap: .45rem; }
  .hh__eyebrow::before { width: 16px; }
  .hh__title { font-size: 1.75rem; line-height: 1.06; }
  .hh__spark { margin: .5rem 0; max-width: 220px; }
  .hh__lede { font-size: .86rem; line-height: 1.5; }
  .hh__actions { margin-top: .85rem; gap: .5rem; }
  .hh__actions { flex-wrap: nowrap; }
  .hh__actions .btn { min-height: 44px; padding: .5rem .7rem; font-size: .78rem; letter-spacing: 0; white-space: nowrap; }
  .hh__actions .btn:first-child { flex: 1 0 auto; }
}

/* ---------- PROGRAMS ---------- */
.progs { background: var(--ivory); padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 5vw, 4rem); }
.home .progs, .home .stories { scroll-margin-top: var(--header-h); }
.progs__head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: clamp(1rem, 3vw, 2rem); }
.progs__head .eyebrow { margin: 0; color: var(--plum-600); }
.progs__head .spark { width: 220px; margin: .6rem 0 0; }
.progs__list { display: grid; gap: clamp(3.5rem, 8vw, 6.5rem); }

.prog {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(2rem, 5.5vw, 5rem); align-items: center;
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.prog--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
.prog--flip .prog__media { order: 2; }
.prog__media {
  position: relative; margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 6 / 5;
  background: var(--plum-800); box-shadow: 0 30px 60px -36px rgba(34, 18, 61, .6);
}
.prog__media img { width: 100%; height: 100%; object-fit: cover; }
.prog__media figcaption {
  position: absolute; left: 1rem; bottom: 1rem; max-width: calc(100% - 2rem);
  padding: .42rem .85rem; border-radius: 999px; background: rgba(23, 12, 43, .72); backdrop-filter: blur(6px);
  color: #fff; font: 500 .76rem/1.3 var(--sans); letter-spacing: .02em;
}
.prog__eyebrow { display: flex; align-items: center; gap: .8rem; color: var(--plum-600); margin-bottom: .7rem; }
.prog__eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; flex: none; }
.prog__title { font-size: var(--step-5); line-height: 1; color: var(--plum-800); margin: 0 0 .35em; letter-spacing: -.01em; }
.prog__title span { color: var(--teal-700); }
.prog__lead { color: var(--ink-soft); font-size: var(--step-0); line-height: 1.65; max-width: 48ch; margin-bottom: 1.4rem; }
.prog__facts { margin: 0 0 1.6rem; border-top: 1px solid var(--line); }
.prog__facts div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 1rem; align-items: baseline; padding: .78rem 0; border-bottom: 1px solid var(--line); }
.prog__facts dt { font-weight: 600; font-size: .84rem; color: var(--ink); }
.prog__facts dd { margin: 0; font-size: .86rem; line-height: 1.45; color: var(--ink-soft); text-align: right; }
.prog__facts dd strong { color: var(--ink); font-weight: 700; }
.prog__callout {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--violet-700); color: #fff; border-radius: 20px; padding: 1.4rem 1.6rem 1.3rem;
}
.prog__callout::after {
  content: ""; position: absolute; z-index: -1; right: -28px; top: -30px; width: 150px; aspect-ratio: 800 / 820;
  background: url("../img/heart-watermark.webp") center / contain no-repeat; opacity: .12; transform: rotate(-8deg);
}
.prog__callout > p:first-child { font-family: var(--serif); font-size: clamp(1.25rem, 1.1rem + .55vw, 1.55rem); font-weight: 600; line-height: 1.25; margin: 0 0 .8rem; }
.prog__callout em { font-style: normal; color: var(--aqua); }
.prog__more { margin: 0; font-size: .82rem; line-height: 1.5; color: rgba(255, 255, 255, .82); }
.prog__more a { color: var(--aqua); font-weight: 600; text-decoration: none; display: inline-flex; gap: .35rem; align-items: baseline; overflow-wrap: anywhere; padding-block: .3rem; }
.prog__more a:hover { color: #fff; text-decoration: underline; }
.prog__more a span { transition: transform .2s; }
.prog__more a:hover span { transform: translateX(3px); }

@media (max-width: 900px) {
  .prog, .prog--flip { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .prog--flip .prog__media { order: 0; }
  .prog__media { aspect-ratio: 4 / 3; border-radius: 22px; }
}
@media (max-width: 520px) {
  .prog__facts div { grid-template-columns: minmax(0, 1fr); gap: .15rem; }
  .prog__facts dd { text-align: left; }
  .prog__callout { padding: 1.2rem 1.25rem; }
  .prog__media figcaption { left: .7rem; bottom: .7rem; max-width: calc(100% - 1.4rem); font-size: .68rem; padding: .38rem .7rem; border-radius: 12px; }
  .prog__eyebrow, .stories .stories__eyebrow { letter-spacing: .16em; gap: .6rem; }
  .prog__eyebrow::before, .stories__eyebrow::before { width: 22px; }
}

/* ---------- STAY CONNECTED BAR (bright purple, matches "Save a seat") ---------- */
.connect { background: var(--violet-700); color: #fff; }
.connect__inner { display: flex; align-items: center; gap: 1rem 1.5rem; padding-block: 1.5rem; flex-wrap: wrap; }
.connect__heart { width: 46px; height: auto; flex: none; filter: brightness(0) invert(1); opacity: .9; }
.connect p { margin: 0 auto 0 0; font-family: var(--serif); font-size: var(--step-2); font-weight: 600; line-height: 1.15; }
.connect p span { color: var(--aqua); font-style: italic; }
@media (max-width: 640px) {
  .connect__heart { display: none; }
  .connect .btn { width: 100%; }
}

/* ---------- FRIENDS AND PARTNERS (marquee from partials) — heading matches #stories-title ---------- */
.home-partners .partners__head { text-align: left; }
.home-partners .partners__head h2, .stories__head h2 {
  font-family: var(--serif); font-weight: 600; font-size: var(--step-4); line-height: 1.08; letter-spacing: -.005em;
}
.home-partners .partners__head h2 { color: var(--plum-900); }

/* ---------- STORIES CAROUSEL ---------- */
.stories { padding-block: clamp(3.5rem, 8vw, 6rem); overflow: clip; }
.stories__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.2rem 2rem; flex-wrap: wrap; margin-bottom: clamp(1.6rem, 4vw, 2.6rem); }
.stories__head h2 { font-size: var(--step-4); color: #fff; margin: 0; }
.stories .stories__eyebrow { display: flex; align-items: center; gap: .8rem; color: var(--aqua); margin: 0 0 .8rem; }
.stories__eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; flex: none; }
.stories__ctrl { display: flex; align-items: center; gap: .8rem; }
.stories__ctrl[hidden] { display: none; }
.stories__btn {
  width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; cursor: pointer;
  transition: background .25s, border-color .25s, color .25s, transform .25s;
}
.stories__btn svg { width: 20px; height: 20px; }
.stories__btn:hover { background: var(--teal-500); border-color: var(--teal-500); color: var(--plum-900); transform: scale(1.05); }
.stories__count { min-width: 4.5ch; text-align: center; font-size: .86rem; color: rgba(255, 255, 255, .78); font-variant-numeric: tabular-nums; }

.stories__track {
  --card: min(560px, calc(100vw - 2 * var(--gutter) - 1.5rem));
  position: relative; display: flex; gap: 1.5rem; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent;
  padding: .4rem 0 1.2rem var(--left);
  scroll-padding-inline: var(--left);
}
.stories__track::after { content: ""; flex: 0 0 max(1px, calc(100vw - var(--card) - var(--left) - 1.5rem)); }
.stories__track:focus-visible { outline-offset: -3px; }
.story {
  flex: 0 0 var(--card); scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 1.6rem;
  padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 22px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px);
  transition: background .4s, border-color .4s;
}
.story blockquote { margin: 0; }
.story blockquote p { margin: 0; font-family: var(--serif); font-size: clamp(1.15rem, 1.05rem + .45vw, 1.38rem); font-weight: 600; line-height: 1.42; color: #fff; transition: color .4s; }
.story--long blockquote p { font-size: clamp(1.05rem, 1rem + .25vw, 1.16rem); line-height: 1.45; }
.story figcaption { font-size: .82rem; color: rgba(255, 255, 255, .78); line-height: 1.45; transition: color .4s; }
.story figcaption strong { display: block; color: var(--aqua); font-weight: 600; font-size: .9rem; }
.story.is-dim { background: rgba(255, 255, 255, .035); border-color: rgba(255, 255, 255, .1); }
.story.is-dim blockquote p, .story.is-dim figcaption { color: rgba(255, 255, 255, .58); }
.story.is-dim figcaption strong { color: rgba(95, 212, 204, .7); }
.story:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

@media (max-width: 640px) {
  .stories__track { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .stories__track { scroll-behavior: auto; }
}
/* =========================================================
   Meet the Team page (Revision 2 — Program-section editorial system)
   ========================================================= */

/* ---------- Editorial Eyebrow with short leading rule ---------- */
.tm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin: 0 0 .85rem;
}
.tm-eyebrow::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: currentColor;
  flex: none;
}
.tm-eyebrow--aqua {
  color: var(--aqua);
}

/* ---------- Bio Sections (Dr Phillip & Pastor John) ---------- */
.tm-bio {
  padding-block: clamp(3.4rem, 7vw, 5.75rem);
}
.tm-bio--ivory {
  background: var(--ivory);
}
.tm-bio__grid {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  gap: clamp(2.2rem, 5.5vw, 4.8rem);
  align-items: start;
}
.tm-bio__grid--reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
}

.tm-bio__media,
.tm-john__gallery {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

/* Rounded photo frame with Program-section bottom-left caption chip */
.tm-frame {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--plum-950);
  box-shadow: var(--shadow);
}
.tm-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tm-frame--portrait {
  aspect-ratio: 3 / 4;
}
.tm-frame--portrait img {
  object-position: center 15%;
}

.tm-chip {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  background: rgba(23, 12, 43, .88);
  color: #fff;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .02em;
  padding: .42rem .9rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.tm-name {
  font-size: var(--step-5);
  color: var(--plum-900);
  margin: 0 0 .15em;
  line-height: 1.04;
}
.tm-bio__content .spark {
  margin: .9rem 0 1.5rem;
  max-width: 240px;
}
.tm-lead {
  font-family: var(--serif);
  font-size: clamp(1.26rem, 1.12rem + .5vw, 1.5rem);
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 1.4rem;
}
.tm-bio__content p:not(.tm-eyebrow):not(.tm-lead) {
  font-size: .98rem;
  line-height: 1.74;
  color: var(--ink-soft);
  max-width: 64ch;
}

/* Hairline-divided fact rows (Program-section.png pattern) */
.tm-facts {
  margin: 1.6rem 0 1.9rem;
  border-top: 1px solid var(--line);
}
.tm-fact {
  display: grid;
  grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr);
  gap: .5rem 1.25rem;
  align-items: baseline;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
}
.tm-fact dt {
  font-family: var(--sans);
  font-size: .86rem;
  font-weight: 700;
  color: var(--plum-900);
}
.tm-fact dd {
  margin: 0;
  font-size: .88rem;
  line-height: 1.45;
  color: var(--ink-soft);
  text-align: right;
}

/* ---------- Dr Phillip: Friends along the way ---------- */
.tm-friends {
  padding-block: clamp(3rem, 6.5vw, 4.75rem);
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.tm-friends__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.tm-friends__intro {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 1.35rem;
  max-width: 44ch;
}

/* Purple rounded callout box (Program-section.png pattern) */
.tm-callout {
  background: var(--violet-700);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  box-shadow: 0 18px 38px -22px rgba(74, 31, 140, .55);
}
.tm-callout blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2.05rem);
  font-weight: 600;
  line-height: 1.22;
  color: #fff;
}
.tm-callout blockquote b {
  color: var(--aqua);
  font-weight: 700;
}
.tm-callout cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: .84rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .86);
}

.tm-friends__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  align-items: stretch;
}
.tm-photo-link {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--plum-950);
}
.tm-friends__photos .tm-photo-link {
  aspect-ratio: 4 / 3;
}
.tm-photo-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .4s ease;
}
.tm-photo-link:hover img,
.tm-photo-link:focus-visible img {
  transform: scale(1.03);
}

/* ---------- Podcast Bar (Bright Purple matching Home page) ---------- */
.tm-podcast {
  background-color: var(--violet-700);
  padding-block: clamp(3.4rem, 7vw, 5.25rem);
}
.tm-podcast__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.tm-podcast__body h2 {
  font-size: var(--step-4);
  color: #fff;
  margin: 0;
}
.tm-podcast__body .spark {
  margin: 1rem 0 1.25rem;
  max-width: 220px;
}
.tm-podcast__body p:not(.tm-eyebrow) {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .92);
  margin: 0;
}
.tm-podcast__body a {
  color: var(--aqua);
  font-weight: 600;
}
.tm-podcast__body a:hover {
  color: #fff;
}
.tm-podcast__video {
  border-color: rgba(255, 255, 255, .22);
}
.tm-podcast__video button span {
  background: var(--teal-500);
}
.tm-podcast__video button span svg {
  color: var(--plum-900);
}

/* ---------- Pastor John Photo Gallery ---------- */
.tm-john__gallery {
  display: grid;
  gap: 1.15rem;
}
.tm-john__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}
.tm-john__gallery .tm-photo-link {
  border-radius: 0;
  box-shadow: none;
}
.tm-frame--tall {
  aspect-ratio: 4 / 5;
}
.tm-frame--tall img {
  object-position: center 22%;
}
.tm-john__pair .tm-frame--tall:first-child img {
  object-position: center 42%;
}
.tm-frame--wide {
  aspect-ratio: 3 / 2;
}
.tm-frame--wide img {
  object-position: center 20%;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .tm-bio__grid,
  .tm-bio__grid--reverse,
  .tm-friends__grid,
  .tm-podcast__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .tm-bio__media,
  .tm-john__gallery {
    position: static;
  }
  .tm-bio__media {
    max-width: 440px;
  }
  .tm-bio__grid--reverse .tm-john__gallery {
    max-width: 600px;
  }
}

@media (max-width: 640px) {
  .tm-fact {
    grid-template-columns: minmax(0, 1fr);
    gap: .2rem;
  }
  .tm-fact dd {
    text-align: left;
  }
  .tm-friends__photos {
    grid-template-columns: minmax(0, 1fr);
  }
  .tm-john__pair {
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
  }
  .tm-chip {
    left: .55rem;
    bottom: .55rem;
    font-size: .68rem;
    padding: .3rem .65rem;
    max-width: calc(100% - 1.1rem);
  }
}
/* Speaking and consultation / Contact */
.speaking-proof,
.speaking-request,
.contact-inquiry {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.speaking-proof__head {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  margin-bottom: clamp(1.75rem, 4vw, 2.8rem);
}

.speaking-proof__head h2,
.contact-inquiry__details h2 {
  color: var(--plum-800);
  font-size: var(--step-5);
  margin: 0;
  text-wrap: initial;
}

.speaking-proof__head h2 {
  font-size: var(--step-4);
}

.speaking-proof__head p {
  border-inline-start: 2px solid var(--orange);
  padding-inline-start: 1.1rem;
  color: var(--plum-700);
  font-size: var(--step--1);
  font-weight: 650;
  margin: 0;
}

.speaking-proof__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  list-style: none;
}

.speaking-proof__stat {
  display: grid;
  align-content: start;
  gap: .8rem;
  padding: clamp(1.3rem, 3vw, 2rem);
  border-radius: var(--radius);
  background: var(--violet-700);
  color: var(--paper);
}

.speaking-proof__stat--lead {
  grid-column: span 2;
  background: var(--plum-800);
}

.speaking-proof__stat--teal {
  background: var(--teal-500);
  color: var(--plum-950);
  border: 1px solid var(--teal-500);
}

.speaking-proof__stat > span {
  font: 600 var(--step-4) / 1 var(--serif);
}

.speaking-proof__stat p {
  max-width: 68ch;
  margin: 0;
}

.inquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(2.75rem, 6vw, 5.5rem);
}

.inquiry-kicker {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.inquiry-kicker::before {
  content: "";
  width: 1.55rem;
  height: 1px;
  flex: none;
  background: currentColor;
}

.speaking-request__topics .inquiry-kicker {
  color: var(--aqua);
}

.speaking-request__topics > h2 {
  font-size: var(--step-3);
  line-height: 1.17;
  text-wrap: pretty;
  margin: 0;
}

.speaking-request__list {
  list-style: none;
  counter-reset: speaking-topic;
  padding: 0;
  margin: 1.6rem 0;
  border-top: 1px solid var(--line-light);
}

.speaking-request__list li {
  counter-increment: speaking-topic;
  display: grid;
  grid-template-columns: 1.7rem 1fr;
  gap: .65rem;
  align-items: baseline;
  padding: .75rem 0;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.18;
}

.speaking-request__list li::before {
  content: counter(speaking-topic, decimal-leading-zero);
  font: 700 .75rem / 1 var(--sans);
  color: var(--orange);
  letter-spacing: .08em;
}

.speaking-request__callout {
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  background: rgb(255 255 255 / .09);
}

.speaking-request__callout h3 {
  color: var(--aqua);
  font-size: var(--step-2);
  margin: 0 0 .25rem;
}

.speaking-request__callout p {
  margin: 0;
}

.speaking-request__shortcut {
  display: none;
  margin-block-start: 1.35rem;
}

.speaking-request__intro {
  color: var(--ink-soft);
  margin: 0 0 1.4rem;
}

.contact-inquiry__details {
  padding-block-start: clamp(0rem, 3vw, 2rem);
}

.contact-inquiry__details > p:not(.eyebrow) {
  color: var(--ink-soft);
  margin: 0;
}

.contact-inquiry__details > p:not(.eyebrow) + p {
  margin-block-start: .8rem;
}

.contact-inquiry__details a {
  overflow-wrap: anywhere;
}

@media (max-width: 880px) {
  .inquiry-grid,
  .speaking-proof__head {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-inquiry__details {
    padding-block-start: 0;
  }

  .speaking-request__shortcut {
    display: inline-flex;
  }

  .speaking-proof__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .speaking-proof__stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .speaking-proof__stat--lead {
    grid-column: auto;
  }
}
/* =========================================================
   DONATE PAGE — revision 2 palette (purple + logo light green)
   ========================================================= */
.d-hero h1 em { color: var(--aqua); }
.pillars li { color: #fff; border-color: rgba(95, 212, 204, .55); }
.tier__amt { color: var(--aqua); }
.tier--feature .tier__amt { color: var(--violet-700); }
.tier__tag { background: var(--teal-500); color: var(--plum-950); }
.sponsors .tier { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); }
.sponsors .tier--feature { background: #fff; border-color: #fff; }
.voice blockquote::before { color: var(--aqua); }
.ladder__amt { color: var(--violet-700); }
.ways__list { grid-template-columns: 1fr 1fr; }
.give-card__steps span.on { background: var(--teal-500); }
.amt input:checked + span { background: var(--violet-700); border-color: var(--violet-700); }
.seg span em { color: var(--teal-900); background: var(--aqua-soft); }
.seg input:checked + span em { color: var(--plum-950); background: var(--aqua); }
.upsell__title, .form-success h3 { color: var(--teal-700); }
.check input { accent-color: var(--violet-700); }
@media (max-width: 640px) { .ways__list { grid-template-columns: 1fr; } }

/* Revision 3: the page title now sits in the shared splash hero (.ph); the gift form section continues the same purple field below it */
.d-hero { background: var(--plum-900); padding-block: clamp(2rem, 4vw, 3.2rem) clamp(2.6rem, 5vw, 4rem); }
.d-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(50% 60% at 82% 20%, rgba(90, 43, 163, .5), transparent 70%); }
.d-hero .pillars { margin-top: 0; }
