:root {
  --ink: #1b2a4a;
  --sky: #6b1f2a;
  --sky-light: #f3dde0;
  --sage: #1e3a2f;
  --sage-light: #d6e8e0;
  --cream: #f5f0e8;
  --warm: #ede8dc;
  --gold: #c9a84c;
  --muted: #6b7280;
}
* {
  box-sizing: border-box;
}
body {
  font-family: "Jost", sans-serif;
  font-weight: 300;
  background-color: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}
h3,
.serif {
  font-family: "Cormorant Garamond", Georgia, serif;
}
h1,
h1.serif {
  font-family: "Gloock", serif;
  font-weight: 400;
}
h2,
h2.serif {
  font-family: "Jost", sans-serif;
  font-weight: 300;
}
.nav-glass {
  background: #f5f0e8;
  border-bottom: 1px solid rgba(107, 31, 42, 0.2);
}
.hero-bg {
  background: #1e3a2f;
  position: relative;
  overflow: hidden;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-arc {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
}
.gradient-text {
  color: #f5f0e8;
}
.btn-primary {
  background: #1b2a4a;
  color: #f5f0e8;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  display: inline-block;
  box-shadow: 0 4px 20px rgba(27, 42, 74, 0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(27, 42, 74, 0.4);
}
.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: white;
  padding: 13px 32px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.25s ease;
  display: inline-block;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: white;
  transform: translateY(-2px);
}
.btn-nav {
  background: var(--sky);
  color: white;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
}
.btn-nav:hover {
  background: #1d4e8f;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
}
.badge-blue {
  background: #f5f0e8;
  color: var(--sky);
}
.badge-green {
  background: var(--sage-light);
  color: var(--sage);
}
.mission-img-wrap {
  position: relative;
}
.mission-img-wrap::after {
  content: "";
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--gold);
  border-radius: 8px;
  z-index: 0;
}
.mission-img-wrap img {
  position: relative;
  z-index: 1;
}
.stats-bar {
  background: #1b2a4a;
}
.field-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(26, 35, 52, 0.07);
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(26, 35, 52, 0.06);
}
.field-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26, 35, 52, 0.14);
  border-color: rgba(201, 168, 76, 0.35);
}
.field-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.field-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.cta-band {
  background: #6b1f2a;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}
.cta-band::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -5%;
  width: 350px;
  height: 350px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}
.btn-cta {
  background: #f5f0e8;
  color: #1e3a2f;
  padding: 15px 36px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.25s ease;
  display: inline-block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
footer {
  background: #f5f0e8;
}
.footer-link {
  color: rgba(27, 42, 74, 0.6);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-link:hover {
  color: #1b2a4a;
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 {
  transition-delay: 0.08s;
}
.reveal-delay-2 {
  transition-delay: 0.15s;
}
.reveal-delay-3 {
  transition-delay: 0.22s;
}
.reveal-delay-4 {
  transition-delay: 0.3s;
}
.reveal-delay-5 {
  transition-delay: 0.38s;
}
.rule-accent {
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

/* ── MODAL OVERLAY ──
   Two panels: a photo panel (.modal-header) carrying the title, and the form (.modal-body). */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(14, 32, 24, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  background: #f5f0e8;
  width: 100%;
  max-width: 940px;
  max-height: 92vh;
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(0, 1fr);
  transform: translateY(32px) scale(0.98);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.open .modal-box {
  transform: none;
}
/* photo panel */
.modal-header {
  position: static;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 70px 22px 24px;
  min-height: 150px;
  color: #f5f0e8;
  background:
    linear-gradient(180deg, rgba(14, 32, 24, 0.15) 0%, rgba(14, 32, 24, 0.88) 100%),
    #1e3a2f url("../img/who-we-are/mission-story.jpg") center / cover no-repeat;
}
#modal-contact .modal-header {
  background:
    linear-gradient(180deg, rgba(14, 32, 24, 0.15) 0%, rgba(14, 32, 24, 0.88) 100%),
    #1e3a2f url("../img/home/hero-partnership.jpg") center / cover no-repeat;
}
.modal-tag {
  display: none;
}
.modal-title {
  font-family: "Gloock", serif;
  font-size: 1.7rem;
  font-weight: 400;
  color: #f5f0e8;
  line-height: 1.1;
}
.modal-subtitle {
  font-size: 14px;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.85);
  margin-top: 10px;
  line-height: 1.65;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  background: #f5f0e8;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #1b2a4a;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s;
  padding: 0;
}
.modal-close:hover {
  transform: rotate(90deg);
}
/* form panel */
.modal-body {
  padding: 28px 24px 32px;
  overflow-y: auto;
  min-height: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.modal-body::-webkit-scrollbar {
  display: none;
}
.modal-rule {
  display: none;
}
/* Form fields */
.form-row {
  margin-bottom: 18px;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #1b2a4a;
  margin-bottom: 7px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: "Jost", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #1b2a4a;
  background: #ebe5d8;
  border: 1.5px solid transparent;
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
  transition:
    background 0.2s,
    border-color 0.2s;
  appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(27, 42, 74, 0.42);
}
.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  background: #e6dfd0;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  background: #fff;
  border-color: #1e3a2f;
}
.form-textarea {
  resize: none;
  min-height: 110px;
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231E3A2F' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-hint {
  font-size: 12px;
  font-weight: 300;
  color: #6b7280;
  margin-top: 6px;
  line-height: 1.5;
}
.form-check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.form-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: #1e3a2f;
  cursor: pointer;
}
.form-check-label {
  font-size: 13px;
  font-weight: 300;
  color: #4b5563;
  line-height: 1.6;
}
/* Donor amount pills */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.amount-pill {
  border: 1.5px solid transparent;
  background: #ebe5d8;
  border-radius: 14px;
  font-family: "Jost", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #1b2a4a;
  padding: 13px 4px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.amount-pill:hover {
  background: #e0d8c7;
}
.amount-pill.selected {
  background: #1e3a2f;
  color: #f5f0e8;
}
/* Submit button */
.btn-submit {
  width: 100%;
  font-family: "Jost", sans-serif;
  font-size: 15px;
  font-weight: 500;
  background: #1e3a2f;
  color: #f5f0e8;
  border: none;
  border-radius: 14px;
  padding: 16px 24px;
  cursor: pointer;
  margin-top: 8px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.btn-submit:hover {
  background: #2a5240;
  transform: translateY(-2px);
}
.btn-submit-donor {
  background: #1e3a2f;
}
.btn-submit-donor:hover {
  background: #2a5240;
}
/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 32px 16px;
}
.form-success-icon {
  width: 64px;
  height: 64px;
  background: #1e3a2f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.form-success-title {
  font-family: "Gloock", serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: #1b2a4a;
  margin-bottom: 10px;
}
.form-success-text {
  font-size: 15px;
  font-weight: 300;
  color: #4b5563;
  line-height: 1.7;
}
@media (min-width: 860px) {
  .modal-overlay {
    padding: 24px;
  }
  .modal-box {
    grid-template-columns: 5fr 7fr;
    grid-template-rows: minmax(0, 1fr);
    height: min(92vh, 760px);
  }
  .modal-header {
    padding: 40px 36px;
    min-height: 0;
  }
  .modal-title {
    font-size: 2.4rem;
  }
  .modal-subtitle {
    font-size: 15px;
  }
  .modal-body {
    padding: 48px 44px 40px;
  }
}
@media (max-width: 540px) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .amount-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .modal-header,
  .modal-body {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media (max-width: 767px) {
  .fields-bottom-row {
    max-width: 100% !important;
  }
}

/* ── NAV LINKS (multi-page nav) ── */
.nav-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover,
.nav-link.active {
  color: var(--ink);
}
.mobile-nav-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

/* ── HOW UHN WORKS: 4-step section ── */
.step-card {
  background: white;
  border-radius: 8px;
  border: 1px solid rgba(26, 35, 52, 0.07);
  box-shadow: 0 2px 12px rgba(26, 35, 52, 0.06);
  padding: 32px 24px;
  position: relative;
  height: 100%;
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.step-connector {
  display: none;
}
@media (min-width: 1024px) {
  .step-connector {
    display: block;
    position: absolute;
    top: 40px;
    left: 100%;
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(
      to right,
      var(--gold) 0,
      var(--gold) 6px,
      transparent 6px,
      transparent 12px
    );
    z-index: 1;
  }
}

/* ── PROGRAM / PARTNER CARDS (icon-only variant of .field-card) ── */
.program-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 4px;
}
.callout-box {
  background: var(--warm);
  border-left: 4px solid var(--gold);
  padding: 28px 28px;
  border-radius: 4px;
}

/* ── FLOATING NAV + PHOTO HERO (home page redesign) ──
   Scoped to new class names so the legacy .nav-glass / .hero-bg used by
   the other pages is untouched until they are migrated section by section. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 96px;
  padding: 16px 12px 0;
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  max-width: 1152px;
  margin: 0 auto;
  background: rgba(245, 240, 232, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(30, 58, 47, 0.08);
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
}
.nav-pill-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 16px 0 20px;
}
.nav-pill .nav-link {
  color: var(--ink);
  font-weight: 400;
}
.nav-pill .nav-link:hover,
.nav-pill .nav-link.active {
  color: var(--sage);
}
.nav-pill .nav-link.active {
  font-weight: 500;
}
.btn-nav-outline {
  border: 1px solid rgba(30, 58, 47, 0.45);
  color: var(--sage);
  padding: 9px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.btn-nav-outline:hover {
  background: rgba(30, 58, 47, 0.08);
  border-color: var(--sage);
}
.btn-nav-solid {
  background: var(--sage);
  color: #f5f0e8;
  padding: 10px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.btn-nav-solid:hover {
  background: #2a5240;
}

.hero-photo {
  position: relative;
  margin: -96px 0 0;
  min-height: 640px;
  border-radius: 0 0 32px 32px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #1e3a2f;
}
.hero-photo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../img/home/hero-partnership.jpg") center / cover no-repeat;
  will-change: transform;
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(20, 42, 33, 0.88) 0%, rgba(20, 42, 33, 0.62) 45%, rgba(20, 42, 33, 0.18) 100%),
    linear-gradient(180deg, rgba(20, 42, 33, 0.35) 0%, rgba(20, 42, 33, 0) 30%);
  /* Intro: the photo shows in its original colour first, then the overlay fades in. */
  animation: anim-fade-in 0.7s ease 0.65s both;
}
.hero-photo-inner {
  z-index: 2;
  position: relative;
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 150px 20px 88px;
}
.hero-photo h1 {
  color: #fff;
  line-height: 1.12;
  max-width: 760px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}
.hero-photo p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
}
.btn-hero-solid {
  background: #f5f0e8;
  color: var(--sage);
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 15px;
  display: inline-block;
  transition: all 0.25s ease;
}
.btn-hero-solid:hover {
  background: #fff;
  transform: translateY(-2px);
}
.btn-hero-outline {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  padding: 13px 28px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 15px;
  display: inline-block;
  transition: all 0.25s ease;
}
.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  transform: translateY(-2px);
}
@media (min-width: 1024px) {
  .site-header {
    padding: 24px 32px 0;
  }
  .hero-photo {
    margin: -96px 0 0;
  }
  .hero-photo-inner {
    padding: 170px 48px 110px;
  }
}

/* ── REUSABLE ENTRANCE ANIMATIONS ──
   Add a class to any element and tune it with inline custom properties:
     style="--delay:1.5s; --dur:0.9s"
   .anim-zoom-out  slow zoom-out (for background image layers; --zoom-from sets the start scale)
   .anim-fade-in   plain fade
   .anim-rise      fade in while moving up
   .anim-drop      fade in while moving down (nav / top-anchored items)
   Elements sit hidden until their delay elapses (fill-mode: both). */
@keyframes anim-zoom-out {
  from { transform: scale(var(--zoom-from, 1.18)); }
  to { transform: scale(1); }
}
@keyframes anim-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes anim-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes anim-drop {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: none; }
}
.anim-zoom-out {
  animation: anim-zoom-out var(--dur, 2s) cubic-bezier(0.22, 0.61, 0.36, 1) var(--delay, 0s) both;
}
.anim-fade-in {
  animation: anim-fade-in var(--dur, 0.75s) ease var(--delay, 0s) both;
}
.anim-rise {
  animation: anim-rise var(--dur, 0.55s) cubic-bezier(0.22, 0.61, 0.36, 1) var(--delay, 0s) both;
}
.anim-drop {
  animation: anim-drop var(--dur, 0.5s) cubic-bezier(0.22, 0.61, 0.36, 1) var(--delay, 0s) both;
}
@media (prefers-reduced-motion: reduce) {
  .anim-zoom-out,
  .anim-fade-in,
  .anim-rise,
  .anim-drop,
  .hero-photo::before {
    animation: none;
  }
}

/* ── HOME INTRO SECTION ── */
.intro-section {
  background: var(--cream);
}
.intro-title {
  font-family: "Gloock", serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1.1;
  color: var(--ink);
}
.intro-text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: #4b5563;
  max-width: 520px;
}
.btn-sage {
  background: var(--sage);
  color: #f5f0e8;
  padding: 12px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  display: inline-block;
  transition: all 0.25s ease;
}
.btn-sage:hover {
  background: #2a5240;
  transform: translateY(-2px);
}
.intro-photo-wrap {
  position: relative;
}
.intro-photo {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 40px;
  display: block;
  box-shadow: 0 20px 50px rgba(30, 58, 47, 0.14);
}
@media (max-width: 1023px) {
  .intro-photo {
    height: 340px;
  }
}

/* ── HOME: HOW UHN WORKS (bento grid) ── */
.how-section {
  /* dark green overlay layered over the photo so the cream text stays readable */
  background:
    linear-gradient(rgba(14, 32, 24, 0.6), rgba(14, 32, 24, 0.6)),
    #1e3a2f url("../img/home/section-bg-green.avif") center / cover no-repeat;
  border-radius: 32px;
}
.how-title {
  font-family: "Gloock", serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  line-height: 1.1;
  color: #f5f0e8;
}
.how-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.9);
}
.how-flow i {
  font-style: normal;
  color: var(--gold);
  font-size: 16px;
}
.how-lead {
  max-width: 760px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(245, 240, 232, 0.8);
}
.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.how-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
  padding: 28px;
  background: var(--warm);
  border-radius: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.how-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(30, 58, 47, 0.1);
}
.how-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sage);
  color: #f5f0e8;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.how-icon {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
}
.how-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.6;
}
.how-body {
  margin-top: 28px;
}
.how-card-title {
  font-family: "Jost", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.how-body p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: #6b7280;
  max-width: 520px;
}
@media (min-width: 768px) {
  .how-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .how-card-wide {
    grid-column: span 2;
  }
  .how-card {
    min-height: 0;
  }
}
.how-link {
  color: #f5f0e8;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid rgba(245, 240, 232, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.how-link:hover {
  border-color: #f5f0e8;
}

/* ── NAV HIDE / SHOW ON SCROLL (toggled by main.js) — pure fade, no movement ── */
.site-header {
  transition:
    opacity 0.35s ease,
    visibility 0s linear 0s;
}
.site-header.is-hidden {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0s linear 0.35s;
}
.site-header.is-hidden .nav-pill {
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header.is-hidden {
    transition: none;
  }
}

/* ── HOME: WHO WE HELP (photo tiles) ── */
.who-section {
  background: var(--cream);
}
.who-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.who-head {
  padding: 0 0 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.who-title {
  font-family: "Gloock", serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.05;
  color: var(--ink);
}
.who-lead {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: #6b7280;
  max-width: 400px;
}
.who-grid {
  counter-reset: who;
}
.who-tile {
  --tile-bg: #1e3a2f;
  --tile-ink: #f5f0e8;
  position: relative;
  margin: 0;
  padding: 22px;
  min-height: 380px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  background: var(--tile-bg);
  color: var(--tile-ink);
}
.who-tile:hover {
  transform: translateY(-5px);
}
/* palette cycle: forest green, gold, burgundy, navy */
.who-tile:nth-of-type(1),
.who-tile:nth-of-type(5) {
  --tile-bg: #1e3a2f;
}
.who-tile:nth-of-type(2),
.who-tile:nth-of-type(6) {
  --tile-bg: #c9a84c;
  --tile-ink: #1b2a4a;
}
.who-tile:nth-of-type(3),
.who-tile:nth-of-type(7) {
  --tile-bg: #6b1f2a;
}
.who-tile:nth-of-type(4) {
  --tile-bg: #1b2a4a;
}
/* outlined number badge, top right */
.who-tile::before {
  counter-increment: who;
  content: counter(who, decimal-leading-zero);
  position: absolute;
  bottom: 22px;
  right: 22px;
  width: 36px;
  height: 36px;
  border: 1px solid currentColor;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.85;
}
.who-tile figcaption {
  order: 2;
  padding: 20px 48px 2px 4px;
  font-family: "Gloock", serif;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.3;
}
.who-tile img {
  order: 1;
  flex: 1 1 200px;
  min-height: 200px;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}
@media (min-width: 640px) {
  .who-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .who-head {
    grid-column: span 2;
  }
  .who-tile-wide:last-child {
    grid-column: span 2;
  }
}
@media (min-width: 1024px) {
  .who-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
  }
  .who-head {
    grid-column: span 2;
    padding: 0 24px 0 0;
  }
  .who-tile {
    grid-column: span 2;
    min-height: 430px;
  }
  .who-tile-wide,
  .who-tile-wide:last-child {
    grid-column: span 3;
    min-height: 360px;
  }
}

/* ── HOME: AREAS OF IMPACT (accordion on mobile, list + panel on desktop) ── */
.areas-section {
  position: relative;
  z-index: 1;
  background: var(--warm);
  border-radius: 32px;
}
.areas-title {
  font-family: "Gloock", serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.05;
  color: var(--ink);
}
.areas-layout {
  border-top: 1px solid rgba(27, 42, 74, 0.18);
}
.areas-item {
  border-bottom: 1px solid rgba(27, 42, 74, 0.18);
}
.areas-tab {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 4px;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: "Gloock", serif;
  font-size: 1.2rem;
  line-height: 1.25;
  color: rgba(27, 42, 74, 0.55);
  transition: color 0.25s ease;
}
.areas-tab-num {
  flex: none;
  font-family: "Jost", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.areas-tab-label {
  flex: 1;
}
/* plus / minus indicator (mobile only) */
.areas-tab::after {
  content: "+";
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(27, 42, 74, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Jost", sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
}
.areas-tab[aria-expanded="true"] {
  color: var(--ink);
}
.areas-tab[aria-expanded="true"]::after {
  content: "\2212";
  background: var(--ink);
  border-color: var(--ink);
  color: #f5f0e8;
}
.areas-panel {
  --tile-bg: #1e3a2f;
  --tile-ink: #f5f0e8;
  --tile-accent: #c9a84c;
  background: var(--tile-bg);
  color: var(--tile-ink);
  border-radius: 24px;
  margin-bottom: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}
.areas-panel[hidden] {
  display: none;
}
.areas-panel:not([hidden]) {
  animation: anim-fade-in 0.45s ease both;
}
.areas-panel[data-tone="gold"] {
  --tile-bg: #c9a84c;
  --tile-ink: #1b2a4a;
  --tile-accent: #1b2a4a;
}
.areas-panel[data-tone="burgundy"] {
  --tile-bg: #6b1f2a;
}
.areas-panel[data-tone="navy"] {
  --tile-bg: #1b2a4a;
}
.areas-panel-num {
  font-family: "Gloock", serif;
  font-size: 3.5rem;
  line-height: 0.9;
  color: var(--tile-accent);
  opacity: 0.9;
}
.areas-panel-title {
  font-family: "Gloock", serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 12px;
}
.areas-panel-text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 20px;
  opacity: 0.92;
}
.areas-panel-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.2s ease;
}
.areas-panel-link:hover {
  opacity: 0.7;
}
@media (min-width: 1024px) {
  .areas-layout {
    display: grid;
    grid-template-columns: 5fr 7fr;
    column-gap: 56px;
    align-items: start;
    border-top: 0;
  }
  /* items dissolve so tabs stack in column 1 and every panel shares column 2 */
  .areas-item {
    display: contents;
  }
  .areas-tab {
    grid-column: 1;
    padding: 22px 8px;
    font-size: clamp(1.25rem, 1.9vw, 1.6rem);
    color: rgba(27, 42, 74, 0.4);
    border-bottom: 1px solid rgba(27, 42, 74, 0.18);
    transition:
      color 0.25s ease,
      padding 0.3s ease,
      box-shadow 0.3s ease;
  }
  .areas-item:first-child .areas-tab {
    border-top: 1px solid rgba(27, 42, 74, 0.18);
  }
  .areas-tab::after {
    display: none;
  }
  .areas-tab:hover {
    color: rgba(27, 42, 74, 0.75);
  }
  .areas-tab[aria-expanded="true"] {
    color: var(--ink);
    padding-left: 22px;
    box-shadow: inset 4px 0 0 var(--gold);
  }
  .areas-panel {
    grid-column: 2;
    grid-row: 1 / span 7;
    align-self: stretch;
    min-height: 420px;
    margin-bottom: 0;
    border-radius: 28px;
    padding: 44px;
  }
  .areas-panel-num {
    font-size: clamp(4rem, 9vw, 7rem);
  }
  .areas-panel-title {
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    margin-bottom: 14px;
  }
  .areas-panel-text {
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 22px;
  }
}

/* ── HOME: FEATURED INITIATIVE, PARTNER MESSAGE, IMPACT, CLOSING CTA ── */
.btn-sage-outline {
  border: 1px solid rgba(30, 58, 47, 0.5);
  color: var(--sage);
  background: transparent;
  padding: 11px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: inline-block;
  transition: all 0.25s ease;
}
.btn-sage-outline:hover {
  background: rgba(30, 58, 47, 0.08);
  border-color: var(--sage);
  transform: translateY(-2px);
}

/* Featured initiative */
.feature-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 28px;
  background: #1b2a4a;
  color: #f5f0e8;
  border-radius: 32px;
}
.feature-label {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.feature-title {
  font-family: "Gloock", serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 20px;
}
.feature-lead {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(245, 240, 232, 0.82);
  max-width: 540px;
  margin-bottom: 24px;
}
.feature-paths {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.feature-paths li {
  padding: 7px 16px;
  border: 1px solid rgba(245, 240, 232, 0.3);
  border-radius: 999px;
  font-size: 13px;
  color: rgba(245, 240, 232, 0.9);
}
.feature-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  height: 340px;
}
.feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}
.feature-img-tall {
  grid-row: span 2;
}
@media (min-width: 1024px) {
  .feature-card {
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    padding: 56px;
    align-items: center;
  }
  .feature-collage {
    height: 460px;
  }
}

/* Partner message */
.partner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 56px;
}
.partner-title {
  font-family: "Gloock", serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08;
  color: var(--ink);
}
.partner-text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: #4b5563;
  max-width: 520px;
  margin-bottom: 28px;
}
@media (min-width: 1024px) {
  .partner-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 72px;
    align-items: end;
    margin-bottom: 72px;
  }
}
.marquee {
  overflow: hidden;
  border-top: 1px solid rgba(27, 42, 74, 0.15);
  border-bottom: 1px solid rgba(27, 42, 74, 0.15);
  padding: 22px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: marquee-scroll 45s linear infinite;
}
.marquee-track span {
  font-family: "Gloock", serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}
.marquee-track i {
  flex: none;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
}
@keyframes marquee-scroll {
  to {
    transform: translateX(calc(-50% - 18px));
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee {
    overflow-x: auto;
  }
  .marquee-track {
    animation: none;
  }
}

/* Our Vision */
.vision-section {
  background: var(--sage-light);
  border-radius: 32px;
  position: relative;
  z-index: 1;
}
.vision-title {
  font-family: "Gloock", serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.05;
  color: var(--sage);
}
.vision-quote {
  background: var(--ink);
  border-radius: 28px;
  padding: 40px 28px;
}
.vision-quote-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.vision-quote-mark {
  display: block;
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 1;
  color: rgba(201, 168, 76, 0.6);
  margin-bottom: 8px;
}
.vision-quote-text {
  max-width: 640px;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.4;
  color: var(--cream);
  margin: 0;
}
.vision-quote-cite {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.vision-quote-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  background: rgba(245, 240, 232, 0.12);
}
.vision-quote-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vision-quote-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.7);
}
@media (min-width: 1024px) {
  .vision-quote {
    padding: 64px;
  }
}
/* let the closing CTA tuck behind the vision panel's rounded bottom corners */
.vision-section + .cta-band {
  margin-top: -32px;
  padding-top: 112px;
}
.cta-title {
  font-family: "Gloock", serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1.1;
  color: #fff;
}

/* ── HOME: DARK FOOTER ──
   Scoped to .site-footer so the legacy light footer on the other pages is untouched until they are migrated. */
.site-footer {
  background: #1e3a2f;
  color: #f5f0e8;
}
.site-footer-grid {
  border-bottom: 1px solid rgba(245, 240, 232, 0.18);
}
.site-footer-logo {
  display: inline-block;
  margin: -14px 0 6px -14px; /* cancels the empty margin built into the logo image */
}
.site-footer-logo img {
  display: block;
  height: 96px;
  width: auto;
}
.site-footer-heading {
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.site-footer a,
.site-footer-contact {
  font-size: 15px;
  font-weight: 400;
  color: rgba(245, 240, 232, 0.9);
  transition: color 0.2s ease;
}
.site-footer a:hover,
.site-footer-contact:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.site-footer-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.site-footer-muted {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.78);
}
.site-footer-small {
  font-size: 13px;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.7);
}

/* Navbar logo (image already contains the wordmark) */
.nav-logo {
  display: flex;
  align-items: center;
  flex: none;
}
.nav-logo img {
  display: block;
  height: 70px;
  width: auto;
  margin: -3px 0 -3px -6px; /* the image has empty space around the mark, so it can overhang the 64px bar */
}

/* ── INNER-PAGE HERO (same photo + overlay + entrance animation as the home hero, but shorter) ── */
.hero-photo-page {
  z-index: 1;
  min-height: 430px;
  align-items: flex-end;
}
.hero-photo-page .hero-photo-inner {
  padding: 140px 20px 64px;
}
.hero-photo-page h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  margin-bottom: 18px;
}
.hero-photo-page p {
  font-size: 17px;
  line-height: 1.65;
}
/* the section under the hero tucks behind its rounded bottom corners so no cream notch shows */
.hero-photo-page + section {
  position: relative;
  margin-top: -32px;
  padding-top: calc(5rem + 32px);
}
@media (min-width: 1024px) {
  .hero-photo-page .hero-photo-inner {
    padding: 160px 48px 76px;
  }
  .hero-photo-page + section {
    padding-top: calc(7rem + 32px);
  }
}

/* ── WHO WE ARE PAGE ── */
.wwa-statement {
  font-family: "Gloock", serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.35;
  color: var(--ink);
}
.wwa-statement .hl {
  background: linear-gradient(transparent 62%, rgba(201, 168, 76, 0.45) 62%);
}
.wwa-title {
  font-family: "Gloock", serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  color: var(--ink);
}
.wwa-title-light {
  color: #f5f0e8;
}
.wwa-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 36px;
  align-items: end;
}
.wwa-lead {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: #4b5563;
  max-width: 520px;
}
.wwa-gap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
/* coloured cards (shared by "Why we exist" and "Our values") */
.wwa-card {
  --tile-bg: #1e3a2f;
  --tile-ink: #f5f0e8;
  background: var(--tile-bg);
  color: var(--tile-ink);
  border-radius: 28px;
  padding: 32px 28px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.wwa-card[data-tone="gold"] {
  --tile-bg: #c9a84c;
  --tile-ink: #1b2a4a;
}
.wwa-card[data-tone="burgundy"] {
  --tile-bg: #6b1f2a;
}
.wwa-card[data-tone="navy"] {
  --tile-bg: #1b2a4a;
}
.wwa-card h3 {
  font-family: "Gloock", serif;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 10px;
}
.wwa-card p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  max-width: 340px;
  opacity: 0.94;
}
.wwa-close {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  background: var(--sage-light);
  border-radius: 28px;
  padding: 32px 28px;
}
.wwa-close-title {
  font-family: "Gloock", serif;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.1;
  color: var(--sage);
}
.wwa-close-text {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: #1b2a4a;
  max-width: 560px;
}
.wwa-impact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
.wwa-light-text {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(245, 240, 232, 0.88);
  max-width: 520px;
}
.value-grid {
  counter-reset: value;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.value-card {
  position: relative;
  min-height: 260px;
}
.value-card::before {
  counter-increment: value;
  content: counter(value, decimal-leading-zero);
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border: 1px solid currentColor;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.85;
}
@media (min-width: 640px) {
  .wwa-gap {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .value-card-wide:last-child {
    grid-column: span 2;
  }
}
@media (min-width: 1024px) {
  .wwa-head {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    margin-bottom: 48px;
  }
  .wwa-gap {
    gap: 20px;
    margin-bottom: 20px;
  }
  .wwa-card {
    min-height: 300px;
    padding: 40px 36px;
  }
  .wwa-close {
    grid-template-columns: 1fr 1.2fr;
    gap: 56px;
    padding: 44px 48px;
  }
  .wwa-impact {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }
  .value-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
  }
  .value-card {
    grid-column: span 2;
    min-height: 300px;
  }
  .value-card-wide,
  .value-card-wide:last-child {
    grid-column: span 3;
    min-height: 260px;
  }
}

/* ── AREAS OF IMPACT: logo watermark behind the card text ──
   Tone-on-tone: a light silhouette on the dark cards, a dark one on the gold card. */
.areas-panel {
  position: relative;
  overflow: hidden;
}
.areas-panel > * {
  position: relative;
  z-index: 1;
}
.areas-panel::before {
  content: "";
  position: absolute;
  right: -34%;
  bottom: -24%;
  width: 115%;
  aspect-ratio: 622 / 560;
  background: url("../img/logo/UHN-Logo-Icon-1.png") center / contain no-repeat;
  filter: brightness(0) invert(1);
  opacity: 0.09;
  pointer-events: none;
}
.areas-panel[data-tone="gold"]::before {
  filter: brightness(0);
  opacity: 0.1;
}
@media (min-width: 1024px) {
  .areas-panel::before {
    right: -30%;
    bottom: -28%;
    width: 100%;
  }
}

/* ── WHAT WE DO PAGE: stacking program cards ── */
.wwd-section {
  padding: 56px 0 88px;
}
.wwd-stack {
  display: grid;
  gap: 18px;
}
.wwd-card {
  --tile-bg: #1e3a2f;
  --tile-ink: #f5f0e8;
  --tile-accent: #c9a84c;
  position: relative;
  overflow: hidden;
  background: var(--tile-bg);
  color: var(--tile-ink);
  border-radius: 32px;
  padding: 32px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.wwd-card[data-tone="gold"] {
  --tile-bg: #c9a84c;
  --tile-ink: #1b2a4a;
  --tile-accent: #1b2a4a;
}
.wwd-card[data-tone="burgundy"] {
  --tile-bg: #6b1f2a;
}
.wwd-card[data-tone="navy"] {
  --tile-bg: #1b2a4a;
}
.wwd-card > * {
  position: relative;
  z-index: 1;
}
/* tone-on-tone logo watermark, cropped by the card edge */
.wwd-card::before {
  content: "";
  position: absolute;
  right: -30%;
  bottom: -22%;
  width: 95%;
  aspect-ratio: 622 / 560;
  background: url("../img/logo/UHN-Logo-Icon-1.png") center / contain no-repeat;
  filter: brightness(0) invert(1);
  opacity: 0.08;
  pointer-events: none;
}
.wwd-card[data-tone="gold"]::before {
  filter: brightness(0);
  opacity: 0.1;
}
.wwd-num {
  display: block;
  font-family: "Gloock", serif;
  font-size: 3.5rem;
  line-height: 0.9;
  color: var(--tile-accent);
  opacity: 0.9;
  margin-bottom: 22px;
}
.wwd-title {
  font-family: "Gloock", serif;
  font-size: clamp(1.8rem, 6vw, 2.2rem);
  font-weight: 400;
  line-height: 1.12;
  color: inherit;
}
.wwd-card p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  max-width: 560px;
  opacity: 0.94;
}
/* button inverts the card: card ink as fill, card colour as text */
.wwd-btn {
  display: inline-block;
  margin-top: 26px;
  padding: 14px 28px;
  border: 0;
  border-radius: 12px;
  background: var(--tile-ink);
  color: var(--tile-bg);
  font-family: "Jost", sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.wwd-btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}
@media (min-width: 900px) {
  .wwd-section {
    padding: 72px 0 120px;
  }
  .wwd-stack {
    display: block;
  }
  .wwd-card {
    position: sticky;
    top: calc(28px + var(--i, 0) * 14px);
    margin-bottom: 28px;
    min-height: 440px;
    padding: 52px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: stretch;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.12);
  }
  .wwd-card:last-child {
    margin-bottom: 0;
  }
  .wwd-card::before {
    right: -8%;
    bottom: -36%;
    width: 48%;
  }
  .wwd-card-head {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .wwd-card-body {
    align-self: end;
  }
  .wwd-num {
    font-size: 6rem;
    margin-bottom: 0;
  }
  .wwd-title {
    font-size: clamp(2.2rem, 3.2vw, 2.9rem);
  }
  .wwd-card p {
    font-size: 17px;
  }
}
/* navy-on-gold needs a heavier weight to stay crisp */
.wwd-card[data-tone="gold"] p {
  font-weight: 400;
  opacity: 1;
}

/* ── GET HELP PAGE ── */
.gh-section {
  padding: 72px 0 80px;
}
.gh-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
.gh-title {
  font-family: "Gloock", serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  line-height: 1.1;
  color: var(--ink);
}
.gh-title-light {
  color: #f5f0e8;
}
/* who may request: light checklist cards */
.gh-who {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.gh-who li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(27, 42, 74, 0.06);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
}
.gh-who li::before {
  content: "";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='11' fill='none'%3E%3Cpath d='M1.5 5.8l3.4 3.4L12.5 1.6' stroke='%23f5f0e8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / 14px no-repeat,
    var(--sage);
}
/* types of assistance: link rows on the green panel */
.gh-types {
  display: block;
}
.gh-types a,
.gh-types button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 4px;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(245, 240, 232, 0.22);
  font-family: "Gloock", serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.25;
  color: #f5f0e8;
  text-align: left;
  cursor: pointer;
  transition:
    padding 0.3s ease,
    color 0.3s ease;
}
.gh-types a:first-child,
.gh-types button:first-child {
  border-top: 1px solid rgba(245, 240, 232, 0.22);
}
.gh-types a i,
.gh-types button i {
  flex: none;
  font-style: normal;
  font-family: "Jost", sans-serif;
  font-size: 22px;
  color: var(--gold);
  transition: transform 0.3s ease;
}
.gh-types a:hover,
.gh-types button:hover {
  padding-left: 14px;
  color: #fff;
}
.gh-types a:hover i,
.gh-types button:hover i {
  transform: translateX(6px);
}
/* what to expect */
.gh-expect {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 36px 28px;
  background: var(--warm);
  border-radius: 32px;
}
.gh-statement {
  font-family: "Gloock", serif;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.25;
  color: var(--sage);
}
.gh-text {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  color: #4b5563;
}
.gh-chips {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.gh-chips li {
  padding: 8px 16px;
  border: 1px solid rgba(27, 42, 74, 0.25);
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink);
}
.gh-note {
  padding: 18px 22px;
  background: var(--sage-light);
  border-radius: 16px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--sage);
}
@media (min-width: 640px) {
  .gh-who {
    grid-template-columns: 1fr 1fr;
  }
  .gh-who-wide {
    grid-column: span 2;
  }
}
@media (min-width: 1024px) {
  .gh-section {
    padding: 104px 0 104px;
  }
  .gh-split {
    grid-template-columns: 5fr 7fr;
    gap: 72px;
  }
  .gh-side {
    position: sticky;
    top: 120px;
  }
  .gh-who {
    gap: 14px;
  }
  .gh-expect {
    grid-template-columns: 5fr 7fr;
    gap: 72px;
    padding: 56px 56px;
  }
}

/* ── PARTNER WITH US PAGE: expanding sector panels ── */
.pp-section {
  padding: 64px 0 88px;
}
.pp-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.pp-panel {
  --tile-bg: #1e3a2f;
  --tile-ink: #f5f0e8;
  --tile-accent: #c9a84c;
  position: relative;
  overflow: hidden;
  background: var(--tile-bg);
  color: var(--tile-ink);
  border-radius: 28px;
  padding: 28px 26px 32px;
}
.pp-panel[data-tone="gold"] {
  --tile-bg: #c9a84c;
  --tile-ink: #1b2a4a;
  --tile-accent: #1b2a4a;
}
.pp-panel[data-tone="burgundy"] {
  --tile-bg: #6b1f2a;
}
.pp-panel[data-tone="navy"] {
  --tile-bg: #1b2a4a;
}
/* tone-on-tone logo watermark, cropped by the panel edge */
.pp-panel::before {
  content: "";
  position: absolute;
  right: -30%;
  bottom: -20%;
  width: 90%;
  aspect-ratio: 622 / 560;
  background: url("../img/logo/UHN-Logo-Icon-1.png") center / contain no-repeat;
  filter: brightness(0) invert(1);
  opacity: 0.07;
  pointer-events: none;
}
.pp-panel[data-tone="gold"]::before {
  filter: brightness(0);
  opacity: 0.09;
}
.pp-head {
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  text-align: left;
  cursor: default;
}
.pp-num {
  display: block;
  font-family: "Gloock", serif;
  font-size: 3.2rem;
  line-height: 0.9;
  color: var(--tile-accent);
  opacity: 0.9;
  margin-bottom: 22px;
}
.pp-name-v {
  display: none;
}
.pp-body,
.pp-body > * {
  position: relative;
  z-index: 1;
}
.pp-name-h {
  font-family: "Gloock", serif;
  font-size: clamp(1.7rem, 6vw, 2.1rem);
  font-weight: 400;
  line-height: 1.12;
  color: inherit;
  margin-bottom: 14px;
}
.pp-body p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  max-width: 560px;
  opacity: 0.94;
}
.pp-panel[data-tone="gold"] .pp-body p {
  font-weight: 400;
  opacity: 1;
}
/* desktop: one open panel and four slim strips, sharing a row */
@media (min-width: 1024px) {
  .pp-section {
    padding: 88px 0 120px;
  }
  .pp-row {
    display: flex;
    gap: 14px;
    height: 580px;
  }
  .pp-panel {
    flex: 1 1 0;
    min-width: 0;
    padding: 0;
    cursor: pointer;
    transition: flex 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  .pp-panel.is-active {
    flex: 5.2 1 0;
    cursor: default;
  }
  .pp-panel::before {
    right: -34%;
    bottom: -22%;
    width: 110%;
  }
  .pp-head {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 28px 0 0;
    cursor: pointer;
  }
  .pp-panel.is-active .pp-head {
    align-items: flex-start;
    padding: 34px 0 0 40px;
    cursor: default;
    pointer-events: none;
    inset: 0 auto auto 0;
    width: auto;
    height: auto;
  }
  .pp-num {
    font-size: 2.4rem;
    margin: 0;
  }
  .pp-panel.is-active .pp-num {
    font-size: 4.5rem;
    margin: 0;
  }
  /* collapsed strip: the title runs vertically */
  .pp-name-v {
    display: block;
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%) rotate(180deg);
    writing-mode: vertical-rl;
    font-family: "Gloock", serif;
    font-size: 1.35rem;
    line-height: 1.1;
    white-space: nowrap;
    color: inherit;
    transition: opacity 0.3s ease;
  }
  .pp-panel.is-active .pp-name-v {
    opacity: 0;
    pointer-events: none;
  }
  /* open panel: horizontal title and copy, bottom-left */
  .pp-body {
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: 40px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition:
      opacity 0.35s ease,
      transform 0.5s ease,
      visibility 0s linear 0.35s;
  }
  .pp-panel.is-active .pp-body {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition:
      opacity 0.5s ease 0.3s,
      transform 0.6s ease 0.3s,
      visibility 0s;
  }
  .pp-name-h {
    font-size: clamp(2rem, 2.8vw, 2.6rem);
  }
  .pp-body p {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pp-panel,
  .pp-body {
    transition: none !important;
  }
}

/* ── GET INVOLVED PAGE: bento of ways to help ── */
.gi-section {
  padding: 64px 0 88px;
}
.gi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.gi-card {
  --tile-bg: #1e3a2f;
  --tile-ink: #f5f0e8;
  position: relative;
  overflow: hidden;
  background: var(--tile-bg);
  color: var(--tile-ink);
  border-radius: 32px;
  padding: 32px 28px 30px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}
.gi-card[data-tone="gold"] {
  --tile-bg: #c9a84c;
  --tile-ink: #1b2a4a;
}
.gi-card[data-tone="burgundy"] {
  --tile-bg: #6b1f2a;
}
.gi-card[data-tone="navy"] {
  --tile-bg: #1b2a4a;
}
/* tone-on-tone logo watermark cropped by the card edge */
.gi-card::before {
  content: "";
  position: absolute;
  right: -28%;
  bottom: -26%;
  width: 84%;
  aspect-ratio: 622 / 560;
  background: url("../img/logo/UHN-Logo-Icon-1.png") center / contain no-repeat;
  filter: brightness(0) invert(1);
  opacity: 0.07;
  pointer-events: none;
}
.gi-card[data-tone="gold"]::before {
  filter: brightness(0);
  opacity: 0.09;
}
.gi-card > * {
  position: relative;
  z-index: 1;
}
.gi-copy {
  margin-top: auto;
}
.gi-card h2 {
  font-family: "Gloock", serif;
  font-size: clamp(1.9rem, 6vw, 2.3rem);
  font-weight: 400;
  line-height: 1.1;
  color: inherit;
  margin-bottom: 14px;
}
.gi-card p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  max-width: 480px;
  opacity: 0.94;
}
.gi-card[data-tone="gold"] p {
  font-weight: 400;
  opacity: 1;
  color: #173f2a;
}
.gi-card .wwd-btn {
  align-self: flex-start;
  margin-top: 0;
}
/* "Give Products or Services": brand override to Heritage Green instead of the shared gold-tone ink */
.gi-card[data-tone="gold"] h2 {
  color: #004401;
}
.gi-card[data-tone="gold"] .wwd-btn {
  background: #004401;
  color: var(--cream);
}
@media (min-width: 900px) {
  .gi-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
  }
  .gi-card {
    grid-column: span 2;
    min-height: 360px;
    padding: 40px 36px 36px;
  }
  .gi-card-feature {
    grid-column: span 3;
    min-height: 440px;
  }
  .gi-card-feature h2 {
    font-size: clamp(2.2rem, 3.4vw, 3rem);
  }
  .gi-card-feature p {
    font-size: 17px;
  }
}

/* ── CONTACT PAGE + shared contact-modal notice ── */
.form-assist-note {
  margin-top: 10px;
  padding: 14px 16px;
  background: var(--sage-light);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--sage);
}
.form-assist-note[hidden] {
  display: none;
}
.form-assist-note a {
  display: inline-block;
  margin-top: 4px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.btn-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}
/* Honeypot: kept in the layout and off the a11y tree, not display:none, so bots that skip hidden fields still fill it */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-error {
  display: none;
  margin-top: 10px;
  padding: 14px 16px;
  background: var(--sky-light);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--sky);
}
.cp-section {
  padding: 56px 0 80px;
}
.cp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
.cp-title {
  font-family: "Gloock", serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 26px;
}
.cp-reasons {
  display: grid;
  gap: 10px;
}
.cp-reason {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  background: #fff;
  border: 1.5px solid transparent;
  border-radius: 18px;
  text-align: left;
  cursor: pointer;
  font-family: "Gloock", serif;
  font-size: 1.15rem;
  line-height: 1.2;
  color: var(--ink);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}
.cp-reason:hover {
  border-color: rgba(30, 58, 47, 0.35);
  transform: translateX(3px);
}
.cp-dot {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(27, 42, 74, 0.28);
  transition:
    border-color 0.25s ease,
    background 0.25s ease;
}
.cp-tag {
  margin-left: auto;
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(107, 31, 42, 0.09);
  font-family: "Jost", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky);
}
.cp-reason[aria-pressed="true"] {
  background: var(--sage);
  color: #f5f0e8;
}
.cp-reason[aria-pressed="true"] .cp-dot {
  border-color: var(--gold);
  background: radial-gradient(circle, var(--gold) 0 42%, transparent 46%);
}
.cp-reason-assist[aria-pressed="true"] {
  background: var(--sky);
}
.cp-reason-assist[aria-pressed="true"] .cp-tag {
  background: rgba(245, 240, 232, 0.18);
  color: #f5f0e8;
}
.cp-panel {
  background: #fff;
  border-radius: 28px;
  padding: 28px 24px 30px;
  box-shadow: 0 10px 40px rgba(30, 58, 47, 0.08);
}
.cp-selected {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(27, 42, 74, 0.1);
  font-size: 13px;
  font-weight: 400;
  color: #6b7280;
}
.cp-selected strong {
  display: block;
  margin-top: 4px;
  font-family: "Gloock", serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--sage);
}
.cp-assist-title {
  font-family: "Gloock", serif;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.15;
  color: var(--sky);
  margin-bottom: 14px;
}
.cp-assist-text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: #4b5563;
  margin-bottom: 24px;
  max-width: 460px;
}
.cp-response {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 300;
  color: #6b7280;
}
@media (min-width: 1024px) {
  .cp-section {
    padding: 88px 0 112px;
  }
  .cp-grid {
    grid-template-columns: 5fr 7fr;
    gap: 64px;
  }
  .cp-panel {
    padding: 44px 44px 44px;
  }
}

/* ── OUR PROGRAMS PAGE ── */
.pg-section {
  padding: 64px 0 88px;
}
@media (min-width: 1024px) {
  .pg-section {
    padding: 88px 0 72px;
  }
}
/* Equip The Future’s own logo inside the feature card (the file carries transparent padding) */
.pg-etf-logo {
  display: block;
  height: 130px;
  width: auto;
  margin: -28px 0 6px -19px;
}

/* ── OUR PROGRAMS: program cards (replaces the framework tiles) ── */
.pg-programs {
  padding: 8px 0 88px;
}
.pg-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.pg-card {
  --tile-bg: #1e3a2f;
  --tile-ink: #f5f0e8;
  --tile-accent: #c9a84c;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 290px;
  padding: 30px 26px 26px;
  background: var(--tile-bg);
  color: var(--tile-ink);
  border-radius: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pg-card[data-tone="gold"] {
  --tile-bg: #c9a84c;
  --tile-ink: #1b2a4a;
  --tile-accent: #1b2a4a;
}
.pg-card[data-tone="burgundy"] {
  --tile-bg: #6b1f2a;
}
.pg-card[data-tone="navy"] {
  --tile-bg: #1b2a4a;
}
/* only the linked card (Equip The Future) lifts on hover — the rest are informational, not clickable */
a.pg-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(27, 42, 74, 0.18);
}
.pg-programs-note {
  max-width: 620px;
  margin-bottom: 40px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: #6b7280;
}
/* tone-on-tone logo watermark cropped by the card edge */
.pg-card::before {
  content: "";
  position: absolute;
  right: -26%;
  bottom: -24%;
  width: 78%;
  aspect-ratio: 622 / 560;
  background: url("../img/logo/UHN-Logo-Icon-1.png") center / contain no-repeat;
  filter: brightness(0) invert(1);
  opacity: 0.07;
  pointer-events: none;
}
.pg-card[data-tone="gold"]::before {
  filter: brightness(0);
  opacity: 0.09;
}
.pg-card > * {
  position: relative;
  z-index: 1;
}
.pg-card h3 {
  font-family: "Gloock", serif;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.12;
  color: inherit;
  margin-bottom: 12px;
}
.pg-card p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
  opacity: 0.94;
  max-width: 340px;
  margin-bottom: auto;
  padding-bottom: 24px;
}
.pg-card[data-tone="gold"] p {
  font-weight: 400;
  opacity: 1;
}
.pg-arrow {
  align-self: flex-start;
  font-family: "Jost", sans-serif;
  font-size: 24px;
  line-height: 1;
  color: var(--tile-accent);
  transition: transform 0.3s ease;
}
.pg-card:hover .pg-arrow {
  transform: translateX(8px);
}
@media (min-width: 640px) {
  .pg-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pg-card-wide:last-child {
    grid-column: span 2;
  }
}
@media (min-width: 1024px) {
  .pg-programs {
    padding: 16px 0 112px;
  }
  .pg-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
  }
  .pg-card {
    grid-column: span 3;
    min-height: 320px;
    padding: 34px 30px 30px;
  }
  .pg-card-wide,
  .pg-card-wide:last-child {
    grid-column: span 4;
  }
  .pg-card h3 {
    font-size: 1.75rem;
  }
}
