/* ==========================================================================
   New Kent County Branch NAACP — Site Redesign
   Design system: navy primary, gold secondary, black/white neutrals.
   ========================================================================== */

:root {
  /* Brand */
  --navy: #002f6c;
  --navy-700: #012452;
  --navy-900: #011836;
  --navy-tint: #eef2f8;
  --gold: #ffd100;
  --gold-600: #e6b800;
  --gold-tint: #fff8dc;
  --black: #0a0c10;
  --white: #ffffff;

  /* Neutrals */
  --ink: #171a21;
  --ink-soft: #4b5262;
  --line: #e3e7ee;
  --surface: #ffffff;
  --surface-alt: #f6f8fb;

  /* Semantic — text/surface roles that flip between light and dark mode.
     Component CSS should use these (not raw brand tokens) for anything
     drawn on a page/card surface, since --navy and --navy-900 stay literal
     brand colors and are unreadable as text on a dark surface. */
  --heading: var(--navy-900);   /* h1-h4 and other prominent text-on-surface */
  --accent-text: var(--navy);   /* eyebrow labels, icon chips, nav pills, tags */
  --header-solid-bg: rgba(255, 255, 255, 0.94);

  /* Type */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1200px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(1, 24, 54, 0.06);
  --shadow-md: 0 12px 32px rgba(1, 24, 54, 0.12);
  --shadow-lg: 0 24px 60px rgba(1, 24, 54, 0.18);
  --header-h: 84px;
}

/* Dark mode, following system preference. Brand colors (--navy*, --gold*,
   --white, --black) stay literal — navy is navy in either mode. Only the
   semantic surface/text/chip tokens change, which is why component CSS
   throughout this file references those tokens rather than raw brand
   colors wherever text/backgrounds sit on a page or card surface. */
@media (prefers-color-scheme: dark) {
  :root {
    --navy-tint: rgba(255, 255, 255, 0.07);
    --gold-tint: rgba(255, 209, 0, 0.14);

    --ink: #dce3ee;
    --ink-soft: #8d99b0;
    --line: rgba(255, 255, 255, 0.1);
    --surface: #101e38;
    --surface-alt: #0a1526;

    --heading: #f0f4fa;
    --accent-text: var(--gold);
    --header-solid-bg: rgba(10, 21, 38, 0.85);

    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body, h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--heading);
  line-height: 1.15;
}

p { color: var(--ink-soft); line-height: 1.7; }

::selection { background: var(--gold); color: var(--navy-900); }

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.section { padding: 108px 0; position: relative; }
.section-alt { background: var(--surface-alt); }
.section-navy { background: var(--navy); }

.section-head {
  max-width: 680px;
  margin: 0 0 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 3.4vw, 2.6rem); margin-top: 14px; }
.section-head p { margin-top: 16px; font-size: 1.06rem; }

/* Reveal-on-scroll is progressive enhancement: content is visible by default
   so it never depends on JS. Only once main.js confirms it's running (adding
   .js-ready to <html>) do elements start hidden and animate in on scroll. */
.reveal { transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1); }
.js-ready .reveal { opacity: 0; transform: translateY(28px); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }
.reveal-delay-5 { transition-delay: .4s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: var(--gold);
  color: var(--navy-900);
  box-shadow: 0 10px 24px rgba(255, 209, 0, 0.35);
}
.btn-gold:hover { background: var(--gold-600); box-shadow: 0 14px 30px rgba(255, 209, 0, 0.45); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 47, 108, 0.28);
}
.btn-navy:hover { background: var(--navy-700); }

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}
.btn-outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.14); }

.btn-outline-navy {
  border-color: var(--heading);
  color: var(--heading);
  background: transparent;
}
.btn-outline-navy:hover { background: var(--heading); color: var(--surface); }

.btn-sm { padding: 11px 22px; font-size: 0.85rem; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.35s ease, box-shadow 0.35s ease, height 0.35s ease;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.site-header::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(1,24,54,0.55) 0%, rgba(1,24,54,0) 100%);
  opacity: 1;
  transition: opacity .35s ease;
  z-index: -1;
  pointer-events: none;
}
.site-header.is-solid { height: 74px; background: var(--header-solid-bg); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); }
.site-header.is-solid::before { opacity: 0; }

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex-shrink: 1; }
.brand img { height: 48px; width: auto; flex-shrink: 0; transition: height .35s ease; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25)); }
.site-header.is-solid .brand img { height: 42px; filter: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; white-space: nowrap; overflow: hidden; }
.brand-text strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--white);
  transition: color .35s ease;
}
.brand-text span {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.site-header.is-solid .brand-text strong { color: var(--heading); }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  position: relative;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.94rem;
  color: rgba(255,255,255,0.92);
  border-radius: 999px;
  transition: color .3s ease, background-color .3s ease;
}
.site-header.is-solid .main-nav a { color: var(--ink); }
.main-nav a:hover { background: rgba(255,255,255,0.12); }
.site-header.is-solid .main-nav a:hover { background: var(--navy-tint); color: var(--accent-text); }
.main-nav a.is-active { color: var(--gold); }
.site-header.is-solid .main-nav a.is-active { color: var(--accent-text); background: var(--navy-tint); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.icon-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  color: var(--white); background: rgba(255,255,255,0.12);
  transition: background-color .3s ease, color .3s ease;
}
.site-header.is-solid .icon-link { color: var(--accent-text); background: var(--navy-tint); }
.icon-link:hover { background: var(--gold); color: var(--navy-900); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  border: none;
}
.site-header.is-solid .nav-toggle { background: var(--navy-tint); }
.nav-toggle span { width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: all .3s ease; }
.site-header.is-solid .nav-toggle span { background: var(--accent-text); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(1,24,54,0.55) 0%, rgba(1,24,54,0.55) 40%, rgba(1,24,54,0.92) 100%),
    linear-gradient(100deg, rgba(1,24,54,0.75) 0%, rgba(1,24,54,0.25) 55%);
}
.hero-shape {
  position: absolute;
  top: -120px; right: -120px;
  width: 460px; height: 460px;
  border-radius: 50%;
  border: 90px solid rgba(255, 209, 0, 0.12);
  z-index: -1;
  pointer-events: none;
}

.hero-inner { padding: calc(var(--header-h) + 60px) 0 96px; width: 100%; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  font-weight: 700; font-size: 0.78rem; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(6px);
}
.hero-eyebrow img { height: 28px; width: 28px; border-radius: 50%; }

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  color: var(--white);
  max-width: 16ch;
  letter-spacing: -0.01em;
}
.hero h1 em { font-style: normal; color: var(--gold); }

.hero-sub {
  margin-top: 26px;
  max-width: 46ch;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.86);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 42px; }

.hero-meta {
  margin-top: 72px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.hero-meta div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
}
.hero-meta div span { font-size: 0.85rem; color: rgba(255,255,255,0.75); }

/* ==========================================================================
   MISSION / PILLARS
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pillar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }

.pillar-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.pillar-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pillar-card:hover .pillar-media img { transform: scale(1.06); }
.pillar-number {
  position: absolute; top: 16px; left: 16px;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold);
  color: var(--navy-900);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 50%;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}
.pillar-icon {
  position: absolute; bottom: 10px; left: 20px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy);
  color: var(--gold);
  border-radius: 12px;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}
.pillar-body { padding: 40px 24px 24px; }
.pillar-body h3 { font-size: 1.18rem; margin-bottom: 10px; }
.pillar-body p { font-size: 0.95rem; }

/* ==========================================================================
   BOARD MEMBERS
   ========================================================================== */
.leader-row {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 44px;
  align-items: stretch;
  margin-bottom: 44px;
}
.leader-card {
  position: relative;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.leader-card::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 10%, rgba(255,209,0,0.18), transparent 55%);
}
.leader-photo {
  width: 148px; height: 148px; border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gold);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.leader-photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-card h3 { color: var(--white); font-size: 1.4rem; position: relative; z-index: 1; }
.leader-card .role {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
  position: relative; z-index: 1;
}
.leader-sig { margin-top: 22px; height: 42px; filter: brightness(0) invert(1); opacity: .85; position: relative; z-index: 1; }

.board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.board-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.board-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.board-photo {
  width: 96px; height: 96px; border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 3px solid var(--navy-tint);
}
.board-photo img { width: 100%; height: 100%; object-fit: cover; }
.board-photo.is-initials {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-700));
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  border-color: var(--gold);
}
.board-card h4 { font-size: 1.02rem; }
.board-card .role { margin-top: 4px; font-size: 0.82rem; color: var(--ink-soft); font-weight: 600; }

/* ==========================================================================
   MEMBERSHIP
   ========================================================================== */
.membership-group { margin-bottom: 48px; }
.membership-group:last-of-type { margin-bottom: 0; }
.membership-group-heading {
  font-size: 1.3rem;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.membership-grid { display: grid; gap: 22px; }
.membership-grid-2 { grid-template-columns: repeat(2, 1fr); }
.membership-grid-3 { grid-template-columns: repeat(3, 1fr); }

.membership-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.membership-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.membership-tag {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--navy-tint);
  color: var(--accent-text);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.membership-price {
  display: block;
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--heading);
}
.membership-price small { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; color: var(--ink-soft); }
.membership-note { margin-top: 10px; font-size: 0.9rem; }

.membership-card-featured {
  background: var(--navy);
  border-color: var(--navy);
}
.membership-card-featured .membership-tag { background: var(--gold); color: var(--navy-900); }
.membership-card-featured .membership-price { color: var(--white); }
.membership-card-featured .membership-note { color: rgba(255,255,255,0.75); }

.membership-cta { display: flex; justify-content: center; margin-top: 48px; }

/* ==========================================================================
   EVENTS
   ========================================================================== */
.events-list { display: flex; flex-direction: column; gap: 20px; }
.event-row {
  display: grid;
  grid-template-columns: 128px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.event-row:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: transparent; }
.event-badge {
  width: 128px; height: 96px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  flex-shrink: 0;
}
.event-badge .freq { font-size: 0.68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.event-badge .time { font-family: var(--font-display); font-size: 1.02rem; margin-top: 4px; padding: 0 8px; }
.event-info h3 { font-size: 1.25rem; }
.event-info .loc { margin-top: 8px; display: flex; gap: 8px; font-size: 0.92rem; color: var(--ink-soft); }
.event-info .loc i { color: var(--accent-text); margin-top: 3px; }
.event-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy-tint); color: var(--accent-text);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: zoom-in;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(1,24,54,0) 40%, rgba(1,24,54,0.85) 100%);
  opacity: 0; transition: opacity .3s ease;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-caption {
  position: absolute; left: 16px; bottom: 14px;
  color: var(--white); font-weight: 700; font-size: 0.9rem;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
  z-index: 1;
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: none; }
.gallery-zoom {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.9); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  opacity: 0; transition: opacity .3s ease;
  z-index: 1;
}
.gallery-item:hover .gallery-zoom { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(1, 24, 54, 0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 60px 24px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { max-width: 900px; max-height: 100%; }
.lightbox img { max-height: 78vh; margin: 0 auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lightbox figcaption { color: var(--white); text-align: center; margin-top: 18px; font-weight: 600; }
.lightbox-close {
  position: absolute; top: 26px; right: 30px;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; border: 1px solid rgba(255,255,255,0.3);
}
.lightbox-close:hover { background: var(--gold); color: var(--navy-900); }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  position: relative;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(255,209,0,0.16), transparent 45%),
              radial-gradient(circle at 90% 90%, rgba(255,209,0,0.12), transparent 50%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.3rem); max-width: 20ch; }
.cta-band p { color: rgba(255,255,255,0.78); margin-top: 12px; max-width: 46ch; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.72); }
.footer-top { padding: 80px 0 56px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer-brand img { height: 52px; }
.footer-brand strong { display: block; color: var(--white); font-family: var(--font-display); font-size: 1.1rem; }
.footer-brand span { font-size: 0.72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.footer-col h4 {
  color: var(--white); font-family: var(--font-body); font-size: 0.82rem;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { transition: color .25s ease; }
.footer-col a:hover { color: var(--gold); }
.footer-address { display: flex; gap: 10px; font-size: 0.94rem; }
.footer-address i { color: var(--gold); margin-top: 4px; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  transition: background-color .3s ease, color .3s ease;
}
.footer-social a:hover { background: var(--gold); color: var(--navy-900); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  font-size: 0.85rem;
}
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom a:hover { color: var(--gold); }

/* Back to top */
.back-top {
  position: fixed; right: 26px; bottom: 26px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease, background-color .3s ease;
  z-index: 900;
}
.back-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--gold); color: var(--navy-900); }

/* ==========================================================================
   PAGE HERO (interior pages, e.g. newsletters)
   ========================================================================== */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 100px) 0 90px;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,209,0,0.14), transparent 50%),
              radial-gradient(circle at 85% 80%, rgba(255,209,0,0.1), transparent 55%);
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--gold); justify-content: center; }
.page-hero .eyebrow::before { display: none; }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.4vw, 3.2rem); margin-top: 14px; }
.page-hero p { max-width: 56ch; margin: 18px auto 0; color: rgba(255,255,255,0.8); }

/* ==========================================================================
   NEWSLETTERS
   ========================================================================== */
.year-heading {
  display: flex; align-items: center; gap: 18px;
  margin: 0 0 32px;
}
.year-heading h2 { font-size: 2rem; color: var(--heading); white-space: nowrap; }
.year-heading::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.year-block + .year-block { margin-top: 12px; }
.year-block { margin-bottom: 64px; }

.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.doc-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.doc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.doc-icon {
  width: 54px; height: 54px; border-radius: 14px;
  flex-shrink: 0;
  background: var(--navy-tint); color: var(--accent-text);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
}
.doc-card.is-image .doc-icon { background: var(--gold-tint); color: var(--gold-600); }
.doc-meta { min-width: 0; }
.doc-meta h4 { font-size: 1rem; line-height: 1.35; }
.doc-meta span { display: block; margin-top: 6px; font-size: 0.78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.doc-open {
  margin-left: auto;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface-alt); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: background-color .3s ease, color .3s ease;
}
.doc-card:hover .doc-open { background: var(--gold); color: var(--navy-900); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .container { padding: 0 24px; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .board-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .leader-row { grid-template-columns: 1fr; }
  .leader-card { padding: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .membership-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .section { padding: 76px 0; }
  .main-nav, .header-actions .icon-link.facebook-desktop { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.is-open {
    display: flex;
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    background: var(--surface);
    padding: 18px 24px 28px;
    box-shadow: var(--shadow-md);
    gap: 2px;
  }
  .main-nav.is-open a { color: var(--ink); padding: 14px 10px; border-radius: 10px; }
  .main-nav.is-open a:hover { background: var(--navy-tint); color: var(--accent-text); }
  .main-nav.is-open a.is-active { background: var(--navy-tint); color: var(--accent-text); }

  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .board-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-grid { grid-template-columns: 1fr; }
  .membership-grid-2, .membership-grid-3 { grid-template-columns: 1fr 1fr; }
  .event-row { grid-template-columns: 1fr; text-align: left; }
  .event-badge { width: 100%; flex-direction: row; gap: 8px; height: auto; padding: 12px; }
  .event-arrow { display: none; }
  .cta-band { flex-direction: column; align-items: flex-start; text-align: left; padding: 48px 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-meta { gap: 28px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .brand-text { display: none; }
  .pillars-grid { grid-template-columns: 1fr; }
  .board-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .membership-grid-2, .membership-grid-3 { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .section-head h2 { font-size: 1.8rem; }
  .cta-actions { width: 100%; flex-direction: column; }
  .cta-actions .btn { width: 100%; }
}
