/* Feed A Person — Premium Dark design system */
:root {
  color-scheme: dark;
  --bg-base: #121212;
  --bg-surface: #1e1e1e;
  --border-subtle: #27272a;
  --text-main: #f9fafb;
  --text-muted: #a1a1aa;
  --brand-blue: #38b6ff;
  --brand-orange: #ffac4c;
  --font-body: "Poppins", sans-serif;
  --font-heading: "Cardo", Georgia, serif;
  --container: 1240px;
  --header-height: 94px;
  --section-space: 112px;
  --radius-card: 16px;
  --radius-hero: 32px;
  --shadow-ambient: 0 15px 40px rgba(0, 0, 0, 0.1);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}
body {
  margin: 0;
  background: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
body.menu-open {
  overflow: hidden;
}
h1,
h2,
h3,
p,
figure,
blockquote {
  margin: 0;
}
h1 {
  font-family: var(--font-heading);
  font-size: clamp(52px, 5.7vw, 84px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.045em;
}
h2,
h3 {
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.045em;
}
h2 {
  font-size: clamp(30px, 3.2vw, 45px);
  font-family: var(--font-heading);
}
h3 {
  font-size: 22px;
}
p {
  color: var(--text-muted);
}
p + p {
  margin-top: 18px;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 5px;
}
::selection {
  background: var(--brand-blue);
  color: var(--bg-base);
}
.container {
  width: min(var(--container), calc(100% - 96px));
  margin-inline: auto;
}
.section {
  padding-block: var(--section-space);
}
.surface-section {
  background: var(--bg-surface);
}
.grid {
  display: grid;
  gap: 28px;
}
.grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 90px;
  align-items: center;
}
.split.reverse > figure {
  order: 2;
}
.align-start {
  align-items: start;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}
.eyebrow {
  display: block;
  color: var(--brand-blue);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.18em;
  margin-bottom: 24px;
}
.note {
  font-size: 11px;
  line-height: 1.8;
  color: var(--text-muted);
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 35px;
  min-height: 54px;
  padding: 14px 25px;
  border: 1px solid var(--brand-blue);
  border-radius: 3px;
  color: var(--brand-blue);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  transition: background-color 0.18s;
}
/* Orange is reserved exclusively for Donate and Submit conversion buttons. */
.btn-donate,
.btn-submit {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: var(--bg-base);
}
.btn-donate:hover,
.btn-submit:hover {
  background: var(--text-main);
  border-color: var(--text-main);
}
.btn-small {
  min-height: 44px;
  padding: 10px 19px;
  gap: 24px;
}
.btn-wide {
  width: 100%;
  justify-content: space-between;
}
.btn span {
  font-size: 21px;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  width: fit-content;
  border-bottom: 1px solid var(--border-subtle);
  padding: 7px 0;
  font-size: 12px;
  font-weight: 500;
}
.text-link:hover {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}
.text-link > span[aria-hidden] {
  font-size: 20px;
  line-height: 1;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--bg-surface);
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}
/* Shared sticky navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-base);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: var(--header-height);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.brand-mark {
  font-size: 43px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.08em;
}
.brand img {
  height: 60px;
}
.brand-mark > span {
  color: var(--brand-blue);
}
.brand-name {
  border-left: 1px solid var(--border-subtle);
  padding-left: 13px;
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.7;
}
.brand-name small {
  font-size: 7px;
  color: var(--text-muted);
  letter-spacing: 0.07em;
}
#site-nav {
  display: flex;
  align-items: center;
  gap: 27px;
}
#site-nav > a:not(.btn) {
  font-size: 16px;
  white-space: nowrap;
  position: relative;
  padding-block: 15px;
}
#site-nav > a[aria-current="page"] {
  color: var(--brand-blue);
}
#site-nav > a[aria-current="page"]::after {
  content: "";
  height: 2px;
  width: 14px;
  background: var(--brand-blue);
  position: absolute;
  left: 0;
  bottom: 5px;
}
#site-nav > a:not(.btn):hover {
  color: var(--brand-blue);
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--text-main);
}
/* Home — warm, editorial imagery and quiet typography */
.home-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 55px;
  padding-top: 58px;
}
.hero-copy {
  align-self: center;
  padding-block: 25px 40px;
}
.hero-copy .eyebrow {
  margin-bottom: 28px;
}
.hero-copy h1 em {
  font-style: italic;
  color: var(--brand-blue);
}
.hero-copy p {
  font-size: 14px;
  line-height: 1.9;
  margin: 27px 0 31px;
}
.hero-image {
  position: relative;
  min-width: 0;
}
.hero-image img {
  height: 100%;
  min-height: 625px;
  max-height: 730px;
  object-position: 50% 50%;
}
.hero-image figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 21px 26px;
  background: var(--bg-surface);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}
.hero-image figcaption > span:first-child {
  color: var(--brand-blue);
  font-size: 9px;
  letter-spacing: 0.13em;
}
.hero-image figcaption > span:last-child {
  font-size: 12px;
  line-height: 1.7;
}
.hero-footnote {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 25px 30px;
  font-size: 8px;
  letter-spacing: 0.13em;
  color: var(--text-muted);
}
.stats-section {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 42px 0 22px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: center;
}
.stat + .stat {
  border-left: 1px solid var(--border-subtle);
}
.stat strong {
  font-size: 48px;
  letter-spacing: -0.045em;
  font-weight: 400;
  line-height: 1.25;
  display: block;
  font-variant-numeric: tabular-nums;
}
.stat strong::after {
  content: "+";
  font-size: 29px;
  color: var(--brand-blue);
  vertical-align: top;
}
.stat > span {
  display: block;
  margin-top: 9px;
  color: var(--text-muted);
  font-size: 12px;
}
.stats-note {
  text-align: center;
  margin-top: 27px;
  font-size: 10px;
}
.feature-image img {
  aspect-ratio: 1 / 1.08;
}
.section-copy > p {
  margin-top: 23px;
  max-width: 460px;
}
.section-copy > .text-link {
  margin-top: 28px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 45px;
  margin-bottom: 44px;
}
.section-heading > .note {
  max-width: 270px;
}
.program-card img {
  aspect-ratio: 1.2;
}
.card-number {
  display: block;
  margin: 22px 0 11px;
  color: var(--brand-blue);
  font-size: 9px;
  letter-spacing: 0.13em;
}
.program-card h3 {
  font-size: 18px;
  letter-spacing: -0.025em;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.program-card h3 span {
  color: var(--brand-blue);
}
.program-card a:hover h3 {
  color: var(--brand-blue);
}
.cta-section {
  padding-block: 75px;
  border-block: 1px solid var(--border-subtle);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}
.cta-inner p {
  margin-bottom: 25px;
}
/* Interior pages */
.page-hero {
  padding: 82px 0 65px;
  border-bottom: 1px solid var(--border-subtle);
}
.page-hero p {
  margin-top: 25px;
  font-size: 15px;
}
.page-hero h1 {
  max-width: 950px;
}
.story-signature {
  display: block;
  font-size: 12px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}
.story-signature small {
  color: var(--text-muted);
  font-size: 10px;
}
.value-card {
  padding-top: 5px;
}
.value-card svg {
  display: block;
  width: 33px;
  height: 33px;
  fill: none;
  stroke: var(--brand-blue);
  stroke-width: 1.25;
  stroke-linejoin: round;
  stroke-linecap: round;
  margin-bottom: 28px;
}
.value-card h3 {
  font-size: 20px;
  margin-bottom: 14px;
}
.value-card p {
  font-size: 13px;
}
.program-detail {
  font-size: 12px;
  color: var(--text-main);
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
}
.quote-card {
  padding: 35px 38px;
  border: 1px solid var(--border-subtle);
}
.quote-mark {
  display: block;
  color: var(--brand-blue);
  font-family: var(--font-body);
  font-size: 58px;
  height: 56px;
  line-height: 1;
}
.quote-card blockquote {
  font-family: var(--font-heading);
  font-size: 35px;
  line-height: 1.35;
  letter-spacing: -0.025em;
}
.quote-card figcaption {
  margin-top: 30px;
  font-size: 12px;
}
.quote-card figcaption span {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 10px;
}
/* True CSS masonry: intrinsic image heights, no fixed rows or grid spans. */

/* Caption overlay card — pinned to the bottom of the image */
.masonry-item {
  position: relative;
}
.gallery-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #f0f0f0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.38) 60%, transparent 100%);
  text-align: left;
  letter-spacing: 0.02em;
  line-height: 1.4;
  pointer-events: none;
}

/* Skeleton shimmer while Sanity images are loading */
.masonry-item.is-loading {
  background: #1a1a1a;
  min-height: 220px;
  overflow: hidden;
}
.masonry-item.is-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,.04) 40%,
    rgba(255,255,255,.08) 50%,
    rgba(255,255,255,.04) 60%,
    transparent 100%
  );
  animation: shimmer 1.4s ease-in-out infinite;
}
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.masonry-item.is-loading img {
  opacity: 0;
}
.masonry-item img {
  transition: opacity .35s ease;
  cursor: pointer;
}

/* ── Gallery Lightbox Modal ── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.lightbox-overlay.is-active {
  opacity: 1;
  visibility: visible;
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 50%;
  transition: background .2s ease;
  z-index: 2;
}
.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(255,255,255,.12);
}
.lightbox-content {
  max-width: min(90vw, 900px);
  max-height: 88vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(.94);
  transition: transform .3s ease;
}
.lightbox-overlay.is-active .lightbox-content {
  transform: scale(1);
}
.lightbox-img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: var(--radius-card, 10px);
  object-fit: contain;
  box-shadow: 0 12px 48px rgba(0,0,0,.5);
}
.lightbox-caption {
  margin-top: 14px;
  padding: 0 8px;
  color: #d0d0d0;
  font-family: var(--font-body);
  font-size: 0.92rem;
  text-align: center;
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.lightbox-caption:empty {
  display: none;
}
body.lightbox-open {
  overflow: hidden;
}

.gallery-section {
  padding-block: 65px 95px;
}
.gallery-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 45px;
}
.gallery-heading h1 {
  font-size: clamp(43px, 4.8vw, 68px);
}
.gallery-heading .eyebrow {
  margin-bottom: 16px;
}
.gallery-heading > .note {
  padding-bottom: 6px;
}
.masonry {
  column-count: 3;
  column-gap: 22px;
}
.masonry-item {
  display: inline-block;
  vertical-align: top;
  width: 100%;
  break-inside: avoid;
  margin: 0 0 22px;
}
.masonry-item img {
  width: 100%;
  height: auto;
}
/* Giving and intake forms */
.path-nav {
  display: flex;
  gap: 50px;
  border-bottom: 1px solid var(--border-subtle);
}
.path-nav a {
  display: flex;
  gap: 35px;
  align-items: center;
  padding-block: 24px;
  font-size: 12px;
}
.path-nav a span {
  color: var(--brand-blue);
}
.donate-image {
  margin-top: 30px;
}
.donate-image img {
  aspect-ratio: 1.65;
}
.pledge {
  border-left: 2px solid var(--brand-blue);
  padding-left: 20px;
  margin-top: 27px;
}
.pledge h3 {
  font-size: 15px;
  letter-spacing: -0.02em;
}
.pledge p {
  font-size: 12px;
  margin-top: 10px;
}
.donation-card,
.surface-form {
  padding: 40px;
  border: 1px solid var(--border-subtle);
}
.donation-card > h3 {
  font-size: 28px;
}
.amount-fieldset {
  border: 0;
  padding: 0;
  min-width: 0;
  margin: 28px 0 23px;
}
.amount-fieldset legend {
  font-size: 12px;
  margin-bottom: 14px;
}
.amount-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}
.amount-button {
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  color: var(--text-main);
  background: var(--bg-base);
  padding: 13px 5px;
  font-size: 13px;
}
.amount-button.selected {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  box-shadow: inset 0 0 0 1px var(--brand-blue);
}
label {
  display: block;
  font-size: 12px;
  margin-bottom: 9px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  color: var(--text-main);
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  font-size: 13px;
  min-height: 49px;
}
input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}
textarea {
  resize: vertical;
  min-height: 145px;
}
.field {
  margin-bottom: 22px;
}
.form-status {
  margin-top: 16px;
  font-size: 11px;
  line-height: 1.8;
}
.form-status:empty {
  display: none;
}
.form-status.is-notice {
  padding: 14px;
  border-left: 2px solid var(--brand-blue);
  background: var(--bg-base);
}
.bank-details {
  border-top: 1px solid var(--border-subtle);
  margin-top: 28px;
  padding-top: 28px;
}
.bank-details h3 {
  font-size: 18px;
}
.bank-details dl {
  margin: 20px 0 12px;
  font-size: 11px;
}
.bank-details dl > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-block: 9px;
}
.bank-details dt {
  color: var(--text-muted);
  font-size: 14px;
}
.bank-details dd {
  margin: 0;
  text-align: right;
  font-size: 14px;
}
.bank-details .text-link {
  font-size: 11px;
}
.surface-form > h3 {
  font-size: 27px;
}
.surface-form > .note {
  margin: 10px 0 12px;
}
/* Contact and map placeholder */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
  align-items: start;
}
.contact-details {
  display: grid;
  gap: 25px;
  padding: 36px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow: var(--shadow-ambient);
}
.contact-details .eyebrow {
  margin-bottom: 8px;
  font-size: 9px;
}
.contact-details a {
  overflow-wrap: anywhere;
}
.contact-details p {
  color: var(--text-main);
}
.contact-form {
  padding-top: 38px;
  border-top: 1px solid var(--border-subtle);
}
.contact-form h2 {
  font-size: 26px;
}
.contact-form > .note {
  margin: 16px 0 25px;
  font-size: 14px;
}
.contact-form .grid {
  gap: 18px;
}

.map-wrapper {
  position: relative;
  min-height: 420px;
  width: 100%;
}

.map-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  /* Dark mode filter to prevent stark white iframe maps from blowing out the dark theme */
  filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

/* Mobile Stacking: Text Details First, Map Second */
@media (max-width: 900px) {
  .coverage-card {
    grid-template-columns: 1fr;
  }

  .coverage-details {
    order: 1;
    padding: 2rem 1.5rem;
  }

  .map-wrapper {
    order: 2;
    min-height: 320px;
  }
}
.map-panel {
  display: grid;
  background: var(--bg-surface);
  margin: 24px;
  max-width: 1100px;
  height: 500px;
  margin-inline: auto;
}
.map-illustration {
  position: relative;
  overflow: hidden;
}
.map-illustration > svg {
  display: block;
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.map-marker {
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-base);
  padding: 17px 22px;
  white-space: nowrap;
}
.map-marker > span {
  color: var(--brand-blue);
  font-size: 32px;
  line-height: 1.2;
}
.map-marker strong {
  font-size: 12px;
  font-weight: 500;
  margin-top: 10px;
}
.map-marker small {
  font-size: 10px;
  color: var(--text-muted);
}
.map-label {
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding: 5px 8px;
  background: var(--bg-base);
  font-size: 8px;
  letter-spacing: 0.08em;
}
.map-caption {
  padding: 32px;
}
.map-caption h3 {
  font-size: 25px;
}
.map-caption .text-link {
  margin-top: 23px;
}
/* Cohesive four-column footer */
.site-footer {
  padding: 66px 0 25px;
  border-top: 1px solid var(--border-subtle);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr 0.9fr 1.25fr;
  gap: 40px;
  padding-bottom: 58px;
}
.footer-grid > div:first-child p {
  margin-top: 25px;
  font-size: 12px;
}
.footer-grid h2 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  margin: 10px 0 23px;
}
.footer-grid > div > a:not(.brand) {
  display: block;
  width: fit-content;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 11px;
}
.footer-grid > div > a:not(.brand):hover {
  color: var(--brand-blue);
}
.footer-grid > div > p {
  font-size: 11px;
}
.footer-email {
  overflow-wrap: anywhere;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 9px;
}

/* Responsive layout */
@media (max-width: 1100px) {
  :root {
    --section-space: 85px;
  }
  .container {
    width: calc(100% - 64px);
  }
  #site-nav {
    gap: 18px;
  }
  .brand-name {
    display: none;
  }
  .split {
    gap: 50px;
  }
  .home-hero {
    gap: 0 35px;
  }
  .hero-image img {
    min-height: 590px;
  }
  .contact-grid {
    gap: 45px;
  }
  .footer-grid {
    gap: 26px;
  }
  .donation-card,
  .surface-form {
    padding: 30px;
  }
  .map-panel {
    margin: 24px;
    max-width: 1100px;
    height: 500px;
  }
}
@media (max-width: 900px) {
  :root {
    --header-height: 78px;
  }
  .brand-name {
    display: block;
  }
  .menu-toggle {
    display: block;
  }
  .js #site-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-base);
    border-bottom: 1px solid var(--border-subtle);
    padding: 22px 32px 30px;
    max-height: calc(100dvh - var(--header-height));
    overflow: auto;
  }
  .js #site-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
  }
  .js #site-nav > a:not(.btn) {
    font-size: 16px;
    padding: 12px 0;
  }
  .js #site-nav .btn {
    margin-top: 10px;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }
  html:not(.js) .nav-wrap {
    flex-wrap: wrap;
    padding-block: 20px;
  }
  html:not(.js) #site-nav {
    flex-wrap: wrap;
  }
  html:not(.js) .menu-toggle {
    display: none;
  }
  .hero-copy h1 {
    font-size: 58px;
  }
  .hero-image img {
    min-height: 570px;
  }
  .hero-image figcaption {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px;
  }
  .hero-copy p {
    font-size: 12px;
  }
  .actions {
    gap: 20px;
  }
  .grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }
  .split {
    gap: 35px;
  }
  .section-copy p {
    font-size: 13px;
  }
  .program-card h3 {
    font-size: 16px;
  }
  .masonry {
    column-count: 2;
  }
  .gallery-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .contact-grid,
  .split.align-start {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .donate-image img {
    max-height: 350px;
  }
  .footer-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 35px;
  }
  .quote-card {
    padding: 25px;
  }
  .quote-card blockquote {
    font-size: 30px;
  }
  .cta-inner {
    gap: 35px;
  }
  .cta-inner .actions {
    gap: 20px;
  }
  .map-panel {
    max-width: 1200px;
    height: 500px;
    margin-inline: 24px;
  }
}
@media (max-width: 600px) {
  :root {
    --section-space: 62px;
    --header-height: 74px;
  }
  body {
    font-size: 14px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .brand-mark {
    font-size: 37px;
  }
  .brand-name {
    font-size: 9px;
  }
  .brand-name small {
    font-size: 6px;
  }
  .home-hero {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 36px;
  }
  .hero-copy {
    padding-block: 0 32px;
  }
  .hero-copy h1 {
    font-size: clamp(49px, 12.8vw, 72px);
  }
  .hero-copy .eyebrow {
    font-size: 9px;
    margin-bottom: 23px;
  }
  .hero-copy p {
    font-size: 13px;
    margin-block: 24px;
  }
  .hero-image img {
    min-height: 0;
    max-height: none;
    height: 390px;
    object-position: center 40%;
  }
  .hero-image figcaption {
    flex-direction: row;
    align-items: center;
    padding: 17px 19px;
  }
  .hero-image figcaption > span:last-child {
    font-size: 10px;
  }
  .hero-image figcaption > span:first-child {
    font-size: 8px;
  }
  .hero-footnote {
    font-size: 7px;
    padding-block: 20px;
    line-height: 1.8;
  }
  .hero-footnote > span {
    max-width: 180px;
  }
  .hero-footnote a {
    max-width: 100px;
    text-align: right;
  }
  .btn {
    min-height: 50px;
    padding: 13px 23px;
  }
  .stats-section {
    padding-top: 30px;
  }
  .stat strong {
    font-size: 30px;
  }
  .stat strong::after {
    font-size: 18px;
  }
  .stat > span {
    font-size: 9px;
    padding-inline: 5px;
  }
  .stats-note {
    font-size: 9px;
    margin-top: 20px;
  }
  .split {
    gap: 35px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .split.reverse > figure {
    order: 0;
  }
  .feature-image img {
    aspect-ratio: 1 / 1.02;
  }
  h2 {
    font-size: 32px;
  }
  .section-copy p {
    font-size: 14px;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 20px;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .section-heading > .text-link,
  .section-heading > .note {
    margin-top: 23px;
  }
  .grid-three,
  .grid-two {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .grid-four {
    gap: 35px 24px;
  }
  .program-card h3 {
    font-size: 19px;
  }
  .cta-section {
    padding-block: 50px;
  }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
  .cta-inner p {
    font-size: 13px;
  }
  .page-hero {
    padding: 52px 0;
  }
  .page-hero h1 {
    font-size: clamp(44px, 10.8vw, 64px);
  }
  .page-hero p {
    font-size: 13px;
    margin-top: 22px;
  }
  .value-card h3 {
    font-size: 18px;
  }
  .value-card p {
    font-size: 12px;
  }
  .value-card svg {
    margin-bottom: 23px;
  }
  .quote-card blockquote {
    font-size: 32px;
  }
  .gallery-section {
    padding-block: 45px 50px;
  }
  .gallery-heading {
    margin-bottom: 28px;
  }
  .gallery-heading h1 {
    font-size: 44px;
  }
  .masonry {
    column-count: 1;
    column-gap: 0;
  }
  .masonry-item {
    margin-bottom: 18px;
  }
  .path-nav {
    gap: 27px;
  }
  .path-nav a {
    gap: 18px;
    font-size: 11px;
  }
  .donation-card,
  .surface-form {
    padding: 25px;
  }
  .amount-options {
    gap: 7px;
  }
  .amount-button {
    font-size: 12px;
  }
  .bank-details dl {
    font-size: 10px;
  }
  .contact-details a,
  .contact-details p {
    font-size: 13px;
  }
  .contact-form .grid {
    gap: 0;
  }
  .map-illustration > svg {
    height: 370px;
  }
  .map-panel {
    margin: 24px;
    max-width: 1200px;
    height: 500px;
  }
  .map-caption {
    padding: 27px;
  }
  .site-footer {
    padding-top: 45px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
    padding-bottom: 35px;
  }
  .footer-grid > div:first-child,
  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: row;
    gap: 8px;
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Neutral surfaces and soft structure, shared across the six pages. */
.site-header {
  background: var(--bg-surface);
}
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img {
  width: 84px;
  height: 60px;
  object-fit: contain;
}
.site-footer .brand img {
  height: 50px;
}
#site-nav > a[aria-current="page"]::after {
  width: 100%;
}
.btn {
  border-radius: 12px;
  box-shadow: var(--shadow-ambient);
  min-height: 44px;
  gap: 0;
}
.btn-wide {
  justify-content: center;
  background: var(--brand-orange);
  border: 1px solid var(--border-subtle, #303030);
  color: #000000;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  cursor: pointer;
  flex: 1;
}
.feature-image,
.donate-image,
.program-card img,
.masonry-item,
.quote-card,
.value-card,
.map-panel,
.donation-card,
.surface-form {
  border-radius: var(--radius-card);
  overflow: hidden;
}
.feature-image,
.donate-image,
.program-card img,
.quote-card,
.map-panel,
.donation-card,
.surface-form {
  box-shadow: var(--shadow-ambient);
}
.feature-image img,
.donate-image img {
  border-radius: inherit;
}

.value-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 28px;
}
.surface-section {
  background: var(--bg-base);
}
.vision-section {
  background: var(--bg-surface);
}
.vision-section p,
.mission-section p {
  max-width: 570px;
}
.section-copy > p {
  max-width: 540px;
}
.program-section .feature-image {
  max-width: 530px;
}
.program-section .section-copy {
  padding-block: 36px;
}
.program-section .reverse .feature-image {
  justify-self: end;
  margin-top: 55px;
}
.program-section + .program-section {
  padding-top: 35px;
}
.donation-card {
  padding: clamp(28px, 4vw, 52px);
}
.surface-form {
  padding: clamp(28px, 4.5vw, 60px);
  background: var(--bg-base);
}
input,
select,
textarea {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  min-height: 56px;
  padding: 16px 18px;
}
.field {
  margin-bottom: 26px;
}
.amount-button {
  border-radius: 12px;
}
.form-status.is-notice {
  border-radius: 12px;
}
.contact-form {
  padding: 36px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow: var(--shadow-ambient);
}
.map-marker {
  border-radius: 16px;
  box-shadow: var(--shadow-ambient);
}
.map-label {
  border-radius: 8px;
}

/* Floating media heroes. The scrim is solely for text contrast over photography/video. */
.media-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  width: calc(100% - 4rem);
  max-width: 1800px;
  margin: 2rem auto 0;
  padding: 0;
  min-height: 500px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-hero);
  overflow: hidden;
  background: var(--bg-surface);
  box-shadow: var(--shadow-ambient);
}
.home-hero.media-hero {
  min-height: clamp(580px, 80vh, 90vh);
}
.media-hero .hero-media,
.media-hero .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  z-index: -3;
}
.media-hero .hero-video {
  opacity: 0;
  z-index: -2;
}
.media-hero .hero-video.is-playing {
  opacity: 1;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(18, 18, 18, 0.87) 0%,
    rgba(18, 18, 18, 0.58) 52%,
    rgba(18, 18, 18, 0.12) 100%
  );
}
.media-hero .hero-copy {
  width: 100%;
  padding: clamp(36px, 5.5vw, 82px);
  align-self: flex-end;
}
.media-hero .hero-copy .eyebrow {
  color: var(--text-main);
  margin-bottom: 23px;
}
.home-hero .hero-copy .eyebrow {
  text-transform: none;
  letter-spacing: 0.025em;
  font-size: 15px;
}
.media-hero h1 {
  color: var(--text-main);
  max-width: 1000px;
  font-size: clamp(45px, 5.2vw, 78px);
  line-height: 1.08;
  text-wrap: balance;
}
.media-hero .hero-copy p {
  color: #e4e4e7;
  font-size: 14px;
  max-width: 560px;
  margin: 24px 0 0;
}
.media-hero .actions {
  margin-top: 30px;
}
.media-hero .text-link {
  border-color: #a1a1aa;
}
.video-control {
  position: absolute;
  right: 28px;
  bottom: 25px;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-main);
  font-size: 11px;
}
.video-control[hidden] {
  display: none;
}
.page-hero.media-hero {
  min-height: clamp(390px, 47vw, 560px);
}
.gallery-section {
  padding-top: 45px;
}
.gallery-note {
  text-align: right;
  margin-bottom: 22px;
}
.masonry {
  column-count: 3;
  column-gap: 24px;
}
.masonry-item {
  display: block;
  break-inside: avoid;
  margin: 0 0 24px;
}
.masonry-item img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

/* Preserve the circular credibility display with verified totals and calmer spacing. */
.impact-stats-section {
  padding: 82px 32px 72px;
  background: var(--bg-base);
}
.stats-container {
  max-width: var(--container);
  margin-inline: auto;
}
.stats-heading {
  text-align: center;
  font-family: var(--font-body);
  font-size: clamp(24px, 2.6vw, 35px);
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 48px;
}
.accent-line {
  display: none;
}
.impact-stats-section .stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px;
  text-align: center;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.icon-circle {
  width: 130px;
  height: 130px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-ambient);
  margin-bottom: 25px;
}
.icon-circle svg {
  width: 56px;
  height: 56px;
  stroke: var(--brand-orange);
  stroke-width: 2;
}
.stat-number {
  font-family: var(--font-body);
  color: var(--text-main);
  font-size: clamp(48px, 5vw, 68px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.stat-text {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 12px;
}
@media (max-width: 900px) {
  .masonry {
    column-count: 2;
  }
  .js #site-nav {
    background: var(--bg-surface);
  }
  .media-hero .hero-copy {
    padding: 42px;
  }
  .home-hero.media-hero {
    min-height: 80vh;
  }
  .media-hero h1 {
    font-size: clamp(45px, 6.3vw, 66px);
  }
  .program-section .reverse .feature-image {
    margin-top: 0;
  }
  .value-card {
    padding: 24px;
  }
}
@media (max-width: 600px) {
  .brand img {
    width: 70px;
    height: 50px;
  }
  .media-hero {
    width: calc(100% - 2rem);
    margin-top: 1rem;
    border-radius: 24px;
  }
  .home-hero.media-hero {
    min-height: 80vh;
  }
  .page-hero.media-hero {
    min-height: 80vh;
  }
  .media-hero .hero-copy {
    padding: 30px 24px;
  }
  .home-hero.media-hero .hero-copy {
    padding-bottom: 85px;
  }
  .media-hero h1 {
    font-size: clamp(38px, 10vw, 55px);
  }
  .media-hero .hero-copy .eyebrow {
    font-size: 11px;
    margin-bottom: 20px;
  }
  .media-hero .hero-copy p {
    font-size: 12px;
  }
  .hero-scrim {
    background: linear-gradient(
      0deg,
      rgba(18, 18, 18, 0.96) 0%,
      rgba(18, 18, 18, 0.65) 65%,
      rgba(18, 18, 18, 0.15) 100%
    );
  }
  .media-hero .actions {
    gap: 22px;
    margin-top: 25px;
  }
  .video-control {
    bottom: 20px;
    right: 22px;
  }
  .impact-stats-section {
    padding: 58px 16px;
  }
  .stats-heading {
    max-width: 300px;
    margin: 0 auto 35px;
    font-size: 25px;
  }
  .impact-stats-section .stats-grid {
    gap: 36px 14px;
    grid-template-columns: 1fr;
  }
  .stat-number {
    font-size: 56px;
  }
  .stat-text {
    font-size: 13px;
  }
  .icon-circle {
    margin-bottom: 18px;
  }
  .masonry {
    column-count: 2;
  }
  .program-section .section-copy {
    padding-block: 0;
  }
  .program-section .feature-image {
    width: 100%;
  }
  .value-card {
    padding: 22px 18px;
  }
  .contact-form,
  .surface-form,
  .donation-card {
    padding: 28px 22px;
  }
  .gallery-note {
    text-align: left;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}

/* Refined calls to action and readable footer type. */
.btn-secondary {
  min-width: 100px;
  border: 1px solid #aeadad;
  background: transparent;
  color: #aeadad;
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #121212;
}

/* .cta-section .actions .btn {
  min-width: 154px;
} */

.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 12px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.social-icon {
  width: 15px;
  height: 15px;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease;
}

.social-btn:hover {
  background-color: var(--color-surface-elevated, #222222);
  border-color: var(--color-primary, #38b6ff);
}

.social-btn:hover .social-icon {
  opacity: 1;
}
/* Contact information and form share a row before the map. */
.contact-top {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 72px;
  align-items: start;
}
.contact-top .contact-form {
  margin: 0;
}
.contact-map {
  width: 100%;
  margin-top: 48px;
}
.contact-map .map-illustration > svg {
  height: 350px;
}
.contact-map .map-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

/* Resets whenever a pairing leaves the viewport, ready to replay on return. */
.reveal {
  opacity: 0;
  transition:
    opacity 0.65s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}
.reveal-from-left {
  transform: translateX(-42px);
}
.reveal-from-right {
  transform: translateX(42px);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Alternating mission and vision story blocks. */
.about-split {
  align-items: center;
}
.about-split .feature-image img {
  aspect-ratio: 1.1;
}
.about-split .section-copy {
  max-width: 530px;
}
.about-split.reverse .feature-image {
  order: 2;
}
.about-split.reverse .section-copy {
  order: 1;
}

/* Full-height stacked work panels, progressively uncovered as the page scrolls. */
.work-stack {
  position: relative;
}
.work-panel {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: clamp(80px, 11vw, 150px) 0;
  border-top: 1px solid var(--border-subtle);
}
.work-panel:nth-child(1) {
  background: #181818;
  z-index: 1;
}
.work-panel:nth-child(2) {
  background: #1e1e1e;
  z-index: 2;
}
.work-panel:nth-child(3) {
  background: #252525;
  z-index: 3;
}
.work-panel .work-content {
  max-width: 660px;
}
.work-panel h2 {
  font-size: clamp(44px, 6vw, 82px);
  font-family: var(--font-heading);
  font-weight: 400;
}
.work-panel p {
  max-width: 520px;
  font-size: 16px;
  margin: 24px 0 30px;
}

/* Three-way involvement switcher. */


/* Donor Identity Wrapper */
.donor-identity-module {
  margin-top: 1.75rem;
  border-top: 1px solid var(--color-border, #303030);
  padding-top: 1.5rem;
}

.module-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted, #8e8e8e);
  margin-bottom: 0.75rem;
}

/* Sliding Pill Container */
.segmented-control {
  position: relative;
  display: flex;
  background-color: var(--color-bg, #121212);
  border: 1px solid var(--color-border, #303030);
  border-radius: 10px;
  padding: 4px;
  user-select: none;
}

/* Sliding Background Indicator */
.control-indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  background-color: var(--color-surface-elevated, #222222);
  border: 1px solid var(--color-border, #303030);
  border-radius: 10px;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

/* State when Anonymous is active: slides pill to right */
.segmented-control.is-anonymous .control-indicator {
  transform: translateX(100%);
}

/* Switch Buttons */
.control-btn {
  flex: 1;
  position: relative;
  z-index: 2;
  background: transparent;
  border: none;
  padding: 0.6rem 1rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted, #8e8e8e);
  cursor: pointer;
  border-radius: 10px;
  transition: color 0.25s ease;
  text-align: center;
}

.control-btn.active {
  color: var(--color-text, #f7f7f7);
}

/* Smooth Accordion Grid Collapse */
.donor-form-collapse {
  display: grid;
  grid-template-rows: 1fr;
  opacity: 1;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.25s ease;
}

.donor-form-collapse.is-hidden {
  grid-template-rows: 0fr;
  opacity: 0;
  pointer-events: none;
}

.collapse-inner {
  overflow: hidden;
}

/* Form Styles */
.donor-fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-secondary, #c4c4c4);
}

.form-group input,
.form-group textarea {
  width: 100%;
  background-color: var(--color-bg, #121212);
  border: 1px solid var(--color-border, #303030);
  border-radius: var(--radius-sm, 8px);
  padding: 0.65rem 0.85rem;
  color: var(--color-text, #f7f7f7);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group textarea {
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary, #38b6ff);
}
.involve-section-copy {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: clamp(28px, 4vw, 52px);
}

.involve-section-copy p {
  margin-top: 8px;
}

.involvement-switcher {
  padding-block: 54px 92px;
}

/* Container */
.switcher-tabs {
  position: relative;
  display: flex;
  gap: 10px;
  padding: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  margin-bottom: 44px;
  user-select: none;
}

/* Sliding Pill / Indicator */
.switcher-indicator {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  border-radius: 10px;
  background: #2a2a2a;
  border: 1px solid var(--border-subtle);
  pointer-events: none;
  z-index: 1;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
              width 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Individual Tab Buttons */
.switcher-tab {
  flex: 1;
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: color 0.2s ease, border-color 0.2s ease;
}

/* Hover state only on non-active tabs */
.switcher-tab:hover:not([aria-selected="true"]) {
  border-color: var(--text-muted);
  color: var(--text-main);
}

/* Active Tab Typography */
.switcher-tab[aria-selected="true"] {
  color: var(--text-main);
  background: transparent; /* Indicator handles the background */
  border-color: transparent;
}

.switcher-panel[hidden] {
  display: none;
}
.partner-intro {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: clamp(28px, 4vw, 52px);
}
.partner-intro p{
  margin-top: 8px;
}
.partner-note{
  min-height: 130px;
  margin-bottom: 26px;
}

@media (min-width: 601px) {
  .site-footer {
    padding-top: 76px;
  }
  .footer-grid h2 {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .footer-grid > div > a:not(.brand),
  .footer-grid > div > p {
    font-size: 14px;
    line-height: 1.7;
  }
  .footer-grid > div:first-child p {
    font-size: 14px;
  }
  .footer-bottom {
    font-size: 12px;
  }
}
@media (max-width: 600px) {
  .about-split .section-copy,
  .about-split.reverse .section-copy {
    order: 1;
  }
  .about-split .feature-image,
  .about-split.reverse .feature-image {
    order: 2;
    margin-top: -10px;
  }
  .switcher-tabs {
    gap: 4px;
    padding: 5px;
  }
  .switcher-tab {
    min-height: 47px;
    font-size: 12px;
  }
  .work-panel {
    min-height: 100vh;
    padding-block: 90px;
  }
  .work-panel p {
    font-size: 14px;
  }
  .contact-top {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .contact-map {
    margin-top: 34px;
  }
  .contact-map .map-caption {
    display: block;
  }
  .contact-map .map-caption .btn {
    margin-top: 20px;
  }
  .reveal-from-left,
  .reveal-from-right {
    transform: translateY(28px);
  }
  .reveal.is-visible {
    transform: translateY(0);
  }
}

/* Copy Account Row */
.account-number-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-copy-account {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface, #1e1e1e);
  border: 1px solid var(--border-subtle, #303030);
  color: var(--text-muted, #8e8e8e);
  border-radius: 6px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy-account:hover {
  border-color: var(--brand-blue, #38b6ff);
  color: var(--text-main, #f7f7f7);
}

.copy-feedback {
  display: none;
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  background: #2a2a2a;
  border: 1px solid var(--border-subtle, #303030);
  color: #4ade80;
  font-size: 0.72rem;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.btn-copy-account.copied .copy-feedback {
  display: block;
}

/* Multi-step Form Controls */
.form-stepper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle, #303030);
  gap: 8px;
}

.step-indicator {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted, #8e8e8e);
}

.step-indicator.active {
  color: var(--brand-blue, #38b6ff);
}

.step-actions {
  margin-top: 20px;
}

.step-actions.split-buttons {
  display: flex;
  gap: 12px;
}

.btn-prev {
  background: transparent;
  border: 1px solid var(--border-subtle, #303030);
  color: var(--text-muted, #8e8e8e);
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  cursor: pointer;
}

.btn-next {
  background: #2a2a2a;
  border: 1px solid var(--border-subtle, #303030);
  color: var(--text-main, #f7f7f7);
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  cursor: pointer;
  flex: 1;
}

/* Status Notifications */
.form-status {
  font-size: 0.85rem;
  margin-top: 10px;
  min-height: 1.2em;
}

.form-status.success {
  color: #4ade80;
}

.form-status.error {
  color: #f87171;
}

.form-status.success-expanded {
  margin-top: 1.5rem;
  min-height: auto;
}

.volunteer-success-box {
  /* background-color: var(--bg-surface, #1e1e1e);
  border: 1px solid var(--border-subtle, #303030);
  border-radius: var(--radius-md, 14px);
  padding: clamp(24px, 3vw, 36px); */
  text-align: left; /* Left-aligned feels more like an official memo than a promo card */
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.volunteer-success-box h4 {
  font-family: var(--font-cardo, 'Cardo', serif);
  font-size: 1.4rem;
  color: var(--text-main, #f7f7f7);
  margin: 0;
}

.volunteer-success-box p {
  color: var(--text-muted, #8e8e8e);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

.volunteer-success-box .community-pitch {
  color: var(--text-main, #f7f7f7);
  margin-top: 6px;
}

/* Subtle, high-contrast text link */
.link-whatsapp-inline {
  color: var(--brand-blue, #38b6ff);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
  white-space: nowrap;
}

.link-whatsapp-inline:hover {
  color: #fff;
  text-decoration-color: #fff;
}


/* Event Countdown Section */
.event-countdown-section {
  padding-block: clamp(40px, 6vw, 72px);
  background-color: var(--bg-base, #121212);
}

.countdown-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--bg-surface, #1e1e1e);
  border: 1px solid var(--border-subtle, #303030);
  border-radius: var(--radius-md, 16px);
  padding: clamp(28px, 4vw, 44px);
}

.event-meta {
  max-width: 540px;
}

.event-title {
  font-family: var(--font-cardo, 'Cardo', serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--text-main, #f7f7f7);
  line-height: 1.25;
  margin-top: 6px;
  margin-bottom: 10px;
}

.event-desc {
  color: var(--text-muted, #8e8e8e);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 16px;
}

/* .event-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-accent, #ffac4c);
  background: rgba(255, 172, 76, 0.08);
  border: 1px solid rgba(255, 172, 76, 0.2);
  padding: 4px 12px;
  border-radius: 50px;
} */

/* Clock Unit Display */
.countdown-clock {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Spreads items evenly */
  box-sizing: border-box;
  background: #000000;
  border: 1px solid var(--border-subtle, #303030);
  border-radius: 12px;
  padding: 24px 32px;
  gap: 10px; /* Reduced base gap */
  user-select: none;
}

.clock-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0px; /* The '0px' basis is the magic bullet for overflow */
  min-width: 0; 
}

.clock-value {
  font-family: var(--font-body);
  font-size: clamp(1.6rem, 7vw, 3.5rem);
  font-weight: 300;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.04em;
}

.clock-label {
  font-size: clamp(0.55rem, 2.5vw, 0.75rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666666;
  margin-top: 8px;
}

.clock-separator {
  font-family: ui-monospace, monospace;
  font-size: clamp(1.4rem, 6vw, 2.5rem);
  font-weight: 300;
  color: #333333;
  margin-top: -16px;
  flex-shrink: 0; 
}

/* Event Expired State */
.event-live-banner {
  font-family: var(--font-cardo, 'Cardo', serif);
  font-size: 1.35rem;
  color: var(--color-accent, #ffac4c);
  padding: 12px 24px;
}

@media (max-width: 860px) {
  .countdown-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .countdown-clock {
    width: 100%;
    justify-content: space-around;
  }
}
/* Meta Pills Row */
.event-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted, #8e8e8e);
  background: var(--bg-base, #121212);
  border: 1px solid var(--border-subtle, #303030);
  padding: 6px 14px;
  border-radius: 50px;
}

.meta-pill.highlight {
  color: #121212;
  background: var(--text-main, #f7f7f7);
  border-color: var(--text-main, #f7f7f7);
  font-weight: 500;
}

/* Clock Wrapper & Date Label */
.clock-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Aligns to the right on desktop */
  gap: 8px;
  width: 100%;
}

.target-date-display {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main, #f7f7f7);
  padding-right: 4px;
}

@media (max-width: 860px) {
  .clock-wrapper {
    align-items: flex-start;
    margin-top: 12px;
  }
}

@media (max-width: 500px) {
  .countdown-clock {
    padding: 16px 12px;
    gap: 4px;
  }
  .clock-separator {
    margin-top: -12px;
  }
}

/* Team Section */
.team-section {
  padding-block: clamp(60px, 8vw, 100px);
  background: var(--bg-base, #121212);
}

.team-header {
  max-width: 640px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.team-heading {
  font-family: var(--font-cardo, 'Cardo', serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--text-main, #f7f7f7);
  line-height: 1.2;
  margin-top: 8px;
  margin-bottom: 12px;
}

.team-subtitle {
  color: var(--text-muted, #8e8e8e);
  font-size: 1rem;
  line-height: 1.6;
}

/* 3-Column Responsive Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--bg-surface, #1e1e1e);
  border: 1px solid var(--border-subtle, #303030);
  border-radius: var(--radius-md, 16px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover, #444444);
}

/* Image Presentation with Muted Editorial Desaturation */
.team-photo-box {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background-color: #161616;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(25%);
  transition: filter 0.3s ease, transform 0.4s ease;
  position: top;
}

.team-card:hover .team-photo {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.team-details {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.team-unit {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent, #ffac4c);
  margin-bottom: 6px;
}

.team-name {
  font-family: var(--font-cardo, 'Cardo', serif);
  font-size: 1.4rem;
  color: var(--text-main, #f7f7f7);
  margin: 0 0 4px;
}

.team-role {
  color: var(--text-muted, #8e8e8e);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.team-socials {
  margin-top: auto;
  display: flex;
  gap: 12px;
}

.team-socials a {
  color: var(--text-muted, #8e8e8e);
  transition: color 0.2s ease;
}

.team-socials a:hover {
  color: var(--color-primary, #38b6ff);
}

@media (max-width: 960px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* Central Modal Takeover */
.dispatch-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 10000;
  background: #1c1c1c; /* Matches your dark card surface */
  border: 1px solid var(--border-subtle, #303030);
  border-radius: 16px;
  /* 100vmax shadow dims the entire screen instantly */
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.9), 0 0 0 100vmax rgba(0, 0, 0, 0.75);
  
  width: calc(100% - 32px);
  max-width: 580px; /* Wide enough to fit the clock beautifully */
  padding: 32px;
  
  transform: translate(-50%, calc(-50% + 40px)) scale(0.95);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.3s ease, 
              visibility 0.3s ease;
}

.dispatch-toast.is-visible {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}

.close-toast-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #2a2a2a;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8e8e8e;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.close-toast-btn:hover {
  background: #3a3a3a;
  color: #ffffff;
}

.toast-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Typography matching the main card */
.toast-eyebrow {
  color: #38b6ff; /* The exact blue from your image */
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.toast-title {
  font-family: var(--font-cardo, 'Cardo', serif);
  font-size: 1.8rem;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 8px 0;
}

.toast-desc {
  color: #8e8e8e;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.toast-date-wrapper {
  display: flex;
  justify-content: flex-end; /* Pushes date to the right above the clock */
  margin-top: 8px;
  margin-bottom: -8px; /* Tucks it closer to the black clock box */
}

.toast-pills {
  margin-top: 8px;
}

/* Mobile Adjustments */
@media (max-width: 500px) {
  .dispatch-toast {
    padding: 24px 16px;
  }
  .toast-date-wrapper {
    justify-content: flex-start;
  }
  .toast-title {
    font-size: 1.5rem;
  }
}

/* Bento CTA Container */
.toast-cta-bento {
  display: flex;
  flex-direction: column;
  gap: 10px; /* Tight spacing locks it into a cohesive block */
  margin-top: 24px;
  width: 100%;
}

/* Primary Button - Dominates the visual space */
.btnn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--text-main, #f7f7f7);
  color: #121212;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 16px;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btnn-primary:hover {
  background: var(--color-accent, #ffac4c);
  color: #121212;
  transform: translateY(-2px);
}

.btnn-primary:hover svg {
  transform: translateX(4px);
}

/* Split Row for Secondary Actions */
.cta-split-row {
  display: flex;
  gap: 10px;
  width: 100%;
}

/* Secondary Buttons - Recessed and subtle */
.btnn-secondary {
  flex: 1; /* Both buttons take up exactly half the space */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #242424; /* Slightly lighter than the modal background */
  color: #cac9c9;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 16px;
  border: 1px solid #a4a4a4;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btnn-secondary:hover {
  background: #333333;
  color: #ffffff;
  border-color: #555555;
}

/* Mobile Adjustments */
@media (max-width: 500px) {
  .toast-cta-bento {
    margin-top: 16px;
  }
  .btnn-primary {
    padding: 16px 10px;
    font-size: 0.95rem;
  }
  .btnn-secondary {
    padding: 12px 10px;
    font-size: 0.75rem;
  }
}

/* Telemetry Core */
.d-day-telemetry {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.telemetry-header {
  text-align: center;
  margin-bottom: 24px;
}

/* Static, brutalist live indicator */
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent, #ffac4c);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.static-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent, #ffac4c);
  border-radius: 50%;
}

.dispatch-title {
  font-family: var(--font-cardo, 'Cardo', serif);
  font-size: 2.5rem;
  color: #ffffff;
  margin: 0 0 16px 0;
  line-height: 1.1;
}

.dispatch-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #8e8e8e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.meta-divider {
  color: #444;
}

.last-updated {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #666;
}
.last-updated span {
  color: #ffffff;
}

/* Tracker Layout */
.tracker-container {
  display: flex;
  align-items: stretch;
}

.tracker-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
}

/* The Structural Divider */
.tracker-divider {
  width: 1px;
  background-color: #2a2a2a;
}

.tracker-title {
  font-family: var(--font-cardo);
  font-size: 1.4rem;
  color: #ffffff;
  margin: 0 0 40px 0;
}

/* SVG Rings */
.circular-progress-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
  margin-bottom: 40px;
}

.progress-ring {
  transform: rotate(-90deg);
}

.ring-bg {
  fill: transparent;
  stroke: #5c5c5c; /* Very dark grey */
  stroke-width: 14;
}

.ring-fill {
  fill: transparent;
  stroke-width: 14;
  stroke-linecap: round; /* Brutalist flat ends instead of rounded */
  transition: stroke-dashoffset 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.primary-ring {
  stroke: var(--color-accent, #ffac4c);
}

.overflow-ring {
  stroke: #38b6ff; /* Brand blue kicks in > 100% */
}

.ring-percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-body);
  font-size: 2.5rem;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: -0.05em;
}

/* Stats */
.tracker-stats {
  display: flex;
  justify-content: space-between;
  width: 100%;
  border-top: 1px solid #2a2a2a;
  padding-top: 24px;
  margin-bottom: 24px;
}

.stat-block {
  display: flex;
  flex-direction: column;
}

.stat-block.right {
  text-align: right;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #afafaf;
  margin-bottom: 8px;
}

.stat-val {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 600;
  color: #ffffff;
}

.stat-val small {
  font-size: 0.9rem;
  color: #8e8e8e;
}

/* Extra Context Text */
.tracker-note {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #8e8e8e;
  text-align: center;
  margin: 0;
  max-width: 300px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .tracker-container {
    flex-direction: column;
  }
  .tracker-block {
    padding: 20px 0;
  }
  .tracker-divider {
    width: 100%;
    height: 1px;
  }
  .meta-divider {
    display: none;
  }
}

@media (max-width: 550px) {
  .dispatch-meta {
    flex-direction: column;
    gap: 8px;
  }
}

/* Modal State Management */
.modal-state {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.modal-state.is-active {
  display: flex;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* D-Day Live Header Tweaks */
.live-header {
  text-align: center;
  padding: 24px 0 16px 0;
}

/* Reuse your pulse dot from the telemetry page */
/* .live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ff3b30;
  background: rgba(255, 59, 48, 0.1);
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
} */
.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--brand-orange);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* Minimal Directory Section */
.minimal-directory {
  padding: 40px 20px;
  background: var(--bg-surface, #121212);
  border-top: 1px solid #1a1a1a;
}

.directory-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.directory-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  font-size: 0.75rem;
  color: #555555; /* Very recessed */
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.directory-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.directory-list a {
  font-size: 1.1rem;
  font-weight: 500;
  color: #8e8e8e; /* Muted default state */
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

/* Hover Physics */
.directory-list a:hover {
  color: #ffffff; /* Snaps to attention */
}

.directory-list a .arrow {
  font-family: ui-monospace, monospace;
  font-size: 0.9rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.directory-list a:hover .arrow {
  transform: translate(2px, -2px); /* Snaps up and right */
  color: var(--color-accent, #ffac4c); /* Flashes orange */
}

/* Mobile Alignment */
@media (max-width: 500px) {
  .directory-list a {
    font-size: 1rem;
  }
}