[hidden] {
  display: none !important;
}
:root {
  --navy-950: #29447b;
  --navy-800: #29447be0;
  --navy-700: #1e3f70c0;
  --gold-500: #e9b52a;
  --gold-300: #e4c374;
  --paper-50: #f6f3eb;
  --paper-100: #efeadc;
  --ink-900: #1c1b18;
  --ink-600: #4a4a45;
  --sage-600: #6e7f5c;
  --clay-600: #d54727;
  --radius: 2px;
  --a11y-scale: 1;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: calc(16px * var(--a11y-scale));
}
body {
  background: var(--paper-50);
  color: var(--ink-900);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body.a11y-no-motion,
body.a11y-no-motion * {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
body.a11y-underline a {
  text-decoration: underline !important;
}
body.a11y-contrast {
  --paper-50: #000000;
  --paper-100: #111111;
  --ink-900: #ffffff;
  --ink-600: #ededed;
  --navy-950: #000000;
  --navy-800: #0d0d0d;
  --gold-500: #ffd65c;
  --gold-300: #ffe79a;
}
body.a11y-contrast img {
  filter: contrast(1.05) brightness(0.95);
}
body.a11y-contrast .weave {
  opacity: 1;
}

h1,
h2,
h3,
h4 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  color: var(--navy-950);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 500;
}
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}
section {
  padding: 96px 0;
}
@media (max-width: 720px) {
  section {
    padding: 64px 0;
  }
  .container {
    padding: 0 20px;
  }
}

.crumb {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.92rem;
  color: #e9b52a;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.crumb a {
  color: #e9b52a;
  border-bottom: 1px solid rgba(28, 27, 24, 0.3);
}
.crumb a:hover {
  color: var(--clay-600);
}
.crumb.light,
.crumb.light a {
  color: rgba(246, 243, 235, 0.85);
  border-color: rgba(246, 243, 235, 0.4);
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  font-weight: 600;
  color: var(--navy-950);
  border-bottom: 1px solid var(--gold-500);
  padding-bottom: 2px;
}
.text-link:hover {
  color: var(--clay-600);
}

/* ---------- NAVIGATION LOGO---------- */

.brand-logo-full {
  height: 52px;
  width: auto;
  object-fit: contain;
  border-radius: 5px;
  overflow: hidden;
}

/* ---------- NAV & MOBILE DRAWER ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-950, #29447b);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 32px;
  max-width: 1180px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
  display: block;
}

.mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gold-300);
  flex-shrink: 0;
}

.brand-name {
  font-family: "Fraunces", serif;
  font-size: 1.12rem;
  color: var(--paper-50);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.brand-name span {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--gold-300);
  text-transform: uppercase;
  margin-top: 1px;
}

#navMenu ul {
  list-style: none;
  display: flex;
  gap: 34px;
  align-items: center;
  margin: 0;
  padding: 0;
}

#navMenu a {
  font-size: 0.88rem;
  color: var(--paper-100);
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.2s,
    color 0.2s;
}

#navMenu a:hover,
#navMenu a:focus-visible,
#navMenu a.active {
  color: var(--gold-300);
  border-color: var(--gold-500);
}

.nav-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 36px !important;
  padding: 0 18px 2px 18px !important;
  line-height: 1 !important;
  background: var(--gold-500);
  color: var(--navy-950) !important;
  border-radius: var(--radius, 6px);
  font-weight: 600 !important;
  border-bottom: none !important;
  vertical-align: middle;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: var(--gold-300);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--paper-50);
  font-size: 1.75rem;
  padding: 6px;
  cursor: pointer;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.nav-toggle:hover {
  color: var(--gold-300);
}

@media (max-width: 860px) {
  #navMenu {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-inner {
    padding: 12px 20px;
  }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}

body.drawer-open {
  overflow: hidden !important;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
  z-index: 999;
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.thumb-dock {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(310px, calc(100vw - 36px));
  background-color: #29447b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  z-index: 1000;

  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -45%) scale(0.92);
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.thumb-dock.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.dock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dock-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted, #88928a);
  font-weight: 600;
}

.dock-close {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--paper-50, #ffffff);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background 0.2s ease;
}

.dock-close:hover {
  background: rgba(255, 255, 255, 0.18);
}

.dock-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dock-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 10px 14px;
  min-height: 46px;
  color: var(--text-light, #d1d5d2);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 12px;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.dock-link:active,
.dock-link.active {
  background: rgba(233, 181, 42, 0.15);
  color: var(--accent-gold, #e9b52a);
}

.dock-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.dock-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  padding: 12px 16px;
  min-height: 48px;
  background-color: var(--accent-gold, #e9b52a);
  color: var(--theme-bg-dark, #0d120f);
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  font-size: 0.98rem;
  transition:
    transform 0.15s ease,
    filter 0.15s ease;
}

.dock-btn:active {
  transform: scale(0.98);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  color: var(--paper-50);
  overflow: hidden;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--navy-950);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 32%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      270deg,
      rgba(11, 31, 58, 0.15) 0%,
      rgba(11, 31, 58, 0.75) 50%,
      var(--navy-950) 88%
    ),
    linear-gradient(0deg, var(--navy-950) 0%, transparent 25%);
}
.hero-content {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

  max-width: 1200px;
  margin-left: 40px;
  margin-right: auto;

  padding: 140px 32px 60px;
}

@media (max-width: 768px) {
  .hero-content {
    padding: 90px 20px 40px;
  }
}
.hero-text {
  max-width: 560px;
  text-align: left;
}
.hero .eyebrow {
  color: var(--gold-300);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}
.hero h1 {
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  color: var(--paper-50);
  margin: 18px 0 22px;
  text-shadow:
    0 2px 30px rgba(0, 0, 0, 0.55),
    0 1px 3px rgba(0, 0, 0, 0.4);
}
.hero p.lede {
  font-size: 1.08rem;
  color: var(--paper-100);
  margin-bottom: 32px;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.5);
}
.lede.light {
  color: var(--paper-100);
  max-width: 60ch;
  margin-top: 10px;
}
.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  transition:
    transform 0.15s,
    background 0.2s;
  border: none;
  cursor: pointer;
  font-family: "Inter", sans-serif;
}
.btn-primary {
  background: var(--gold-500);
  color: var(--navy-950);
}
.btn-primary:hover {
  background: var(--gold-300);
  transform: translateY(-1px);
}
.btn-ghost {
  border: 1px solid rgba(246, 243, 235, 0.35);
  color: var(--paper-50);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--gold-300);
  color: var(--gold-300);
}

.stat-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(246, 243, 235, 0.14);
  padding: 26px 0;
  background: rgba(11, 31, 58, 0.7);
  backdrop-filter: blur(2px);
}
.stat-strip .container {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.stat b {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.7rem;
  color: var(--gold-300);
  font-weight: 600;
}
.stat span {
  font-size: 0.8rem;
  color: var(--paper-100);
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }
  .hero-media {
    position: relative;
    height: 280px;
  }
  .hero-media img {
    height: 280px;
    object-position: 50% 30%;
  }
  .hero-scrim {
    background: linear-gradient(
      180deg,
      rgba(11, 31, 58, 0.15) 0%,
      rgba(11, 31, 58, 0.55) 60%,
      var(--navy-950) 100%
    );
    position: absolute;
  }
  .hero-content {
    justify-content: flex-start;
    padding: 32px 20px 40px;
  }
  .hero-text {
    max-width: none;
  }
}

/* ---------- SUBPAGE HERO ---------- */
.subhero {
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-800) 100%);
  color: var(--paper-50);
  padding: 64px 0 70px;
}
.subhero h1 {
  color: var(--paper-50);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 14px 0 18px;
  max-width: 22ch;
}
.subhero .lede {
  color: var(--paper-100);
  max-width: 58ch;
  font-size: 1.05rem;
}

/* ---------- PROGRAM HERO ---------- */
.program-hero {
  background-size: cover;
  background-position: center;
  color: var(--paper-50);
  padding: 90px 0 80px;
}
.program-hero h1 {
  color: var(--paper-50);
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  margin: 14px 0 16px;
  max-width: 18ch;
}
.program-hero .lede {
  color: var(--paper-100);
  max-width: 56ch;
  font-size: 1.05rem;
}
.program-hero .eyebrow {
  color: var(--gold-300);
}

/* ---------- MISSION ---------- */
.mission {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 860px) {
  .mission {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.mission h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 14px 0 20px;
}
.mission-quote {
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--navy-950);
  border-left: 2px solid var(--gold-500);
  padding-left: 22px;
  line-height: 1.45;
  font-style: italic;
}
.mission-body p {
  color: var(--ink-600);
  margin-bottom: 16px;
  max-width: 60ch;
}
.mission-body p:last-child {
  margin-bottom: 0;
}
.bullet-list {
  list-style: none;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bullet-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-600);
  font-size: 0.94rem;
}
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 2px;
  background: var(--gold-500);
}

/* ---------- PROGRAM CARDS ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}
.pcard {
  display: flex;
  flex-direction: column;
  background: var(--paper-50);
  border: 1px solid var(--paper-100);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 1px 2px rgba(11, 31, 58, 0.04);
}
.pcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(11, 31, 58, 0.12);
}
.pcard-img {
  height: 170px;
  background-size: cover;
  background-position: center;
}
.pcard-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.pcard-body .pillar-icon {
  width: 26px;
  height: 26px;
  color: var(--gold-500);
}
.pcard-body h3 {
  font-size: 1.08rem;
  font-weight: 500;
}
.pcard-body p {
  font-size: 0.9rem;
  color: var(--ink-600);
  flex: 1;
}
.pcard-link {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  color: var(--clay-600);
  letter-spacing: 0.02em;
  margin-top: 4px;
}

/* Dark variant used on homepage program section */
.programs {
  background: var(--navy-950);
  color: var(--paper-50);
}
.programs .eyebrow {
  color: var(--gold-300);
}
.programs h2 {
  color: var(--paper-50);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 14px 0 6px;
  max-width: 22ch;
}
.programs .pcard {
  background: var(--navy-800);
  border-color: rgba(246, 243, 235, 0.14);
}
.programs .pcard-body h3 {
  color: var(--paper-50);
}
.programs .pcard-body p {
  color: var(--paper-100);
  opacity: 0.85;
}
.pillar-icon.big {
  width: 44px;
  height: 44px;
  color: var(--gold-500);
}

/* ---------- APPROACH ---------- */
.approach {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--paper-100);
  border: 1px solid var(--paper-100);
}
@media (max-width: 760px) {
  .approach {
    grid-template-columns: 1fr;
  }
}
.approach-cell {
  background: var(--paper-50);
  padding: 36px 30px;
}
.approach-cell .eyebrow {
  color: var(--clay-600);
}
.approach-cell h3 {
  font-size: 1.15rem;
  margin: 10px 0 10px;
}
.approach-cell p {
  color: var(--ink-600);
  font-size: 0.94rem;
}

/* ---------- GLANCE ---------- */
.glance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--paper-100);
  border: 1px solid var(--paper-100);
  margin-top: 26px;
}
@media (max-width: 760px) {
  .glance-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.glance {
  background: var(--paper-50);
  padding: 26px 22px;
}
.glance b {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
  margin-bottom: 4px;
}
.glance span {
  font-size: 0.82rem;
  color: var(--ink-600);
}

/* ---------- BOARD ---------- */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px;
  background: var(--paper-100);
  border: 1px solid var(--paper-100);
}
.board-card {
  background: var(--paper-50);
  padding: 28px 24px;
}
.board-card .initial {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy-950);
  color: var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-weight: 600;
  margin-bottom: 16px;
}
.board-card h4 {
  font-size: 1.02rem;
  margin-bottom: 3px;
}
.board-card .role {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 10px;
}
.board-card .occ {
  font-size: 0.86rem;
  color: var(--ink-600);
}

.board-teaser-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) {
  .board-teaser-inner {
    grid-template-columns: 1fr;
  }
}
.board-teaser-inner h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 14px 0 16px;
}
.board-teaser-inner .lede {
  color: var(--ink-600);
  margin-bottom: 24px;
}
.board-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--paper-100);
  border: 1px solid var(--paper-100);
}
@media (max-width: 560px) {
  .board-mini-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- GALLERY ---------- */
.gallery-section {
  background: var(--paper-100);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 760px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
.gallery-item {
  background: var(--paper-50);
  border: 1px solid rgba(11, 31, 58, 0.08);
  overflow: hidden;
  border-radius: var(--radius);
}
.gallery-item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.gallery-item:hover img {
  transform: scale(1.04);
}
.gallery-item figcaption {
  padding: 12px 14px;
  font-size: 0.82rem;
  color: var(--ink-600);
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.01em;
}

/* ---------- PROGRAM PAGE NAV ---------- */
.prog-nav {
  padding: 56px 0 96px;
}
.prog-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--paper-100);
  padding-top: 36px;
}
.prog-nav-link {
  max-width: 220px;
}
.prog-nav-link span {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  color: var(--clay-600);
  margin-bottom: 4px;
}
.prog-nav-link b {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--navy-950);
}
.prog-nav-link.right {
  text-align: right;
  margin-left: auto;
}

/* ---------- INVOLVE ---------- */
.involve {
  background: var(--paper-100);
}
.involve-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .involve-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
.involve h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 14px 0 18px;
}
.involve p {
  color: var(--ink-600);
  margin-bottom: 26px;
  max-width: 52ch;
}
.ways-list {
  display: flex;
  flex-direction: column;
}
.way {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid rgba(11, 31, 58, 0.14);
}
.way:last-child {
  border-bottom: 1px solid rgba(11, 31, 58, 0.14);
}
.way h4 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 2px;
}
.way p {
  font-size: 0.85rem;
  color: var(--ink-600);
  margin: 0;
  max-width: none;
}
.way .arrow {
  color: var(--gold-500);
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-left: 16px;
}

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}
@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-info .footer-col p,
.contact-info .footer-col address {
  color: var(--ink-600);
  font-style: normal;
  line-height: 1.8;
}
.contact-info .eyebrow {
  margin-bottom: 8px;
  display: block;
}
.map-placeholder {
  height: 180px;
  background: repeating-linear-gradient(
    45deg,
    var(--paper-100),
    var(--paper-100) 10px,
    var(--paper-50) 10px,
    var(--paper-50) 20px
  );
  border: 1px solid var(--paper-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  color: var(--ink-600);
  border-radius: var(--radius);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--paper-50);
  padding: 32px;
  border: 1px solid var(--paper-100);
  border-radius: var(--radius);
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-950);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: "Inter", sans-serif;
  font-size: 0.94rem;
  padding: 11px 13px;
  border: 1px solid var(--paper-100);
  background: #fff;
  border-radius: var(--radius);
  color: var(--ink-900);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold-500);
}
.contact-form button {
  align-self: flex-start;
  margin-top: 6px;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--navy-950);
  color: var(--paper-100);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
  gap: 40px;
  padding: 80px 0 48px;
}

.footer-top h3 {
  color: var(--paper-50);
  font-size: 1.4rem;
  margin-bottom: 14px;
  max-width: 16ch;
}

.footer-top p {
  font-size: 0.92rem;
  opacity: 0.75;
  max-width: 38ch;
}

.footer-col .eyebrow {
  color: var(--gold-300);
  margin-bottom: 16px;
  display: block;
}

.footer-col p,
.footer-col address {
  font-style: normal;
  font-size: 0.92rem;
  opacity: 0.85;
  line-height: 1.8;
}

.footer-col a:hover {
  color: var(--gold-300);
}

.footer-bottom {
  border-top: 1px solid rgba(246, 243, 235, 0.12);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  opacity: 0.55;
  font-family: "IBM Plex Mono", monospace;
}

@media (max-width: 860px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
    padding: 60px 0 40px;
  }

  .footer-top h3,
  .footer-top p {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 48px 0 8px;
  }

  .footer-col {
    padding: 26px 0;
    border-bottom: 1px solid rgba(246, 243, 235, 0.12);
  }

  .footer-col:first-child {
    padding-top: 0;
  }

  .footer-col:last-child {
    border-bottom: none;
    padding-bottom: 36px;
  }

  .footer-top h3 {
    font-size: 1.25rem;
    position: relative;
    padding-left: 18px;
  }

  .footer-top h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.2em;
    bottom: 0.2em;
    width: 3px;
    background: var(--gold-500);
    border-radius: var(--radius);
  }

  .footer-col .eyebrow {
    margin-bottom: 10px;
  }

  .footer-col p,
  .footer-col address {
    line-height: 2;
  }

  .footer-col a {
    display: inline-block;
    padding: 2px 0;
    transition:
      color 0.15s ease,
      transform 0.15s ease;
  }

  .footer-col a:active {
    transform: translateX(2px);
  }

  .footer-bottom {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 18px 0 22px;
    opacity: 0.5;
  }
}

/* ---------- ACCESSIBILITY WIDGET ---------- */
.a11y-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
}
.a11y-fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy-950);
  color: var(--gold-300);
  border: 1.5px solid var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(11, 31, 58, 0.35);
  transition: transform 0.15s;
}
.a11y-fab:hover {
  transform: scale(1.06);
}
.a11y-panel {
  position: absolute;
  right: 0;
  bottom: 64px;
  width: 250px;
  background: var(--paper-50);
  border: 1px solid var(--paper-100);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(11, 31, 58, 0.22);
  padding: 20px;
}
.a11y-panel[hidden] {
  display: none;
}
.a11y-title {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--navy-950);
}
.a11y-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 0.86rem;
}
.a11y-btns {
  display: flex;
  gap: 6px;
}
.a11y-btns button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--paper-100);
  background: #fff;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy-950);
}
.a11y-btns button:hover {
  border-color: var(--gold-500);
}
.a11y-toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  margin-bottom: 12px;
  cursor: pointer;
  color: var(--ink-900);
}
.a11y-reset-all {
  width: 100%;
  margin-top: 6px;
  padding: 9px;
  border: 1px solid var(--paper-100);
  background: transparent;
  border-radius: var(--radius);
  font-size: 0.8rem;
  cursor: pointer;
  color: var(--clay-600);
  font-weight: 600;
}
.a11y-reset-all:hover {
  border-color: var(--clay-600);
}

/*
   ACCESSIBILITY | EXPANDED TOOLKIT
   */

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 1000;
  background: var(--gold-500);
  color: var(--navy-950);
  font-weight: 700;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 12px;
}

.a11y-status {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

body.a11y-readable-font,
body.a11y-readable-font h1,
body.a11y-readable-font h2,
body.a11y-readable-font h3,
body.a11y-readable-font h4 {
  font-family: "Atkinson Hyperlegible", "Inter", sans-serif !important;
}

body.a11y-spacing,
body.a11y-spacing p,
body.a11y-spacing li,
body.a11y-spacing a {
  line-height: 1.9 !important;
  letter-spacing: 0.02em !important;
  word-spacing: 0.14em !important;
}
body.a11y-spacing p {
  margin-bottom: 1.2em !important;
}

body.a11y-invert > header,
body.a11y-invert > .weave,
body.a11y-invert > main,
body.a11y-invert > footer {
  filter: invert(1) hue-rotate(180deg);
}

body.a11y-grayscale > header,
body.a11y-grayscale > .weave,
body.a11y-grayscale > main,
body.a11y-grayscale > footer {
  filter: grayscale(1);
}

/* Big cursor */
body.a11y-big-cursor,
body.a11y-big-cursor * {
  cursor:
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><path d="M6 3 L6 34 L14 26 L19 36 L24 34 L19 24 L30 24 Z" fill="black" stroke="white" stroke-width="2"/></svg>')
      4 4,
    auto !important;
}

body.a11y-focus a:focus-visible,
body.a11y-focus button:focus-visible,
body.a11y-focus input:focus-visible,
body.a11y-focus select:focus-visible,
body.a11y-focus textarea:focus-visible {
  outline: 3px solid #ff5a1f !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 6px rgba(255, 90, 31, 0.25) !important;
}

.a11y-reading-guide {
  position: fixed;
  left: 0;
  width: 100%;
  height: 44px;
  pointer-events: none;
  z-index: 150;
  background: rgba(201, 154, 59, 0.16);
  border-top: 2px solid var(--gold-500);
  border-bottom: 2px solid var(--gold-500);
  display: none;
}
body.a11y-guide-on .a11y-reading-guide {
  display: block;
}
body.a11y-guide-on {
  cursor: text;
}

.a11y-tts-active {
  outline: 2px dashed var(--clay-600);
  outline-offset: 4px;
  background: rgba(201, 154, 59, 0.08);
}

.a11y-panel {
  width: 290px;
  max-height: 80vh;
  overflow-y: auto;
}
.a11y-group {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--paper-100);
}
.a11y-group:last-of-type {
  border-bottom: none;
  margin-bottom: 8px;
  padding-bottom: 0;
}
.a11y-group-title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay-600);
  margin-bottom: 10px;
  display: block;
}
.a11y-tts-row {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}
.a11y-tts-row button {
  flex: 1;
  padding: 9px 8px;
  border: 1px solid var(--paper-100);
  background: #fff;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--navy-950);
  font-family: "Inter", sans-serif;
}
.a11y-tts-row button:hover {
  border-color: var(--gold-500);
}
.a11y-tts-row button[aria-pressed="true"] {
  background: var(--navy-950);
  color: var(--gold-300);
  border-color: var(--navy-950);
}

/* ---------- DONATE PAGE ---------- */
.donate-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 900px) {
  .donate-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.donate-story-card {
  background: var(--paper-50);
  border: 1px solid var(--paper-100);
  border-radius: var(--radius);
  padding: 28px;
}

.donate-story-card .story-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background-color: var(--navy-950);
  border-radius: var(--radius);
  margin-bottom: 20px;
  display: block;
}

.donate-story-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.donate-story-card p {
  color: var(--ink-600);
  font-size: 0.92rem;
  line-height: 1.6;
}

.impact-tiers {
  margin: 22px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.impact-item {
  border-left: 3px solid var(--gold-500);
  padding-left: 14px;
}

.impact-badge {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy-950);
  background: var(--paper-100);
  padding: 3px 8px;
  border-radius: var(--radius);
  margin-bottom: 4px;
}

.trust-badge-box {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--paper-100);
  font-size: 0.85rem;
}

.trust-subtext {
  font-size: 0.78rem !important;
  color: var(--ink-600);
  margin-top: 4px;
}

/* Currency selector */
.currency-selector-row {
  margin-top: 20px;
}

.currency-tabs {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.curr-btn {
  padding: 6px 12px;
  font-size: 0.8rem;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  background: #fff;
  border: 1px solid var(--paper-100);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--ink-900);
  transition: all 0.15s ease;
}

.curr-btn:hover {
  border-color: var(--gold-500);
}

.curr-btn.active {
  background: var(--navy-950);
  color: var(--gold-300);
  border-color: var(--navy-950);
}

/* Payment method selection */
.payment-method-block {
  margin-top: 22px;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.pay-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--paper-100);
  border-radius: var(--radius);
  font-size: 0.88rem;
  cursor: pointer;
  font-weight: 500;
}

.pay-option:hover {
  border-color: var(--gold-500);
}

.fee-cover-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--ink-600);
  cursor: pointer;
}

.fee-cover-label input {
  margin-top: 3px;
}

.give-card {
  background: #ffffff;
  border: 1px solid var(--paper-100);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.give-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.give-card-head h2 {
  margin: 0;
  font-size: 1.5rem;
}

.freq-toggle {
  display: inline-flex;
  background: var(--paper-100);
  padding: 4px;
  border-radius: 30px;
  gap: 2px;
}

.freq-btn {
  background: transparent;
  border: none;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-600);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.freq-btn:hover {
  color: var(--navy-950);
}

.freq-btn.active {
  background: #ffffff;
  color: var(--navy-950);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 16px;
}

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

.amount-btn {
  background: #ffffff;
  border: 1.5px solid var(--paper-100);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  color: var(--navy-950);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.amount-btn:hover {
  border-color: var(--gold-500);
  background: var(--paper-50);
}

.amount-btn.active {
  background: var(--navy-950);
  color: var(--gold-300);
  border-color: var(--navy-950);
  box-shadow: 0 4px 12px rgba(10, 25, 47, 0.15);
}

.custom-amount-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1.5px solid var(--paper-100);
  border-radius: var(--radius);
  margin-bottom: 16px;
  outline: none;
  transition: border-color 0.2s ease;
}

.custom-amount-input:focus {
  border-color: var(--gold-500);
}

.give-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-950);
  margin-top: 20px;
  margin-bottom: 20px;
}

.give-label select {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-family: inherit;
  background: #ffffff;
  border: 1.5px solid var(--paper-100);
  border-radius: var(--radius);
  color: var(--navy-950);
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease;
}

.give-label select:focus {
  border-color: var(--gold-500);
}

.give-submit {
  width: 100%;
  margin-top: 24px;
  padding: 14px 20px;
  font-size: 1rem;
  text-align: center;
  justify-content: center;
}

.give-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--ink-600);
  line-height: 1.5;
}

.map-container {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  margin-top: 12px;
}

.map-container iframe {
  display: block;
  width: 100%;
  border: 0;
}

.contact-form label > span {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.contact-form .required {
  display: inline !important;
  color: #e53e3e;
  margin-left: 2px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color, #ccc);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold-500, #e9b52a);
  box-shadow: 0 0 0 3px rgba(233, 181, 42, 0.2);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted, #94a3b8);
  opacity: 0.7;
  font-size: 0.9rem;
}

.contact-form select:invalid,
.contact-form select option[value=""][disabled] {
  color: var(--text-muted, #94a3b8);
}

.form-alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.form-alert.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-alert.alert-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

#contactSubmitBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-loader {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(13, 18, 15, 0.25);
  border-top-color: var(--navy-950, #0d120f);
  border-radius: 50%;
  animation: btnSpin 0.6s linear infinite;
}

@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

.form-state-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
}

@keyframes stateFade {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.state-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 340px;
  width: 100%;
}

.state-content h3 {
  font-size: 1.35rem;
  margin: 16px 0 8px 0;
  color: var(--text-heading, #0d120f);
}

.state-content p {
  font-size: 0.95rem;
  color: var(--text-muted, #555);
  margin-bottom: 24px;
  line-height: 1.5;
}

.state-spinner {
  width: 44px;
  height: 44px;
  border: 3.5px solid rgba(233, 181, 42, 0.2);
  border-top-color: var(--gold-500, #e9b52a);
  border-radius: 50%;
  animation: btnSpin 0.8s linear infinite;
}

.state-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.state-icon svg {
  width: 28px;
  height: 28px;
}

.state-icon.success {
  background: rgba(40, 167, 69, 0.12);
  color: #28a745;
}

.state-icon.error {
  background: rgba(220, 53, 69, 0.12);
  color: #dc3545;
}
