/* ============================================================
   WV Immigrant Voices Project — shared stylesheet
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:       #f5f0e8;
  --parchment:   #ede5d0;
  --gold:        #b8860b;
  --gold-light:  #d4a843;
  --terracotta:  #8b3a2a;
  --umber:       #5c3317;
  --bark:        #2e1a0e;
  --charcoal:    #1c1410;
  --muted:       #7a6a56;
  --rule:        rgba(90,60,30,0.18);
  --rule-light:  rgba(245,240,232,0.14);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Libre Baskerville', Georgia, serif;
  --font-sans:    'Source Sans 3', system-ui, sans-serif;

  --nav-w: 240px;
  --pad-x: clamp(1.5rem, 4vw, 4.5rem);
  --pad-y: clamp(4rem, 8vw, 7.5rem);
  --max-w: 1100px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }

/* subtle film grain overlay everywhere */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px;
}

/* ============================================================
   LEFT NAV — fixed vertical panel, the primary chrome
   ============================================================ */

.site-nav {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--nav-w);
  background: var(--charcoal);
  border-right: 1px solid rgba(212,168,67,0.12);
  display: flex;
  flex-direction: column;
  padding: 2.4rem 1.6rem 1.6rem;
  z-index: 500;
  overflow-y: auto;
}

.site-nav::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 90px;
  background: linear-gradient(180deg, var(--gold-light), var(--terracotta), transparent);
}

.nav-brand {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--terracotta);
  line-height: 1.15;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(212,168,67,0.18);
  margin-bottom: 2rem;
}
.nav-brand .brand-main em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 400;
}
.nav-brand small {
  display: block;
  margin-top: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: auto;
}
.nav-list a {
  position: relative;
  display: block;
  padding: 0.7rem 0.2rem 0.7rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.62);
  border-left: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s, padding 0.25s;
}
.nav-list a:hover {
  color: var(--cream);
  border-left-color: var(--gold);
  padding-left: 1.2rem;
}
.nav-list a.active {
  color: var(--gold-light);
  border-left-color: var(--gold-light);
  padding-left: 1.2rem;
}
.nav-list a.active::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  background: var(--gold-light);
  border-radius: 50%;
}

.nav-foot {
  margin-top: 2.5rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(212,168,67,0.14);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: rgba(245,240,232,0.4);
  line-height: 1.65;
}
.nav-foot .nav-email {
  display: block;
  margin-bottom: 0.9rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--gold-light);
  word-break: break-all;
}
.nav-foot .nav-socials {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}
.nav-foot .nav-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border: 1px solid rgba(212,168,67,0.25);
  color: var(--gold-light);
  transition: background 0.2s, color 0.2s;
}
.nav-foot .nav-socials a:hover {
  background: var(--gold);
  color: var(--charcoal);
}
.nav-foot .nav-socials svg {
  width: 14px; height: 14px;
}

/* mobile hamburger header (hidden on desktop) */
.mobile-bar {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 60px;
  z-index: 600;
  background: var(--charcoal);
  border-bottom: 1px solid rgba(212,168,67,0.18);
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
}
.mobile-bar .brand-mini {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--terracotta);
}
.mobile-bar .brand-mini em { color: var(--gold-light); font-style: italic; font-weight: 400; }
.mobile-bar .burger {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mobile-bar .burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
}
body.nav-open .mobile-bar .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .mobile-bar .burger span:nth-child(2) { opacity: 0; }
body.nav-open .mobile-bar .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   MAIN CONTENT — sits to the right of the fixed nav
   ============================================================ */

.site-main {
  margin-left: var(--nav-w);
  min-height: 100vh;
}

/* generic content wrapper */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--pad-y) var(--pad-x);
}

/* section heading rail (number + title + rule) */
.section-heading {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  margin-bottom: 3rem;
}
.section-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold);
  flex-shrink: 0;
  letter-spacing: 0.05em;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 300;
  color: var(--bark);
  line-height: 1.05;
  letter-spacing: -0.005em;
}
.section-title em { font-style: italic; color: var(--terracotta); font-weight: 400; }
.section-rule {
  flex: 1;
  height: 1px;
  background: var(--rule);
  align-self: center;
}
.section-heading.on-dark .section-title { color: var(--cream); }
.section-heading.on-dark .section-rule  { background: var(--rule-light); }

/* ============================================================
   HOMEPAGE — HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  background: var(--bark);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 18% 30%, rgba(139,58,42,0.32) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(184,134,11,0.18) 0%, transparent 60%),
    linear-gradient(160deg, var(--charcoal) 0%, var(--bark) 50%, #3a2010 100%);
}
.hero-left,
.hero-right {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(3rem, 7vw, 6rem) clamp(2rem, 5vw, 5rem) clamp(4rem, 7vw, 6rem);
}
.hero-left::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold-light), transparent);
}
.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.6rem;
  opacity: 0.85;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  font-weight: 300;
  line-height: 1.02;
  color: var(--cream);
  margin-bottom: 1.6rem;
  letter-spacing: -0.01em;
}
.hero-title em { font-style: italic; color: var(--gold-light); font-weight: 400; }
.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 300;
  color: rgba(245,240,232,0.65);
  border-top: 1px solid rgba(245,240,232,0.18);
  padding-top: 1.3rem;
  max-width: 32ch;
}

.hero-right {
  justify-content: center;
  border-left: 1px solid rgba(245,240,232,0.08);
}
.hero-quote {
  max-width: 420px;
  position: relative;
}
.hero-quote::before {
  content: '“';
  position: absolute;
  top: -3.5rem; left: -1.2rem;
  font-family: var(--font-display);
  font-size: 9rem;
  line-height: 1;
  color: var(--terracotta);
  opacity: 0.25;
}
.hero-quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.45;
  color: var(--cream);
  margin-bottom: 1.3rem;
}
.hero-quote-attr {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.45);
}

.scroll-indicator {
  position: absolute;
  bottom: 1.8rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.45);
}
.scroll-indicator::after {
  content: '';
  width: 1px; height: 38px;
  background: linear-gradient(180deg, rgba(245,240,232,0.5), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0.4); transform-origin: top; opacity: 0.3; }
  50%  { transform: scaleY(1);   transform-origin: top; opacity: 0.9; }
  100% { transform: scaleY(0.4); transform-origin: bottom; opacity: 0.3; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { border-left: none; border-top: 1px solid rgba(245,240,232,0.08); min-height: 320px; }
}

/* ============================================================
   MISSION BAND
   ============================================================ */

.mission-band {
  background: var(--terracotta);
  padding: clamp(4rem, 7vw, 6rem) var(--pad-x);
  position: relative;
  overflow: hidden;
}
.mission-band::before {
  content: 'STORIES';
  position: absolute;
  right: -2rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(8rem, 22vw, 20rem);
  font-weight: 700;
  color: rgba(255,255,255,0.045);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}
.mission-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3.5rem;
  align-items: start;
  position: relative;
}
.mission-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.55);
  border-top: 1px solid rgba(245,240,232,0.28);
  padding-top: 0.5rem;
}
.mission-text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 300;
  line-height: 1.55;
  color: var(--cream);
}

@media (max-width: 720px) {
  .mission-inner { grid-template-columns: 1fr; gap: 1.4rem; }
}

/* ============================================================
   ABOUT (two-column with pillars)
   ============================================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem 5rem;
}
.about-body p {
  font-size: 1.02rem;
  line-height: 1.9;
}
.about-body p + p { margin-top: 1.1em; }

.pillars { display: flex; flex-direction: column; gap: 1.8rem; }
.pillar { border-left: 2px solid var(--gold); padding-left: 1.4rem; }
.pillar-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: 0.3rem;
}
.pillar-body {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.8rem; }
}

/* ============================================================
   BY THE NUMBERS — animated counters on dark
   ============================================================ */

.numbers-section {
  background: var(--bark);
  padding: var(--pad-y) var(--pad-x);
  position: relative;
  overflow: hidden;
}
.numbers-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(184,134,11,0.08), transparent 50%);
  pointer-events: none;
}
.numbers-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem 1.5rem;
  margin-top: 1rem;
}
.stat {
  border-top: 1px solid rgba(212,168,67,0.22);
  padding-top: 1.2rem;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
  letter-spacing: -0.01em;
  display: block;
  margin-bottom: 0.6rem;
}
.stat-label {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: rgba(245,240,232,0.6);
  line-height: 1.5;
}
.numbers-footnote {
  margin-top: 3rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(245,240,232,0.7);
  max-width: 60ch;
}
.numbers-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  border-bottom: 1px solid rgba(212,168,67,0.35);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}
.numbers-link:hover { color: var(--cream); border-color: var(--cream); }

@media (max-width: 900px) { .numbers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .numbers-grid { grid-template-columns: 1fr; } }

/* ============================================================
   UPLOAD STORY — centered dark CTA
   ============================================================ */

.upload-section {
  background: var(--charcoal);
  padding: var(--pad-y) var(--pad-x);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.upload-section::before {
  content: '▲';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32vw;
  color: rgba(255,255,255,0.02);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}
.upload-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.upload-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}
.upload-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 1.4rem;
}
.upload-title em { font-style: italic; color: var(--gold-light); }
.upload-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(245,240,232,0.62);
  line-height: 1.8;
  margin-bottom: 2.4rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 2.6rem;
  background: var(--terracotta);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s, transform 0.18s, border-color 0.25s;
}
.btn:hover { background: var(--gold); transform: translateY(-2px); }
.btn.btn-ghost {
  background: transparent;
  border-color: rgba(245,240,232,0.4);
  color: var(--cream);
}
.btn.btn-ghost:hover { background: var(--cream); color: var(--bark); border-color: var(--cream); }
.btn svg { width: 16px; height: 16px; }

.upload-note {
  margin-top: 1.4rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: rgba(245,240,232,0.35);
}

/* ============================================================
   GET INVOLVED — 4-col grid
   ============================================================ */

.involve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--rule);
}
.involve-item {
  padding: 2.4rem 1.6rem;
  border-right: 1px solid var(--rule);
  transition: background 0.25s, transform 0.25s;
}
.involve-item:last-child { border-right: none; }
.involve-item:hover { background: var(--parchment); transform: translateY(-3px); }
.involve-icon {
  display: block;
  font-size: 1.9rem;
  margin-bottom: 1rem;
}
.involve-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--bark);
  margin-bottom: 0.6rem;
}
.involve-text {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .involve-grid { grid-template-columns: 1fr 1fr; }
  .involve-item { border-bottom: 1px solid var(--rule); }
  .involve-item:nth-child(2n) { border-right: none; }
  .involve-item:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 520px) {
  .involve-grid { grid-template-columns: 1fr; }
  .involve-item { border-right: none; border-bottom: 1px solid var(--rule); }
  .involve-item:last-child { border-bottom: none; }
}

/* ============================================================
   CONTACT — dark, two columns
   ============================================================ */

.contact-section {
  background: var(--bark);
  padding: var(--pad-y) var(--pad-x);
  position: relative;
  overflow: hidden;
}
.contact-section::after {
  content: '"';
  position: absolute;
  right: 3%; bottom: -18%;
  font-family: var(--font-display);
  font-size: clamp(20rem, 45vw, 40rem);
  color: rgba(255,255,255,0.022);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.contact-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: start;
  position: relative;
}
.contact-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}
.contact-headline em { font-style: italic; color: var(--gold-light); }
.contact-sub {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: rgba(245,240,232,0.55);
  line-height: 1.85;
}
.contact-sub + .contact-sub { margin-top: 0.8rem; }
.contact-email {
  display: inline-block;
  margin-top: 1.4rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-light);
  border-bottom: 1px solid rgba(212,168,67,0.35);
  padding-bottom: 3px;
}
.contact-affil {
  margin-top: 1.8rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: rgba(245,240,232,0.32);
  line-height: 1.7;
  max-width: 38ch;
}

.form-field { margin-bottom: 1.2rem; }
.form-field label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.45);
  margin-bottom: 0.45rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: rgba(245,240,232,0.05);
  border: 1px solid rgba(245,240,232,0.16);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 0.8rem 0.95rem;
  outline: none;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s, background 0.2s;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(245,240,232,0.3); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold-light);
  background: rgba(245,240,232,0.08);
}
.form-field textarea { height: 105px; resize: vertical; }
.form-field select option { background: var(--bark); color: var(--cream); }

.form-submit {
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.95rem;
  background: var(--terracotta);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.18s;
}
.form-submit:hover { background: var(--gold); transform: translateY(-1px); }

.form-thanks {
  display: none;
  margin-top: 1.2rem;
  padding: 1.1rem 1.3rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold-light);
  border: 1px solid rgba(212,168,67,0.3);
  background: rgba(212,168,67,0.04);
}

@media (max-width: 820px) { .contact-inner { grid-template-columns: 1fr; gap: 3rem; } }

/* ============================================================
   INNER PAGE HEADER — cinematic full-bleed
   ============================================================ */

.page-header {
  position: relative;
  min-height: 60vh;
  background: var(--bark);
  display: flex;
  align-items: flex-end;
  padding: clamp(4rem, 9vw, 8rem) var(--pad-x) clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 40%, rgba(139,58,42,0.32) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 70%, rgba(184,134,11,0.16) 0%, transparent 55%),
    linear-gradient(160deg, var(--charcoal) 0%, var(--bark) 60%, #3a2010 100%);
}
.page-header::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold-light), transparent);
}
.page-header-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
}
.page-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.4rem;
  opacity: 0.85;
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.6rem);
  font-weight: 300;
  line-height: 1;
  color: var(--cream);
  margin-bottom: 1.4rem;
  letter-spacing: -0.01em;
}
.page-title em { font-style: italic; color: var(--gold-light); }
.page-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 300;
  color: rgba(245,240,232,0.65);
  border-top: 1px solid rgba(245,240,232,0.18);
  padding-top: 1.3rem;
  max-width: 50ch;
}

/* ============================================================
   STORIES PAGE — alternating full-width story sections
   ============================================================ */

.story {
  padding: var(--pad-y) var(--pad-x);
  background: var(--cream);
}
.story:nth-child(even) { background: var(--parchment); }
.story-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.story.reverse .story-inner { direction: rtl; }
.story.reverse .story-inner > * { direction: ltr; }

.story-video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bark);
  border: 1px solid var(--rule);
  box-shadow: 0 20px 60px rgba(46,26,14,0.18);
  overflow: hidden;
}
.story-video::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(212,168,67,0.18);
}
.story-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.story-body { padding: 0.5rem 0; }
.story-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 300;
  line-height: 1.4;
  color: var(--bark);
  margin-bottom: 1.6rem;
  position: relative;
}
.story-quote::before {
  content: '“';
  position: absolute;
  top: -3rem; left: -0.6rem;
  font-size: 6rem;
  line-height: 1;
  color: var(--terracotta);
  opacity: 0.22;
}
.story-rule {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 1.6rem 0;
}
.story-meta {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.85;
}
.story-meta dt {
  display: inline;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--terracotta);
  text-transform: uppercase;
  font-size: 0.72rem;
  margin-right: 0.4rem;
}
.story-meta dd {
  display: inline;
  margin-right: 0;
}
.story-meta dd::after { content: '\A'; white-space: pre; }
.story-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.2s;
}
.story-link:hover { color: var(--gold); }

@media (max-width: 900px) {
  .story-inner { grid-template-columns: 1fr; gap: 2.5rem; direction: ltr !important; }
  .story.reverse .story-inner { direction: ltr; }
  .story-quote::before { left: -0.2rem; top: -2.5rem; font-size: 4.5rem; }
}

/* CTA band */
.cta-band {
  background: var(--terracotta);
  padding: clamp(3rem, 6vw, 5rem) var(--pad-x);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 1.6rem;
  line-height: 1.3;
}

/* ============================================================
   COMMUNITIES — card grid with expandable detail
   ============================================================ */

.intro-text {
  max-width: 56ch;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--umber);
  margin-bottom: 4rem;
}

.communities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.community {
  background: var(--cream);
  border: 1px solid var(--rule);
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.community::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}
.community:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(46,26,14,0.1); }
.community:hover::before,
.community.open::before { transform: scaleX(1); }

.community-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.8rem 1.8rem 1.4rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.community-head-text { flex: 1; }
.community-tag {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.community-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--bark);
  line-height: 1.15;
}
.community-toggle {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--terracotta);
  transition: background 0.2s, transform 0.25s;
}
.community.open .community-toggle { background: var(--gold); color: var(--cream); transform: rotate(45deg); }

.community-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
}
.community.open .community-detail { max-height: 1200px; }
.community-detail-inner {
  padding: 0 1.8rem 1.9rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.4rem;
}
.community-intro {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--charcoal);
  margin-bottom: 1.4rem;
}
.community-section-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 1.4rem 0 0.7rem;
}
.community-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.community-links li {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.55;
}
.community-links a {
  color: var(--terracotta);
  border-bottom: 1px solid rgba(139,58,42,0.25);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.community-links a:hover { color: var(--gold); border-color: var(--gold); }
.community-links .placeholder {
  font-style: italic;
  color: var(--muted);
}

@media (max-width: 760px) { .communities-grid { grid-template-columns: 1fr; } }

/* ============================================================
   EVENTS PAGE
   ============================================================ */

.tab-bar {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 3.5rem;
}
.tab-btn {
  background: none;
  border: none;
  padding: 1.1rem 1.8rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}
.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--terracotta);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.tab-btn:hover { color: var(--bark); }
.tab-btn.active { color: var(--terracotta); }
.tab-btn.active::after { transform: scaleX(1); }

.tab-pane { display: none; }
.tab-pane.active { display: block; }

.month-divider {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  margin: 3.5rem 0 1.8rem;
}
.month-divider:first-child { margin-top: 0; }
.month-divider h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  font-style: italic;
  color: var(--terracotta);
  letter-spacing: 0.04em;
}
.month-divider .month-rule {
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.event {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2.4rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--rule);
}
.event:last-child { border-bottom: none; }
.event-date {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  line-height: 1.4;
}
.event-date strong {
  display: block;
  font-style: normal;
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--bark);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.event-body { }
.event-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--bark);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.event-meta {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.9rem;
}
.event-meta span + span::before {
  content: '·';
  margin: 0 0.6rem;
  color: var(--gold);
}
.event-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--charcoal);
  margin-bottom: 1rem;
}
.event-image,
.event-video {
  margin-top: 1.2rem;
  border: 1px solid var(--rule);
  overflow: hidden;
}
.event-video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bark);
}
.event-video iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.event-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

@media (max-width: 720px) {
  .event { grid-template-columns: 1fr; gap: 1rem; }
  .event-date strong { font-size: 2rem; display: inline; margin-right: 0.6rem; }
  .event-date { font-size: 1rem; }
}

/* ============================================================
   SUPPORT PAGE — resource categories
   ============================================================ */

.resource-cat {
  margin-bottom: 4rem;
}
.resource-cat-head {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  margin-bottom: 0.8rem;
}
.resource-cat-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold);
  flex-shrink: 0;
}
.resource-cat-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.5vw, 2.1rem);
  font-weight: 400;
  color: var(--bark);
  line-height: 1.1;
}
.resource-cat-rule { flex: 1; height: 1px; background: var(--rule); align-self: center; }
.resource-cat-blurb {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--charcoal);
  margin: 0.4rem 0 1.6rem;
  max-width: 64ch;
}

.resource-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.resource-card {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--gold);
  padding: 1.4rem 1.5rem;
  transition: background 0.2s, transform 0.25s, border-left-color 0.25s;
}
.resource-card:hover { background: var(--parchment); transform: translateY(-2px); border-left-color: var(--terracotta); }
.resource-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--bark);
  margin-bottom: 0.3rem;
  line-height: 1.25;
}
.resource-desc {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0.7rem;
}
.resource-contact {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 0.4rem;
}
.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  margin-top: 0.4rem;
}
.resource-link.placeholder {
  color: var(--muted);
  border-color: rgba(122,106,86,0.3);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 400;
}

@media (max-width: 720px) { .resource-list { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--charcoal);
  padding: 2.4rem var(--pad-x);
  border-top: 1px solid rgba(212,168,67,0.1);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.4rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: rgba(245,240,232,0.55);
}
.footer-brand em { color: var(--gold-light); font-style: italic; }
.footer-copy {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: rgba(245,240,232,0.32);
  line-height: 1.7;
}
.footer-copy span { display: block; }
.footer-email {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--gold-light);
}

/* ============================================================
   SCROLL FADE — Intersection Observer hook
   ============================================================ */

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s ease, transform 0.85s ease;
  will-change: opacity, transform;
}
.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  .scroll-indicator::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   MOBILE NAV (< 900px)
   ============================================================ */

@media (max-width: 900px) {
  .mobile-bar { display: flex; }
  .site-nav {
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    top: 60px;
    bottom: 0;
    width: 100%;
    max-width: 320px;
    padding-top: 2rem;
  }
  body.nav-open .site-nav { transform: translateX(0); }
  .site-main { margin-left: 0; padding-top: 60px; }
  .site-nav::before { display: none; }

  /* dim overlay when nav open */
  body.nav-open::before {
    content: '';
    position: fixed;
    top: 60px; left: 0; right: 0; bottom: 0;
    background: rgba(28,20,16,0.55);
    z-index: 400;
  }
}
