@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --purple: #492c9c;
  --purple-dark: #2c1a63;
  --purple-light: #b4a1f2;
  --gold: #b7a57a;
  --ink: #1a1a1a;
  --bg-soft: #f5f4f0;
  --white: #ffffff;
  --radius: 14px;
}

* { box-sizing: border-box; }

/* Anchor links (e.g. the hero's scroll cue) glide instead of jumping. */
html { scroll-behavior: smooth; }

/* Stop the sticky header from covering the top of a section we jump to. */
[id] { scroll-margin-top: 84px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: var(--white);
}

h1, h2, h3, .brand, nav.main-nav a { font-family: 'Poppins', sans-serif; }

img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / nav */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--purple);
  border-bottom: none;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1600px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--white);
}

.brand .logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

nav.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--white);
  border-bottom-color: var(--gold);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--white);
}

@media (max-width: 720px) {
  .menu-toggle { display: block; }
  nav.main-nav {
    display: none;
    width: 100%;
    order: 3;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
  }
  nav.main-nav a { display: block; padding: 10px 0; }
  .nav-wrap { flex-wrap: wrap; }
}

/* Hero */
.hero {
  background-image:
    linear-gradient(100deg, rgba(8,6,16,0.94) 0%, rgba(10,8,20,0.86) 34%, rgba(13,10,24,0.6) 62%, rgba(20,14,38,0.45) 100%),
    url('community-building-2.png');
  background-size: cover;
  background-position: center 32%;
  background-repeat: no-repeat;
  color: var(--white);
  /* No horizontal padding here — the inner .container supplies the gutter, so the
     hero text lines up exactly with the nav brand above it. */
  padding: 120px 0;
  min-height: 86vh;
  display: flex;
  align-items: center;
  text-align: left;
  position: relative;
}

/* width:100% is required: .hero is a flex container, so without it the
   container shrinks to its content and `margin: 0 auto` centers it. */
.hero .container { width: 100%; max-width: 1600px; }

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.8);
  line-height: 1;
  text-decoration: none;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.scroll-cue svg {
  width: 46px;
  height: 46px;
  display: block;
}

.scroll-cue:hover { color: var(--white); }

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--purple-light);
}

.hero h1 + .hero-sub {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 500;
  color: var(--white);
  margin: 6px 0 26px;
}

.hero p {
  max-width: 620px;
  margin: 0 0 36px;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
}

.page-hero {
  background: linear-gradient(160deg, #0d0b16 0%, #17112b 60%, #241a44 100%);
  color: var(--white);
  padding: 96px 24px 72px;
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 800;
  color: var(--purple-light);
  display: inline-block;
}
.page-hero p { margin: 0; color: rgba(255,255,255,0.75); }

/* Page hero with a photo behind it */
.page-hero.has-photo {
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  padding: 132px 24px 108px;
}

.page-hero.has-photo p { color: rgba(255,255,255,0.88); }

/* Editorial two-column text block (statement left, body right) */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
}

.editorial-head { position: sticky; top: 110px; }

.editorial-head .statement { margin: 0; }

.editorial-body p {
  color: #444;
  font-size: 1.05rem;
  margin: 0 0 18px;
}

.editorial-body p:last-child { margin-bottom: 0; }

.editorial-body .lead-para {
  font-size: 1.18rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.55;
}

@media (max-width: 860px) {
  .editorial { grid-template-columns: 1fr; gap: 28px; }
  .editorial-head { position: static; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: none;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.18); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

/* Statement headline (big two-tone) */
.statement {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}

.statement .accent { color: var(--purple); }
.section-dark .statement .accent,
.cta .statement .accent { color: var(--gold); }

/* Scroll reveal.
   Fail-safe by design: .reveal content is VISIBLE by default. It is only hidden
   once main.js adds .js-reveal to <html>, which it does only after confirming it
   can actually animate it back in. So if JS is blocked or fails to load, nothing
   is ever stuck invisible. */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .gallery-track { transition: none; }
}

/* Sections */
section { padding: 72px 24px; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--purple); color: var(--white); }

h2.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  margin: 0 0 12px;
}

p.section-lead {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
  color: #555;
  font-size: 1.05rem;
}

.section-dark p.section-lead { color: rgba(255,255,255,0.85); }

/* Cards grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  max-width: 1600px;
  margin: 0 auto;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
  border: 1px solid #eee;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.12);
}

.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--purple);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.card h3 { margin: 0 0 10px; font-size: 1.15rem; }
.card p { margin: 0; color: #555; font-size: 0.97rem; }

/* What We Do photo gallery */
.gallery-viewport {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

.gallery-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s ease;
}

.gallery-slide {
  position: relative;
  flex: 0 0 100%;
  height: 520px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(183,165,122,0.25) 0%, rgba(10,8,20,0) 55%),
    linear-gradient(160deg, #3a2586 0%, #1c1238 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-slide .gallery-icon {
  font-size: 5rem;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.gallery-slide .gallery-tag {
  position: absolute;
  bottom: 28px;
  left: 28px;
  color: var(--white);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
  transition: opacity 0.2s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,8,20,0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-overlay h3 { color: var(--white); margin: 0 0 12px; font-size: 1.5rem; }
.gallery-overlay p { color: rgba(255,255,255,0.85); margin: 0; max-width: 480px; font-size: 1rem; }

.gallery-slide:hover .gallery-overlay { opacity: 1; }
.gallery-slide:hover .gallery-icon,
.gallery-slide:hover .gallery-tag { opacity: 0; }

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  color: var(--white);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
  z-index: 5;
  opacity: 0.9;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.gallery-arrow:hover { opacity: 1; transform: translateY(-50%) scale(1.15); }
.gallery-arrow.prev { left: 14px; }
.gallery-arrow.next { right: 14px; }

.gallery-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  z-index: 5;
}

.gallery-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.gallery-dots .dot.active {
  background: var(--white);
  transform: scale(1.2);
}

@media (max-width: 720px) {
  .gallery-slide { height: 360px; }
  .gallery-overlay { opacity: 1; padding: 24px; }
  .gallery-overlay h3 { font-size: 1.2rem; }
  .gallery-tag { display: none; }
}

/* Upcoming events list */
.event-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.event-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
}

.event-date {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--purple);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}

.event-date .event-month { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold); }
.event-date .event-day { font-size: 1.5rem; font-weight: 800; }

.event-info h3 { margin: 0 0 6px; font-size: 1.1rem; }
.event-meta { margin: 0 0 8px; font-size: 0.88rem; color: var(--purple); font-weight: 600; }
.event-info p:last-child { margin: 0; color: #555; font-size: 0.95rem; }

.section-dark .event-card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.15); }
.section-dark .event-info h3 { color: var(--white); }
.section-dark .event-info p:last-child { color: rgba(255,255,255,0.75); }

@media (max-width: 560px) {
  .event-card { flex-direction: column; align-items: flex-start; }
  .event-date { flex-direction: row; width: auto; height: auto; padding: 6px 14px; gap: 6px; border-radius: 999px; }
}

/* Quarter schedule poster */
.schedule-poster {
  max-width: 520px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0,0,0,0.16);
  border: 1px solid #ececec;
  background: var(--white);
}

.schedule-poster img { width: 100%; display: block; }

.schedule-caption {
  text-align: center;
  max-width: 560px;
  margin: 24px auto 0;
  color: #666;
  font-size: 0.95rem;
}

.schedule-caption a { color: var(--purple); font-weight: 600; }

/* Mission band — full-width brand panel with watermark logo */
.mission-band {
  position: relative;
  overflow: hidden;
  padding: 104px 0;
  color: var(--white);
  background:
    radial-gradient(ellipse at 22% 18%, rgba(183,165,122,0.22) 0%, rgba(10,8,20,0) 58%),
    radial-gradient(ellipse at 82% 84%, rgba(180,161,242,0.20) 0%, rgba(10,8,20,0) 55%),
    linear-gradient(155deg, #2c1a63 0%, #492c9c 52%, #1c1238 100%);
}

.mission-inner {
  display: grid;
  grid-template-columns: minmax(200px, 360px) 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  text-align: left;
}

/* No frame: the logo is already a self-contained circular emblem, so a
   translucent panel around it just adds visual noise. */
.mission-logo-frame {
  width: 100%;
  max-width: 330px;
  margin: 0 auto;
}

.mission-logo-frame img { width: 100%; height: auto; display: block; }

.mission-eyebrow {
  display: block;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.mission-statement {
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

/* Lighter than --gold: needs more contrast against the deep purple band. */
.mission-statement .accent { color: #e7c98f; }

.mission-body {
  margin: 0 0 26px;
  font-size: 1.04rem;
  color: rgba(255,255,255,0.82);
}

/* A hairline rule instead of a callout box — reads as editorial rather than
   as a generic highlighted card. */
.mission-note {
  margin: 0;
  padding: 22px 0 0;
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.2);
  background: none;
  border-radius: 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  max-width: 56ch;
}

@media (max-width: 820px) {
  .mission-band { padding: 76px 0; }
  .mission-inner { grid-template-columns: 1fr; gap: 36px; }
  .mission-logo-frame { max-width: 260px; margin: 0 auto; }
}

/* Graceful empty state */
.empty-state {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border: 1px solid #ececec;
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.05);
}

.empty-state .empty-icon { font-size: 2rem; margin-bottom: 12px; }
.empty-state p { margin: 0; color: #555; font-size: 1.02rem; }
.empty-state a { color: var(--purple); font-weight: 600; }
.empty-state a.btn { color: var(--ink); }

/* Value cards */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.value-card {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.12);
}

.value-card .value-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.value-card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.value-card p { margin: 0; color: #555; font-size: 0.96rem; }

/* Horizontally scrolling photo strip */
.photo-scroller-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  max-width: 1600px;
  margin: 0 auto 20px;
  padding: 0 24px;
}

.photo-scroller-hint {
  margin: 0;
  color: #777;
  font-size: 0.9rem;
}

.scroller-nav { display: flex; gap: 8px; flex: 0 0 auto; }

.scroller-nav button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: var(--white);
  color: var(--purple);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.scroller-nav button:hover { background: var(--purple); border-color: var(--purple); color: var(--white); transform: translateY(-2px); }
.scroller-nav button svg { width: 18px; height: 18px; }

.photo-scroller {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 24px 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(73,44,156,0.4) transparent;
}

.photo-scroller::-webkit-scrollbar { height: 8px; }
.photo-scroller::-webkit-scrollbar-track { background: transparent; }
.photo-scroller::-webkit-scrollbar-thumb { background: rgba(73,44,156,0.3); border-radius: 99px; }
.photo-scroller::-webkit-scrollbar-thumb:hover { background: rgba(73,44,156,0.6); }

.photo-scroller .shot {
  flex: 0 0 auto;
  width: clamp(210px, 25vw, 320px);
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  scroll-snap-align: start;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.photo-scroller .shot:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.2);
}

@media (prefers-reduced-motion: reduce) {
  .photo-scroller { scroll-behavior: auto; }
}

@media (max-width: 720px) {
  .scroller-nav { display: none; } /* touch users just swipe */
}

/* Timeline */
.timeline {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--purple) 0%, var(--purple-light) 100%);
}

.timeline-item {
  position: relative;
  padding-bottom: 30px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--purple);
}

.timeline-date {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.timeline-item h3 { margin: 0 0 4px; font-size: 1.05rem; }
.timeline-item p { margin: 0; color: #555; font-size: 0.94rem; }

/* Team */
/* Flex rather than grid: with grid, a partial last row stays stuck under the
   first columns. Flex wrapping centres leftover members instead. */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 34px;
  max-width: 1100px;
  margin: 0 auto;
}

.team-member {
  flex: 0 0 200px;
  max-width: 100%;
  text-align: center;
}

.team-photo {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 25%, rgba(183,165,122,0.28) 0%, rgba(10,8,20,0) 60%),
    linear-gradient(160deg, #3a2586 0%, #1c1238 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 26px rgba(0,0,0,0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-member:hover .team-photo {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.22);
}

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

.team-member h3 { margin: 0 0 4px; font-size: 1.05rem; }
.team-member .role { margin: 0; color: var(--purple); font-weight: 600; font-size: 0.9rem; }

/* Featured upcoming event (poster + details) */
.event-feature-list {
  display: flex;
  flex-direction: column;
  gap: 56px;
  max-width: 1000px;
  margin: 0 auto;
}

.event-feature {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}

.event-feature-poster {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #eee;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  background: var(--bg-soft);
}

.event-feature-poster img { width: 100%; display: block; }

.event-feature-poster .poster-placeholder {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.85rem;
  text-align: center;
  padding: 20px;
}

.event-feature-details .eyebrow-tag {
  color: var(--purple);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  display: block;
}

.event-feature-details h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 16px; }
.event-feature-details p { color: #444; margin: 0 0 14px; }

.event-feature-meta {
  list-style: none;
  margin: 20px 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.event-feature-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
  font-size: 0.97rem;
}

.event-feature-meta li strong { color: var(--ink); }

@media (max-width: 720px) {
  .event-feature { grid-template-columns: 1fr; }
  .event-feature-poster { max-width: 320px; margin: 0 auto; }
}

/* Past events photo gallery */
.past-events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  max-width: 1600px;
  margin: 0 auto;
}

.past-event-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.past-event-tile .past-event-caption {
  position: absolute;
  inset: 0;
  background: rgba(10,8,20,0.78);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.past-event-tile:hover .past-event-caption { opacity: 1; }

.past-event-tile .past-event-caption .past-event-date {
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.past-event-tile .past-event-caption h3 { color: var(--white); margin: 0 0 8px; font-size: 1.05rem; }
.past-event-tile .past-event-caption p { color: rgba(255,255,255,0.85); margin: 0; font-size: 0.85rem; }

@media (max-width: 720px) {
  .past-events-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Instagram embed */
.instagram-embed-wrap {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid #eee;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
  min-height: 140px;
  padding: 28px;
  text-align: center;
}

.instagram-embed-wrap p { color: #666; margin: 0 0 4px; }
.instagram-embed-wrap .placeholder-note { margin-top: 14px; }

/* FAQ accordion */
.faq-list { max-width: 780px; margin: 0 auto; }

details.faq-item {
  border-bottom: 1px solid #e4e4e4;
  padding: 18px 0;
}

details.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

details.faq-item summary::-webkit-details-marker { display: none; }

details.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--purple);
  margin-left: 16px;
  transition: transform 0.2s ease;
}

details.faq-item[open] summary::after { transform: rotate(45deg); }

details.faq-item p {
  margin: 14px 0 0;
  color: #555;
}

/* CTA */
.cta {
  background: var(--purple);
  color: var(--white);
  text-align: center;
  padding: 80px 24px;
}

.cta h2 { margin: 0 0 14px; font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.cta p { margin: 0 0 32px; color: rgba(255,255,255,0.85); }

/* Footer */
footer.site-footer {
  background: #1a1a1a;
  color: rgba(255,255,255,0.85);
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand { max-width: 320px; }
.footer-brand h3 { color: var(--white); margin: 0 0 10px; }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.6); }

.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-links h4 { color: var(--white); font-size: 0.9rem; margin: 0 0 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.92rem; }
.footer-links a:hover { color: var(--white); }

.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  color: var(--white);
  transition: background 0.15s ease, transform 0.15s ease;
}
.social-row a svg { width: 18px; height: 18px; }
.social-row a:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }

.footer-bottom {
  max-width: 1600px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

/* Content pages */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 40px; }
.prose p { color: #444; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1600px;
  margin: 0 auto;
  align-items: center;
}

@media (max-width: 720px) {
  .two-col { grid-template-columns: 1fr; }
  section { padding: 56px 20px; }
}

.mission-logo-card {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  background: var(--purple);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.14);
}

.mission-logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}

.placeholder-note {
  display: inline-block;
  background: #fff4e5;
  border: 1px solid #ffd699;
  color: #8a5a00;
  font-size: 0.85rem;
  padding: 10px 14px;
  border-radius: 8px;
  margin-top: 8px;
}
