/* ══════════════════════════════════════════
   THE LEGACY PROJECT — styles.css v2
   Design system: dark cinematic, gold accents,
   glass cards, Libre Baskerville + Inter
   ══════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  --bg1:     #070b14;
  --bg2:     #0b1020;
  --bg3:     #0e1528;
  --text:    #e9edf6;
  --muted:   #b7c0d6;
  --subtle:  #7a88a8;
  --gold:    #d6b15c;
  --gold2:   #f3d48b;
  --gold3:   #c9a24e;
  --border:  rgba(255,255,255,.10);
  --border2: rgba(255,255,255,.06);
  --card:    rgba(255,255,255,.03);
  --card2:   rgba(255,255,255,.055);
  --shadow:  0 14px 40px rgba(0,0,0,.45);
  --shadow2: 0 4px 18px rgba(0,0,0,.30);
  --radius:  18px;
  --radius2: 12px;
  --max:     1020px;
  --serif:   "Libre Baskerville", serif;
  --sans:    "Inter", system-ui, -apple-system, sans-serif;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { min-height: 100vh; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg1);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .88; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ─── FILM GRAIN OVERLAY ─── */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 900;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  animation: grain 0.8s steps(2) infinite;
}
@keyframes grain {
  0%   { transform: translate(0,0); }
  25%  { transform: translate(-2%,-3%); }
  50%  { transform: translate(3%,1%); }
  75%  { transform: translate(-1%,2%); }
  100% { transform: translate(2%,-1%); }
}

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 800;
  padding: 0 20px;
  background: rgba(7,11,20,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border2);
  transition: box-shadow .3s ease;
}
.nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.5); }
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 20px;
}
.nav__logo {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--gold2);
  letter-spacing: .01em;
  white-space: nowrap;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .01em;
  transition: color .2s;
}
.nav__links a:hover { color: var(--text); opacity: 1; }
.nav__cta {
  background: linear-gradient(180deg, rgba(214,177,92,.90), rgba(214,177,92,.75));
  color: #1a1406 !important;
  padding: 7px 18px;
  border-radius: 999px;
  border: 1px solid rgba(214,177,92,.45);
}
.nav__cta:hover { background: linear-gradient(180deg, rgba(243,212,139,.95), rgba(214,177,92,.82)) !important; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .25s; }

/* ─── CONTAINER ─── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── TYPOGRAPHY ─── */
.overline {
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: 14px;
  display: block;
}
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; }
h1 { font-size: clamp(32px, 7vw, 56px); letter-spacing: -.02em; }
h2 {
  font-size: clamp(22px, 4vw, 30px);
  letter-spacing: -.01em;
  margin-bottom: 10px;
}
.h2-sub {
  font-size: .72em;
  font-weight: 400;
  display: block;
  color: var(--gold);
  margin-top: 4px;
}
h3 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--gold2);
}
p { font-size: 15.5px; margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: transform .08s ease, opacity .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); opacity: .92; }
.btn--gold {
  background: linear-gradient(180deg, rgba(214,177,92,.95), rgba(214,177,92,.82));
  border-color: rgba(214,177,92,.55);
  color: #1a1406;
}
.btn--gold:hover { background: linear-gradient(180deg, rgba(243,212,139,.95), rgba(214,177,92,.82)); }
.btn--lg { padding: 14px 30px; font-size: 15px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.cta--center { justify-content: center; }

/* ─── SECTIONS ─── */
.section { padding: 80px 0; }
.section--alt {
  background: linear-gradient(180deg,
    rgba(14,21,40,.55) 0%,
    rgba(11,16,32,.75) 100%);
  border-top: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2);
}
.section--support {
  background: radial-gradient(900px 500px at 50% 0%,
    rgba(214,177,92,.08), transparent 70%),
    linear-gradient(180deg, var(--bg2), var(--bg1));
  border-top: 1px solid rgba(214,177,92,.15);
}
.section__header { margin-bottom: 40px; }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 700px at 25% 30%, rgba(214,177,92,.09), transparent 55%),
    radial-gradient(800px 600px at 80% 15%, rgba(255,255,255,.05), transparent 50%),
    radial-gradient(600px 500px at 60% 80%, rgba(30,50,100,.35), transparent 60%),
    linear-gradient(180deg, var(--bg1) 0%, var(--bg2) 100%);
  z-index: 0;
}
.hero__content {
  position: relative;
  z-index: 1;
}
.hero__headline {
  margin-bottom: 18px;
  color: var(--text);
}
.hero__subhead {
  font-size: clamp(15px, 2.5vw, 19px);
  color: var(--gold2);
  font-weight: 600;
  letter-spacing: .01em;
  margin-bottom: 20px;
}
.hero__body {
  max-width: 640px;
  font-size: 16.5px;
  color: rgba(233,237,246,.85);
  margin-bottom: 28px;
  line-height: 1.7;
}
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero__scroll span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(214,177,92,.55));
  margin: 0 auto;
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .3; transform: scaleY(1); }
  50%       { opacity: .9; transform: scaleY(1.15); }
}

/* ─── OBJECTIVES ─── */
.objectives-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.obj-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 22px;
  box-shadow: var(--shadow2);
}
.obj-icon {
  color: var(--gold);
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}
.obj-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-weight: 600;
}
.obj-item p,
.obj-item div { font-size: 14.5px; color: var(--muted); }

/* ─── PROGRAM PILLARS ─── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.pillar-card {
  position: relative;
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.pillar-card__accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold3), var(--gold2), transparent);
}
.pillar-card--upcoming { border-color: rgba(214,177,92,.22); }
.pillar-card__badge {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold2);
  border: 1px solid rgba(214,177,92,.35);
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 10px;
}
.pillar-card p { font-size: 14.5px; color: var(--muted); }
.pillar-card__tag {
  font-size: 11.5px !important;
  color: var(--subtle) !important;
  margin-top: 14px !important;
  letter-spacing: .02em;
}

/* ─── WOMEN WITHOUT FEAR ─── */
.wwf-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 52px;
}
.wwf-cover { position: sticky; top: 80px; }
.book-cover {
  border-radius: var(--radius2);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.7), 0 0 0 1px rgba(214,177,92,.15);
  aspect-ratio: 6/9;
  background: linear-gradient(150deg, #1a1507, #0d100b);
  display: flex;
  align-items: center;
  justify-content: center;
}
.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius2);
}
.book-cover__placeholder {
  text-align: center;
  padding: 24px 16px;
}
.book-cover__title {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
  color: var(--gold2);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: .02em;
}
.book-cover__byline {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.book-cover__sub {
  font-size: 10.5px;
  color: var(--subtle);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.wwf-text p { font-size: 15.5px; color: rgba(233,237,246,.88); line-height: 1.72; }
.wwf-text em { color: var(--gold2); font-style: italic; }

/* Trailer */
.trailer-wrap { margin-top: 8px; }
.trailer-label { margin-bottom: 12px; }
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #000;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
}

/* ─── TRUST GRID ─── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.trust-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow2);
}
.trust-card__icon {
  display: block;
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 14px;
}
.trust-card h3 { color: var(--text); font-size: 16.5px; margin-bottom: 10px; }
.trust-card p { font-size: 14.5px; color: var(--muted); }
.partners-note {
  text-align: center;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  background: var(--card);
}
.partners-note p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ─── SUPPORT ─── */
.support-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.support-body {
  font-size: 16.5px;
  color: rgba(233,237,246,.88);
  margin-bottom: 32px;
  line-height: 1.75;
}
.donor-callout {
  margin: 32px auto 0;
  background: rgba(214,177,92,.06);
  border: 1px solid rgba(214,177,92,.22);
  border-radius: var(--radius2);
  padding: 20px 24px;
  text-align: left;
  max-width: 520px;
}
.donor-callout__label {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: 8px;
  display: block;
}
.donor-callout__text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}
.trust {
  margin-top: 16px;
  color: var(--subtle);
  font-size: 13px;
}

/* ─── FOOTER ─── */
.footer {
  padding: 28px 0;
  border-top: 1px solid var(--border2);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
}
.footer p { font-size: 12.5px; color: var(--subtle); margin: 0; }
.footer a { color: var(--gold2); }

/* ─── RESPONSIVE ─── */
@media (max-width: 860px) {
  .wwf-layout {
    grid-template-columns: 1fr;
  }
  .wwf-cover {
    position: static;
    max-width: 200px;
    margin: 0 auto 8px;
  }
  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: rgba(7,11,20,.97);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    gap: 20px;
  }
  .nav__toggle { display: flex; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero { min-height: 90vh; padding: 88px 0 64px; }
  h2 { font-size: 22px; }
  .objectives-list { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .cta { flex-direction: column; }
  .cta--center { align-items: center; }
}