/* ============================================
   Betelehem Foundation — Design System
   ============================================ */

:root {
  --forest: #0d4a32;
  --leaf: #1f8a5b;
  --lime: #a8e06c;
  --sun: #f0b429;
  --coral: #e86f3a;
  --navy: #12324d;
  --ink: #14221c;
  --muted: #4a5c52;
  --cream: #f3f7f1;
  --mist: #e5f0e8;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 60px rgba(13, 74, 50, 0.18);
  --radius: 1.25rem;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(168, 224, 108, 0.25), transparent 60%),
    radial-gradient(900px 500px at 100% 20%, rgba(240, 180, 41, 0.18), transparent 55%),
    linear-gradient(180deg, #f7fbf6 0%, var(--cream) 40%, #eef6f0 100%);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.center {
  text-align: center;
}

/* Progress */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 1000;
  background: linear-gradient(90deg, var(--leaf), var(--sun), var(--coral));
  transition: width 0.1s linear;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s, box-shadow 0.35s;
}

.site-header.scrolled {
  background: rgba(243, 247, 241, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(18, 50, 77, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--sun);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--forest);
}

.brand-text em {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  transition: color 0.25s;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--leaf), var(--sun));
  transition: width 0.3s var(--ease);
}

.site-nav a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--leaf), var(--forest));
  color: var(--white) !important;
  box-shadow: 0 8px 20px rgba(31, 138, 91, 0.35);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(31, 138, 91, 0.45);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--forest);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--sun), var(--coral));
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(232, 111, 58, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 40px rgba(232, 111, 58, 0.45);
}

.btn-ghost {
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

/* Typography helpers */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 0.75rem;
}

.eyebrow.light {
  color: var(--lime);
}

.section-head {
  margin-bottom: 3rem;
  max-width: 640px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2,
.about-copy h2,
.legacy-copy h2,
.cta-band h2,
.founder-info h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  margin-bottom: 0.85rem;
}

.section-head p,
.lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.lead {
  margin-bottom: 1rem;
  font-size: 1.12rem;
  color: var(--ink);
}

.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
  position: relative;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.4s var(--ease), transform 8s linear;
}

.hero-img.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(10, 40, 28, 0.35) 0%, rgba(10, 40, 28, 0.15) 35%, rgba(8, 28, 22, 0.88) 100%),
    linear-gradient(90deg, rgba(13, 74, 50, 0.55), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto 5.5rem;
  color: var(--white);
  max-width: 720px;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.85rem;
  color: var(--lime);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 1.05;
  font-weight: 700;
  margin-bottom: 1.1rem;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}

.hero h1 span {
  background: linear-gradient(90deg, var(--sun), var(--lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.scroll-cue {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
}

.scroll-cue span {
  display: block;
  width: 4px;
  height: 10px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: var(--sun);
  animation: cue 1.6s var(--ease) infinite;
}

@keyframes cue {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* About */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.photo-stack {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 460px;
}

.stack-main {
  width: 88%;
  height: 88%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}

.stack-float {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
  border: 5px solid var(--cream);
  box-shadow: var(--shadow);
  z-index: 3;
  animation: floaty 5s ease-in-out infinite;
}

.stack-accent {
  position: absolute;
  inset: 8% -6% -6% 18%;
  background: linear-gradient(145deg, var(--leaf), var(--sun));
  border-radius: var(--radius);
  z-index: 1;
  opacity: 0.9;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.about-copy p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(31, 138, 91, 0.2);
}

.stat-row li {
  display: flex;
  flex-direction: column;
}

.stat-row strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--forest);
  line-height: 1.1;
}

.stat-row span {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

/* Mission */
.mission {
  background: linear-gradient(165deg, var(--forest) 0%, #0a3a28 45%, var(--navy) 100%);
  color: var(--white);
  overflow: hidden;
}

.mission-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(168, 224, 108, 0.15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(240, 180, 41, 0.12), transparent 45%);
  pointer-events: none;
}

.mission .section-head h2 {
  color: var(--white);
}

.mission .section-head p {
  color: rgba(255, 255, 255, 0.75);
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.mv-panel {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  transition: transform 0.4s var(--ease), border-color 0.3s;
}

.mv-panel:hover {
  transform: translateY(-6px);
}

.mission-panel {
  background: linear-gradient(160deg, rgba(31, 138, 91, 0.45), rgba(13, 74, 50, 0.7));
}

.vision-panel {
  background: linear-gradient(160deg, rgba(232, 111, 58, 0.35), rgba(18, 50, 77, 0.75));
}

.mv-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--sun);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.mv-panel h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.65rem;
}

.mv-panel p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.mv-panel em {
  font-style: normal;
  color: var(--lime);
  font-weight: 700;
}

.vision-panel em {
  color: var(--sun);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.value {
  padding: 1.35rem 1.25rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s, transform 0.35s var(--ease);
}

.value:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.value h4 {
  font-family: var(--font-display);
  color: var(--sun);
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.value p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
}

/* Objectives */
.obj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.obj {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.obj-media {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
}

.obj-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.obj:hover .obj-media img {
  transform: scale(1.06);
}

.obj h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
}

.obj p {
  color: var(--muted);
}

.pillar-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.75rem;
}

.pillar {
  padding: 1.25rem 1rem;
  border-radius: 1rem;
  text-align: center;
  background: linear-gradient(160deg, rgba(31, 138, 91, 0.12), rgba(240, 180, 41, 0.14));
  border: 1px solid rgba(31, 138, 91, 0.18);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(13, 74, 50, 0.12);
}

.pillar span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.pillar em {
  font-style: normal;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--coral);
}

/* Story */
.story {
  background:
    linear-gradient(180deg, transparent, rgba(229, 240, 232, 0.7) 10%, rgba(229, 240, 232, 0.7) 90%, transparent);
}

.story-note {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--coral);
  background: rgba(232, 111, 58, 0.1);
  border-radius: 0 0.75rem 0.75rem 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--leaf), var(--sun), var(--coral));
  transform: translateX(-50%);
  opacity: 0.35;
}

.chapter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
}

.chapter.reverse .chapter-media {
  order: 2;
}

.chapter.reverse .chapter-body {
  order: 1;
  text-align: right;
}

.chapter-media {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  max-height: 480px;
  box-shadow: var(--shadow);
}

.chapter-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.chapter:hover .chapter-media img {
  transform: scale(1.04);
}

.chapter-num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.5rem;
}

.chapter-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--navy);
  margin-bottom: 0.85rem;
}

.chapter-body p {
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.quote-block {
  margin-top: 4rem;
  padding: 2.5rem clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--forest));
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-block::before {
  content: "“";
  position: absolute;
  top: -0.2em;
  left: 0.15em;
  font-family: var(--font-display);
  font-size: 10rem;
  color: rgba(240, 180, 41, 0.2);
  line-height: 1;
}

.quote-block p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-style: italic;
  line-height: 1.45;
  position: relative;
  max-width: 48rem;
  margin: 0 auto 1rem;
}

.quote-block cite {
  font-style: normal;
  font-weight: 600;
  color: var(--sun);
  font-size: 0.95rem;
}

/* Video */
.video-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--ink);
  aspect-ratio: 16 / 9;
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Gallery */
.gallery-marquee {
  overflow: hidden;
  margin-bottom: 2rem;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee 55s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-track img {
  width: 200px;
  height: 280px;
  object-fit: cover;
  border-radius: 1rem;
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 0.85rem;
}

.g-item {
  overflow: hidden;
  border-radius: 1rem;
  padding: 0;
  position: relative;
}

.g-item.tall {
  grid-row: span 2;
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.4s;
}

.g-item:hover img {
  transform: scale(1.08);
  filter: brightness(1.08);
}

.g-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13, 74, 50, 0.35));
  opacity: 0;
  transition: opacity 0.3s;
}

.g-item:hover::after {
  opacity: 1;
}

/* Legacy */
.legacy {
  background: linear-gradient(180deg, #1a2f28, var(--navy));
  color: var(--white);
}

.legacy-copy h2 {
  color: var(--white);
}

.legacy-copy .lead,
.legacy-copy p {
  color: rgba(255, 255, 255, 0.8);
}

.legacy-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.legacy-list li {
  padding-left: 1.5rem;
  position: relative;
  color: rgba(255, 255, 255, 0.88);
}

.legacy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 12px var(--sun);
}

.legacy-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  max-height: 560px;
  background: #2a1a10;
}

.legacy-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Leadership */
.founder-feature {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
  padding: 1.5rem;
  border-radius: calc(var(--radius) + 0.25rem);
  background: linear-gradient(120deg, rgba(31, 138, 91, 0.1), rgba(240, 180, 41, 0.12));
  border: 1px solid rgba(31, 138, 91, 0.2);
}

.founder-photo {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  max-height: 420px;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.founder-info .role {
  color: var(--coral);
  font-weight: 700;
  margin-bottom: 1rem;
}

.founder-info p:last-child {
  color: var(--muted);
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

@media (min-width: 961px) {
  .board-grid .board-member:nth-child(7) {
    grid-column: 2;
  }
}

.board-member {
  padding: 0 0 1.35rem;
  border-radius: 1rem;
  background: var(--white);
  border: 1px solid rgba(13, 74, 50, 0.1);
  box-shadow: 0 10px 30px rgba(18, 50, 77, 0.05);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
  overflow: hidden;
}

.board-photo {
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 1.1rem;
  background: linear-gradient(145deg, var(--mist), #d8e8de);
}

.board-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s var(--ease);
}

.board-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(18, 50, 77, 0.1);
}

.board-member:hover .board-photo img {
  transform: scale(1.06);
}

.board-member h4,
.board-member .role,
.board-member > p:last-child {
  padding-inline: 1.25rem;
}

.board-member h4 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.board-member .role {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--leaf);
  margin-bottom: 0.65rem;
}

.board-member > p:last-child {
  font-size: 0.92rem;
  color: var(--muted);
}

.board-photo-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--mist), #c5d9cc);
}

.board-photo-placeholder span {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: 0.06em;
}

.board-member.no-photo:hover .board-photo-placeholder {
  transform: none;
}

/* Support */
.support {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(240, 180, 41, 0.2), transparent 60%),
    linear-gradient(165deg, var(--forest), #0a3324 60%, var(--navy));
  color: var(--white);
}

.support .section-head h2 {
  color: var(--white);
}

.support .section-head p {
  color: rgba(255, 255, 255, 0.78);
}

.donate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.donate-tier {
  padding: 1.75rem 1.25rem;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.35s var(--ease), background 0.3s;
}

.donate-tier:hover {
  transform: translateY(-6px) scale(1.02);
  background: rgba(255, 255, 255, 0.12);
}

.donate-tier .amount {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.donate-tier .currency {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0.35rem 0 0.75rem;
  opacity: 0.85;
}

.donate-tier p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.t-100 .amount { color: #7ec8ff; }
.t-200 .amount { color: var(--lime); }
.t-500 .amount { color: #ffb4c8; }
.t-1000 .amount { color: var(--sun); }
.t-2000 .amount { color: #c9b6ff; }
.t-5000 .amount { color: #ffd7a0; }

.support-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail h3 {
  font-family: var(--font-display);
  color: var(--sun);
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.detail p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.detail a:hover {
  color: var(--lime);
}

.mono {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 1.15rem !important;
  font-weight: 700;
  color: var(--white) !important;
  letter-spacing: 0.04em;
}

/* Support & Training */
.training {
  background:
    radial-gradient(700px 320px at 10% 0%, rgba(46, 125, 90, 0.08), transparent 55%),
    radial-gradient(600px 280px at 90% 20%, rgba(240, 180, 41, 0.1), transparent 50%),
    linear-gradient(180deg, var(--cream) 0%, var(--mist) 100%);
}

.training-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 0 0 3rem;
  padding: 0;
}

.training-steps li {
  padding-top: 0.25rem;
  border-top: 2px solid var(--forest);
}

.training-steps .step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--forest);
  margin-bottom: 0.65rem;
}

.training-steps h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.training-steps p {
  font-size: 0.92rem;
  color: var(--muted);
}

.training-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: 3rem;
}

.training-feature-media {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}

.training-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.training-feature-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--ink);
  margin-bottom: 0.85rem;
}

.training-feature-copy p {
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.training-moments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.training-moment {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.training-moment-media {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
}

.training-moment-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease);
}

.training-moment:hover .training-moment-media img {
  transform: scale(1.05);
}

.training-moment h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
}

.training-moment p {
  font-size: 0.92rem;
  color: var(--muted);
}

.training-lead {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: 3rem;
}

.training-lead-photo {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  max-height: 420px;
  box-shadow: var(--shadow);
}

.training-lead-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.training-lead-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.training-lead-copy .role {
  color: var(--leaf);
  font-weight: 700;
  margin-bottom: 1rem;
}

.training-lead-copy p {
  color: var(--muted);
  margin-bottom: 0.85rem;
}

/* Supporters */
.supporters {
  background: var(--white);
}

.supporters-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

.supporters-copy .lead {
  margin-bottom: 1rem;
}

.supporters-copy p {
  color: var(--muted);
}

.supporters-media {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}

.supporters-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* CTA band */
.cta-band {
  background:
    linear-gradient(120deg, rgba(168, 224, 108, 0.25), rgba(240, 180, 41, 0.2)),
    var(--mist);
}

.cta-logo {
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--white), 0 12px 30px rgba(13, 74, 50, 0.2);
  animation: spinSlow 20s linear infinite;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cta-band p {
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: #0a1f18;
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-brand .brand-text strong {
  color: var(--white);
}

.footer-brand .brand-text em {
  color: rgba(255, 255, 255, 0.55);
}

.site-footer h4 {
  font-family: var(--font-display);
  color: var(--sun);
  margin-bottom: 0.85rem;
}

.site-footer a {
  display: block;
  margin-bottom: 0.45rem;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: var(--lime);
}

.footer-bottom {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.88rem;
}

.developed-by {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  transition: color 0.25s, transform 0.25s var(--ease);
}

.developed-by img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.85), 0 6px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.developed-by strong {
  color: #ff8a3d;
  font-weight: 700;
}

.developed-by:hover {
  color: var(--white);
  transform: translateY(-1px);
}

.developed-by:hover img {
  transform: scale(1.08);
  box-shadow: 0 0 0 3px #ff6600, 0 8px 20px rgba(255, 102, 0, 0.35);
}

.motto {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--lime);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 20, 16, 0.92);
  display: grid;
  place-items: center;
  padding: 2rem;
  animation: fadeIn 0.3s var(--ease);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(960px, 100%);
  max-height: 85vh;
  border-radius: 0.75rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 2.5rem;
  color: var(--white);
  line-height: 1;
  opacity: 0.8;
}

.lightbox-close:hover {
  opacity: 1;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Reveal animations */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal.in-view,
.reveal-left.in-view,
.reveal-right.in-view {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

/* Hero load reveals */
.hero .reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: heroIn 0.9s var(--ease) forwards;
}

.hero .delay-1 { animation-delay: 0.15s; }
.hero .delay-2 { animation-delay: 0.3s; }
.hero .delay-3 { animation-delay: 0.45s; }

@keyframes heroIn {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .split,
  .chapter,
  .founder-feature,
  .mv-grid,
  .obj-grid,
  .board-grid,
  .donate-grid,
  .support-details,
  .footer-grid,
  .pillar-strip,
  .training-steps,
  .training-feature,
  .training-lead,
  .training-moments,
  .supporters-layout {
    grid-template-columns: 1fr;
  }

  .pillar-strip {
    grid-template-columns: 1fr 1fr;
  }

  .training-steps {
    grid-template-columns: 1fr 1fr;
  }

  .training-moments {
    grid-template-columns: 1fr 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .timeline::before {
    left: 0;
  }

  .chapter.reverse .chapter-media,
  .chapter.reverse .chapter-body {
    order: initial;
    text-align: left;
  }

  .chapter-media {
    max-height: 360px;
    aspect-ratio: 16 / 10;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }

  .photo-stack {
    margin-inline: auto;
  }

  .legacy-visual {
    max-height: 420px;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    background: rgba(243, 247, 241, 0.97);
    backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.35s, transform 0.35s var(--ease);
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav a {
    font-size: 1.25rem;
  }

  .stat-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .values-grid,
  .donate-grid,
  .training-steps,
  .training-moments {
    grid-template-columns: 1fr;
  }

  .hero-content {
    margin-bottom: 4rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
