/* EPES Charity — draft stylesheet. Mobile-first, no frameworks. */
:root {
  --teal-950: #062128;
  --teal-900: #0a2f37; /* sampled from logo */
  --teal-800: #0f3d47;
  --teal-700: #17515d;
  --teal-500: #3f8792;
  --teal-100: #e1eeec;
  --gold-500: #e0aa4f;
  --gold-400: #ecc178;
  --gold-200: #f6e2b8;
  --gold-700: #8a5a12;
  --cream: #fbf7f0;
  --sand: #f4ecdf;
  --ink: #15292e;
  --muted: #4a5f63;
  --line: #e6dccb;

  --serif: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 96px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgb(10 47 55 / .06), 0 8px 24px -8px rgb(10 47 55 / .14);
  --shadow-lg: 0 2px 4px rgb(10 47 55 / .06), 0 24px 48px -16px rgb(10 47 55 / .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
[role="list"] { list-style: none; }
em { font-style: italic; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--teal-900); color: #fff; padding: 12px 16px; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: min(100% - 40px, 1180px); margin-inline: auto; }
.wrap-narrow { width: min(100% - 40px, 820px); }

/* Placeholder marker */
.ph {
  background: var(--gold-200);
  color: var(--gold-700);
  font-family: var(--sans);
  font-style: normal;
  font-size: .86em;
  font-weight: 600;
  padding: .05em .4em;
  border-radius: 6px;
  border-bottom: 1.5px dashed var(--gold-700);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.ph-dark { background: rgb(224 170 79 / .18); color: var(--gold-400); border-bottom-color: var(--gold-400); }

/* Top bar */
.top-bar { display: flex; justify-content: center; text-align: center; padding: 4px 20px; background: var(--sand); border-bottom: 1px solid var(--line); }
.inline-link { color: var(--teal-700); font-weight: 600; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { font-size: .92rem; color: var(--muted); }
.form-foot a { color: var(--teal-700); font-weight: 600; text-underline-offset: 3px; padding-block: 12px; }
.form-success { text-align: center; padding: var(--s3) 0; outline: none; }
.form-success svg { width: 72px; height: 72px; margin: 0 auto var(--s2); }
.form-success h3 { font-size: 1.6rem; color: var(--teal-900); margin-bottom: 8px; }
.form-success p { color: var(--muted); margin-bottom: 12px; }
.zelle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.zelle-email { font-family: var(--serif); font-size: clamp(1.15rem, 4.6vw, 1.35rem); font-weight: 600; overflow-wrap: anywhere; }
.btn-copy { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--teal-900); color: #fff; font: 600 .95rem/1 var(--sans); cursor: pointer; transition: background .2s; }
.btn-copy:hover { background: var(--teal-700); }
.btn-copy.is-copied { background: #2f7a4f; }
.copy-status { font-size: .85rem; color: var(--teal-700); margin-top: 6px; }
.copy-status:empty { display: none; }
.donate-note a { color: var(--gold-400); font-weight: 600; text-underline-offset: 3px; }
.footer-mail { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 600; text-underline-offset: 3px; }
.footer-legal a { color: rgb(255 255 255 / .8); display: inline-flex; min-height: 44px; align-items: center; }

/* Draft bar (unused) */
.draft-bar {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
  padding: 6px 20px; font-size: .78rem; line-height: 1.4;
  background: var(--sand); color: var(--muted); border-bottom: 1px solid var(--line);
}
.draft-bar .ph { font-size: .95em; }
.hide-sm { display: none; }
@media (min-width: 640px) { .hide-sm { display: inline; } .show-sm { display: none; } }
.bsd { font-family: var(--serif); font-size: .95rem; color: var(--teal-900); flex: none; }

/* Buttons */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px;
  border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { --h: 44px; padding: 0 18px; font-size: .95rem; }
.btn-lg { --h: 56px; padding: 0 30px; font-size: 1.06rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold-500); color: var(--teal-950); box-shadow: 0 6px 18px -6px rgb(224 170 79 / .7); }
.btn-gold:hover { background: var(--gold-400); box-shadow: 0 10px 24px -8px rgb(224 170 79 / .8); }
.btn-teal { background: var(--teal-900); color: #fff; }
.btn-teal:hover { background: var(--teal-700); }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn-ghost-light { color: #fff; border-color: rgb(255 255 255 / .45); background: transparent; }
.btn-ghost-light:hover { border-color: #fff; background: rgb(255 255 255 / .08); }
.btn-icon { width: 20px; height: 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(251 247 240 / .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgb(10 47 55 / .08);
}
.header-inner { display: flex; align-items: center; gap: var(--s2); min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--teal-900); min-height: 44px; }
.brand-mark { width: 30px; height: auto; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; letter-spacing: .14em; }
.brand-sub { font-size: .66rem; font-weight: 600; letter-spacing: .38em; text-transform: uppercase; margin-top: 4px; color: var(--teal-700); }
.brand-light { color: #fff; }
.brand-light .brand-sub { color: var(--gold-400); }

.nav { order: 3; }
.header-cta { margin-left: auto; }
.nav-toggle {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid rgb(10 47 55 / .18); border-radius: 12px; background: transparent; cursor: pointer; color: var(--teal-900);
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.nav-menu {
  list-style: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--cream); border-bottom: 1px solid var(--line);
  padding: 8px 20px 20px; box-shadow: var(--shadow-lg);
  display: none;
}
.nav-menu.is-open { display: block; }
.nav-menu a {
  display: flex; align-items: center; min-height: 52px; padding: 0 4px;
  text-decoration: none; font-weight: 500; color: var(--teal-900); border-bottom: 1px solid var(--line);
}
.nav-menu li:last-child a { border-bottom: 0; }

@media (min-width: 980px) {
  .nav { order: 0; margin-left: auto; }
  .header-cta { margin-left: 8px; }
  .nav-toggle { display: none; }
  .nav-menu { display: flex !important; position: static; padding: 0; background: none; border: 0; box-shadow: none; gap: 4px; }
  .nav-menu a { min-height: 44px; padding: 0 12px; border: 0; border-radius: 999px; font-size: .95rem; }
  .nav-menu a:hover { background: rgb(10 47 55 / .06); }
}

/* Hero */
.hero {
  position: relative;
  background:
    url("assets/pattern.svg"),
    radial-gradient(120% 80% at 85% 20%, #14505c 0%, transparent 60%),
    linear-gradient(180deg, var(--teal-900), var(--teal-950));
  color: #fff;
  padding: var(--s4) 0 0;
  overflow: hidden;
  isolation: isolate;
}
.hero-grid { display: grid; gap: var(--s3); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-700);
  margin-bottom: var(--s2);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow-light { color: var(--gold-400); }
.hero-title { font-size: clamp(2.3rem, 7.6vw, 4.1rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.035em; }
.hero-title em { color: var(--gold-400); font-weight: 800; font-style: normal; }
.hero-lede { margin-top: var(--s3); font-size: clamp(1.06rem, 2.4vw, 1.2rem); color: rgb(255 255 255 / .86); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s4); }
.hero-actions .btn { flex: 1 1 160px; }
.hero-values { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: var(--s3); list-style: none; font-size: .9rem; color: rgb(255 255 255 / .78); }
.hero-values li { display: inline-flex; align-items: center; gap: 8px; }
.hero-values li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); }
.hero-art { margin-inline: auto; width: min(100%, 460px); margin-bottom: -6px; }
.hero-svg { width: 100%; height: auto; overflow: visible; }
.hero-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 40px; z-index: 1; }

@media (min-width: 600px) {
  .hero-actions .btn { flex: 0 0 auto; }
}
@media (min-width: 900px) {
  .hero { padding-top: var(--s5); }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: var(--s4); min-height: 580px; }
  .hero-copy { padding-bottom: var(--s5); }
  .hero-art { width: 100%; max-width: 600px; align-self: end; }
  .hero-wave { height: 60px; }
}

/* Hero animation — static defaults (also the reduced-motion view): pushka shown full, no falling coins */

@media (prefers-reduced-motion: no-preference) {
  .hero-in { animation: fade-up .9s var(--ease) both; animation-delay: calc(var(--d) * 110ms + 100ms); }
  .pushka { animation: fade-up 1s var(--ease) both .1s; }
  .art-glow { animation: glow 5s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
  .flame { animation: flicker 1.6s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 100%; }
  .fl2 { animation-delay: -.7s; animation-duration: 1.9s; }
  .tw { animation: twinkle 3.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  .tw2 { animation-delay: -1.2s; } .tw3 { animation-delay: -2.4s; }

  .pk-full .glint { animation: pk-spark 6s ease-out infinite both .4s; transform-box: fill-box; transform-origin: center; }
}
@keyframes pk-spark { 0%, 14%, 40%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); } 20% { opacity: 1; transform: scale(1.15) rotate(45deg); } }
.glint { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .glint { opacity: 1; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } }
@keyframes glow { from { opacity: .75; transform: scale(.96); } to { opacity: 1; transform: scale(1.04); } }
@keyframes flicker { 0% { transform: scale(1, 1) rotate(-2deg); } 50% { transform: scale(.92, 1.08) rotate(2deg); } 100% { transform: scale(1.04, .95) rotate(-1deg); } }
@keyframes twinkle { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }

/* Sections */
.section { padding: var(--s5) 0; }
.section-sand { background: var(--sand); }
.section-dark { background: var(--teal-900) url("assets/pattern.svg"); color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto var(--s4); }
.section-head .eyebrow { justify-content: center; }
.section-head-left { text-align: left; margin-inline: 0; }
.section-head-left .eyebrow { justify-content: flex-start; }
.section-head h2, .cta-copy h2 { font-size: clamp(1.9rem, 5.2vw, 2.9rem); color: var(--teal-900); }
.section-dark .section-head h2 { color: #fff; }
.section-lede { margin-top: var(--s2); font-size: 1.08rem; color: var(--muted); }
@media (min-width: 900px) { .section { padding: var(--s6) 0; } }

/* Cards */
.card-grid { display: grid; gap: var(--s2); grid-template-columns: 1fr; list-style: none; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s3); } }
@media (min-width: 1000px) { .programs { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s3); box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #dccdb3; }
.card h3 { font-size: 1.32rem; color: var(--teal-900); margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 1rem; }
.program { display: grid; grid-template-columns: 64px 1fr; column-gap: var(--s2); align-items: start; }
.program .icon-tile { grid-row: span 2; }
@media (min-width: 640px) { .program { display: block; padding: var(--s4) var(--s3) var(--s3); } .program .icon-tile { margin-bottom: var(--s2); } }
.icon-tile {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(145deg, #f8eedb, #f1e3c8);
}
.icon-tile svg { width: 48px; height: 48px; }
@media (min-width: 640px) { .icon-tile { width: 76px; height: 76px; border-radius: 22px; } .icon-tile svg { width: 56px; height: 56px; } }
.card:hover .icon-tile svg { animation: bob .8s var(--ease); }
@keyframes bob { 50% { transform: translateY(-3px) rotate(-3deg); } }
@media (prefers-reduced-motion: reduce) { .card, .card:hover { transform: none; } .card:hover .icon-tile svg { animation: none; } }

/* Band */
.band { background: linear-gradient(180deg, var(--cream), var(--sand)); padding: var(--s4) 0 var(--s5); }
.band-inner { text-align: center; }
.band-art { width: min(100%, 900px); height: auto; margin: 0 auto var(--s3); overflow: visible; }
.band-quote { font-family: var(--serif); font-size: clamp(1.4rem, 4vw, 2.1rem); line-height: 1.3; color: var(--teal-900); max-width: 28em; margin-inline: auto; }
.band-quote em { color: var(--gold-700); }
@media (prefers-reduced-motion: no-preference) {
  .band-art .bi { animation: float-y 4.5s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.6s); }
}
@keyframes float-y { to { translate: 0 -8px; } }

/* Steps */
.steps { display: grid; gap: var(--s3); list-style: none; counter-reset: s; position: relative; }
.step {
  position: relative; text-align: center;
  background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .1);
  border-radius: var(--radius); padding: var(--s4) var(--s3) var(--s3);
}
.step-art { display: block; width: 120px; margin: 0 auto var(--s2); }
.step-num { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 6px; }
.step h3 { font-size: 1.45rem; margin-bottom: 8px; color: #fff; }
.step p { color: rgb(255 255 255 / .8); max-width: 30em; margin-inline: auto; }
.step:not(:last-child)::after {
  content: ""; position: absolute; left: 50%; bottom: calc(-1 * var(--s3)); height: var(--s3); border-left: 2px dashed rgb(224 170 79 / .6);
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
  .step:not(:last-child)::after { left: auto; right: calc(-1 * var(--s4)); bottom: auto; top: 100px; width: var(--s4); height: 0; border-left: 0; border-top: 2px dashed rgb(224 170 79 / .6); }
}
@media (prefers-reduced-motion: no-preference) {
  .drop-coin { animation: drop 3.2s var(--ease) infinite; }
  .pop-heart { animation: pop 3.2s var(--ease) infinite; transform-box: fill-box; transform-origin: 50% 100%; }
}
@keyframes drop { 0% { transform: translateY(-14px); opacity: 0; } 20% { opacity: 1; } 55% { transform: translateY(22px); opacity: 1; } 65%, 100% { transform: translateY(26px); opacity: 0; } }
@keyframes pop { 0%, 30% { transform: scale(.85); } 45% { transform: scale(1.15); } 60%, 100% { transform: scale(1); } }

/* Give */
.give-layout { display: grid; gap: var(--s3); align-items: start; }
@media (min-width: 1000px) { .give-layout { grid-template-columns: 1.35fr 1fr; gap: var(--s4); } }
.give { padding: var(--s3); }
.icon-sm { display: block; width: 48px; height: 48px; margin-bottom: 12px; }
.give h3 { font-size: 1.25rem; }

.donate-panel {
  background: var(--teal-900) url("assets/pattern.svg"); color: #fff;
  border-radius: 24px; padding: var(--s3); box-shadow: var(--shadow-lg);
  scroll-margin-top: 96px;
}
@media (min-width: 1000px) { .donate-panel { position: sticky; top: 96px; padding: var(--s4) 32px; } }
.donate-panel:focus { outline: none; }
.donate-panel:target, .donate-panel.flash { animation: flash 1.4s var(--ease); }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgb(224 170 79 / .7), var(--shadow-lg); } 100% { box-shadow: 0 0 0 18px rgb(224 170 79 / 0), var(--shadow-lg); } }
.donate-head { display: flex; align-items: center; gap: 12px; margin-bottom: var(--s3); }
.donate-head h3 { font-size: 1.6rem; }
.donate-note { margin-top: var(--s2); padding-top: var(--s2); border-top: 1px solid rgb(255 255 255 / .12); font-size: .92rem; color: rgb(255 255 255 / .8); }

/* Promise */
.promise-grid { display: grid; gap: var(--s4); align-items: center; }
@media (min-width: 900px) { .promise-art svg { width: min(100%, 380px); } .promise-grid { grid-template-columns: .85fr 1.15fr; gap: var(--s5); } }
.promise-art { text-align: center; }
.promise-art svg { width: min(72%, 380px); margin-inline: auto; height: auto; }
.promise-caption { margin-top: var(--s2); font-family: var(--serif); font-size: 1.1rem; color: var(--teal-700); }
.promise-caption [lang="he"] { font-size: 1.35rem; }
.promise-list { display: grid; gap: var(--s2); list-style: none; }
@media (min-width: 640px) { .promise-list { grid-template-columns: 1fr 1fr; } }
.promise-item { display: flex; gap: var(--s2); background: rgb(255 255 255 / .65); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; }
.pi-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.pi-icon svg { width: 28px; height: 28px; }
.promise-item h3 { font-size: 1.15rem; color: var(--teal-900); margin-bottom: 4px; }
.promise-item p { font-size: .97rem; color: var(--muted); }

/* Request help */
.request-grid { display: grid; gap: var(--s4); align-items: start; }
@media (min-width: 900px) { .request-grid { grid-template-columns: .9fr 1.1fr; gap: var(--s5); } .request-grid .section-head { position: sticky; top: 110px; } }
.assure { list-style: none; display: grid; gap: 10px; margin-top: var(--s3); }
.assure li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--teal-900); }
.assure svg { width: 22px; height: 22px; flex: none; color: #fff; background: var(--teal-700); border-radius: 50%; padding: 3px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: var(--s3); box-shadow: var(--shadow-lg); }
@media (min-width: 640px) { .form-card { padding: var(--s4); } }
.form-preview-note { display: flex; gap: 10px; align-items: flex-start; background: var(--gold-200); color: var(--gold-700); border: 1.5px dashed var(--gold-700); border-radius: 12px; padding: 12px 14px; font-size: .92rem; margin-bottom: var(--s3); }
.form-preview-note strong { color: #6b4409; }
.form-preview-note svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.help-form { display: grid; gap: 20px; }
.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { display: block; font-weight: 600; color: var(--teal-900); margin-bottom: 8px; padding: 0; font-size: 1rem; }
.opt { font-weight: 400; color: var(--muted); font-size: .92em; }
.field input[type="text"], .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid #cfc3ae; background: var(--cream); color: var(--ink); font: inherit; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal-700); background: #fff; box-shadow: 0 0 0 4px rgb(23 81 93 / .15); }
.err { display: none; color: #a1361f; font-size: .9rem; margin-top: 6px; }
.field input:user-invalid { border-color: #a1361f; }
.field:has(input:user-invalid) .err { display: block; }
.help-form.was-submitted .field:has(input:invalid) .err, .help-form.was-submitted .consent:has(input:invalid) + .err { display: block; }
.consent:has(input:user-invalid) + .err { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid #cfc3ae; background: var(--cream); font-size: .95rem; font-weight: 500; color: var(--teal-900); cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.chip input:checked + span { background: var(--teal-900); border-color: var(--teal-900); color: #fff; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--muted); cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--teal-900); }
.consent + .err { margin-top: -12px; }
.form-status { font-size: .95rem; color: var(--teal-700); font-weight: 500; }
.form-status:empty { display: none; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: box-shadow .25s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
  min-height: 60px; padding: 14px 20px; font-family: var(--serif); font-size: 1.15rem; font-weight: 500; color: var(--teal-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%230a2f37' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat;
  transition: transform .3s var(--ease), background-color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--gold-200); }
.faq-a { padding: 0 20px 20px; color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--teal-800), var(--teal-950)); color: #fff; padding: var(--s5) 0; }
.cta-inner { display: grid; gap: var(--s3); justify-items: center; align-items: center; text-align: center; }
.cta-art { width: 96px; height: 96px; }
.cta-copy h2 { color: #fff; }
.cta-copy p { margin-top: 12px; color: rgb(255 255 255 / .8); font-size: 1.08rem; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: auto 1fr auto; text-align: left; justify-items: start; gap: var(--s4); } }

/* Footer */
.site-footer { background: var(--teal-950); color: rgb(255 255 255 / .78); padding: var(--s5) 0 var(--s3); font-size: .95rem; }
.footer-grid { display: grid; gap: var(--s4); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.footer-brand p { margin-top: var(--s2); max-width: 26em; }
.footer-h { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 12px; }
.footer-links ul, .footer-contact ul { list-style: none; display: grid; gap: 4px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: #fff; }
.footer-links a:hover { color: var(--gold-400); }
.footer-contact li { padding: 4px 0; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid rgb(255 255 255 / .12); margin-top: var(--s4); padding-top: var(--s3); font-size: .85rem; color: rgb(255 255 255 / .6); }

/* Scroll reveal — native scroll-driven where supported, IntersectionObserver fallback in main.js */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
  }
  .js-io .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js-io .reveal.is-in { opacity: 1; transform: none; }
}
@keyframes reveal { from { opacity: 0; transform: translateY(32px); } }

/* Inner pages (privacy / thanks / 404) */
.page-section { min-height: 60vh; }
.prose h1 { font-size: clamp(2rem, 6vw, 3rem); color: var(--teal-900); }
.prose h2 { font-size: 1.45rem; color: var(--teal-900); margin: var(--s4) 0 8px; }
.prose p { color: var(--ink); margin-top: 12px; max-width: 65ch; }
.prose .section-lede { color: var(--muted); }
.prose-center { text-align: center; }
.prose-center p { margin-inline: auto; }
.thanks-art { width: 80px; height: auto; margin: 0 auto var(--s3); }
.page-back { margin-top: var(--s4) !important; }

/* ---- Donate panel: simple stacked buttons ---- */
.donate-head { margin-bottom: 8px; }
.donate-intro { color: rgb(255 255 255 / .8); font-size: 1rem; margin-bottom: var(--s3); }
.pay-list { display: grid; gap: 12px; }
.pay-btn { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 0 20px; border-radius: 14px; border: 1.5px solid rgb(251 247 240 / .35); background: transparent; color: var(--cream); font: 600 1.05rem/1.2 var(--sans); text-align: left; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.pay-btn:hover { background: rgb(251 247 240 / .08); border-color: var(--gold-400); }
.pay-btn:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; }
.pay-primary { background: var(--gold-500); border-color: var(--gold-500); color: var(--teal-950); box-shadow: 0 8px 22px rgb(224 170 79 / .28); }
.pay-primary:hover { background: var(--gold-400); border-color: var(--gold-400); }
.pay-primary:focus-visible { outline-color: var(--cream); }
.pay-ico { width: 22px; height: 22px; flex: none; }
.pay-name { flex: 1; }
.pay-end { width: 18px; height: 18px; flex: none; opacity: .75; }
.pay-chev { transition: transform .2s; }
.pay-btn[aria-expanded="true"] { border-color: var(--gold-400); }
.pay-btn[aria-expanded="true"] .pay-chev { transform: rotate(180deg); }
.zelle-reveal { margin-top: -4px; padding: 16px 18px; border-radius: 14px; background: var(--cream); color: var(--teal-900); }
.zelle-reveal[hidden] { display: none; }
.zelle-line { margin-top: 10px; font-size: .92rem; color: var(--muted); }
.donate-note { margin-top: var(--s3); }
@media (prefers-reduced-motion: reduce) { .pay-chev, .pay-btn { transition: none; } }

/* Slim, clean header (2026-10-11) */
.top-bar { padding: 2px 16px; font-size: .8rem; }
.bsd { font-size: .8rem; }
.header-inner { min-height: 56px; gap: 12px; }
.site-header { background: rgb(251 247 240 / .96); border-bottom-color: rgb(10 47 55 / .06); }
.brand { gap: 9px; min-height: 40px; }
.brand-mark { width: 24px; }
.brand-name { font-size: 1.05rem; font-weight: 800; letter-spacing: .12em; }
.brand-sub { font-size: .55rem; letter-spacing: .34em; margin-top: 3px; }
.header-cta.btn-sm { --h: 38px; padding: 0 16px; font-size: .88rem; box-shadow: none; }
.nav-toggle { width: 40px; height: 40px; border: 0; border-radius: 10px; }
.nav-toggle:hover { background: rgb(10 47 55 / .06); }

/* ---- iMaaser card donation (inline) ---- */
.im-reveal { margin-top: -4px; padding: 20px 18px; border-radius: 14px; background: var(--cream); color: var(--teal-900); }
.im-reveal[hidden], .im-form[hidden], .im-done[hidden] { display: none; }
.im-title { font-size: 1.15rem; font-weight: 700; }
.im-sub { margin-top: 2px; font-size: .92rem; color: var(--muted); }
.im-picks { border: 0; margin: 16px 0 14px; padding: 0; min-width: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.im-pick { position: relative; cursor: pointer; }
.im-pick input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.im-pick span { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 10px; border: 1.5px solid rgb(10 47 55 / .18); background: #fff; font-weight: 600; font-size: .95rem; transition: border-color .2s, background .2s; }
.im-pick input:checked + span { background: var(--teal-900); border-color: var(--teal-900); color: #fff; }
.im-pick input:focus-visible + span { outline: 3px solid var(--gold-500); outline-offset: 2px; }
.im-field { display: block; margin-bottom: 12px; }
.im-field > span:first-child { display: block; margin-bottom: 6px; font-size: .88rem; font-weight: 600; }
.im-field input { width: 100%; min-height: 50px; padding: 0 14px; border-radius: 12px; border: 1.5px solid rgb(10 47 55 / .2); background: #fff; color: var(--teal-900); font: 500 1.05rem/1 var(--sans); letter-spacing: .02em; }
.im-field input:focus { outline: none; border-color: var(--teal-700); box-shadow: 0 0 0 3px rgb(224 170 79 / .45); }
.im-field input[aria-invalid="true"] { border-color: #b3261e; }
.im-amount { position: relative; display: block; }
.im-amount > span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-weight: 600; color: var(--muted); }
.im-amount input { padding-left: 30px; }
.im-exp { max-width: 180px; }
.im-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.im-error { color: #b3261e; font-size: .92rem; font-weight: 500; margin: 2px 0 10px; }
.im-error:empty { display: none; }
.im-submit { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 56px; margin-top: 6px; border: 0; border-radius: 14px; background: var(--gold-500); color: var(--teal-950); font: 700 1.08rem/1 var(--sans); cursor: pointer; box-shadow: 0 8px 22px rgb(224 170 79 / .3); transition: background .2s; }
.im-submit:hover { background: var(--gold-400); }
.im-submit:focus-visible { outline: 3px solid var(--teal-900); outline-offset: 3px; }
.im-submit[disabled] { opacity: .7; cursor: progress; }
.im-submit.is-loading::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: im-spin .8s linear infinite; }
@keyframes im-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .im-submit.is-loading::before { animation-duration: 2.4s; } }
.im-fine { margin-top: 10px; text-align: center; font-size: .82rem; color: var(--muted); }
.im-done { text-align: center; padding: 8px 4px; }
.im-done:focus { outline: none; }
.im-done svg { width: 44px; height: 44px; color: #2f7a4f; margin: 0 auto 8px; display: block; }
.im-done h4 { font-size: 1.25rem; font-weight: 700; }
.im-done-msg { margin-top: 4px; color: var(--muted); }
.im-ref { margin-top: 10px; font-size: .92rem; font-weight: 600; }
.im-ref:empty { display: none; }
.im-title, .im-done h4 { margin: 0; line-height: 1.25; } .im-sub, .im-fine, .im-done p { text-wrap: wrap; }

/* ---- Cardknox card donation (inline, shares .im-* styles) ---- */
.ck-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ck-row .im-field { min-width: 0; }
.ck-ifield { height: 50px; border-radius: 12px; border: 1.5px solid rgb(10 47 55 / .2); background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.ck-ifield.is-focus { border-color: var(--teal-700); box-shadow: 0 0 0 3px rgb(224 170 79 / .45); }
.ck-ifield.is-invalid { border-color: #b3261e; }
.ck-ifield iframe { display: block; width: 100%; height: 100%; border: 0; }
.ck-zip { max-width: 180px; }
.ck-opt { font-style: normal; font-weight: 500; color: var(--muted); }
.im-fine a { color: var(--teal-700); font-weight: 600; text-underline-offset: 3px; }
