/* ============================================================
   The Harvey Foundation — Editorial Archive / Ledger
   ============================================================ */
:root {
  --bg: #F5F2EC;
  --surface: #EBE5DB;
  --ink: #132A1D;
  --ink-soft: rgba(19, 42, 29, 0.78);
  --ink-faint: rgba(19, 42, 29, 0.68);
  --oxblood: #6E2C24;
  --oxblood-dark: #57221b;
  --gold: #9E814D;
  --gold-text: #7A6036;
  --gold-on-dark: #B89B66;
  --line: rgba(19, 42, 29, 0.16);
  --line-strong: rgba(19, 42, 29, 0.3);
  --serif: "Spectral", Georgia, serif;
  --sans: "Manrope", -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.07 0 0 0 0 0.16 0 0 0 0 0.11 0 0 0 0.03 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--oxblood); color: var(--bg); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.container { max-width: 80rem; margin-inline: auto; padding-inline: 1.5rem; }
@media (min-width: 768px) { .container { padding-inline: 3rem; } }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--bg);
  padding: 0.75rem 1.25rem; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.8rem, 7vw, 5.8rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.1; }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; font-weight: 500; }
em, .italic { font-style: italic; font-weight: 300; }

.overline {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--oxblood);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.overline::before { content: ""; width: 2.4rem; height: 1px; background: var(--gold); display: inline-block; }
.overline.gold { color: var(--gold-text); }
.overline.gold::before { background: var(--gold); }
.overline.light { color: rgba(245,242,236,0.7); } .overline.light::before { background: rgba(245,242,236,0.45); }

.ledger-no { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.25em; color: var(--gold-text); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); line-height: 1.8; color: var(--ink-soft); max-width: 42rem; font-weight: 300; }
.muted { color: var(--ink-faint); }
.text-oxblood { color: var(--oxblood); }
.text-gold { color: var(--gold-text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1.05rem 2rem;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out),
              border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform 0.35s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--oxblood); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-light { background: var(--bg); color: var(--ink); }
.btn-light:hover { background: var(--gold); color: var(--ink); }
.btn-ghost-light { background: transparent; border-color: rgba(245,242,236,0.45); color: var(--bg); }
.btn-ghost-light:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.btn-sm { padding: 0.65rem 1.4rem; font-size: 0.72rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--oxblood); text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  transition: gap 0.3s var(--ease-out), border-color 0.3s, color 0.3s;
}
.link-arrow:hover { gap: 0.85rem; color: var(--ink); border-color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 242, 236, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; flex: none; transition: transform 0.5s var(--ease-out); }
.brand:hover .brand-mark { transform: rotate(-6deg); }
.brand-text { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; line-height: 1; }
.brand-text em { color: var(--oxblood); }

.main-nav { display: none; align-items: center; gap: 1.8rem; }
.main-nav a {
  position: relative;
  text-decoration: none;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0.4rem 0;
  transition: color 0.3s var(--ease-out);
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 0.9rem; }
.header-actions .btn { display: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 6px; width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line-strong); cursor: pointer;
  transition: background-color 0.3s var(--ease-out);
}
.nav-toggle:hover { background: var(--surface); }
.nav-toggle span { width: 18px; height: 1.5px; background: var(--ink); transition: transform 0.35s var(--ease-out); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu { display: block; max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease-out); background: var(--bg); border-bottom: 1px solid transparent; }
.mobile-menu.is-open { max-height: 520px; border-bottom-color: var(--line); }
.mobile-menu nav { display: flex; flex-direction: column; padding: 1rem 1.5rem 2rem; gap: 0.25rem; }
.mobile-menu a {
  text-decoration: none; font-family: var(--serif); font-size: 1.55rem;
  padding: 0.55rem 0; border-bottom: 1px solid var(--line);
  transition: color 0.3s, padding-left 0.3s var(--ease-out);
}
.mobile-menu a:hover, .mobile-menu a[aria-current="page"] { color: var(--oxblood); padding-left: 0.5rem; }
.mobile-menu .btn { margin-top: 1.25rem; justify-content: center; }

@media (min-width: 1020px) {
  .main-nav { display: flex; }
  .header-actions .btn { display: inline-flex; }
  .nav-toggle, .mobile-menu { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(3rem, 7vw, 5.5rem); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: end; }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; gap: 4rem; }
  .hero-media { margin-bottom: -3rem; }
}
.hero h1 { margin: 1.4rem 0 1.6rem; }
.reveal-line { display: block; overflow: hidden; padding-bottom: 0.08em; }
html.js .reveal-line-inner { display: inline-block; transform: translateY(112%); }
html.no-motion .reveal-line-inner { display: inline-block; transform: none; }
html.js .hero-fade { opacity: 0; transform: translateY(22px); }
html.no-motion .hero-fade { opacity: 1; transform: none; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem;
  margin-top: 2.8rem; padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-faint);
}
.hero-trust strong { color: var(--ink); font-weight: 400; }

.hero-media { position: relative; }
html.js .hero-media { clip-path: inset(6% 4% 6% 4%); opacity: 0; }
html.no-motion .hero-media { clip-path: none; opacity: 1; }
.hero-media .frame { overflow: hidden; aspect-ratio: 4 / 4.8; border: 1px solid var(--line-strong); padding: 0.6rem; background: var(--bg); }
.hero-media .frame > .frame-inner, .hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-media figcaption {
  position: absolute; left: 0; bottom: -0.4rem; transform: translateY(100%);
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-faint); padding-top: 0.9rem;
}

/* archival image treatment */
.archival img { filter: sepia(0.18) grayscale(0.16) contrast(0.98); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--ink); padding: 1.15rem 0; margin-top: clamp(3.5rem, 8vw, 6.5rem); }
.marquee-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track > span {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  white-space: nowrap; padding-right: 3rem;
  color: var(--bg);
}
.marquee-track > span::after { content: "—"; color: var(--gold); padding-left: 3rem; font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 8rem); position: relative; }
.section-surface { background: var(--surface); }
.section-ink { background: var(--ink); color: var(--bg); }
.section-ink .muted { color: rgba(245,242,236,0.6); }
.section-head { max-width: 52rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section-head h2 { margin: 1.2rem 0 1rem; }
.grid-2 { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; } }
.grid-4 { display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Ledger rows (manifesto / values) ---------- */
.ledger-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem 2.5rem;
  padding-block: clamp(2rem, 4.5vw, 3.2rem);
  border-top: 1px solid var(--line-strong);
  align-items: start;
}
.ledger-row .ledger-no { padding-top: 0.5rem; }
.ledger-row h3 { margin-bottom: 0.7rem; }
.ledger-row p { color: var(--ink-soft); max-width: 40rem; font-weight: 300; }

/* ---------- Grant cards ---------- */
.card {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  padding: 0.6rem;
  display: flex; flex-direction: column;
  text-decoration: none;
  transition: transform 0.45s var(--ease-out), border-color 0.45s var(--ease-out), background-color 0.45s var(--ease-out);
}
.card:hover { transform: translateY(-5px); border-color: var(--gold); }
.card-media { overflow: hidden; aspect-ratio: 16 / 11; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 1.3rem 1rem 1.2rem; display: flex; flex-direction: column; gap: 0.65rem; flex: 1; }
.card-body h3 { font-size: 1.4rem; }
.card-body p { font-size: 0.92rem; color: var(--ink-soft); flex: 1; font-weight: 300; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { border-top: 1px solid var(--line-strong); padding-top: 1.1rem; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem, 3.6vw, 3rem); line-height: 1; }
.stat span { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); display: block; margin-top: 0.6rem; }

/* ---------- Frames ---------- */
.frame { overflow: hidden; position: relative; border: 1px solid var(--line-strong); padding: 0.6rem; background: var(--bg); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-tall .frame-fill { aspect-ratio: 3 / 3.9; }
.frame-wide .frame-fill { aspect-ratio: 16 / 9; }
.frame-fill { overflow: hidden; width: 100%; height: 100%; }
.frame-fill img { width: 100%; height: 100%; object-fit: cover; }
.frame-caption { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); margin-top: 0.9rem; }
[data-parallax] { overflow: hidden; }
[data-parallax] img { height: 116%; }

/* ---------- Quote band ---------- */
.quote-band blockquote {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.7rem, 3.6vw, 2.8rem); line-height: 1.3;
  max-width: 54rem;
}
.quote-band blockquote em { color: var(--gold); }
.quote-band cite { display: block; margin-top: 1.6rem; font-family: var(--mono); font-style: normal; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }
.section-ink .quote-band cite { color: rgba(245,242,236,0.55); }

/* ---------- CTA band ---------- */
.cta-band h2 { max-width: 46rem; margin: 1.2rem 0 1.4rem; }
.cta-band .btn-row, .btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.cta-band .btn-row { margin-top: 2.2rem; }

/* ---------- Page hero ---------- */
.page-hero { padding-top: clamp(3rem, 7vw, 5rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.page-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); margin: 1.3rem 0 1.4rem; max-width: 58rem; }
.breadcrumb { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.breadcrumb a { color: var(--oxblood); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Grant chapters ---------- */
.chapter { padding-block: clamp(3.5rem, 8vw, 6rem); border-top: 1px solid var(--line-strong); }
.chapter-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) {
  .chapter-grid { grid-template-columns: 0.9fr 1.1fr; gap: 5rem; align-items: center; }
  .chapter:nth-child(even) .chapter-grid > .chapter-media { order: -1; }
}
.chapter-label { display: flex; align-items: baseline; gap: 1.2rem; margin-bottom: 1.2rem; }
.chapter h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 1.1rem; }
.chapter p { color: var(--ink-soft); margin-bottom: 1.1rem; font-weight: 300; }
.check-list { list-style: none; margin: 1.4rem 0 1.8rem; display: grid; gap: 0.7rem; }
.check-list li { position: relative; padding-left: 1.8rem; color: var(--ink-soft); font-size: 0.95rem; font-weight: 300; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.52em;
  width: 0.9rem; height: 1px; background: var(--gold);
}

/* ---------- Impact ledger list ---------- */
.impact-item { display: grid; gap: 1.5rem; padding-block: clamp(2.2rem, 5vw, 3.4rem); border-top: 1px solid var(--line-strong); }
@media (min-width: 900px) { .impact-item { grid-template-columns: 0.85fr 1.4fr; gap: 4rem; } }
.impact-item .frame { aspect-ratio: 16 / 10; }
.impact-date { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--oxblood); margin-bottom: 0.8rem; display: block; }
.impact-item h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 1rem; font-weight: 400; }
.impact-item p { color: var(--ink-soft); margin-bottom: 0.9rem; max-width: 44rem; font-weight: 300; }

/* ---------- Info panels / details ---------- */
.info-panel { background: var(--bg); border: 1px solid var(--line-strong); padding: clamp(1.6rem, 4vw, 2.4rem); }
.info-panel h3 { margin-bottom: 1.1rem; }
.detail-row { display: grid; grid-template-columns: 1fr; gap: 0.15rem; padding: 1rem 0; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .detail-row { grid-template-columns: 12rem 1fr; gap: 1.5rem; } }
.detail-row dt { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); padding-top: 0.3rem; }
.detail-row dd { font-size: 1rem; font-weight: 400; }
.detail-row dd a { color: var(--oxblood); text-decoration: none; border-bottom: 1px solid var(--gold); transition: border-color 0.3s, color 0.3s; }
.detail-row dd a:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.3rem; }
.form-row { display: grid; gap: 1.3rem; }
@media (min-width: 700px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.5rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 0.98rem; color: var(--ink);
  background: transparent; border: 1px solid var(--line-strong);
  padding: 0.9rem 1.1rem; border-radius: 0;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--oxblood);
  box-shadow: 0 0 0 3px rgba(158, 129, 77, 0.25);
}
.form-note { font-size: 0.85rem; color: var(--ink-faint); }

/* ---------- Steps ---------- */
.flow-steps { counter-reset: step; display: grid; gap: 1.5rem; list-style: none; }
@media (min-width: 800px) { .flow-steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.flow-steps li { border: 1px solid var(--line-strong); padding: 1.8rem; counter-increment: step; background: var(--bg); transition: transform 0.4s var(--ease-out), border-color 0.4s; }
.flow-steps li:hover { transform: translateY(-4px); border-color: var(--gold); }
.flow-steps li::before {
  content: "No. " counter(step, decimal-leading-zero);
  display: block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.22em;
  color: var(--gold); margin-bottom: 1rem;
}
.flow-steps h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.flow-steps p { font-size: 0.92rem; color: var(--ink-soft); font-weight: 300; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--bg); position: relative; z-index: 2; }
.footer-word {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3rem, 10vw, 8.5rem);
  line-height: 0.95; letter-spacing: -0.02em;
  padding-top: clamp(3.5rem, 8vw, 6rem);
  color: var(--bg);
}
.footer-word em { color: var(--gold); }
.footer-cta { padding-block: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid rgba(245,242,236,0.16); }
.footer-cta p { color: rgba(245,242,236,0.65); max-width: 38rem; margin-bottom: 2rem; font-weight: 300; }
.footer-grid { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem); border-bottom: 1px solid rgba(245,242,236,0.16); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 3rem; } }
.footer-grid h4 { font-family: var(--mono); font-size: 0.68rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-on-dark); margin-bottom: 1.1rem; }
.footer-grid ul { list-style: none; display: grid; gap: 0.6rem; }
.footer-grid a { color: rgba(245,242,236,0.85); text-decoration: none; font-size: 0.92rem; font-weight: 300; transition: color 0.3s, padding-left 0.3s var(--ease-out); }
.footer-grid a:hover { color: var(--gold); padding-left: 0.3rem; }
.footer-brand p { color: rgba(245,242,236,0.6); font-size: 0.9rem; margin-top: 1rem; max-width: 24rem; font-weight: 300; }
.footer-charity { padding-block: 2.2rem; border-bottom: 1px solid rgba(245,242,236,0.16); }
.footer-charity p { font-size: 0.84rem; color: rgba(245,242,236,0.72); max-width: 62rem; margin-bottom: 0.5rem; font-weight: 300; }
.footer-charity strong { color: var(--bg); font-weight: 500; }
.footer-base {
  display: flex; flex-wrap: wrap; gap: 0.8rem 2rem;
  align-items: center; justify-content: space-between;
  padding-block: 1.6rem;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(245,242,236,0.68);
}
.footer-base a { color: rgba(245,242,236,0.82); text-decoration: none; }
.footer-base a:hover { color: var(--bg); text-decoration: underline; }

/* ---------- Misc ---------- */
.notice { border-left: 2px solid var(--gold); background: var(--surface); padding: 1.2rem 1.4rem; font-size: 0.92rem; color: var(--ink-soft); }
.notice a { color: var(--oxblood); }
.prose p { margin-bottom: 1.2rem; color: var(--ink-soft); max-width: 46rem; font-weight: 300; }
.prose h2 { margin: 2.8rem 0 1.1rem; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.prose h3 { margin: 2.2rem 0 0.9rem; font-size: 1.4rem; }
.prose ul { margin: 0 0 1.2rem 1.3rem; color: var(--ink-soft); max-width: 44rem; font-weight: 300; }
.prose li { margin-bottom: 0.5rem; }
.prose a { color: var(--oxblood); }
.prose strong { color: var(--ink); font-weight: 500; }

[data-reveal] { will-change: transform, opacity; }
html.no-motion [data-reveal] { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; scroll-behavior: auto !important; }
  html.js .reveal-line-inner, html.js .hero-fade, html.js .hero-media { transform: none; opacity: 1; clip-path: none; }
}
