/* ==========================================================================
   Buzizi Foundation - Giving System (assets/giving.css)
   Shared stylesheet for /giving, /give-monthly, /mission, /contact, /thank-you.

   Built ON the existing design system (assets/tokens.css + assets/foundation.css).
   Every color, radius, font and easing below resolves to a --bf-* / --font-* /
   --ease-* token already defined there. No new fonts, no framework, no @import,
   no build step. Load AFTER foundation.css + spacing-fixes.css.

   Contents
   --------
   1.  Local tokens (motion + reveal only - no new brand colors)
   2.  Scroll reveals            [data-reveal]
   3.  Dimensional hero          .gv-hero
   4.  Cadence toggle            .gv-toggle
   5.  Amount chips              .gv-amounts / .gv-amount
   6.  Impact sentence           .gv-impact
   7.  Designation cards         .gv-designation
   8.  Monthly tiers             .gv-tiers / .gv-tier
   9.  Give rail (desktop) + bottom bar (mobile)   .gv-rail
   10. Impact counter            .gv-counter
   11. Trust strip               .gv-trust
   12. Mission timeline          .gv-timeline
   13. Contact layout            .gv-contact
   14. Thank-you                 .gv-thanks
   15. Giving-not-open notice    .gv-fallback
   16. Marker underline          .gv-mark
   17. Reduced motion
   18. Responsive (980 / 768 / 420)
   19. Print
   ========================================================================== */

/* ---------- 1. Local tokens ---------- */
:root {
  --gv-reveal-y: 22px;
  --gv-reveal-dur: 560ms;
  --gv-reveal-ease: var(--ease-out-fluid, cubic-bezier(0.22, 1, 0.36, 1));
  --gv-parallax-max: 40px;      /* clamp for [data-plane] translate */
  --gv-rail-w: 380px;
  --gv-rail-top: 96px;          /* clears the sticky .bf-nav */
  --gv-gutter: 32px;
}

@media (max-width: 768px) {
  :root { --gv-gutter: 16px; }
}

/* ---------- 2. Scroll reveals ---------- */
/* Usage: add [data-reveal] to any element. Optional data-reveal="fade" for an
   opacity-only reveal (no rise) and data-reveal-delay="120" (ms) for stagger.
   giving.js adds .is-in once the element crosses the viewport; this file owns
   the two visual states. Everything here degrades to "just visible" under
   reduced motion (see §17) and if JS never runs (no-JS = safe, not hidden). */
[data-reveal] {
  opacity: 0;
  transform: translateY(var(--gv-reveal-y));
  transition: opacity var(--gv-reveal-dur) var(--gv-reveal-ease),
              transform var(--gv-reveal-dur) var(--gv-reveal-ease);
  transition-delay: var(--gv-reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal="fade"] { transform: none; }
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
/* No-JS / JS-failed safety net: never trap real content invisible forever. */
html:not(.gv-js) [data-reveal] { opacity: 1; transform: none; }

/* ---------- 3. Dimensional hero ---------- */
/* .gv-hero holds independent, absolutely-positioned planes ([data-plane]) so
   the ground, a mid photo, and the copy move at slightly different rates on
   scroll (see giving.js §parallax). Works two ways:
     - Photo mode:  .gv-hero.has-photo with a .gv-hero-plane img (real photo
       from /assets/photos or /uploads only - never generated, never cropped
       into a strip).
     - Type mode:   .gv-hero (no photo) composes purely from the existing
       --bf-accent-grad wash + type, for pages with no fitting photograph. */
.gv-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 96px 0 88px;
  background:
    radial-gradient(65% 90% at 82% 8%, hsl(var(--bf-gold-soft) / 0.30), transparent 62%),
    radial-gradient(55% 75% at 6% 96%, hsl(var(--bf-orange) / 0.18), transparent 64%),
    linear-gradient(180deg, hsl(var(--bf-cream)), hsl(var(--bf-ivory)) 72%);
}
.gv-hero-grid {
  position: relative;
  z-index: 1;
  max-width: var(--bf-maxw);
  margin: 0 auto;
  padding: 0 var(--gv-gutter);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.gv-hero.type-only .gv-hero-grid { grid-template-columns: 1fr; max-width: 880px; text-align: left; }

.gv-hero-eyebrow { margin-bottom: 4px; }
.gv-hero-h1 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 400;
  margin: 10px 0 20px;
}
.gv-hero-lede {
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--page-fg-muted);
  max-width: 540px;
  margin: 0 0 28px;
}
.gv-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Visual planes - the stage sits to the right of copy in photo mode. */
.gv-hero-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--bf-radius-lg);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 30px 80px -24px hsl(var(--bf-ink) / 0.22), 0 0 0 1px hsl(var(--bf-ink) / 0.05);
}
.gv-hero-plane {
  position: absolute;
  inset: -6% -6% -6% -6%;      /* overscan so parallax never reveals an edge */
  width: 112%;
  height: 112%;
  object-fit: cover;
  display: block;
}
.gv-hero-plane[data-plane] { will-change: transform; }
.gv-hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(155deg, transparent 42%, hsl(var(--bf-navy-deep) / 0.55) 100%);
  z-index: 1;
}
.gv-hero-cardfloat {
  position: absolute;
  left: 22px; right: 22px; bottom: 22px;
  z-index: 2;
  background: hsl(0 0% 100% / 0.94);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--bf-shadow-card);
}
.gv-hero-cardfloat b { font-family: var(--font-display); font-size: 15px; font-weight: 600; display: block; line-height: 1.15; }
.gv-hero-cardfloat small { font-size: 12px; color: var(--page-fg-soft); }

/* Type-only mode: no stage, the second plane is a soft typographic mark. */
.gv-hero.type-only .gv-hero-stage { display: none; }
.gv-hero-mark {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-accent);
  font-size: clamp(120px, 22vw, 320px);
  line-height: 1;
  color: hsl(var(--bf-orange) / 0.08);
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

/* ---------- 4. Cadence toggle (one-time / monthly) ---------- */
/* Two <button aria-pressed="true|false"> elements. No JS in this file manages
   state; the calling page's own script flips aria-pressed, this file paints it. */
.gv-toggle {
  display: inline-flex;
  width: 100%;
  background: hsl(var(--bf-paper));
  border: 1px solid hsl(var(--bf-rule));
  border-radius: var(--bf-radius-pill);
  padding: 4px;
  gap: 4px;
}
.gv-toggle button {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 20px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--page-fg-muted);
  border-radius: var(--bf-radius-pill);
  cursor: pointer;
  transition: color 200ms ease, background 220ms var(--ease-spring), box-shadow 220ms ease;
}
.gv-toggle button[aria-pressed="true"] {
  background: var(--bf-accent-grad);
  color: white;
  box-shadow: var(--bf-shadow-cta);
}
.gv-toggle button:not([aria-pressed="true"]):hover { color: var(--page-fg); }
.gv-toggle button:focus-visible { outline: 2px solid var(--bf-accent); outline-offset: 2px; }

.gv-toggle-note {
  font-size: 13px;
  color: var(--page-fg-soft);
  text-align: center;
  margin: 12px 0 0;
}
.gv-toggle-note strong { color: var(--bf-accent); font-weight: 600; }

/* ---------- 5. Amount chips ---------- */
.gv-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gv-amount {
  border: 1.5px solid hsl(var(--bf-rule));
  background: hsl(var(--bf-ivory));
  border-radius: 12px;
  padding: 16px 10px;
  text-align: center;
  cursor: pointer;
  transition: border-color 200ms, transform 200ms var(--ease-spring), background 200ms;
}
.gv-amount:hover { border-color: hsl(var(--bf-orange) / 0.5); transform: translateY(-1px); }
.gv-amount.is-selected {
  border-color: var(--bf-accent);
  background: hsl(var(--bf-orange) / 0.06);
  box-shadow: 0 0 0 3px hsl(var(--bf-orange) / 0.14);
}
.gv-amount-val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--page-fg);
}
.gv-amount-unit {
  display: block;
  font-size: 11.5px;
  color: var(--page-fg-soft);
  margin-top: 6px;
  line-height: 1.35;
}

.gv-amount-custom { position: relative; margin-top: 4px; }
.gv-amount-custom::before {
  content: "$";
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--page-fg-muted);
  pointer-events: none;
}
.gv-amount-custom input {
  padding-left: 32px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
}

/* ---------- 6. Impact sentence ---------- */
/* The rail's total is written as a plain sentence, not a summary table. Swap
   the key phrase (span[data-impact-phrase]) with a short crossfade whenever
   amount/cadence/designation changes - the page-specific script owns the
   text; this only owns the motion of the swap. */
.gv-impact {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.5;
  color: var(--page-fg);
  padding: 16px 0;
}
.gv-impact [data-impact-phrase] {
  color: var(--bf-accent);
  font-weight: 500;
  display: inline-block;
  transition: opacity 240ms ease;
}
.gv-impact.is-updating [data-impact-phrase] { opacity: 0; }

/* ---------- 7. Designation cards ---------- */
/* Accessible radio group: real <input type="radio"> visually hidden, label
   styled as a card. Works with zero JS; a page script may layer more on top. */
.gv-designation { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gv-designation input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  pointer-events: none;
}
.gv-designation label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1.5px solid hsl(var(--bf-rule));
  background: hsl(var(--bf-ivory));
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 200ms, background 200ms;
}
.gv-designation label b { font-size: 14px; font-weight: 600; color: var(--page-fg); }
.gv-designation label span { font-size: 12px; color: var(--page-fg-soft); line-height: 1.4; }
.gv-designation input[type="radio"]:checked + label {
  border-color: var(--bf-accent);
  background: hsl(var(--bf-orange) / 0.06);
  box-shadow: 0 0 0 3px hsl(var(--bf-orange) / 0.14);
}
.gv-designation input[type="radio"]:focus-visible + label {
  outline: 2px solid var(--bf-accent);
  outline-offset: 2px;
}

/* ---------- 8. Monthly tiers (give-monthly) ---------- */
.gv-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.gv-tier {
  position: relative;
  background: hsl(var(--bf-ivory));
  border: 1.5px solid hsl(var(--bf-rule));
  border-radius: var(--bf-radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 260ms var(--ease-spring), box-shadow 260ms ease, border-color 260ms ease;
}
.gv-tier:hover { transform: translateY(-4px); box-shadow: var(--bf-shadow-card); }
.gv-tier-name { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bf-accent); margin-bottom: 10px; }
.gv-tier-amt {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--page-fg);
  display: flex; align-items: baseline; gap: 4px;
}
.gv-tier-amt span { font-size: 15px; font-weight: 500; color: var(--page-fg-muted); }
.gv-tier-desc { font-size: 15px; color: var(--page-fg-muted); margin: 14px 0 22px; flex: 1; }
.gv-tier-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.gv-tier-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--page-fg); }
.gv-tier-list svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--bf-accent); }
.gv-tier .bf-btn { width: 100%; justify-content: center; }

.gv-tier.is-featured {
  border-color: var(--bf-accent);
  background: linear-gradient(180deg, hsl(var(--bf-orange) / 0.05), hsl(var(--bf-ivory)) 40%);
  box-shadow: 0 20px 50px -20px hsl(var(--bf-orange) / 0.35);
}
.gv-tier.is-featured::before {
  content: "Most chosen";
  position: absolute;
  top: -12px; left: 28px;
  background: var(--bf-accent-grad);
  color: white;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- 9. Give rail ---------- */
/* Desktop: a sticky summary card that never leaves the viewport while the
   story/tier content scrolls past it (the structural device borrowed from
   the reference site's sticky-split section - see concepts.md). Mobile: the
   full .gv-rail card drops its sticky behavior and returns to normal flow
   (a pinned card that ate the whole screen on a phone helps no one); the
   persistent action instead lives in the separate .gv-rail-bar strip, a
   deliberately small always-visible summary + CTA fixed to the bottom edge. */
.gv-rail {
  background: hsl(var(--bf-ivory));
  border: 1px solid hsl(var(--bf-rule));
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--bf-shadow-card);
}
@media (min-width: 981px) {
  .gv-rail-sticky { position: sticky; top: var(--gv-rail-top); }
}
.gv-rail h3 { font-size: 24px; margin: 6px 0 4px; }
.gv-rail > .gv-toggle { margin-top: 20px; }
.gv-rail-total {
  margin-top: 22px;
  padding: 20px 22px;
  background: linear-gradient(135deg, hsl(var(--bf-orange) / 0.08), hsl(var(--bf-gold) / 0.06));
  border: 1px solid hsl(var(--bf-orange) / 0.25);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.gv-rail-total .lbl { font-size: 11.5px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--page-fg-muted); }
.gv-rail-total .val {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  background: var(--bf-accent-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gv-rail .bf-btn { width: 100%; justify-content: center; margin-top: 16px; }

/* Bottom bar - mobile-only persistent summary. Markup convention: a sibling
   element of .gv-rail carrying this class, with a short label, a live total,
   and one CTA button. Hidden entirely on desktop; the full .gv-rail already
   covers the job there. */
.gv-rail-bar {
  display: none;
}
@media (max-width: 768px) {
  .gv-rail-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: hsl(var(--bf-ivory) / 0.96);
    backdrop-filter: blur(14px) saturate(180%);
    border-top: 1px solid hsl(var(--bf-rule));
    box-shadow: 0 -8px 24px -12px hsl(var(--bf-ink) / 0.18);
  }
  .gv-rail-bar-amt {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    color: var(--page-fg);
    line-height: 1.1;
    white-space: nowrap;
  }
  .gv-rail-bar-amt small { display: block; font-size: 11px; font-weight: 500; color: var(--page-fg-soft); }
  .gv-rail-bar .bf-btn { flex: 1; justify-content: center; white-space: nowrap; }
  /* Room for the fixed bar so it never covers the page's own final content. */
  body:has(.gv-rail-bar) { padding-bottom: 84px; }
}

/* ---------- 10. Impact counter ---------- */
/* Pairs with giving.js: the element carries data-count="<target integer>"
   and an optional data-count-prefix / data-count-suffix. Only real, sourced
   numbers belong here - see .gv-trust and CLAUDE.md "proof comes from one
   table"; an empty stat stays an em dash, never a guess. */
.gv-counter {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--page-fg);
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.gv-counter .unit { font-size: 0.4em; font-weight: 600; color: var(--bf-accent); }
.gv-counter-label {
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--page-fg-soft);
}
.gv-counter-row { display: flex; gap: 48px; flex-wrap: wrap; }

/* ---------- 11. Trust strip ---------- */
/* Stripe checkout · cancel anytime · every gift goes to programs. Deliberately
   never claims "tax-deductible" - the Foundation is not a registered charity;
   see CLAUDE.md rules for this build. */
.gv-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  padding: 18px;
  margin-top: 22px;
  background: hsl(var(--bf-paper) / 0.4);
  border-radius: 14px;
}
.gv-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--page-fg-muted);
}
.gv-trust-item svg { width: 16px; height: 16px; color: var(--bf-accent); flex-shrink: 0; }

/* ---------- 12. Mission timeline ---------- */
.gv-timeline { position: relative; padding-left: 52px; }
.gv-timeline::before {
  content: "";
  position: absolute; left: 15px; top: 6px; bottom: 6px;
  width: 2px;
  background: hsl(var(--bf-rule));
}
.gv-timeline-item { position: relative; padding-bottom: 44px; }
.gv-timeline-item:last-child { padding-bottom: 0; }
.gv-timeline-item::before {
  content: "";
  position: absolute; left: -44px; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bf-accent-grad);
  box-shadow: 0 0 0 4px hsl(var(--bf-ivory));
}
.gv-timeline-place {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bf-accent);
  margin-bottom: 6px;
}
.gv-timeline-item h3 { font-size: 23px; margin-bottom: 8px; }
.gv-timeline-item p { font-size: 15.5px; margin: 0; max-width: 620px; }

/* Flywheel mark - the Feed / Educate / Equip loop line (mission signature
   move). A real inline <svg><path> with stroke-dasharray = its own length
   (set inline by the page) and stroke-dashoffset driven to 0 via .is-drawn,
   added once by giving.js's reveal observer reaching this element. */
.gv-flywheel { display: flex; justify-content: center; margin: 8px 0 48px; }
.gv-flywheel svg { width: 100%; max-width: 420px; height: auto; }
.gv-flywheel path {
  fill: none;
  stroke: var(--bf-accent);
  stroke-width: 2;
  stroke-linecap: round;
  transition: stroke-dashoffset 1100ms var(--gv-reveal-ease);
}
.gv-flywheel:not(.is-drawn) path { stroke-dashoffset: var(--gv-path-length, 1000); }
.gv-flywheel.is-drawn path { stroke-dashoffset: 0; }
.gv-flywheel-labels { display: flex; justify-content: space-between; max-width: 420px; margin: -8px auto 0; }
.gv-flywheel-labels span { font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--page-fg-muted); }

/* ---------- 13. Contact layout ---------- */
.gv-contact { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
.gv-contact-card {
  background: hsl(var(--bf-ivory));
  border: 1px solid hsl(var(--bf-rule));
  border-radius: 22px;
  padding: 36px;
  box-shadow: var(--bf-shadow-card);
}
.gv-contact-channels { display: flex; flex-direction: column; gap: 20px; }
.gv-contact-channel { display: flex; gap: 16px; align-items: flex-start; }
.gv-contact-channel .icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 12px;
  background: hsl(var(--bf-orange) / 0.1);
  color: var(--bf-accent);
  display: grid; place-items: center;
}
.gv-contact-channel .icon svg { width: 19px; height: 19px; }
.gv-contact-channel h4 { font-size: 15.5px; margin: 0 0 3px; font-family: var(--font-sans); font-weight: 600; }
.gv-contact-channel p { font-size: 14px; margin: 0; }
.gv-contact-channel a { color: var(--bf-accent); font-weight: 500; text-decoration: none; }
.gv-contact-channel a:hover { text-decoration: underline; }

/* ---------- 14. Thank-you ---------- */
.gv-thanks {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 24px 0;
}
.gv-thanks-mark {
  width: 72px; height: 72px;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: var(--bf-accent-grad);
  color: white;
  display: grid; place-items: center;
  box-shadow: var(--bf-shadow-cta);
}
.gv-thanks-mark svg { width: 32px; height: 32px; }
.gv-thanks h1 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 14px; }
.gv-thanks-summary {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--page-fg);
  margin: 22px 0 30px;
  padding: 20px 24px;
  background: hsl(var(--bf-ivory));
  border: 1px solid hsl(var(--bf-rule));
  border-radius: 16px;
}
.gv-thanks-summary strong { color: var(--bf-accent); font-weight: 600; }
.gv-thanks-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 15. Giving-not-open notice ---------- */
/* Hidden by default; giving.js reveals it on a 503 giving_not_open reply and
   disables the triggering CTA. Never removed from the DOM (screen readers
   should still be able to reach it once shown). */
.gv-fallback {
  display: none;
  align-items: flex-start;
  gap: 14px;
  margin-top: 18px;
  padding: 16px 18px;
  background: hsl(var(--bf-gold) / 0.1);
  border: 1px solid hsl(var(--bf-gold) / 0.35);
  border-radius: 14px;
  font-size: 14px;
  color: var(--page-fg-muted);
}
.gv-fallback.is-visible { display: flex; }
.gv-fallback svg { width: 20px; height: 20px; color: hsl(var(--bf-gold)); flex-shrink: 0; margin-top: 1px; }
.gv-fallback strong { color: var(--page-fg); display: block; margin-bottom: 2px; }

/* Inline checkout error, injected by giving.js next to a failed CTA. */
.gv-checkout-msg {
  margin-top: 10px;
  font-size: 13px;
  color: hsl(var(--bf-burgundy));
}

/* ---------- 16. Marker underline ---------- */
/* Small, real-content version of the reference site's "highlight draws
   itself" effect - a background-size wipe under a key phrase. Triggered by
   the same [data-reveal] pass reaching the element (add .gv-mark inside a
   [data-reveal] ancestor; no separate JS hook needed). */
.gv-mark {
  background-image: linear-gradient(hsl(var(--bf-gold) / 0.45), hsl(var(--bf-gold) / 0.45));
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 0% 0.4em;
  transition: background-size 700ms var(--gv-reveal-ease) 150ms;
}
[data-reveal].is-in .gv-mark,
html:not(.gv-js) .gv-mark {
  background-size: 100% 0.4em;
}

/* ---------- 17. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .gv-hero-plane[data-plane] { transform: none !important; }
  .gv-flywheel path { transition: none !important; stroke-dashoffset: 0 !important; }
  .gv-mark { transition: none !important; background-size: 100% 0.4em !important; }
  .gv-amount, .gv-tier, .gv-toggle button, .bf-btn { transition: none !important; }
}

/* ---------- 18. Responsive ---------- */
@media (max-width: 980px) {
  .gv-hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: left; }
  .gv-hero-stage { max-width: 420px; }
  .gv-contact { grid-template-columns: 1fr; gap: 40px; }
  .gv-tiers { grid-template-columns: 1fr 1fr; }
  .gv-tier.is-featured { grid-column: span 2; }
}

@media (max-width: 768px) {
  :root { --gv-reveal-y: 14px; }
  .gv-hero { padding: 64px 0 56px; }
  .gv-amounts { grid-template-columns: repeat(2, 1fr); }
  .gv-designation { grid-template-columns: 1fr; }
  .gv-tiers { grid-template-columns: 1fr; }
  .gv-tier.is-featured { grid-column: auto; }
  .gv-rail { padding: 26px; }
  .gv-trust { gap: 16px; justify-content: flex-start; }
  .gv-timeline { padding-left: 40px; }
  .gv-timeline-item::before { left: -34px; }
}

@media (max-width: 420px) {
  body { overflow-x: hidden; }
  .gv-hero-h1 { font-size: clamp(32px, 9vw, 40px); }
  .gv-amounts { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gv-rail-bar-amt { font-size: 17px; }
  .gv-trust-item { font-size: 12px; }
  .gv-thanks-summary { font-size: 17px; padding: 16px 18px; }
}

/* ---------- 19. Print ---------- */
@media print {
  .gv-rail-bar,
  .gv-toggle,
  .bf-btn,
  .gv-hero-scrim { display: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .gv-hero { background: none; }
}

/* Keyboard focus on amount chips and tier buttons (judge finding, 2026-09-28) */
.gv-amount:focus-visible,
.gv-tier .bf-btn:focus-visible { outline: 2px solid hsl(var(--bf-orange)); outline-offset: 3px; }
