/* ===== Colors: change these to restyle the whole site ===== */
:root {
  --purple: #351559;
  --purple-deep: #241040;
  --purple-soft: #4a2577;
  --orange: #ffa052;
  --orange-dark: #e9832f;
  --blue: #7a9fc5;
  --cream: #faf6f0;
  --ink: #24123b;
  --muted: #5d4e70;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 18px/1.65 "Jost", "Century Gothic", sans-serif;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Jost", "Century Gothic", sans-serif; line-height: 1.12; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.01em; }
h1 { letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4.4vw, 46px); }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.nowrap { white-space: nowrap; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
section[id] { scroll-margin-top: 90px; }
@media (max-width: 1199px) { section[id] { scroll-margin-top: 150px; } }
.eyebrow {
  font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-dark); margin-bottom: 12px;
}
/* Section labels sit inside their heading (so search engines read them as part
   of it) but keep the look of a separate small label above the headline */
h1 > .eyebrow, h2 > .eyebrow { display: block; line-height: 1.65; }
h2.eyebrow { line-height: 1.65; margin-top: 0; }

/* ===== Buttons =====
   Style inspired by gumroad.com (via Uiverse.io, by satyamchaudharydev):
   on hover the button lifts up-left and leaves a solid "shadow" block behind. */
.btn {
  --bg: var(--orange);
  --text: var(--purple-deep);
  --hover-bg: #8a4bd6;
  --hover-text: #fff;
  --shadow: var(--orange);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: .8em 2em; border-radius: 4px; border: 1px solid var(--bg);
  background: var(--bg); color: var(--text);
  font: 600 17px/1.2 "Jost", sans-serif; text-decoration: none; cursor: pointer;
  transition: .2s;
}
.btn:hover {
  background: var(--hover-bg); color: var(--hover-text);
  transform: translate(-0.25rem, -0.25rem);
  box-shadow: 0.25rem 0.25rem var(--shadow);
}
.btn:active { transform: translate(0); box-shadow: none; }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.btn-orange { /* uses the defaults above */ }
.btn-outline {
  --bg: transparent; --text: #fff; --hover-bg: #fff; --hover-text: var(--purple-deep);
  border-color: rgba(255,255,255,.7);
}
.btn-outline:hover { border-color: #fff; }

/* ===== Top bar ===== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(36, 16, 64, .96); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; min-height: 72px; }
.topbar .logo img { height: 50px; width: auto; }
.navlinks { display: flex; gap: 4px; margin-left: auto; }
/* Tabs: on hover they look pressed into the bar and the text shrinks a little;
   on click they press in deeper. (Animation adapted from a Uiverse.io button.) */
.navlinks a {
  --sink: 10, 3, 24;
  padding: 6px 9px; border-radius: 6px;
  color: #e6dcf3; text-decoration: none; font-weight: 500; font-size: 16px; white-space: nowrap;
  box-shadow:
    inset 0 -6px 18px -6px rgba(var(--sink), 0),
    inset 0 6px 18px -6px rgba(var(--sink), 0),
    inset 12px 0 12px -6px rgba(var(--sink), 0),
    inset -12px 0 12px -6px rgba(var(--sink), 0);
  transition: all .3s;
  user-select: none;
}
.navlinks a > span { display: inline-block; transition: transform .3s; }
.navlinks a:hover, .navlinks a:focus-visible {
  box-shadow:
    inset 0 -6px 18px -6px rgba(var(--sink), 1),
    inset 0 6px 18px -6px rgba(var(--sink), 1),
    inset 12px 0 12px -6px rgba(var(--sink), 0),
    inset -12px 0 12px -6px rgba(var(--sink), 0),
    -1px -1px 6px 0 rgba(255, 255, 255, .06);
}
.navlinks a:hover > span, .navlinks a:focus-visible > span { transform: scale(.9); }
.navlinks a:active {
  box-shadow:
    inset 0 -12px 12px -6px rgba(var(--sink), 1),
    inset 0 12px 12px -6px rgba(var(--sink), 1),
    inset 12px 0 12px -6px rgba(var(--sink), 1),
    inset -12px 0 12px -6px rgba(var(--sink), 1),
    -1px -1px 6px 0 rgba(255, 255, 255, .06);
}
.navlinks a:active > span { transform: scale(.8); }
.navlinks a:focus-visible { outline: 2px solid var(--orange); outline-offset: 1px; }
.navlinks a:hover, .navlinks a[aria-current="page"] { color: var(--orange); }
.topbar-actions { display: flex; align-items: center; gap: 10px; }

/* Social media icons (Facebook, Instagram, Threads, Share), in campaign colors.
   Hover matches the main buttons: brighter purple, lifts up-left with an orange block behind. */
.social-dock {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 5px;
  border-radius: 6px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
}
.dock-icon {
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border: 0; padding: 0; border-radius: 4px; cursor: pointer;
  background: var(--purple-soft); color: var(--orange);
  transition: .2s;
}
.dock-icon svg { width: 16px; height: 16px; fill: currentColor; }
.dock-icon:hover, .dock-icon:focus-visible {
  background: #8a4bd6; color: #fff;
  transform: translate(-3px, -3px); box-shadow: 3px 3px var(--orange);
}
.dock-icon:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.dock-icon:active { transform: translate(0); box-shadow: none; }
.share-toast {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 5;
  background: #fff; color: var(--ink); padding: 6px 12px; border-radius: 6px;
  font-size: 14px; font-weight: 500; white-space: nowrap; box-shadow: 0 6px 18px rgba(0,0,0,.25);
  opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .2s, transform .2s;
}
.share-toast.show { opacity: 1; transform: none; }
.social-dock-footer { margin-bottom: 18px; }
.social-dock-footer .share-toast { top: auto; bottom: calc(100% + 8px); left: 50%; right: auto; translate: -50% 0; }
/* Fixed widths so switching English/Spanish never resizes the bar */
.topbar-actions .btn { padding: 10px 22px; font-size: 16px; min-width: 100px; }
.lang-toggle { min-width: 96px; text-align: center; }

/* Language toggle button: "slice" style (from Uiverse.io), in campaign colors.
   On hover an orange band slices across and the text turns dark purple. */
.slice {
  --c1: var(--purple-deep);
  --c2: var(--orange);
  --size-letter: 15px;
  padding: 0.5em 1em;
  font: 700 var(--size-letter)/1.2 "Jost", sans-serif;
  background-color: transparent;
  border: calc(var(--size-letter) / 6) solid var(--c2);
  border-radius: 0.2em;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: 300ms cubic-bezier(0.83, 0, 0.17, 1);
}
.slice > .text {
  color: var(--c2);
  position: relative;
  z-index: 1;
  transition: color 467ms cubic-bezier(0.83, 0, 0.17, 1);
}
.slice::after {
  content: "";
  width: 0;
  height: calc(300% + 1em);
  position: absolute;
  translate: -50% -50%;
  inset: 50%;
  rotate: 30deg;
  background-color: var(--c2);
  transition: 667ms cubic-bezier(0.83, 0, 0.17, 1);
}
.slice:hover > .text, .slice:focus-visible > .text { color: var(--c1); }
.slice:hover::after, .slice:focus-visible::after { width: calc(120% + 1em); }
.slice:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.slice:active { scale: 0.98; filter: brightness(0.9); }

@media (max-width: 1199px) {
  .topbar .wrap { gap: 6px 12px; padding-top: 10px; }
  .topbar-actions { margin-left: auto; }
  .topbar-actions .btn { padding: 10px 16px; min-width: 86px; }
  .navlinks { order: 3; width: 100%; margin: 0; justify-content: center; flex-wrap: wrap; gap: 0 4px; padding-bottom: 8px; }
  .navlinks a { font-size: 15px; padding: 5px 9px; }
  .topbar .logo img { height: 42px; }
}
@media (max-width: 600px) {
  .topbar .social-dock { display: none; } /* still in the footer on phones */
}
@media (max-width: 380px) {
  .slice { --size-letter: 14px; padding: 0.5em 0.8em; min-width: 86px; }
}

/* ===== Hero ===== */
.hero { background: var(--purple); color: #fff; overflow: hidden; position: relative; }
.hero::after { /* soft glow */
  content: ""; position: absolute; right: -10%; top: -30%; width: 70%; height: 140%;
  background: radial-gradient(closest-side, rgba(122,159,197,.22), transparent);
  pointer-events: none;
}
.hero .wrap {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center;
  padding: 72px 0 88px; position: relative; z-index: 1;
}
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lead { font-size: 20px; color: #ddd0ee; max-width: 34em; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
/* The main "Donate now" button is extra large so it's the first thing people see */
.hero .actions .btn-orange { font-size: 24px; padding: 22px 52px; box-shadow: 0 10px 24px rgba(0,0,0,.25), 0 0 22px 2px rgba(255,160,82,.45); }
.hero .actions .btn-orange:hover { box-shadow: .35rem .35rem var(--shadow), 0 0 26px 4px rgba(255,160,82,.35); }
.hero .actions .btn-orange:active { box-shadow: none; }
.date-chip {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16); font-size: 15px; font-weight: 500; color: #e6dcf3;
}
.date-chip b { color: var(--orange); font-weight: 600; }
.hero-photo { position: relative; }
.hero-photo img {
  width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 30%;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
/* Campaign logo as a badge overlapping the bottom-right corner of the hero photo */
.hero-photo img.hero-logo {
  position: absolute; right: -26px; bottom: -30px; width: 44%;
  aspect-ratio: auto; object-fit: contain;
  padding: 12px 16px; background: var(--purple-deep);
  border: 2px solid var(--orange); border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
}
@media (max-width: 860px) {
  .hero-photo img.hero-logo { right: -10px; bottom: -22px; width: 48%; padding: 9px 12px; }
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 64px; }
  .hero-photo { max-width: 520px; margin-inline: auto; width: 100%; }
}

/* ===== Facts strip ===== */
.facts { background: var(--purple-deep); color: #fff; }
.facts .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { padding: 28px 24px; border-left: 1px solid rgba(255,255,255,.1); }
.fact:first-child { border-left: 0; }
.fact strong { display: block; font-family: "Jost", sans-serif; font-weight: 700; font-size: 30px; color: var(--orange); line-height: 1.1; }
.fact span { color: #cfc2e2; font-size: 16px; }
.fact strong .nowrap { color: inherit; font-size: inherit; }
@media (max-width: 700px) {
  .facts .wrap { grid-template-columns: 1fr; }
  .fact { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); padding: 20px 4px; }
  .fact:first-child { border-top: 0; }
}

/* ===== Content sections ===== */
section.block { padding: 96px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.flip .split-media { order: -1; }
.split-media img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.split-text p { color: var(--muted); font-size: 19px; }
@media (max-width: 860px) {
  section.block { padding: 64px 0; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.flip .split-media { order: 0; }
}
/* When the page stacks into one column, keep the City Hall boxes photo from filling the whole width */
@media (max-width: 860px) {
  .split-media .records-photo { display: block; max-width: 440px; margin: 0 auto; }
}

.photo-stack { position: relative; padding-bottom: 60px; }
.photo-stack .main { aspect-ratio: 4/5; object-position: center 45%; }
.photo-stack .inset {
  position: absolute; right: -16px; bottom: 0; width: 46%; aspect-ratio: 1;
  border: 6px solid var(--cream); border-radius: var(--radius);
  object-fit: cover; object-position: center 42%;
}
/* Little tilted label on the corner photo, like a note on an old snapshot */
.inset-caption {
  position: absolute; right: -6px; bottom: -14px; z-index: 2;
  padding: 3px 14px 4px; border-radius: 4px;
  background: var(--orange); color: var(--purple-deep);
  border: 2px solid var(--purple-deep); box-shadow: 3px 3px var(--purple-deep);
  font: 700 22px/1.1 "Caveat", "Bradley Hand", cursive; white-space: nowrap;
  transform: rotate(-4deg);
}
@media (max-width: 860px) {
  .inset-caption { right: 18px; }
  .photo-stack .inset { right: 8px; }
  .photo-stack .main { aspect-ratio: 1; object-position: center 57%; }
}
/* Service record */
.service { background: #fff; }
.service-head { max-width: 760px; margin-bottom: 48px; }
.service-split { margin-bottom: 56px; }
.service-head p { color: var(--muted); font-size: 19px; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.card { background: var(--cream); border-radius: var(--radius); padding: 36px; }
.card h3 { font-size: 26px; color: var(--purple); }
.card .when { font-size: 15px; font-weight: 600; color: var(--orange-dark); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.card ul { list-style: none; padding: 0; margin: 18px 0 0; }
.card li { position: relative; padding: 12px 0 12px 32px; border-top: 1px solid #ebe2d6; color: var(--ink); }
.card li::before {
  content: ""; position: absolute; left: 4px; top: 21px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--orange);
}
.card.alt li::before { background: var(--blue); }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } .card { padding: 28px 22px; } }

/* Together band */
.together {
  position: relative; color: #fff; background: var(--purple);
  padding: 110px 0 0; overflow: hidden; text-align: center;
}
.together h2 { max-width: 15em; margin-inline: auto; }
.together h2.priorities-title { max-width: none; }
.together h2 em { font-style: normal; color: var(--orange); }
.together p { max-width: 42em; margin: 0 auto 1em; color: #ddd0ee; font-size: 19px; }
.together img { width: min(900px, 100% - 32px); margin: 48px auto 0; border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 16/9; object-fit: cover; object-position: center 30%; }

/* Priority tiles (icons are campaign-orange line drawings) */
.priorities { margin: 44px auto 0; max-width: 980px; }
.priorities-title { color: var(--orange); margin-bottom: 18px; }
.priority-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
/* Each priority is a wide row: icon on the left, title + paragraph on the right */
.priority {
  display: grid; grid-template-columns: 160px 1fr; gap: 4px 32px; align-items: start; text-align: left;
  padding: 28px 32px; border-radius: var(--radius);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.priority:hover { transform: translateY(-4px); background: rgba(255,255,255,.08); border-color: rgba(255,160,82,.5); }
.priority img, .priority .priority-art { display: block; width: 160px; height: 160px; margin: 0; grid-row: span 2; align-self: center; justify-self: center; }
.priority h3 { font-size: 24px; color: #fff; margin: 6px 0 4px; }
.together .priority p { font-size: 17px; line-height: 1.6; color: #cfc2e2; margin: 0; max-width: none; }
@media (max-width: 640px) {
  .priority { grid-template-columns: 64px 1fr; gap: 0 16px; align-items: center; padding: 20px; }
  .priority img, .priority .priority-art { width: 64px; height: 64px; grid-row: auto; align-self: center; }
  .priority h3 { margin: 0; font-size: 22px; }
  .together .priority p { grid-column: 1 / -1; margin-top: 12px; font-size: 16px; }
}

/* ===== Join form ===== */
.join { background: var(--purple-deep); color: #fff; }
.join .split { align-items: start; }
.join .split-text p { color: #cfc2e2; }
.join-photo { margin-top: 32px; border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; object-position: center 25%; width: 100%; }
/* Sign-up form: bold outlined style (inspired by a Uiverse.io form), in campaign colors */
form.signup {
  --main: var(--purple-deep);
  --focus: #8a4bd6;
  background: var(--cream); color: var(--ink);
  border: 2px solid var(--main); border-radius: 6px; padding: 32px;
  box-shadow: 8px 8px var(--orange);
}
form.signup h3 { font-size: 28px; color: var(--purple); margin-bottom: 20px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 15px; font-weight: 700; margin-bottom: 7px; color: var(--main); }
.field label small { font-weight: 500; color: var(--muted); }
.field input, .field select {
  width: 100%; height: 46px; padding: 6px 12px;
  border: 2px solid var(--main); border-radius: 5px; background: #fff;
  box-shadow: 4px 4px var(--main);
  font: 600 16px "Jost", sans-serif; color: var(--ink); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus { border-color: var(--focus); box-shadow: 4px 4px var(--focus); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
fieldset { border: 0; padding: 0; margin: 10px 0 26px; }
legend { font-size: 15px; font-weight: 700; margin-bottom: 12px; color: var(--main); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border: 2px solid var(--main); border-radius: 5px; background: #fff;
  box-shadow: 3px 3px var(--main);
  cursor: pointer; font-size: 16px; font-weight: 600; line-height: 1.3;
  transition: transform .1s, box-shadow .1s, background .15s;
}
.check:last-child:nth-child(odd) { grid-column: 1 / -1; }
.check input { width: 18px; height: 18px; accent-color: var(--purple); flex-shrink: 0; margin: 0; }
.check:has(input:checked) { background: #fff0e2; border-color: var(--main); }
.check:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.check:active { transform: translate(3px, 3px); box-shadow: none; }
form.signup .btn {
  width: 100%; font-size: 18px; padding: 15px;
  border: 2px solid var(--main); border-radius: 5px;
  box-shadow: 4px 4px var(--main);
}
form.signup .btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px var(--main); }
form.signup .btn:active { transform: translate(4px, 4px); box-shadow: none; }
form.signup .btn:focus-visible { outline-color: var(--focus); }
.form-note { font-size: 14px; color: var(--muted); text-align: center; margin: 16px 0 0; }
.form-error { display: none; color: #b42318; font-size: 15px; font-weight: 600; margin: 0 0 12px; }
/* After signing up: purple "Thank you! :)" button */
form.signup.sent .btn,
form.signup.sent .btn:hover {
  background: #8a4bd6; color: #fff; cursor: default;
  transform: none; box-shadow: 4px 4px var(--main);
}
form.signup.sent .form-note { color: var(--purple); font-weight: 600; }
form.signup .field input:disabled, form.signup .field select:disabled { background: #f4effa; color: var(--ink); }
@media (max-width: 560px) {
  form.signup { padding: 24px 18px; box-shadow: 6px 6px var(--orange); }
  .row2, .checks { grid-template-columns: 1fr; }
}

/* ===== Closing / footer ===== */
.closing { background: var(--purple); color: #fff; text-align: center; padding: 88px 0 56px; }
.closing .vote-art { width: min(560px, 100%); margin: 0 auto 32px; }
.closing .vote-text { font-size: clamp(32px, 5vw, 52px); margin-bottom: 32px; }
.closing .vote-text em { font-style: normal; color: var(--orange); }
.closing .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
footer { background: var(--purple-deep); color: #b9a9d0; text-align: center; padding: 32px 0 40px; font-size: 15px; }
footer a { color: var(--blue); }
.paid-for {
  display: inline-block; margin-top: 16px; padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.3); color: #e6dcf3; font-size: 14px;
}
.disclaimer { max-width: 46em; margin: 14px auto 0; font-size: 13px; line-height: 1.55; color: #a898c0; }

.policy-link {
  display: inline-block; margin-top: 10px; padding: 2px 4px;
  font: 500 13px/1.4 "Jost", sans-serif; color: #a898c0; text-decoration: underline;
}
.policy-link:hover { color: var(--orange); }

/* Privacy policy page */
.policy-page { max-width: 760px; margin: 0 auto; }
.policy-page h2 { font-size: 26px; color: var(--purple); margin: 34px 0 8px; }
.policy-page h2:first-child { margin-top: 0; }
.policy-page p { font-size: 18px; line-height: 1.65; color: var(--ink); }
.policy-page a { color: var(--purple-soft); font-weight: 600; }


/* ===== News page ===== */
.page-head { background: var(--purple); color: #fff; padding: 72px 0 64px; }
.page-head h1 { font-size: clamp(38px, 5.6vw, 60px); }
.page-head h1 em { font-style: normal; color: var(--orange); }
.page-head p { color: #ddd0ee; font-size: 20px; max-width: 36em; margin: 0; }
.news-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter {
  font: 500 15px/1 "Jost", sans-serif; padding: 10px 18px; border-radius: 4px; cursor: pointer;
  border: 1.5px solid #d9cfe6; background: #fff; color: var(--ink);
}
.filter[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); color: #fff; }
.news-list { display: grid; gap: 18px; }
.news-item {
  display: block; background: #fff; border-radius: var(--radius); padding: 28px 30px;
  text-decoration: none; border: 1.5px solid transparent; transition: border-color .15s ease, transform .15s ease;
}
a.news-item:hover { border-color: var(--orange); transform: translateY(-2px); }
/* Outlet / campaign logo on the left of each news card */
.news-item:has(.news-logo) { display: grid; grid-template-columns: 64px 1fr; column-gap: 22px; align-items: start; }
.news-item > :not(.news-logo) { grid-column: 2; }
.news-logo { grid-column: 1; grid-row: 1 / span 6; width: 64px; height: 64px; border-radius: 12px; object-fit: cover; box-shadow: 0 0 0 1px rgba(36,16,64,.08); }
.news-logo.campaign { background: var(--purple-deep); object-fit: contain; padding: 6px; }
@media (max-width: 560px) {
  .news-item:has(.news-logo) { grid-template-columns: 48px 1fr; column-gap: 14px; }
  .news-logo { width: 48px; height: 48px; border-radius: 10px; }
}
.news-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.tag {
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: #fff0e2; color: #a35716;
}
.tag.press { background: #e9e0f5; color: var(--purple); }
.tag.podcast { background: #e3ecf6; color: #2f5b88; }
.news-item h3 { font-size: 24px; color: var(--purple); margin-bottom: .35em; }
.news-item p { color: var(--muted); margin: 0; }
.news-link { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 16px; color: var(--orange-dark); }
.news-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.news-links .news-link { text-decoration: none; }
.news-links .news-link:hover { text-decoration: underline; }
.news-empty { background: #fff; border-radius: var(--radius); padding: 48px 30px; text-align: center; color: var(--muted); }
.news-empty strong { display: block; font-family: "Jost", sans-serif; font-weight: 700; font-size: 24px; color: var(--purple); margin-bottom: 6px; }
.press-box { background: var(--purple-deep); color: #fff; border-radius: var(--radius); padding: 30px; position: sticky; top: 100px; }
.press-box h3 { font-size: 24px; }
.press-box p { color: #cfc2e2; font-size: 16px; }
.press-box a { color: var(--orange); font-weight: 600; word-break: break-word; }
@media (max-width: 860px) {
  .news-layout { grid-template-columns: 1fr; }
  .press-box { position: static; }
  .news-item { padding: 22px 20px; }
}

/* ===== Resources page ===== */
.resource-list { display: grid; gap: 28px; }
.resource {
  display: grid; grid-template-columns: 340px 1fr; overflow: hidden;
  background: #fff; border: 2px solid var(--purple-deep); border-radius: 6px;
  box-shadow: 8px 8px var(--orange);
}
.resource-logo {
  display: flex; align-items: center; justify-content: center; padding: 36px;
  background: var(--purple-deep);
}
.resource-logo img { width: 100%; max-width: 280px; height: auto; }
.resource-logo.light { background: var(--cream); border-right: 2px solid var(--purple-deep); padding: 24px; }
.resource-logo.light img { max-width: 400px; }
.resource-places {
  margin: 20px 0 26px; padding: 14px 18px; border-left: 4px solid var(--orange);
  background: var(--cream); border-radius: 0 6px 6px 0;
}
.places-label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-dark); }
.resource-places ul { list-style: none; margin: 0; padding: 0; }
.resource-places li { padding: 5px 0; font-size: 16px; color: var(--ink); line-height: 1.4; }
.resource-places li + li { border-top: 1px solid #ebe2d6; }
.resource-places strong { color: var(--purple); margin-right: 6px; }
.resource-places small { color: var(--muted); font-size: 14px; }
.resource-body { padding: 36px; }
.resource-body h2 { font-size: clamp(26px, 3.4vw, 34px); color: var(--purple); }
.resource-body p { color: var(--muted); font-size: 18px; }
.resource-hotline {
  margin: 20px 0 26px; padding: 14px 18px; border-left: 4px solid var(--orange);
  background: var(--cream); border-radius: 0 6px 6px 0;
}
.resource-hotline span { display: block; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-dark); }
.resource-hotline a { font-family: "Jost", sans-serif; font-size: 22px; font-weight: 700; color: var(--purple); text-decoration: none; }
.resource-hotline a:hover { text-decoration: underline; }
.resource-hotline .email { display: block; margin-top: 2px; font-family: "Jost", sans-serif; font-size: 16px; font-weight: 600; color: var(--purple-soft); word-break: break-word; }
.resource-hotline .address { margin-top: 2px; font-family: "Jost", sans-serif; font-size: 16px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.resource-logo img.small-logo { max-width: 240px; }
.resource-hotline small { font-family: "Jost", sans-serif; font-size: 16px; font-weight: 500; color: var(--muted); }
.resource-doc {
  display: flex; align-items: center; gap: 14px; margin: 0 0 26px; padding: 14px 16px;
  background: #fff; border: 2px solid var(--purple-deep); border-radius: 6px;
  box-shadow: 4px 4px var(--purple-deep); text-decoration: none; color: var(--ink);
  transition: transform .15s, box-shadow .15s;
}
.resource-doc:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px var(--purple-deep); }
.resource-doc:active { transform: translate(4px, 4px); box-shadow: none; }
.resource-doc:focus-visible { outline: 2px solid #8a4bd6; outline-offset: 3px; }
.doc-icon {
  flex-shrink: 0; width: 46px; height: 54px; display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 8px; border-radius: 4px; background: var(--orange); color: var(--purple-deep);
  font-size: 13px; font-weight: 700; letter-spacing: .06em;
  clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%);
}
.doc-text { flex: 1; min-width: 0; }
.doc-text strong { display: block; font-size: 17px; line-height: 1.3; color: var(--purple); }
.doc-text small { font-size: 14px; color: var(--muted); }
.doc-arrow { font-size: 20px; font-weight: 700; color: var(--orange-dark); }
@media (max-width: 760px) {
  .resource { grid-template-columns: 1fr; box-shadow: 6px 6px var(--orange); }
  .resource-logo { padding: 28px; }
  .resource-logo.light { border-right: 0; border-bottom: 2px solid var(--purple-deep); }
  .resource-body { padding: 26px 20px; }
  .resource-body .btn { width: 100%; }
}

/* ===== Fundraiser popup ===== */
.promo {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; padding: 16px;
  background: rgba(20, 8, 38, .78); backdrop-filter: blur(4px);
}
.promo.open { display: flex; animation: promo-fade .3s ease; }
.promo-box {
  position: relative; width: min(460px, 100%); max-height: calc(100dvh - 32px);
  display: flex; flex-direction: column; background: var(--purple-deep);
  border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5);
  animation: promo-pop .35s cubic-bezier(.22,.61,.36,1);
}
.promo-box > a { flex: 1; min-height: 0; overflow-y: auto; }
.promo-box img { width: 100%; height: auto; }
.promo-actions { display: flex; gap: 10px; padding: 14px; background: var(--purple-deep); }
.promo-actions .btn { flex: 1; padding: 14px 12px; }
.promo-close {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.95); color: var(--purple-deep); font-size: 24px; line-height: 1;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
@keyframes promo-fade { from { opacity: 0; } }
@keyframes promo-pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }

/* Gentle fade-in on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .news-item { transition: none; }
  .btn:hover { transform: none; }
  .promo.open, .promo-box { animation: none; }
  .slice, .slice::after, .slice > .text, .dock-icon, .navlinks a, .navlinks a > span, .priority { transition: none; }
  .priority:hover { transform: none; }
}

/* Texting consent under the phone field */
.signup .consent-note { margin: -6px 0 18px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.signup .consent-note a { color: var(--purple-soft); font-weight: 600; }

/* Spam trap on the sign-up form: kept off-screen so people never see it */
.signup .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
