/* ============================================================
   RHB Outreach — one-page cinematic site
   Near-black and paper, a red open book. Oversized photographs,
   a few words, slow motion. Fraunces for the voice, Inter for the quiet.
   ============================================================ */

:root {
  --ink: #0f0d0c;
  --ink-2: #181412;
  --ink-3: #231d1a;
  --paper: #f4ecdf;
  --paper-2: #ebe1d0;
  --cream: #f1e8d8;
  --cream-soft: rgba(241, 232, 216, 0.68);
  --cream-faint: rgba(241, 232, 216, 0.42);
  --line: rgba(241, 232, 216, 0.14);
  --red: #d5442f;
  --red-deep: #b53a27;
  --text-paper: #1c1816;
  --muted-paper: #5f5751;
  --line-paper: rgba(28, 24, 22, 0.14);
  --serif: "Fraunces", "Iowan Old Style", "Palatino", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --wide: 1360px;
  --measure: 36rem;
  --gutter: clamp(20px, 4.5vw, 64px);
  --nav-h: 72px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + env(safe-area-inset-top)); overflow-x: hidden; overflow-x: clip; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
h1, h2, h3, h4 { margin: 0; font-weight: 300; line-height: 1.02; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
em { font-style: italic; }

.svg-defs { position: absolute; width: 0; height: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--paper); color: var(--ink); padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 2px; }
.paper :focus-visible { outline-color: var(--red-deep); }

/* ---------- Type ---------- */

.display, .h2, .h3, .quote, .beat-title {
  font-family: var(--serif);
  font-variation-settings: "opsz" 144, "SOFT" 40;
  letter-spacing: -0.015em;
}
.display {
  font-size: clamp(2.75rem, 7.4vw, 7.25rem);
  font-weight: 300;
  line-height: 0.98;
  max-width: 14ch;
  text-wrap: balance;
}
.display em, .h2 em { font-style: italic; font-weight: 300; color: var(--cream-soft); }
.paper .h2 em { color: var(--muted-paper); }
.h2 {
  font-size: clamp(2.1rem, 4.8vw, 4.4rem);
  font-weight: 300;
  line-height: 1.02;
  max-width: 16ch;
  text-wrap: balance;
}
.h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 400;
  line-height: 1.15;
  font-variation-settings: "opsz" 48, "SOFT" 20;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin: 0 0 1.4rem;
}
.paper .eyebrow { color: var(--muted-paper); }
.eyebrow .dot { color: var(--red); }
.lead {
  font-family: var(--serif);
  font-variation-settings: "opsz" 24, "SOFT" 20;
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  line-height: 1.45;
  max-width: var(--measure);
  text-wrap: pretty;
  color: var(--cream);
}
.paper .lead { color: var(--text-paper); }
.body {
  max-width: var(--measure);
  color: var(--cream-soft);
  text-wrap: pretty;
}
.paper .body { color: var(--muted-paper); }
.caption {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--cream-faint);
}
.paper .caption { color: var(--muted-paper); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.95em 1.6em;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-ghost { border-color: rgba(241, 232, 216, 0.4); color: var(--cream); background: transparent; }
.btn-ghost:hover { border-color: var(--cream); }
.paper .btn-ghost { border-color: rgba(28, 24, 22, 0.35); color: var(--text-paper); }
.paper .btn-ghost:hover { border-color: var(--text-paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }
.link {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}
.link:hover { opacity: 0.72; }
.arrow::after { content: "\2192"; display: inline-block; margin-left: 0.4em; transition: transform 0.25s ease; }
.arrow:hover::after { transform: translateX(4px); }

/* ---------- Layout ---------- */

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left)); }
.chapter { position: relative; padding: clamp(96px, 14vw, 200px) 0; }
.paper { background: var(--paper); color: var(--text-paper); }
.ink-2 { background: var(--ink-2); }

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.grid-2.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.grid-2.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.grid-2 .copy { max-width: 34rem; }
@media (max-width: 860px) {
  .grid-2, .grid-2.flip, .grid-2.even { grid-template-columns: 1fr; }
  .bleed-left, .bleed-right { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
  /* A photo that opens a section on phones meets the section above it, with no band of paper in between. */
  .chapter.paper > .grid-2 > figure:first-child { margin-top: calc(-1 * clamp(96px, 14vw, 200px)); }
  .grid-2.flip .copy { order: -1; }
}

/* ---------- Media ---------- */

.media { position: relative; overflow: hidden; background: var(--ink-3); }
.media img, .media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* A loop stays invisible until it is actually playing, then fades in over its still, so the still never snaps to the clip's first frame. */
.media video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.media.playing video { opacity: 1; }
.frame { aspect-ratio: 4 / 3; }
.frame-wide { aspect-ratio: 16 / 9; }
.frame-tall { aspect-ratio: 4 / 5; }
.frame-square { aspect-ratio: 1; }
.frame-cine { aspect-ratio: 2.2 / 1; }
.media.portrait img { object-position: 50% 30%; }

/* Oversized bleed: the image runs to the viewport edge on its side */
.bleed-right { margin-right: calc(-1 * var(--gutter)); }
.bleed-left { margin-left: calc(-1 * var(--gutter)); }
.full-bleed { width: 100vw; margin-left: calc(50% - 50vw); }

/* ---------- Reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
/* Photographs, covers, and video tiles only fade; a sliding image reads as a hitch on a phone. */
.js .media.reveal, .js .covers.reveal, .js .yt.reveal, .js .yt-feature.reveal, .js .bts .reveal { transform: none; }
.js .reveal.d1 { transition-delay: 0.08s; }
.js .reveal.d2 { transition-delay: 0.16s; }
.js .reveal.d3 { transition-delay: 0.24s; }
.js .reveal.d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: calc(var(--nav-h) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  display: flex;
  align-items: center;
  /* The blur starts at zero and eases up with the background, so nothing pops in. */
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: background 0.6s ease, border-color 0.6s ease, backdrop-filter 0.6s ease, -webkit-backdrop-filter 0.6s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(15, 13, 12, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); }
.brand .mark { width: 26px; height: 27px; color: var(--red); }
.brand-name { font-family: var(--serif); font-variation-settings: "opsz" 24; font-weight: 500; font-size: 1.05rem; letter-spacing: 0.01em; }
.brand-sub { display: block; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-faint); margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { font-size: 0.88rem; font-weight: 500; text-decoration: none; color: var(--cream-soft); transition: color 0.2s ease; }
.nav-links a:not(.btn):hover { color: var(--cream); }
.nav .btn { padding: 0.7em 1.3em; font-size: 0.86rem; }
@media (max-width: 700px) {
  .brand-sub, .nav-links a:not(.btn) { display: none; }
  .nav-links { gap: 12px; }
  /* On phones the bar is a solid band of ink that, with theme-color, runs up under the status bar. */
  .nav, .nav.scrolled { background: var(--ink); border-bottom-color: var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; background: var(--ink-3); }
.hero-media img, .hero-media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.hero-media img { animation: kenburns 28s ease-in-out infinite alternate; transform-origin: 55% 45%; transition: opacity 0.9s ease; }
/* Once the clip plays, the still holds where it is under the fading clip rather than snapping back. */
.hero-media.playing img { animation-play-state: paused; }
/* When motion and data allow (html.video-ok, set in <head> before first paint) the hero opens on plain ink and the clip fades in
   once it plays. The still is for browsers that hold or refuse the clip: cinematic.js drops the class then, and it fades in. */
.video-ok .hero-media { background: var(--ink); }
.video-ok .hero-media img { opacity: 0; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
@media (prefers-reduced-motion: reduce) { .hero-media img { animation: none; } }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(15, 13, 12, 0.92) 0%, rgba(15, 13, 12, 0.55) 34%, rgba(15, 13, 12, 0.08) 70%, rgba(15, 13, 12, 0.3) 100%);
}
.hero-copy { width: 100%; padding-top: calc(var(--nav-h) + env(safe-area-inset-top) + 24px); padding-bottom: calc(clamp(48px, 9vh, 112px) + env(safe-area-inset-bottom)); }
@media (max-width: 700px) {
  /* Under the solid phone bar the hero starts below it and fills the rest of the first screen. */
  .hero { margin-top: calc(var(--nav-h) + env(safe-area-inset-top)); min-height: calc(100svh - var(--nav-h) - env(safe-area-inset-top)); }
  .hero-copy { padding-top: 24px; }
  .hero-media { top: -9%; bottom: auto; height: 109%; }
  .hero-shade { background: linear-gradient(to top, rgba(15, 13, 12, 0.96) 0%, rgba(15, 13, 12, 0.82) 36%, rgba(15, 13, 12, 0.55) 60%, rgba(15, 13, 12, 0.1) 85%); }
}
.hero .lead { margin-top: clamp(20px, 3vh, 32px); max-width: 32rem; }
.hero .eyebrow { color: rgba(241, 232, 216, 0.88); text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55); }
.hero .display, .hero .lead { text-shadow: 0 2px 28px rgba(0, 0, 0, 0.4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(24px, 4vh, 40px); }

/* ---------- Who (about in one breath) ---------- */

.who { padding-top: clamp(80px, 12vw, 160px); }
.who .h2 { max-width: 20ch; }
.who-text { max-width: 44rem; margin-top: clamp(24px, 3vw, 40px); }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: clamp(56px, 8vw, 112px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.stats li { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); }
.stats .figure { font-family: var(--serif); font-variation-settings: "opsz" 96; font-weight: 300; font-size: clamp(2.4rem, 4.6vw, 4.2rem); line-height: 1; letter-spacing: -0.02em; }
.stats .label { display: block; margin-top: 10px; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-faint); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Inheritance ---------- */

.quote {
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.25;
  max-width: 26ch;
  margin: clamp(32px, 4vw, 56px) 0 0;
  padding-left: 22px;
  border-left: 2px solid var(--red);
}
.quote p { margin: 0; }
.quote cite { display: block; margin-top: 14px; font-family: var(--sans); font-style: normal; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-paper); }

/* ---------- Barrier (full-bleed backdrop) ---------- */

.backdrop {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.backdrop-media { position: absolute; inset: 0; z-index: -2; }
.backdrop-media img, .backdrop-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.backdrop-shade { position: absolute; inset: 0; z-index: -1; background: rgba(15, 13, 12, 0.66); }
.backdrop-shade.heavy { background: linear-gradient(to right, rgba(15, 13, 12, 0.92) 0%, rgba(15, 13, 12, 0.78) 50%, rgba(15, 13, 12, 0.5) 100%); }
.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(48px, 7vw, 96px);
  padding: 0; list-style: none;
}
.three li { padding-top: 22px; border-top: 1px solid var(--line); }
.three .num { font-family: var(--serif); font-size: 0.9rem; color: var(--red); letter-spacing: 0.1em; }
.three .h3 { margin: 10px 0 10px; }
.three p { color: var(--cream-soft); max-width: 28rem; }
.paper .three li { border-top-color: var(--line-paper); }
.paper .three p { color: var(--muted-paper); }
@media (max-width: 760px) { .three { grid-template-columns: 1fr; } }

/* ---------- Books: the cover wall ---------- */

.covers {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: clamp(8px, 1.2vw, 18px);
  margin-top: clamp(48px, 6vw, 88px);
  padding: 0; list-style: none;
  padding-bottom: 18px;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.covers li { aspect-ratio: 400 / 622; overflow: hidden; border-radius: 2px; background: var(--paper-2); box-shadow: 0 10px 30px rgba(28, 24, 22, 0.12); transform: translateZ(0); }
.covers img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.covers li:hover img { transform: scale(1.04); }
.covers li:nth-child(odd) { translate: 0 18px; }
@media (max-width: 1000px) { .covers { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 640px) { .covers { grid-template-columns: repeat(4, 1fr); } .covers li:nth-child(n+13) { display: none; } }
.books-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }

/* ---------- Hands: three beats, each over a photograph ---------- */

.beats { position: relative; }
.beat {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.beat-media { position: absolute; inset: 0; z-index: -2; background: var(--ink-3); }
.beat-media img, .beat-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.beat-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(15, 13, 12, 0.9) 0%, rgba(15, 13, 12, 0.45) 40%, rgba(15, 13, 12, 0.05) 75%); }
.beat.align-right .beat-copy { margin-left: auto; text-align: left; }
.beat-copy { width: 100%; max-width: 38rem; padding: 50vh 0 calc(clamp(48px, 8vh, 96px) + env(safe-area-inset-bottom)); }
@media (max-width: 700px) {
  .beat-copy { padding-top: 34svh; }
  .beat-title { font-size: clamp(2rem, 9vw, 2.6rem); }
}
.beat-title { font-size: clamp(2.2rem, 5vw, 4.6rem); font-weight: 300; line-height: 1.02; text-wrap: balance; }
.beat-copy .caption { margin-bottom: 18px; }
.beat-copy .body { margin-top: 18px; color: var(--cream-soft); max-width: 30rem; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 701px) {
    .beat-media img { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes drift { from { transform: scale(1.08) translateY(-2%); } to { transform: scale(1) translateY(2%); } }
  }
}

/* ---------- Watch ---------- */

.watch .lead { max-width: 30rem; }
.yt-feature { margin-top: clamp(40px, 5vw, 64px); }
.yt {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink-3);
  border-radius: 4px;
}
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: 0.88; transition: transform 0.8s ease, opacity 0.4s ease; }
.yt:hover img { transform: scale(1.03); opacity: 1; }
.yt button {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; background: linear-gradient(to top, rgba(15, 13, 12, 0.7), rgba(15, 13, 12, 0) 55%);
  cursor: pointer; color: var(--cream); text-align: left;
  display: flex; align-items: flex-end; gap: 16px; padding: clamp(18px, 3vw, 32px);
  font-family: var(--sans);
}
.yt .play {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  background: var(--red); display: grid; place-items: center;
  transition: transform 0.3s ease, background 0.3s ease;
}
.yt .play::before { content: ""; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; margin-left: 3px; }
.yt button:hover .play { transform: scale(1.06); background: var(--red-deep); }
.yt .yt-title { font-family: var(--serif); font-variation-settings: "opsz" 48; font-size: clamp(1.15rem, 2vw, 1.6rem); font-weight: 400; line-height: 1.2; text-wrap: balance; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 24px); margin-top: clamp(12px, 2vw, 24px); }
.yt-grid .yt .play { width: 44px; height: 44px; }
.yt-grid .yt .play::before { border-width: 7px 0 7px 12px; }
.yt-grid .yt .yt-title { font-size: 1.02rem; }
@media (max-width: 760px) { .yt-grid { grid-template-columns: 1fr; } }
.watch-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }
.bts {
  display: grid;
  grid-template-columns: 3fr 2fr 2fr;
  gap: clamp(10px, 1.5vw, 20px);
  margin-top: clamp(64px, 9vw, 128px);
}
/* The first frame sets the row's height; the other two stretch to match it. */
.bts { align-items: stretch; }
.bts .media { aspect-ratio: auto; min-height: 0; }
.bts .media:first-child { aspect-ratio: 16 / 10; }
.bts figcaption { margin-top: 12px; }
@media (max-width: 760px) {
  /* On phones the strip runs edge to edge, one large frame after another. */
  .bts { grid-template-columns: 1fr; gap: 6px; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
  .bts .media, .bts .media:first-child { aspect-ratio: 4 / 3; }
}

/* ---------- How ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 48px);
  margin-top: clamp(48px, 6vw, 88px);
  padding: 0; list-style: none;
  counter-reset: step;
}
.steps li { padding-top: 22px; border-top: 1px solid var(--line-paper); counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--serif); font-size: 0.9rem; letter-spacing: 0.1em; color: var(--red-deep); }
.steps .h3 { margin: 10px 0 10px; }
.steps p { color: var(--muted-paper); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Give ---------- */

.give { padding-bottom: clamp(96px, 12vw, 160px); }
.give-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 900px) { .give-grid { grid-template-columns: 1fr; } }
.give-card {
  background: var(--paper);
  color: var(--text-paper);
  border-radius: 6px;
  padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.give-card .caption { color: var(--muted-paper); }
.give-placeholder { padding: 28px; border: 1px dashed rgba(28, 24, 22, 0.3); border-radius: 4px; color: var(--muted-paper); font-size: 0.95rem; }
.give-placeholder strong { color: var(--text-paper); }
.give-placeholder code { font-size: 0.85em; background: rgba(28, 24, 22, 0.06); padding: 2px 6px; border-radius: 3px; }
#bloomerang-form { min-height: 40px; }
.give-aside { display: grid; gap: 18px; margin-top: clamp(32px, 4vw, 48px); padding-top: 24px; border-top: 1px solid var(--line); }
.give-aside .row { display: flex; flex-wrap: wrap; gap: 10px 28px; }

/* ---------- Footer ---------- */

.footer { padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--ink); color: var(--cream-faint); font-size: 0.85rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.footer .brand .mark { color: var(--cream-faint); }
.footer nav { display: flex; flex-wrap: wrap; gap: 18px 26px; }
.footer nav a { text-decoration: none; color: var(--cream-soft); }
.footer nav a:hover { color: var(--cream); }

/* ---------- Print ---------- */

@media print {
  .nav, video, .yt button { display: none !important; }
  body { background: #fff; color: #000; }
  .chapter, .beat, .hero { min-height: 0; padding: 24px 0; }
}
