/* ==========================================================================
   Zioness Action Fund
   Display: Anton. Body: Libre Franklin. Flat flag palette on white.
   No glassmorphism, no gradient decoration, no wide-tracked eyebrows.
   ========================================================================== */

:root {
  --navy: #1c2d59;
  --blue: #1880c1;
  --blue-ink: #146ca3;      /* passes AA on white for small text */
  --red: #eb242b;
  --white: #ffffff;
  --paper: #f5f7f5;
  --ink-70: #5a6685;
  --line: #dfe3ec;

  --display: "Anton", "Arial Narrow", "Helvetica Neue", sans-serif;
  --text: "Libre Franklin", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --measure: 64ch;
  --shell: 1120px;
  --edge: clamp(20px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1.1em; max-width: var(--measure); }

.sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 16px;
  font-weight: 700; text-decoration: none;
  transition: top 120ms ease;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }


/* layout ---------------------------------------------------------------- */
.shell { max-width: var(--shell); margin-inline: auto; padding-inline: var(--edge); }
.band { padding: clamp(44px, 7vw, 100px) 0; }
.band > .shell > :last-child { margin-bottom: 0; }
.band--tight { padding-block: clamp(28px, 4vw, 52px); }
.band--paper { background: var(--paper); }
.band--navy { background: var(--navy); color: #fff; }
.band--navy a:not(.btn) { color: #fff; text-underline-offset: 3px; }
.band--navy a:not(.btn):hover { color: #8fc9ec; }

/* masthead / nav ------------------------------------------------------------ */
.masthead { background: var(--navy); color: #fff; }
.masthead__inner {
  max-width: var(--shell); margin-inline: auto; padding: 0 var(--edge);
  display: flex; align-items: center; justify-content: space-between;
  min-height: 92px; gap: 20px;
}
.masthead__brand { display: flex; align-items: center; }
.masthead__brand img { height: 64px; width: auto; border-radius: 3px; }

.sitenav { display: flex; align-items: center; gap: 4px; }
.sitenav a:not(.btn) {
  font-weight: 600; font-size: 15px; text-decoration: none;
  color: #fff; padding: 10px 12px;
}
.sitenav a:not(.btn):hover { color: #8fc9ec; }
.sitenav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--red); }
.btn--nav { margin-left: 10px; }

.masthead__toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer; position: relative;
}
.masthead__bars, .masthead__bars::before, .masthead__bars::after {
  content: ""; position: absolute; left: 10px; width: 24px; height: 3px;
  background: #fff;
}
.masthead__bars { top: 21px; }
.masthead__bars::before { top: -7px; }
.masthead__bars::after { top: 7px; }

/* buttons ------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--text); font-weight: 700; font-size: 15px;
  letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  border: 0; cursor: pointer; padding: 16px 26px;
  transition: background 90ms linear, color 90ms linear;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: #fff; color: var(--navy); }
.btn--ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.on-dark .btn--ghost, .band--navy .btn--ghost, .hero .btn--ghost {
  color: #fff; box-shadow: inset 0 0 0 2px #fff;
}
.on-dark .btn--ghost:hover, .band--navy .btn--ghost:hover, .hero .btn--ghost:hover {
  background: #fff; color: var(--navy);
}
.btnrow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* type -------------------------------------------------------------------- */
.paired {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  line-height: .9; letter-spacing: .005em; margin: .1em 0 0;
  font-size: clamp(40px, 6.6vw, 92px);
}
.paired span { display: block; }
.paired .l1 { color: var(--navy); }
.paired .l2 { color: var(--blue); }
.band--navy .paired .l1 { color: #fff; }
.band--navy .paired .l2 { color: #5bb3e6; }

.head {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  line-height: .95; letter-spacing: .01em; margin: 0 0 .5em;
  font-size: clamp(28px, 4.4vw, 46px);
}
.subhead {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(20px, 2.6vw, 28px); line-height: 1; margin: 0 0 .4em;
}
.lede { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.5; font-weight: 500; max-width: 40ch; }
.caption { font-size: 14px; color: var(--ink-70); max-width: var(--measure); }
.band--navy .caption { color: #b9c2dd; }

a.link { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a.link:hover { color: var(--blue-ink); }

/* hero ------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  min-height: min(88vh, 800px);
  background-color: var(--navy);
  background-position: center; background-size: cover; background-repeat: no-repeat;
  display: flex; align-items: flex-end;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(8,18,42,.95) 0%, rgba(28,45,89,.82) 46%, rgba(28,45,89,.6) 100%);
}
/* the dotted screen texture over the photo */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    radial-gradient(rgba(255,255,255,.3) 1px, transparent 1.45px),
    radial-gradient(rgba(24,128,193,.28) 1px, transparent 1.5px);
  background-position: 0 0, 3px 3px;
  background-size: 6px 6px, 8px 8px;
  opacity: .34; mix-blend-mode: screen;
}
.hero__inner {
  position: relative; z-index: 2; width: 100%;
  max-width: var(--shell); margin-inline: auto;
  padding: var(--edge); padding-block: clamp(120px, 18vw, 210px) clamp(72px, 14vw, 200px);
  color: #fff;
}
.hero__title {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  line-height: .93; letter-spacing: -0.01em; margin: 0; color: #fff;
  font-size: clamp(56px, 8.2vw, 126px);
}
.hero__title span { display: block; }
.hero__lede { font-size: clamp(18px, 2vw, 22px); font-weight: 500; max-width: 40ch; margin: .75em 0 0; color: #e9eef9; }

.hero__link {
  display: inline-block; margin-top: 6px; color: #fff;
  font-family: var(--display); font-size: 22px; text-transform: uppercase;
  text-decoration: none; border-bottom: 3px solid #fff; padding-bottom: 5px;
}
.hero__link:hover { color: #5bb3e6; border-color: #5bb3e6; }
.hero .btnrow { margin-top: 26px; }


/* the record — dense dated ledger -------------------------------------- */
.record { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 16px; }
.record th {
  text-align: left; font-weight: 700; font-size: 13px; letter-spacing: .02em;
  color: var(--ink-70); padding: 0 16px 10px 0; border-bottom: 2px solid var(--navy);
}
.record td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.record td.date { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink-70); font-size: 15px; }
.record td.type { white-space: nowrap; font-weight: 600; color: var(--blue-ink); font-size: 15px; }
.record tr:last-child td { border-bottom: 2px solid var(--navy); }
.record a { text-underline-offset: 3px; }

/* chai numerals ------------------------------------------------------------- */
.chai { display: flex; flex-wrap: wrap; gap: clamp(14px, 3vw, 40px); align-items: baseline; margin: 8px 0 0; }
.chai b { font-family: var(--display); font-weight: 400; color: var(--navy); font-size: clamp(38px, 6vw, 76px); line-height: 1; }
.chai b:nth-child(3) { color: var(--blue); }
.chai b:nth-child(5) { color: var(--red); }

/* person entry ----------------------------------------------------------- */
.person { max-width: var(--measure); }
.person__name { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(22px, 3vw, 30px); line-height: 1; margin: 0; }
.person__title { font-weight: 700; color: var(--blue-ink); margin: .5em 0 .4em; font-size: 16px; }
.person p { margin: 0; }

/* simple lists / grids -------------------------------------------------- */
.stack > * + * { margin-top: 1.1em; }
.issues { columns: 2; column-gap: 40px; max-width: var(--measure); padding-left: 1.1em; }
.issues li { break-inside: avoid; margin-bottom: .4em; }
.grid2 { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: 1fr; }

@media (min-width: 820px) {
  .grid2 { grid-template-columns: 1.1fr .9fr; align-items: start; }
}

/* the three ranked asks (Get involved) — oversized Anton words, no card,
   no numeral. JOIN leads: wider and larger. The order is the ranking. */
.asks { display: grid; gap: clamp(40px, 7vw, 68px); grid-template-columns: 1fr; margin-top: 4px; }
.ask { max-width: 42ch; }
.ask__w {
  display: block; font-family: var(--display); font-weight: 400; text-transform: uppercase;
  line-height: .86; color: var(--navy); margin: 0 0 .3em;
  font-size: clamp(40px, 12vw, 72px);
}
.ask p { margin: 0 0 .7em; }
.ask__go {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: 17px; letter-spacing: .01em; color: var(--navy); text-decoration: none;
  border-bottom: 3px solid var(--navy); padding-bottom: 3px;
}
.ask__go:hover { color: var(--blue-ink); border-color: var(--blue-ink); }
.ask--lead .ask__w { font-size: clamp(56px, 20vw, 116px); }
.ask--lead p { font-size: 19px; }
.ask__group { margin-top: 1.25em; }
.ask__sub { font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(22px, 3vw, 30px); line-height: 1; margin: 0 0 .55em; }
.ask__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8em; }
.ask__list .ask__go { display: inline; }

@media (min-width: 760px) {
  .asks { grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 6vw, 80px); }
  .ask--lead { grid-column: 1 / -1; }
  .ask--lead .ask__w { font-size: clamp(88px, 11vw, 132px); }
}

/* footer -------------------------------------------------------------------- */
.footer { background: var(--navy); color: #fff; padding: clamp(48px, 7vw, 80px) 0 32px; }
.footer__inner {
  max-width: var(--shell); margin-inline: auto; padding: 0 var(--edge);
  display: grid; gap: 40px; grid-template-columns: 1fr;
}
.footer__brand img { height: 68px; width: auto; margin-bottom: 16px; border-radius: 3px; }
.footer__disclaim { font-size: 14px; color: #c3cbe4; max-width: 44ch; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__nav a { color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; }
.footer__nav a:hover { color: #8fc9ec; }
.footer__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; font-size: 14px; }
.footer__meta a { color: #c3cbe4; text-underline-offset: 3px; }
.footer__copy { width: 100%; color: #8b96b8; margin: 8px 0 0; }

@media (min-width: 860px) {
  .footer__inner { grid-template-columns: 1.4fr 1fr; }
  .footer__meta { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.14); padding-top: 20px; }
}

/* mobile nav ------------------------------------------------------------- */
@media (max-width: 780px) {
  .masthead__toggle { display: block; }
  .masthead__inner { flex-wrap: wrap; }
  .sitenav {
    display: none; flex-basis: 100%; flex-direction: column; align-items: stretch;
    gap: 0; padding-bottom: 10px;
  }
  .sitenav.is-open { display: flex; }
  .sitenav a:not(.btn) { padding: 14px 4px; border-top: 1px solid rgba(255,255,255,.14); }
  .sitenav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--red); }
  .btn--nav { margin: 12px 0 4px; text-align: center; }
  .issues { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ==========================================================================
   Page-level components (About, Leadership, forms, Donate, News, legal, 404)
   ========================================================================== */

/* deliberate rhythm variation — not every band is the same height */
.band--air { padding-block: clamp(72px, 12vw, 168px); }

/* page header — American flags behind the title, heavy navy scrim for legibility. */
.page-head {
  position: relative; color: #fff;
  padding: clamp(52px, 9vw, 128px) 0 clamp(32px, 5vw, 52px);
  background: var(--navy) var(--page-head-img, url("/assets/img/hero-american.jpg")) center 55% / cover no-repeat;
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,19,42,.95) 0%, rgba(11,19,42,.74) 58%, rgba(11,19,42,.5) 100%);
}
.page-head .shell { position: relative; }
.page-head__title { font-family: var(--display); font-weight: 400; text-transform: uppercase;
  line-height: .92; letter-spacing: .01em; margin: 0; font-size: clamp(40px, 7vw, 88px); }
.page-head__lede { font-size: clamp(18px, 2vw, 22px); font-weight: 500; color: #e9eef9; max-width: 46ch; margin: .7em 0 0; }

/* leadership bio cards */
.bio-grid { display: grid; gap: clamp(28px, 4vw, 44px); grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 640px) { .bio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .bio-grid { grid-template-columns: repeat(3, 1fr); } }
.bio { max-width: 460px; }
.bio__photo { position: relative; aspect-ratio: 1 / 1; background: var(--navy); overflow: hidden; }
.bio__photo img { width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05); mix-blend-mode: luminosity; }
.bio__mono { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: clamp(40px, 7vw, 72px); color: #fff; background: var(--navy); }
.bio p { margin: 0; font-size: 16px; }
.bio .bio__name { font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(20px, 2.6vw, 26px); line-height: 1.05; margin: .85em 0 0; }
.bio .bio__title { font-weight: 700; color: var(--blue-ink); font-size: 15px; margin: .5em 0 .6em; }

/* governance list */
.govern { list-style: none; padding: 0; margin: 8px 0 0; max-width: var(--measure); }
.govern li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.govern li:last-child { border-bottom: 2px solid var(--navy); }
.govern .muted { color: var(--ink-70); font-size: 15px; white-space: nowrap; }

/* forms */
.form { max-width: 560px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; padding: 13px 14px;
  border: 2px solid var(--navy); background: #fff; color: var(--navy);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.field-row--zip { grid-template-columns: 1fr 120px; }
@media (max-width: 560px) { .field-row, .field-row--zip { grid-template-columns: 1fr; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 10px 0; max-width: 60ch; }
.consent input { margin-top: 3px; }
.form-note { font-size: 13px; color: var(--ink-70); max-width: 60ch; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* what happens next — numbered, real steps (not decorative "01 02 03") */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 8px 0 0; max-width: var(--measure); }
.steps li { position: relative; padding: 12px 0 12px 44px; border-bottom: 1px solid var(--line); }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 12px;
  font-family: var(--display); font-size: 22px; color: var(--red); line-height: 1; }

/* donate */
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 560px; }
@media (max-width: 480px) { .amounts { grid-template-columns: repeat(2, 1fr); } }
.amount { font-family: var(--display); font-size: clamp(24px, 4vw, 34px); padding: 18px 8px;
  background: #fff; color: var(--navy); border: 2px solid var(--navy); cursor: pointer; }
.amount[aria-pressed="true"], .amount:hover { background: var(--navy); color: #fff; }
.freq { display: inline-flex; border: 2px solid var(--navy); margin-bottom: 20px; }
.freq button { font: inherit; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 14px;
  padding: 12px 20px; background: #fff; color: var(--navy); border: 0; cursor: pointer; }
.freq button[aria-pressed="true"] { background: var(--navy); color: #fff; }

/* faq */
.faq { max-width: var(--measure); margin-top: 8px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details[open] summary { margin-bottom: 8px; }

/* news list */
.news-list { list-style: none; padding: 0; margin: 8px 0 0; }
.news-item { display: grid; grid-template-columns: 120px 1fr; gap: 8px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.news-item:first-child { border-top: 2px solid var(--navy); }
.news-item__date { font-variant-numeric: tabular-nums; color: var(--ink-70); font-size: 15px; }
.news-item__title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.05; margin: 0; }
.news-item__title a { text-decoration: none; }
.news-item__title a:hover { color: var(--blue-ink); }
.news-item__meta { font-size: 13px; font-weight: 700; color: var(--blue-ink); text-transform: uppercase; letter-spacing: .03em; }
.news-item__sum { grid-column: 2; margin: 4px 0 0; font-size: 16px; }
@media (max-width: 560px) { .news-item { grid-template-columns: 1fr; } .news-item__sum, .news-item__meta { grid-column: 1; } }

.media-band { padding-block: clamp(56px, 8vw, 104px); }
.media-title { max-width: none; margin-bottom: clamp(36px, 5vw, 64px); font-size: clamp(48px, 8vw, 96px); }
.media-list { list-style: none; padding: 0; margin: 0; max-width: 920px; }
.media-item { padding: 26px 0 28px; border-bottom: 1px solid var(--line); }
.media-item:first-child { border-top: 2px solid var(--navy); }
.media-item__title { max-width: none; margin: 0 0 12px; font-family: "Libre Franklin", Arial, sans-serif; font-weight: 600; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.25; text-transform: none; }
.media-item__link { color: var(--blue-ink); font-size: 16px; text-underline-offset: 3px; }
.media-item__link:hover { color: var(--navy); }

/* legal / prose */
.legal-draft { font-size: 14px; font-style: italic; color: var(--ink-70);
  border-left: 3px solid var(--line); padding: 4px 0 4px 14px; margin: 0 0 28px; }
.prose { max-width: var(--measure); }
.prose h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(22px, 3vw, 30px); margin: 1.6em 0 .4em; }
.prose h2:first-child { margin-top: 0; }

/* 404 */
.notfound { text-align: left; padding-block: clamp(80px, 16vw, 200px); }
.notfound h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(48px, 10vw, 120px); line-height: .9; margin: 0 0 .3em; }
