/* CITYarts core — tokens, reset, and the giving widget.
   Shared by all three variants. Variants override tokens and layout, never this file's structure. */

:root {
  /* Neutrals carry a slight blue bias so they read as chosen, not defaulted. */
  --ground:      #F7F7F4;
  --surface:     #FFFFFF;
  --surface-2:   #EFEFEA;
  --ink:         #12151C;
  --ink-soft:    #474D5B;
  --ink-faint:   #686C76;   /* 4.56:1 worst-case light (was #7A8290 at 3.36 -- AA fail) */
  --line:        #DCDCD4;
  --line-soft:   #E9E9E2;
  --line-strong: #94949C;   /* 3.01:1 on white -- for interactive boundaries only */
  --on-ink-faint: #9AA0AC;  /* muted text ON --ink grounds: 6.96:1. --ink-faint is 3.47:1 there. */

  /* Ultramarine — a real mural pigment, and it survives on both grounds. */
  --accent:      #1B3FA0;
  --accent-ink:  #FFFFFF;
  --accent-soft: #E3E8F7;

  --good:        #2E6B4F;
  --good-soft:   #DEEDE4;
  --warn:        #B8791F;
  --hot:         #B23E22;

  --r:      4px;
  --r-lg:   8px;
  --shadow: 0 1px 2px rgba(18,21,28,.05), 0 12px 32px -20px rgba(18,21,28,.35);

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Newsreader", Georgia, "Times New Roman", serif;
  --font-ui:      "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --pad: clamp(1.15rem, 4vw, 2.5rem);
  --measure: 38rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground:#0E1015; --surface:#171A21; --surface-2:#1E222B;
    --ink:#EDEDE8; --ink-soft:#AFB6C4; --ink-faint:#838995;
    --line:#2C313B; --line-soft:#232830; --line-strong:#65656F; --on-ink-faint:#5E6470;
    --accent:#8CA8FF; --accent-ink:#0E1015; --accent-soft:#1A2240;
    --good:#6FC79C; --good-soft:#14291F; --warn:#E0A94E; --hot:#EC9077;
    --shadow:0 1px 2px rgba(0,0,0,.5), 0 14px 34px -22px rgba(0,0,0,.9);
  }
}
:root[data-theme="dark"] {
  --ground:#0E1015; --surface:#171A21; --surface-2:#1E222B;
  --ink:#EDEDE8; --ink-soft:#AFB6C4; --ink-faint:#838995;
  --line:#2C313B; --line-soft:#232830; --line-strong:#65656F; --on-ink-faint:#5E6470;
  --accent:#8CA8FF; --accent-ink:#0E1015; --accent-soft:#1A2240;
  --good:#6FC79C; --good-soft:#14291F; --warn:#E0A94E; --hot:#EC9077;
  --shadow:0 1px 2px rgba(0,0,0,.5), 0 14px 34px -22px rgba(0,0,0,.9);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* The sticky give bar is 4.6rem of fixed furniture. Without this, every in-page anchor and
     every scrollIntoView can park content underneath it -- measured at 375x812 with the payment
     confirmation 33px visible out of 101px, and elementFromPoint returning the bar. */
  scroll-padding-bottom: 6.5rem;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, .ui { font-family: var(--font-display); }
h1, h2, h3 { text-wrap: balance; margin: 0; letter-spacing: -.025em; line-height: 1.05; }
p { margin: 0; text-wrap: pretty; }

a { color: inherit; }
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
  /* The hero is a photograph; a single-colour ring measured 1.45:1 against it. The white halo
     guarantees the indicator survives whatever image sits behind it. */
  box-shadow: 0 0 0 6px rgba(255,255,255,.92), 0 0 0 8px rgba(18,21,28,.35);
}

.sr-only {
  position: absolute; 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: -9999px; top: 0; z-index: 999;
  background: var(--accent); color: var(--accent-ink);
  padding: .8rem 1.2rem; font-family: var(--font-ui); font-weight: 700;
}
.skip:focus { left: 0; }

.eyebrow {
  font-family: var(--font-ui); font-size: .69rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--ink-faint);
}

.wrap { width: min(72rem, 100%); margin-inline: auto; padding-inline: var(--pad); }
.measure { max-width: var(--measure); }

/* ---------- buttons ---------- */

.btn {
  font-family: var(--font-ui); font-weight: 700; font-size: 1rem;
  border: 1.5px solid transparent; border-radius: var(--r);
  padding: .85rem 1.5rem; cursor: pointer; display: inline-flex;
  align-items: center; justify-content: center; gap: .5rem;
  text-decoration: none; transition: transform .12s ease, background .12s ease;
  min-height: 48px;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { font-size: 1.1rem; padding: 1.05rem 2rem; min-height: 56px; }
.btn-block { width: 100%; }

/* ================================================================
   GIVING WIDGET
   The whole point. Two taps: choose an amount, confirm.
   No page change, no account, no redirect.
   ================================================================ */

.give {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.1rem, 3vw, 1.6rem);
  display: flex; flex-direction: column; gap: 1rem;
  container-type: inline-size;
}

.give-head { display: flex; flex-direction: column; gap: .3rem; }
.give-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; }
.give-sub { font-size: .95rem; color: var(--ink-soft); line-height: 1.4; }

.give-freq {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1.5px solid var(--line-strong); border-radius: var(--r); overflow: hidden;
}
.give-freq button {
  font-family: var(--font-ui); font-weight: 700; font-size: .92rem;
  padding: .7rem .5rem; border: 0; background: transparent; color: var(--ink-soft);
  cursor: pointer; min-height: 44px;
}
.give-freq button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }

.give-tiers {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem;
}
@container (max-width: 26rem) { .give-tiers { grid-template-columns: repeat(2, 1fr); } }

.tier {
  position: relative; text-align: left; cursor: pointer;
  background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--r);
  padding: .7rem .7rem .75rem; min-height: 76px;
  display: flex; flex-direction: column; gap: .18rem;
  font-family: var(--font-ui); transition: border-color .12s ease, background .12s ease;
}
.tier:hover { border-color: var(--ink-faint); }
.tier[aria-pressed="true"] {
  border-color: var(--accent); background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.tier .amt { font-size: 1.22rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tier .buys { font-size: .72rem; font-weight: 600; color: var(--ink-soft); line-height: 1.25; }
.tier[aria-pressed="true"] .buys { color: var(--ink); }
.tier .flag {
  position: absolute; top: -.55rem; right: .4rem;
  font-size: .58rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--ink); color: var(--ground); padding: .16rem .38rem; border-radius: 2px;
}

.give-custom { display: flex; align-items: center; gap: .5rem; }
.give-custom label { font-family: var(--font-ui); font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.give-custom .field {
  flex: 1; display: flex; align-items: center; gap: .25rem;
  border: 1.5px solid var(--line-strong); border-radius: var(--r); padding: .1rem .7rem;
  background: var(--surface);
}
.give-custom .field:focus-within { border-color: var(--accent); }
.give-custom .cur { font-family: var(--font-ui); font-weight: 700; color: var(--ink-faint); }
.give-custom input {
  flex: 1; border: 0; background: transparent; color: var(--ink);
  font-family: var(--font-ui); font-size: 1.05rem; font-weight: 700;
  padding: .6rem 0; min-height: 44px; width: 100%;
  font-variant-numeric: tabular-nums;
}
.give-custom input:focus { outline: none; }

.give-buys {
  background: var(--accent-soft); border-radius: var(--r);
  padding: .75rem .9rem; font-size: .95rem; line-height: 1.4;
  display: flex; gap: .55rem; align-items: baseline; min-height: 3rem;
}
.give-buys b { font-family: var(--font-ui); color: var(--accent); }

.give-pay { display: flex; flex-direction: column; gap: .55rem; }

.give-wallet {
  background: var(--ink); color: var(--ground);
  border: 0; border-radius: var(--r); min-height: 54px;
  font-family: var(--font-ui); font-weight: 700; font-size: 1.06rem;
  cursor: pointer; display: none; align-items: center; justify-content: center; gap: .5rem;
}
.give-wallet[data-available="1"] { display: flex; }
.give-wallet:active { transform: translateY(1px); }
.give-wallet .glyph { font-size: 1.2em; line-height: 1; }

.give-or {
  display: none; align-items: center; gap: .7rem;
  font-family: var(--font-ui); font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint);
}
.give-wallet[data-available="1"] ~ .give-or { display: flex; }
.give-or::before, .give-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.give-note {
  font-family: var(--font-ui); font-size: .74rem; color: var(--ink-faint);
  line-height: 1.4; display: flex; gap: .4rem; align-items: baseline;
}

.give-status[hidden] { display: none; }
.give-status { scroll-margin-bottom: 6.5rem; }
.give-status:focus { outline: 3px solid var(--accent); outline-offset: 3px; }
.give-status {
  border-radius: var(--r); padding: 1rem 1.1rem;
  font-family: var(--font-ui); font-size: .95rem; line-height: 1.45;
}
.give-status[data-kind="ok"]   { background: var(--good-soft); color: var(--good); }
.give-status[data-kind="err"]  { background: color-mix(in srgb, var(--hot) 12%, transparent); color: var(--hot); }
.give-status[data-kind="work"] { background: var(--surface-2); color: var(--ink-soft); }
.give-status b { display: block; font-weight: 800; margin-bottom: .2rem; }

/* sticky mobile give bar — never more than a thumb away */
.give-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--surface); border-top: 1px solid var(--line);
  padding: .6rem var(--pad) calc(.6rem + env(safe-area-inset-bottom));
  display: none; gap: .6rem; align-items: center;
  box-shadow: 0 -8px 24px -18px rgba(0,0,0,.5);
}
.give-bar strong { font-family: var(--font-ui); font-size: .9rem; }
.give-bar .btn { flex: 1; }
@media (max-width: 52rem) { .give-bar { display: flex; } body { padding-bottom: 5rem; } }

/* ---------- shared sections ---------- */

.impact-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 1px; background: var(--line); border-block: 1px solid var(--line);
}
.impact-row div { background: var(--ground); padding: 1.4rem 1.1rem; }
.impact-row .n {
  font-family: var(--font-display); font-size: clamp(1.9rem, 4.5vw, 2.7rem);
  font-weight: 800; letter-spacing: -.04em; line-height: 1; display: block;
  font-variant-numeric: tabular-nums;
}
.impact-row .u { font-family: var(--font-ui); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); display: block; margin-top: .3rem; }
.impact-row .l { font-size: .88rem; color: var(--ink-soft); display: block; margin-top: .45rem; line-height: 1.35; }

.voice { display: flex; flex-direction: column; gap: .6rem; }
.voice q { font-size: 1.15rem; line-height: 1.45; font-style: italic; quotes: "\201C" "\201D"; }
.voice cite {
  font-family: var(--font-ui); font-style: normal; font-size: .78rem;
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint);
}

.card-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column;
}
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card .body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; }
.card h3 { font-size: 1.08rem; }
.card p { font-size: .93rem; color: var(--ink-soft); line-height: 1.45; }

footer.site {
  border-top: 1px solid var(--line); margin-top: 4rem;
  padding-block: 2.5rem 3.5rem; font-size: .9rem; color: var(--ink-soft);
}
footer.site a { color: var(--ink-soft); }
.foot-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.foot-grid h4 { font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .6rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .4rem; }

.social { display: flex; gap: .55rem; flex-wrap: wrap; }
.social a {
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-ui);
  font-size: .72rem; font-weight: 700; text-decoration: none;
}
.social a:hover { border-color: var(--accent); color: var(--accent); }

/* variant badge — dev lane only, stripped in prod */
.lane-badge {
  /* Bottom-left, not top-right: at 375px the top-right badge sat directly on top of the header's
     Give button, which is the one control the whole page exists to expose. A dev-only artefact
     must never occlude the primary action -- a reviewer cannot tell "hidden by the badge" from
     "missing", and the badge is invisible in prod so the defect would look intermittent. */
  position: fixed; bottom: 0; left: 0; z-index: 100;
  background: var(--ink); color: var(--ground);
  font-family: var(--font-mono); font-size: .64rem; font-weight: 600;
  padding: .3rem .55rem; border-top-right-radius: var(--r); opacity: .82;
  letter-spacing: .04em;
  pointer-events: none;
}
@media (max-width: 52rem) { .lane-badge { bottom: 4.4rem; } }

/* ================================================================
   MOTION
   Sima: "a lot of the content on the site is static... I would like for the site to be a lot more
   animated and visual." Motion here sequences the impact story rather than decorating it.

   Everything below is gated on .motion, which core/js/motion.js only adds when it is certain it
   can run AND the visitor has not asked for reduced motion. Without that class every element sits
   at its finished state -- so a JS failure or a reduced-motion preference yields the complete,
   readable, donatable page rather than a blank one.
   ================================================================ */

.motion [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .62s cubic-bezier(.22,.61,.36,1), transform .62s cubic-bezier(.22,.61,.36,1);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.motion [data-reveal].seen { opacity: 1; transform: none; }

/* A number that counts up must not reflow the line while it does it. */
[data-count] { font-variant-numeric: tabular-nums; }

/* ---------- the map ---------- */

.map {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1rem, 3vw, 1.75rem);
  overflow: hidden;
}
.map svg { width: 100%; height: auto; display: block; }
.map .land { fill: var(--surface-2); stroke: var(--line); stroke-width: .6; }
.map .route { fill: none; stroke: var(--accent); stroke-width: 1.1; opacity: .5; stroke-linecap: round; }

.map .dot { fill: var(--accent); opacity: 0; transform-box: fill-box; transform-origin: center; }
.motion .map .dot { transform: scale(.2); transition: opacity .5s ease, transform .5s cubic-bezier(.34,1.56,.64,1); transition-delay: calc(var(--i,0) * 55ms + 250ms); }
.map .dot.seen, html:not(.motion) .map .dot { opacity: 1; transform: scale(1); }

.map .halo { fill: none; stroke: var(--accent); stroke-width: 1; opacity: 0; }
.motion .map .dot.seen + .halo { animation: ping 2.6s ease-out infinite; animation-delay: calc(var(--i,0) * 55ms + 700ms); }
@keyframes ping {
  0%   { r: 3; opacity: .5; }
  70%  { r: 13; opacity: 0; }
  100% { r: 13; opacity: 0; }
}

.map-legend {
  display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: 1rem;
  font-family: var(--font-ui); font-size: .78rem; font-weight: 600; color: var(--ink-faint);
}
.map-legend b { color: var(--ink); font-variant-numeric: tabular-nums; }

.map-places {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: .3rem 1rem; margin-top: 1.1rem;
  font-family: var(--font-ui); font-size: .82rem; color: var(--ink-soft);
}
.map-places span { display: flex; gap: .45rem; align-items: baseline; }
.map-places i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }

/* ---------- founder quote, front and centre ---------- */
/* Sima: the founder "really wants that to be front and center." */

.founder {
  background: var(--ink); color: var(--ground);
  padding-block: clamp(3rem, 7vw, 5rem);
}
.founder blockquote { margin: 0; max-width: 46rem; }
.founder q {
  font-size: clamp(1.5rem, 4.2vw, 2.5rem); line-height: 1.2; font-style: italic;
  letter-spacing: -.02em; quotes: "\201C" "\201D"; text-wrap: balance;
}
.founder cite {
  display: block; margin-top: 1.2rem; font-style: normal; font-family: var(--font-ui);
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--on-ink-faint);
}

/* ---------- impact story: numbers that lead somewhere ---------- */
/* Sima on the live site: the impact page is "a compilation of different numbers that are not
   organized in any particular way"; she wants it succinct, aligned to the mission, and to
   "then drive to donation". So the row ENDS in a call to give rather than trailing off. */

.impact-story { display: flex; flex-direction: column; gap: clamp(1.4rem, 3vw, 2.2rem); }
.impact-cta {
  display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: center;
  padding-top: 1.2rem; border-top: 1px solid var(--line);
}
.impact-cta p { font-size: 1.06rem; color: var(--ink-soft); max-width: 34rem; }

/* Card collection. Only shown once a PaymentIntent exists, so the donor never sees an empty form.
   The give-pay block is hidden while this is up -- two competing pay buttons is its own defect. */
.give-card-form { display: flex; flex-direction: column; gap: .8rem; }
.give-card-form[hidden] { display: none; }
.give-element { min-height: 3rem; }
.give-back {
  background: none; border: 0; cursor: pointer; align-self: center;
  font-family: var(--font-ui); font-size: .88rem; font-weight: 600;
  color: var(--ink-soft); text-decoration: underline; min-height: 44px;
}

/* ---------- keep in touch ---------- */
/* Sima: "there needs to be more ways for people to leave their information for re-engagement in
   the future." A $300K annual run rate is not closed by one-time gifts, so the visitor who is not
   ready today is the second most valuable person on the page -- if you can reach them again. */

.keep { background: var(--surface-2); border-block: 1px solid var(--line); padding-block: clamp(2.5rem, 6vw, 4rem); }
.keep-in { display: grid; gap: 1.6rem; align-items: center; }
@media (min-width: 56rem) { .keep-in { grid-template-columns: 1fr 24rem; gap: 3rem; } }
.keep h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); margin-top: .4rem; }
.keep-sub { margin-top: .7rem; color: var(--ink-soft); font-size: 1rem; line-height: 1.5; max-width: 34rem; }
.keep-form { display: flex; flex-direction: column; gap: .6rem; }
.keep-form input, .keep-form select {
  font-family: var(--font-ui); font-size: 1rem; min-height: 48px;
  padding: .7rem .85rem; border: 1.5px solid var(--line-strong); border-radius: var(--r);
  background: var(--surface); color: var(--ink); width: 100%;
}
.keep-form input:focus, .keep-form select:focus { outline: 3px solid var(--accent); outline-offset: 1px; }
.keep-status { font-family: var(--font-ui); font-size: .9rem; margin-top: .2rem; }
.keep-status[hidden] { display: none; }
.keep-status[data-kind="ok"] { color: var(--good); }
.keep-status[data-kind="err"] { color: var(--hot); }
.give-status .sub-note {
  display: block; margin-top: .7rem; padding-top: .7rem;
  border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  font-size: .82rem; line-height: 1.45; font-weight: 500; opacity: .92;
}

/* ---------- routes: partner / artists / youth ---------- */
.routes { border-top: 1px solid var(--line); }
.ways { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin-top: 1.8rem; }
.way { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.05rem 1.15rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; }
.way b { font-family: var(--font-ui); font-size: .98rem; }
.way span { font-size: .92rem; color: var(--ink-soft); line-height: 1.45; }
.contact-card { margin-top: 1.8rem; background: var(--accent-soft); border-radius: var(--r-lg); padding: 1.35rem 1.4rem; }
.contact-card p { margin-bottom: .3rem; }
.contact-name { font-family: var(--font-ui); font-weight: 700; font-size: 1.08rem; }
.contact-card a { color: var(--accent); font-family: var(--font-ui); font-weight: 600; }
.contact-legal { margin-top: .8rem; font-size: .82rem; color: var(--ink-soft); line-height: 1.5; }

/* shared pillars grid -- variant A had its own copy; this is the one all three use */
.pillars { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); margin-top: 2rem; }
.pillars article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pillars img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.pillars .in { padding: 1.05rem 1.15rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; }
.pillars h3 { font-size: 1.1rem; line-height: 1.25; }
.pillars p { font-size: .93rem; color: var(--ink-soft); line-height: 1.5; }

/* ---------- post-gift monthly ask ---------- */
/* Shown only AFTER the one-time gift is banked. Declining is a real button, not a dismissal X --
   someone who has just given should never have to hunt for the way out. */
.give-upsell {
  margin-top: .9rem; padding: 1.1rem 1.15rem; border-radius: var(--r);
  background: var(--accent-soft); display: flex; flex-direction: column; gap: .5rem;
}
.give-upsell .up-q { font-family: var(--font-ui); font-weight: 700; font-size: 1.05rem; color: var(--accent); }
.give-upsell .up-w { font-size: .92rem; color: var(--ink-soft); line-height: 1.4; }
.give-upsell .up-btns { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .3rem; }
.give-upsell .up-yes { flex: 1 1 12rem; }
.give-upsell .up-no {
  background: none; border: 0; cursor: pointer; min-height: 48px; padding: 0 .6rem;
  font-family: var(--font-ui); font-size: .92rem; font-weight: 600;
  color: var(--ink-soft); text-decoration: underline;
}
/* Provenance on every headline figure. A reported number and a measured number look identical
   until someone says which it is -- and nobody could answer "what is the evidence for 200,000?" */
.impact-row .src {
  display: block; margin-top: .5rem; font-family: var(--font-ui);
  font-size: .7rem; line-height: 1.35; color: var(--ink-faint); font-style: normal;
}
/* Artist credits. The site's proposition is youth AND professional artists; the artists were
   invisible on every variant until the teaching-artist lens said so. */
.map-places em { display: block; font-style: normal; font-size: .74rem; color: var(--ink-faint); margin-top: .1rem; }
.geo-row em { font-style: normal; color: var(--ink-faint); }
/* Recurring disclosure. Stripe requires frequency, amount, how the amount is determined and the
   cancellation policy wherever credentials are stored -- and "can I stop it?" is the specific
   fear that stops people choosing monthly. */
.give-terms {
  background: var(--surface-2); border-left: 3px solid var(--accent);
  border-radius: var(--r); padding: .7rem .85rem;
  font-family: var(--font-ui); font-size: .82rem; line-height: 1.45; color: var(--ink-soft);
}
.give-terms[hidden] { display: none; }
/* Fee coverage. Default-on and removable. Deliberately NOT fine print: a pre-checked box that adds
   money is a dark pattern unless it is impossible to miss, so it sits directly above the pay
   button and every button states the total that will actually be charged. */
.give-fee {
  display: flex; gap: .6rem; align-items: flex-start; cursor: pointer;
  background: var(--surface-2); border-radius: var(--r); padding: .7rem .85rem;
  font-family: var(--font-ui); font-size: .86rem; line-height: 1.4; color: var(--ink);
}
.give-fee[hidden] { display: none; }
.give-fee input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--accent); }

.founder-bio { margin-top: 1.6rem; }
.founder-pull { border-left: 3px solid var(--accent); padding-left: 1.05rem; }
.founder-pull q { font-size: 1.05rem; line-height: 1.5; }
.founder-pull cite { display: block; margin-top: .5rem; font-style: normal;
  font-family: var(--font-ui); font-size: .84rem; color: var(--ink-soft); }
.founder-standing { margin: 1.2rem 0 0; padding-left: 1.1rem; display: grid; gap: .45rem; }
.founder-standing li { font-size: .95rem; line-height: 1.45; color: var(--ink-soft); }
.founder-links { margin-top: 1rem; font-family: var(--font-ui); font-size: .9rem; }
.founder-links a { color: var(--ink); text-underline-offset: 3px; }
