:root {
  --bg: #f4efe7;
  --surface: rgba(255, 249, 240, 0.88);
  --surface-strong: #fffaf3;
  --ink: #17231e;
  --muted: #47564d;
  --accent: #d85c3d;
  --accent-dark: #9f3821;
  --action: #b4432c;
  --accent-soft: #efc6a3;
  --line: rgba(23, 35, 30, 0.1);
  --shadow: 0 12px 36px rgba(60, 43, 20, 0.08);
  --section-space: clamp(6rem, 10vw, 9rem);
  --heading-space: clamp(2rem, 4vw, 3.5rem);
  --content-gap: 1.5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id],
.site-footer[id] {
  scroll-margin-top: 8rem;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(239, 198, 163, 0.9), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(216, 92, 61, 0.18), transparent 20%),
    linear-gradient(180deg, #f7f1e9 0%, #f1ebe1 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(23, 35, 30, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 35, 30, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
}

.page-shell {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 1.25rem 0 3rem;
}

.site-header,
.hero-visual,
.profile-card,
.issue-card,
.agenda-panel,
.agenda-list,
.event-card,
.voice-card,
.support-card,
.donation-section {
  backdrop-filter: blur(18px);
}

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 250, 243, 0.88);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: inherit;
  text-decoration: none;
}



.brand-copy {
  display: grid;
  gap: 0.2rem;
}

.brand-copy strong {
  font-size: 1.12rem;
  letter-spacing: -0.025em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  color: var(--ink);
  text-decoration: none;
  text-underline-offset: 0.4em;
  font-size: 0.96rem;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--accent-dark);
  outline-offset: 5px;
}

.donation-label-short {
  display: none;
}

.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--action);
  color: white;
  text-decoration: none;
  text-align: center;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 8px 22px rgba(216, 92, 61, 0.14);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background: var(--accent-dark);
}

.button-small {
  min-height: 2.75rem;
  padding: 0.75rem 1.1rem;
  font-size: 0.9rem;
}

.button-secondary {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
  box-shadow: none;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: #2f4238;
  border-color: #2f4238;
  color: white;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding: 2rem 0 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: clamp(1.5rem, 4vw, 3.5rem) 0 2rem;
  animation: hero-copy-in 720ms cubic-bezier(.2,.75,.25,1) both;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--accent-dark);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  overflow-wrap: break-word;
}

h1,
h2 {
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 12ch;
  margin-top: 1.5rem;
  font-size: clamp(3.2rem, 5.5vw, 4.8rem);
}

h2 {
  max-width: 26ch;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.hero-text,
.profile-card p,
.agenda-panel p,
.cta-copy p,
.trust-band p,
.site-footer p,
.issue-card p,
.event-card p,
.voice-card p,
.support-card p,
.agenda-list p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-statement {
  max-width: 36ch;
  margin: 2rem 0 0;
  color: var(--ink);
  font-size: clamp(1.12rem, 1.5vw, 1.25rem);
  line-height: 1.6;
}

.hero-text {
  max-width: 60ch;
  margin: 1.25rem 0 0;
  font-size: 1.06rem;
}

.hero-subtext {
  margin: 1rem 0 0;
  color: var(--ink);
  font-weight: 500;
}

.quote-mark {
  color: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2.5rem 0 2rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.hero-points li {
  padding: 0;
  background: transparent;
}

.hero-points li:not(:last-child)::after {
  content: "·";
  margin-left: 1rem;
  color: var(--accent-dark);
}

.hero-visual {
  position: relative;
  min-width: 0;
  height: clamp(36rem, calc(100svh - 9rem), 46rem);
  margin: 0;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 14% 4% 1% 9%;
  border-radius: 50% 50% 0 0;
  background: radial-gradient(ellipse at 50% 48%, rgba(239, 198, 163, 0.6), rgba(239, 198, 163, 0.2) 53%, transparent 73%);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: right bottom;
  mask-image: linear-gradient(to bottom, #000 87%, transparent 100%);
  animation: hero-image-in 900ms cubic-bezier(.2,.75,.25,1) both;
  transition: transform 700ms cubic-bezier(.2,.75,.25,1);
}

.hero-visual:hover img {
  transform: translateY(-6px);
}

@keyframes hero-copy-in {
  from { opacity: 0; transform: translateX(-28px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes hero-image-in {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.trust-band {
  margin: 0;
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  border-block: 1px solid rgba(23, 35, 30, 0.16);
}

.trust-band p {
  max-width: 46ch;
  margin: 0 auto;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.45rem, 2.65vw, 2rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  text-align: center;
}

.section-heading {
  display: grid;
  gap: 1.25rem;
  margin-bottom: var(--heading-space);
}

.issues,
.profile,
.agenda,
.voices,
.events,
.cta {
  margin-top: var(--section-space);
}

.profile-grid,
.event-list,
.voice-grid,
.support-grid {
  display: grid;
  gap: 1.5rem;
}

.profile-grid,
.voice-grid,
.support-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.voice-marquee {
  position: relative;
  display: flex;
  gap: 1.6rem;
  overflow: hidden;
  margin: -0.4rem 0 1.6rem;
  padding: 1.1rem 0;
  border-block: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.voice-marquee-track {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 1.6rem;
  min-width: max-content;
  animation: voice-marquee 30s linear infinite;
}

.voice-marquee span {
  color: var(--ink);
  font-size: clamp(1rem, 2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.voice-marquee span::after {
  content: "|";
  margin-left: 1.6rem;
  color: var(--accent-dark);
}

@keyframes voice-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-100% - 1.6rem));
  }
}

.event-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 4rem;
}

.profile-card,
.issue-card,
.event-card,
.voice-card,
.support-card {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 251, 245, 0.78);
  transition: transform 500ms ease, opacity 500ms ease;
}

.reveal-pending:not(.visible) {
  transform: translateY(16px);
  opacity: 0;
}

.profile-card.visible,
.issue-card.visible,
.event-card.visible,
.voice-card.visible,
.agenda-panel.visible,
.agenda-list.visible,
.support-card.visible {
  transform: translateY(0);
  opacity: 1;
}

.profile-label,
.voice-label,
.support-label {
  margin: 0 0 0.8rem;
  color: var(--accent-dark);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-card h3,
.voice-card h3,
.support-card h3,
.donation-title {
  margin-bottom: 1.25rem;
  font-size: 1.45rem;
  line-height: 1.25;
}

.voice-card {
  overflow: hidden;
  background: rgba(255, 250, 243, 0.82);
}

.voice-portrait {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 280px;
  margin: -1.4rem -1.4rem 1.35rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 250, 243, 0.52), transparent 26%),
    linear-gradient(145deg, rgba(216, 92, 61, 0.82), rgba(239, 198, 163, 0.92));
}

.voice-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.voice-portrait .voice-image-dietrich {
  object-position: center 16%;
}

.voice-portrait .voice-image-stefanie {
  object-position: center 10%;
}

.voice-portrait .voice-image-benjamin {
  object-position: 58% 24%;
}

.voice-portrait span {
  display: grid;
  place-items: center;
  width: 6.2rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 250, 243, 0.78);
  color: var(--accent-dark);
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  box-shadow: 0 16px 40px rgba(60, 43, 20, 0.12);
}

.issue-card span,
.event-date {
  color: var(--accent-dark);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.issue-card h3 {
  max-width: 30ch;
  margin: 0 0 1.25rem;
  font-size: 1.45rem;
  line-height: 1.25;
}

.event-card h3 {
  margin: 0.8rem 0;
  font-size: 1.45rem;
}

.accent-card {
  background: linear-gradient(160deg, rgba(216, 92, 61, 0.95), rgba(163, 65, 37, 0.92));
  color: white;
}

.accent-card span,
.accent-card p {
  color: rgba(255, 255, 255, 0.88);
}

.agenda {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.agenda-panel,
.agenda-list {
  padding: 2.25rem;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 250, 243, 0.8);
  transition: transform 500ms ease, opacity 500ms ease;
}

.agenda-list {
  display: grid;
  align-content: stretch;
  gap: 2rem;
}

.agenda-list div {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.agenda-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.agenda-list strong {
  display: inline-block;
  font-size: 1.3rem;
  line-height: 1.3;
}

.cta {
  display: grid;
  gap: var(--heading-space);
  grid-template-columns: 1fr;
  align-items: start;
}

.cta-copy {
  max-width: 54rem;
}

.support-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.support-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 2rem;
  background: rgba(255, 250, 243, 0.84);
  box-shadow: var(--shadow);
}

.support-card .button {
  margin-top: 1.5rem;
}

.donation-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  margin: var(--section-space) 0 1rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 250, 243, 0.84);
}

.footer-photo {
  position: relative;
  min-height: 38rem;
}

.footer-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.footer-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(2rem, 5vw, 4rem);
}

.footer-details .eyebrow {
  margin-bottom: 1.5rem;
}

.footer-donations {
  margin-bottom: 1.5rem;
}

.footer-donations .eyebrow {
  margin-bottom: 0.8rem;
}

.footer-donations p {
  margin-bottom: 0.35rem;
}

.footer-bank-code {
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.footer-purpose {
  margin-top: 0.9rem;
}


.donation-title {
  color: var(--accent-dark);
  font-family: inherit;
  font-weight: 700;
  letter-spacing: normal;
}

.footer-details .footer-donations p {
  margin-bottom: 0.5rem;
}

.donation-button {
  align-self: flex-start;
}

.footer-details .donation-receipt {
  margin: 1.5rem 0 0;
  max-width: 55ch;
  font-size: 0.875rem;
  line-height: 1.75;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3rem;
  padding: 2rem 0 0;
  border-top: 1px solid var(--line);
}

.footer-contact-copy {
  min-width: 0;
}

.footer-contact-copy .eyebrow {
  margin-bottom: 1rem;
}

.footer-contact-copy p:not(.eyebrow) {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.footer-email,
.footer-legal-link {
  color: var(--muted);
  text-underline-offset: 0.25em;
  overflow-wrap: anywhere;
}

.footer-links {
  display: grid;
  gap: 1rem;
  justify-items: end;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-social .button {
  min-height: 2.75rem;
  padding: 0.7rem 1.1rem;
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .site-footer {
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .footer-links {
    width: 100%;
    justify-items: start;
  }

  .footer-social {
    width: 100%;
  }


}

.legal-page {
  margin: 3rem 0 5rem;
}

.legal-card {
  max-width: 60ch;
  padding: 1.8rem 2rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 243, 0.84);
  box-shadow: var(--shadow);
}

.legal-card h2 {
  margin: 1.8rem 0 0.6rem;
  font-size: 1.15rem;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.6;
}

.footer-details p {
  margin: 0 0 1.25rem;
  overflow-wrap: anywhere;
}

.footer-details a {
  color: var(--ink);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

.profile-intro {
  max-width: 60ch;
  margin: calc(var(--heading-space) * -0.4) 0 3rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.profile-card > p:not(.profile-label) {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.7;
}

.issue-list {
  max-width: 72ch;
  margin: 0;
  padding-left: 1.5rem;
  list-style: disc;
}

.issue-item {
  padding-left: 0.5rem;
}

.issue-item + .issue-item {
  margin-top: 1.75rem;
}

.issue-item::marker {
  color: var(--accent-dark);
}

.issue-item p {
  margin: 0;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.75;
}

.issue-item strong {
  color: var(--ink);
  font-weight: 700;
}

.agenda-panel h2 {
  margin: 1.25rem 0 2rem;
}

.agenda-panel p,
.agenda-list p,
.cta-copy > p:not(.eyebrow),
.support-card > p:not(.support-label) {
  margin: 1rem 0 0;
  font-size: 1.08rem;
  line-height: 1.7;
}

.cta-copy h2 {
  margin: 1.25rem 0 1.5rem;
}

.support-card h3 {
  margin: 0.5rem 0 0;
}

@media (max-width: 980px) {
  section[id] {
    scroll-margin-top: 11rem;
  }

  .site-header {
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: clamp(1rem, 5vw, 3rem);
  }

  .hero {
    gap: 1.5rem;
    padding-top: 1.5rem;
  }

  .hero-copy {
    padding-top: 2rem;
  }

  h1 {
    font-size: clamp(2.8rem, 6vw, 4rem);
  }

  .hero-visual {
    height: 36rem;
  }

  .profile-grid,
  .support-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-details {
    padding: 2rem;
  }
}

@media (max-width: 720px) {
  :root {
    --section-space: 4.5rem;
    --heading-space: 2rem;
  }

  .page-shell {
    width: calc(100% - 2.5rem);
    padding-top: 0.75rem;
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    top: 0.5rem;
    padding: 0.6rem 0.85rem;
    gap: 0.25rem 0.5rem;
    border-radius: 18px;
  }

  .brand,
  .brand-copy {
    min-width: 0;
  }

  .brand-copy strong {
    font-size: 1rem;
  }

  .brand-copy span {
    font-size: 0.78rem;
  }

  .donation-label-long {
    display: none;
  }

  .donation-label-short {
    display: inline;
  }

  .button-small {
    padding: 0.65rem 0.85rem;
    font-size: 0.85rem;
  }

  .site-nav {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 0.4rem;
  }

  .site-nav a {
    font-size: 0.83rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-top: 2rem;
  }

  .hero-copy {
    display: contents;
    animation: none;
  }

  .hero .eyebrow {
    order: 0;
  }

  .hero h1 {
    order: 1;
    max-width: 14ch;
    margin: 1rem 0 0;
    font-size: clamp(2.7rem, 11.5vw, 4.2rem);
  }

  .hero-visual {
    order: 2;
    height: clamp(16rem, 32svh, 20rem);
    margin: 1.5rem 0 0;
  }

  .hero-visual img {
    object-position: center bottom;
  }

  .hero-statement {
    order: 3;
    max-width: 36ch;
    margin-top: 1.5rem;
    font-size: 1.05rem;
  }

  .hero-actions {
    order: 4;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.75rem 0 1.5rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-points {
    order: 5;
    gap: 0.5rem 0.7rem;
    font-size: 0.85rem;
    padding-bottom: 2.5rem;
  }

  .hero-points li:not(:last-child)::after {
    margin-left: 0.7rem;
  }

  h2 {
    font-size: clamp(2rem, 8.5vw, 2.8rem);
  }

  .trust-band {
    padding-block: 2rem;
  }

  .trust-band p {
    text-align: left;
  }

  .profile-intro {
    margin: -0.5rem 0 2rem;
    font-size: 1rem;
  }

  .profile-grid,
  .agenda,
  .support-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-card,
  .agenda-panel,
  .agenda-list {
    padding: 1.75rem;
    border-radius: 24px;
  }

  .profile-card h3,
  .support-card h3,
  .donation-title {
    font-size: 1.35rem;
  }

  .profile-card > p:not(.profile-label),
  .issue-item p,
  .agenda-panel p,
  .agenda-list p,
  .cta-copy > p:not(.eyebrow),
  .support-card > p:not(.support-label) {
    font-size: 1rem;
  }

  .agenda {
    gap: 1.25rem;
  }

  .agenda-panel h2 {
    margin-bottom: 1.5rem;
  }

  .support-grid {
    gap: 1.25rem;
  }

  .support-card {
    padding: 1.75rem;
    border-radius: 22px;
  }

  .support-card .button {
    width: 100%;
  }

  .donation-section {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 24px;
  }

  .footer-photo {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .footer-photo img {
    object-position: center 24%;
  }

  .footer-details {
    padding: 2rem 1.5rem;
    font-size: 1rem;
  }

  .footer-bank-code {
    font-size: 0.94rem;
  }

  .legal-card {
    padding: 1.5rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .voice-marquee {
    overflow-x: auto;
    mask-image: none;
  }
}


/* Newsletter dialog */
.newsletter-dialog {
  width: min(62rem, calc(100% - 1rem));
  max-height: min(90dvh, 56rem);
  padding: 0;
  border: 0;
  border-radius: 32px;
  background: var(--surface-strong);
  color: var(--ink);
  box-shadow: 0 34px 100px rgba(23, 35, 30, 0.28);
  overflow: auto;
}

.newsletter-dialog::backdrop {
  background: rgba(23, 35, 30, 0.56);
  backdrop-filter: blur(10px);
}

.newsletter-dialog[open] {
  animation: newsletter-dialog-in 260ms cubic-bezier(.2, .75, .25, 1) both;
}

@keyframes newsletter-dialog-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.newsletter-dialog__surface {
  position: relative;
  display: grid;
  grid-template-columns: minmax(17rem, 0.82fr) minmax(0, 1.18fr);
  min-height: 34rem;
}

.newsletter-dialog__close {
  position: absolute;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(23, 35, 30, 0.12);
  border-radius: 50%;
  background: rgba(255, 250, 243, 0.9);
  color: var(--ink);
  font: inherit;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.newsletter-dialog__close:hover,
.newsletter-dialog__close:focus-visible {
  transform: scale(1.05);
  background: white;
}

.newsletter-dialog__intro {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: clamp(2rem, 5vw, 4rem);
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.3), transparent 30%),
    linear-gradient(150deg, var(--accent), var(--accent-dark));
  color: white;
}

.newsletter-dialog__intro .eyebrow,
.newsletter-dialog__intro p {
  color: rgba(255, 255, 255, 0.86);
}

.newsletter-dialog__intro h2 {
  max-width: 9ch;
  margin-bottom: 1.2rem;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
}

.newsletter-dialog__intro p {
  max-width: 31ch;
  margin: 0;
  line-height: 1.65;
}

.newsletter-form-panel {
  display: grid;
  align-content: center;
  padding: clamp(3.5rem, 6vw, 5rem) clamp(1.35rem, 5vw, 4rem) clamp(2rem, 5vw, 4rem);
}

.newsletter-form.sib-form {
  padding: 0;
  background: transparent;
  text-align: left;
}

.newsletter-form .sib-form-container,
#sib-container.newsletter-form-container {
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.newsletter-form-copy {
  margin: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.6;
}

.newsletter-fields {
  display: grid;
  gap: 1rem;
}

.newsletter-field {
  display: grid;
  gap: 0.45rem;
}

.newsletter-field label {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.newsletter-field .entry__field {
  padding: 0;
  border: 0;
  background: transparent;
}

.newsletter-field input {
  width: 100%;
  min-height: 3.35rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(23, 35, 30, 0.16);
  border-radius: 16px;
  outline: none;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.newsletter-field input::placeholder {
  color: rgba(95, 109, 101, 0.72);
}

.newsletter-field input:focus {
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 4px rgba(216, 92, 61, 0.13);
}

.newsletter-field .entry__error {
  min-height: 0;
  color: #8f2d1b;
  font-size: 0.82rem;
}

.newsletter-submit {
  width: 100%;
  margin-top: 1.35rem;
}

.newsletter-submit .progress-indicator__icon {
  width: 1rem;
  margin-right: 0.5rem;
  fill: currentColor;
}

.newsletter-privacy {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.newsletter-message {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.newsletter-message .sib-form-message-panel__text {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.newsletter-message .sib-notification__icon {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.newsletter-message--error {
  border-color: rgba(159, 56, 33, 0.22);
  background: rgba(216, 92, 61, 0.1);
  color: #7b2a18;
}

.newsletter-message--success {
  border-color: rgba(40, 112, 74, 0.22);
  background: rgba(40, 112, 74, 0.1);
  color: #205c3d;
}

.newsletter-form .input--hidden {
  display: none;
}

@media (max-width: 720px) {
  .newsletter-dialog {
    width: min(100% - 0.75rem, 34rem);
    max-height: calc(100dvh - 0.75rem);
    border-radius: 26px;
  }

  .newsletter-dialog__surface {
    grid-template-columns: 1fr;
  }

  .newsletter-dialog__intro {
    min-height: 16rem;
    padding: 4rem 1.35rem 1.75rem;
  }

  .newsletter-dialog__intro h2 {
    max-width: 11ch;
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .newsletter-form-panel {
    padding: 1.5rem 1.15rem 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .newsletter-dialog[open] {
    animation: none;
  }
}


#sib-container.newsletter-form-container .newsletter-field input {
  width: 100%;
  min-height: 3.35rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(23, 35, 30, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font: inherit;
}

#sib-container.newsletter-form-container .newsletter-field input:focus {
  border-color: var(--accent);
  outline: none;
  background: white;
  box-shadow: 0 0 0 4px rgba(216, 92, 61, 0.13);
}


.footer-details .donation-note {
  max-width: 55ch;
  margin: 1rem 0 0;
  font-size: 0.875rem;
  line-height: 1.75;
}

.footer-social .button {
  flex: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border-radius: 50%;
  background: #17231e;
  color: white;
}

.footer-social svg { width: 1.3rem; height: 1.3rem; }
.menu-toggle { display: none; }
.site-header > .site-nav { order: 1; }
.site-header > .button-small { order: 2; }

@media (max-width: 980px) {
  .site-header[data-menu-ready] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.5rem;
  }

  .site-header[data-menu-ready] > .button-small { grid-column: 2; grid-row: 1; }

  .site-header[data-menu-ready] .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-column: 3;
    grid-row: 1;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }

  .menu-toggle svg { width: 1.4rem; height: 1.4rem; }
  .menu-toggle path { transform-origin: center; transition: transform 180ms ease; }
  .menu-toggle[aria-expanded="true"] .menu-line-top { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-line-bottom { transform: translateY(-4px) rotate(-45deg); }

  .site-header[data-menu-ready] .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    inset-inline: 0;
    width: auto;
    padding: 0.65rem;
    gap: 0.15rem;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fffaf3;
    box-shadow: var(--shadow);
  }

  .site-header[data-menu-open] .site-nav { display: grid; }
  .site-header[data-menu-ready] .site-nav a {
    justify-content: flex-start;
    min-height: 3rem;
    padding: 0.65rem 1rem;
    border-radius: 12px;
    font-size: 1rem;
  }
  .site-header[data-menu-ready] .site-nav a:hover,
  .site-header[data-menu-ready] .site-nav a:focus-visible { background: rgba(216, 92, 61, 0.08); }
  section[id], .site-footer[id] { scroll-margin-top: 7rem; }
}

@media (max-width: 420px) {
  .site-header[data-menu-ready] { padding-inline: 0.65rem; gap: 0.35rem; }
  .site-header[data-menu-ready] .brand-copy strong { font-size: 0.875rem; line-height: 1.25; }
  .site-header[data-menu-ready] .brand-copy span { font-size: 0.7rem; }
  .site-header[data-menu-ready] .button-small { padding-inline: 0.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .menu-toggle path { transition: none; }
}

/* Campaign signature notice: first visible page content, above the navigation. */
.signature-banner {
  margin: 0;
  padding: clamp(1rem, 2vw, 1.4rem) 0;
  background: #1d4ed8;
  color: var(--surface-strong);
  overflow-wrap: anywhere;
}

.signature-banner__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 2rem;
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}

.signature-banner__copy {
  min-width: 0;
}

.signature-banner .signature-banner__title {
  margin: 0;
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
}

.signature-banner .signature-banner__text {
  max-width: 72ch;
  margin: 0.35rem 0 0;
  color: inherit;
  font-size: 0.95rem;
  line-height: 1.5;
}

.signature-banner .signature-banner__action {
  gap: 0.6rem;
  min-width: 0;
  max-width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1.2rem;
  background: var(--surface-strong);
  color: var(--ink);
  box-shadow: none;
}

.signature-banner .signature-banner__action:hover,
.signature-banner .signature-banner__action:focus-visible {
  background: #fff;
  color: var(--ink);
}

.signature-banner .signature-banner__action:focus-visible {
  outline-color: var(--surface-strong);
  outline-offset: 4px;
}

@media (max-width: 720px) {
  .signature-banner__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    width: calc(100% - 2.5rem);
  }

  .signature-banner .signature-banner__title {
    font-size: 1.05rem;
  }

  .signature-banner .signature-banner__action {
    display: block;
    justify-self: stretch;
    padding-inline: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .signature-banner .signature-banner__action {
    transition: none;
    transform: none;
  }
}

.profile-memberships {
  margin: 1.35rem 0 0;
  line-height: 1.6;
}

.profile-memberships a {
  display: inline-block;
  padding: .5rem 0;
  color: var(--accent-dark);
  font-weight: 700;
  text-underline-offset: .2em;
  overflow-wrap: anywhere;
}

.profile-memberships-action {
  white-space: nowrap;
}

.profile-memberships a:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 4px;
}

.membership-ticker {
  margin-top: clamp(1.75rem, 4vw, 3rem);
}

.membership-ticker-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 1rem;
  margin-bottom: .4rem;
}

.membership-ticker-heading h3 {
  flex: 1 1 8rem;
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
}

.membership-ticker-toggle {
  flex: 0 0 auto;
  min-height: 44px;
  min-width: 6.5rem;
  padding: .3rem .6rem;
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  font: inherit;
  font-size: .9rem;
  text-align: right;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}

.membership-ticker-toggle:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 2px;
}

.membership-ticker-names {
  border-block: 1px solid var(--line);
}

.membership-ticker-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.25rem;
  row-gap: .55rem;
  margin: 0;
  padding: .95rem 0;
  list-style: none;
}

.membership-ticker-list[data-ticker-copy] {
  display: none;
}

.membership-ticker-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--ink);
  font-size: clamp(1rem, 1.6vw, 1.23rem);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.membership-ticker-list li:not(:last-child)::after {
  content: "";
  flex: 0 0 .32rem;
  height: .32rem;
  border-radius: 50%;
  background: var(--accent-dark);
}

@media (prefers-reduced-motion: no-preference) {
  .membership-ticker[data-ticker-ready] .membership-ticker-names {
    display: flex;
    overflow: hidden;
  }

  .membership-ticker[data-ticker-ready] .membership-ticker-list {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    min-width: 100%;
    column-gap: 0;
    animation: membership-ticker-scroll 46s linear infinite;
  }

  .membership-ticker[data-ticker-ready] .membership-ticker-list li {
    /* Equal spacing on both sides places the dot at the boundary between names. */
    position: relative;
    flex: 1 0 auto;
    justify-content: center;
    padding-inline: clamp(.625rem, 2vw, 1.75rem);
    white-space: nowrap;
  }

  .membership-ticker[data-ticker-ready] .membership-ticker-list li::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: .32rem;
    height: .32rem;
    transform: translate(50%, -50%);
    border-radius: 50%;
    background: var(--accent-dark);
  }

  .membership-ticker[data-ticker-paused] .membership-ticker-list {
    animation-play-state: paused;
  }
}

@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .membership-ticker[data-ticker-ready] .membership-ticker-list {
    animation-duration: 30s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .membership-ticker-toggle {
    display: none;
  }
}

@keyframes membership-ticker-scroll {
  to {
    transform: translateX(-100%);
  }
}
