@font-face {
  font-family: 'Bitter';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/bitter-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bitter';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/bitter-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   Natalie Epstein SUSD 2026 Governing Board Member — Area 1
   ============================================================ */

:root {
  /* Surfaces */
  --navy:            #0C1E40;
  --navy-deep:       #081735;
  --navy-hero:       #16305C;
  --band:            rgba(255, 255, 255, 0.02);

  /* Gold */
  --gold-bright:     #E9C05C;
  --gold-base:       #D9A22E;
  --gold-eyebrow:    #D9A83A;
  --gold-light:      #F3D689;
  --gold-link:       #E8BE5C;
  --gold-bar:        linear-gradient(90deg, #8A6116, #E9C05C, #B57F1D, #F3D689, #8A6116);
  --gold-button:     linear-gradient(180deg, #F3D689, #D9A22E);

  /* Text */
  --heading:         #F4F7FC;
  --body:            #C3CFE3;
  --body-bright:     #DBE3F0;
  --muted:           #AEBBD4;
  --muted-2:         #8FA0BF;
  --muted-3:         #8493B4;   /* footer disclosure; AA over the footer gradient */
  --base:            #E9EDF5;
  --on-gold:         #132648;

  /* Borders */
  --edge-strong:     rgba(224, 172, 58, 0.5);
  --edge-mid:        rgba(224, 172, 58, 0.4);
  --edge-faint:      rgba(224, 172, 58, 0.3);
  --edge-hairline:   rgba(224, 172, 58, 0.22);
  --edge-input:      rgba(174, 187, 212, 0.3);

  --sans:  'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Bitter', Georgia, 'Times New Roman', serif;

  /* Height of the sticky header, which grows as the nav wraps. Anchor targets
     clear it via scroll-padding-top on html; the overrides live in the
     responsive block at the bottom. Re-measure if nav content changes. */
  --nav-h: 80px;

  /* The design's containers are 1240px of *content* plus a 36px gutter on each
     side (the prototype used the default content-box). Under border-box that is
     a 1312px box — same content width, same edges, at every viewport. */
  --container: 1312px;
  --gutter:    36px;
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  /* Anchored sections land below the sticky header, with breathing room so the
     eyebrow is not flush against it. */
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .nav-links,
  .nav-backdrop,
  .to-top,
  .skip-link { transition: none; }
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--base);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold-link); }
a:hover { color: var(--gold-light); }

::selection { background: var(--gold-base); color: var(--navy); }

img { max-width: 100%; }

/* <picture> is a passthrough wrapper — the <img> stays the layout box.
   <source> must be hidden explicitly: display:contents promotes it to a
   sibling of the <img>, where it would otherwise count as a flex/grid item
   and add a phantom gap. */
picture { display: contents; }
picture > source { display: none; }

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

/* A gold ring on a gold button is invisible — use navy on those, and pair it
   with a light halo so it reads against the navy page too. */
.btn--gold:focus-visible,
.menu-donate:focus-visible,
.to-top:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--gold-light);
}

/* Skip link: first focusable element, visible only once focused. */
.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 0 0 8px 8px;
  background: var(--gold-button);
  color: var(--on-gold);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 0;
  color: var(--on-gold);
}

#main:focus { outline: none; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Shared pieces ---------- */

figure, form { margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.gold-bar { height: 6px; background: var(--gold-bar); }
.gold-bar--slim { height: 4px; }

.accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-bright);
}

.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--gold-eyebrow);
}

.rule { width: 64px; height: 3px; background: var(--gold-eyebrow); }

.stars { color: var(--gold-eyebrow); letter-spacing: 0.4em; }

.section-title {
  margin: 0;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 42px;
  line-height: 1.12;
  color: var(--heading);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.pill {
  border: 1px solid var(--edge-strong);
  color: var(--gold-bright);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  border-radius: 999px;
}

.pill--sm {
  border-color: rgba(224, 172, 58, 0.55);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  padding: 4px 11px;
}

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

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15.5px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn--gold {
  background: var(--gold-button);
  color: var(--on-gold);
  padding: 14px 28px;
  box-shadow: 0 2px 18px rgba(217, 162, 46, 0.35);
}
.btn--gold:hover { filter: brightness(1.07); color: var(--on-gold); }

.btn--outline {
  border: 1px solid rgba(232, 190, 92, 0.65);
  color: var(--gold-link);
  padding: 13px 27px;
}
.btn--outline:hover { background: rgba(232, 190, 92, 0.08); color: var(--gold-link); }

.btn--nav      { font-size: 15px; padding: 11px 26px; box-shadow: none; }
.btn--wide     { padding: 14px 30px; }
.btn--donate   { padding: 15px 38px; margin-top: 8px; }
.btn--submit   { padding: 14px 26px; box-shadow: none; }

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

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 20, 44, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--edge-faint);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 19px var(--gutter);
}

.wordmark {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wordmark-name {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #FFFFFF;
}
.wordmark-name span { color: var(--gold-bright); }

.wordmark-sub {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: #FFFFFF;
}

.nav-spacer { flex: 1; }

/* Holds the links, Donate, and the mobile toggle. The 24px gap reproduces the
   spacing Donate had when it lived inside .nav-links, so desktop is unchanged. */
.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: var(--body);
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 600;
}
.nav-link:hover { color: var(--gold-light); }

/* Hamburger — design values: 1px gold outline, three 22x2 bars, 5px apart.
   Hidden on desktop. */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 11px 13px;
  background: none;
  border: 1px solid rgba(224, 172, 58, 0.45);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle:hover { background: rgba(232, 190, 92, 0.08); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-bright);
}

/* Panel-only pieces: present in the DOM at all widths, shown only in the panel. */
.menu-head,
.menu-donate { display: none; }

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(4, 10, 24, 0.78);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

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

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1100px 800px at 76% 18%, var(--navy-hero) 0%, var(--navy) 55%, var(--navy-deep) 100%);
}

.hero-glow {
  position: absolute;
  right: -160px;
  top: -200px;
  width: 820px;
  height: 820px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.hero-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  column-gap: 24px;
}

.hero-copy {
  flex: 1 1 500px;
  min-width: 0;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 88px 0;
}

.hero-title {
  margin: 0;
  font-family: var(--sans);
  font-weight: 800;
  /* 2.5rem at 375px, reaching the design's 58px at >=1036px viewports.
     Both "Every child." and "Every campus." fit on one line at 375px. */
  font-size: clamp(2.5rem, 5.6vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--heading);
}

.hero-id {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.lede {
  margin: 0;
  max-width: 52ch;
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--body);
  text-wrap: pretty;
}
.lede strong { color: var(--heading); }

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.hero-photo {
  display: block;
  flex: 0 1 auto;
  width: clamp(340px, 44vw, 540px);
  height: auto;
  margin-left: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0, rgba(0,0,0,0.75) 18px, #000 34px),
    linear-gradient(270deg, transparent 0, rgba(0,0,0,0.75) 18px, #000 34px);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0, rgba(0,0,0,0.75) 18px, #000 34px),
    linear-gradient(270deg, transparent 0, rgba(0,0,0,0.75) 18px, #000 34px);
  mask-composite: intersect;
}

/* ---------- About ---------- */

.about {
  max-width: var(--container);
  margin: 0 auto;
  padding: 92px var(--gutter) 88px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 64px;
  align-items: start;
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-copy p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  text-wrap: pretty;
}
.about-copy p strong { color: var(--heading); }

.pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.photo-frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  box-shadow: 0 0 0 1px var(--edge-strong), 0 18px 44px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

/* ---------- Endorsements ---------- */

.endorsements {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 88px;
}

.endorse-card {
  border: 1px solid var(--edge-strong);
  background: linear-gradient(135deg, rgba(233, 192, 92, 0.09), rgba(233, 192, 92, 0.02));
  border-radius: 12px;
  padding: 36px 40px;
  display: flex;
  gap: 36px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.endorse-photo {
  display: block;
  flex: 0 0 auto;
  width: 212px;
  /* height:auto is required — the img's height attribute is a presentational
     hint that would otherwise beat aspect-ratio. */
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 16%;
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--edge-strong);
}

.endorse-body {
  flex: 1 1 460px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.endorse-body .stars { font-size: 13px; }

.quote-featured {
  margin: 0;
  max-width: 72ch;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.65;
  color: var(--heading);
  text-wrap: pretty;
}

.attribution {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold-eyebrow);
}

.ledger { margin-top: 24px; }

.ledger-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  padding: 32px 0;
  border-bottom: 1px solid var(--edge-mid);
  align-items: start;
}

.ledger-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ledger-meta .stars { font-size: 12px; letter-spacing: 0.3em; }

.ledger-name {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-eyebrow);
}

.ledger-role {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted-2);
}

.quote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.72;
  color: var(--body-bright);
  max-width: 76ch;
  text-wrap: pretty;
}

/* ---------- Priorities ---------- */

.priorities {
  background: var(--band);
  border-top: 1px solid var(--edge-hairline);
  border-bottom: 1px solid var(--edge-hairline);
}

.priorities .container { padding-block: 92px; }

.priorities-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 780px;
}

.priorities-head .section-title {
  line-height: 1.15;
  text-wrap: pretty;
}

.priority-list {
  margin-top: 44px;
  border-top: 1px solid var(--edge-mid);
}

.priority-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 30px;
  padding: 34px 0;
  border-bottom: 1px solid var(--edge-mid);
  align-items: start;
}

.priority-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 54px;
  line-height: 1;
  color: var(--gold-bright);
}

.priority-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.priority-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.priority-body h3 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 22px;
  color: var(--heading);
}

.priority-body p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--body);
  max-width: 68ch;
  text-wrap: pretty;
}

/* ---------- Movement band ---------- */

.movement { position: relative; }

.movement .container {
  padding: 84px var(--gutter) 72px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.movement .stars { font-size: 13px; }

.movement-title {
  margin: 0;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 44px;
  line-height: 1.1;
  color: var(--heading);
  text-wrap: balance;
}

.movement-quote {
  margin: 0;
  max-width: 56ch;
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.55;
  color: var(--body-bright);
  text-wrap: pretty;
}

/* ---------- Get involved ---------- */

.join {
  max-width: var(--container);
  margin: 0 auto;
  padding: 92px var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.join-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.join-copy p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  text-wrap: pretty;
}

.join-copy .join-alt {
  font-size: 15px;
  color: var(--muted-2);
}
.join-copy .join-alt a { font-weight: 600; }

.form-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--edge-strong);
  border-radius: 12px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field {
  background: rgba(6, 17, 38, 0.6);
  border: 1px solid var(--edge-input);
  border-radius: 8px;
  padding: 13px 15px;
  color: var(--base);
  font-size: 15px;
  font-family: var(--sans);
  width: 100%;
}
.field::placeholder { color: var(--muted-2); }

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--body);
  cursor: pointer;
}
.check input {
  width: 17px;
  height: 17px;
  accent-color: var(--gold-base);
}

/* ---------- Donate ---------- */

.donate {
  background: linear-gradient(180deg, #0B2148, var(--navy-deep));
  border-top: 1px solid var(--edge-faint);
  border-bottom: 1px solid var(--edge-faint);
}

.donate .container {
  padding-block: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.donate-star { font-size: 16px; color: var(--gold-bright); }

.donate-title {
  margin: 0;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 40px;
  line-height: 1.08;
  color: var(--heading);
}

.donate p {
  margin: 0;
  max-width: 52ch;
  font-size: 16.5px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--body);
  text-wrap: pretty;
}

/* ---------- Legal pages (privacy) ---------- */

.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 72px var(--gutter) 88px;
}

.legal-title {
  margin: 14px 0 0;
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 42px);
  line-height: 1.12;
  color: var(--heading);
}

.legal .rule { margin-top: 18px; }

.legal-updated {
  margin: 18px 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.legal h2 {
  margin: 40px 0 0;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 21px;
  color: var(--heading);
}

.legal p {
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  text-wrap: pretty;
}

.legal-address {
  padding: 16px 20px;
  border-left: 3px solid var(--gold-eyebrow);
  background: rgba(255, 255, 255, 0.03);
  color: var(--body-bright);
}

.legal-back {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--edge-hairline);
  font-weight: 600;
}

/* ---------- Back to top ---------- */

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--gold-button);
  color: var(--on-gold);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45), 0 2px 10px rgba(217, 162, 46, 0.35);

  /* hidden until scrolled past the hero */
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s;
}
.to-top:hover { filter: brightness(1.07); }
.to-top svg { display: block; width: 20px; height: 20px; }

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

.site-footer {
  background: radial-gradient(900px 500px at 50% 0%, #0E2650 0%, var(--navy-deep) 60%);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 84px var(--gutter) 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 560px;
}
.footer-divider::before,
.footer-divider::after {
  content: "";
  flex: 1;
  height: 1px;
}
.footer-divider::before { background: linear-gradient(90deg, transparent, rgba(224, 172, 58, 0.55)); }
.footer-divider::after  { background: linear-gradient(270deg, transparent, rgba(224, 172, 58, 0.55)); }

.footer-divider .stars {
  color: var(--gold-bright);
  font-size: 15px;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
}

.footer-lockup {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-name {
  font-family: var(--sans);
  font-size: 38px;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1;
  color: #FFFFFF;
}
.footer-name span {
  background: linear-gradient(180deg, #F6DE9A, #D9A22E);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-bright);
}

.footer-sub {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  color: var(--muted);
}

.footer-underline {
  width: 230px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #E9C05C 30%, #F3D689 50%, #E9C05C 70%, transparent);
}

.footer-tagline {
  margin-top: 26px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 17px;
  color: var(--body-bright);
}

.footer-links {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--body);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-links a.is-gold { color: var(--gold-bright); }

.footer-legal {
  border-top: 1px solid var(--edge-hairline);
  background: rgba(0, 0, 0, 0.25);
}

.footer-legal .container {
  padding-block: 18px;
  display: flex;
  justify-content: center;
}

.footer-legal p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted-3);
  max-width: 70ch;
  text-align: center;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1080px) {
  .section-title, .movement-title, .donate-title { font-size: clamp(32px, 4.4vw, 44px); }
  .about-grid, .join { gap: 44px; }
}

@media (max-width: 900px) {
  :root { --gutter: 24px; }

  /* 768-900px still uses the desktop nav row, but the full-size row does not
     fit there: at 800px it needs ~758px of 728 and the wordmark wraps. These
     compact it just enough. Below 768px the mobile menu takes over instead. */
  .wordmark-name { font-size: 17px; }
  .wordmark-sub { font-size: 9.5px; letter-spacing: 0.12em; }
  .nav-inner { gap: 16px; }
  .nav-links { gap: 18px; }
  .nav-link { font-size: 14px; }
  .btn--nav {
    display: inline-flex;
    align-items: center;
    min-height: 44px;          /* tap target through 768px */
    font-size: 14px;
    padding: 0 18px;
  }

  /* Hero stacks: text above photo */
  .hero-inner { flex-direction: column; align-items: center; }
  .hero-copy {
    flex: 1 1 auto;
    max-width: 100%;
    padding: 64px 0 32px;
    align-items: flex-start;
  }
  .hero-photo {
    width: min(400px, 80vw);
    margin: 0 auto;

    /* The cutout's bottom edge is opaque near-black — rgb(24,24,26), where her
       jacket meets the frame. Bottom-aligned against the hero's dark base on
       desktop that reads as part of the composition. Centred on mobile it is a
       hard dark edge against the navy, and the 60px drop-shadow offset 30px
       down smears more dark below it: together they render as a black
       rectangle. A single bottom fade dissolves the edge.

       This also drops the two-layer horizontal mask, whose mask-composite:
       intersect is not a valid -webkit-mask-composite value, so WebKit fell
       back to compositing the layers the wrong way. */
    -webkit-mask-image: linear-gradient(to bottom, #000 68%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 68%, transparent 100%);
    -webkit-mask-composite: source-over;
    mask-composite: add;

    /* a shadow under a faded edge just re-creates the dark smear */
    filter: none;
  }

  .about { padding-block: 64px 56px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-photo { max-width: 460px; margin: 0 auto; width: 100%; }

  .endorsements { padding-bottom: 56px; }
  .endorse-card { padding: 28px 24px; gap: 24px; }
  .endorse-photo { width: 176px; }

  .ledger-row { grid-template-columns: 1fr; gap: 14px; padding: 26px 0; }

  .priorities .container { padding-block: 64px; }
  .priority-row { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
  .priority-num { font-size: 40px; }

  .movement .container { padding-block: 64px 56px; }

  .join {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 64px;
  }
  .form-card { padding: 26px; }

  .donate .container { padding-block: 56px; }
  .footer-inner { padding-block: 56px 48px; }
  .footer-links { gap: 20px 24px; }
}

/* ---------- Mobile menu (below 768px) ----------
   The four .nav-link nodes are the same elements as on desktop; only their
   container changes from an inline row to an absolutely-positioned panel, so
   there is no duplicated markup and no second set of links for screen readers.
   The panel is out of flow, so opening it does not change --nav-h or shift
   the page. */

@media (max-width: 767.98px) {
  :root { --nav-h: 72px; }

  /* Header row at 375-767: wordmark, Donate and hamburger on ONE row. Budget
     at 375px is 327px of content: Donate ~78 + burger ~46 + 30px of gaps
     leaves ~173px for the wordmark, which is why both its lines are sized
     down and set nowrap. Donate and the hamburger are both >=44px tall. */
  .nav-inner { padding: 12px var(--gutter); gap: 10px; }
  .nav-right { gap: 10px; }
  .nav-toggle { display: flex; min-height: 44px; }

  .nav-right > .btn--nav {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 14px;
    padding: 0 16px;
  }

  .wordmark-name, .wordmark-sub { white-space: nowrap; }
  .wordmark-name { font-size: 15.5px; }
  .wordmark-sub { font-size: clamp(8.5px, 2.1vw, 10.5px); letter-spacing: 0.06em; }

  /* A filter makes an element a containing block for position:fixed
     descendants, so while .site-nav carries backdrop-filter the panel and its
     backdrop resolve against the nav's 68px box instead of the viewport —
     the backdrop then covers almost nothing and outside-tap barely works.
     Dropping the blur while open is invisible (the panel and backdrop cover
     the nav anyway) and restores viewport-relative fixed positioning. */
  .site-nav.is-open {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  /* The panel is a fixed inset card, not an in-flow dropdown, so opening it
     does not change --nav-h or shift the page. Background is fully opaque —
     nothing behind it shows through. */
  .nav-links {
    position: fixed;
    top: 10px;
    left: 10px;
    right: 10px;
    z-index: 61;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 22px 24px 28px;
    background: linear-gradient(180deg, #12305E, #0C1E40 70%);
    border: 1px solid rgba(224, 172, 58, 0.55);
    border-radius: 16px;
    box-shadow:
      0 40px 90px rgba(0, 0, 0, 0.75),
      0 8px 28px rgba(0, 0, 0, 0.5),
      inset 0 1px 0 rgba(243, 214, 137, 0.25);
    overflow: hidden;

    /* visibility, not display, so the transition runs and the links leave the
       tab order while closed */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  }
  /* the panel's gold top edge */
  .nav-links::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold-bar);
  }

  .nav-backdrop {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, visibility 0s linear 0.18s;
  }

  .site-nav.is-open .nav-links,
  .site-nav.is-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s;
  }

  .menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
  }
  .menu-wordmark { display: flex; flex-direction: column; gap: 2px; }
  .menu-wordmark .wordmark-name { font-size: 18px; letter-spacing: 0.05em; }
  .menu-wordmark .wordmark-sub {
    font-size: 9.5px;
    letter-spacing: 0.24em;
    color: var(--muted);
  }

  .menu-close {
    width: 42px;
    height: 42px;
    background: none;
    border: 1px solid rgba(224, 172, 58, 0.45);
    border-radius: 8px;
    color: var(--gold-bright);
    font-size: 19px;
    line-height: 1;
    cursor: pointer;
  }
  .menu-close:hover { background: rgba(232, 190, 92, 0.08); }

  /* Stacked rows with dividers */
  .nav-link {
    color: var(--heading);
    font-size: 19px;
    font-weight: 700;
    padding: 15px 4px;
    border-bottom: 1px solid rgba(224, 172, 58, 0.22);
  }

  /* Full-width gold Donate at the bottom */
  .menu-donate {
    display: block;
    margin-top: 20px;
    font-size: 16.5px;
    padding: 15px 26px;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .section-title, .movement-title { font-size: 29px; }
  .donate-title { font-size: 28px; }
  .lede { font-size: 16.5px; }
  .about-copy p, .join-copy p { font-size: 16px; }
  .quote-featured { font-size: 17px; }
  .movement-quote { font-size: 18px; }
  .footer-name { font-size: 27px; }
  .footer-sub { font-size: 10px; letter-spacing: 0.26em; text-indent: 0.26em; }
  .footer-underline { width: 170px; }
  .cta-row .btn { flex: 1 1 auto; text-align: center; }
}
