:root {
  /* Core brand color definitions */
  --paper: #F1EFE9;
  --paper-deep: #E5E1D6;
  --ink: #26241F;
  --chalk-green: #2B2E33;
  --chalk-green-deep: #1B1D21;
  --brass: #B3822F;
  --brass-light: #D3A85B;
  --maroon: #7A2E2E;
  --sage: #7A8A94;
  --indigo: #1E3A8A;
  --forest: #064E3B;
  --crimson: #991B1B;
  --amber: #B45309;
  --teal: #115E59;
  --lavender: #EEF2FF;
  --line: rgba(38, 36, 31, 0.14);

  /* Legacy mappings to maintain template styling and compatibility with inline HTML variables */
  --cream: var(--paper);
  --cream-dim: var(--paper-deep);
  --teal-deep: var(--chalk-green-deep);
  --teal-light: #167A73;
  /* A lighter version of the new deep teal #115E59 */
  --teal-pale: rgba(17, 94, 89, 0.08);
  /* 8% opacity of the new teal #115E59 */
  --gold: var(--brass-light);
  --gold-deep: var(--brass);
  --gold-pale: rgba(211, 168, 91, 0.12);
  /* 12% opacity of --brass-light */
  --ink-soft: var(--sage);
  --shadow: rgba(38, 36, 31, 0.16);

  --font-display: 'Fraunces', serif;
  --font-body: 'Source Sans 3', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

section {
  position: relative;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Signature underline mark ---------- */
.chalk-rule {
  width: 46px;
  height: 4px;
  margin: 16px 0 6px;
  border-radius: 3px;
  background: var(--gold);
}

.chalk-rule.center {
  margin-left: auto;
  margin-right: auto;
}

.chalk-rule svg {
  display: none;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--teal-pale);
  padding: 6px 16px;
  border-radius: 30px;
  border: 1px solid rgba(17, 94, 89, 0.18);
  margin-bottom: 10px;
}

.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
  box-shadow: 0 0 8px var(--gold);
}

.on-dark .eyebrow {
  color: var(--gold);
  background: rgba(211, 168, 91, 0.15);
  border-color: rgba(211, 168, 91, 0.3);
}

.on-dark .eyebrow::before {
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  color: var(--teal-deep);
  letter-spacing: -0.01em;
}

.on-dark h1,
.on-dark h2,
.on-dark h3 {
  color: var(--cream);
}

h2 {
  font-size: clamp(34px, 4vw, 46px);
  font-optical-sizing: auto;
  line-height: 1.25;
  margin-top: 6px;
}

h2 .accent {
  color: var(--gold-deep);
  font-style: italic;
}

h3 {
  font-size: 22px;
}

p {
  margin: 0 0 12px;
}

/* ============ TOPBAR ============ */
.topbar {
  background: var(--teal-deep);
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-mono);
  font-size: 12.5px;
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
}

.topbar-contacts {
  display: flex;
  gap: 22px;
}

.topbar-contacts span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-social {
  display: flex;
  gap: 10px;
}

.topbar-social a {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  transition: background 0.25s ease;
}

.topbar-social a:hover {
  background: var(--gold);
  color: var(--teal-deep);
}

.topbar-social svg {
  width: 12px;
  height: 12px;
}

/* ============ NAV ============ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(38, 36, 31, 0.06);
}

.nav-inner {
  width: 100%;
  padding: 0 32px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.seal {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 2.5px solid var(--gold);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.seal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.brand:hover .seal {
  transform: scale(1.06);
  box-shadow: 0 5px 16px rgba(184, 134, 11, 0.35);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-brand h3 {
  color: var(--gold) !important;
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
}

.footer-seal {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 2.5px solid var(--gold);
  background: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}

.footer-seal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.footer-brand:hover .footer-seal {
  transform: scale(1.06);
}

.brand-text {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.15;
}

.brand-text span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 2px;
}

nav.menu#mainMenu {
  display: contents;
}

nav.menu#mobileMenu {
  gap: 8px;
}

nav.menu a {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  text-decoration: none;
  color: #000000;
  opacity: 1;
  padding: 10px 10px;
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  white-space: nowrap;
}

nav.menu a:hover {
  opacity: 1;
  color: var(--teal);
  background: rgba(38, 36, 31, 0.05);
}

.nav-cta {
  display: none;
  /* Hide the Become a Member CTA in the navbar to match the screenshot */
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
}

/* ============ HERO ============ */
/* ============ HERO (CINEMATIC EDITORIAL & GLASS COMMAND HUB) ============ */
.hero-cinematic {
  position: relative;
  padding: 130px 0 120px;
  color: var(--cream);
  overflow: hidden;
  background: #0d1015;
  isolation: isolate;
}

/* Ambient Backdrop Lighting & Mesh */
.hero-orb-light {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: -2;
  opacity: 0.45;
}

.hero-orb-1 {
  width: 650px;
  height: 650px;
  top: -100px;
  left: -150px;
  background: radial-gradient(circle, rgba(242, 169, 59, 0.38) 0%, rgba(13, 84, 77, 0) 70%);
}

.hero-orb-2 {
  width: 750px;
  height: 750px;
  bottom: -200px;
  right: -150px;
  background: radial-gradient(circle, rgba(13, 84, 77, 0.6) 0%, rgba(242, 169, 59, 0) 70%);
}

.hero-cinematic-mesh {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
  opacity: 0.6;
}

/* Cinematic Grid */
.hero-cinematic-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-cinematic-content {
  max-width: 660px;
}

.hero-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(242, 169, 59, 0.14);
  border: 1px solid rgba(242, 169, 59, 0.4);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 8px 18px;
  border-radius: 30px;
  margin-bottom: 26px;
  backdrop-filter: blur(8px);
}

.gold-star {
  color: var(--gold);
  font-size: 14px;
}

.cinematic-headline {
  font-size: clamp(38px, 4.6vw, 56px);
  line-height: 1.12;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.gold-italic-text {
  font-style: italic;
  background: linear-gradient(135deg, #fce09b 0%, #f2a93b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-top: 4px;
}

.cinematic-lede {
  font-size: 18.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 22px;
  max-width: 560px;
}

/* Glassmorphic Command Hub Card */
.glass-command-hub {
  margin-top: 36px;
  background: rgba(23, 27, 35, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.45);
}

.hub-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.hub-title {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
}

.hub-live-badge {
  font-size: 12px;
  color: #34d399;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hub-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hub-btn {
  padding: 13px 24px;
  font-size: 14.5px;
}

.hub-text-link {
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease;
  margin-left: 4px;
}

.hub-text-link:hover {
  transform: translateX(4px);
  color: #ffffff;
}

/* Hub Ticker */
.hub-ticker {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker-item {
  display: flex;
  flex-direction: column;
}

.ticker-num {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--gold);
  line-height: 1;
}

.ticker-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 3px;
}

.ticker-divider {
  width: 1px;
  height: 26px;
  background: rgba(255, 255, 255, 0.12);
}

/* Polaroid Stack Visual */
.hero-cinematic-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.polaroid-stack {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 480px;
}

.polaroid-card {
  position: absolute;
  background: #1c2028;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-back {
  width: 85%;
  top: 10px;
  left: 0;
  transform: rotate(-6deg);
  opacity: 0.7;
  z-index: 1;
}

.card-front {
  width: 90%;
  top: 40px;
  right: 0;
  transform: rotate(3deg);
  z-index: 2;
  border-color: rgba(242, 169, 59, 0.3);
}

.polaroid-stack:hover .card-back {
  transform: rotate(-10deg) translateY(-10px);
  opacity: 0.9;
}

.polaroid-stack:hover .card-front {
  transform: rotate(0deg) scale(1.03);
}

.polaroid-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3;
  background: var(--gold);
  color: var(--teal-deep);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
}

.polaroid-img-frame {
  width: 100%;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  background: #11141a;
}

.polaroid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.polaroid-caption {
  padding: 14px 6px 4px;
  display: flex;
  flex-direction: column;
}

.polaroid-caption strong {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.caption-sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  margin-top: 4px;
}

/* Floating Glass Chip Accent */
.floating-chip {
  position: absolute;
  bottom: 20px;
  left: -20px;
  z-index: 3;
  background: rgba(13, 84, 77, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.chip-icon {
  font-size: 22px;
}

.chip-info {
  display: flex;
  flex-direction: column;
}

.chip-info strong {
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
}

.chip-info span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
}

/* ---------- Floating feature strip ---------- */
.feature-strip {
  position: relative;
  z-index: 5;
  margin-top: -65px;
  margin-bottom: 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--cream);
  border-radius: 14px;
  padding: 26px 22px;
  box-shadow: 0 22px 44px rgba(38, 36, 31, 0.14);
  position: relative;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card:nth-child(2n) .feature-icon {
  background: var(--gold);
  color: var(--teal-deep);
}

.feature-num {
  position: absolute;
  top: 26px;
  right: 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--line);
  color: rgba(38, 36, 31, 0.28);
}

.feature-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

/* ============ SECTION HEADER PATTERN ============ */
.section-head {
  max-width: 740px;
  margin-bottom: 46px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section {
  padding: 88px 0;
  background: #ffffff;
}

.section.alt {
  background: var(--cream-dim);
}

.section.dark {
  background: var(--teal-deep);
  color: var(--cream);
}

/* ============ SECTIONS STYLES LINKED EXTERNALLY ============ */

/* ============ STATS BAND ============ */
.stats-band {
  background: var(--teal-deep);
  padding: 56px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item {
  color: var(--cream);
}

.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(242, 169, 59, 0.16);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.stat-icon svg {
  width: 26px;
  height: 26px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 8px;
}

/* ============ FOOTER ============ */
footer {
  background: var(--teal-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-grid h3 {
  color: var(--cream);
  font-size: 14px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 9px;
  font-size: 14px;
}

.footer-grid a {
  text-decoration: none;
  opacity: 0.85;
}

.footer-grid a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  font-size: 13px;
  font-family: var(--font-mono);
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width:1250px) {
  nav.menu#mainMenu {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .topbar-contacts span:nth-child(3) {
    display: none;
  }
}

@media (max-width:980px) {
  .hero-bento-stage {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bento-tile-main {
    min-height: 280px;
    order: -1;
  }

  .hero-grid,
  .about-top,
  .vm-grid,
  .member-wrap,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bearer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .news-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .news-tag {
    justify-self: start;
  }

  .collage-grid {
    grid-template-columns: 1fr;
  }

  .feature-strip {
    margin-top: 20px;
  }

  .topbar-contacts span:nth-child(2) {
    display: none;
  }
}

@media (max-width:640px) {

  .feature-grid,
  .stats-grid,
  .activity-grid,
  .bearer-grid,
  .gallery-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .g1,
  .g5 {
    grid-column: span 1;
  }

  .topbar-contacts span:nth-child(1) {
    display: none;
  }
}

/* ============ SCROLL REVEAL ANIMATIONS ============ */
.js-enabled .reveal {
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.js-enabled .reveal-left {
  transform: translateX(-25px);
}

.js-enabled .reveal-right {
  transform: translateX(25px);
}

.js-enabled .reveal-up {
  transform: translateY(25px);
}

.js-enabled .reveal-down {
  transform: translateY(-25px);
}

.js-enabled .reveal-scale {
  transform: scale(0.97);
}

.js-enabled .reveal.active {
  opacity: 1;
  transform: translate(0) scale(1);
}

.js-enabled .delay-100 {
  transition-delay: 100ms;
}

.js-enabled .delay-200 {
  transition-delay: 200ms;
}

.js-enabled .delay-300 {
  transition-delay: 300ms;
}

.js-enabled .delay-400 {
  transition-delay: 400ms;
}

.js-enabled .delay-500 {
  transition-delay: 500ms;
}

color: rgba(255, 255, 255, 0.55);
font-family: var(--font-mono);
text-transform: uppercase;
letter-spacing: 0.07em;
margin-top: 3px;
}

.stat-rail-sep {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
}

/* ---- RIGHT image canvas ---- */
.split-right {
  position: relative;
  overflow: hidden;
  grid-column: 2;
  grid-row: 1;
}

.split-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 8s ease;
  transform-origin: center;
}

.hero-split:hover .split-img {
  transform: scale(1.04);
}

.split-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(12, 15, 20, 0.85) 0%,
      rgba(12, 15, 20, 0.25) 40%,
      rgba(12, 15, 20, 0.1) 100%);
}

/* Caption card inside right panel */
.split-caption-card {
  position: absolute;
  bottom: 80px;
  right: 36px;
  background: rgba(12, 15, 20, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 16px 22px;
  max-width: 240px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.caption-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.split-caption-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
  margin: 0;
}

/* ---- Bottom marquee ticker bar ---- */
.split-ticker-bar {
  grid-column: 1 / -1;
  grid-row: 2;
  background: var(--gold);
  overflow: hidden;
  padding: 12px 0;
  position: relative;
  z-index: 3;
}

.ticker-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
  width: max-content;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.ticker-track span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-deep);
}

.ticker-track .ticker-sep {
  color: rgba(13, 84, 77, 0.6);
  font-size: 10px;
}

/* Shared button styles (unchanged) */
.btn {
  font-family: var(--font-body);
  font-size: 15px;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border: 1.5px solid transparent;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}

.btn-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.btn-brass {
  background: var(--gold);
  color: var(--teal-deep);
}

.btn-brass:hover {
  background: var(--gold-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(242, 169, 59, 0.28);
}

.btn-brass:hover .btn-icon {
  transform: translateX(4px);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--cream);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

/* Responsive: stack on mobile */
@media (max-width: 860px) {
  .hero.hero-split {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: auto;
  }

  .split-left {
    clip-path: none;
    padding: 100px 28px 120px;
  }

  .split-right {
    grid-column: 1;
    grid-row: 2;
    height: 300px;
  }

  .split-ticker-bar {
    grid-row: 3;
  }

  .split-stat-rail {
    bottom: 24px;
    left: 28px;
    gap: 14px;
  }

  .split-year-display {
    font-size: 80px;
  }
}


/* ---------- Floating feature strip ---------- */
.feature-strip {
  position: relative;
  z-index: 5;
  margin-top: -65px;
  margin-bottom: 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--cream);
  border-radius: 14px;
  padding: 26px 22px;
  box-shadow: 0 22px 44px rgba(38, 36, 31, 0.14);
  position: relative;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card:nth-child(2n) .feature-icon {
  background: var(--gold);
  color: var(--teal-deep);
}

.feature-num {
  position: absolute;
  top: 26px;
  right: 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--line);
  color: rgba(38, 36, 31, 0.28);
}

.feature-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

/* ============ SECTION HEADER PATTERN ============ */
.section-head {
  max-width: 740px;
  margin-bottom: 46px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section {
  padding: 88px 0;
  background: #ffffff;
}

.section.alt {
  background: var(--cream-dim);
}

.section.dark {
  background: var(--teal-deep);
  color: var(--cream);
}

/* ============ SECTIONS STYLES LINKED EXTERNALLY ============ */

/* ============ STATS BAND ============ */
.stats-band {
  background: var(--teal-deep);
  padding: 56px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item {
  color: var(--cream);
}

.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(242, 169, 59, 0.16);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.stat-icon svg {
  width: 26px;
  height: 26px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 8px;
}

/* ============ FOOTER ============ */
footer {
  background: var(--teal-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-grid h3 {
  color: var(--cream);
  font-size: 14px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 9px;
  font-size: 14px;
}

.footer-grid a {
  text-decoration: none;
  opacity: 0.85;
}

.footer-grid a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  font-size: 13px;
  font-family: var(--font-mono);
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width:1250px) {
  nav.menu#mainMenu {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .topbar-contacts span:nth-child(3) {
    display: none;
  }
}

@media (max-width:980px) {
  .hero-bento-stage {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bento-tile-main {
    min-height: 280px;
    order: -1;
  }

  .hero-grid,
  .about-top,
  .vm-grid,
  .member-wrap,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bearer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .news-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .news-tag {
    justify-self: start;
  }

  .collage-grid {
    grid-template-columns: 1fr;
  }

  .feature-strip {
    margin-top: 20px;
  }

  .topbar-contacts span:nth-child(2) {
    display: none;
  }
}

@media (max-width:640px) {

  .feature-grid,
  .stats-grid,
  .activity-grid,
  .bearer-grid,
  .gallery-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .g1,
  .g5 {
    grid-column: span 1;
  }

  .topbar-contacts span:nth-child(1) {
    display: none;
  }
}

/* ============ SCROLL REVEAL ANIMATIONS ============ */
.js-enabled .reveal {
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.js-enabled .reveal-left {
  transform: translateX(-25px);
}

.js-enabled .reveal-right {
  transform: translateX(25px);
}

.js-enabled .reveal-up {
  transform: translateY(25px);
}

.js-enabled .reveal-down {
  transform: translateY(-25px);
}

.js-enabled .reveal-scale {
  transform: scale(0.97);
}

.js-enabled .reveal.active {
  opacity: 1;
  transform: translate(0) scale(1);
}

.js-enabled .delay-100 {
  transition-delay: 100ms;
}

.js-enabled .delay-200 {
  transition-delay: 200ms;
}

.js-enabled .delay-300 {
  transition-delay: 300ms;
}

.js-enabled .delay-400 {
  transition-delay: 400ms;
}

.js-enabled .delay-500 {
  transition-delay: 500ms;
}

/* Event PDF Showcase Block */
.event-pdf-block {
  margin-top: 36px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.event-pdf-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.event-pdf-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.event-pdf-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(184, 134, 11, 0.12);
  color: var(--gold-deep, #966f0d);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.event-pdf-title-wrap h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--teal-deep);
}

.event-pdf-title-wrap p {
  margin: 4px 0 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.event-pdf-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-pdf-view {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--teal-deep, #0d3b36);
  color: #ffffff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-pdf-view:hover {
  background: #14524b;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-pdf-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--gold, #c5a059);
  color: #1a1a1a;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-pdf-download:hover {
  background: #d4af66;
  color: #1a1a1a;
  transform: translateY(-1px);
}

.event-pdf-frame-wrapper {
  width: 100%;
  height: 540px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f8f9fa;
}

/* Seamless Top Header Matching Screenshot 1 */
.topbar {
  display: none !important;
}

header {
  background: #F8F6F0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: none !important;
}

.nav-inner {
  background: transparent !important;
}

/* ==========================================================================
   FRESH HERO & ABOUT LAYOUT (EXACT MATCH TO SCREENSHOT)
   ========================================================================== */
body {
  background: #F8F6F0 !important;
  color: #1C1B18 !important;
}

.hero-fresh-layout {
  background: #F8F6F0 !important;
  padding: 40px 0 60px !important;
  color: #1C1B18 !important;
  opacity: 1 !important;
  transform: none !important;
  display: block !important;
}

.hero-fresh-top {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 40px !important;
  margin-bottom: 32px !important;
  opacity: 1 !important;
  transform: none !important;
}

.hero-fresh-title-col {
  flex: 1 !important;
  max-width: 660px !important;
  opacity: 1 !important;
  transform: none !important;
}

.hero-fresh-headline {
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: 48px !important;
  line-height: 1.12 !important;
  font-weight: 600 !important;
  color: #1C1B18 !important;
  margin: 0 0 14px 0 !important;
  letter-spacing: -0.01em !important;
  opacity: 1 !important;
}

.hero-fresh-headline .dot-gold {
  color: #b8860b !important;
}

.hero-fresh-sublede {
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 17px !important;
  line-height: 1.5 !important;
  color: #6b665e !important;
  margin: 0 !important;
  max-width: 540px !important;
  opacity: 1 !important;
}

.hero-fresh-info-col {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  text-align: right !important;
  opacity: 1 !important;
  transform: none !important;
}

.hours-badge {
  text-align: right !important;
}

.hours-label {
  display: block !important;
  font-family: 'IBM Plex Mono', monospace !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  color: #0d5e54 !important;
  text-transform: uppercase !important;
  margin-bottom: 6px !important;
}

.hours-time {
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1C1B18 !important;
  line-height: 1.4 !important;
}

.hours-time-sub {
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 14px !important;
  color: #6b665e !important;
  line-height: 1.4 !important;
}

.avatar-stack {
  display: flex !important;
  align-items: center !important;
  margin-left: 8px !important;
}

.avatar-img {
  width: 90px !important;
  height: 90px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 4px solid #ffffff !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
  margin-left: -26px !important;
  position: relative !important;
  transition: transform 0.2s ease, z-index 0.2s ease !important;
}

.avatar-img:first-child {
  margin-left: 0 !important;
}

.avatar-img:hover {
  transform: scale(1.08) !important;
  z-index: 10 !important;
}

.hero-fresh-banner-wrap {
  width: 100% !important;
  max-width: 100% !important;
  height: 480px !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  margin-bottom: 48px !important;
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  opacity: 1 !important;
  transform: none !important;
  padding: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.hero-fresh-banner-wrap img,
img.hero-fresh-banner-img {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
  border-radius: 12px !important;
  background: #ffffff !important;
}

.hero-fresh-features-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 32px !important;
  opacity: 1 !important;
  transform: none !important;
}

.fresh-feature-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  opacity: 1 !important;
  transform: none !important;
}

.fresh-icon-circle {
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #1C1B18 !important;
  margin-bottom: 18px !important;
}

.fresh-feature-title {
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: 21px !important;
  font-weight: 600 !important;
  color: #1C1B18 !important;
  margin: 0 0 8px 0 !important;
}

.fresh-feature-line {
  width: 32px !important;
  height: 2px !important;
  background: #0d5e54 !important;
  margin-bottom: 12px !important;
  border-radius: 1px !important;
}

.fresh-feature-desc {
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 14.5px !important;
  line-height: 1.5 !important;
  color: #6b665e !important;
  margin: 0 !important;
}

/* ==========================================================================
   UNIQUE AUTO IMAGE SLIDER SECTION (1 SEC SLIDESHOW)
   ========================================================================== */
.auto-image-slider-section {
  background: #ffffff !important;
  padding: 80px 0 !important;
  display: block !important;
  opacity: 1 !important;
}

.auto-slider-grid {
  display: grid !important;
  grid-template-columns: 46% 50% !important;
  gap: 4% !important;
  align-items: center !important;
}

.auto-slider-container {
  width: 100% !important;
  height: 520px !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  position: relative !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08) !important;
}

.auto-slider-track {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  transition: transform 0.4s ease-in-out !important;
}

.auto-slide {
  min-width: 100% !important;
  height: 100% !important;
  position: relative !important;
}

.auto-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.auto-slider-dots {
  position: absolute !important;
  bottom: 18px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  gap: 8px !important;
  z-index: 10 !important;
}

.auto-slider-dots .dot {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.6) !important;
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}

.auto-slider-dots .dot.active {
  background: #0d5e54 !important;
  width: 24px !important;
  border-radius: 12px !important;
}

@media (max-width: 992px) {
  .auto-slider-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .auto-slider-container {
    height: 380px !important;
  }
}

@media (max-width: 640px) {
  .hero-fresh-headline {
    font-size: 30px !important;
  }

  .hero-fresh-banner-wrap {
    height: 260px !important;
    border-radius: 16px !important;
  }

  .hero-fresh-features-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* ============ GALLERY GRID (EXACT SCREENSHOT MASONRY LAYOUT) & LIGHTBOX ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 18px;
}

@media (max-width: 1200px) {
  .gallery-grid {
    grid-auto-rows: 240px;
    gap: 16px;
  }
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
    gap: 14px;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
    gap: 12px;
  }
}

.gallery-grid > div {
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: #051413;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.25);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.gallery-grid > div:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  border-color: var(--gold, #fbbf24);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
  position: absolute;
  inset: 0;
}

.gallery-grid > div:hover img {
  transform: scale(1.06);
}

.g1 { grid-column: span 2; grid-row: span 2; }
.g5 { grid-column: span 2; }
.g7 { grid-column: span 2; }

@media (max-width: 768px) {
  .g1, .g5, .g7 {
    grid-column: span 1;
    grid-row: span 1;
  }
}

.g1 a img,
.g1 img,
.gallery-grid .g1 a img,
.gallery-grid .g1 img {
  object-fit: cover !important;
  object-position: center top !important;
  width: 100% !important;
  height: 100% !important;
}

/* Ensure wide panoramic photos like Executive Session & Cultural Fellowship fit completely inside their box */
img[src*="13.48.27"],
img[src*="13.48.33"] {
  object-fit: contain !important;
  background: #051413 !important;
  padding: 4px !important;
}

.g-caption {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: #fbbf24 !important; /* Gold title for high contrast & easy visibility */
  padding: 14px 16px;
  letter-spacing: 0.01em;
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  background: linear-gradient(0deg, rgba(5, 16, 15, 0.98) 0%, rgba(5, 16, 15, 0.85) 75%, rgba(5, 16, 15, 0) 100%);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.95);
  line-height: 1.4;
}

.g-caption strong {
  color: #ffffff !important;
}

/* Event PDF Showcase Block */
.event-pdf-block {
  margin-top: 36px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.event-pdf-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.event-pdf-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.event-pdf-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(184, 134, 11, 0.12);
  color: var(--gold-deep, #966f0d);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.event-pdf-title-wrap h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--teal-deep);
  line-height: 1.35;
}

.event-pdf-title-wrap p {
  margin: 4px 0 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.event-pdf-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-pdf-view {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--teal-deep, #0d3b36);
  color: #ffffff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.btn-pdf-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--gold, #d4af37);
  color: #0c2b27;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.event-pdf-frame-wrapper {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.event-pdf-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Lightbox Modal */
.gallery-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(4, 14, 13, 0.94);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-modal.active {
  display: flex;
  opacity: 1;
}

.gallery-modal-content {
  position: relative;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-modal-img {
  max-width: 88vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(212, 175, 55, 0.4);
}

.gallery-modal-caption {
  margin-top: 16px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  background: rgba(12, 43, 39, 0.92);
  padding: 10px 24px;
  border-radius: 30px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  max-width: 800px;
}

.gallery-modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: none;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 100000;
}

.gallery-modal-close:hover {
  background: #e11d48;
  transform: scale(1.1);
}

.gallery-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.25);
  color: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.4);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 100000;
}

.gallery-modal-nav:hover {
  background: var(--gold, #fbbf24);
  color: #0c2b27;
  transform: translateY(-50%) scale(1.1);
}

.gallery-modal-prev { left: 24px; }
.gallery-modal-next { right: 24px; }

@media (max-width: 576px) {
  .gallery-modal-prev { left: 8px; }
  .gallery-modal-next { right: 8px; }
}