/* Doguicimi Foundation — "Show me the way" */
:root {
  --indigo: #0F2147;
  --indigo-2: #17306A;
  --blue: #1F5FA8;
  --sky: #9CC3EC;
  --gold: #F2A93B;
  --gold-deep: #D98A16;
  --mist: #EEF3F9;
  --ink: #18233A;
  --muted: #4A5872;
  --rule: #D5DEEA;
  --white: #FFFFFF;

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Fira Sans", "Segoe UI", Arial, sans-serif;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  --step-4: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem);
  --step-5: clamp(3rem, 1.6rem + 5.6vw, 6.25rem);

  --radius-lg: 22px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, blockquote, figure, ul { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--indigo); }
h2 { font-size: var(--step-4); letter-spacing: -.01em; }
h3 { font-size: var(--step-1); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 4px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--white); color: var(--indigo); padding: .6rem 1rem; border-radius: var(--radius-sm); }
.skip:focus { top: 1rem; }

.shell { width: min(100% - 3rem, 75rem); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section-intro { font-size: var(--step-1); color: var(--muted); margin-top: 1rem; max-width: 34em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: .75rem 1.5rem;
  border: 2px solid transparent; border-radius: 999px;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-sm { min-height: 42px; padding: .5rem 1.2rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--indigo); }
.btn-gold:hover { background: #FFBE5C; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--indigo); }
.btn-indigo { background: var(--indigo); color: var(--white); }
.btn-indigo:hover { background: var(--blue); }
.btn-outline { border-color: var(--indigo); color: var(--indigo); background: transparent; }
.btn-outline:hover { background: var(--indigo); color: var(--white); }
.text-link { font-weight: 600; }

/* Header */
.site-header {
  position: absolute; inset: 0 0 auto; z-index: 20;
  color: var(--white);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 6rem; }
.brand { display: inline-flex; align-items: center; gap: .85rem; color: inherit; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 52px; height: 52px; flex: none;
  background: var(--white); border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255,255,255,.18);
}
.brand-mark img { width: 38px; height: auto; }
.brand-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; line-height: 1; }
.brand-name span { display: block; font-family: var(--sans); font-size: .82rem; font-weight: 500; letter-spacing: .04em; margin-top: .3rem; opacity: .85; }
.site-nav { display: flex; align-items: center; gap: .25rem 1.75rem; }
.site-nav a:not(.btn) { color: inherit; text-decoration: none; font-weight: 500; padding-block: .4rem; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover { border-color: var(--gold); }
.site-nav .btn { margin-left: .5rem; }
.menu-toggle { display: none; }

/* Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 860px);
  display: flex; align-items: flex-end;
  color: var(--white); background: var(--indigo);
}
.hero-photo {
  position: absolute; top: 0; right: 0; bottom: 0; width: 60%; height: 100%;
  object-fit: cover; object-position: 60% 40%; z-index: -3;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
}
.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(0deg, rgba(15,33,71,.55) 0%, rgba(15,33,71,0) 30%),
    linear-gradient(180deg, rgba(15,33,71,.65) 0%, rgba(15,33,71,0) 20%);
}
.hero-path { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-path path {
  fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw-path 2.6s cubic-bezier(.55,.1,.25,1) .4s forwards;
}
.hero-path circle { fill: var(--gold); opacity: 0; animation: arrive .5s ease-out 2.9s forwards; }
@keyframes draw-path { to { stroke-dashoffset: 0; } }
@keyframes arrive { from { opacity: 0; transform: scale(.2); transform-origin: 1400px 520px; } to { opacity: 1; transform: scale(1); transform-origin: 1400px 520px; } }

.hero-inner { padding-block: 9rem clamp(4rem, 9vh, 6.5rem); }
.hero-kicker { font-size: var(--step-1); color: var(--sky); margin-bottom: 1.25rem; }
.hero-kicker em { font-family: var(--serif); font-style: italic; color: var(--white); }
.hero h1 {
  color: var(--white); font-size: var(--step-5); font-weight: 600;
  line-height: .98; letter-spacing: -.025em; max-width: 9ch;
}
.hero-lede { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.55; max-width: 30em; margin-top: 1.75rem; color: rgba(255,255,255,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.25rem; }
.photo-credit { position: absolute; right: 1.25rem; bottom: 1rem; font-size: .75rem; color: rgba(255,255,255,.7); }
.photo-credit a { color: inherit; }

/* Impact band */
.impact { background: var(--indigo); color: var(--white); border-top: 1px solid rgba(156,195,236,.18); }
.impact-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 2rem 4rem; align-items: center; padding-block: clamp(2.75rem, 5vw, 4rem); }
.impact-label { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; color: var(--white); line-height: 1.35; }
.impact-label span { display: block; font-weight: 400; color: var(--sky); margin-top: .3rem; }
.impact-sentence { font-family: var(--serif); font-size: var(--step-3); line-height: 1.3; color: rgba(255,255,255,.92); }
.impact-sentence strong {
  font-weight: 700; color: var(--gold); font-size: 1.45em;
  font-variant-numeric: lining-nums; line-height: 1; vertical-align: -.06em;
}

/* Mission */
.mission-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 3rem clamp(3rem, 7vw, 7rem); align-items: start; }
.statement { font-size: var(--step-4); line-height: 1.18; }
.prose { color: var(--muted); font-size: 1.125rem; max-width: 34em; }
.prose p + p { margin-top: 1.1rem; }
.founders {
  display: flex; align-items: center; gap: 1rem;
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--rule);
  color: var(--ink); font-size: 1rem;
}
.founders img { width: 40px; flex: none; }

/* Programs */
.programs { background: var(--mist); }
.programs-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 3rem clamp(3rem, 6vw, 6rem); align-items: start; }
.programs-photo { position: sticky; top: 2rem; }
.programs-photo img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; width: 100%; }
.programs-photo figcaption { font-size: .78rem; color: var(--muted); margin-top: .7rem; }
.programs-photo figcaption a { color: inherit; }
.program-list { margin-top: 2.5rem; border-top: 1px solid var(--rule); }
.program { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 1.25rem; padding-block: 1.75rem; border-bottom: 1px solid var(--rule); }
.program-icon { width: 56px; height: 56px; padding: 12px; border-radius: 50%; background: var(--white); stroke: var(--blue); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; fill: var(--sky); }
.program h3 { font-size: var(--step-2); }
.program p { color: var(--muted); margin-top: .4rem; }

details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }
.program details { margin-top: .75rem; }
.program summary { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--blue); }
.program summary::before {
  content: ""; width: .55rem; height: .55rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg); transition: transform .2s;
}
.program details[open] summary::before { transform: rotate(45deg); }
.program details p { color: var(--ink); }

.coming {
  margin-top: 2.5rem; padding: 1.75rem 2rem;
  border: 2px dashed #B3C6DE; border-radius: var(--radius-lg);
}
.coming h3 { font-size: var(--step-1); }
.coming p { color: var(--muted); margin-top: .5rem; }

/* Vision */
.vision { background: var(--blue); color: var(--white); position: relative; overflow: hidden; }
.vision::before {
  content: ""; position: absolute; right: -8rem; top: 50%; width: 34rem; height: 34rem; translate: 0 -50%;
  background: url("./emblem.webp") center / contain no-repeat;
  opacity: .1; filter: brightness(0) invert(1);
}
.vision-inner { position: relative; padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.vision blockquote p {
  font-family: var(--serif); font-weight: 500; font-size: var(--step-4); line-height: 1.22;
  max-width: 22em; color: var(--white);
}
.vision-note { margin-top: 1.75rem; color: var(--sky); font-weight: 500; padding-left: 3.5rem; position: relative; }
.vision-note::before { content: ""; position: absolute; left: 0; top: 50%; width: 2.5rem; height: 2px; background: var(--gold); }

/* Give */
.give-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 3rem clamp(3rem, 7vw, 7rem); align-items: center; }
.give-list { list-style: none; padding: 0; margin-top: 2.25rem; }
.give-list li { position: relative; padding: 1rem 0 1rem 2.25rem; border-top: 1px solid var(--rule); color: var(--muted); }
.give-list li:last-child { border-bottom: 1px solid var(--rule); }
.give-list li::before { content: ""; position: absolute; left: 0; top: 1.55rem; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.give-list strong { color: var(--ink); font-weight: 600; }
.give-card {
  background: var(--indigo); color: rgba(255,255,255,.88);
  border-radius: var(--radius-lg); padding: clamp(2rem, 4vw, 3rem);
  display: grid; gap: 1.1rem; justify-items: start;
}
.give-photo { margin: calc(-1 * clamp(2rem, 4vw, 3rem)) calc(-1 * clamp(2rem, 4vw, 3rem)) .75rem; }
.give-photo { margin-bottom: 1.25rem; }
.give-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.give-photo figcaption { font-size: .75rem; color: rgba(255,255,255,.6); padding: .6rem clamp(2rem, 4vw, 3rem) 0; }
.give-photo figcaption a { color: inherit; }
.give-card h3 { color: var(--white); font-size: var(--step-3); }
.give-card .text-link { color: var(--gold); }

/* Get involved */
.involved { background: var(--mist); }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 3rem; }
.way { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; }
.way::before { content: ""; display: block; width: 2.5rem; height: 5px; border-radius: 5px; background: var(--sky); margin-bottom: 1.25rem; }
.way:nth-child(2)::before { background: var(--blue); }
.way:nth-child(3)::before { background: var(--gold); }
.way h3 { font-size: var(--step-2); }
.way p { color: var(--muted); margin-top: .6rem; }
.involved-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.involved-actions p { color: var(--muted); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2.5rem clamp(3rem, 7vw, 7rem); align-items: start; }
.faq-grid h2 { position: sticky; top: 2rem; }
.faq-list { border-top: 1px solid var(--rule); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding-block: 1.35rem; font-weight: 600; font-size: 1.1rem; color: var(--indigo);
}
.faq-list summary::after {
  content: "+"; flex: none; display: grid; place-items: center;
  width: 2rem; height: 2rem; border-radius: 50%; background: var(--mist); color: var(--blue);
  font-size: 1.3rem; font-weight: 400; line-height: 1; transition: transform .25s, background-color .25s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--gold); color: var(--indigo); }
.faq-list details p { padding-bottom: 1.4rem; color: var(--muted); max-width: 38em; }

/* Footer */
.site-footer { background: var(--indigo); color: rgba(255,255,255,.78); padding-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1.5fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand .brand { color: var(--white); }
.footer-brand p { margin-top: 1.25rem; max-width: 22em; }
.footer-nav { display: grid; grid-template-columns: repeat(2, max-content); gap: .6rem 3rem; align-content: start; }
.footer-nav a, .site-footer a { color: var(--white); text-decoration: none; }
.footer-nav a:hover, .footer-base a:hover { text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; border-top: 1px solid rgba(156,195,236,.2); font-size: .9rem; }

/* Responsive */
@media (max-width: 1140px) {
  .menu-toggle {
    display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1.1rem;
    border: 2px solid rgba(255,255,255,.7); border-radius: 999px; background: transparent;
    color: var(--white); font: 600 1rem var(--sans); cursor: pointer;
  }
  .site-nav {
    display: none; position: absolute; top: 5.5rem; left: 1.5rem; right: 1.5rem;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-radius: var(--radius-lg); padding: 1rem 1.5rem 1.5rem;
    box-shadow: 0 24px 60px rgba(15,33,71,.35);
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { color: var(--indigo); padding-block: .85rem; border-bottom: 1px solid var(--rule); }
  .site-nav .btn { margin: 1rem 0 0; }
}

@media (max-width: 960px) {
  .impact-row, .mission-grid, .programs-grid, .give-grid, .faq-grid { grid-template-columns: 1fr; }
  .programs-photo { position: static; }
  .programs-photo img { aspect-ratio: 16 / 10; object-position: center 30%; }
  .faq-grid h2 { position: static; }
  .ways { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (min-width: 601px) and (max-width: 960px) {
  .hero-photo { width: 75%; }
  .hero-shade { background: linear-gradient(90deg, rgba(15,33,71,.9) 0%, rgba(15,33,71,.6) 45%, rgba(15,33,71,.1) 80%), linear-gradient(180deg, rgba(15,33,71,.6) 0%, rgba(15,33,71,0) 20%); }
}
@media (max-width: 600px) {
  .shell { width: min(100% - 2.25rem, 75rem); }
  .hero { min-height: 92svh; }
  .hero { align-items: stretch; flex-direction: column; justify-content: flex-end; }
  .hero-photo { width: 100%; height: 48%; bottom: auto; -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 40%); mask-image: linear-gradient(0deg, transparent 0%, #000 40%); }
  .hero-shade { background: linear-gradient(180deg, rgba(15,33,71,.6) 0%, rgba(15,33,71,0) 20%); }
  .hero-inner { padding-top: 42vh; }
  .hero-actions .btn { width: 100%; }
  .hero-path { display: none; }
  .photo-credit { left: 1.1rem; right: auto; }
  .brand-name { font-size: 1.2rem; }
  .footer-base { flex-direction: column; }
}

/* ===== Multi-page additions ===== */
.tinted { background: var(--mist); }
.site-nav a[aria-current="page"]:not(.btn) { border-color: var(--gold); }
.site-nav .btn[aria-current="page"] { box-shadow: 0 0 0 3px rgba(255,255,255,.5); }

/* Inner page hero */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--indigo); color: var(--white); }
.page-hero-inner { padding-block: 10rem clamp(3.5rem, 7vw, 5.5rem); }
.page-hero-inner > * { max-width: 44rem; }
.page-kicker { color: var(--sky); font-size: var(--step-1); margin-bottom: 1rem; }
.page-hero h1 { color: var(--white); font-size: clamp(2.6rem, 1.6rem + 4vw, 4.75rem); line-height: 1.02; letter-spacing: -.02em; }
.page-intro { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: rgba(255,255,255,.88); margin-top: 1.25rem; max-width: 34em; }
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold) 0 18%, transparent 18%);
}
.page-hero-photo {
  position: absolute; top: 0; right: 0; width: 50%; height: 100%; object-fit: cover; object-position: 60% 40%; z-index: -1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%); mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
}

/* Home program cards */
.program-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.program-card { display: block; background: var(--white); border-radius: var(--radius-lg); padding: 2rem; text-decoration: none; color: var(--ink); border: 1px solid transparent; transition: border-color .2s; }
.program-card:hover { border-color: var(--blue); }
.program-card h3 { margin-top: 1.25rem; font-size: var(--step-2); }
.program-card p { color: var(--muted); margin-top: .5rem; }
.program-card .program-icon { background: var(--mist); }

/* Latest activity on home */
.latest-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2.5rem clamp(3rem, 6vw, 6rem); align-items: center; }
.latest-grid .btn { margin-top: 2rem; }
.latest-video, .video-frame { border-radius: var(--radius-lg); overflow: hidden; background: var(--indigo); aspect-ratio: 16 / 9; }
.latest-video video, .latest-video iframe, .video-frame video, .video-frame iframe { display: block; width: 100%; height: 100%; border: 0; object-fit: cover; background: #000; }

/* CTA band */
.cta-band { background: var(--indigo); color: var(--white); }
.cta-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-band h2 { color: var(--white); font-size: var(--step-3); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--indigo); }

/* Activities */
.video-card.is-feature { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2rem 3rem; align-items: center; }
.video-card.is-feature h2 { font-size: var(--step-3); }
.video-body p { color: var(--muted); margin-top: .6rem; }
.video-body .video-date { color: var(--blue); font-weight: 600; margin-top: .4rem; }
.video-list-title { font-size: var(--step-3); margin: 4.5rem 0 1.75rem; padding-top: 3rem; border-top: 1px solid var(--rule); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 2.5rem 1.75rem; }
.video-grid .video-body { margin-top: 1rem; }
.video-grid h3 { font-size: var(--step-1); }
.video-empty { color: var(--muted); font-size: var(--step-1); }

/* Fundraising */
.fund-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem clamp(3rem, 6vw, 6rem); align-items: end; }
.donate-box {
  background: var(--white); color: var(--ink); border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
  display: grid; gap: 1rem; box-shadow: 0 30px 60px rgba(0,0,0,.25);
}
.donate-box h2 { font-size: var(--step-3); }
.donate-box #donation-status { color: var(--muted); }
.campaign { padding-bottom: 1.25rem; border-bottom: 1px solid var(--rule); }
.campaign-name { font-weight: 600; color: var(--indigo); }
.campaign-bar { height: 12px; border-radius: 999px; background: var(--mist); overflow: hidden; margin: .75rem 0 .5rem; }
.campaign-bar span { display: block; height: 100%; width: 0; background: var(--gold); border-radius: inherit; transition: width .8s ease-out; }
.campaign-numbers { color: var(--muted); font-size: .95rem; }
.campaign-numbers strong { color: var(--indigo); font-size: 1.2rem; }
.supports-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem clamp(3rem, 6vw, 6rem); align-items: center; }
.supports-photo img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.supports-photo figcaption { font-size: .8rem; color: var(--muted); margin-top: .6rem; }
.ways-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ways-cta { margin-top: 2.5rem; }

/* Get involved contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem clamp(3rem, 6vw, 6rem); align-items: center; }
.contact-card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; display: grid; gap: 1rem; justify-items: start; }
.contact-card p { color: var(--muted); }
.contact-place strong { color: var(--indigo); }
.footer-place p { margin-bottom: .6rem; }

@media (max-width: 1100px) { .ways-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .program-cards, .latest-grid, .video-card.is-feature, .fund-hero-grid, .supports-grid, .contact-grid { grid-template-columns: 1fr; }
  .page-hero-photo { width: 100%; opacity: .28; -webkit-mask-image: none; mask-image: none; }
  .donate-box { margin-bottom: 3.5rem; }
  .fund-hero-grid .page-hero-inner { padding-bottom: 0; }
}
@media (max-width: 600px) {
  .ways-4 { grid-template-columns: 1fr; }
  .page-hero-inner { padding-top: 8rem; }
}


/* ===== Story, mission, gallery, leadership ===== */
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3rem clamp(3rem, 6vw, 6rem); align-items: center; }
.story-photo img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 5 / 4; object-fit: cover; }
.story-grid .statement + .prose { margin-top: 1.75rem; }

.equation {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em .35em;
  font-family: var(--serif); font-weight: 600; color: var(--indigo);
  font-size: clamp(2rem, 1rem + 4.2vw, 4.4rem); line-height: 1.1; letter-spacing: -.02em;
  margin-top: 2rem;
}
.equation .op { color: var(--gold); font-weight: 500; }
.equation .result { color: var(--blue); }
.matters-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 3rem; margin-top: 2.75rem; padding-top: 2rem; border-top: 1px solid var(--rule); }
.matters-grid p { color: var(--muted); font-size: 1.1rem; }

.home-programs { background: var(--white); }
.home-programs .program-card { background: var(--mist); }
.home-programs .program-card .program-icon { background: var(--white); }

.moments-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem 2rem; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.25rem; }
.gallery-home { grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 15rem 15rem; }
.gallery-home .gallery-item:first-child { grid-row: span 2; }
.gallery-item { display: block; overflow: hidden; border-radius: var(--radius-sm); background: var(--indigo); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .4s ease; }
.gallery-home .gallery-item img { aspect-ratio: auto; }
.gallery-item:hover img { transform: scale(1.03); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1200px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(15,33,71,.88); }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: var(--radius-sm); display: block; margin: 0 auto; }
.lightbox-close { display: block; margin: 0 0 .75rem auto; background: var(--white); color: var(--indigo); border: 0; border-radius: 999px; padding: .5rem 1.1rem; font: 600 .95rem var(--sans); cursor: pointer; }

.name-band { background: var(--indigo); color: rgba(255,255,255,.88); }
.name-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2rem clamp(3rem, 6vw, 6rem); align-items: center; padding-block: clamp(4rem, 8vw, 6.5rem); }
.name-band h2 { color: var(--white); margin-bottom: 1rem; }
.name-band em { font-family: var(--serif); color: var(--gold); font-style: italic; }
.name-band blockquote p { font-family: var(--serif); font-size: var(--step-3); line-height: 1.3; color: var(--white); padding-left: 1.75rem; border-left: 3px solid var(--gold); }

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding: 1rem 0 1rem 2.4rem; border-bottom: 1px solid var(--rule); color: var(--ink); font-size: 1.08rem; }
.check-list li:first-child { border-top: 1px solid var(--rule); }
.check-list li::before { content: ""; position: absolute; left: .2rem; top: 1.35rem; width: .95rem; height: .5rem; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }

.leaders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem clamp(2rem, 4vw, 3.5rem); margin-top: 2.75rem; }
.leader { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 0 1.75rem; align-items: start; }
.leader-photo { grid-row: span 4; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: var(--radius-lg); background: #2a2d33; }
.leader h3 { font-size: var(--step-2); }
.leader-role { color: var(--blue); font-weight: 600; margin-top: .35rem; }
.leader p:not(.leader-role) { color: var(--muted); margin-top: .9rem; }

.workshop-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem clamp(3rem, 6vw, 6rem); align-items: start; }
.workshop-photo { margin-top: 2rem; }
.workshop-photo img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 0 0 2rem 4rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -.2rem;
  width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--indigo); color: var(--gold); font: 700 1.1rem var(--serif);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 1.28rem; top: 2.7rem; bottom: .3rem; width: 2px; background: var(--rule); }
.steps h3 { font-size: var(--step-1); }
.steps p { color: var(--muted); margin-top: .35rem; }

@media (max-width: 960px) {
  .story-grid, .name-grid, .workshop-grid, .leaders { grid-template-columns: 1fr; }
  .matters-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-home { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .gallery-home .gallery-item:first-child { grid-row: auto; grid-column: span 2; }
  .gallery-home .gallery-item img { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  .leader { grid-template-columns: 1fr; }
  .leader-photo { grid-row: auto; max-width: 15rem; margin-bottom: 1.25rem; }
}


/* ===== Mentor stories, team, events ===== */
.site-nav { gap: .25rem 1.4rem; }
.impact-link { display: inline-block; margin-top: .9rem; color: var(--gold); font-weight: 600; font-size: .95rem; }

.board-title { font-size: var(--step-2); margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid var(--rule); }
.members { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem 1.5rem; margin-top: 2rem; }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); background: var(--mist); }
.member h3 { font-size: 1.1rem; margin-top: 1rem; }
.member-role { color: var(--blue); font-weight: 600; font-size: .95rem; margin-top: .3rem; }
.member-job { color: var(--muted); font-size: .95rem; margin-top: .2rem; }

.year-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.year-card { display: block; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .2s; }
.year-card:hover { border-color: var(--blue); }
.year-card > img, .year-card-blank { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.year-card-blank { display: grid; place-items: center; background: var(--indigo); }
.year-card-blank img { width: 22%; opacity: .9; background: var(--white); border-radius: 50%; padding: 4%; box-sizing: content-box; }
.year-card-body { padding: 1.75rem 2rem 2rem; }
.year-num { font-family: var(--serif); font-size: clamp(3rem, 2rem + 3vw, 4.5rem); font-weight: 600; color: var(--indigo); line-height: 1; }
.year-meta { color: var(--muted); margin: .6rem 0 1.2rem; }
.cta-inline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }

.year-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.year-nav a { color: var(--white); text-decoration: none; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: .35rem 1rem; font-weight: 500; font-size: .95rem; }
.year-nav a:hover { border-color: var(--white); }
.year-nav a[aria-current="page"] { background: var(--gold); color: var(--indigo); border-color: var(--gold); }
.year-hero .page-hero-inner { padding-top: 8.5rem; }

.numbers { background: var(--indigo); color: var(--white); border-top: 1px solid rgba(156,195,236,.18); }
.numbers-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; padding-block: clamp(2.5rem, 5vw, 3.5rem); margin: 0; }
.numbers-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.numbers-grid div { display: flex; flex-direction: column; }
.numbers-grid dd { order: -1; margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.6rem); color: var(--gold); line-height: 1; }
.numbers-grid dt { font-weight: 600; margin-top: .6rem; }
.numbers-grid p { color: var(--sky); font-size: .95rem; margin-top: .2rem; }

.mentor-list { display: grid; gap: 2.5rem; margin-top: 2.75rem; }
.mentor { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 1rem 2.5rem; align-items: start; padding-bottom: 2.5rem; border-bottom: 1px solid var(--rule); }
.mentor:last-child { border-bottom: 0; padding-bottom: 0; }
.mentor > img, .mentor-noimg { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.mentor-noimg { background: var(--mist) url("./emblem.webp") center / 30% no-repeat; }
.mentor h3 { font-size: var(--step-2); }
.mentor-title { color: var(--blue); font-weight: 600; margin-top: .3rem; }
.mentor-facts { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.mentor-facts li + li { margin-top: .4rem; }
.mentor-quote { margin-top: 1.5rem; padding: 1.25rem 1.5rem; background: var(--mist); border-left: 4px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.tinted .mentor-quote { background: var(--white); }
.mentor-quote p { font-family: var(--serif); font-size: var(--step-1); line-height: 1.45; color: var(--indigo); }
.mentor-quote footer { font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.mentor-list-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.mentor-list-compact .mentor { grid-template-columns: 1fr; border: 0; padding: 0; }
.mentor-list-compact .mentor > img, .mentor-list-compact .mentor-noimg { max-width: 12rem; }

.scholars-grid, .thanks-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem clamp(3rem, 6vw, 6rem); align-items: start; }
.awards { list-style: none; padding: 0; margin-top: 2rem; }
.awards li { display: flex; justify-content: space-between; padding: .85rem 0; border-bottom: 1px solid var(--rule); }
.awards li:first-child { border-top: 1px solid var(--rule); }
.awards strong { font-family: var(--serif); font-size: 1.3rem; color: var(--indigo); }
.awards-note { color: var(--muted); font-size: .95rem; margin-top: 1rem; }
.scholars-photo img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 3 / 2; object-fit: cover; }
.scholars-photo figcaption { font-size: .85rem; color: var(--muted); margin-top: .6rem; }
.thanks-grid h3 { font-size: var(--step-1); margin-top: 1.5rem; }
.thanks-grid h3:first-child { margin-top: 0; }
.name-list { color: var(--ink); margin-top: .5rem; font-size: 1.05rem; }

.meet-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.25rem; }
.meet-row a { text-decoration: none; color: var(--ink); }
.meet-row img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.meet-row strong { display: block; margin-top: .8rem; font-family: var(--serif); font-size: 1.05rem; color: var(--indigo); }
.meet-row span { display: block; color: var(--muted); font-size: .92rem; }

.upcoming { background: var(--white); border-top: 1px solid var(--rule); }
.upcoming-grid { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: 2.5rem clamp(3rem, 6vw, 5rem); align-items: center; padding-block: clamp(4rem, 8vw, 6rem); }
.upcoming-flyer img { width: 100%; border-radius: var(--radius-sm); box-shadow: 0 20px 50px rgba(15,33,71,.2); }
.upcoming-kicker { display: inline-block; background: var(--gold); color: var(--indigo); font-weight: 600; font-size: .9rem; padding: .25rem .8rem; border-radius: 999px; }
.upcoming h2 { margin-top: 1rem; }
.upcoming-sub { font-size: var(--step-1); color: var(--muted); margin-top: .5rem; }
.upcoming-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 1rem 2.5rem; margin: 1.75rem 0; padding: 1.25rem 0; border-block: 1px solid var(--rule); }
.upcoming-facts dt { font-size: .85rem; color: var(--muted); }
.upcoming-facts dd { margin: .2rem 0 0; font-weight: 600; color: var(--indigo); }
.upcoming-grid > div > p:last-child { color: var(--muted); max-width: 38em; }

@media (max-width: 1100px) { .members { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .year-cards, .scholars-grid, .thanks-grid, .upcoming-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .meet-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mentor-list-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .upcoming-flyer { max-width: 16rem; }
  .upcoming-facts { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .members, .meet-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mentor { grid-template-columns: 1fr; }
  .mentor > img, .mentor-noimg { max-width: 14rem; }
  .numbers-3 { grid-template-columns: 1fr; }
  .mentor-list-compact { grid-template-columns: 1fr; }
}


/* ===== Contact form, year labels ===== */
.gallery-item { position: relative; }
.year-badge { position: absolute; left: .6rem; top: .6rem; background: rgba(15,33,71,.85); color: var(--white); font-size: .78rem; font-weight: 600; padding: .15rem .6rem; border-radius: 999px; }
.gallery-2col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-2col .gallery-item img { aspect-ratio: 3 / 2; }
.photo-year { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; font-size: var(--step-2); margin-top: 2.5rem; }
.photo-year .text-link { font-family: var(--sans); font-size: 1rem; }
.photo-year + .gallery { margin-top: 1.25rem; }

.way { display: flex; flex-direction: column; align-items: flex-start; }
.way p { flex: 1; }
.way-btn { margin-top: 1rem; display: inline-flex; align-items: center; min-height: 44px; padding: .55rem 1.1rem; border-radius: 999px; border: 2px solid var(--indigo); color: var(--indigo); font-weight: 600; text-decoration: none; }
.way-btn + .way-btn { margin-top: .6rem; }
.way-btn:hover { background: var(--indigo); color: var(--white); }

#contact { scroll-margin-top: 1rem; }
.contact-grid { align-items: start; }
.contact-side .contact-card { margin-top: 2rem; }
.contact-label { font-size: .85rem; color: var(--muted); }
.contact-card a { font-weight: 600; word-break: break-word; }
.contact-photo { margin-top: 1.5rem; }
.contact-photo img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: 1.25rem; box-shadow: 0 20px 50px rgba(15,33,71,.08); scroll-margin-top: 1rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.field { display: grid; gap: .4rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; color: var(--indigo); font-size: .98rem; padding: 0; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 1.5px solid #C3CFDE; border-radius: var(--radius-sm); padding: .7rem .85rem; min-height: 48px;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,95,168,.18); }
.choices { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .5rem; }
.choices label { display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; color: var(--ink); border: 1.5px solid #C3CFDE; border-radius: 999px; padding: .45rem .95rem; cursor: pointer; }
.choices label:has(input:checked) { border-color: var(--blue); background: rgba(31,95,168,.08); color: var(--indigo); }
.choices input { accent-color: var(--blue); width: 1rem; height: 1rem; }
.contact-form .btn { justify-self: start; }
.form-error { color: #A12B2B; font-weight: 500; }
.form-success { background: rgba(31,95,168,.08); border-left: 4px solid var(--blue); padding: 1rem 1.25rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.footer-contact { display: block; margin-top: .4rem; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } .gallery-2col { grid-template-columns: 1fr; } }


/* ===== Sharp photo set ===== */
.hero-photo { object-position: 32% 55%; }
.story-photo img.tall { aspect-ratio: 4 / 5; object-position: center 30%; max-height: 40rem; }
.scholars-photo img.tall { aspect-ratio: 4 / 5; object-position: center 30%; }
.programs-photo img { object-position: center 30%; }
.gallery-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-3 .gallery-item img { aspect-ratio: 4 / 5; object-position: center 30%; }
.gallery-home .gallery-item img, .gallery .gallery-item img { object-position: center 30%; }
.numbers-grid dd { white-space: nowrap; }
@media (max-width: 600px) { .gallery-3 { grid-template-columns: 1fr; } .hero-photo { object-position: 30% center; } }


.hero-photo.hero-illus { object-position: 100% 60%; }
@media (max-width: 600px) { .hero-photo.hero-illus { object-position: 88% 70%; } }
.hero-photo.hero-students { object-position: 45% 30%; }
@media (max-width: 600px) { .hero-photo.hero-students { object-position: 50% 25%; } }
/* ===== Year page template ===== */
.gallery-year { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-year .gallery-item img { aspect-ratio: 4 / 3; object-position: center 30%; }
.scholars-photo img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center 25%; }
@media (max-width: 600px) { .gallery-year { grid-template-columns: 1fr; } }


/* ===== Hero: full photo, text on the left ===== */
.hero { min-height: min(100svh, 860px); align-items: flex-end; }
.hero-photo.hero-students {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: none; mask-image: none; border-radius: 0; box-shadow: none; outline: none;
  object-position: 60% 30%; z-index: -2;
}
.hero .hero-shade {
  display: block; z-index: -1;
  background:
    linear-gradient(90deg, rgba(15,33,71,.94) 0%, rgba(15,33,71,.74) 38%, rgba(15,33,71,0) 68%),
    linear-gradient(0deg, rgba(15,33,71,.6) 0%, rgba(15,33,71,0) 40%),
    linear-gradient(180deg, rgba(15,33,71,.55) 0%, rgba(15,33,71,0) 18%);
}
.hero .hero-path { display: none; }
.hero-kicker { color: var(--gold); font-weight: 600; letter-spacing: .02em; }
.hero h1 { max-width: 13ch; font-size: clamp(2.6rem, 1.4rem + 3.8vw, 5rem); line-height: 1.04; }
.hero-inner > * { max-width: 38rem; }
.hero h1 { max-width: 13ch; }
@media (max-width: 960px) {
  .hero .hero-shade { background: linear-gradient(90deg, rgba(15,33,71,.92) 0%, rgba(15,33,71,.6) 60%, rgba(15,33,71,.2) 100%), linear-gradient(180deg, rgba(15,33,71,.55) 0%, rgba(15,33,71,0) 18%); }
}
@media (max-width: 600px) {
  .hero { min-height: 100svh; }
  .hero-photo.hero-students { object-position: 52% 20%; }
  .hero .hero-shade { background: linear-gradient(0deg, rgba(15,33,71,.97) 0%, rgba(15,33,71,.85) 50%, rgba(15,33,71,.15) 85%, rgba(15,33,71,.5) 100%); }
  .hero-inner > * { max-width: none; }
}

/* ===== Upcoming events ===== */
.upcoming { padding-block: clamp(4rem, 8vw, 6rem); }
.upcoming-heading { margin-bottom: 2rem; }
.upcoming .upcoming-grid { display: none; }
.event-card { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1.5rem 2.5rem; align-items: start; padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--rule); border-radius: var(--radius-lg); background: var(--white); }
.event-card + .event-card { margin-top: 1.5rem; }
.event-card-flyer { grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); background: var(--mist); border-color: transparent; }
.event-date { display: grid; justify-items: center; align-content: center; gap: .1rem; aspect-ratio: 1; background: var(--indigo); color: var(--white); border-radius: var(--radius-lg); text-transform: none; }
.event-date span { font-weight: 600; color: var(--sky); }
.event-date strong { font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--gold); }
.event-main h3 { font-size: var(--step-3); margin-top: .9rem; }
.event-main .upcoming-facts { grid-template-columns: repeat(3, auto); }
.event-desc { color: var(--muted); max-width: 40em; }
.event-desc + .event-actions { margin-top: 1.25rem; }
.event-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.year-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.year-card-next .year-card-blank { background: linear-gradient(135deg, var(--indigo), var(--blue)); }
.next-date { color: var(--gold); font-family: var(--serif); font-size: 1.4rem; font-weight: 600; text-align: center; padding: 1rem; }
.year-card-next { border-style: dashed; border-color: var(--blue); }
@media (max-width: 960px) {
  .event-card, .event-card-flyer { grid-template-columns: 1fr; }
  .event-date { width: 7rem; }
  .event-main .upcoming-facts { grid-template-columns: 1fr; }
  .year-cards { grid-template-columns: 1fr; }
  .event-card-flyer .upcoming-flyer { max-width: 14rem; }
}


/* ===== Our mothers section ===== */
.mothers { background: var(--white); color: var(--muted); padding-block: clamp(5rem, 9vw, 8rem); }
.mothers-head { max-width: 46rem; }
.mothers-kicker { color: var(--gold-deep); font-weight: 600; margin-bottom: 1rem; }
.mothers-head h2 { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.3rem); line-height: 1.12; }
.mothers-lede { font-size: 1.15rem; margin-top: 1.5rem; max-width: 38em; }
.mother-story { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: 2.5rem clamp(3rem, 6vw, 6rem); align-items: center; margin-top: clamp(4rem, 7vw, 6rem); }
.mother-story-reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); }
.mother-story-reverse .mother-portrait { order: 2; }
.mother-story-reverse .mother-text { justify-self: end; }
.mother-portrait { position: relative; margin: 0; }
.mother-portrait { padding: 0 1.25rem 1.25rem 0; }
.mother-portrait::before { content: ""; position: absolute; inset: 1.25rem 0 0 1.25rem; background: var(--mist); border-radius: var(--radius-lg); z-index: 0; }
.mother-portrait img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: var(--radius-lg); box-shadow: 0 18px 40px rgba(15,33,71,.14); }
.mother-story-reverse .mother-portrait { padding: 0 0 1.25rem 1.25rem; }
.mother-story-reverse .mother-portrait::before { inset: 1.25rem 1.25rem 0 0; }
.mother-tag { display: inline-block; font-family: var(--serif); font-style: italic; font-size: .95rem; padding: .3rem .9rem; border-radius: 999px; margin-bottom: .9rem; }
.tag-gold { background: rgba(242,169,59,.18); color: #8A5A0B; }
.tag-memory { background: var(--indigo); color: var(--gold); }
.mother-text .mother-relation { margin-top: .4rem; font-size: 1.05rem; }
.memorial-ribbon, .inspiration-tag { position: absolute; left: 50%; bottom: -1rem; transform: translateX(-50%); white-space: nowrap; padding: .45rem 1.1rem; border-radius: 999px; font-family: var(--serif); font-style: italic; font-size: .98rem; }
.memorial-ribbon { background: var(--indigo); color: var(--gold); }
.inspiration-tag { background: var(--gold); color: var(--indigo); }
.mother-text { max-width: 34rem; }
.mother-relation { color: var(--blue); font-family: var(--serif); font-style: italic; font-size: 1.1rem; }
.mother-text h3 { font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); margin-top: .3rem; }
.mother-text .memorial-date { font-size: .95rem; color: var(--muted); margin-top: .4rem; }
.mother-text p:not(.mother-relation):not(.memorial-date) { font-size: 1.12rem; margin-top: 1.1rem; }
.mother-lesson { padding-left: 1.1rem; border-left: 3px solid var(--gold); color: var(--indigo) !important; font-family: var(--serif); font-style: italic; }
.mothers-close { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; margin-top: clamp(4rem, 7vw, 6rem); padding-top: 2.5rem; border-top: 1px solid var(--rule); }
.mothers-quote { margin: 0; max-width: 40rem; }
.mothers-quote p { font-family: var(--serif); font-style: italic; font-size: var(--step-2); color: var(--indigo); line-height: 1.4; }
@media (max-width: 760px) {
  .mother-story, .mother-story-reverse { grid-template-columns: 1fr; }
  .mother-story-reverse .mother-portrait { order: 0; }
  .mother-story-reverse .mother-text { justify-self: start; }
  .mother-portrait { max-width: 18rem; }
}


/* ===== Sponsor, donor resources, careers ===== */
.sponsor-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: 3rem clamp(3rem, 6vw, 5rem); align-items: start; }
.req { color: #A12B2B; }
.tiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: .9rem; margin-top: .9rem; }
.tier { position: relative; cursor: pointer; }
.tier input { position: absolute; opacity: 0; inset: 0; }
.tier-body { display: grid; gap: .2rem; padding: 1.1rem 1.2rem; border: 2px solid #C3CFDE; border-radius: var(--radius-sm); background: var(--white); height: 100%; transition: border-color .15s, background-color .15s; }
.tier-amount { font-family: var(--serif); font-size: 1.8rem; font-weight: 700; color: var(--indigo); line-height: 1.1; }
.tier-name { color: var(--muted); font-weight: 500; }
.tier input:checked + .tier-body { border-color: var(--gold); background: rgba(242,169,59,.1); box-shadow: inset 0 0 0 1px var(--gold); }
.tier input:focus-visible + .tier-body { outline: 3px solid var(--blue); outline-offset: 2px; }
.other-amount { margin-top: 1rem; max-width: 14rem; }
.check { display: flex; gap: .6rem; align-items: center; color: var(--ink); }
.check input { width: 1.1rem; height: 1.1rem; accent-color: var(--blue); }
.sponsor-side { background: var(--mist); border-radius: var(--radius-lg); padding: 2rem; display: grid; gap: 1.25rem; }
.sponsor-side h2 { font-size: var(--step-2); }
.sponsor-side .give-list { margin-top: 0; }
.sponsor-note { color: var(--muted); }
.champ-cta { margin-top: 1.75rem; }
.ways-5 { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.ways-cta .btn + .btn { margin-left: .6rem; }
.donate-box .btn-outline { margin-top: .2rem; }
.resources-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3rem clamp(3rem, 6vw, 6rem); align-items: start; }
.org-facts { margin: 2rem 0 0; display: grid; gap: 0; }
.org-facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--rule); }
.org-facts div:first-child { border-top: 1px solid var(--rule); }
.org-facts dt { color: var(--muted); }
.org-facts dd { margin: 0; font-weight: 600; color: var(--indigo); text-align: right; }
.docs { list-style: none; padding: 0; display: grid; gap: 1rem; }
.doc { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.4rem 1.6rem; border: 1px solid var(--rule); border-radius: var(--radius-sm); }
.doc h3 { font-size: var(--step-1); }
.doc p { color: var(--muted); margin-top: .25rem; }
.doc-link { flex: none; font-weight: 600; }
.jobs-empty { margin-top: 1.5rem; padding: clamp(1.75rem, 4vw, 2.75rem); background: var(--mist); border-radius: var(--radius-lg); max-width: 48rem; }
.jobs-empty h3 { font-size: var(--step-2); }
.jobs-empty p { color: var(--muted); margin: .75rem 0 1.5rem; }
@media (max-width: 960px) { .sponsor-grid, .resources-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .doc { flex-direction: column; align-items: flex-start; } .ways-cta .btn + .btn { margin: .6rem 0 0; } }


/* ===== Payment methods ===== */
.methods { display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: .75rem; margin-top: .9rem; }
.method { position: relative; cursor: pointer; }
.method input { position: absolute; opacity: 0; inset: 0; }
.method-body { display: grid; gap: .15rem; height: 100%; padding: .9rem 1rem; border: 2px solid #C3CFDE; border-radius: var(--radius-sm); background: var(--white); }
.method-name { font-weight: 600; color: var(--indigo); }
.method-note { font-size: .88rem; color: var(--muted); }
.method input:checked + .method-body { border-color: var(--blue); background: rgba(31,95,168,.07); box-shadow: inset 0 0 0 1px var(--blue); }
.method input:focus-visible + .method-body { outline: 3px solid var(--gold); outline-offset: 2px; }
.donate-box > p { color: var(--muted); }


/* ===== Sponsor certificate design ===== */
.cert-section { background: var(--mist); }
.sponsor-form { max-width: 62rem; margin: 0 auto; }
.cert-pick { border: 0; padding: 0; margin: 0; text-align: center; }
.cert-pick legend { font-weight: 600; color: var(--indigo); font-size: 1.1rem; margin: 0 auto 1.1rem; padding: 0; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.tab { position: relative; cursor: pointer; }
.tab input { position: absolute; inset: 0; opacity: 0; }
.tab span { display: inline-block; padding: .7rem 1.25rem; border-radius: 999px; background: var(--white); color: var(--muted); font-weight: 600; border: 1.5px solid #D5DEEA; transition: background-color .15s, color .15s; }
.tab input:checked + span { background: var(--indigo); color: var(--white); border-color: var(--indigo); }
.tab input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.tab-other span { border-style: dashed; border-color: var(--gold-deep); color: #8A5A0B; }
.tab-other input:checked + span { background: var(--gold); color: var(--indigo); border-color: var(--gold); border-style: solid; }
.other-amount { margin: 1.1rem auto 0; display: grid; justify-items: center; gap: .4rem; }
.other-amount label { font-weight: 600; color: var(--indigo); }
.amount-input { display: flex; align-items: center; background: var(--white); border: 2px solid var(--gold); border-radius: var(--radius-sm); padding: 0 .9rem; }
.amount-input span { font-family: var(--serif); font-size: 1.6rem; color: var(--indigo); }
.amount-input input { border: 0; outline: none; font: 600 1.6rem var(--serif); color: var(--indigo); width: 9rem; padding: .55rem .4rem; background: transparent; }
.cert { background: #FFFDF7; padding: 1rem; border-radius: 6px; box-shadow: 0 30px 60px rgba(15,33,71,.15); margin: 2rem auto 0; max-width: 52rem; }
.cert-in { border: 3px double #C8961F; padding: clamp(1.75rem, 4vw, 3rem) clamp(1.25rem, 5vw, 4rem); text-align: center; }
.cert-in img { width: 3.4rem; margin: 0 auto; }
.cert-org { color: #8A6A1E; letter-spacing: .05em; font-size: .9rem; margin-top: .8rem; }
.cert-title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); color: var(--indigo); margin-top: .5rem; line-height: 1.15; }
.cert-line { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 1.1rem; margin-top: .4rem; }
.cert-amount { font-family: var(--serif); font-weight: 700; font-size: clamp(2.6rem, 2rem + 2.4vw, 4rem); color: #C8961F; margin: 1rem 0; line-height: 1; }
.cert-sign { display: flex; justify-content: center; gap: clamp(1.5rem, 6vw, 4rem); margin-top: .5rem; }
.cert-sign div { border-top: 1px solid #C8B98A; padding-top: .5rem; min-width: 12rem; display: grid; }
.cert-sign span { font-family: var(--serif); font-style: italic; color: var(--indigo); font-size: 1.1rem; }
.cert-sign small { color: var(--muted); font-size: .8rem; }
.cert-form { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2rem; margin-top: 2.5rem; background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.5rem); }
.cert-col { display: grid; gap: 1.25rem; align-content: start; }
.cert-col .btn { justify-self: start; }
.cert-note { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .cert-form { grid-template-columns: 1fr; } .cert-sign { flex-direction: column; align-items: center; } }

.year-card-next .btn { margin-top: .2rem; }
.next-mentor { display: block; margin-top: 1rem; }
.program-cta { margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.cta-note { color: var(--muted); font-size: .92rem; }
.next-mentor-2 { display: block; margin-top: .6rem; }
.event-main .upcoming-facts { grid-template-columns: repeat(3, auto); }
/* ===== Role descriptions ===== */
.choices-note { color: var(--muted); font-size: .92rem; margin-top: .3rem; }
.link-btn { background: none; border: 0; padding: 0; margin-left: .4rem; font: inherit; font-weight: 600; color: var(--blue); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.role-panels { display: grid; gap: 1rem; }
.role-hint { color: var(--muted); font-size: .95rem; font-style: italic; }
.role-panel { background: var(--mist); border-left: 4px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1rem 1.25rem; }
.role-panel h3 { font-size: 1.1rem; }
.role-panel .check-list li { font-size: .98rem; padding: .55rem 0 .55rem 2rem; }
.role-panel .check-list li::before { top: .85rem; }
.role-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.role-card { background: var(--mist); border-radius: var(--radius-lg); padding: 1.75rem; }
.role-card h3 { font-size: var(--step-2); padding-bottom: .75rem; border-bottom: 2px solid var(--gold); }
.role-card ul { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.role-card li + li { margin-top: .45rem; }
/* Donate page: keep the gift box clear of the menu */
.fund-hero-grid { padding-top: 8.5rem; align-items: center; }
.fund-hero-grid .page-hero-inner { padding-top: 0; }
.fund-hero .donate-box { margin-top: 0; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
@media (max-width: 960px) { .fund-hero-grid { padding-top: 7.5rem; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-path path { animation: none; stroke-dashoffset: 0; }
  .hero-path circle { animation: none; opacity: 1; }
  * { transition: none !important; }
}

/* Benin */
.benin-year { margin-top: 2.75rem; padding-top: 2rem; border-top: 1px solid var(--rule); }
.benin-year-head { display: flex; align-items: center; gap: 1.25rem; }
.benin-year-num { font-family: var(--serif); font-size: var(--step-4); font-weight: 700; color: var(--gold-deep); line-height: 1; }
.benin-year-head h3 { font-size: var(--step-2); }
.benin-place { color: var(--muted); }
.benin-facts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.benin-facts li { background: var(--mist); border-radius: 999px; padding: .35rem 1rem; }
.benin-facts strong { color: var(--indigo); }
.benin-gallery { margin-top: 1.5rem; }
.cta-postcard { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); margin-top: 3.5rem; background: #FFFCF5; color: #22180F; text-decoration: none; border-radius: 4px; box-shadow: 0 18px 40px -18px rgba(34,24,15,.45); transform: rotate(-.6deg); transition: transform .25s ease; overflow: hidden; }
.cta-postcard:hover { transform: rotate(0deg) translateY(-3px); }
.cta-postcard-photo { width: 100%; height: 100%; object-fit: cover; min-height: 16rem; }
.cta-postcard-text { position: relative; display: flex; flex-direction: column; gap: .7rem; padding: 2rem 2rem 2rem; border-left: 2px dashed #C9B89A; }
.cta-postcard-stamp { position: absolute; top: 1.25rem; right: 1.25rem; width: 4.5rem; height: auto; padding: 4px; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.18); transform: rotate(4deg); }
.cta-postcard-kicker { font-size: .85rem; color: #A8361C; font-weight: 600; padding-right: 5.5rem; }
.cta-postcard strong { font-family: var(--serif); font-size: var(--step-3); line-height: 1.15; color: #22180F; padding-right: 4rem; }
.cta-postcard-go { margin-top: auto; align-self: flex-start; background: #A8361C; color: #fff; font-weight: 600; padding: .65rem 1.2rem; border-radius: 4px; }
@media (max-width: 760px) {
  .cta-postcard { grid-template-columns: 1fr; transform: none; }
  .cta-postcard-photo { min-height: 12rem; max-height: 14rem; }
  .cta-postcard-text { border-left: 0; border-top: 2px dashed #C9B89A; }
  .benin-gallery { grid-template-columns: 1fr; }
}
.benin-note { margin-top: 1rem; max-width: 40em; color: var(--muted); font-style: italic; }
.gallery-item-top img { object-position: center 20%; }

/* Language switch */
.brand { margin-right: auto; }
.site-nav { order: 2; }
.lang-switch { order: 3; display: inline-flex; border: 1.5px solid currentColor; border-radius: 999px; overflow: hidden; font-weight: 600; font-size: .9rem; flex: none; }
.lang-switch a { color: inherit; text-decoration: none; padding: .3rem .75rem; line-height: 1.2; }
.lang-switch a[aria-current] { background: var(--gold); color: var(--indigo); }
.lang-switch a:not([aria-current]):hover { background: rgba(255,255,255,.15); }
.menu-toggle { order: 4; }
@media (max-width: 1140px) { .header-row { gap: .75rem; } }
@media (max-width: 600px) { .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.5rem; } }
@media (max-width: 600px) { .numbers-grid { gap: 1.5rem 1rem; } .numbers-grid dt, .numbers-grid p { overflow-wrap: anywhere; hyphens: auto; } }
@media (max-width: 600px) { .numbers-grid dd { white-space: normal; } }
