/* ============================================================
   SAVE THE WORKIES - STYLES
   Black and white only, like the magpie. The look is "miners'
   banner meets Victorian handbill": heavy type, double rules,
   hard borders, no decoration that doesn't earn its keep.
   ============================================================ */

:root {
  --ink: #111111;          /* near-black */
  --paper: #faf9f6;        /* warm white, like limewash */
  --tint: #efede8;         /* section band tint */
  --line: #d8d5cd;         /* light rule */
  --urgent: #d92b2b;       /* deadline red - used ONLY for the countdown */
  --accent: #d0a800;       /* A calmer Magpies gold, easier on older eyes.
                              Rule: bold on black, or ink text on gold.
                              Never gold TEXT on white (unreadable). */
  --measure: 42rem;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* Anchors jump instantly - smooth-scrolling a page this long is
   slow, and some embedded browsers choke on it. */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---- magpie colour classes (the outline makes it work on any band) ---- */
.mg-ink   { fill: var(--ink); }
.mg-paper { fill: var(--paper); }
.mg-body  { fill: var(--paper); stroke: var(--ink); stroke-width: 5; stroke-linejoin: round; }
.mg-line  { stroke: var(--paper); stroke-width: 2.5; stroke-linecap: round; }
.mg-leg   { stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.mg-rule-thick { stroke: var(--ink); stroke-width: 6; }
.mg-rule-thin  { stroke: var(--ink); stroke-width: 2; }

/* On black bands the legs and perch flip to paper so they stay visible */
.band-ink .mg-leg,
.band-ink .mg-rule-thick,
.band-ink .mg-rule-thin { stroke: var(--paper); }

/* ---- layout helpers ---- */
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.wrap-narrow { max-width: 48rem; }

.section { padding: 4.5rem 0; }
.band-tint { background: var(--tint); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.band-ink {
  background: var(--ink);
  color: var(--paper);
}
.band-ink a { color: var(--paper); }

/* ---- type ---- */
h1, h2, h3 { line-height: 1.05; letter-spacing: -0.015em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 900; text-transform: uppercase; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: .5rem; }
p + p { margin-top: 1rem; }

.kicker {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: .9rem;
  opacity: .75;
}

.section-lede { max-width: var(--measure); font-size: 1.125rem; margin-bottom: 2.5rem; }

/* ---- live funding progress --------------------------------- */
.funding-progress {
  max-width: 48rem;
  margin: 1.5rem 0 1.25rem;
  padding: 1.25rem;
  border: 2px solid var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.funding-progress-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: .9rem;
}

.funding-progress-total,
.funding-progress-goal,
.funding-progress-breakdown p {
  margin: 0;
}

.funding-progress-total {
  display: flex;
  align-items: baseline;
  gap: .7rem;
}

.funding-progress-total strong {
  font-size: clamp(2.35rem, 6vw, 3.5rem);
  font-weight: 900;
  line-height: .85;
  letter-spacing: -.04em;
}

.funding-progress-total span,
.funding-progress-goal {
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.funding-progress-goal {
  text-align: right;
}

.funding-progress-goal strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: 0;
}

.funding-progress-meter {
  position: relative;
  height: 1.55rem;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--tint);
}

.funding-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
  transition: width .8s cubic-bezier(.16, 1, .3, 1);
}

.funding-progress-breakdown {
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: .75rem;
  color: #4f4d47;
  font-size: .86rem;
}

.funding-progress-breakdown strong {
  color: var(--ink);
}

@media (max-width: 520px) {
  .funding-progress {
    padding: 1rem;
  }

  .funding-progress-heading {
    display: block;
  }

  .funding-progress-goal {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-top: .8rem;
    text-align: left;
  }

  .funding-progress-goal strong {
    display: inline;
  }

  .funding-progress-breakdown {
    display: block;
  }

  .funding-progress-breakdown p + p {
    margin-top: .25rem;
  }
}

/* ---- buttons ---- */
.btn {
  display: inline-block;
  padding: .8rem 1.6rem;
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border: 2px solid var(--ink);
  cursor: pointer;
  font-family: inherit;
  transition: transform .08s ease;
}
.btn:active { transform: translate(2px, 2px); }

.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--paper); color: var(--ink); }

.band-ink .btn { border-color: var(--paper); }
.btn-ghost { background: transparent; color: inherit; }
.btn-ghost:hover { background: var(--paper); color: var(--ink); }

.btn-small { padding: .45rem .9rem; font-size: .8rem; }

.survey-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  align-items: center;
}

/* a.btn-accent + explicit band override so .band-ink a can never
   paint this text paper-on-gold (same war the popular tile lost once) */
a.btn-accent, .band-ink a.btn-accent { background: var(--accent); color: var(--ink); border-color: var(--ink); }
a.btn-accent:hover, .band-ink a.btn-accent:hover { background: var(--ink); color: var(--accent); border-color: var(--accent); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: 72rem;
  min-height: 64px;
  margin: 0 auto;
  padding: .55rem 1.25rem;
}

.header-proof {
  margin: 0;
  color: #4f4d47;
  font-size: .82rem;
  white-space: nowrap;
}

.header-proof strong {
  color: var(--ink);
  font-size: .95rem;
}

/* quick-jump chips - the page is long, these are the lift */
.jump-nav {
  display: flex;
  gap: .45rem;
  padding: 0 1.25rem .6rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.jump-nav::-webkit-scrollbar { display: none; }
.jump-nav a {
  flex: none;
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-decoration: none;
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: .28rem .7rem;
  white-space: nowrap;
}
.jump-nav a:hover, .jump-nav a[aria-current] { background: var(--ink); color: var(--paper); }

/* anchored sections stop below the taller sticky header */
main section[id] { scroll-margin-top: 5rem; }

/* ---- where the red lives: the clock, nowhere else ---- */
.jump-nav a.jump-days { border-color: var(--urgent); color: var(--urgent); }
.jump-nav a.jump-days:hover { background: var(--urgent); color: var(--paper); }
.figure-countdown {
  margin: .35rem 0 .5rem;
  font-weight: 900;
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--urgent);
}

/* ---- where the gold lives ---- */
.band-ink .kicker { color: var(--accent); opacity: 1; }
.hero-lede-strong strong { color: var(--accent); }
.milestone.is-current { outline-color: var(--accent); }
.pull { border-top-color: var(--accent); }
.strip-big { display: inline-block; border-bottom: 5px solid var(--accent); padding-bottom: .1rem; }
.jump-nav a:hover, .jump-nav a[aria-current] { background: var(--accent); color: var(--ink); }
.footer-info > p:first-child strong { color: var(--accent); }
#donate { border-top: 5px solid var(--accent); }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand-magpie { width: 44px; height: 37px; flex: none; }
.brand-name { font-weight: 900; text-transform: uppercase; letter-spacing: .04em; font-size: 1rem; white-space: nowrap; }

.header-progress { flex: 1; display: flex; align-items: center; gap: .7rem; min-width: 0; }
.header-bar { flex: 1; height: 10px; border: 2px solid var(--ink); background: var(--paper); min-width: 60px; }
.header-bar-fill { height: 100%; width: 0%; background: var(--accent); transition: width .8s ease; }
.header-figure { font-size: .8rem; font-weight: 700; white-space: nowrap; }

.header-cta { flex: none; }

@media (max-width: 720px) {
  /* below here the sticky bottom bar carries the figure instead */
  .header-progress { display: none; }
  .header-top { justify-content: space-between; }
  .header-top .header-cta { padding: .65rem .8rem; }
}

/* ---- thank-you banner ---- */
.thanks-banner {
  text-align: center;
  padding: 1.1rem 1.25rem;
  border-bottom: 2px solid var(--paper);
}
.thanks-banner .btn { margin: 0 .25rem; }
.thanks-share { margin-top: .6rem; }

/* ============================================================
   SIMPLIFIED HOME HERO
   ============================================================ */
.home-hero {
  display: flex;
  min-height: calc(100dvh - 64px);
  align-items: center;
  padding: clamp(2.25rem, 4vw, 3.5rem) 0;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.home-hero-copy {
  min-width: 0;
}

.home-hero h1 {
  max-width: 13ch;
  margin: .35rem 0 1.25rem;
  font-size: clamp(3.5rem, 5.6vw, 5.2rem);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.home-hero-lede {
  max-width: 32rem;
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 650;
  line-height: 1.45;
}

.home-hero-action {
  margin-top: 1.7rem;
}

.home-primary-cta {
  min-width: 15rem;
  padding: 1.05rem 2rem;
  font-size: 1.05rem;
}

.home-refund {
  max-width: 34rem;
  margin-top: .85rem;
  color: #d8d5cd;
  font-size: .88rem;
  line-height: 1.45;
}

.home-independence {
  max-width: 38rem;
  margin-top: 1.8rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(250, 249, 246, .35);
  color: #e7e4dc;
  font-size: .92rem;
  line-height: 1.5;
}

.home-independence > p {
  margin: 0;
}

.home-independence strong {
  color: var(--paper);
}

.home-urgent-update {
  background: var(--accent);
  color: var(--ink);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  padding: clamp(1.4rem, 3vw, 2rem) 0;
}

.home-urgent-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.home-urgent-label {
  margin: 0 0 .25rem;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.home-urgent-update h2 {
  margin: 0;
  max-width: 40rem;
  font-size: clamp(1.75rem, 3.3vw, 3rem);
  line-height: .98;
  text-transform: uppercase;
}

.home-urgent-update p:last-child {
  max-width: 47rem;
  margin: .65rem 0 0;
  font-size: clamp(.98rem, 1.5vw, 1.15rem);
  line-height: 1.45;
}

.home-urgent-update .btn {
  min-width: 15rem;
  padding: .95rem 1.3rem;
  text-align: center;
}

@media (max-width: 720px) {
  .home-urgent-grid { grid-template-columns: 1fr; }
  .home-urgent-grid .btn { width: 100%; }
}

.home-independence .campaign-bio {
  margin-top: .7rem;
  border: 0;
  background: transparent;
}

.home-independence .campaign-bio summary {
  padding: 0;
  color: var(--paper);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.home-independence .campaign-bio summary::after {
  margin-left: .7rem;
}

.campaign-bio-copy {
  max-width: 38rem;
  padding: .25rem 0 .4rem;
}

.campaign-bio-copy p {
  font-size: .93rem;
}

.home-hero-photo {
  margin: 0;
  border: 2px solid var(--paper);
  background: var(--paper);
  box-shadow: 10px 10px 0 var(--accent);
}

.home-hero-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.08);
}

/* ---- the appeal video --------------------------------------- */
/* The film is a portrait phone video. Shown at page size it eats 560px of
   height on every screen, so on the page it is only ever a small card —
   the film itself opens full screen. */
.appeal-evidence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0 1.5rem;
}

.appeal-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 3px solid var(--ink);
  background: var(--paper);
  padding: clamp(1.2rem, 3vw, 2rem);
}

.appeal-card-label {
  margin: 0 0 .65rem;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.appeal-card h3 {
  margin: 0;
  font-size: clamp(1.75rem, 3.5vw, 3.1rem);
  line-height: .95;
  text-transform: uppercase;
}

.appeal-card > p:not(.appeal-card-label) {
  max-width: 36rem;
  margin: 1rem 0 1.35rem;
  line-height: 1.5;
}

.appeal-video-card {
  box-shadow: 8px 8px 0 var(--accent);
}

.appeal-letter-card {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 8px 8px 0 #075bd8;
}

.appeal-letter-heading {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: .75rem;
}

.appeal-letter-heading img {
  flex: none;
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: #2d3f34;
  border: 1px solid var(--paper);
}

.appeal-letter-heading .appeal-card-label {
  margin: 0;
  color: var(--accent);
}

.appeal-letter-card blockquote {
  margin: 1.35rem 0 0;
  border-left: 7px solid var(--accent);
  background: rgba(255, 255, 255, .08);
  padding: 1rem 1.1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.3;
}

.appeal-letter-card .btn {
  align-self: flex-start;
  margin-top: auto;
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}

.watch-player {
  position: relative;
  margin: auto 0 0;
}

.watch-trigger {
  display: flex;
  align-items: center;
  gap: .85rem;
  width: 100%;
  max-width: 100%;
  padding: .55rem .85rem .55rem .55rem;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--accent);
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}

.watch-trigger:hover,
.watch-trigger:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--accent);
}

/* square crop of a portrait frame, held on her face */
.watch-thumb {
  flex: none;
  width: 64px;
  height: 64px;
  object-fit: cover;
  object-position: 50% 30%;
  border: 1px solid var(--ink);
}

.watch-trigger-text strong { display: block; font-size: 1rem; font-weight: 800; }
.watch-meta { font-size: .82rem; opacity: .72; }

.watch-play {
  flex: none;
  margin-left: auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  position: relative;
}

.watch-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 53%;
  transform: translate(-50%, -50%);
  border-left: 10px solid var(--paper);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* Present in the page so it can be put into full screen, but never visible
   at page size. Not display:none — you cannot full-screen a hidden element. */
.watch-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.watch-video:fullscreen,
.watch-video:-webkit-full-screen {
  position: static;
  opacity: 1;
  pointer-events: auto;
}

.watch-caption { margin-top: .6rem; font-size: .82rem; opacity: .72; }
.watch-skip { font-weight: 700; }

@media (max-width: 760px) {
  .appeal-evidence-grid {
    grid-template-columns: 1fr;
  }

  .appeal-letter-card .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 860px) {
  .home-hero {
    min-height: 0;
    padding: 3.2rem 0 4rem;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .home-hero h1 {
    max-width: 10ch;
    font-size: clamp(3.15rem, 13vw, 5.5rem);
  }

  .home-hero-photo {
    width: min(100%, 34rem);
  }

  .home-hero-photo img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 520px) {
  .header-proof {
    font-size: .7rem;
  }

  .header-proof strong {
    display: block;
    font-size: .86rem;
    line-height: 1.05;
  }

  .home-primary-cta {
    display: block;
    width: 100%;
    min-width: 0;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 4rem 0 4.5rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.hero-title {
  font-size: clamp(3.4rem, 9vw, 6.8rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .92;
  margin: .3rem 0 1.2rem;
}
.hero-welsh {
  font-size: 1.05rem;
  font-style: italic;
  opacity: .85;
  margin-bottom: 1.4rem;
}
.hero-lede { max-width: 34rem; font-size: 1.1rem; }
.hero-lede-strong { font-size: 1.2rem; }

/* ---- the figure card ---- */
.figure-card {
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--paper);
  box-shadow: 8px 8px 0 rgba(250, 249, 246, .25);
  padding: 1.8rem 1.8rem 1.6rem;
}
.figure-label {
  font-size: .78rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; opacity: .7;
}
.figure-number { margin: .2rem 0 1rem; line-height: 1.1; }
.figure-big { font-size: clamp(2.8rem, 6vw, 4rem); font-weight: 900; letter-spacing: -0.02em; }
.figure-of { display: block; font-weight: 700; font-size: 1.05rem; margin-top: .15rem; }

/* the meter - track + baseline-anchored fill, milestone label below */
.meter {
  height: 30px;
  border: 2px solid var(--ink);
  background: var(--tint);
  position: relative;
  overflow: hidden;
}
.meter-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 0 4px 4px 0;   /* rounded data-end only */
  transition: width 1.1s cubic-bezier(.22,.9,.35,1);
}
.figure-milestone { font-size: .85rem; font-weight: 700; margin-top: .5rem; text-transform: uppercase; letter-spacing: .06em; }

.figure-meta { list-style: none; margin: 1.1rem 0 1.3rem; font-size: .95rem; }
.figure-meta li { padding: .28rem 0; border-top: 1px solid var(--line); }
.figure-updated { opacity: .7; font-size: .85rem; }

.figure-ctas { display: flex; gap: .7rem; flex-wrap: wrap; }
.figure-ctas .btn { flex: 1; border-color: var(--ink); }
.figure-card .btn-ghost { color: var(--ink); }
.figure-card .btn-ghost:hover { background: var(--ink); color: var(--paper); }

.figure-micro { font-size: .8rem; opacity: .7; margin-top: .8rem; }

/* ============================================================
   WHY-NOW STRIP
   ============================================================ */
.strip { border-bottom: 2px solid var(--ink); }
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip-item { padding: 1.6rem 1.5rem; border-left: 2px solid var(--ink); }
.strip-item:first-child { border-left: none; }
.strip-big { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; }
.strip-small { font-size: .95rem; max-width: 22rem; }
@media (max-width: 720px) {
  .strip-grid { grid-template-columns: 1fr; }
  .strip-item { border-left: none; border-top: 2px solid var(--ink); }
  .strip-item:first-child { border-top: none; }
}

/* ============================================================
   STORY
   ============================================================ */
.pull {
  margin: 2.5rem 0;
  padding: 1.4rem 0;
  border-top: 4px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.15;
  text-align: center;
}

.timeline { list-style: none; margin-top: 2.2rem; }
.timeline li {
  display: flex;
  gap: 1.2rem;
  padding: .7rem 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.tl-year { flex: none; width: 4.2rem; font-weight: 900; font-size: 1.05rem; }

.story-credit {
  margin-top: 1.6rem;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  opacity: .7;
}

/* ============================================================
   MILESTONES
   ============================================================ */
.milestones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-bottom: 3rem;
}
@media (max-width: 860px) { .milestones { grid-template-columns: 1fr; } }

.milestone {
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 1.5rem 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
}
.milestone-amount { font-size: 2.1rem; font-weight: 900; letter-spacing: -0.02em; margin-bottom: .5rem; }
.milestone-amount span { font-size: 1rem; font-weight: 700; }
.milestone p { font-size: .97rem; }
.milestone-state {
  margin-top: auto;
  padding-top: .9rem;
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.milestone.is-current { outline: 3px solid var(--ink); outline-offset: 3px; }
.milestone.is-done .milestone-state::before { content: "✔ "; }

.money-where {
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 1.6rem 1.8rem;
  max-width: var(--measure);
}
.money-where ol { margin: .8rem 0 1rem 1.2rem; }
.money-where li { margin: .45rem 0; }
.promise { border-top: 1.5px solid var(--ink); padding-top: .9rem; font-size: .97rem; }

.community-meaning,
.funding-route {
  margin-top: 2.5rem;
  border-top: 4px solid var(--ink);
  padding-top: 1.4rem;
}
.community-meaning h3,
.funding-route h3 {
  text-transform: uppercase;
  letter-spacing: .04em;
}
.community-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.community-grid article {
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 1.1rem 1.2rem;
}
.community-grid strong {
  display: block;
  font-size: 1.05rem;
  text-transform: uppercase;
}
.community-grid p {
  margin-top: .35rem;
  font-size: .95rem;
}
.route-grid { margin: 2rem 0; }
.structure-note {
  max-width: var(--measure);
  margin-top: 1.2rem;
  font-size: .9rem;
}
.funding-route {
  max-width: 58rem;
}
.funding-route p {
  margin-top: .7rem;
}

.proof { margin-top: 2.5rem; }
.proof h3 { text-transform: uppercase; letter-spacing: .04em; }
.proof-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: .9rem;
  margin-top: 1rem;
}
.proof-list li {
  border-left: 4px solid var(--ink);
  padding: .3rem 0 .3rem 1rem;
  font-size: .95rem;
}

/* ============================================================
   DONATE
   ============================================================ */
/* the all-or-nothing guarantee - gold, impossible to miss */
.guarantee {
  max-width: 48rem;
  background: var(--accent);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(250, 249, 246, .25);
  padding: 1.1rem 1.3rem;
  margin: 0 0 3.5rem;
  font-size: 1.02rem;
}
.figure-from { margin-top: .8rem; font-size: .95rem; font-weight: 700; }
.figure-guarantee {
  margin-top: .9rem;
  padding: .55rem .75rem;
  background: var(--accent);
  border: 2px solid var(--ink);
  font-size: .85rem;
  font-weight: 700;
}

.donate-intro { max-width: 44rem; margin-bottom: 2rem; }
.donate-live {
  max-width: 48rem;
  margin: 0 0 .45rem;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
}
.donate-live strong { color: var(--accent); }
.donation-block { max-width: 64rem; }
.donation-block + .donation-block {
  margin-top: 4rem;
  padding-top: 3.5rem;
  border-top: 1px solid rgba(250, 249, 246, .35);
}
.donation-heading { margin-bottom: 1.4rem; }
.donation-heading h3 { margin: 0 0 .35rem; font-size: 1.55rem; }
.donation-heading p { margin: 0; opacity: .8; }

.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .1rem;
  min-height: 116px;
  padding: 1rem .5rem;
  background: transparent;
  color: var(--paper);
  border: 2px solid var(--paper);
  text-decoration: none;
  text-align: center;
  transition: transform .08s ease;
}
.tier:hover { background: var(--paper); color: var(--ink); }
.tier:active { transform: translate(2px, 2px); }
.tier-amount { font-size: 1.9rem; font-weight: 900; letter-spacing: -0.02em; }
.tier-per { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.tier.is-pending { opacity: .92; border-style: dashed; }

.tier-more {
  margin-top: 1.25rem;
  margin-bottom: 0;
  border: 0;
  background: transparent;
  color: var(--paper);
}
.tier-more summary {
  display: inline-block;
  padding: 0;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .75;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.tier-more summary::after {
  margin-left: .5rem;
}
.tier-more summary:hover { opacity: 1; }
.tier-more-options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: .85rem;
}
.tier-more .tier {
  min-height: 0;
  width: auto;
  flex-direction: row;
  gap: .35rem;
  padding: .5rem .75rem;
}
.tier-more .tier-amount { font-size: 1rem; }
.tier-more .tier-per { font-size: .68rem; }
.tier-pending { margin-top: 1.4rem; font-size: .95rem; font-weight: 700; border: 2px dashed var(--paper); padding: .9rem 1.1rem; max-width: var(--measure); }
.donate-trust {
  max-width: 48rem;
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 249, 246, .35);
  font-size: .9rem;
  opacity: .82;
}

@media (max-width: 700px) {
  .guarantee { margin-bottom: 3rem; }
  .donation-block + .donation-block { margin-top: 3rem; padding-top: 2.5rem; }
  .tier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================================================
   THE SPACE
   ============================================================ */
.space-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.4rem;
}
.space-list li {
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: .45rem .9rem;
  font-weight: 700;
  font-size: .9rem;
}
.space-list li { text-transform: uppercase; letter-spacing: .04em; }

/* ============================================================
   ARCHIVE PHOTOGRAPHS
   ============================================================ */
.archive-section .section-lede {
  color: var(--paper);
  opacity: .88;
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
  align-items: start;
}
.archive-card {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--paper);
  box-shadow: 7px 7px 0 rgba(240, 192, 0, .9);
}
.archive-span-7 { grid-column: span 7; }
.archive-span-5 { grid-column: span 5; }
.archive-card img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 2px solid var(--ink);
}
.archive-card figcaption {
  padding: .75rem .9rem .85rem;
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.35;
}
@media (max-width: 720px) {
  .archive-grid { grid-template-columns: 1fr; }
  .archive-span-7,
  .archive-span-5 { grid-column: auto; }
  .archive-card { box-shadow: 5px 5px 0 rgba(240, 192, 0, .9); }
}

/* ============================================================
   FORMS
   ============================================================ */
.card-form {
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 1.5rem;
  max-width: var(--measure);
  margin-bottom: 2.5rem;
}
.card-form label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 1rem; }
.label-opt { font-weight: 400; opacity: .7; }
.card-form input[type="text"],
.card-form input[type="email"],
.card-form input[type="tel"],
.card-form select,
.card-form textarea {
  display: block;
  width: 100%;
  margin-top: .35rem;
  padding: .65rem .75rem;
  font: inherit;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
}
.card-form input:focus, .card-form textarea:focus,
.btn:focus-visible, .tier:focus-visible, a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}
.band-ink a:focus-visible, .band-ink .btn:focus-visible, .band-ink .tier:focus-visible { outline-color: var(--paper); }
.check { display: flex; align-items: center; gap: .5rem; font-weight: 700; }
.check input { width: 1.1rem; height: 1.1rem; accent-color: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: end; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-micro { font-size: .8rem; opacity: .7; margin-top: .7rem; }
.form-status {
  margin-top: .8rem;
  padding: .7rem .9rem;
  border: 2px solid var(--ink);
  background: var(--tint);
  font-weight: 700;
  font-size: .95rem;
}
/* honeypot: parked far off-screen, real people never see it */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* celebration layer for the confetti burst */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 100; }

/* ============================================================
   SUPPORTERS' ROLL
   ============================================================ */
.roll-carousel { display: flex; align-items: stretch; gap: .5rem; }
.supporter-feed {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: .8rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: .4rem;
  scrollbar-width: thin;
}
.supporter-item {
  flex: 0 0 250px;
  scroll-snap-align: start;
  border: 2px solid var(--ink); background: var(--paper); padding: .8rem 1rem;
}
.supporter-feed .wall-empty { width: 100%; }
.supporter-cta {
  flex: 0 0 250px;
  scroll-snap-align: start;
  display: flex; align-items: center; justify-content: center;
  border: 2px dashed var(--ink);
  padding: .8rem 1rem;
  font-weight: 800; text-align: center;
  text-decoration: none; color: var(--ink);
  text-transform: uppercase; font-size: .85rem; letter-spacing: .04em;
}
.supporter-cta:hover { background: var(--accent); }
.roll-arrow {
  flex: none; align-self: center;
  width: 2.4rem; height: 2.4rem;
  border: 2px solid var(--ink); background: var(--paper); color: var(--ink);
  font-size: 1.3rem; font-weight: 900; line-height: 1;
  cursor: pointer; font-family: inherit;
}
.roll-arrow:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 720px) { .roll-arrow { display: none; } }
.supporter-item strong { display: block; }
.supporter-kind {
  font-size: .68rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; opacity: .65;
}
.supporter-item p { font-size: .9rem; margin-top: .3rem; }

/* ============================================================
   SHARE + SIGNUP BAND
   ============================================================ */
.share-band { padding: 3rem 0; }
.share-band h3 { text-transform: uppercase; }
.share-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
@media (max-width: 820px) { .share-grid { grid-template-columns: 1fr; } }
.share-buttons { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.signup-row { display: flex; gap: .6rem; margin-top: 1rem; }
.signup-row input[type="email"] {
  flex: 1; min-width: 0; padding: .65rem .75rem; font: inherit;
  border: 2px solid var(--paper); background: transparent; color: var(--paper);
}
.signup-row input[type="email"]::placeholder { color: var(--paper); opacity: .5; }

/* ============================================================
   BUSINESS WALL
   ============================================================ */
.business-wall { margin-top: 2.5rem; }
.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .9rem;
  margin-top: .6rem;
}
.business-card { border: 2px solid var(--ink); background: var(--paper); padding: 1rem; text-align: center; }
.business-card img {
  max-width: 100%; height: 72px; object-fit: contain;
  filter: grayscale(1); display: block; margin: 0 auto .6rem;
}
.business-card strong { display: block; text-transform: uppercase; font-size: .9rem; letter-spacing: .04em; }
.business-card a { color: inherit; }
.business-card p { font-size: .85rem; opacity: .85; margin-top: .3rem; }

/* ============================================================
   THANK-YOU BANNER NAME FORM
   ============================================================ */
.thanks-wall-form { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-top: .9rem; }
.thanks-wall-form input[type="text"]:not(.hp-field) {
  padding: .5rem .7rem; font: inherit; min-width: 210px;
  border: 2px solid var(--paper); background: transparent; color: var(--paper);
}
.thanks-wall-form input::placeholder { color: var(--paper); opacity: .55; }

.wall-empty {
  border: 2px dashed var(--ink);
  padding: 1.4rem;
  text-align: center;
  font-weight: 700;
  column-span: all;
}

/* ============================================================
   PRESS
   ============================================================ */
.fact-sheet {
  margin-top: 1.8rem;
  border: 2px solid var(--ink);
  background: var(--paper);
}
.fact-sheet dt {
  float: left;
  clear: left;
  width: 8.5rem;
  padding: .7rem 1rem;
  font-weight: 800;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.fact-sheet dd { padding: .7rem 1rem .7rem 9.5rem; border-bottom: 1px solid var(--line); }
.fact-sheet dd:last-child { border-bottom: none; }
@media (max-width: 560px) {
  .fact-sheet dt { float: none; width: auto; padding-bottom: 0; }
  .fact-sheet dd { padding: .2rem 1rem .7rem; }
}

/* ============================================================
   FAQ
   ============================================================ */
details {
  border: 2px solid var(--ink);
  background: var(--paper);
  margin-bottom: .7rem;
}
summary {
  padding: .9rem 1.1rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; font-weight: 900; flex: none; }
details[open] summary::after { content: " - "; }
details p { padding: 0 1.1rem 1rem; max-width: var(--measure); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { padding: 3.5rem 0 6rem; }
.footer-grid { display: flex; gap: 3rem; align-items: flex-start; flex-wrap: wrap; }
.footer-magpie { width: 96px; height: 81px; }
.footer-name { font-weight: 900; text-transform: uppercase; margin-top: .6rem; line-height: 1.3; }
.footer-name span { font-weight: 400; text-transform: none; font-style: italic; opacity: .8; }
.footer-info { max-width: 26rem; }
.footer-contact { display: flex; gap: 1.4rem; margin-top: 1rem; font-weight: 700; }
.footer-tiny { font-size: .8rem; opacity: .65; margin-top: 1.2rem; }

/* ============================================================
   MOBILE STICKY CTA
   ============================================================ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem 1rem;
  background: var(--paper);
  border-top: 2px solid var(--ink);
}
.sticky-figure { font-size: .9rem; font-weight: 700; }
@media (max-width: 720px) {
  .sticky-cta { display: flex; }
  .community-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MEMBER PERKS - the gold band under the hero
   (ink on gold only, per the design rules)
   ============================================================ */
.perks-band { background: var(--accent); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.perks-band .kicker { opacity: 1; font-weight: 700; }
.perks-band .section-lede { margin-bottom: 2rem; }
.perks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; }
.perk-card { display: flex; flex-direction: column; background: var(--paper); border: 2px solid var(--ink); color: var(--ink); text-decoration: none; }
a.perk-card:hover .perk-name { text-decoration: underline; }
.perk-card.perk-soon { border-style: dashed; }
.perk-soon .perk-offer { font-weight: 400; font-style: italic; }
.perk-logo { display: flex; align-items: center; justify-content: center; height: 110px; padding: .8rem; background: #fff; border-bottom: 2px solid var(--ink); }
.perk-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.perk-body { display: block; padding: .95rem 1.05rem 1.15rem; }
.perk-name { display: block; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .95rem; margin-bottom: .35rem; }
.perk-offer { display: block; font-weight: 700; font-size: 1.05rem; line-height: 1.35; }
.perk-detail { display: block; font-size: .9rem; opacity: .8; margin-top: .35rem; }
.perks-foot { margin-top: 1.8rem; margin-bottom: 1.4rem; max-width: var(--measure); font-size: .95rem; }

/* Celebrated total in the header - ink on gold, per the design rules */
.header-total { background: var(--accent); padding: .1em .4em; font-weight: 800; white-space: nowrap; }

/* The celebration line on the hero card - total raised, ink on gold */
.figure-total {
  background: var(--accent);
  border: 2px solid var(--ink);
  color: var(--ink);
  text-align: center;
  padding: .55rem .8rem;
  margin: .9rem 0 .2rem;
  font-size: 1.02rem;
}

/* ---- Volunteer jobs board ---------------------------------- */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.job-card {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  padding: 1.1rem 1.2rem 1.2rem;
  box-shadow: 5px 5px 0 rgba(17, 17, 17, .12);
}
a.job-card:hover .job-name { text-decoration: underline; }
a.job-card:hover .job-cta { background: var(--accent); }
.job-featured { grid-column: 1 / -1; }
.job-tag {
  align-self: flex-start;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  padding: .12rem .5rem;
}
.job-filled .job-tag { background: var(--accent); }
.job-name { font-size: 1.15rem; font-weight: 900; line-height: 1.15; }
.job-detail { font-size: .92rem; line-height: 1.5; }
.job-cta {
  margin-top: auto;
  align-self: flex-start;
  font-weight: 900;
  font-size: .9rem;
  padding: .1rem .3rem;
}
.jobs-foot { margin-top: 1.5rem; }
.volunteer-form { margin-top: 2rem; scroll-margin-top: 7.5rem; }
.volunteer-form h3 { margin-bottom: 1.2rem; }

/* ---- Survey band ------------------------------------------- */
.survey-micro { margin-left: 1rem; font-size: .85rem; font-weight: 700; }

/* ---- the film in the hero: poster until played, voice-first ---- */
.home-hero-film video { display: block; width: 100%; height: auto; }
.home-film-cap {
  padding: .55rem .75rem; background: var(--paper); color: var(--ink);
  font-size: .82rem; font-weight: 700;
}
