@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #45696b;
  --teal: #94d6da;
  --orange: #e6654a;
  --ink: #17363b;
  --cream: #fbf3df;
  --paper: #fffaf0;
  --sun: #f4c95d;
  --blue: #1b71b8;
  --shadow: #0b2328;
  --radius: 6px;
  --display-font: "Fraunces", Georgia, "Times New Roman", serif;
  --display-alt-font: "Fraunces", Georgia, "Times New Roman", serif;
  --body-font: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Fraunces display axes: high-contrast optical size + soft terminals + retro wonk.
     Body copy (Arial) ignores this; only the Fraunces headings pick it up. */
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 2px 2px, rgba(23, 54, 59, 0.13) 1px, transparent 1px),
    linear-gradient(180deg, var(--cream), #f7ead0 55%, #eef8f8);
  background-size: 18px 18px, auto;
  font-family: var(--body-font);
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 14px 28px;
  color: var(--paper);
  background: rgba(23, 54, 59, 0.92);
  border-bottom: 4px solid var(--orange);
  box-shadow: 0 7px 0 rgba(11, 35, 40, 0.22);
  backdrop-filter: blur(8px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display-font);
  font-size: 1.55rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-lockup img {
  width: 46px;
  height: 46px;
  border: 2px solid var(--paper);
  border-radius: 50%;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.site-nav a,
.nav-cta,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  border-radius: var(--radius);
}

.site-nav a {
  color: var(--paper);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: var(--teal);
  outline: none;
}

.nav-cta,
.button-primary {
  color: var(--paper);
  background: var(--orange);
  border: 3px solid var(--shadow);
  box-shadow: 5px 5px 0 var(--shadow);
}

.button-secondary {
  color: var(--ink);
  background: var(--sun);
  border: 3px solid var(--shadow);
  box-shadow: 5px 5px 0 var(--shadow);
}

.button:hover,
.button:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--shadow);
  outline: none;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 138px 28px 80px;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(11, 35, 40, 0.84), rgba(11, 35, 40, 0.52) 45%, rgba(11, 35, 40, 0.28)),
    url("assets/web/hero-family.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 5px),
    radial-gradient(circle at 80% 16%, rgba(244, 201, 93, 0.35), transparent 28%),
    radial-gradient(circle at 15% 82%, rgba(148, 214, 218, 0.32), transparent 26%);
  mix-blend-mode: screen;
}

.retro-ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  gap: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--teal);
  border-top: 4px solid var(--ink);
}

.retro-ticker span {
  min-width: 260px;
  padding: 12px 26px;
  font-weight: 900;
  text-transform: uppercase;
  border-right: 3px solid var(--ink);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 860px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  color: var(--ink);
  background: var(--teal);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display-font);
  letter-spacing: 0;
  line-height: 0.98;
}

.hero h1 {
  max-width: 760px;
  margin-top: 22px;
  font-size: 5.35rem;
  text-shadow: 5px 5px 0 rgba(230, 101, 74, 0.9);
}

.hero-copy {
  max-width: 720px;
  margin: 26px 0 0;
  font-size: 1.35rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.intro-band,
.impact-section,
.roadmap-section,
.give-section,
.status-note {
  padding: 86px 28px;
}

.intro-grid,
.split-section,
.section-heading,
.impact-grid,
.roadmap,
.gift-console,
.status-note,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.intro-grid,
.split-section,
.section-heading,
.gift-console {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
}

h2 {
  margin-top: 18px;
  font-family: var(--display-alt-font);
  font-size: 3.2rem;
  font-weight: 300;
  color: var(--green);
}

h3 {
  font-size: 1.35rem;
  color: var(--ink);
}

p {
  font-size: 1.04rem;
}

.intro-grid p,
.copy-panel p,
.section-heading p,
.status-note p {
  max-width: 680px;
}

.mission-card,
.impact-card,
.roadmap article,
.gift-console,
.status-note {
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--shadow);
}

.mission-card {
  padding: 24px;
  background: var(--paper);
  transform: rotate(1deg);
}

.mission-card img {
  width: 180px;
  margin: 0 auto 16px;
  border-radius: 50%;
}

.mission-card p {
  margin-bottom: 0;
  font-weight: 800;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  background: var(--green);
}

.stats-strip div {
  min-height: 150px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 20px;
  color: var(--paper);
  text-align: center;
  border-right: 3px solid rgba(255, 250, 240, 0.38);
}

.stats-strip div:nth-child(2) {
  background: var(--orange);
}

.stats-strip div:nth-child(3) {
  color: var(--ink);
  background: var(--sun);
}

.stats-strip div:last-child {
  border-right: 0;
  color: var(--ink);
  background: var(--teal);
}

.stats-strip strong {
  font-family: var(--display-font);
  font-size: 2.35rem;
  line-height: 1;
}

.stats-strip span {
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.split-section {
  padding: 94px 0;
}

.why-section {
  align-items: stretch;
}

.image-panel {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--shadow);
  background: var(--paper);
}

.image-panel::before {
  content: "CBG";
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 8px 12px;
  color: var(--paper);
  background: var(--orange);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 900;
}

.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.copy-panel {
  padding: 28px 0;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 14px 16px 14px 46px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  width: 15px;
  height: 15px;
  background: var(--orange);
  border: 3px solid var(--ink);
  border-radius: 50%;
}

.impact-section {
  background:
    linear-gradient(135deg, rgba(148, 214, 218, 0.38) 25%, transparent 25%) 0 0 / 28px 28px,
    var(--paper);
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
}

.section-heading {
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p {
  margin: 0;
  font-weight: 700;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.impact-card {
  min-height: 250px;
  padding: 24px;
  background: var(--cream);
}

.impact-card:nth-child(2) {
  background: #eaf8f8;
}

.impact-card:nth-child(3) {
  background: #fff1c6;
}

.impact-number {
  display: block;
  margin-bottom: 18px;
  color: var(--orange);
  font-family: var(--display-font);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.roadmap-section {
  background: var(--cream);
}

.roadmap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.roadmap article {
  position: relative;
  min-height: 230px;
  padding: 24px;
  background: var(--paper);
}

.roadmap article:nth-child(2),
.roadmap article:nth-child(5) {
  transform: rotate(-1deg);
}

.roadmap article:nth-child(3),
.roadmap article:nth-child(4) {
  transform: rotate(1deg);
}

.roadmap span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 5px 9px;
  color: var(--paper);
  background: var(--green);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.roadmap article:nth-child(3) span,
.roadmap article:nth-child(6) span {
  background: var(--orange);
}

.roadmap p {
  margin-bottom: 0;
}

.merch-section {
  align-items: stretch;
}

.sticker-panel::before {
  content: "Grom life";
}

.give-section {
  background:
    repeating-linear-gradient(90deg, rgba(69, 105, 107, 0.12) 0 10px, transparent 10px 20px),
    #fff7df;
  border-top: 4px solid var(--ink);
}

.gift-console {
  align-items: stretch;
  padding: 24px;
  background: var(--paper);
}

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

.gift-button {
  min-height: 108px;
  padding: 18px;
  color: var(--ink);
  background: #eaf8f8;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  font-family: var(--display-font);
  font-size: 1.45rem;
  font-weight: 900;
  cursor: pointer;
}

.gift-button:nth-child(2) {
  background: #fff1c6;
}

.gift-button:nth-child(3) {
  background: #fbe1d6;
}

.gift-button:nth-child(4) {
  background: var(--teal);
}

.gift-button.is-active,
.gift-button:hover,
.gift-button:focus-visible {
  color: var(--paper);
  background: var(--green);
  outline: 4px solid var(--orange);
  outline-offset: 2px;
}

.gift-readout {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 28px;
  color: var(--paper);
  background: var(--green);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
}

.gift-readout span {
  font-family: var(--display-font);
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1;
}

.gift-readout p {
  margin: 18px 0 26px;
  font-size: 1.2rem;
  font-weight: 800;
}

.status-note {
  margin-top: 70px;
  padding: 26px;
  background: var(--paper);
}

.status-note h2 {
  margin-top: 0;
  font-size: 2rem;
}

.status-note p {
  margin-bottom: 0;
}

.boardwalk-shop {
  width: min(1180px, calc(100% - 32px));
  margin: 76px auto 0;
  padding: clamp(28px, 5vw, 58px);
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(148, 214, 218, 0.28) 0 1px, transparent 1px) 0 0 / 34px 34px,
    var(--paper);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 10px 10px 0 var(--shadow);
}

.shop-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.7fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: end;
  margin-bottom: 30px;
}

.shop-heading p {
  max-width: 560px;
  font-weight: 800;
}

.shop-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.2fr) minmax(260px, 0.62fr);
  gap: 18px;
  align-items: stretch;
}

.shop-window,
.shop-card,
.shop-cart {
  border: 3px solid var(--ink);
  background: var(--cream);
  box-shadow: 6px 6px 0 rgba(17, 50, 53, 0.18);
}

.shop-window {
  display: grid;
  grid-template-rows: minmax(280px, 1fr) auto;
  overflow: hidden;
}

.shop-window img,
.shop-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-window div {
  padding: 18px;
  color: var(--paper);
  background: var(--green);
}

.shop-window span,
.shop-card span,
.cart-count,
.shop-cart > span {
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.shop-window strong {
  display: block;
  margin-top: 6px;
  font-family: var(--display-font);
  font-size: 1.7rem;
  line-height: 1;
}

.shop-products {
  display: grid;
  gap: 14px;
}

.shop-card {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  min-height: 178px;
  overflow: hidden;
}

.shop-card div {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 8px;
  padding: 16px;
}

.shop-card span {
  color: var(--orange);
}

.shop-card h3,
.shop-cart h3 {
  margin: 0;
  font-family: var(--display-font);
  font-size: 1.45rem;
}

.shop-card p,
.shop-cart p {
  margin: 0;
  font-size: 0.92rem;
}

.add-to-cart {
  min-height: 40px;
  padding: 9px 13px;
  color: var(--paper);
  background: var(--orange);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 900;
  cursor: pointer;
}

.add-to-cart:hover,
.add-to-cart:focus-visible {
  transform: translateY(-2px);
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

.shop-cart {
  position: sticky;
  top: 92px;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 20px;
}

.cart-lines {
  display: grid;
  gap: 10px;
  min-height: 64px;
  font-weight: 800;
}

.cart-line,
.cart-total {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(17, 50, 53, 0.22);
}

.cart-line strong,
.cart-total strong {
  white-space: nowrap;
}

.cart-line-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.remove-item {
  min-height: 28px;
  padding: 4px 8px;
  color: var(--ink);
  background: var(--teal);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 900;
  cursor: pointer;
}

.remove-item:hover,
.remove-item:focus-visible {
  color: var(--paper);
  background: var(--green);
}

.cart-total {
  font-weight: 900;
}

.checkout-link {
  width: 100%;
}

.checkout-link.is-disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

/* ================= Postcard footer ================= */
.postcard-footer {
  margin-top: 70px;
}

.footer-wave {
  line-height: 0;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 54px;
}

.pc-body {
  background: var(--ink);
  color: var(--paper);
}

.pc-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.postcard {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  background: var(--paper);
  color: var(--ink);
  border: 4px solid var(--shadow);
  border-radius: var(--radius);
  box-shadow: 12px 12px 0 rgba(230, 101, 74, 0.85);
  transform: rotate(-0.4deg);
}

.pc-left {
  padding: clamp(26px, 4vw, 46px);
  border-right: 3px dashed rgba(23, 54, 59, 0.35);
}

.pc-kick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  margin-bottom: 16px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--teal);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
}

.pc-left h2 {
  margin: 0 0 14px;
  font-family: var(--display-font);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1;
  color: var(--green);
}

.pc-left p {
  max-width: 46ch;
  margin: 0 0 20px;
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 600;
}

.pc-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 2px solid rgba(23, 54, 59, 0.15);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--green);
}

.pc-right {
  position: relative;
  padding: clamp(26px, 4vw, 42px);
}

.pc-stamp {
  position: absolute;
  top: 18px;
  right: 18px;
  display: block;
  padding: 7px;
  background: var(--paper);
  border: 3px dashed var(--orange);
  transform: rotate(3deg);
}

.pc-stamp img {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 50%;
}

.pc-to {
  margin-bottom: 14px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
}

.pc-links {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 11px;
  font-size: 1.02rem;
  font-weight: 800;
}

.pc-links a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid rgba(230, 101, 74, 0.35);
}

.pc-links a:hover,
.pc-links a:focus-visible {
  color: var(--orange);
  border-color: var(--orange);
  outline: none;
}

.pc-addr {
  font-size: 0.9rem;
  line-height: 1.7;
  font-weight: 700;
  color: var(--green);
}

.pc-addr a {
  color: var(--green);
  word-break: break-all;
}

.pc-legal {
  border-top: 1px solid rgba(251, 243, 223, 0.2);
}

.pc-legal-in {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(251, 243, 223, 0.65);
}

.pc-pill {
  padding: 4px 12px;
  color: var(--ink);
  background: var(--sun);
  border: 2px solid var(--shadow);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 940px) {
  .site-header {
    position: sticky;
    padding: 12px 16px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 86svh;
    padding: 86px 20px 88px;
  }

  .hero h1 {
    font-size: 3.1rem;
    text-shadow: 3px 3px 0 rgba(230, 101, 74, 0.9);
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .intro-grid,
  .split-section,
  .section-heading,
  .gift-console,
  .shop-heading,
  .shop-layout {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: 2.25rem;
  }

  .stats-strip,
  .impact-grid,
  .roadmap {
    grid-template-columns: 1fr;
  }

  .stats-strip div {
    min-height: 118px;
    border-right: 0;
    border-bottom: 3px solid rgba(255, 250, 240, 0.38);
  }

  .intro-band,
  .impact-section,
  .roadmap-section,
  .give-section,
  .status-note {
    padding: 62px 18px;
  }

  .split-section {
    padding: 62px 18px;
  }

  .image-panel {
    min-height: 320px;
  }

  .impact-card,
  .roadmap article {
    min-height: auto;
  }

  .roadmap article:nth-child(n) {
    transform: none;
  }

  .gift-buttons {
    grid-template-columns: 1fr;
  }

  .shop-cart {
    position: static;
  }

  .gift-button {
    min-height: 76px;
  }

  .gift-readout span {
    font-size: 2.4rem;
  }

  .postcard-footer {
    margin-top: 48px;
  }

  .postcard {
    grid-template-columns: 1fr;
    transform: none;
  }

  .pc-left {
    border-right: 0;
    border-bottom: 3px dashed rgba(23, 54, 59, 0.35);
  }

  .pc-stamp {
    top: 14px;
    right: 14px;
  }

  .pc-stamp img {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 520px) {
  .site-header {
    gap: 12px;
  }

  .brand-lockup span {
    display: none;
  }

  .nav-cta {
    padding-inline: 12px;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .retro-ticker {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow: visible;
  }

  .retro-ticker span {
    min-width: 0;
    padding: 10px 8px;
    font-size: 0.68rem;
    text-align: center;
    border-right-width: 1px;
    border-bottom: 1px solid var(--ink);
  }

  .button {
    width: 100%;
  }

  .impact-number {
    font-size: 2.35rem;
  }

  .boardwalk-shop {
    width: calc(100% - 24px);
    padding: 20px;
  }

  .shop-card {
    grid-template-columns: 1fr;
  }

  .shop-card img {
    height: 210px;
  }
}

/* ============================================================
   MULTI-PAGE ADDITIONS
   (mobile nav, inner-page heroes, cards, forms, donate, footer)
   ============================================================ */

/* --- Mobile nav toggle (hamburger) --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 50px;
  height: 44px;
  padding: 0 12px;
  background: var(--orange);
  border: 3px solid var(--shadow);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--shadow);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--paper);
  border-radius: 2px;
}

.nav-toggle:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

.site-nav .nav-cta {
  margin-left: 6px;
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--teal);
}

.site-nav .nav-cta[aria-current="page"] {
  color: var(--paper);
  background: var(--orange);
}

/* --- Inner-page sub hero --- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 134px 28px 58px;
  color: var(--paper);
  background: linear-gradient(120deg, rgba(11, 35, 40, 0.92), rgba(27, 113, 184, 0.55));
  border-bottom: 4px solid var(--orange);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 18px 18px;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.crumbs {
  font-size: 0.9rem;
  font-weight: 800;
  opacity: 0.85;
}

.crumbs a {
  text-decoration: none;
}

.page-hero h1 {
  margin: 16px 0 0;
  font-family: var(--display-font);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1;
  text-shadow: 4px 4px 0 rgba(230, 101, 74, 0.85);
}

.page-hero .lead {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: 1.2rem;
  font-weight: 700;
}

/* --- Generic content wrappers --- */
.section {
  padding: 80px 28px;
}

.section.alt {
  background:
    linear-gradient(135deg, rgba(148, 214, 218, 0.3) 25%, transparent 25%) 0 0 / 28px 28px,
    var(--paper);
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
}

.prose p {
  max-width: 70ch;
  font-size: 1.08rem;
}

.prose h2 {
  margin-top: 14px;
}

.lede {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green);
}

/* --- Card grids (pathways / values / generic) --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.feature {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 26px;
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--shadow);
}

.feature h3 {
  font-size: 1.4rem;
}

.feature p {
  margin: 0;
}

.feature .tag {
  align-self: start;
  padding: 5px 10px;
  color: var(--paper);
  background: var(--green);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.feature:nth-child(3n+2) {
  background: var(--cream);
}

.feature:nth-child(3n) {
  background: #eaf8f8;
}

.feature.is-link {
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.feature.is-link:hover,
.feature.is-link:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 11px 11px 0 var(--shadow);
  outline: none;
}

.feature .more {
  margin-top: 4px;
  font-weight: 900;
  color: var(--orange);
}

/* --- Allocation / breakdown bars --- */
.allocation {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.allocation .row {
  display: grid;
  gap: 8px;
}

.allocation .meta {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
}

.allocation .bar {
  height: 22px;
  overflow: hidden;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
}

.allocation .bar > span {
  display: block;
  height: 100%;
  background: var(--green);
}

.allocation .row:nth-child(2) .bar > span {
  background: var(--orange);
}

.allocation .row:nth-child(3) .bar > span {
  background: var(--sun);
}

.allocation .row:nth-child(4) .bar > span {
  background: var(--teal);
}

/* --- Forms --- */
.form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 1px;
}

.field .req {
  color: var(--orange);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  padding: 14px 16px;
  font-weight: 800;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
}

.form-status.is-visible {
  display: block;
}

.form-status.ok {
  background: #def3e4;
}

.form-status.err {
  background: #fce1d9;
}

.form-card {
  padding: clamp(22px, 4vw, 38px);
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 10px 10px 0 var(--shadow);
}

/* --- Contact layout --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
  align-items: start;
}

.contact-aside {
  display: grid;
  gap: 18px;
  align-content: start;
}

.info-card {
  display: grid;
  gap: 6px;
  padding: 22px;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 rgba(17, 50, 53, 0.18);
}

.info-card span {
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--green);
}

.info-card a,
.info-card strong {
  font-size: 1.1rem;
  font-weight: 800;
  word-break: break-word;
}

/* --- Give page: frequency + custom amount --- */
.donate-frequency {
  display: inline-flex;
  margin-bottom: 16px;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
}

.donate-frequency button {
  padding: 10px 18px;
  font: inherit;
  font-weight: 900;
  background: var(--paper);
  border: 0;
  cursor: pointer;
}

.donate-frequency button[aria-pressed="true"] {
  color: var(--paper);
  background: var(--orange);
}

.amount-field {
  margin-top: 18px;
}

.amount-input {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
}

.amount-input span {
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-weight: 900;
  background: var(--teal);
  border-right: 3px solid var(--ink);
}

.amount-input input {
  flex: 1;
  min-width: 0;
  padding: 14px;
  font: inherit;
  font-weight: 800;
  background: transparent;
  border: 0;
}

.amount-input input:focus-visible {
  outline: none;
}

.donate-note {
  margin-top: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  opacity: 0.85;
}

.donation-status {
  margin-top: 16px;
}

/* --- Donations "coming soon" panel --- */
.donate-soon {
  width: min(760px, 100%);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: clamp(28px, 5vw, 50px);
  text-align: center;
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 10px 10px 0 var(--shadow);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  color: var(--ink);
  background: var(--sun);
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-pill .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--orange);
  border: 2px solid var(--ink);
}

.donate-soon h2 {
  margin-top: 4px;
}

.donate-soon p {
  max-width: 54ch;
  margin: 0;
  font-weight: 600;
}

.donate-soon .donate-soon-note {
  font-size: 0.95rem;
  opacity: 0.8;
}

/* --- Notice pages (thank-you / 404) --- */
.notice-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 130px 24px 70px;
  text-align: center;
}

.notice-card {
  width: min(640px, 100%);
  display: grid;
  gap: 18px;
  justify-items: center;
  padding: clamp(28px, 5vw, 50px);
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 12px 12px 0 var(--shadow);
}

.notice-card .big {
  font-family: var(--display-font);
  font-size: 4rem;
  line-height: 1;
  color: var(--orange);
}

.notice-card .hero-actions {
  justify-content: center;
}

@media (max-width: 940px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 16px 18px;
    background: rgba(23, 54, 59, 0.98);
    border-bottom: 4px solid var(--orange);
    box-shadow: 0 12px 18px rgba(11, 35, 40, 0.28);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a,
  .site-nav .nav-cta {
    width: 100%;
    margin-left: 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 96px 18px 44px;
  }

  .section {
    padding: 56px 18px;
  }

}
