:root {
  --ink: #141414;
  --paper: #fff8ec;
  --paper-deep: #f6e6cc;
  --blue: #173e7a;
  --blue-dark: #09254f;
  --lake: #2aa7b8;
  --red: #d53b2f;
  --gold: #f7b733;
  --green: #1d7d57;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(20, 20, 20, 0.16);
  --radius: 8px;
  --page-max: 1440px;
  --page-pad: clamp(18px, 5vw, 72px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(20, 20, 20, 0.035) 1px, transparent 1px) 0 0 /
      34px 34px,
    linear-gradient(180deg, var(--paper), #fffdf8 42%, var(--paper-deep));
  font-family: "Libre Franklin", "Helvetica Neue", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 14px
    max(var(--page-pad), calc((100vw - var(--page-max)) / 2 + var(--page-pad)));
  border-bottom: 2px solid rgba(20, 20, 20, 0.12);
  background: rgba(255, 248, 236, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 5px 5px 0 var(--gold);
}

.brand strong,
.brand em {
  display: block;
  line-height: 1;
}

.brand em {
  margin-top: 4px;
  color: var(--red);
  font-style: normal;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a {
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  border-color: var(--red);
}

.donate-button,
.primary-action,
.secondary-action,
.signup-card button,
.amounts a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 900;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.donate-button,
.primary-action,
.signup-card button {
  color: var(--white);
  background: var(--red);
  box-shadow: 5px 5px 0 var(--ink);
}

.donate-button {
  padding: 0 20px;
}

.primary-action,
.secondary-action {
  padding: 0 22px;
}

.secondary-action {
  background: var(--white);
  box-shadow: 5px 5px 0 var(--lake);
}

.donate-button:hover,
.primary-action:hover,
.secondary-action:hover,
.signup-card button:hover,
.amounts a:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(46px, 3vw, 112px)
    max(var(--page-pad), calc((100vw - var(--page-max)) / 2 + var(--page-pad)))
    42px;
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 0.98;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(3.6rem, 9vw, 8.7rem);
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 5vw, 5.6rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.32rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 690px;
  margin-bottom: 28px;
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  position: relative;
  isolation: isolate;
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  z-index: -1;
  content: "";
}

.hero-visual::before {
  inset: 32px -22px -26px 38px;
  background: var(--lake);
  border: 3px solid var(--ink);
  border-radius: 46% 54% 50% 50%;
}

.hero-visual::after {
  inset: -20px 28px 28px -22px;
  background: var(--gold);
  border: 3px solid var(--ink);
  border-radius: 50% 50% 45% 55%;
}

.hero-visual img {
  width: min(100%, 470px);
  aspect-ratio: 0.82;
  object-fit: cover;
  object-position: 50% 22%;
  border: 3px solid var(--ink);
  border-radius: 52% 48% 46% 54% / 38% 41% 59% 62%;
  box-shadow: var(--shadow);
  filter: saturate(1.02) contrast(1.02);
}

.photo-card {
  position: absolute;
  width: min(210px, 48%);
  padding: 12px 14px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
}

.photo-card span {
  display: block;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.photo-card strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.12;
}

.photo-card-top {
  right: -18px;
  top: 18%;
}

.photo-card-bottom {
  bottom: 8%;
  left: -28px;
}

.ticker {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 16px
    max(var(--page-pad), calc((100vw - var(--page-max)) / 2 + var(--page-pad)));
  background: var(--blue-dark);
  color: var(--white);
  scrollbar-width: none;
}

.ticker span {
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(58px, 9vw, 118px)
    max(var(--page-pad), calc((100vw - var(--page-max)) / 2 + var(--page-pad)));
}

.intro-text {
  columns: 2 280px;
  column-gap: 34px;
  font-size: 1.05rem;
  font-weight: 600;
}

.intro-text p {
  break-inside: avoid;
}

.life {
  padding: clamp(58px, 8vw, 108px)
    max(var(--page-pad), calc((100vw - var(--page-max)) / 2 + var(--page-pad)));
  background:
    radial-gradient(
      circle at 15% 22%,
      rgba(247, 183, 51, 0.34),
      transparent 24%
    ),
    radial-gradient(
      circle at 88% 14%,
      rgba(42, 167, 184, 0.22),
      transparent 25%
    ),
    var(--white);
  border-block: 3px solid var(--ink);
}

.life-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(270px, 0.55fr);
  gap: clamp(20px, 5vw, 64px);
  align-items: end;
  margin-bottom: 34px;
}

.life-heading p:last-child {
  font-size: 1.08rem;
  font-weight: 700;
}

.life-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.life-card {
  min-height: 320px;
  padding: 22px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--ink);
}

.life-card p {
  margin-bottom: 0;
  font-weight: 650;
}

.life-letter {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  margin-bottom: 22px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.15rem;
  font-weight: 850;
}

.housing {
  background: #f9d9ce;
}

.income {
  background: #d7edff;
}

.food {
  background: #dff0c6;
}

.care {
  background: #ffe7a8;
}

.contrast-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  padding: clamp(60px, 9vw, 116px)
    max(var(--page-pad), calc((100vw - var(--page-max)) / 2 + var(--page-pad)));
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(9, 37, 79, 0.96), rgba(23, 62, 122, 0.92)),
    linear-gradient(
      45deg,
      transparent 0 48%,
      rgba(255, 255, 255, 0.12) 48% 52%,
      transparent 52%
    );
}

.contrast-copy {
  max-width: 920px;
}

.contrast-copy .eyebrow {
  color: var(--gold);
}

.contrast-copy p:last-child {
  max-width: 710px;
  font-size: 1.12rem;
  font-weight: 700;
}

.district-note {
  padding: 24px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.district-note span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 850;
  line-height: 0.9;
}

.district-note p {
  margin-bottom: 0;
  font-weight: 800;
}

.district-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  padding: clamp(58px, 8vw, 108px)
    max(var(--page-pad), calc((100vw - var(--page-max)) / 2 + var(--page-pad)));
  background:
    linear-gradient(90deg, rgba(20, 20, 20, 0.035) 1px, transparent 1px) 0 0 /
      34px 34px,
    var(--paper);
}

.district-proof-copy {
  position: sticky;
  top: 104px;
}

.district-proof-copy p:last-child {
  max-width: 560px;
  font-size: 1.08rem;
  font-weight: 700;
}

.place-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.place-card {
  min-height: 250px;
  padding: 20px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 8px 8px 0 var(--ink);
}

.place-card-large {
  grid-row: span 2;
  background:
    linear-gradient(rgba(23, 62, 122, 0.08), rgba(23, 62, 122, 0.08)), #d7edff;
}

.place-card span,
.action-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 18px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--gold);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 850;
}

.place-card h3,
.action-card h3 {
  max-width: 320px;
  margin-bottom: 12px;
}

.place-card p,
.action-card p {
  margin-bottom: 0;
  font-weight: 700;
}

.events-preview {
  padding: clamp(58px, 8vw, 106px)
    max(var(--page-pad), calc((100vw - var(--page-max)) / 2 + var(--page-pad)));
  background:
    linear-gradient(90deg, rgba(20, 20, 20, 0.035) 1px, transparent 1px) 0 0 /
      34px 34px,
    var(--paper);
}

.events-preview-heading {
  display: flex;
  gap: 22px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 30px;
}

.events-preview-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.events-preview-actions,
.event-rail-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.events-preview-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.event-rail-button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
}

.event-rail-button:hover,
.event-rail-button:focus-visible {
  background: var(--gold);
}

.event-rail-button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
}

.event-list {
  display: grid;
  gap: 16px;
}

.event-rail {
  display: flex;
  gap: 18px;
  margin-inline: calc(
    max(
        var(--page-pad),
        calc((100vw - var(--page-max)) / 2 + var(--page-pad))
      ) *
      -1
  );
  overflow-x: auto;
  padding: 4px
    max(var(--page-pad), calc((100vw - var(--page-max)) / 2 + var(--page-pad)))
    28px;
  scroll-padding-inline: max(
    var(--page-pad),
    calc((100vw - var(--page-max)) / 2 + var(--page-pad))
  );
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-color: var(--red) rgba(20, 20, 20, 0.12);
}

.event-rail .event-card {
  flex: 0 0 clamp(640px, 52vw, 760px);
  min-height: 290px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.event-card {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  padding: 18px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 8px 8px 0 var(--ink);
}

.event-date {
  display: grid;
  min-height: 128px;
  place-items: center;
  align-content: center;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
  text-align: center;
}

.event-date span,
.event-type {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.event-date strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.1rem;
  line-height: 0.95;
}

.event-details {
  align-self: center;
}

.event-details h2,
.event-details h3 {
  margin-bottom: 10px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 0.98;
  text-transform: none;
}

.event-details p {
  max-width: 820px;
  font-weight: 650;
}

.event-type {
  margin-bottom: 8px;
  color: var(--red);
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.event-meta span {
  padding: 7px 10px;
  border: 2px solid rgba(20, 20, 20, 0.16);
  border-radius: 999px;
  background: #fff8ec;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.page-hero {
  padding: clamp(62px, 9vw, 120px)
    max(var(--page-pad), calc((100vw - var(--page-max)) / 2 + var(--page-pad)))
    clamp(38px, 7vw, 82px);
  background:
    radial-gradient(
      circle at 82% 20%,
      rgba(247, 183, 51, 0.38),
      transparent 25%
    ),
    radial-gradient(
      circle at 18% 84%,
      rgba(42, 167, 184, 0.22),
      transparent 30%
    ),
    var(--paper);
  border-bottom: 3px solid var(--ink);
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
}

.page-hero p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(1.08rem, 1.6vw, 1.45rem);
  font-weight: 750;
}

.events-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
  padding: clamp(42px, 7vw, 88px)
    max(var(--page-pad), calc((100vw - var(--page-max)) / 2 + var(--page-pad)));
}

.event-list-large .event-card {
  grid-template-columns: 132px minmax(0, 1fr) auto;
  scroll-snap-align: start;
}

.event-card-featured {
  background: #ffe7a8;
}

.event-rsvp {
  align-self: center;
  justify-self: end;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.host-card {
  position: sticky;
  top: 98px;
  padding: 24px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: var(--lake);
  box-shadow: 10px 10px 0 var(--ink);
}

.host-card h2 {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
}

.host-card p:not(.eyebrow) {
  font-weight: 750;
}

.take-action {
  padding: clamp(58px, 8vw, 108px)
    max(var(--page-pad), calc((100vw - var(--page-max)) / 2 + var(--page-pad)));
  color: var(--white);
  background: var(--blue-dark);
  border-block: 3px solid var(--ink);
}

.take-action .eyebrow {
  color: var(--gold);
}

.take-action-heading {
  display: flex;
  gap: 22px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 30px;
}

.take-action-heading h2 {
  max-width: 820px;
  margin-bottom: 0;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.action-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 330px;
  padding: 22px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  color: var(--ink);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.82);
}

.action-card a {
  justify-self: start;
  margin-top: 22px;
  padding: 10px 12px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.action-card-red {
  background: #f9d9ce;
}

.action-card-blue {
  background: #d7edff;
}

.action-card-green {
  background: #dff0c6;
}

.action-card-gold {
  background: #ffe7a8;
}

.join p {
  max-width: 640px;
  font-weight: 650;
}

.signup-card {
  display: grid;
  gap: 14px;
  align-self: start;
  padding: 22px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 10px 10px 0 var(--lake);
}

.signup-card label {
  display: grid;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.signup-card input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  color: var(--ink);
  background: #fffdf8;
  font: inherit;
  font-weight: 700;
}

.signup-card button {
  width: 100%;
  min-height: 52px;
  cursor: pointer;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 800;
}

.donation-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: center;
  margin: 0
    max(var(--page-pad), calc((100vw - var(--page-max)) / 2 + var(--page-pad)))
    clamp(58px, 8vw, 96px);
  padding: clamp(24px, 4vw, 44px);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: var(--gold);
  box-shadow: 12px 12px 0 var(--ink);
}

.donation-panel h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4rem);
}

.amounts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.amounts a {
  min-height: 62px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
}

.site-footer {
  display: grid;
  gap: 6px;
  padding: 28px
    max(var(--page-pad), calc((100vw - var(--page-max)) / 2 + var(--page-pad)));
  color: var(--white);
  background: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.site-footer p {
  margin: 0;
}

.disclaimer {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.74);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .section-grid,
  .life-heading,
  .contrast-band,
  .district-proof,
  .events-page,
  .donation-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    max-width: 520px;
  }

  .life-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .district-proof-copy {
    position: static;
  }

  .action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .events-preview-heading {
    align-items: start;
    flex-direction: column;
  }

  .events-preview-actions {
    justify-content: flex-start;
  }

  .event-list-large .event-card {
    grid-template-columns: 122px minmax(0, 1fr);
  }

  .event-rail {
    padding-bottom: 30px;
  }

  .event-rail .event-card {
    flex-basis: clamp(520px, 82vw, 640px);
  }

  .event-rsvp {
    justify-self: start;
    grid-column: 2;
  }

  .host-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 14px;
    padding-inline: 14px;
  }

  .brand span:last-child {
    display: none;
  }

  .donate-button {
    min-height: 42px;
    padding: 0 14px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .hero {
    padding-top: 34px;
  }

  .hero-actions {
    display: grid;
  }

  .photo-card {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .hero-visual::before,
  .hero-visual::after {
    display: none;
  }

  .hero-visual img {
    width: 100%;
    border-radius: var(--radius);
  }

  .life-grid,
  .place-grid,
  .action-grid,
  .amounts {
    grid-template-columns: 1fr;
  }

  .place-card,
  .action-card {
    min-height: 0;
  }

  .take-action-heading {
    align-items: start;
    flex-direction: column;
  }

  .event-card,
  .event-list-large .event-card {
    grid-template-columns: 1fr;
  }

  .event-rail {
    gap: 14px;
  }

  .event-rail .event-card {
    flex-basis: min(88vw, 360px);
    min-height: 0;
  }

  .event-date {
    min-height: 92px;
    justify-items: start;
    padding: 16px;
    text-align: left;
  }

  .event-rsvp {
    grid-column: auto;
  }

  .life-card {
    min-height: 0;
  }
}
