/* Till The Ground USA — site styles */

:root {
  --ink: #12162b;        /* brand navy, deepest */
  --navy: #1f2547;       /* brand navy */
  --navy-2: #2a3160;
  --gold: #c9a35a;       /* Revival House badge gold */
  --gold-hi: #e2c78c;
  --soil: #2b2019;       /* tilled ground */
  --soil-2: #3a2c21;
  --field: #ebe5d7;      /* light "paper" for the definition */
  --text: #eef0f6;
  --muted: #a9aecb;
  --line: rgba(238, 240, 246, 0.14);

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --ui: "Big Shoulders Text", "Arial Narrow", sans-serif;
  --serif: "Newsreader", Georgia, serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --sec: clamp(80px, 12vw, 160px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 1.125rem/1.65 var(--serif);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; font-family: var(--ui); font-weight: 700; }
.skip:focus { top: 16px; }

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

/* ---------- Type ---------- */
.h-display {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.75rem, 7vw, 5.75rem);
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0 0 0.35em;
  text-wrap: balance;
}
.lede { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.5; color: var(--muted); max-width: 38ch; }
.dur { font-family: var(--ui); font-weight: 600; font-size: 0.85em; opacity: 0.7; margin-left: 0.6em; font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font-family: var(--ui); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.02em;
  text-decoration: none; border: 2px solid transparent; border-radius: 999px;
  padding: 0.75em 1.5em; line-height: 1; transition: background-color .2s, color .2s, border-color .2s;
}
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-hi); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--sm { font-size: 1rem; padding: 0.55em 1.2em; }
.btn--block { width: 100%; }
.btn__play { width: 0; height: 0; border-style: solid; border-width: 0.4em 0 0.4em 0.65em; border-color: transparent transparent transparent currentColor; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  transition: background-color .3s, backdrop-filter .3s, padding .3s;
}
.nav.is-solid { background: rgba(18, 22, 43, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 10px; }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.02em; }
.nav__brand img { width: 44px; height: 44px; object-fit: contain; }
.nav__links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.nav__links a:not(.btn) { font-family: var(--ui); font-weight: 600; font-size: 1.05rem; text-decoration: none; letter-spacing: 0.02em; opacity: 0.85; }
.nav__links a:not(.btn):hover { opacity: 1; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; }
.nav__bars, .nav__bars::before, .nav__bars::after { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; content: ""; transition: transform .25s, opacity .25s; }
.nav__bars { top: 21px; }
.nav__bars::before { left: 0; right: 0; top: -8px; }
.nav__bars::after { left: 0; right: 0; top: 8px; }
.nav__toggle[aria-expanded="true"] .nav__bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__bars::before { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__brand span { display: none; }
  .nav__toggle { display: block; z-index: 2; }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 28px;
    background: var(--ink); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .nav__links a:not(.btn) { font-family: var(--display); font-weight: 800; font-size: 2.4rem; text-transform: uppercase; }
  .nav__links .btn { font-size: 1.3rem; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
}

/* ---------- Hero (scroll-scrubbed) ---------- */
.hero { position: relative; height: 420vh; background: var(--ink); }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18,22,43,.55) 0%, rgba(18,22,43,0) 30%, rgba(18,22,43,0) 55%, rgba(18,22,43,.85) 100%),
    radial-gradient(ellipse at center, rgba(18,22,43,0) 40%, rgba(18,22,43,.55) 100%);
}
.hero__beat {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  padding: 96px var(--gutter) 72px; opacity: 0; will-change: opacity, transform; pointer-events: none;
}
.hero__beat.is-live { pointer-events: auto; }
.hero__beat--1 { align-items: center; text-align: center; opacity: 1; }
.hero__logo { width: clamp(96px, 12vw, 160px); height: auto; margin-bottom: 8px; filter: drop-shadow(0 4px 24px rgba(0,0,0,.5)); }
.hero__title {
  font-family: var(--display); font-weight: 900; text-transform: uppercase; margin: 0;
  font-size: clamp(4.5rem, 17vw, 17rem); line-height: 0.82; letter-spacing: -0.01em;
  text-shadow: 0 6px 40px rgba(0,0,0,.45);
}
.hero__title span { display: block; }
.hero__title span:first-child { font-size: 0.42em; letter-spacing: 0.18em; font-weight: 700; color: var(--gold-hi); }
.hero__place { font-family: var(--ui); font-weight: 600; letter-spacing: 0.06em; margin-top: 18px; opacity: .85; }
.hero__beat--2, .hero__beat--3 { max-width: var(--wrap); margin-inline: auto; }
.hero__big {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; margin: 0;
  font-size: clamp(3rem, 9vw, 8.5rem); line-height: 0.88; max-width: 11ch; text-shadow: 0 6px 40px rgba(0,0,0,.5);
}
.hero__mid { font-size: clamp(1.4rem, 3vw, 2.4rem); line-height: 1.25; max-width: 24ch; margin: 0 0 32px; text-shadow: 0 2px 24px rgba(0,0,0,.6); }
.hero__beat--3 { justify-content: flex-end; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__cue { position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%); font-family: var(--ui); font-weight: 600; font-size: .95rem; letter-spacing: .1em; display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: .8; transition: opacity .3s; }
.hero__cue::after { content: ""; width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.hero__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.1); }
.hero__progress span { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }

/* ---------- Revival House ---------- */
.rh { padding: var(--sec) 0 calc(var(--sec) * .7); background: var(--ink) url("../img/texture-blue.webp") center / cover; position: relative; }
.rh::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink), rgba(18,22,43,.55) 30%, rgba(18,22,43,.7)); }
.rh__grid { position: relative; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.rh__badge { width: clamp(140px, 16vw, 220px); height: auto; margin-bottom: 24px; }
.rh__tour { margin: 0; }
.rh__tour figcaption { font-family: var(--ui); font-weight: 600; font-size: 1.05rem; margin-top: 12px; color: var(--muted); }

.player { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #000; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; }
.player img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s; }
.player:hover img { transform: scale(1.03); }
.player__btn {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--gold); box-shadow: 0 10px 40px rgba(0,0,0,.4); transition: transform .2s;
}
.player__btn::after { content: ""; position: absolute; left: 34px; top: 27px; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent var(--ink); }
.player:hover .player__btn, .story:hover .player__btn { transform: translate(-50%, -50%) scale(1.08); }

/* ---------- Definition ---------- */
.define { background: var(--field); color: var(--ink); padding: var(--sec) 0; }
.define__grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.define__word {
  font-family: var(--display); font-weight: 900; margin: 0; line-height: 0.8;
  font-size: clamp(5rem, 15vw, 13.5rem); letter-spacing: -0.01em;
}
.define__word span { color: var(--gold); font-weight: 700; margin: 0 0.02em; }
.define__ipa { font-size: 1.35rem; margin: 18px 0 28px; color: #5b5a6b; }
.define__meaning { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.3; font-style: italic; max-width: 22ch; border-left: 3px solid var(--gold); padding-left: 20px; margin: 0; }
.define__body { padding-top: clamp(0px, 4vw, 48px); max-width: 52ch; }
.define__claim { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 0.95; margin-bottom: 0.7em; }
.define__body p:not(.define__claim) { color: #2f3350; }

/* ---------- Documentary ---------- */
.doc { position: relative; min-height: min(92vh, 820px); display: flex; align-items: flex-end; overflow: hidden; }
.doc__bg, .outreach__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.doc::after, .outreach::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,22,43,.75), rgba(18,22,43,0) 60%), linear-gradient(180deg, rgba(18,22,43,.1) 30%, rgba(18,22,43,.92)); }
.doc__inner, .outreach__inner { position: relative; z-index: 1; padding-block: var(--sec) clamp(48px, 7vw, 96px); }
.doc__inner p, .outreach__inner p { font-size: clamp(1.15rem, 1.8vw, 1.4rem); max-width: 40ch; margin-bottom: 28px; }
.doc .h-display, .outreach .h-display { max-width: 12ch; }

/* ---------- Stories ---------- */
.stories { padding: var(--sec) 0; background: var(--navy); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 48px; margin-bottom: clamp(32px, 5vw, 64px); }
.sec-head .h-display { margin: 0; }
.sec-head .lede { margin: 0; }
.stories__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 24px); }
.story { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #000; text-align: left; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.story img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .6s ease; }
.story:hover img { transform: scale(1.04); }
.story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(18,22,43,.9)); }
.story .player__btn { width: 64px; height: 64px; z-index: 1; }
.story .player__btn::after { left: 26px; top: 20px; border-width: 12px 0 12px 19px; }
.story__meta { position: absolute; left: 18px; right: 18px; bottom: 14px; z-index: 1; font-family: var(--ui); font-weight: 600; font-size: 1.1rem; display: flex; align-items: baseline; }
.story__meta b { font-family: var(--display); font-weight: 900; font-size: 2rem; margin-left: 6px; color: var(--gold-hi); }
.story__meta .dur { margin-left: auto; }

/* ---------- Outreach ---------- */
.outreach { position: relative; min-height: min(90vh, 780px); display: flex; align-items: flex-end; overflow: hidden; }
.outreach__bg { object-position: 50% 20%; }

/* ---------- Gallery ---------- */
.gallery { padding: var(--sec) 0; }
.masonry { columns: 3 280px; column-gap: clamp(10px, 1.6vw, 18px); }
.tile { display: block; width: 100%; padding: 0; border: 0; margin: 0 0 clamp(10px, 1.6vw, 18px); break-inside: avoid; background: var(--navy); border-radius: var(--radius); overflow: hidden; }
.tile img, .tile video { width: 100%; height: auto; transition: transform .6s ease, filter .3s; }
button.tile:hover img { transform: scale(1.03); }
.tile--clip { position: relative; }
.tile--clip video { aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Partner ---------- */
.partner { border-block: 1px solid var(--line); }
.partner__inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px 40px; padding-block: 40px; }
.partner__inner p { margin: 0; font-family: var(--ui); font-weight: 600; font-size: 1.15rem; color: var(--muted); }
.partner__inner a { display: flex; align-items: center; gap: 16px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.6rem; text-transform: uppercase; }
.partner__inner img { width: 72px; height: 72px; object-fit: contain; border-radius: 50%; }
.partner__inner a:hover span { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; }

/* ---------- Give ---------- */
.give {
  padding: var(--sec) 0; color: #f3ece2;
  background:
    repeating-linear-gradient(176deg, rgba(0,0,0,0) 0 22px, rgba(0,0,0,.12) 22px 24px),
    linear-gradient(180deg, var(--soil-2), var(--soil));
}
.give__grid { display: grid; grid-template-columns: 1fr minmax(320px, 460px); gap: clamp(40px, 7vw, 112px); align-items: start; }
.give__copy p { max-width: 52ch; color: #d9cfc1; }
.give__copy .h-display { max-width: 11ch; color: #fff; }
.give__thanks { font-style: italic; color: var(--gold-hi) !important; font-size: 1.25rem; }

.donate { background: #f4efe6; color: var(--ink); border-radius: 14px; padding: clamp(24px, 3vw, 36px); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.donate__group { border: 0; padding: 0; margin: 0 0 24px; }
.donate legend { font-family: var(--ui); font-weight: 700; font-size: 1.1rem; margin-bottom: 10px; padding: 0; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); background: #e4dccd; border-radius: 999px; padding: 4px; }
.seg label, .amounts label { position: relative; }
.seg input, .amounts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; text-align: center; padding: 10px 6px; border-radius: 999px; font-family: var(--ui); font-weight: 700; font-size: 1.05rem; transition: background-color .2s, color .2s; }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span, .amounts input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.amounts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.amounts span {
  display: block; text-align: center; padding: 16px 8px; border: 2px solid #d4c9b5; border-radius: 10px;
  font-family: var(--display); font-weight: 800; font-size: 1.9rem; line-height: 1; transition: border-color .2s, background-color .2s;
}
.amounts label:hover span { border-color: var(--ink); }
.amounts input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--gold-hi); }
.amounts__other { grid-column: span 2; }
.amounts__other span { font-family: var(--ui); font-weight: 700; font-size: 1.2rem; padding: 14px 8px; }
.other { margin-top: 12px; }
.other label { font-family: var(--ui); font-weight: 600; display: block; margin-bottom: 6px; }
.other__field { display: flex; align-items: center; border: 2px solid var(--ink); border-radius: 10px; padding: 0 14px; background: #fff; }
.other__field span { font-family: var(--display); font-weight: 800; font-size: 1.6rem; }
.other__field input { border: 0; outline: 0; background: transparent; font-family: var(--display); font-weight: 800; font-size: 1.6rem; width: 100%; padding: 10px 6px; color: var(--ink); }
.donate__impact { font-size: 1rem; color: #4a4a58; min-height: 1.6em; margin: 0 0 14px; }
.donate .btn--gold { background: var(--ink); color: #fff; font-size: 1.3rem; padding: 1em; }
.donate .btn--gold:hover { background: var(--navy-2); }
.donate__note { font-size: .95rem; margin: 14px 0 0; color: #4a4a58; }
.donate__note:empty { display: none; }
.donate__note a { font-weight: 500; }

/* ---------- Contact ---------- */
.contact { padding: var(--sec) 0; background: var(--ink); }
.contact__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 112px); }
.contact__list { list-style: none; padding: 0; margin: 36px 0 0; }
.contact__list li { display: flex; gap: 20px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 1.2rem; }
.contact__list li span { font-family: var(--ui); font-weight: 600; color: var(--gold); width: 4.5em; flex: none; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.form { display: grid; gap: 18px; align-content: start; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-family: var(--ui); font-weight: 600; font-size: 1.05rem; margin-bottom: 6px; }
.field label i { font-family: var(--serif); font-weight: 400; color: var(--muted); font-size: .9em; margin-left: 4px; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--navy); border: 1px solid var(--line);
  border-radius: 8px; padding: 12px 14px; transition: border-color .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field input[aria-invalid="true"] { border-color: #e58a7a; }
.form .btn { justify-self: start; }
.form__status { margin: 0; min-height: 1.5em; color: var(--gold-hi); }

/* ---------- Footer ---------- */
.foot { background: #0d1022; padding: 56px 0 40px; font-size: 1rem; color: var(--muted); }
.foot__grid { display: grid; grid-template-columns: 2fr 1.5fr 1.5fr; gap: 32px; }
.foot__brand { display: flex; gap: 16px; align-items: center; }
.foot__brand img { width: 64px; height: 64px; object-fit: contain; }
.foot__brand p { margin: 0; font-family: var(--ui); font-weight: 600; color: var(--text); line-height: 1.35; }
.foot__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot__links a { text-decoration: none; }
.foot__links a:hover { color: var(--text); text-decoration: underline; }

/* ---------- Modals ---------- */
.modal { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; color: #fff; }
.modal::backdrop { background: rgba(8, 10, 22, .94); }
.modal[open] { display: flex; align-items: center; justify-content: center; }
.modal__media { width: min(92vw, calc(84vh * 16 / 9)); }
.modal__media video, .modal__media iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; background: #000; border: 0; border-radius: var(--radius); }
.modal__close { position: absolute; top: 14px; right: 18px; width: 48px; height: 48px; border: 0; background: rgba(255,255,255,.1); border-radius: 50%; font-size: 2rem; line-height: 1; z-index: 2; }
.modal__close:hover { background: rgba(255,255,255,.2); }
.modal--photo img { max-width: 90vw; max-height: 88vh; width: auto; height: auto; border-radius: var(--radius); }
.modal__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); font-size: 2.4rem; line-height: 1; }
.modal__nav:hover { background: rgba(255,255,255,.22); }
.modal__nav--prev { left: 16px; }
.modal__nav--next { right: 16px; }

/* ---------- Nav: current page ---------- */
.nav__links a[aria-current="page"]:not(.btn) { opacity: 1; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav__links .btn[aria-current="page"] { background: var(--gold-hi); }

/* ---------- Home: the ministry ---------- */
.ministry { padding: var(--sec) 0; background: var(--ink) url("/assets/img/texture-blue.webp") center / cover; position: relative; }
.ministry::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink), rgba(18,22,43,.6) 35%, rgba(18,22,43,.8)); }
.ministry__grid { position: relative; display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.ministry__copy p:not(.lede) { max-width: 46ch; }
.ministry__copy .btn { margin-top: 12px; }
.ministry__photos { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: clamp(10px, 1.4vw, 16px); }
.mp { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.mp img { width: 100%; height: 100%; object-fit: cover; }
.mp figcaption { position: absolute; left: 12px; bottom: 10px; font-family: var(--ui); font-weight: 700; font-size: 1.05rem; background: rgba(18,22,43,.78); padding: 4px 10px; border-radius: 4px; }
.mp--a { grid-row: span 2; aspect-ratio: 4 / 5; }
.mp--b, .mp--c { aspect-ratio: 4 / 3; }

/* ---------- Home: Revival House feature ---------- */
.feature { padding: var(--sec) 0; background: var(--navy); }
.feature__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.feature__media { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.feature__media:hover img { transform: scale(1.03); }
.feature__badge { width: 96px; height: auto; margin-bottom: 16px; }
.feature__copy .lede { color: var(--gold-hi); margin-bottom: 1em; }
.feature__copy p:not(.lede) { max-width: 44ch; }

/* ---------- Home: gallery preview ---------- */
.preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.6vw, 18px); }
.preview-grid .tile { margin: 0; aspect-ratio: 1; }
.preview-grid .tile img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Donate band ---------- */
.give-band {
  padding: clamp(64px, 9vw, 112px) 0; color: #f3ece2;
  background: repeating-linear-gradient(176deg, rgba(0,0,0,0) 0 22px, rgba(0,0,0,.12) 22px 24px), linear-gradient(180deg, var(--soil-2), var(--soil));
}
.give-band__inner { display: grid; grid-template-columns: 1fr auto; gap: 32px 64px; align-items: center; }
.give-band .h-display { font-size: clamp(2.5rem, 5.5vw, 4.5rem); max-width: 14ch; color: #fff; }
.give-band p { max-width: 46ch; color: #d9cfc1; margin: 0; }
.give-band__amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; min-width: min(100%, 380px); }
.give-band__amounts a {
  display: block; text-align: center; text-decoration: none; padding: 18px 10px; border-radius: 10px;
  background: #f4efe6; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1; transition: background-color .2s;
}
.give-band__amounts a:hover { background: var(--gold-hi); }
.give-band__amounts .give-band__more { grid-column: span 3; background: var(--gold); font-family: var(--ui); font-weight: 700; font-size: 1.2rem; }

/* ---------- Revival House page ---------- */
.rh-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.rh-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rh-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,22,43,.85), rgba(18,22,43,.25) 70%), linear-gradient(180deg, rgba(18,22,43,.5), rgba(18,22,43,0) 30%, rgba(18,22,43,.75)); }
.rh-hero__inner { position: relative; z-index: 1; padding-block: 140px clamp(56px, 8vw, 112px); }
.rh-hero__badge { width: clamp(110px, 12vw, 160px); height: auto; margin-bottom: 20px; filter: drop-shadow(0 6px 30px rgba(0,0,0,.5)); }
.rh-hero__kicker { font-family: var(--ui); font-weight: 600; font-size: 1.2rem; color: var(--gold-hi); margin-bottom: 8px; }
.rh-hero__title { font-size: clamp(3.5rem, 10vw, 9rem); max-width: 9ch; }
.rh-hero .lede { color: var(--text); margin-bottom: 32px; }
.provides { padding: var(--sec) 0; }
.provides__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.provides__list { list-style: none; padding: 0; margin: 0 0 32px; }
.provides__list li { padding: 12px 0 12px 28px; border-top: 1px solid var(--line); position: relative; font-size: 1.15rem; }
.provides__list li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 12px; height: 2px; background: var(--gold); }
.define__body h2.define__claim { margin-top: 0; }

/* ---------- Inner pages ---------- */
.page-head { padding-top: clamp(130px, 16vw, 200px); padding-bottom: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 48px; }
.page-head .h-display { margin: 0; font-size: clamp(3.5rem, 10vw, 8rem); }
.page-head .lede { margin: 0; }
.gallery--page { padding-top: 0; }
.give--page { padding-top: clamp(130px, 14vw, 180px); min-height: 100svh; }
.give--page .give__copy .h-display { font-size: clamp(3rem, 7vw, 5.5rem); }
.give__other { font-size: 1rem; }
.give__other a { color: var(--gold-hi); }
.page-give { background: var(--soil); }
.contact--page { padding-top: clamp(130px, 14vw, 180px); }
.contact__photo { margin: 40px 0 0; border-radius: var(--radius); overflow: hidden; }

@media (max-width: 960px) {
  .ministry__grid, .feature__grid, .provides__grid, .give-band__inner { grid-template-columns: 1fr; }
  .feature__media { order: 2; }
  .give--page .donate { order: -1; }
  .give--page .give__copy .h-display { font-size: clamp(2.5rem, 9vw, 4rem); }
  .contact__photo { display: none; }
}
@media (max-width: 560px) {
  .preview-grid { grid-template-columns: repeat(2, 1fr); }
  .ministry__photos { grid-template-columns: 1fr 1fr; }
}

/* ---------- Film grain over the whole site ---------- */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: .09;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Hero: video through the title ---------- */
.hero__stage { background: linear-gradient(rgba(18,22,43,.8), rgba(18,22,43,.8)), url("../img/texture-blue.webp") center / cover; }
.hero--mask .hero__title, .hero--mask .hero__title span:first-child { color: transparent; text-shadow: none; }

/* ---------- Live video tiles ---------- */
.player video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform .6s ease; }
.player:hover video { transform: scale(1.03); }

/* ---------- Scroll-driven word band ---------- */
.band { overflow: hidden; background: var(--ink); padding: clamp(28px, 4vw, 56px) 0; }
.band__row {
  display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); white-space: nowrap; will-change: transform;
  font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: 1;
  font-size: clamp(3.75rem, 11vw, 10rem); color: transparent; -webkit-text-stroke: 1.5px rgba(238,240,246,.5);
}
.band__row--solid { color: var(--gold); -webkit-text-stroke: 0; margin-top: clamp(6px, 1vw, 14px); }
.band__row i { flex: none; width: .16em; height: .16em; background: var(--gold); }
.band__row--solid i { background: rgba(238,240,246,.5); }

/* ---------- Parallax photo ---------- */
[data-parallax] { will-change: transform; transform: scale(1.16); }

/* ---------- Documentary: whole group photo on top, words beneath, so no face sits under the title ---------- */
.doc { display: block; min-height: 0; background: var(--ink); }
.doc::after { content: none; }
.doc__photo { margin: 0; position: relative; }
.doc__photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(18,22,43,.4) 0%, rgba(18,22,43,0) 16%, rgba(18,22,43,0) 68%, var(--ink) 100%);
}
.doc .doc__bg { position: static; width: 100%; height: auto; aspect-ratio: 2000 / 1050; object-fit: cover; object-position: 50% 40%; }
.doc .doc__inner { padding-block: 0 clamp(56px, 8vw, 104px); margin-top: clamp(-100px, -6.5vw, -36px); }
.doc .h-display { max-width: none; font-size: clamp(2.6rem, 5.6vw, 5.75rem); }
.doc__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.doc .doc__row p { margin: 0; }
@media (max-width: 700px) {
  .doc .doc__bg { aspect-ratio: 4 / 3; }
}

/* ---------- Testimonials: focus the one you're on ---------- */
@media (hover: hover) {
  .stories__grid .story { transition: opacity .3s, filter .3s; }
  .stories__grid:hover .story:not(:hover) { opacity: .45; filter: saturate(.4); }
}

@media (prefers-reduced-motion: reduce) {
  [data-parallax] { transform: none; }
  .band__row { flex-wrap: wrap; white-space: normal; font-size: clamp(2rem, 6vw, 4rem); padding-inline: var(--gutter); }
  .band__row span:nth-of-type(n+4), .band__row i:nth-of-type(n+3) { display: none; }
}

/* ---------- Gallery: video tiles and "show all" ---------- */
.tile--video { position: relative; cursor: pointer; }
.tile--video video { aspect-ratio: 9 / 16; pointer-events: none; }
.tile__play { position: absolute; left: 12px; bottom: 12px; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.tile__play::after { content: ""; position: absolute; left: 18px; top: 14px; border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent var(--ink); }
.masonry.is-collapsed > :nth-child(n+16) { display: none; }
.gallery__more { margin: clamp(20px, 3vw, 36px) 0 0; text-align: center; }

/* ---------- Thank-you page ---------- */
.thanks { background: repeating-linear-gradient(176deg, rgba(0,0,0,0) 0 22px, rgba(0,0,0,.12) 22px 24px), linear-gradient(180deg, var(--soil-2), var(--soil)); min-height: 100svh; }
.thanks__main { min-height: 100svh; display: flex; align-items: center; padding: 120px 0 64px; }
.thanks__inner { max-width: 760px; }
.thanks__badge { width: 120px; height: auto; margin-bottom: 20px; }
.thanks p:not(.lede) { max-width: 46ch; color: #d9cfc1; margin-bottom: 32px; }
.thanks .lede { color: #f3ece2; }

/* ---------- Legal pages ---------- */
.legal { padding: 140px 0 var(--sec); }
.legal .wrap { max-width: 760px; }
.legal h1 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.75rem, 7vw, 4.5rem); line-height: .95; margin: 0 0 12px; }
.legal h2 { font-family: var(--ui); font-weight: 700; font-size: 1.5rem; margin: 2em 0 .4em; }
.legal ul { padding-left: 1.2em; }
.legal .meta { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .rh__grid, .define__grid, .give__grid, .contact__grid { grid-template-columns: 1fr; }
  .stories__grid { grid-template-columns: repeat(2, 1fr); }
  .foot__grid { grid-template-columns: 1fr; }
  .give__grid { gap: 48px; }
}
@media (max-width: 560px) {
  body { font-size: 1.0625rem; }
  .stories__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .story__meta { left: 12px; right: 12px; font-size: .95rem; }
  .story__meta b { font-size: 1.5rem; }
  .story .player__btn { width: 52px; height: 52px; }
  .story .player__btn::after { left: 21px; top: 16px; border-width: 10px 0 10px 16px; }
  .form__row { grid-template-columns: 1fr; }
  .hero__ctas .btn { width: 100%; }
  .modal__nav { top: auto; bottom: 20px; transform: none; }
  .masonry { columns: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero { height: auto; }
  .hero__stage { position: relative; height: auto; min-height: 100svh; }
  .hero__beat { position: relative; opacity: 1 !important; transform: none !important; pointer-events: auto; padding-block: 24px; }
  .hero__beat--1 { padding-top: 120px; }
  .hero__beat--3 { padding-bottom: 72px; }
  .hero__cue, .hero__progress { display: none; }
}
