/* =====================================================================
   TOMCHEI SHABBOS OF MIDDLESEX COUNTY — tomcheimc.org
   site.css — redesign ("Fable structure, Stitch warmth"). See DESIGN.md.
   One stylesheet, no frameworks, no icon fonts.
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;0,8..60,700;1,8..60,400;1,8..60,600&display=swap');

/* ---------- TOKENS ---------- */
:root {
  /* color */
  --ink:          #181E4B;   /* deep royal navy: headlines */
  --band:         #181E4B;   /* navy bands (impact numbers, volunteer band) */
  --navy:         #2B3280;   /* brand navy: buttons, links, accents */
  --navy-2:       #3A42A3;   /* hover */
  --gold:         #C9963A;   /* brand gold: numbers, badges, rules, gold buttons */
  --gold-hover:   #B38234;
  --gold-ink:     #8A6214;   /* gold for small text on light backgrounds (AA) */
  --paper:        #FBF6EC;   /* page */
  --paper-2:      #F3EBDB;   /* alternate band, footer */
  --card:         #FFFFFF;
  --border:       #E8DEC8;   /* card and input borders */
  --text:         #1E2235;
  --muted:        #5A5F73;
  --rule:         rgba(24, 30, 75, .14);
  --rule-gold:    rgba(201, 150, 58, .55);
  --on-ink:       #FFFFFF;
  --on-ink-muted: rgba(255, 255, 255, .78);
  --shadow:       0 4px 16px -2px rgba(24, 30, 75, .06), 0 14px 36px -6px rgba(201, 152, 70, .14);

  /* type */
  --display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans:    'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;

  --t-xs:   .75rem;
  --t-sm:   .875rem;
  --t-base: 1.0625rem;
  --t-md:   1.1875rem;
  --t-lg:   clamp(1.375rem, 1.15rem + .9vw, 1.75rem);
  --t-xl:   clamp(1.75rem, 1.3rem + 1.9vw, 2.5rem);
  --t-2xl:  clamp(2.25rem, 1.5rem + 3.2vw, 3.6rem);

  /* space (4px base) */
  --s-1: .25rem; --s-2: .5rem;  --s-3: .75rem; --s-4: 1rem;
  --s-5: 1.5rem; --s-6: 2rem;   --s-7: 3rem;   --s-8: 4rem;

  /* shape */
  --r-sm: 8px;    /* buttons, inputs */
  --r-md: 16px;   /* cards */
  --r-photo: 12px;
  --r-pill: 999px;

  --measure: 62ch;
  --wrap: 1180px;
  --gutter: 1.25rem;
  --nav-h: 76px;
  --ease: .2s cubic-bezier(.3, .7, .3, 1);
}
@media (min-width: 768px)  { :root { --gutter: 2.5rem; } }
@media (min-width: 1100px) { :root { --gutter: 3rem; } }

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }

/* ---------- TYPE ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: var(--t-2xl); line-height: 1.1; letter-spacing: -.02em; }
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-lg); }
h4 { font-size: var(--t-md); }
.accent { font-style: italic; color: var(--navy); }
p { max-width: var(--measure); text-wrap: pretty; }
p + p { margin-top: 1em; }
.lede { font-size: var(--t-md); color: var(--muted); line-height: 1.6; text-wrap: balance; }
.muted { color: var(--muted); }

.eyebrow {
  font-family: var(--sans);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-ink);
  display: inline-flex;
  align-items: center;
  gap: .75em;
}
.eyebrow::before { content: ""; width: 1.75rem; height: 1.5px; background: var(--gold); }
.on-ink .eyebrow { color: var(--gold); }

/* The tagline: three short "Give" lines. */
.tagline {
  font-family: var(--display);
  font-size: var(--t-md);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.45;
  display: flex; flex-wrap: wrap; gap: 0 .45em;
}
.tagline span:last-child { font-style: italic; color: var(--gold-ink); }

/* ---------- LAYOUT ---------- */
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.band-2 { background: var(--paper-2); }
.on-ink { background: var(--band); color: var(--on-ink); }
.on-ink h1, .on-ink h2, .on-ink h3, .on-ink h4 { color: var(--on-ink); }
.on-ink .muted, .on-ink .lede { color: var(--on-ink-muted); }

.section-head { display: grid; gap: var(--s-3); margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--muted); max-width: 52ch; }
.section-head--center { justify-items: center; text-align: center; }
.section-head--center p { margin-inline: auto; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--sans); font-weight: 600; font-size: var(--t-sm); letter-spacing: .01em; line-height: 1;
  min-height: 48px; padding: .95rem 1.5rem;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  transition: background var(--ease), color var(--ease), border-color var(--ease), box-shadow var(--ease), transform var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-hover); border-color: var(--gold-hover); box-shadow: 0 8px 22px -10px rgba(201,150,58,.8); }
.btn--primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--primary:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: rgba(43,50,128,.08); }
.on-ink .btn--outline { color: #fff; border-color: rgba(255,255,255,.7); }
.on-ink .btn--outline:hover { background: rgba(255,255,255,.1); }
.btn--lg { padding: 1.05rem 1.75rem; font-size: var(--t-base); }
.btn--block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; font-size: var(--t-sm);
  color: var(--navy);
  border-bottom: 1.5px solid var(--rule-gold);
  padding-bottom: .15em;
  transition: gap var(--ease), border-color var(--ease);
}
.link-arrow svg { width: 1em; height: 1em; }
.link-arrow:hover { gap: .8em; border-color: var(--navy); }
.link-inline { color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--rule-gold); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.link-inline:hover { text-decoration-color: var(--navy); }
.on-ink .link-arrow { color: #fff; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule-gold);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--nav-h); gap: var(--s-5); position: relative; }
.nav__logo { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.nav__logo img { height: 58px; width: auto; flex: none; }
.nav__name {
  display: flex; flex-direction: column;
  font-family: var(--display); font-weight: 600; font-size: 1.05rem; line-height: 1.2; color: var(--ink);
  padding-left: .85rem; border-left: 1.5px solid var(--rule-gold);
}
.nav__name-small { font-family: var(--sans); font-size: .68rem; font-weight: 600; letter-spacing: .06em; color: var(--gold-ink); }
.nav__name-line { font-weight: 400; font-size: .9rem; color: var(--muted); }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav__links a:not(.btn) {
  font-size: var(--t-sm); font-weight: 600; color: var(--ink);
  padding: .35em 0; border-bottom: 2px solid transparent;
  transition: border-color var(--ease);
}
.nav__links a:not(.btn):hover, .nav__links a.active:not(.btn) { border-bottom-color: var(--gold); }
.nav__links .btn { min-height: 44px; padding: .7rem 1.25rem; }
.nav__toggle { display: none; }

@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  .nav__logo img { height: 40px; }
  .nav__logo { gap: .6rem; }
  .nav__name { font-size: .9rem; padding-left: .6rem; }
  .nav__name-small { font-size: .6rem; }
  .nav__name-line { font-size: .78rem; }
  .nav__toggle {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 44px; height: 44px; margin-right: -10px;
  }
  .nav__toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--ease), opacity var(--ease); }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__links {
    display: none;
    position: absolute; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule-gold);
    padding: var(--s-2) var(--gutter) var(--s-5);
    box-shadow: 0 18px 30px -20px rgba(24,30,75,.35);
  }
  .nav__links.open { display: flex; }
  .nav__links li { border-bottom: 1px solid var(--rule); }
  .nav__links li:last-child { border-bottom: 0; padding-top: var(--s-4); }
  .nav__links a:not(.btn) { display: block; padding: .9rem 0; font-size: var(--t-base); border-bottom: 0; }
  .nav__links a:not(.btn):hover, .nav__links a.active:not(.btn) { border-bottom: 0; color: var(--navy); }
  .nav__links .btn { width: 100%; }
}

/* ---------- FRAMED PHOTO ---------- */
figure { min-width: 0; }
/* Photos stand on their own: rounded corners and a soft shadow, no border. */
.frame { min-width: 0; }
.frame img {
  display: block; width: 100%; height: auto;
  aspect-ratio: var(--ar, 4 / 3); object-fit: cover;
  border-radius: var(--r-photo);
  box-shadow: 0 2px 6px rgba(24, 30, 75, .06), 0 16px 32px -14px rgba(24, 30, 75, .22);
}
.frame__caption {
  margin-top: var(--s-5); font-size: var(--t-sm); color: var(--muted);
  display: flex; gap: .75em; align-items: flex-start;
}
.frame__caption::before { content: ""; flex: none; width: 1.25rem; height: 1.5px; background: var(--gold); margin-top: .7em; }

/* ---------- HERO ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem); }
.hero__grid { display: grid; gap: var(--s-7); align-items: center; }
.hero__grid > * { min-width: 0; }
.hero__copy { display: grid; gap: var(--s-5); justify-items: start; }
.hero__copy h1 { max-width: 16ch; }
.hero__copy .lede { max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-4); align-items: center; }
.hero__photo { --ar: 4 / 3; }
@media (min-width: 860px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 5vw, 5rem); }
  .hero__photo { --ar: 4 / 4.6; }
}

/* ---------- CONCERT BANNER (rendered by main.js) ---------- */
.concert-banner { padding-top: clamp(1.25rem, 3vw, 2rem); }
.concert-banner__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4) var(--s-6);
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--r-md);
  padding: var(--s-5) clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}
.concert-banner__info { display: grid; gap: .15rem; min-width: 0; }
.concert-banner__label { font-size: var(--t-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.concert-banner__title { font-family: var(--display); font-weight: 600; font-size: var(--t-lg); color: var(--ink); line-height: 1.2; }
.concert-banner__meta { font-size: var(--t-sm); color: var(--muted); }
.concert-banner .btn--outline { border-color: var(--navy); color: var(--navy); }
.concert-banner__date { font-family: var(--display); font-weight: 600; font-size: var(--t-md); color: var(--navy); }

/* Announced: bigger card with the flyer and a gold Get Tickets button. */
.concert-banner--announced .concert-banner__inner { flex-wrap: nowrap; gap: clamp(1rem, 3vw, 2rem); padding: clamp(1rem, 2.5vw, 1.5rem) clamp(1rem, 3vw, 2rem); }
.concert-banner--announced .concert-banner__info { flex: 1 1 auto; gap: .3rem; }
.concert-banner--announced .concert-banner__title { font-size: var(--t-xl); }
.concert-banner__flyer { flex: none; width: clamp(72px, 9vw, 110px); border-radius: 8px; overflow: hidden; box-shadow: 0 8px 20px -8px rgba(0,0,0,.45); }
.concert-banner__flyer img { display: block; width: 100%; height: auto; }
.concert-banner__cta { flex: none; }
@media (max-width: 700px) {
  .concert-banner--announced .concert-banner__inner { flex-wrap: wrap; }
  .concert-banner--announced .concert-banner__info { flex: 1 1 0; }
  .concert-banner__cta { width: 100%; }
  .concert-banner__meta--time { display: none; }
  .concert-banner--announced .concert-banner__title { font-size: var(--t-lg); }
  .concert-banner__date { font-size: var(--t-base); }
}

/* ---------- ANNOUNCEMENT BAR (above the nav while tickets are on sale) ---------- */
.announce { background: var(--gold); }
.announce__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .15rem .9rem; padding-block: .55rem; color: #12163A; font-size: var(--t-sm); text-align: center; }
.announce__inner:hover .announce__cta { text-decoration: underline; text-underline-offset: 3px; }
.announce__text strong { font-weight: 700; }
.announce__cta { font-weight: 700; white-space: nowrap; }
@media (max-width: 560px) { .announce__date { display: none; } }

.nav__tag { display: inline-block; margin-left: .3em; padding: .1em .5em; border-radius: var(--r-pill); background: var(--gold); color: #12163A; font-size: .66rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: .15em; }
.concert-banner__notify { display: flex; flex-wrap: wrap; gap: var(--s-2); flex: 1 1 320px; max-width: 460px; }
.concert-banner__notify input[type="email"] {
  flex: 1 1 200px; min-width: 0; min-height: 48px;
  padding: .8rem 1rem; border: 1.5px solid var(--border); border-radius: var(--r-sm); background: var(--card);
}
.concert-banner__notify input:focus { outline: none; border-color: var(--navy); }
.concert-banner__notify button {
  min-height: 48px; padding: .8rem 1.25rem; border-radius: var(--r-sm);
  background: var(--navy); color: #fff; font-weight: 600; font-size: var(--t-sm);
}
.concert-banner__notify button:hover { background: var(--navy-2); }

/* ---------- IMPACT BAND (navy, gold numbers) ---------- */
.impact { background: var(--band); color: var(--on-ink); }
.impact__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; }
.impact__cell {
  display: grid; gap: var(--s-2); align-content: start;
  padding: clamp(1.75rem, 5vw, 3.5rem) clamp(.35rem, 2vw, 1.5rem);
  border-left: 1px solid rgba(255,255,255,.12);
}
.impact__cell:first-child { border-left: 0; }
.impact__num {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.6rem, 1rem + 3.2vw, 3.5rem); line-height: 1; letter-spacing: -.01em;
  color: var(--gold); font-variant-numeric: lining-nums;
}
.impact__label { font-size: clamp(.62rem, .55rem + .3vw, .75rem); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink); line-height: 1.35; }

/* ---------- RULED ROWS (replaces icon cards) ---------- */
.rows { border-top: 1px solid var(--rule); }
.row { display: grid; gap: var(--s-2); padding-block: clamp(1.1rem, 2.2vw, 1.6rem); border-bottom: 1px solid var(--rule); }
.row__title { font-size: var(--t-lg); }
.row__body { max-width: 56ch; color: var(--muted); }
@media (min-width: 860px) {
  .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--s-6); align-items: baseline; }
}

.split-head { display: grid; gap: var(--s-4); margin-bottom: clamp(2rem, 4vw, 3rem); }
.split-head p { color: var(--muted); }
@media (min-width: 860px) {
  .split-head { grid-template-columns: 1.1fr .9fr; align-items: end; gap: var(--s-8); }
}

/* ---------- STEPS (gold numbered badges) ---------- */
.how__grid { display: grid; gap: var(--s-7); align-items: center; }
.how__grid > * { min-width: 0; }
.how__photo { --ar: 4 / 3; }
.steps { display: grid; gap: var(--s-5); margin-top: var(--s-6); }
.step {
  display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: var(--s-4); align-items: start;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: var(--s-5);
}
.step__num {
  width: 3rem; height: 3rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold); color: #fff;
  font-family: var(--display); font-weight: 700; font-size: 1.25rem;
}
.step h3 { font-size: var(--t-md); margin-bottom: .25em; }
.step p { color: var(--muted); font-size: var(--t-base); }
@media (min-width: 860px) {
  .how__grid { grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 5vw, 4.5rem); }
  .how__photo { --ar: 4 / 3; }
}

/* ---------- MONTHLY GIVING (home) ---------- */
.monthly__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.tier {
  display: flex; flex-direction: column; gap: var(--s-2);
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: var(--s-5);
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.tier:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow); }
.tier__price { font-family: var(--display); font-weight: 700; font-size: 2.25rem; line-height: 1; color: var(--ink); }
.tier__price small { font-family: var(--sans); font-size: var(--t-sm); font-weight: 600; color: var(--muted); margin-left: .15em; }
.tier__desc { color: var(--muted); font-size: var(--t-sm); }
.tier__cta { margin-top: auto; padding-top: var(--s-2); font-size: var(--t-sm); font-weight: 600; color: var(--navy); display: inline-flex; gap: .4em; align-items: center; }
.tier__cta svg { width: 1em; height: 1em; }
.monthly__foot { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); align-items: center; }
@media (max-width: 480px) {
  .tier { padding: var(--s-4); }
  .tier__price { font-size: 1.85rem; }
}
@media (min-width: 640px) { .monthly__grid { gap: var(--s-4); } }
@media (min-width: 1000px) { .monthly__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- WHO WE ARE ---------- */
.who__grid { display: grid; gap: var(--s-6); }
.who__grid > * { min-width: 0; }
.who__copy p { font-family: var(--display); font-size: var(--t-md); line-height: 1.6; max-width: 56ch; }
.who__aside { display: grid; gap: var(--s-4); align-content: start; justify-items: start; border-top: 1.5px solid var(--rule-gold); padding-top: var(--s-5); }
.who__year { font-family: var(--display); font-weight: 700; font-size: 2.75rem; line-height: 1; color: var(--gold-ink); }
.who__aside p { font-size: var(--t-sm); color: var(--muted); }
@media (min-width: 860px) {
  .who__grid { grid-template-columns: 1.25fr .75fr; gap: clamp(3rem, 7vw, 6rem); }
  .who__aside { border-top: 0; border-left: 1.5px solid var(--rule-gold); padding: 0 0 0 var(--s-6); }
}

/* ---------- NAVY CTA WITH PHOTO BESIDE IT ---------- */
.cta-split__grid { display: grid; gap: var(--s-6); align-items: center; padding-block: clamp(3.5rem, 8vw, 6rem); }
.cta-split__grid > * { min-width: 0; }
.cta-split__copy { display: grid; gap: var(--s-4); justify-items: start; }
.cta-split__copy p { color: var(--on-ink-muted); font-size: var(--t-md); max-width: 44ch; }
.cta-split__photo { --ar: 4 / 3; }
.cta-split__photo img { box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .55); object-position: 50% 50%; }
@media (min-width: 860px) {
  .cta-split__grid { grid-template-columns: 1.15fr .85fr; gap: clamp(2.5rem, 6vw, 5rem); }
  .cta-split__photo { --ar: 4 / 3; }
}

/* ---------- PAGE HEAD (inner pages) ---------- */
.page-head { padding-block: clamp(1.75rem, 4.5vw, 3.25rem) clamp(1.5rem, 3vw, 2.25rem); }
.page-head__grid { display: grid; gap: var(--s-5); align-items: end; }
.page-head__grid > * { min-width: 0; }
.page-head__copy { display: grid; gap: var(--s-4); justify-items: start; }
.page-head .lede { max-width: 72ch; }
.page-head__note { font-size: var(--t-sm); color: var(--muted); border-left: 1.5px solid var(--rule-gold); padding-left: var(--s-4); max-width: 34ch; }
@media (min-width: 860px) { .page-head__grid { grid-template-columns: 1fr auto; gap: var(--s-8); } }
/* Phones: a more compact intro so the page content starts sooner. */
@media (max-width: 640px) {
  .page-head__copy { gap: var(--s-3); }
  .page-head .lede { font-size: var(--t-base); line-height: 1.5; }
}

/* ---------- FOOTER ---------- */
.footer { background: var(--paper-2); border-top: 1px solid var(--rule-gold); padding-block: var(--s-8) var(--s-6); font-size: var(--t-sm); }
.footer__grid { display: grid; gap: var(--s-6); }
.footer__brand img { height: 56px; width: auto; margin-bottom: var(--s-4); }
.footer__name { font-size: 1.3rem; padding-left: 0; border-left: 0; max-width: none; gap: .1rem; }
.footer__name .nav__name-small { font-size: .75rem; }
.footer__name .nav__name-line { font-size: 1.05rem; }
.footer__tagline { margin-top: var(--s-3); font-size: var(--t-base); }
.footer__heading { font-size: var(--t-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: var(--s-3); }
.footer__links li + li { margin-top: .4em; }
.footer__links a, .footer__contact a { color: var(--ink); border-bottom: 1px solid transparent; }
.footer__links a:hover, .footer__contact a:hover { border-bottom-color: var(--gold); }
.footer__contact p + p { margin-top: .6em; }
.footer__bottom { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--rule); color: var(--muted); font-size: var(--t-xs); line-height: 1.5; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .35rem var(--s-6); }
.footer__bottom p { max-width: none; margin: 0; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1.4fr .7fr 1fr; gap: var(--s-8); } }

/* =====================================================================
   DONATE
   ===================================================================== */
.chooser { padding-bottom: clamp(2rem, 4vw, 3rem); }
.chooser__label { font-size: var(--t-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: var(--s-4); }
.chooser__grid { display: grid; gap: var(--s-3); }
.chooser__card {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md);
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.chooser__card:hover { border-color: var(--gold); transform: translateY(-1px); box-shadow: var(--shadow); }
.chooser__logo { height: 26px; width: auto; }
.chooser__logo--check { height: 30px; }
.chooser__hint { font-size: var(--t-sm); color: var(--muted); }
.chooser__arrow { width: 1.1rem; height: 1.1rem; color: var(--navy); }
@media (min-width: 700px) {
  .chooser__grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
  .chooser__card { grid-template-columns: 1fr; gap: var(--s-3); padding: var(--s-5); position: relative; }
  .chooser__arrow { position: absolute; top: var(--s-5); right: var(--s-5); }
}

.pledge { padding-block: clamp(1rem, 3vw, 2rem) clamp(3rem, 6vw, 5rem); scroll-margin-top: calc(var(--nav-h) + 1rem); }
.pledge__grid { display: grid; gap: var(--s-7); align-items: start; }
.pledge__grid > * { min-width: 0; }
.pledge__card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  box-shadow: var(--shadow);
}
.pledge__card > h2 { margin-bottom: var(--s-2); }
.pledge__intro { color: var(--muted); margin-bottom: var(--s-5); }
.pledge__photo { --ar: 4 / 3; }
@media (min-width: 900px) {
  .pledge__grid { grid-template-columns: 1.15fr .85fr; gap: clamp(2.5rem, 5vw, 5rem); }
  .pledge__photo { --ar: 4 / 5; }
}

/* donate tabs (driven by main.js initDonateTabs) */
.donate-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--paper-2); border-radius: var(--r-sm); margin-bottom: var(--s-5); }
.donate-tab { padding: .8rem 1rem; border-radius: 6px; font-weight: 600; font-size: var(--t-sm); color: var(--muted); transition: background var(--ease), color var(--ease); }
.donate-tab:hover { color: var(--ink); }
.donate-tab.active { background: var(--band); color: #fff; }
.donate-panel { display: none; }
.donate-panel.active { display: block; }
.donate-panel > h3 { font-family: var(--sans); font-size: var(--t-base); font-weight: 700; color: var(--ink); margin-bottom: var(--s-3); }

.amounts { border-top: 1px solid var(--rule); }
.amount { position: relative; border-bottom: 1px solid var(--rule); }
.amount input { position: absolute; opacity: 0; pointer-events: none; }
.amount label {
  display: grid; grid-template-columns: 1.25rem minmax(0, 1fr) auto; align-items: center; gap: var(--s-3);
  padding: .9rem .6rem .9rem .3rem; cursor: pointer; border-radius: 6px;
  transition: background var(--ease);
}
.amount label::before {
  content: ""; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  border: 1.5px solid var(--border); background: var(--card);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.amount label:hover::before { border-color: var(--navy); }
.amount input:checked + label { background: var(--paper); }
.amount input:checked + label::before { border-color: var(--navy); box-shadow: inset 0 0 0 4px var(--card), inset 0 0 0 10px var(--navy); }
.amount input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: -2px; }
.amount__desc { font-size: var(--t-sm); line-height: 1.4; min-width: 0; }
.amount__price { font-family: var(--display); font-weight: 700; font-size: 1.375rem; color: var(--ink); white-space: nowrap; }
.amount__price small { font-family: var(--sans); font-weight: 600; font-size: var(--t-xs); color: var(--muted); margin-left: .1em; }

.custom { display: grid; gap: var(--s-2); margin-top: var(--s-5); }
.custom > label { font-size: var(--t-sm); font-weight: 600; color: var(--ink); }
.custom__field { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: var(--r-sm); background: var(--card); }
.custom__field:focus-within { border-color: var(--navy); }
.custom__sym { padding: 0 .25rem 0 .9rem; color: var(--muted); font-family: var(--display); font-weight: 600; font-size: 1.1rem; }
.custom__field input { flex: 1; border: 0; background: transparent; padding: .8rem .75rem .8rem .25rem; min-width: 0; outline: none; }

/* dedication */
.dedicate { margin-top: var(--s-5); border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--paper); }
.dedicate__toggle { display: flex; align-items: center; gap: var(--s-3); padding: .85rem 1rem; cursor: pointer; font-size: var(--t-sm); font-weight: 600; color: var(--ink); }
.dedicate__toggle input { width: 1.1rem; height: 1.1rem; accent-color: var(--navy); flex: none; }
.dedicate__fields { display: grid; gap: var(--s-3); padding: 0 1rem 1rem; }
.dedicate__type { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: var(--t-sm); }
.dedicate__type label { display: inline-flex; align-items: center; gap: .45em; cursor: pointer; }
.dedicate__type input { accent-color: var(--navy); width: 1rem; height: 1rem; }

.pledge__actions { margin-top: var(--s-5); display: grid; gap: var(--s-3); }
.pledge__fine { font-size: var(--t-xs); color: var(--muted); }
.pledge__error { font-size: var(--t-sm); color: #A12B2B; }

.methods { padding-block: clamp(2.5rem, 5vw, 4rem); }
.methods__grid { display: grid; gap: var(--s-4); }
.method {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: clamp(1.25rem, 3vw, 2rem);
  display: flex; flex-direction: column; gap: var(--s-4);
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}
.method__logo { height: 34px; width: auto; align-self: flex-start; }
.method__logo--check { height: 34px; }
.method dl { display: grid; gap: var(--s-3); }
.method dt { font-size: var(--t-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.method dd { font-family: var(--display); font-weight: 600; font-size: var(--t-md); color: var(--ink); line-height: 1.35; }
.method__note { font-size: var(--t-sm); color: var(--muted); }
.method p + p { margin-top: 0; }
.method__receipt { margin-top: auto; padding-top: var(--s-4); border-top: 1px solid var(--border); font-size: var(--t-sm); color: var(--text); }
.method__receipt strong { color: var(--ink); }
@media (min-width: 700px) { .methods__grid { grid-template-columns: 1fr 1fr; gap: var(--s-5); } }

.tax-note { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1.5px solid var(--rule-gold); font-size: var(--t-sm); color: var(--muted); display: grid; gap: .5em; }
.tax-note strong { color: var(--ink); }
.tax-note p { max-width: 82ch; }

/* receipt */
.receipt__grid { display: grid; gap: var(--s-7); align-items: start; }
.receipt__grid > * { min-width: 0; }
.receipt__form h2 { margin-bottom: var(--s-3); }
.receipt__form > p { color: var(--muted); margin-bottom: var(--s-5); }
.receipt__aside { display: grid; gap: var(--s-5); align-content: start; }
.quote { font-family: var(--display); font-style: italic; font-size: var(--t-lg); line-height: 1.35; color: var(--ink); border-left: 3px solid var(--gold); padding-left: var(--s-5); }
.stat-block { display: grid; gap: .25rem; }
.stat-block__num { font-family: var(--display); font-weight: 700; font-size: clamp(3rem, 2rem + 4vw, 4.25rem); line-height: 1; color: var(--gold-ink); }
.stat-block span { font-size: var(--t-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 900px) {
  .receipt__grid { grid-template-columns: 1fr .8fr; gap: clamp(3rem, 7vw, 6rem); }
  .receipt__aside { border-left: 1.5px solid var(--rule-gold); padding-left: clamp(2rem, 4vw, 3.5rem); }
}

/* =====================================================================
   INNER PAGES (About, Volunteer, Events, Contact, Thank You)
   ===================================================================== */

/* photo beside copy */
.split { display: grid; gap: var(--s-7); align-items: center; }
.split > * { min-width: 0; }
.split__copy { display: grid; gap: var(--s-4); justify-items: start; }
.split__copy p { color: var(--text); }
.split__photo { --ar: 4 / 3; }
@media (min-width: 860px) {
  .split { grid-template-columns: .95fr 1.05fr; gap: clamp(2.5rem, 6vw, 5.5rem); }
  .split--flip > :first-child { order: 2; }
  .split__photo { --ar: 4 / 4.4; }
}

/* long-form prose (history) */
.prose { max-width: 64ch; display: grid; gap: var(--s-4); }
.prose p { font-family: var(--display); font-size: var(--t-md); line-height: 1.7; color: var(--text); }
.prose p + p { margin-top: 0; }

/* policy pages (privacy) */
.policy { max-width: 68ch; display: grid; gap: var(--s-4); }
.policy h2 { font-family: var(--display); font-size: var(--t-lg); color: var(--ink); margin-top: var(--s-5); }
.policy p, .policy li { color: var(--text); line-height: 1.7; }
.policy ul { display: grid; gap: var(--s-2); padding-left: 1.25rem; list-style: disc; }
.policy .policy__updated { color: var(--muted); font-size: var(--t-sm); }

/* wide photo with caption */
.wide-photo { --ar: 21 / 9; }
@media (max-width: 700px) { .wide-photo { --ar: 4 / 3; } }

/* raised form card */
.form-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: var(--shadow);
  display: grid; gap: var(--s-4);
}
.form-card > p { color: var(--muted); }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
.check {
  display: flex; align-items: center; gap: .6rem;
  padding: .75rem .9rem; border: 1.5px solid var(--border); border-radius: var(--r-sm);
  background: var(--card); cursor: pointer; font-size: var(--t-sm); font-weight: 500;
  transition: border-color var(--ease), background var(--ease);
}
.check input { width: 1.05rem; height: 1.05rem; accent-color: var(--navy); flex: none; }
.check:hover { border-color: var(--navy); }
.check:has(input:checked) { border-color: var(--navy); background: var(--paper); }
fieldset.field { border: 0; }
fieldset.field > legend { font-size: var(--t-sm); font-weight: 600; color: var(--ink); margin-bottom: .4rem; }

/* contact details card */
.contact-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: var(--shadow);
}
.contact-card dl { display: grid; gap: var(--s-5); }
.contact-card dt { font-size: var(--t-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: .3rem; }
.contact-card dd { font-family: var(--display); font-weight: 600; font-size: var(--t-lg); color: var(--ink); line-height: 1.35; overflow-wrap: anywhere; }
.contact-card dd a { border-bottom: 1.5px solid var(--rule-gold); transition: border-color var(--ease); }
.contact-card dd a:hover { border-color: var(--navy); }
.contact-card dd small { display: block; font-family: var(--sans); font-weight: 400; font-size: var(--t-sm); color: var(--muted); margin-top: .2rem; }

/* ---------- EVENTS (rendered by main.js) ---------- */
.event-feature {
  display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: var(--shadow);
  max-width: 960px; margin-inline: auto;
}
.event-feature__body { scroll-margin-top: calc(var(--nav-h) + 1.5rem); }
.event-feature__flyer { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--r-photo); overflow: hidden; box-shadow: 0 16px 32px -14px rgba(24,30,75,.35); }
.event-feature__flyer img { display: block; width: 100%; height: auto; }
.event-feature__title { font-size: var(--t-xl); margin-bottom: var(--s-1); }
.event-feature__date { font-family: var(--display); font-weight: 600; font-size: var(--t-md); color: var(--navy); margin-bottom: var(--s-1); }
.event-feature__meta { color: var(--muted); font-size: var(--t-sm); margin-bottom: var(--s-1); }
.event-feature__body > .btn { margin-top: var(--s-4); }
@media (max-width: 720px) {
  .event-feature { grid-template-columns: 1fr; }
  .event-feature__flyer { max-width: 360px; margin-inline: auto; }
}

.tickets { margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--border); }
.tickets__heading { font-size: var(--t-md); margin-bottom: var(--s-2); }
.tickets__row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding-block: .8rem; border-bottom: 1px solid var(--rule); }
.tickets__type { display: flex; flex-direction: column; min-width: 0; }
.tickets__name { font-weight: 700; color: var(--ink); }
.tickets__price { color: var(--muted); font-size: var(--t-sm); }
.tickets__door { font-size: var(--t-xs); white-space: nowrap; }
.tickets__qty { display: flex; align-items: center; gap: .35rem; flex: none; }
.tickets__step {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--navy); background: var(--card); color: var(--navy);
  font-size: 1.25rem; line-height: 1;
  transition: background var(--ease), color var(--ease);
}
.tickets__step:hover { background: var(--navy); color: #fff; }
.tickets__qty input {
  width: 3rem; height: 40px; text-align: center; font-weight: 700;
  border: 1.5px solid var(--border); border-radius: var(--r-sm); background: var(--card);
  -moz-appearance: textfield;
}
.tickets__qty input::-webkit-outer-spin-button, .tickets__qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tickets__qty input:focus { outline: none; border-color: var(--navy); }
.tickets__total { display: flex; justify-content: space-between; font-family: var(--display); font-weight: 700; font-size: var(--t-lg); color: var(--ink); padding-block: var(--s-4); }
.tickets__submit { width: 100%; }
.tickets__note { color: var(--muted); font-size: var(--t-sm); margin-top: var(--s-3); }
.tickets__buyer { display: grid; gap: var(--s-3); margin-bottom: var(--s-4); }
.tickets__items { display: contents; }

.coming-soon-box {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: clamp(1.5rem, 4vw, 3rem); text-align: center; max-width: 560px; margin-inline: auto;
  display: grid; gap: var(--s-3); justify-items: center; box-shadow: var(--shadow);
}
.coming-soon-box p { color: var(--muted); }
.notify-form { display: grid; gap: var(--s-2); width: 100%; max-width: 360px; margin-top: var(--s-2); }
.notify-form input {
  min-height: 48px; padding: .8rem 1rem; border: 1.5px solid var(--border); border-radius: var(--r-sm); background: var(--card);
}
.notify-form input:focus { outline: none; border-color: var(--navy); }

.events-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.event-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; transition: box-shadow var(--ease), transform var(--ease); }
.event-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.event-card__flyer { display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; padding: 0; border: 0; background: var(--paper-2); cursor: zoom-in; }
.event-card__flyer img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .3s ease; }
.event-card:hover .event-card__flyer img { transform: scale(1.03); }
.event-card__body { padding: var(--s-4) var(--s-5) var(--s-5); display: grid; gap: .3rem; }
.event-card__year { font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1; color: var(--gold-ink); }
.event-card__title { font-family: var(--display); font-weight: 600; font-size: var(--t-md); color: var(--ink); line-height: 1.3; }
.event-card__meta { font-size: var(--t-sm); color: var(--muted); line-height: 1.5; }

.lightbox { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(12, 14, 34, .92); align-items: center; justify-content: center; padding: var(--s-4); }
.lightbox.open { display: flex; }
.lightbox__inner { position: relative; max-width: 92vw; max-height: 90vh; }
.lightbox__img { max-width: 100%; max-height: 86vh; object-fit: contain; border-radius: var(--r-photo); }
.lightbox__close { position: absolute; top: -2.75rem; right: 0; color: #fff; font-size: 2rem; line-height: 1; padding: .25rem .5rem; }
.lightbox__close:hover { opacity: .75; }

/* ---------- THANK YOU ---------- */
.thanks { padding-block: clamp(4rem, 10vw, 7rem); }
.thanks__card {
  max-width: 620px; margin-inline: auto; text-align: center;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: clamp(1.75rem, 5vw, 3.25rem); box-shadow: var(--shadow);
  display: grid; gap: var(--s-4); justify-items: center;
}
.thanks__card p { color: var(--muted); }
.thanks__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center; margin-top: var(--s-2); }

/* ---------- FORMS ---------- */
.form { display: grid; gap: var(--s-4); }
.form__row { display: grid; gap: var(--s-4); }
.field { display: grid; gap: .4rem; min-width: 0; }
.field > label { font-size: var(--t-sm); font-weight: 600; color: var(--ink); }
.field > label .optional { font-weight: 400; color: var(--muted); }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .8rem .95rem;
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  background: var(--card); outline: none;
  transition: border-color var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%232B3280' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat; background-position: right .95rem center; padding-right: 2.5rem;
}
.form__submit { justify-self: start; margin-top: var(--s-2); }
.form__error { font-size: var(--t-sm); color: #A12B2B; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }

/* ---------- utilities ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   DARK MODE — html[data-theme="dark"]. A tiny script in each page's <head>
   sets data-theme before first paint: the visitor's saved choice from the
   sun/moon toggle, otherwise their device setting.
   Same brand, flipped: deep navy page, cream text, brighter gold.
   ===================================================================== */
.logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: block; }

[data-theme="dark"] {
  color-scheme: dark;
  --ink:          #F4EEDF;   /* headlines become cream */
  --band:         #0A0D27;   /* navy bands go deeper than the page */
  --navy:         #B4BCF4;   /* links and accents become soft periwinkle */
  --navy-2:       #CDD2F8;
  --gold:         #D6A54C;
  --gold-hover:   #E2B566;
  --gold-ink:     #E3B565;   /* small gold text needs to be lighter on dark */
  --paper:        #12163A;
  --paper-2:      #181D47;
  --card:         #1E2455;
  --border:       #313872;
  --text:         #E9E4D6;
  --muted:        #AEB2CB;
  --rule:         rgba(255, 255, 255, .12);
  --rule-gold:    rgba(214, 165, 76, .5);
  --shadow:       0 4px 16px -2px rgba(0, 0, 0, .35), 0 14px 36px -10px rgba(0, 0, 0, .45);
}

/* Gold buttons keep dark text (they borrowed the headline color, which is now cream). */
[data-theme="dark"] .btn--gold, [data-theme="dark"] .btn--gold:hover { color: #12163A; }
[data-theme="dark"] .btn--gold:disabled { background: var(--border); border-color: var(--border); color: var(--muted); opacity: 1; }

/* Buttons whose background was navy: keep them a solid brand navy with white text. */
[data-theme="dark"] .btn--primary { background: #3B44A8; border-color: #3B44A8; color: #fff; }
[data-theme="dark"] .btn--primary:hover { background: #4A54C0; border-color: #4A54C0; }
[data-theme="dark"] .btn--outline:hover { background: rgba(180, 188, 244, .12); }
[data-theme="dark"] .concert-banner__notify button { background: #3B44A8; }
[data-theme="dark"] .concert-banner__notify button:hover { background: #4A54C0; }
[data-theme="dark"] .tickets__step:hover { background: var(--navy); color: var(--paper); }
[data-theme="dark"] .donate-tab.active { background: var(--gold); color: #12163A; }

/* Payment logos are dark artwork: give them a light chip so they stay legible. */
[data-theme="dark"] .chooser__logo, [data-theme="dark"] .method__logo {
  background: #FBF6EC; border-radius: 6px; padding: 4px 8px; box-sizing: content-box;
}

/* Select arrow was drawn in navy. */
[data-theme="dark"] .field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23B4BCF4' stroke-width='1.5'/></svg>");
}

[data-theme="dark"] .pledge__error, [data-theme="dark"] .form__error { color: #F4A19A; }
[data-theme="dark"] .frame img, [data-theme="dark"] .event-feature__flyer { box-shadow: 0 2px 6px rgba(0, 0, 0, .3), 0 16px 32px -14px rgba(0, 0, 0, .6); }

/* ---------- Sun/moon toggle (in the nav) ---------- */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  width: 40px; height: 40px; border-radius: 50%;
  color: var(--ink); border: 1.5px solid var(--border);
  transition: background var(--ease), border-color var(--ease);
}
.theme-toggle:hover { border-color: var(--gold); background: var(--card); }
.theme-toggle svg { width: 18px; height: 18px; flex: none; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.theme-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 860px) {
  /* In the phone menu it becomes a full row with a visible label. */
  .theme-toggle {
    width: 100%; height: auto; border: 0; border-radius: 0; justify-content: flex-start;
    padding: .9rem 0; font-size: var(--t-base); font-weight: 600;
  }
  .theme-toggle:hover { background: none; color: var(--navy); }
  .theme-toggle__label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}
