/* Carlos Malcolm Legacy Foundation — Website 2.0
   Design source: claude.ai/design project d88c0e72-419a-4e27-b51e-9e922116d59b */

:root {
  --purple-deep: #160c2b;
  --purple-card: #231047;
  --purple-footer: #150b2e;
  --gold: #f5b21e;
  --orange: #f0842a;
  --cream-bg: #fdf3e2;
  --cream-text: #f6efe0;
  --lavender-1: #c3b8dd;
  --lavender-2: #9f92bd;
  --lavender-3: #7a6e96;
  --lavender-4: #9a8fb0;
  --body-on-cream: #5a5065;
  --magenta: #c6299a;
  --magenta-text: #8e1f6a;
  --teal: #1E9E8A;
  --teal-text: #127d6d;
  --orange-text: #c05a12;
  --navy-ink: #1a1030;
  --font-display: 'Archivo', sans-serif;
  --font-body: 'Spectral', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--purple-deep);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

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

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  padding: 20px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1360px;
  margin: 0 auto;
}
.brand { font-family: var(--font-display); line-height: 1; flex: 0 0 auto; }
.brand-name { display: block; color: var(--cream-text); font-weight: 900; font-size: 18px; letter-spacing: 0.02em; }
.brand-sub { display: block; color: var(--gold); font-weight: 700; font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; margin-top: 5px; }

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e7ddf0;
  flex: 0 1 auto;
  white-space: nowrap;
}
.nav a { color: #e7ddf0; }
.nav a.active { color: var(--gold); }
.nav .btn-donate { background: var(--gold); color: var(--navy-ink); padding: 10px 18px; border-radius: 3px; flex: 0 0 auto; }
.nav .btn-donate:hover { background: var(--orange); color: var(--navy-ink); }

/* ---------- Unified button system ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 17px 32px;
  border-radius: 4px;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-gold { background: var(--gold); color: var(--navy-ink); }
.btn-gold:hover { background: var(--orange); color: var(--navy-ink); }
.btn-outline-light { background: transparent; color: var(--cream-text); border: 1.5px solid rgba(246,239,224,0.55); padding: 15.5px 30.5px; }
.btn-outline-light:hover { background: rgba(246,239,224,0.1); color: var(--cream-text); }
.btn-magenta { background: var(--magenta-text); color: #fdf3e2; }
.btn-magenta:hover { background: #6d1854; color: #fdf3e2; }
.btn-outline-magenta { background: transparent; color: var(--magenta-text); border: 1.5px solid var(--magenta-text); padding: 15.5px 30.5px; }
.btn-outline-magenta:hover { background: rgba(142,31,106,0.08); color: var(--magenta-text); }
.btn-navy { background: var(--navy-ink); color: var(--cream-bg); }
.btn-navy:hover { background: #2a1f42; color: var(--cream-bg); }

.nav-media { position: relative; }
.nav-media-trigger { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; background: none; border: 0; color: #e7ddf0; font: inherit; letter-spacing: inherit; text-transform: inherit; padding: 0; }
.nav-media-trigger .caret { font-size: 8px; opacity: 0.8; }
.nav-media-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--purple-card);
  border: 1px solid rgba(246,239,224,0.14);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 20;
}
.nav-media:hover .nav-media-menu,
.nav-media:focus-within .nav-media-menu,
.nav-media.is-open .nav-media-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-media-menu a { display: block; padding: 12px 18px; color: #e7ddf0; font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.nav-media-menu a:hover { background: rgba(245,178,30,0.14); color: #e7ddf0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
  flex: 0 0 auto;
}
.nav-toggle span { display: block; height: 2.5px; background: var(--cream-text); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle[aria-expanded="true"] .bar-top { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar-mid { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar-bot { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9;
  background: rgba(22,12,43,0.98);
  backdrop-filter: blur(6px);
  padding: 84px 24px 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: max-height .4s ease, opacity .3s ease, padding .4s ease;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.mobile-menu.is-open { padding: 84px 24px 28px; max-height: 100vh; opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cream-text); }
.mobile-menu nav a { color: var(--cream-text); padding: 14px 4px; border-bottom: 1px solid rgba(246,239,224,0.1); }
.mobile-menu nav a.active { color: var(--gold); }
.mobile-menu nav a.btn-donate-mobile { margin-top: 16px; text-align: center; color: var(--navy-ink); background: var(--gold); padding: 15px; border-radius: 4px; border-bottom: none; }

@media (max-width: 880px) {
  .nav { display: none !important; }
  .nav-toggle { display: flex !important; }
}

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  width: 100%;
  min-height: 40vh;
  overflow: hidden;
  background: var(--purple-deep) url('../assets/img/other-pages-hero.png') center / cover no-repeat;
  display: flex;
  align-items: flex-end;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22,12,43,0.55) 0%, rgba(22,12,43,0.2) 45%, rgba(22,12,43,0.9) 100%);
}
.page-hero-inner {
  position: relative;
  z-index: 5;
  max-width: 1360px;
  margin: 0 auto;
  width: 100%;
  padding: 128px 44px 50px;
}
.page-hero-eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; }
.page-hero-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(38px,6vw,80px); line-height: 0.92; letter-spacing: -0.015em; margin: 0; color: var(--cream-text); }
.page-hero-tagline { font-family: var(--font-body); font-style: italic; font-weight: 500; font-size: clamp(17px,2vw,24px); line-height: 1.35; color: #f5c542; margin: 18px 0 0; max-width: 48ch; }

/* ---------- Contact section ---------- */
.contact-section { background: var(--cream-bg) url('../assets/img/honours-bg.png') center / cover no-repeat fixed; padding: clamp(48px,6vw,84px) clamp(18px,4vw,44px); }
.contact-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px,4vw,60px);
  align-items: start;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form-card {
  background: var(--purple-card);
  border-radius: 8px;
  padding: clamp(26px,3.5vw,44px);
  box-shadow: 0 18px 44px rgba(26,16,48,0.22);
}
.form-heading { font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }

.form-names { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 480px) { .form-names { grid-template-columns: 1fr; } }

.field-group { margin-bottom: 16px; }
.field-group:last-of-type { margin-bottom: 24px; }
.field-label { display: block; font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lavender-1); margin-bottom: 8px; }
.field {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--cream-text);
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(246,239,224,0.16);
  border-radius: 5px;
  padding: 13px 15px;
}
.field::placeholder { color: var(--lavender-4); }
select.field { appearance: none; }
select.field option { color: var(--navy-ink); }
textarea.field { resize: vertical; }

.btn-submit {
  width: 100%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-ink);
  background: var(--gold);
  border: 0;
  padding: 17px;
  border-radius: 5px;
  cursor: pointer;
  transition: background .2s ease;
}
.btn-submit:hover { background: var(--orange); }

.form-error {
  background: #fdecea;
  color: #b3261e;
  border: 1px solid #f4c7c3;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  margin-bottom: 16px;
}

.form-success {
  min-height: 360px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
}
.form-success.is-visible { display: flex; }
.contact-form.is-hidden { display: none; }
.success-check {
  width: 66px; height: 66px;
  border-radius: 50%;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 900; font-size: 32px;
  color: var(--cream-bg);
}
.success-heading { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--cream-text); margin: 0; }
.success-copy { font-family: var(--font-body); font-size: 16.5px; line-height: 1.6; color: var(--lavender-1); margin: 0; max-width: 36ch; }
.btn-reset {
  margin-top: 6px;
  font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  border: 1.5px solid rgba(245,178,30,0.5);
  padding: 12px 24px;
  border-radius: 4px;
  cursor: pointer;
}
.btn-reset:hover { background: rgba(245,178,30,0.1); }

/* ---------- Contact info cards ---------- */
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.info-card { background: #fff; border-top: 4px solid var(--magenta); border-radius: 5px 5px 8px 8px; padding: 26px 28px; }
.info-card.info-card-teal { border-top-color: var(--teal); }
.info-card.info-card-orange { border-top-color: var(--orange); }
.info-card-label { font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--magenta-text); margin-bottom: 10px; }
.info-card-teal .info-card-label { color: var(--teal-text); }
.info-card-orange .info-card-label { color: var(--orange-text); margin-bottom: 14px; }
.info-card p { font-family: var(--font-body); font-size: 15.5px; line-height: 1.6; color: var(--body-on-cream); margin: 0 0 12px; }
.info-card .email-link { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--navy-ink); }
.info-card .email-link-sm { display: block; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--navy-ink); margin-bottom: 6px; }
.info-card .phone-link { font-family: var(--font-body); font-size: 16px; color: var(--magenta-text); }

.social-row { display: flex; gap: 12px; }
.social-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(26,16,48,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-ink);
  font-family: var(--font-display); font-weight: 800; font-size: 16px;
}
.social-icon.ig { font-size: 13px; }
.play-triangle { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--navy-ink); margin-left: 2px; }
.social-icon.social-icon-img { border: 0; overflow: hidden; transition: transform .2s ease; }
.social-icon.social-icon-img img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.social-icon.social-icon-img:hover { transform: translateY(-2px); }

.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social .social-icon { width: 38px; height: 38px; border-color: rgba(183,171,206,0.35); color: #e2d6f0; font-size: 14px; }
.footer-social .social-icon.social-icon-img { border: 0; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--purple-footer); color: #b7abce; overflow: hidden; }
.site-footer::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(90deg,#f5b21e,#f0842a,#c6299a,#7a2fb0,#1E9E8A,#7BA83C);
}
.footer-main { max-width: 1200px; margin: 0 auto; padding: clamp(48px,6vw,76px) 24px clamp(28px,3vw,40px); display: flex; flex-wrap: wrap; gap: clamp(32px,5vw,64px); }
.footer-brand { flex: 1 1 300px; min-width: 260px; }
.footer-brand-name { font-family: var(--font-display); font-weight: 900; font-size: 22px; letter-spacing: 0.02em; color: var(--cream-text); }
.footer-brand-sub { font-family: var(--font-display); font-weight: 700; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
.footer-brand-copy { font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--lavender-2); margin: 20px 0 0; max-width: 38ch; }
.footer-col { flex: 0 1 auto; }
.footer-col-heading { font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col nav { display: flex; flex-direction: column; gap: 12px; font-family: var(--font-body); font-size: 16px; }
.footer-col nav a { color: var(--lavender-1); }
.footer-bottom { border-top: 1px solid rgba(246,239,224,0.12); }
.footer-bottom-inner { max-width: 1200px; margin: 0 auto; padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-family: var(--font-display); font-size: 12px; letter-spacing: 0.04em; color: var(--lavender-3); }

/* ---------- Content hero (About / Foundation / Book — no dark overlay, art-free gradient) ---------- */
.content-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--purple-deep) url('../assets/img/about-hero.png') center right / cover no-repeat;
  display: flex;
  align-items: center;
}
.content-hero-inner { position: relative; z-index: 5; max-width: 1360px; margin: 0 auto; width: 100%; padding: 132px 44px 60px; }
.content-hero-eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--orange); margin-bottom: 20px; }
.content-hero-title { font-family: var(--font-display); font-weight: 900; line-height: 0.92; letter-spacing: -0.015em; margin: 0; color: var(--cream-text); }
.content-hero-tagline { font-family: var(--font-body); font-style: italic; font-weight: 500; line-height: 1.3; color: #f5c542; margin: 22px 0 0; }
.content-hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.content-hero-chip { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #e7ddf0; border: 1.5px solid rgba(245,178,30,0.5); border-radius: 100px; padding: 9px 17px; }

/* ---------- Stats band ---------- */
.stats-band { background: #f2a81d; }
.stats-grid { max-width: 1200px; margin: 0 auto; padding: clamp(30px,4vw,44px) 36px; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat-num { font-family: var(--font-display); font-weight: 900; font-size: clamp(34px,4.6vw,52px); line-height: 1; color: var(--navy-ink); }
.stat-label { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #7a3d00; margin-top: 8px; }
@media (max-width: 820px) { .stats-grid { grid-template-columns: repeat(2,1fr); row-gap: 26px; } }

/* ---------- Bio / article section ---------- */
.bio-section { background: var(--cream-bg); padding: clamp(56px,7vw,96px) 24px; }
.bio-inner { max-width: 1120px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: clamp(32px,5vw,64px); align-items: flex-start; }
.bio-portrait-col { flex: 0 1 380px; min-width: 260px; max-width: 440px; margin: 0 auto; position: sticky; top: 24px; align-self: flex-start; }
@media (max-width: 820px) { .bio-portrait-col { position: static; } }
.bio-portrait-col img { width: 100%; height: auto; border-radius: 2px; }
.bio-pullquote { margin: 24px 0 0; background: var(--purple-card); border-left: 4px solid var(--gold); border-radius: 0 8px 8px 0; padding: 22px 24px; font-family: var(--font-body); font-style: italic; font-size: 17px; line-height: 1.5; color: #e7ddf0; }
.bio-copy { flex: 1 1 440px; min-width: 300px; }
.bio-copy p { font-family: var(--font-body); font-size: clamp(17px,1.7vw,19.5px); line-height: 1.7; color: #2f2740; margin: 0 0 20px; }
.bio-copy p:last-child { margin-bottom: 0; }
.bio-dropcap { float: left; font-family: var(--font-display); font-weight: 900; font-size: 76px; line-height: 0.72; color: var(--magenta); margin: 6px 14px 0 0; }

/* ---------- Textured content sections (solid-color fallback, no source texture) ---------- */
.honours-section { background: #f4e9d8 url('../assets/img/honours-bg.png') center / cover no-repeat; padding: clamp(52px,6vw,84px) 24px; }
.section-eyebrow { font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 12px; }
.section-eyebrow.magenta { color: var(--magenta-text); }
.section-eyebrow.orange { color: var(--orange-text); }
.section-eyebrow.gold { color: var(--gold); }
.section-heading { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px,3.6vw,44px); line-height: 1.02; letter-spacing: -0.01em; margin: 0; color: var(--navy-ink); }
.section-heading.on-dark { color: var(--cream-text); }
.section-lede { font-family: var(--font-body); font-size: clamp(16px,1.7vw,19px); line-height: 1.6; color: var(--body-on-cream); margin: 14px 0 clamp(32px,4vw,48px); max-width: 64ch; }

.honours-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(16px,1.6vw,22px); }
@media (max-width: 820px) { .honours-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .honours-grid { grid-template-columns: 1fr; } }
.honour-card { background: rgba(255,251,242,0.72); border-top: 4px solid var(--card-accent, var(--magenta)); border-radius: 4px 4px 10px 10px; padding: clamp(16px,1.5vw,20px); display: flex; flex-direction: column; }
.honour-icon-wrap { position: relative; aspect-ratio: 4/3; margin-bottom: 6px; display: flex; align-items: center; justify-content: center; }
.honour-icon-wrap img { width: 100%; height: 100%; object-fit: contain; }
.honour-icon { width: 78px; height: 78px; border-radius: 50%; background: var(--card-accent, var(--magenta)); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 30px -6px var(--card-accent, var(--magenta)); }
.honour-icon svg { width: 24px; height: 24px; }
.honour-year { font-family: var(--font-display); font-weight: 900; font-size: clamp(34px,3.4vw,46px); line-height: 1; color: var(--card-accent, var(--magenta)); }
.honour-rule { display: flex; align-items: center; gap: 7px; margin: 12px 0 14px; }
.honour-rule span:first-child { height: 2px; width: 34px; background: var(--card-accent, var(--magenta)); }
.honour-rule span:nth-child(2) { width: 6px; height: 6px; transform: rotate(45deg); background: var(--card-accent, var(--magenta)); }
.honour-rule span:last-child { height: 2px; flex: 1; background: var(--card-accent, var(--magenta)); opacity: 0.3; }
.honour-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(18px,1.7vw,21px); line-height: 1.1; color: var(--navy-ink); margin-bottom: 10px; }
.honour-text { font-family: var(--font-body); font-size: 15px; line-height: 1.55; color: var(--body-on-cream); margin: 0; }
.honours-timeline { position: relative; margin-top: clamp(28px,3vw,40px); display: flex; justify-content: space-between; padding: 0 calc(12.5% - 8px); }
.honours-timeline::before { content: ""; position: absolute; left: calc(12.5% - 8px); right: calc(12.5% - 8px); top: 9px; height: 0; border-top: 2px dotted rgba(142,31,106,0.4); }
.timeline-dot-wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.timeline-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--card-accent, var(--magenta)); box-shadow: 0 0 0 4px #f4e9d8, 0 0 14px -2px var(--card-accent, var(--magenta)); }
.timeline-year { font-family: var(--font-display); font-weight: 900; font-size: 15px; color: var(--card-accent, var(--magenta)); }

/* ---------- Dark feature section (educator / mission etc) ---------- */
.feature-dark { position: relative; overflow: hidden; background: #2a1550 url('../assets/img/educator-bg.png') center left / cover no-repeat; min-height: 480px; display: flex; align-items: center; padding: clamp(56px,7vw,92px) 24px; }
.feature-dark-inner { position: relative; z-index: 2; max-width: 1160px; margin: 0 auto; width: 100%; display: flex; justify-content: flex-end; }
.feature-dark-content { flex: 1 1 560px; max-width: 620px; margin-left: auto; }
.feature-dark-eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.feature-dark-heading { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px,3.4vw,42px); line-height: 1.08; letter-spacing: -0.01em; margin: 0; color: var(--cream-text); }
.feature-dark-copy { font-family: var(--font-body); font-size: clamp(16px,1.6vw,18.5px); line-height: 1.66; color: #d6cbe8; margin: 22px 0 0; }
.feature-dark-copy + .feature-dark-copy { margin-top: 18px; }

/* ---------- Big quote section ---------- */
.quote-section { position: relative; overflow: hidden; background: #3a1160 url('../assets/img/quote-bg.png') center / cover no-repeat; padding: clamp(64px,9vw,120px) 24px; text-align: center; }
.quote-inner { position: relative; z-index: 2; max-width: 960px; margin: 0 auto; }
.quote-mark { font-family: var(--font-body); font-size: clamp(64px,11vw,130px); line-height: 0.5; color: rgba(245,178,30,0.6); height: 0.5em; }
.quote-text { margin: 0; font-family: var(--font-body); font-style: italic; font-weight: 500; font-size: clamp(28px,5vw,60px); line-height: 1.14; color: var(--cream-bg); }
.quote-text.small { font-size: clamp(24px,4vw,46px); line-height: 1.2; }
.quote-attribution { font-family: var(--font-display); font-weight: 800; font-size: clamp(11px,1.4vw,13px); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-top: 26px; }
.quote-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 36px; font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: #3a1160; background: var(--gold); padding: 17px 34px; border-radius: 4px; transition: background .2s ease; }
.quote-cta:hover { background: var(--orange); color: #3a1160; }

/* ---------- Mission (Foundation) ---------- */
.mission-section { position: relative; overflow: hidden; background: var(--cream-bg); padding: clamp(60px,8vw,110px) 24px; }
.mission-inner { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; }
.mission-inner .section-eyebrow, .mission-inner .section-heading { text-align: center; }
.mission-inner .section-heading { margin: 0 0 30px; }
.mission-inner p { font-family: var(--font-body); font-size: clamp(17px,1.9vw,21px); line-height: 1.66; color: #2f2740; margin: 0 0 22px; }
.mission-inner p:last-child { margin-bottom: 0; }

/* ---------- Pillars (Foundation) ---------- */
.pillars-section { background: #f4e9d8 url('../assets/img/honours-bg.png') center / cover no-repeat; padding: clamp(56px,7vw,92px) 24px; }
.pillars-head { text-align: center; margin-bottom: clamp(34px,4vw,50px); }
.pillars-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(18px,2vw,26px); }
@media (max-width: 820px) { .pillars-grid { grid-template-columns: 1fr; } }
.pillar-card { background: var(--pillar-bg, #3a1c6b) var(--pillar-tex, none) center / cover no-repeat; border-radius: 14px; padding: clamp(30px,3vw,42px); display: flex; flex-direction: column; min-height: 260px; }
.pillar-icon { width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,0.16); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.pillar-icon svg { width: 28px; height: 28px; }
.pillar-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(22px,2.4vw,28px); letter-spacing: 0.02em; text-transform: uppercase; color: var(--pillar-head, var(--gold)); }
.pillar-text { font-family: var(--font-body); font-size: clamp(16px,1.6vw,18px); line-height: 1.6; color: var(--pillar-body, #e2d6f0); margin: 16px 0 0; }

/* ---------- CTA / donate section ---------- */
.cta-section { position: relative; overflow: hidden; background: #7a2fb0 url('../assets/img/cta-bg.png') center / cover no-repeat; padding: clamp(60px,8vw,104px) 24px; text-align: center; }
.cta-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.cta-heading { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px,4.2vw,52px); line-height: 1.05; letter-spacing: -0.01em; margin: 0 0 20px; color: var(--cream-bg); }
.cta-copy { font-family: var(--font-body); font-size: clamp(17px,1.9vw,20px); line-height: 1.6; color: #f3e2ee; margin: 0 auto 34px; max-width: 56ch; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.btn-cta-primary { font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: #3a1160; background: var(--gold); padding: 18px 40px; border-radius: 4px; box-shadow: 0 14px 40px rgba(0,0,0,0.3); transition: background .2s ease; }
.btn-cta-primary:hover { background: var(--orange); color: #3a1160; }
.btn-cta-secondary { font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-bg); border: 1.5px solid rgba(253,243,226,0.6); padding: 18px 40px; border-radius: 4px; background: transparent; transition: background .2s ease; }
.btn-cta-secondary:hover { background: rgba(253,243,226,0.1); color: var(--cream-bg); }

/* ---------- Book showcase ---------- */
.book-showcase { position: relative; background: var(--cream-bg); overflow: hidden; padding: clamp(60px,7vw,100px) 24px; }
.book-showcase-art { position: absolute; top: 0; height: 100%; width: auto; object-fit: cover; pointer-events: none; }
.book-showcase-art.left { left: 0; object-position: left bottom; }
.book-showcase-art.right { right: 0; object-position: right top; }
.book-showcase-inner { position: relative; z-index: 2; max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: clamp(36px,5vw,72px); align-items: center; justify-content: center; }
@media (max-width: 820px) { .book-showcase-art { opacity: 0.22; } }
.book-cover-col { flex: 0 0 auto; width: clamp(240px,32%,340px); }
.book-cover-col img { width: 100%; border-radius: 4px; transform: rotate(-4deg); box-shadow: 24px 26px 0 var(--gold), 0 30px 50px rgba(26,16,48,0.28); }
.book-info-col { flex: 1 1 380px; min-width: 300px; }
.book-info-col p { font-family: var(--font-body); font-size: clamp(16px,1.7vw,18.5px); line-height: 1.66; color: #41384a; margin: 0 0 18px; max-width: 56ch; }
.book-price-row { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 0 0 26px; }
.book-price { font-family: var(--font-display); font-weight: 900; font-size: clamp(38px,5vw,54px); line-height: 1; color: var(--navy-ink); }
.book-price-note { font-family: var(--font-body); font-size: 16px; color: #6a5f52; }
.btn-buy { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-bg); background: var(--magenta-text); padding: 17px 34px; border-radius: 4px; transition: background .2s ease; }
.btn-buy:hover { background: #6d1854; color: var(--cream-bg); }

.inside-grid { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(16px,1.8vw,24px); }
@media (max-width: 820px) { .inside-grid { grid-template-columns: 1fr; } }
.inside-card { background: rgba(255,251,242,0.72); border-top: 4px solid var(--card-accent, var(--magenta)); border-radius: 4px 4px 12px 12px; padding: clamp(26px,2.6vw,34px); }
.inside-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--card-accent, var(--magenta)); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 24px -8px var(--card-accent, var(--magenta)); }
.inside-icon svg { width: 24px; height: 24px; }
.inside-title { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--navy-ink); margin: 18px 0 10px; }
.inside-text { font-family: var(--font-body); font-size: 15.5px; line-height: 1.58; color: var(--body-on-cream); margin: 0; }

/* ---------- Gallery ---------- */
.gallery-section { background: var(--cream-bg) url('../assets/img/honours-bg.png') center / cover no-repeat fixed; padding: clamp(48px,6vw,84px) clamp(18px,4vw,44px); }
.gallery-masonry { max-width: 1240px; margin: 0 auto; column-count: 3; column-gap: 18px; }
@media (max-width: 900px) { .gallery-masonry { column-count: 2; column-gap: 14px; } }
@media (max-width: 560px) { .gallery-masonry { column-count: 1; } }
.gallery-figure { break-inside: avoid; margin: 0 0 18px; cursor: pointer; background: #fff; border-radius: 5px; overflow: hidden; box-shadow: 0 10px 26px rgba(26,16,48,0.14); transition: transform .28s ease, box-shadow .28s ease; border: 0; padding: 0; text-align: left; width: 100%; display: block; }
.gallery-figure:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(26,16,48,0.26); }
.gallery-figure img { width: 100%; height: auto; }
.gallery-caption { font-family: var(--font-body); font-size: 14px; line-height: 1.45; color: var(--body-on-cream); padding: 14px 16px 16px; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12,6,24,0.94); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .28s ease; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-btn { position: absolute; top: 22px; right: 26px; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(246,239,224,0.35); background: rgba(0,0,0,0.3); color: var(--cream-text); font-size: 22px; cursor: pointer; z-index: 3; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(246,239,224,0.35); background: rgba(0,0,0,0.3); color: var(--cream-text); font-size: 22px; cursor: pointer; z-index: 3; }
.lightbox-prev { left: clamp(10px,3vw,40px); }
.lightbox-next { right: clamp(10px,3vw,40px); }
.lightbox-figure { margin: 0; max-width: 92vw; max-height: 88vh; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.lightbox-figure img { max-width: 92vw; max-height: 74vh; width: auto; height: auto; border-radius: 5px; box-shadow: 0 30px 70px rgba(0,0,0,0.6); }
.lightbox-caption { font-family: var(--font-body); font-size: clamp(14px,1.6vw,17px); line-height: 1.5; color: #f0e6d4; text-align: center; max-width: 70ch; }

/* ---------- Videos ---------- */
.videos-section { background: var(--cream-bg) url('../assets/img/honours-bg.png') center / cover no-repeat fixed; padding: clamp(48px,6vw,84px) clamp(18px,4vw,44px); }
.videos-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(18px,2.4vw,30px); }
@media (max-width: 900px) { .videos-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .videos-grid { grid-template-columns: 1fr; } }
.video-card { display: block; text-align: left; padding: 0; border: 0; background: #fff; border-radius: 6px; overflow: hidden; cursor: pointer; box-shadow: 0 10px 26px rgba(26,16,48,0.14); transition: transform .28s ease, box-shadow .28s ease; width: 100%; }
.video-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(26,16,48,0.26); }
.video-thumb-wrap { position: relative; aspect-ratio: 16/9; background: var(--navy-ink); }
.video-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,16,48,0) 40%, rgba(26,16,48,0.5) 100%); }
.video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 62px; height: 62px; border-radius: 50%; background: rgba(245,178,30,0.94); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,0.4); z-index: 2; }
.video-play-triangle { width: 0; height: 0; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--navy-ink); margin-left: 4px; }
.video-card-body { padding: 16px 18px 20px; }
.video-card-title { font-family: var(--font-display); font-weight: 800; font-size: 15.5px; line-height: 1.3; color: var(--navy-ink); }
.video-card-kicker { font-family: var(--font-body); font-style: italic; font-size: 13.5px; color: var(--magenta-text); margin-top: 7px; }

.video-modal { position: fixed; inset: 0; z-index: 100; background: rgba(12,6,24,0.94); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .28s ease; }
.video-modal.is-open { opacity: 1; visibility: visible; }
.video-modal-inner { width: min(92vw,980px); }
.video-modal-frame { position: relative; aspect-ratio: 16/9; background: #000; border-radius: 6px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,0.6); }
.video-modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-modal-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(15px,1.8vw,19px); color: var(--cream-text); margin-top: 16px; text-align: center; }

.video-thumb-fb { background: linear-gradient(135deg,#1877f2,#0d5bc7); display: flex; align-items: center; justify-content: center; }
.video-thumb-fb-icon { font-family: var(--font-display); font-weight: 900; font-size: 46px; color: #fff; opacity: 0.9; }

/* ---------- Homepage ---------- */
.home-hero { position: relative; background: var(--purple-deep); color: var(--cream-text); overflow: hidden; }
.home-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 82% 18%, rgba(240,132,42,0.28), transparent 55%), radial-gradient(90% 80% at 8% 100%, rgba(30,158,138,0.2), transparent 60%); }
.home-hero-inner { max-width: 1240px; margin: 0 auto; padding: 0 28px; position: relative; }
.home-hero-flex { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; min-height: 78vh; padding: 132px 0 60px; }
.home-hero-text { flex: 1 1 440px; }
.home-hero-kicker { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; font-size: 13px; color: var(--gold); margin-bottom: 20px; }
.home-hero-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(44px,7vw,100px); line-height: 0.92; letter-spacing: -0.01em; margin: 0; color: var(--cream-text); }
.home-hero-tagline { font-family: var(--font-body); font-style: italic; font-weight: 500; font-size: clamp(19px,2.3vw,28px); color: #f5c542; margin: 22px 0 0; max-width: 30ch; }
.home-hero-rule { width: 220px; height: 4px; margin: 30px 0 26px; background: linear-gradient(90deg,var(--magenta) 0 22%,var(--gold) 22% 44%,var(--teal) 44% 66%,var(--purple-card) 66% 100%); border-radius: 2px; opacity: 0.9; }
.home-hero-quote { margin: 0; font-family: var(--font-body); font-size: 18px; line-height: 1.5; color: #d9cbd2; max-width: 440px; }
.home-hero-quote span { display: block; margin-top: 10px; font-family: var(--font-display); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lavender-3); }
.home-hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.home-hero-art { flex: 1 1 300px; display: flex; justify-content: center; align-items: flex-end; position: relative; min-width: 260px; }
.home-hero-art-inner { position: relative; width: min(400px,80vw); }
.home-hero-art-inner img { position: relative; width: 100%; filter: drop-shadow(0 24px 44px rgba(0,0,0,0.5)); }

.home-intro { max-width: 1080px; margin: 0 auto; padding: clamp(56px,8vw,96px) 28px; text-align: center; background: var(--cream-bg); }
.home-intro .section-eyebrow, .home-intro .section-heading { text-align: center; }
.home-intro .section-heading { margin: 0 0 24px; }
.home-intro p { font-family: var(--font-body); font-size: 20px; line-height: 1.6; color: #403843; max-width: 760px; margin: 0 auto 34px; }

.legacy-teaser { background: var(--purple-card); color: var(--cream-text); }
.legacy-teaser-inner { max-width: 1240px; margin: 0 auto; padding: clamp(56px,8vw,90px) 28px; display: flex; flex-wrap: wrap; gap: 52px; align-items: center; }
.legacy-teaser-img { flex: 1 1 300px; max-width: 400px; }
.legacy-teaser-img img { width: 100%; border-radius: 2px; box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.legacy-teaser-text { flex: 1 1 420px; }
.legacy-teaser-text p { font-family: var(--font-body); font-size: 18px; line-height: 1.62; color: #ddd2d8; margin: 0 0 18px; }

.milestones-section { background: var(--purple-deep); color: var(--cream-text); }
.milestones-inner { max-width: 1240px; margin: 0 auto; padding: clamp(56px,8vw,90px) 28px; }
.milestones-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); gap: 2px; background: rgba(246,239,224,0.14); }
.milestone-card { background: var(--purple-deep); padding: 26px 22px; }
.milestone-year { font-family: var(--font-display); font-weight: 900; font-size: 26px; color: var(--gold); }
.milestone-rule { width: 34px; height: 3px; background: var(--magenta); margin: 12px 0 14px; }
.milestone-text { font-family: var(--font-body); font-size: 15.5px; line-height: 1.5; color: #ddd2d8; }

.home-teaser-section { max-width: 1240px; margin: 0 auto; padding: clamp(56px,8vw,96px) 28px; }
.home-teaser-section.on-dark { max-width: none; background: var(--purple-deep); color: var(--cream-text); }
.home-teaser-section.on-dark .home-teaser-inner { max-width: 1240px; margin: 0 auto; padding: clamp(56px,8vw,96px) 28px; }
.home-teaser-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.home-teaser-link { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.home-gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
@media (max-width: 640px) { .home-gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.home-gallery-item { display: block; position: relative; overflow: hidden; border-radius: 2px; background: var(--purple-deep); aspect-ratio: 4/3; }
.home-gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.home-video-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 20px; }
.home-video-card { display: block; background: var(--purple-card); border-radius: 3px; overflow: hidden; }
.home-video-thumb { position: relative; aspect-ratio: 16/9; background: #000; }
.home-video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.82; }
.home-video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 56px; height: 56px; border-radius: 50%; background: var(--magenta); display: flex; align-items: center; justify-content: center; }
.home-video-play span { width: 0; height: 0; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent var(--cream-text); margin-left: 4px; }
.home-video-title { padding: 15px 17px; font-family: var(--font-display); font-weight: 600; font-size: 14px; line-height: 1.35; color: #efe6d5; }

.home-contact-teaser { max-width: 1080px; margin: 0 auto; padding: clamp(56px,8vw,96px) 28px; text-align: center; background: var(--cream-bg); }
.home-contact-teaser .section-eyebrow, .home-contact-teaser .section-heading { text-align: center; }
.btn-dark-cta { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-text); background: var(--purple-card); padding: 16px 30px; border-radius: 4px; }

/* ================= Homepage v2 (matches Hero Test.dc.html) ================= */

.h2-hero { position: relative; width: 100%; aspect-ratio: 1536/1024; max-height: 88vh; min-height: 600px; overflow: hidden; background: var(--purple-deep) url('../assets/img/hero-home.png') center right / cover no-repeat; }
.h2-hero-portrait { position: absolute; right: 0; top: 21%; height: 66%; width: auto; filter: drop-shadow(0 18px 40px rgba(0,0,0,0.5)); }
.h2-hero-inner { position: relative; z-index: 5; max-width: 1360px; margin: 0 auto; height: 100%; padding: 118px 44px 88px; display: flex; flex-direction: column; justify-content: center; }
.h2-hero-content { max-width: 500px; }
.h2-hero-kicker { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); margin-bottom: 20px; }
.h2-hero-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(44px,5.4vw,80px); line-height: 0.9; letter-spacing: -0.01em; margin: 0; color: var(--cream-text); }
.h2-hero-tagline { font-family: var(--font-body); font-style: italic; font-weight: 500; font-size: clamp(18px,1.9vw,24px); line-height: 1.34; color: #f5c542; margin: 22px 0 0; max-width: 26ch; }
.h2-hero-quote { margin: 22px 0 0; font-family: var(--font-body); font-size: 16px; line-height: 1.5; color: #cfc3e0; max-width: 34ch; }
.h2-hero-quote span { display: block; margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.h2-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; margin-bottom: 8px; }
@media (max-width: 720px) {
  .h2-hero { aspect-ratio: auto; min-height: 90vh; background-position: center center; }
  .h2-hero-portrait { opacity: 0.3; height: 82%; right: -10%; }
  .h2-hero-inner { padding: 104px 22px 48px; }
}

.h2-mission { position: relative; background: var(--cream-bg); overflow: hidden; padding: clamp(64px,8vw,112px) 24px; min-height: 560px; }
.h2-mission-art { position: absolute; top: 0; height: 100%; width: auto; pointer-events: none; }
.h2-mission-art.left { left: 0; }
.h2-mission-art.right { right: 0; }
.h2-mission-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; text-align: center; }
.h2-mission-inner .section-eyebrow { text-align: center; }
.h2-mission-inner h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px,5vw,58px); line-height: 1.04; letter-spacing: -0.01em; margin: 0; color: var(--navy-ink); }
.h2-mission-inner h2 em { color: var(--magenta-text); font-style: normal; }
.h2-mission-inner p { font-family: var(--font-body); font-size: clamp(18px,2vw,22px); line-height: 1.62; color: #41384a; margin: 26px auto 0; max-width: 58ch; }
/* Mission text column is max-width:720px — below ~1020px viewport there's no
   gutter left for the side art, so it starts overlapping the copy. Fade it
   back early, then further as the text column loses even more breathing room. */
@media (max-width: 1020px) { .h2-mission-art { opacity: 0.22; } }
@media (max-width: 720px) { .h2-mission-art { opacity: 0.14; } }

.h2-bio { position: relative; background: var(--purple-card) url('../assets/img/bio-bg.png') center / cover no-repeat; overflow: hidden; padding: clamp(60px,7vw,96px) 24px; }
.h2-bio-inner { position: relative; z-index: 2; max-width: 1120px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: clamp(28px,4vw,64px); align-items: center; }
.h2-bio-img { position: relative; flex: 0 1 360px; min-width: 240px; max-width: 440px; margin: 0 auto; }
.h2-bio-img img { width: 100%; height: auto; display: block; }
.h2-bio-text { flex: 1 1 420px; min-width: 300px; }
.h2-bio-text h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px,4.6vw,56px); line-height: 0.98; letter-spacing: -0.01em; margin: 0; color: var(--cream-text); }
.h2-bio-text p { font-family: var(--font-body); font-size: clamp(17px,1.7vw,20px); line-height: 1.66; color: #d6cbe8; margin: 24px 0 0; max-width: 56ch; }

.h2-milestones { position: relative; background: #1c0f3d; overflow: hidden; padding: clamp(56px,7vw,92px) 24px; }
.h2-milestones::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 50% 0%, rgba(75,42,123,0.45), transparent 60%); }
.h2-milestones-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; }
.h2-milestones-inner p.section-lede-dark { font-family: var(--font-body); font-size: clamp(16px,1.7vw,20px); line-height: 1.6; color: #b8abcf; margin: 0 0 clamp(36px,5vw,54px); max-width: 56ch; }

.ms-rail-wrap { position: relative; }
.ms-rail { position: relative; overflow-x: auto; overflow-y: hidden; cursor: grab; scrollbar-width: none; -ms-overflow-style: none; padding: 28px 0 10px; scroll-snap-type: x proximity; scroll-behavior: auto; -webkit-overflow-scrolling: touch; touch-action: pan-x; }
.ms-rail::-webkit-scrollbar { display: none; }
.ms-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.ms-rail.is-dragging .ms-node { pointer-events: none; }
.ms-track { position: relative; display: flex; gap: 0; width: max-content; --nw: 240px; }
.ms-rail-line { position: absolute; left: calc(var(--nw) / 2); right: calc(var(--nw) / 2); top: 71px; height: 2px; background: rgba(246,239,224,0.18); z-index: 0; }
.ms-rail-fill { position: absolute; left: calc(var(--nw) / 2); top: 71px; height: 2px; z-index: 1; transition: width .45s cubic-bezier(.2,.8,.2,1), background .3s ease; }
.ms-node { position: relative; z-index: 1; flex: 0 0 auto; width: var(--nw); scroll-snap-align: center; padding: 0 10px; display: flex; flex-direction: column; align-items: center; text-align: center; outline: none; cursor: pointer; background: none; border: 0; }
.ms-node.is-active { z-index: 3; }
.ms-circle { width: 86px; height: 86px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; }
.ms-circle svg { width: 36px; height: 36px; }
.ms-node.is-active .ms-circle { transform: scale(1.16); }
.ms-year { font-family: var(--font-display); font-weight: 800; font-size: 24px; margin-top: 20px; transition: opacity .3s ease; opacity: 0.7; }
.ms-node.is-active .ms-year { opacity: 1; }
.ms-caption { font-family: var(--font-body); font-size: 15px; line-height: 1.5; margin: 12px auto 0; max-width: 270px; color: #9a8fb6; transition: color .3s ease; }
.ms-node.is-active .ms-caption { color: var(--cream-text); }
.ms-fade-r { position: absolute; right: 0; top: 0; bottom: 10px; width: 64px; background: linear-gradient(90deg, transparent, #1c0f3d); pointer-events: none; z-index: 4; }
.ms-fade-l { position: absolute; left: 0; top: 0; bottom: 10px; width: 40px; background: linear-gradient(270deg, transparent, #1c0f3d); pointer-events: none; z-index: 4; }
.ms-hint { text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: #6f6490; margin-top: 18px; }
@media (max-width: 880px) { .ms-rail-wrap, .ms-hint { display: none; } }

.ms-panel { position: relative; z-index: 2; margin-top: clamp(30px,4vw,46px); background: rgba(75,42,123,0.28); border: 1px solid rgba(246,239,224,0.12); border-radius: 16px; padding: clamp(22px,3vw,36px); display: flex; flex-wrap: wrap; gap: clamp(24px,4vw,44px); align-items: center; }
.ms-panel-img-wrap { position: relative; flex: 0 0 auto; width: clamp(180px,26%,260px); border-radius: 10px; }
.ms-panel-badge { position: absolute; left: -14px; top: -14px; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 3; }
.ms-panel-badge svg { width: 26px; height: 26px; }
.ms-panel-img-wrap img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 10px; filter: grayscale(1) contrast(1.05); box-shadow: 0 18px 40px rgba(0,0,0,0.4); }
.ms-panel-img-wrap img.ms-photo-color { aspect-ratio: 1/1; object-fit: contain; filter: none; }
.ms-panel-text { flex: 1 1 300px; min-width: 260px; }
.ms-panel-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ms-panel-year { font-family: var(--font-display); font-weight: 900; font-size: clamp(40px,6vw,68px); line-height: 0.9; }
.ms-panel-tag { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; border-radius: 100px; padding: 7px 14px; border: 1.5px solid; }
.ms-panel-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px,2.6vw,32px); line-height: 1.06; margin: 14px 0 0; color: var(--cream-text); }
.ms-panel-long { font-family: var(--font-body); font-size: clamp(16px,1.6vw,18.5px); line-height: 1.62; color: #cabfe0; margin: 14px 0 0; max-width: 62ch; }
.ms-panel-long.is-clamped { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ms-readmore { margin-top: 8px; padding: 0; background: none; border: 0; cursor: pointer; font-family: var(--font-display); font-weight: 800; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.ms-panel-quote { margin: 22px 0 0; padding-left: 18px; border-left: 3px solid; }
.ms-panel-quote span:first-child { font-family: var(--font-body); font-style: italic; font-size: clamp(17px,1.8vw,21px); line-height: 1.45; color: var(--cream-text); }
.ms-panel-quote span:last-child { display: block; margin-top: 8px; font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.ms-panel-nav { display: flex; align-items: center; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.ms-panel-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(246,239,224,0.4); background: transparent; color: var(--cream-text); font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ms-panel-counter { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #8f83aa; }

.h2-gallery { position: relative; background: #f4e9d8; padding: clamp(44px,5vw,68px) 0 0; }
.h2-gallery-head-wrap { max-width: 1400px; margin: 0 auto; padding: 0 clamp(20px,3vw,40px); }
.h2-gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.h2-gallery-head h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px,3.6vw,44px); line-height: 1; letter-spacing: -0.01em; margin: 0; color: var(--navy-ink); }
.h2-gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(10px,1.4vw,18px); padding: 0 clamp(8px,1vw,14px) clamp(44px,5vw,68px); max-width: 1400px; margin: 0 auto; }
@media (max-width: 760px) { .h2-gallery-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px) { .h2-gallery-grid { grid-template-columns: 1fr; } }
.h2-gallery-item { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; aspect-ratio: 4/3; overflow: hidden; border-radius: 10px; background: var(--purple-card); }
.h2-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.h2-gallery-item:hover img { transform: scale(1.07); }
.h2-gallery-item-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; text-align: left; padding: 18px; background: linear-gradient(transparent 38%, rgba(26,16,48,0.9)); opacity: 0; transition: opacity .3s ease; }
.h2-gallery-item:hover .h2-gallery-item-overlay { opacity: 1; }
.h2-gallery-item-tag { font-family: var(--font-display); font-weight: 800; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.h2-gallery-item-cap { font-family: var(--font-body); font-size: 14.5px; line-height: 1.4; color: var(--cream-text); }

.h2-videos { position: relative; background: var(--purple-card); padding: clamp(48px,6vw,80px) 0; }
.h2-videos-head-wrap { max-width: 1400px; margin: 0 auto; padding: 0 clamp(20px,3vw,40px); }
.h2-videos-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.h2-videos-head h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px,3.6vw,44px); line-height: 1; letter-spacing: -0.01em; margin: 0; color: var(--cream-text); }
.h2-video-grid { max-width: 1400px; margin: 0 auto; padding: 0 clamp(20px,3vw,40px); display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(16px,2vw,26px); }
@media (max-width: 900px) { .h2-video-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px) { .h2-video-grid { grid-template-columns: 1fr; } }
.h2-video-frame { position: relative; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: #000; }
.h2-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.h2-video-play-btn { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: #000; }
.h2-video-play-btn img { width: 100%; height: 100%; object-fit: cover; opacity: 0.86; }
.h2-video-play-icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 60px; height: 60px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; }
.h2-video-play-icon span { width: 0; height: 0; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.h2-video-dur { position: absolute; right: 10px; bottom: 10px; font-family: var(--font-display); font-weight: 700; font-size: 12px; color: #fff; background: rgba(0,0,0,0.72); padding: 4px 9px; border-radius: 4px; }
.h2-video-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-top: 14px; }
.h2-video-meta-title { font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1.3; color: #efe6d5; }
.h2-video-meta-dur { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #9a8fb6; flex: 0 0 auto; }

.h2-contact-band { position: relative; overflow: hidden; background: #7a2fb0 url('../assets/img/cta-bg.png') center / cover no-repeat; padding: clamp(52px,7vw,88px) 24px; text-align: center; }
.h2-contact-band-inner { position: relative; z-index: 2; max-width: 840px; margin: 0 auto; }
.h2-contact-band h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px,4vw,52px); line-height: 1.06; letter-spacing: -0.01em; margin: 0 0 30px; color: var(--cream-bg); }
.h2-contact-cta { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream-bg); background: var(--navy-ink); padding: 18px 34px; border-radius: 4px; transition: background .2s ease; }
.h2-contact-cta:hover { background: #2a1f42; color: var(--cream-bg); }

/* Gallery teaser modal (homepage) */
.h2-modal { position: fixed; inset: 0; z-index: 200; background: rgba(16,9,32,0.94); display: flex; align-items: center; justify-content: center; padding: clamp(16px,4vw,48px); opacity: 0; visibility: hidden; transition: opacity .3s ease; }
.h2-modal.is-open { opacity: 1; visibility: visible; }
.h2-modal-close { position: absolute; top: 20px; right: 24px; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(246,239,224,0.4); background: transparent; color: var(--cream-text); font-size: 26px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.h2-modal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid rgba(246,239,224,0.4); background: rgba(26,16,48,0.5); color: var(--cream-text); font-size: 26px; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; }
.h2-modal-prev { left: clamp(10px,3vw,40px); }
.h2-modal-next { right: clamp(10px,3vw,40px); }
.h2-modal-body { max-width: 1000px; width: 100%; display: flex; flex-direction: column; align-items: center; }
.h2-modal-body img { max-width: 100%; max-height: 72vh; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 70px rgba(0,0,0,0.6); }
.h2-modal-meta { text-align: center; margin-top: 20px; max-width: 680px; }
.h2-modal-tag { font-family: var(--font-display); font-weight: 800; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.h2-modal-caption { font-family: var(--font-body); font-size: clamp(16px,1.8vw,19px); line-height: 1.55; color: #e7ddf0; margin: 0; }
.h2-modal-counter { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #8f83aa; margin-top: 14px; }

/* background-attachment:fixed is unreliable on iOS Safari (janky repaints,
   sometimes ignored) and pointless on short mobile viewports anyway — fall
   back to normal scrolling background under ~820px. */
@media (max-width: 820px), (hover: none) and (pointer: coarse) {
  .contact-section, .gallery-section, .videos-section { background-attachment: scroll; }
}

/* ---------- Foundation: Our Programs ---------- */
.programs-section { background: var(--cream-bg); padding: clamp(56px,7vw,92px) 24px; }
.programs-list { max-width: 980px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(20px,2.4vw,28px); }
.program-card { background: #fff; border-top: 4px solid var(--card-accent, var(--magenta)); border-radius: 5px 5px 12px 12px; padding: clamp(28px,3.2vw,40px); box-shadow: 0 10px 30px rgba(26,16,48,0.08); }
.program-card-head { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.program-card-icon { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 50%; background: var(--card-accent, var(--magenta)); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 22px -8px var(--card-accent, var(--magenta)); }
.program-card-icon svg { width: 22px; height: 22px; }
.program-card-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(19px,2.1vw,24px); line-height: 1.15; color: var(--navy-ink); }
.program-card-lede { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--card-accent, var(--magenta)); margin: 18px 0 12px; }
.program-card-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2,1fr); gap: 8px 24px; }
.program-card-list li { font-family: var(--font-body); font-size: 15.5px; line-height: 1.5; color: var(--body-on-cream); padding-left: 18px; position: relative; }
.program-card-list li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--card-accent, var(--magenta)); }
.program-card-sub { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(26,16,48,0.08); }
@media (max-width: 640px) { .program-card-list { grid-template-columns: 1fr; } }