/* =========================================================================
   NICK SHIRLEY — SUPPORTER SITE
   Two pages: index.html (home) and support.html (donate).
   Palette: deep navy / warm off-white / strong red / muted blue.
   Type:    Archivo (editorial display) + Inter (body).
   ========================================================================= */

/* ---------------------------------------------------------------- TOKENS */
:root {
  --navy-900: #060F1E;
  --navy-800: #0A1A30;
  --navy-700: #0F2440;
  --paper-000: #FDFBF7;
  --paper-100: #F6F2EA;
  --red-500: #C8102E;
  --red-400: #E01B34;
  --blue-400: #7C9CC0;
  --blue-600: #46617F;
  --ink-900: #0B0F14;
  --ink-700: #2A3138;
  --ink-500: #5A646E;
  --ink-300: #6B7480;
  --green-500: #1F7A4D;

  --rule: rgba(11, 15, 20, 0.14);
  --rule-soft: rgba(11, 15, 20, 0.08);

  --shell: 1180px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --header-h: 74px;

  --font-display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='180' height='180' filter='url(%23n)' opacity='0.55'/></svg>");
}

/* ------------------------------------------------------------------ BASE */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  background: var(--paper-100);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body[data-page="support"] { padding-top: var(--header-h); }

img, svg, video, iframe { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 700; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--red-500); color: #fff; }
:focus-visible { outline: 2px solid var(--red-500); outline-offset: 3px; border-radius: 2px; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.shell--narrow { max-width: 880px; }

.u-visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -100px; left: var(--gutter); z-index: 200;
  background: var(--red-500); color: #fff; padding: .75rem 1.25rem;
  font: 600 .8rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 10px; }

/* ------------------------------------------------------------------ TYPE */
.display {
  font-family: var(--font-display);
  font-weight: 800; font-stretch: 92%;
  line-height: .94; letter-spacing: -.022em;
  text-wrap: balance;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .71rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--red-500); margin: 0 0 1.35rem;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--blue-400); }
.eyebrow--light::before { background: var(--red-400); }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  line-height: 1.6; color: var(--ink-700); max-width: 60ch;
}

/* --------------------------------------------------------------- BUTTONS */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  padding: 1.05rem 1.9rem;
  background: var(--red-500); color: #fff;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; border-radius: 2px;
  cursor: pointer; overflow: hidden;
  transition: transform .35s var(--ease-out), background-color .35s var(--ease-out),
              color .35s var(--ease-out), border-color .35s var(--ease-out);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(0,0,0,.22); transform: scaleY(0); transform-origin: bottom;
  transition: transform .4s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: scaleY(1); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .55; cursor: progress; transform: none; }
.btn--sm { padding: .72rem 1.25rem; font-size: .7rem; letter-spacing: .12em; }
.btn--lg { padding: 1.3rem 3rem; font-size: .88rem; }
.btn--ghost { background: transparent; color: var(--ink-900); border-color: var(--rule); }
.btn--ghost::after { background: var(--ink-900); }
.btn--ghost:hover { color: var(--paper-100); border-color: var(--ink-900); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.34); }
.btn--ghost-light::after { background: #fff; }
.btn--ghost-light:hover { color: var(--navy-900); border-color: #fff; }

/* ---------------------------------------------------------------- HEADER */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(253,251,247,.86);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--rule-soft);
  transition: background-color .45s var(--ease-out), border-color .45s var(--ease-out), color .45s var(--ease-out);
}
.site-header .shell { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); }
.site-header[data-mode="over"] {
  background: linear-gradient(to bottom, rgba(6,15,30,.72), rgba(6,15,30,0));
  border-color: transparent; color: #fff;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.site-header[data-mode="over"] .brand__sub { color: rgba(255,255,255,.64); }
.site-header[data-mode="over"] .nav__link { color: rgba(255,255,255,.86); }

.brand {
  display: flex; flex-direction: column; gap: 3px;
  text-decoration: none; color: inherit; margin-right: auto; line-height: 1;
}
.brand__name {
  font-family: var(--font-display); font-weight: 800; font-stretch: 88%;
  font-size: 1.13rem; letter-spacing: .055em; text-transform: uppercase;
}
.brand__sub {
  font-size: .57rem; font-weight: 600; letter-spacing: .24em;
  text-transform: uppercase; color: var(--ink-500);
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }
.nav__link {
  position: relative;
  font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-700); padding-block: .3rem;
  transition: color .3s var(--ease-out);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--red-500); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--red-500); }
.site-header[data-mode="over"] .nav__link[aria-current="page"] { color: #fff; }

/* ------------------------------------------------------------------ HERO */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: grid; place-items: center;
  text-align: center;
  background: var(--navy-900); color: #fff;
  overflow: hidden;
  padding: calc(var(--header-h) + 3rem) var(--gutter) 5rem;
}
.hero__media { position: absolute; inset: 0; z-index: 0; background: var(--navy-900); }
.hero__media video {
  width: 100%; height: 100%; object-fit: cover;
  /* black-and-white keeps a fast-cut reel from fighting the type */
  filter: grayscale(1) contrast(1.04) brightness(1);
}
/* the poster frame shows while the video loads and wherever autoplay is
   blocked (iOS Low Power Mode), so the hero is never empty */
.hero__media video[poster] { background-size: cover; background-position: center; }
/* the designed still shown until a video file is added */
.hero__still { position: absolute; inset: 0; background: linear-gradient(150deg, #16202E 0%, #0A1526 42%, #05101F 100%); }
.hero__still::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 22% 12%, rgba(124,156,192,.24), transparent 62%),
    radial-gradient(90% 80% at 88% 96%, rgba(200,16,46,.16), transparent 60%);
}
.hero__still::after {
  content: ""; position: absolute; inset: -20%;
  background-image: var(--grain); background-size: 180px;
  opacity: .16; mix-blend-mode: overlay;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(6,15,30,.62) 0%, rgba(6,15,30,.34) 34%, rgba(6,15,30,.64) 100%),
    radial-gradient(80% 60% at 50% 50%, rgba(6,15,30,.16), rgba(6,15,30,.7));
}
/* Light touch: a soft pool of shade behind the type and a darkening at the
   very top and bottom for the header and the scroll cue. The middle of the
   frame stays open so the footage actually reads. */
.hero[data-video="true"] .hero__scrim {
  background:
    radial-gradient(54% 42% at 50% 47%, rgba(6,15,30,.52) 0%, rgba(6,15,30,.26) 62%, rgba(6,15,30,0) 100%),
    linear-gradient(to bottom,
      rgba(6,15,30,.58) 0%, rgba(6,15,30,.14) 26%,
      rgba(6,15,30,.10) 62%, rgba(6,15,30,.46) 100%);
}
/* the type carries its own contrast now, rather than leaning on the wash */
.hero[data-video="true"] h1 {
  text-shadow: 0 1px 2px rgba(6,15,30,.55), 0 2px 22px rgba(6,15,30,.75);
}
.hero[data-video="true"] .hero__sub {
  color: #D6E2F0;
  text-shadow: 0 1px 12px rgba(6,15,30,.8);
}
.hero[data-video="true"] .eyebrow { text-shadow: 0 1px 10px rgba(6,15,30,.8); }
.hero__inner { position: relative; z-index: 2; width: 100%; max-width: 1180px; }
.hero h1 {
  font-size: clamp(2.7rem, 8vw, 6.8rem);
  color: #fff;
  /* ch here is relative to the headline's own size, so the measure stays
     the same shape at every breakpoint */
  max-width: 14ch;
  margin: 0 auto 1.5rem;
}
/* the line that sets up the button */
.hero__sub {
  margin: 0 0 2.5rem;
  font-size: clamp(.76rem, 1.3vw, .95rem);
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--blue-400);
}
.hero h1 em { font-style: normal; color: var(--red-400); }
.hero .eyebrow { justify-content: center; }

/* small marker so a missing video is never a mystery — delete once live */
.hero__badge {
  position: absolute; top: calc(var(--header-h) + 1.25rem); right: var(--gutter); z-index: 3;
  margin: 0; display: flex; align-items: center; gap: .6rem;
  font-size: .58rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.56);
}
.hero__badge::before { content: ""; width: 6px; height: 6px; background: var(--red-400); }

.hero__scroll {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 1.75rem; z-index: 3; margin: 0;
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  font-size: .58rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.hero__scroll i { display: block; width: 2px; height: 42px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.hero__scroll i::after {
  content: ""; position: absolute; inset: 0; background: var(--red-400);
  transform-origin: top; animation: scrollLine 2.6s cubic-bezier(.65,0,.35,1) infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ----------------------------------------------------------- PAGE HEADER */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-800); color: var(--paper-100);
  padding-block: clamp(3.25rem, 7vw, 5.5rem);
}
/* the contact-sheet wall of stills, sunk behind a heavy scrim — texture,
   not a picture. It should read as depth, never as something to look at. */
.page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero__bg img {
  position: absolute; inset: -15% 0; width: 100%; height: 130%;
  object-fit: cover; opacity: .62;
  will-change: transform;
}
.page-hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to right, rgba(10,26,48,.93) 0%, rgba(10,26,48,.78) 40%, rgba(10,26,48,.34) 100%),
    linear-gradient(to top, rgba(10,26,48,.66) 0%, rgba(10,26,48,.3) 55%, rgba(10,26,48,.5) 100%);
}
.page-hero .shell { position: relative; z-index: 2; }
/* on the donate page the form is the point, so the header stays compact and
   more of the form sits above the fold */
body[data-page="support"] .page-hero { padding-block: clamp(2.25rem, 4.5vw, 3.5rem); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); color: #fff; }
.page-hero .lede { color: rgba(246,242,234,.82); margin-top: 1.5rem; }

/* ----------------------------------------------------------------- ABOUT */
/* Three movements: a full-bleed opener, a sticky column with photographs
   drifting past it, and a quote band. */
.about { background: var(--paper-000); }

/* — movement 1: the opener — */
.about__opener {
  position: relative; isolation: isolate;
  min-height: min(76svh, 700px);
  display: grid; align-items: end;
  overflow: hidden;
  background: var(--navy-900);
  padding-block: clamp(4rem, 9vw, 7rem);
}
.about__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.about__bg img {
  position: absolute; inset: -15% 0; width: 100%; height: 130%;
  object-fit: cover;
  /* The photo is cropped so his face sits ~57% across. Anchoring the frame
     to the left pushes him further right, clear of the headline. The
     breakpoints below re-anchor it as the container ratio changes. */
  object-position: 10% 56%;
  filter: grayscale(1) contrast(1.12) brightness(.95);
  will-change: transform;
}
.about__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    /* heavier on the left, where the type sits; clears off the right so his
       face stays readable */
    linear-gradient(to right, rgba(6,15,30,.9) 0%, rgba(6,15,30,.74) 32%, rgba(6,15,30,.18) 58%, rgba(6,15,30,.02) 100%),
    linear-gradient(to top, rgba(6,15,30,.6) 0%, rgba(6,15,30,.14) 45%, rgba(6,15,30,.26) 100%);
}
.about__opener .shell { position: relative; z-index: 2; }
.about__opener h2 {
  color: #fff;
  font-size: clamp(2.3rem, 5.6vw, 4.6rem);
  max-width: 12ch;          /* keeps the type out of the right-hand half */
  text-shadow: 0 2px 30px rgba(6, 15, 30, .5);
}
.about__credit {
  position: absolute; right: var(--gutter); bottom: 1.1rem; z-index: 2; margin: 0;
  font-size: .58rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.42);
}

/* — movement 2: sticky copy, drifting photographs — */
.about__body { padding-block: clamp(4rem, 8vw, 7.5rem); }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
}
.about__copy {
  position: sticky;
  top: calc(var(--header-h) + clamp(1.5rem, 6vh, 4.5rem));
  color: var(--ink-700);
}
.about__copy h3 {
  font-family: var(--font-display); font-weight: 800; font-stretch: 90%;
  font-size: clamp(1.5rem, 2.8vw, 2.15rem); line-height: 1.02;
  letter-spacing: -.015em; margin-bottom: 1.5rem; color: var(--ink-900);
}
.about__copy p { max-width: 46ch; }
.about__copy p:first-of-type {
  font-size: clamp(1.06rem, 1.5vw, 1.2rem); line-height: 1.55; color: var(--ink-900);
}

.about__stack { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }

.drift { margin: 0; }
.drift__frame { position: relative; overflow: hidden; background: var(--navy-800); }
.drift__frame img {
  position: absolute; inset: -15% 0; width: 100%; height: 130%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
  will-change: transform;
}
.drift figcaption {
  margin-top: .85rem;
  display: flex; flex-wrap: wrap; gap: .3rem 1rem; justify-content: space-between;
  font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-500);
}
.drift figcaption span:last-child { color: var(--ink-300); }
/* the offsets are what stop the column reading as a plain stack */
.drift--inset  { margin-right: 16%; }
.drift--out    { margin-left: 14%; }

/* — movement 3: the quote — */
.about__quote {
  background: var(--navy-800);
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}
.quote-img { margin: 0; }
.quote-img .drift__frame { aspect-ratio: 3 / 2; }
.quote-box {
  margin: 0;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.14);
  border-left: 3px solid var(--red-500);
  padding: clamp(1.6rem, 4vw, 2.75rem);
}
.quote-box blockquote { margin: 0; }
.quote-box blockquote p {
  font-family: var(--font-display); font-weight: 800; font-stretch: 92%;
  font-size: clamp(1.45rem, 3.2vw, 2.5rem);
  line-height: 1.06; letter-spacing: -.018em;
  color: #fff; margin: 0;
  text-wrap: balance;
}
.quote-box figcaption {
  margin-top: 1.5rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.16);
}
.quote-box figcaption b {
  display: block;
  font-family: var(--font-display); font-weight: 800; font-stretch: 88%;
  font-size: .92rem; letter-spacing: .14em; text-transform: uppercase; color: #fff;
}
.quote-box figcaption a {
  display: inline-block; margin-top: .55rem;
  font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-400); text-decoration: none;
  border-bottom: 1px solid rgba(124,156,192,.4); padding-bottom: 2px;
  transition: color .3s var(--ease-out), border-color .3s var(--ease-out);
}
.quote-box figcaption a:hover { color: var(--red-400); border-color: var(--red-400); }

/* --------------------------------------------------------- NOTE / LETTER */
.letter {
  background: var(--paper-000);
  border-bottom: 1px solid var(--rule-soft);
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.letter__inner { max-width: 64ch; margin: 0; }
.letter h2 {
  font-family: var(--font-display);
  font-weight: 800; font-stretch: 90%;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1; letter-spacing: -.015em;
  margin-bottom: 1.75rem;
}
.letter figure { margin: 0; }
.letter blockquote {
  margin: 0;
  border-left: 3px solid var(--red-500);
  padding-left: clamp(1.25rem, 3vw, 2.25rem);
}
.letter blockquote p {
  font-size: clamp(1.02rem, 1.35vw, 1.14rem);
  line-height: 1.75;
  color: var(--ink-700);
  margin-bottom: 1.35em;
}
.letter blockquote p:first-child {
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink-900);
}
.letter figcaption {
  margin-top: 2rem;
  padding-left: clamp(1.25rem, 3vw, 2.25rem);
}
.letter figcaption b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800; font-stretch: 88%;
  font-size: 1rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-900);
}
.letter figcaption small {
  display: block; margin-top: .55rem;
  font-size: .68rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-300);
}

/* --------------------------------------------------------------- DONATE */
.donate { padding-block: 0 clamp(2.5rem, 5vw, 4rem); background: var(--paper-000); }

/* Full-bleed white field so the Anedot form has no visible seam against the
   page, and tall enough to fill the viewport under the sticky header. */
.donate__frame {
  width: 100%;
  background: #fff;
  border-block: 1px solid var(--rule-soft);
}
.donate__frame iframe {
  display: block;
  width: 100%;
  border: 0;
  /* fills the screen, with a floor so a short viewport still shows the form
     and a ceiling so a very tall monitor doesn't strand the page below it */
  height: clamp(880px, calc(100svh - var(--header-h)), 1200px);
}

.support-list { display: grid; gap: 1.5rem; }
.support-list--row {
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--rule);
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
}
.section-pays { background: var(--paper-100); padding-block: clamp(3rem, 6vw, 5rem); }
.support-item h3 {
  font-family: var(--font-display); font-weight: 800; font-stretch: 90%;
  font-size: .94rem; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: .45rem;
}
.support-item p { font-size: .92rem; color: var(--ink-500); margin: 0; }

/* ----------------------------------------------------------------- FORM */
.contact { background: var(--paper-000); padding-block: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--rule-soft); }
.contact__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: .5rem; }
.field label {
  font-size: .68rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-700);
}
.field label .req { color: var(--red-500); }
.field input, .field textarea {
  width: 100%;
  background: var(--paper-100);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: .9rem 1rem;
  font-size: 1rem;
  color: var(--ink-900);
  transition: border-color .25s var(--ease-out), background-color .25s var(--ease-out);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-300); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--red-500); background: #fff;
  box-shadow: 0 0 0 3px rgba(200,16,46,.12);
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.6; }
.field[data-invalid="true"] input, .field[data-invalid="true"] textarea { border-color: var(--red-500); }
.field .err { font-size: .78rem; color: var(--red-500); min-height: 1em; }
.field .err:empty { display: none; }

/* honeypot — hidden from people, catches bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__foot { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.form__status { font-size: .88rem; margin: 0; }
.form__status[data-state="ok"] { color: var(--green-500); font-weight: 600; }
.form__status[data-state="error"] { color: var(--red-500); font-weight: 600; }

.notice {
  border: 1px solid var(--rule);
  border-left: 3px solid var(--red-500);
  background: var(--paper-100);
  padding: 1.1rem 1.3rem;
  font-size: .86rem; line-height: 1.6; color: var(--ink-500);
  max-width: 62ch;
}
.notice strong { color: var(--ink-900); }
.notice code { background: rgba(11,15,20,.06); padding: .12em .4em; border-radius: 2px; font-size: .92em; color: var(--ink-900); }
.notice + .notice { margin-top: 1rem; }

/* --------------------------------------------------------------- FOOTER */
.site-footer {
  background: var(--navy-900); color: rgba(246,242,234,.72);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2.25rem;
}
.footer-top {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.25rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(255,255,255,.12);
  align-items: start;
}
.footer-brand .brand__name { color: #fff; font-size: 1.5rem; }
.footer-brand p { margin-top: 1rem; font-size: .9rem; max-width: 34ch; }
.footer-col h2 {
  font-size: .66rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--blue-400); margin-bottom: 1.2rem;
}
.social-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.social-link {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .8rem 1.2rem; border: 1px solid rgba(255,255,255,.2);
  text-decoration: none; font-size: .72rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: #fff;
  transition: background-color .35s var(--ease-out), border-color .35s var(--ease-out), transform .35s var(--ease-out);
}
.social-link svg { width: 17px; height: 17px; fill: currentColor; flex: none; }
.social-link small { font-weight: 500; letter-spacing: .02em; text-transform: none; font-size: .76rem; color: rgba(246,242,234,.6); }
.social-link:hover { background: var(--red-500); border-color: var(--red-500); transform: translateY(-2px); }
.social-link:hover small { color: rgba(255,255,255,.82); }

.contact-line { margin-top: 1.6rem; font-size: .9rem; }
.contact-line a { color: #fff; text-decoration-color: var(--red-400); text-underline-offset: 4px; }
.contact-line a:hover { color: var(--red-400); }
.contact-line code { background: rgba(255,255,255,.08); padding: .12em .4em; border-radius: 2px; font-size: .92em; color: #fff; }

.footer-bottom {
  padding-top: 1.75rem; display: flex; flex-wrap: wrap;
  gap: .75rem 2rem; justify-content: space-between; align-items: center;
  font-size: .76rem; color: rgba(246,242,234,.5);
}
.footer-bottom p { margin: 0; max-width: 68ch; line-height: 1.6; }

/* --------------------------------------------------------------- MOTION */
[data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ----------------------------------------------------------- RESPONSIVE */
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .about__bg img { object-position: 40% 52%; }
  .about__grid, .contact__grid, .quote-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .about__copy { position: static; }
  .about__stack { gap: 2.25rem; }
  .drift--inset, .drift--out { margin-inline: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .nav { gap: 1.1rem; }
}
@media (max-width: 680px) {
  body { font-size: 1rem; }
  /* portrait container: sit him in the upper right, headline clears below */
  .donate__frame iframe { height: clamp(1020px, calc(100svh - var(--header-h)), 1320px); }
  .about__opener { min-height: 68svh; padding-bottom: 3.5rem; }
  .about__bg img { object-position: 58% 27%; }
  .about__opener h2 { max-width: none; font-size: clamp(2rem, 8.5vw, 2.9rem); }
  .about__scrim {
    background:
      linear-gradient(to top, rgba(6,15,30,.94) 0%, rgba(6,15,30,.74) 34%, rgba(6,15,30,.2) 68%, rgba(6,15,30,.28) 100%);
  }
  .about__credit { left: var(--gutter); right: auto; bottom: .9rem; font-size: .5rem; letter-spacing: .14em; }
  .hero { min-height: 92svh; padding-bottom: 6.5rem; }
  .hero h1 { max-width: 11ch; margin-bottom: 1.15rem; }
  .hero__sub { margin-bottom: 2rem; letter-spacing: .18em; }

  /* keep the header tight on phones */
  .site-header .shell { gap: .7rem; }
  .brand__name { font-size: .95rem; letter-spacing: .04em; white-space: nowrap; }
  .brand__sub { font-size: .48rem; letter-spacing: .18em; white-space: nowrap; }
  .nav { gap: .95rem; }
  .nav__link { font-size: .68rem; letter-spacing: .05em; white-space: nowrap; }
  .site-header .btn--sm { padding: .62rem .85rem; font-size: .62rem; letter-spacing: .08em; white-space: nowrap; }
  .hero__badge { font-size: .52rem; letter-spacing: .16em; }
  .social-link { flex: 1 1 46%; justify-content: center; }
  .btn--lg { width: 100%; }
  .form__foot { flex-direction: column; align-items: stretch; }
  .form__foot .btn { width: 100%; }
}
@media (max-width: 400px) {
  /* at the very narrowest, the About link goes — the page starts there anyway */
  .nav__link[href$="#about"] { display: none; }
}
