:root {
  --bg: #FAF9F6;
  --bg-soft: #F1EEE5;
  --surface: #FFFFFF;
  --ink: #12241C;
  --muted: #68766F;
  --line: rgba(15, 44, 35, 0.10);
  --forest: #0F2C23;
  --forest-deep: #081712;
  --card-dark: #13352B;
  --gold: #D4AF37;
  --gold-hover: #B8952B;
  --on-gold: #17130A;
  --on-dark: #F4F1E8;
  --shadow: 0 24px 60px rgba(15, 44, 35, 0.10);
  --radius: 20px;
  --maxw: 1240px;
  --dot-orange: #E8863A;
  --dot-blue: #19501b;
  --dot-green: #6E9B4E;
  
  /* Unified EBBA Tokens */
  --ebba-gold: #D4AF37;
  --ebba-dark: #0F2C23;
  --ebba-forest-line: rgba(255, 255, 255, 0.1);
  --ebba-paper: #F4F1EA;
}

html[data-theme="dark"] {
  --bg: #081712;
  --bg-soft: #0B1F18;
  --surface: #0F2C23;
  --ink: #F4F1E8;
  --muted: #9FB2A8;
  --line: rgba(255, 255, 255, 0.09);
  --forest: #13352B;
  --card-dark: #13352B;
  --on-dark: #F4F1E8;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; }
section { position: relative; }

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin: 0;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.01em;
}

p { margin: 0; }

.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dot-orange);
  display: inline-block;
  margin-bottom: 14px;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color .2s ease;
}
.btn-dark { background: var(--forest-deep); color: #fff; }
html[data-theme="dark"] .btn-dark { background: var(--gold); color: var(--on-gold); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(8, 23, 18, 0.25); }

.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-hover); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(212, 175, 55, 0.3); }

.btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 10px 20px; font-size: 13.5px; }

/* ---------- HEADER & NAV ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(15, 44, 35, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
html[data-theme="dark"] header { background: rgba(8, 23, 18, 0.92); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 38px; height: 38px; border-radius: 50%; }
.brand span { color: #fff; font-weight: 800; font-size: 19px; }

nav.links { display: flex; gap: 28px; align-items: center; }
nav.links a.nl { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.82); position: relative; padding: 4px 0; }
nav.links a.nl::after { content: ''; position: absolute; left: 0; bottom: -3px; width: 0; height: 2px; background: var(--gold); transition: width .25s ease; }
nav.links a.nl:hover { color: #fff; }
nav.links a.nl:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 16px; }
.phone-link { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.85); font-size: 13.5px; font-weight: 600; }
.phone-link .ic { width: 32px; height: 32px; border-radius: 50%; background: rgba(212, 175, 55, 0.15); display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; }

.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05); color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: border-color .2s ease, transform .2s ease;
}
.theme-toggle:hover { border-color: var(--gold); transform: translateY(-2px); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
html[data-theme="dark"] .theme-toggle .sun { display: none; }
html[data-theme="dark"] .theme-toggle .moon { display: block; }

.menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }

/* ---------- MOBILE MENU DRAWER ---------- */
.drawer {
  position: fixed;
  inset: 0;
  background: rgba(8, 23, 18, 0.98);
  z-index: 300;
  display: none;
  flex-direction: column;
  padding: 30px 28px;
}
.drawer.open { display: flex; }
.drawer .close { align-self: flex-end; background: none; border: none; color: var(--ebba-paper); font-size: 28px; cursor: pointer; }
.drawer a {
  color: var(--ebba-paper);
  font-size: 22px;
  font-weight: 700;
  padding: 16px 0;
  border-bottom: 1px solid var(--ebba-forest-line);
  text-decoration: none;
}
.drawer .btn { margin-top: 20px; }

/* ---------- HERO OVERLAYS & CAPTION ---------- */
.hero-caption {
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
  z-index: 10;
  pointer-events: none;
}

/* ---------- GLASSMORPHISM UTILITIES ---------- */
.glass-header {
  background: rgba(15, 44, 35, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------- VALUES ---------- */
.values { padding: 100px 0; background: var(--bg); }
.sec-head { max-width: 640px; margin: 0 auto 54px; text-align: center; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 40px); }
.sec-head p { color: var(--muted); font-size: 15.5px; margin-top: 14px; }

.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 32px 24px; text-align: center; box-shadow: var(--shadow); transition: transform .25s ease;
}
.value-card:hover { transform: translateY(-6px); }
.value-card .icon-circle {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 20px;
  background: var(--bg-soft); display: flex; align-items: center; justify-content: center; color: var(--dot-orange);
}
.value-card .icon-circle svg { width: 28px; height: 28px; }
.value-card h4 { font-size: 16.5px; margin-bottom: 10px; }
.value-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- ABOUT ---------- */
/* Green & Gold Theme Palette */
:root {
  --bg-dark-emerald: #081712;
  --gold-primary: #D4AF37;
  --gold-gradient: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728, #FBF5B7);
  --gold-glow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.25);
}

/* 1. Dark Emerald Background */


.about-grid { 
  display: grid; 
  grid-template-columns: 0.85fr 1.15fr; 
  gap: 60px; 
  align-items: center; 
}

.collage { 
  position: relative; 
  height: 400px; 
}

/* 2. Image Circle Containers (Gold Borders + Glow) */
.collage .c1, 
.collage .c2, 
.collage .c3 {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  /* Gold border ring */
  border: 4px solid var(--gold-primary); 
  /* Warm gold ambient shadow against the dark background */
  box-shadow: var(--gold-glow); 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collage .c1 { 
  left: 10%; 
  top: 0; 
  width: 250px; 
  height: 250px; 
  z-index: 2;
}

.collage .c2 { 
  right: 0; 
  top: 10px; 
  width: 130px; 
  height: 130px; 
  z-index: 3;
}

.collage .c3 { 
  left: 0; 
  bottom: 0; 
  width: 110px; 
  height: 110px; 
  z-index: 3;
}

/* Hover Effect: Elevates circles slightly on mouseover */
.collage .c1:hover, 
.collage .c2:hover, 
.collage .c3:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.45);
}

.collage img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
}

/* 3. Emerald Green Dashed Ring Accent */
.collage .ring { 
  position: absolute; 
  border: 2px dashed #10b981; /* Vibrant Emerald Green */
  border-radius: 50%; 
  opacity: 0.7;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3); /* Subtle Green Glow */
  z-index: 1;
}

.about-copy h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 18px; }
.about-copy p.b1 { font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.about-copy p.b2 { color: var(--muted); font-size: 15px; margin-bottom: 28px; max-width: 520px; }
.about-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- PROGRAMS ---------- */
.programs { padding: 100px 0; background: var(--bg); }
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 26px; }
.prog-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.prog-card .photo { aspect-ratio: 16/11; overflow: hidden; }
.prog-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.prog-card:hover .photo img { transform: scale(1.06); }
.prog-card .body { padding: 22px 22px 26px; position: relative; flex: 1; display: flex; flex-direction: column; }
.prog-card .tag { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dot-orange); margin-bottom: 8px; }
.prog-card h4 { font-size: 18px; margin-bottom: 8px; }
.prog-card p.desc { font-size: 13.5px; color: var(--muted); flex: 1; }
.prog-more {
  max-height: 0; overflow: hidden; font-size: 13px; color: var(--muted);
  transition: max-height .35s ease, margin-top .35s ease;
}
.prog-more.open { max-height: 200px; margin-top: 12px; }
.prog-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.expand-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent;
  color: var(--ink); font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: transform .3s ease, border-color .2s ease, background .2s ease; flex-shrink: 0;
}
.expand-btn:hover { border-color: var(--gold); color: var(--gold); }
.expand-btn.open { transform: rotate(45deg); background: var(--gold); border-color: var(--gold); color: var(--on-gold); }

.prog-note { text-align: center; color: var(--muted); font-size: 14px; max-width: 560px; margin: 0 auto; }
.prog-note a { color: var(--dot-orange); font-weight: 700; }
.prog-note a:hover { text-decoration: underline; }

/* ---------- GALLERY ---------- */
.gallery { padding: 100px 0; background: var(--bg-soft); }
.gal-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; }
.gal-item { border-radius: 20px; overflow: hidden; position: relative; box-shadow: var(--shadow); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-item.a, .gal-item.b { aspect-ratio: 5/4; }
.gal-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; background: linear-gradient(180deg, transparent, rgba(8, 23, 18, 0.85)); color: #fff; font-size: 13px; font-weight: 600; }

/* ---------- IMPACT / STATS ---------- */
.impact { padding: 100px 0; background: var(--forest-deep); color: #fff; position: relative; overflow: hidden; }
.impact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.impact h2 { font-size: clamp(28px, 3.6vw, 40px); color: #fff; margin-bottom: 16px; }
.impact > .wrap > .impact-grid > div:first-child p { color: rgba(255, 255, 255, 0.65); font-size: 15px; max-width: 480px; margin-bottom: 30px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; padding: 22px; }
.stat-card strong { display: block; font-size: 30px; font-weight: 800; color: var(--gold); }
.stat-card span { font-size: 12.5px; color: rgba(255, 255, 255, 0.7); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.impact-photo { width: 100%; border-radius: 22px; overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.impact-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- MEMBERSHIP ---------- */
.membership { padding: 100px 0; background: var(--bg); }
.member-card {
  max-width: 820px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line);
  border-radius: 26px; padding: 56px 48px; text-align: center; box-shadow: var(--shadow);
}
.member-card h2 { font-size: clamp(26px, 3.6vw, 38px); margin: 6px 0 16px; }
.member-card > p.sub { color: var(--muted); font-size: 15.5px; max-width: 520px; margin: 0 auto 34px; }
.perks { background: var(--bg-soft); border-radius: 18px; padding: 28px; margin-bottom: 28px; text-align: left; }
.perks h3 { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dot-orange); text-align: center; margin: 0 0 20px; }
.perks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.perk { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink); }
.perk svg { flex-shrink: 0; width: 19px; height: 19px; color: var(--gold); margin-top: 1px; }
.fee-note { font-size: 13.5px; color: var(--muted); margin-bottom: 26px; }
.fee-note strong { color: var(--dot-orange); font-weight: 800; }

/* ---------- TEAM ---------- */
.team { padding: 100px 0; background: var(--bg-soft); }
.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }
.lead-card {
  display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow);
}
.lead-card img { width: 96px; height: 96px; border-radius: 14px; object-fit: cover; }
.lead-card .role { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dot-orange); }
.lead-card h3 { font-size: 18px; margin-top: 5px; }
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.member-mini { text-align: center; }
.member-mini .avatar { aspect-ratio: 1/1; border-radius: 14px; overflow: hidden; margin-bottom: 12px; box-shadow: var(--shadow); }
.member-mini .avatar img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.member-mini:hover .avatar img { transform: scale(1.06); }
.member-mini h4 { font-size: 14.5px; margin-bottom: 3px; }
.member-mini p { font-size: 11px; color: var(--muted); line-height: 1.4; }

/* ---------- FAQ ---------- */
.faq { padding: 100px 0; background: var(--bg); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; font-family: inherit; font-size: 16px; font-weight: 700; color: var(--ink);
}
.faq-q .plus {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--muted);
  transition: transform .3s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 4px 22px; color: var(--muted); font-size: 14.5px; max-width: 660px; }
.faq-a a { color: var(--dot-orange); font-weight: 700; }
.faq-a a:hover { text-decoration: underline; }

.response-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: 12.5px; font-weight: 700; color: var(--ink); margin-top: 16px;
}
.response-badge svg { width: 15px; height: 15px; color: var(--dot-orange); flex-shrink: 0; }

/* ---------- CONTACT ---------- */
.contact { padding: 100px 0; background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; }
.contact-info { background: var(--forest); color: #fff; border-radius: 22px; padding: 40px 36px; }
.contact-info h2 { font-size: clamp(24px, 3.4vw, 32px); color: #fff; margin: 8px 0 28px; }
.info-row { display: flex; align-items: center; gap: 15px; margin-bottom: 18px; font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.info-row .ico { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: rgba(212, 175, 55, 0.14); display: flex; align-items: center; justify-content: center; color: var(--gold); }
.info-row a:hover { color: var(--gold); }
.socials { display: flex; gap: 12px; margin-top: 26px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); display: flex; align-items: center; justify-content: center; color: #fff; transition: .2s; }
.socials a:hover { color: var(--gold); border-color: var(--gold); }

.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 36px; box-shadow: var(--shadow); }
.contact-form label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field { margin-bottom: 18px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line);
  color: var(--ink); font-family: inherit; font-size: 14.5px; transition: border-color .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form button { width: 100%; margin-top: 4px; padding: 14px; }
.form-status { font-size: 13px; text-align: center; margin-top: 12px; font-weight: 600; min-height: 18px; }

/* ---------- FOOTER ---------- */
footer { padding: 60px 0 30px; background: var(--forest-deep); color: rgba(255, 255, 255, 0.75); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.foot-brand img { width: 34px; height: 34px; border-radius: 50%; }
.foot-brand strong { color: #fff; font-size: 17px; }
footer p.tagline { color: rgba(255, 255, 255, 0.55); font-size: 13.5px; max-width: 280px; }
footer h5 { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
footer ul a { font-size: 13.5px; color: rgba(255, 255, 255, 0.7); }
footer ul a:hover { color: var(--gold); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: rgba(255, 255, 255, 0.5); }
.to-top { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: .2s; }
.to-top:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }

/* ---------- ANIMATIONS & REVEALS ---------- */
., .reveal { 
  opacity: 0; 
  transform: translateY(24px); 
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); 
} 

..visible, .reveal.in { 
  opacity: 1; 
  transform: translateY(0); 
}

/* ---------- MEDIA QUERIES / RESPONSIVE ---------- */
@media (max-width: 980px) {
  nav.links { display: none; }
  .menu-toggle { display: block; }
  .phone-link span { display: none; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .collage { height: 300px; margin-bottom: 10px; }
  .prog-grid { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .impact-photo { max-width: 340px; margin: 0 auto; }
  .lead-row { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 560px) {
  .hero { padding: 140px 0 80px; }
  .value-grid { grid-template-columns: 1fr; }
  .perks-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-caption { bottom: 0.5rem; right: 50%; transform: translateX(50%); text-align: center; width: 100%; }
  .lead-card { grid-template-columns: 80px 1fr; padding: 18px; }
  .lead-card img { width: 80px; height: 80px; }
}
., .reveal { 
  opacity: 0; 
  transform: translateY(24px); 
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); 
} 

..visible, .reveal.in { 
  opacity: 1; 
  transform: translateY(0); 
}

#home {
  background-color: #081712 !important; /* Force dark background */
  color: #ffffff;
}
/* ==========================================================================
   BREADCRUMB NAVIGATION
   ========================================================================== */
.breadcrumb {
  padding: 1.5rem 0;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  font-size: 0.9rem;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--ink-light, #6b7280);
}

.breadcrumb a {
  color: var(--ink-light, #6b7280);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--gold-primary, #D4AF37);
  text-decoration: underline;
}

.breadcrumb li[aria-current="page"] {
  color: var(--gold-primary, #D4AF37);
  font-weight: 600;
}

/* ==========================================================================
   LEGAL / PRIVACY & TERMS SECTION
   ========================================================================== */
.legal {
  padding: 2rem 0 5rem;
}

.legal-inner {
  max-width: 800px; /* Focus reading width */
  margin: 0 auto;
  line-height: 1.7;
  color: var(--ink, #1f2937);
}

.legal-inner h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.25rem;
}

.legal-updated {
  font-size: 0.875rem;
  color: var(--ink-light, #6b7280);
  margin-bottom: 2rem;
}

/* Table of Contents Box */
.legal-toc {
  background: rgba(212, 175, 55, 0.06); /* Soft gold ambient fill */
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-left: 4px solid var(--gold-primary, #D4AF37);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.legal-toc h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0.75rem;
  border: none;
  padding-bottom: 0;
}

.legal-toc ol {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.5rem 1.5rem;
}

.legal-toc li a {
  color: var(--ink, #1f2937);
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.legal-toc li a:hover {
  color: var(--gold-primary, #D4AF37);
  text-decoration: underline;
}

/* Document Headings */
.legal-inner h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  scroll-margin-top: 80px; /* Offset smooth scroll for fixed header */
}

/* Paragraphs & Lists */
.legal-inner p {
  margin-bottom: 1.25rem;
}

.legal-inner ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.legal-inner li {
  margin-bottom: 0.5rem;
}

.legal-inner a {
  color: var(--gold-primary, #D4AF37);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-inner a:hover {
  filter: brightness(1.2);
}

/* Light / Dark Mode Integration */
body.dark .legal-inner {
  color: #e5e7eb;
}

body.dark .legal-inner h2 {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark .legal-toc {
  background: rgba(212, 175, 55, 0.05);
  border-color: rgba(212, 175, 55, 0.2);
}

body.dark .legal-toc li a {
  color: #d1d5db;
}