/* ============================================================
   FDKSA – Filipino Dentists in KSA  |  Enhanced Design
   ============================================================ */

:root {
  --purple:       #6d28d9;
  --purple-mid:   #7c3aed;
  --purple-light: #8b5cf6;
  --purple-soft:  #ede9fe;
  --purple-pale:  #f5f3ff;
  --gold:         #d4af37;
  --gold-dark:    #c49b20;
  --gold-soft:    #fef9e7;
  --white:        #ffffff;
  --off-white:    #f7f5fd;
  --text:         #0f0a1e;
  --text-2:       #3d3557;
  --muted:        #6b6483;
  --border:       #e8e2f8;
  --radius:       16px;
  --radius-lg:    24px;
  --radius-xl:    32px;
  --shadow-sm:    0 2px 12px rgba(109,40,217,.07);
  --shadow:       0 6px 28px rgba(109,40,217,.11);
  --shadow-lg:    0 16px 56px rgba(109,40,217,.16);
  --nav-h:        70px;
  --ease:         cubic-bezier(.4,0,.2,1);
  --t:            .25s;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: 70px; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--text); background: #fff; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ── TYPOGRAPHY HELPERS ─────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--purple-mid);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}
.section-sub { color: var(--muted); font-size: .97rem; max-width: 480px; }
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-sub { margin: 0 auto; }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .92rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background var(--t);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-purple {
  background: var(--purple-mid);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,.32);
}
.btn-purple:hover { background: var(--purple); box-shadow: 0 8px 28px rgba(109,40,217,.42); }
.btn-gold {
  background: var(--gold);
  color: #1a0e00;
  box-shadow: 0 4px 20px rgba(212,175,55,.35);
}
.btn-gold:hover { background: var(--gold-dark); box-shadow: 0 8px 28px rgba(196,155,32,.45); }
.btn-ghost {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.35);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.6); }
.btn.full { width: 100%; }

/* ── NAVBAR ─────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 200;
  transition: background var(--t), box-shadow var(--t);
}
#navbar.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logos-duo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo-badge {
  width: 44px; height: 44px;
  background: transparent;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  z-index: 2;                 /* 1.png on top */
}
.nav-logo-badge-2 {
  margin-left: -10px;
  position: relative;
  z-index: 1;                 /* 2.png behind */
}
.nav-logo-img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.nav-brand {
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: .5px;
  transition: color var(--t);
}
#navbar.scrolled .nav-brand { color: var(--text); }

.nav-links {
  position: fixed;
  top: 0;
  right: 28px;
  height: var(--nav-h);
  z-index: 201;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  transition: color var(--t);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--t) var(--ease);
  transform-origin: left;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a:hover { color: #fff; }
#navbar.scrolled ~ .nav-links a { color: var(--muted); }
#navbar.scrolled ~ .nav-links a:hover { color: var(--purple-mid); }
.nav-cta {
  background: var(--purple-mid) !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: .84rem !important;
  transition: background var(--t), transform var(--t) !important;
}
.nav-cta:hover { background: var(--purple) !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }
#navbar.scrolled ~ .nav-links .nav-cta { color: #fff !important; }

/* ── Nav dropdown (About → Leadership) ───────────────────── */
.nav-dropdown { position: relative; }
.nav-drop-link { display: inline-flex; align-items: center; gap: 5px; }
.nav-caret { width: 11px; height: 11px; transition: transform var(--t) var(--ease); }
.nav-dropdown:hover .nav-caret { transform: rotate(180deg); }
.nav-submenu {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(20,10,40,.18);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
  z-index: 220;
}
.nav-submenu::before {            /* invisible bridge so the hover doesn't drop in the gap */
  content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 14px;
}
.nav-dropdown:hover .nav-submenu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(6px);
}
.nav-submenu li { display: block; }
.nav-submenu a {
  display: block; padding: 9px 14px; border-radius: 9px;
  font-size: .82rem !important; font-weight: 500;
  color: var(--text) !important; white-space: nowrap;
}
.nav-submenu a::after { display: none !important; }
.nav-submenu a:hover { background: var(--purple-soft); color: var(--purple-mid) !important; }

.nav-close {
  display: none;
  position: fixed;
  top: 20px; right: 24px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  align-items: center; justify-content: center;
  color: #fff;
  cursor: pointer;
  z-index: 302;
  transition: background .2s;
}
.nav-close.visible { display: flex; }
.nav-close:hover { background: rgba(255,255,255,.25); }
.nav-close svg { width: 18px; height: 18px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  position: relative;
  z-index: 301;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t), background var(--t);
}
#navbar.scrolled .hamburger span { background: var(--text); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ───────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background: linear-gradient(140deg, #1e0a4a 0%, #3b1278 30%, #6d28d9 65%, #8b5cf6 100%);
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

/* blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.blob-1 { width: 600px; height: 600px; background: rgba(212,175,55,.14); top: -200px; right: -100px; }
.blob-2 { width: 400px; height: 400px; background: rgba(139,92,246,.3);  bottom: -100px; left: -80px; }
.blob-3 { width: 300px; height: 300px; background: rgba(212,175,55,.1);  bottom: 20%; right: 20%; }

/* cross/plus pattern */
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0, rgba(255,255,255,.025) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0, rgba(255,255,255,.025) 1px, transparent 1px, transparent 60px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 100px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
  font-size: .78rem;
  font-weight: 500;
  padding: 6px 14px 6px 8px;
  border-radius: 50px;
  margin-bottom: 10px;
  backdrop-filter: blur(8px);
}
.hero-badge-sub {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
  padding-left: 2px;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(212,175,55,.8);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 8px rgba(212,175,55,.8); }
  50%      { box-shadow: 0 0 16px rgba(212,175,55,.4); }
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 22px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-title-ksa {
  display: block;
  background: linear-gradient(90deg, #e8d5f5, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.72);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }


/* Logo col */
.hero-logo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
}
.hero-logo-glow {
  position: absolute;
  width: 460px; height: 320px;
  background: radial-gradient(ellipse, rgba(212,175,55,.22) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}
.hero-logo-duo {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
  animation: float 6s ease-in-out infinite;
}
.hero-logo-ring {
  width: 232px; height: 232px;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  flex-shrink: 0;
  box-shadow: 0 24px 56px rgba(0,0,0,.4);
}
.hero-logo-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-logo-shield {
  width: 232px; height: 232px;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 24px 56px rgba(0,0,0,.4);
}
.hero-logo-shield-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
@keyframes float { 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-12px); } }

.hero-since {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: 8px 22px;
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  backdrop-filter: blur(8px);
}
.hero-since strong { color: var(--gold); font-size: 1rem; }

.hero-scroll-cue {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.3);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  animation: bounce 2.2s ease-in-out infinite;
  transition: border-color var(--t), color var(--t);
}
.hero-scroll-cue:hover { border-color: rgba(255,255,255,.7); color: #fff; }
.hero-scroll-cue svg { width: 18px; height: 18px; }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

.hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  line-height: 0; z-index: 3;
}
.hero-wave svg { width: 100%; height: 90px; }

/* ── STATS ──────────────────────────────────────────────── */
#stats { background: var(--off-white); }
.stats-wrap {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0;
}
.stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 48px;
  flex: 1;
  min-width: 180px;
  text-align: center;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--purple-mid);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .5px;
  text-transform: uppercase;
}
.stat-sep {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  margin: 20px 0;
}

/* ── ABOUT ──────────────────────────────────────────────── */
#about { padding: 110px 0; background: #fff; }
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-visual-col { position: relative; }
.about-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.about-card-top {
  background: linear-gradient(135deg, #3b1278 0%, #6d28d9 60%, #9f67f5 100%);
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}
.about-card-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0, rgba(255,255,255,.03) 1px, transparent 1px, transparent 20px);
}
.about-logos-duo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;                  /* separated, no overlap */
  position: relative;
  z-index: 1;
}
.about-logo-circle {
  width: 168px; height: 168px;
  background: transparent;
  border-radius: 50%;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 9px 22px rgba(0,0,0,.32);
}
.about-logo-circle-2 {
  box-shadow: 0 9px 22px rgba(0,0,0,.32);
}
.about-card-logo {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.about-card-logo-cover {
  object-position: center;
}
.about-card-body {
  padding: 22px 28px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
}
.about-tag {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 5px 14px;
  border-radius: 50px;
}
.about-tag.purple { background: var(--purple-soft); color: var(--purple); }
.about-tag.gold   { background: #fef9e7; color: var(--gold-dark); }
.about-card-footer {
  padding: 22px 28px;
  display: flex;
  align-items: stretch;          /* both columns share the same height */
  gap: 0;
}
.mini-stat {
  display: flex;
  flex: 1;
  min-width: 0;                  /* allow long titles to wrap instead of overflow */
}
.mini-stat div { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.mini-stat strong { font-size: .88rem; font-weight: 700; color: var(--text); line-height: 1.3; }
.mini-stat small  { font-size: .72rem; color: var(--muted); margin-top: auto; }  /* pinned to bottom → labels align */
.mini-stat-sep { width: 1px; align-self: stretch; background: var(--border); margin: 4px 20px; }

.about-card-accent {
  display: none;   /* decorative glow removed */
}

.about-copy-col { }
.about-copy-col .eyebrow { display: flex; }
.about-copy-col .section-title { margin-bottom: 20px; }
.about-copy-col p { color: var(--muted); margin-bottom: 18px; font-size: .97rem; line-height: 1.75; }
.about-copy-col p strong { color: var(--text); font-weight: 600; }

.about-highlights { display: flex; flex-direction: column; gap: 14px; margin: 28px 0 32px; }
.highlight-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--off-white);
  border-radius: 12px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
a.highlight-item:hover {
  transform: translateY(-2px);
  border-color: var(--purple-mid);
  box-shadow: 0 8px 24px rgba(109,40,217,.12);
}
a.highlight-item::after {
  content: '';
  width: 8px; height: 8px;
  margin-left: auto;
  border-top: 2px solid var(--muted);
  border-right: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: border-color .2s var(--ease);
}
a.highlight-item:hover::after { border-color: var(--purple-mid); }
.highlight-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.highlight-icon.purple { background: var(--purple-soft); color: var(--purple-mid); }
.highlight-icon.gold   { background: #fef9e7; color: var(--gold-dark); }
.highlight-icon svg { width: 18px; height: 18px; }
.highlight-item div { display: flex; flex-direction: column; }
.highlight-item strong { font-size: .9rem; font-weight: 700; color: var(--text); }
.highlight-item span  { font-size: .78rem; color: var(--muted); }

/* ── MISSION ────────────────────────────────────────────── */
#mission { padding: 110px 0; background: var(--off-white); }

.pillars {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  align-items: start;
}

.pillar {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar-left  { border-top: 4px solid var(--purple-mid); }
.pillar-right { border-top: 4px solid var(--gold); }

.pillar-number {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--purple-soft);
  line-height: 1;
  margin-bottom: 20px;
}
.gold-num { color: #fef3c7; }

.pillar-icon-wrap {
  width: 62px; height: 62px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.purple-icon { background: var(--purple-soft); color: var(--purple-mid); }
.gold-icon   { background: #fef9e7; color: var(--gold-dark); }
.pillar-icon-wrap svg { width: 40px; height: 40px; }

.pillar h3 { font-size: 1.35rem; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.pillar p  { font-size: .93rem; color: var(--muted); line-height: 1.7; margin-bottom: 28px; }
.pillar p strong { color: var(--text); font-weight: 600; }
/* bulleted description (type lines starting with "-" in the admin) */
.pillar-rich-list { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.pillar-rich-list li { position: relative; padding-left: 22px; font-size: .93rem; color: var(--muted); line-height: 1.55; }
.pillar-rich-list li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 7px; height: 7px; border-radius: 50%; }
.pillar-left  .pillar-rich-list li::before { background: var(--purple-mid); }
.pillar-right .pillar-rich-list li::before { background: var(--gold); }

.pillar-points { display: flex; flex-direction: column; gap: 12px; }
.pillar-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-2);
}
.point-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.purple-dot { background: var(--purple-mid); }
.gold-dot   { background: var(--gold); }

.pillar-center-line {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
}
.pillar-center-badge {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--purple-soft), #fef9e7);
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.pillar-center-badge svg { width: 22px; height: 22px; }

/* ── OFFICERS ───────────────────────────────────────────── */
#officers { padding: 110px 0 60px; background: #fff; }

/* President spotlight row */
.president-row {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}
.president-card {
  background: linear-gradient(135deg, #3b1278 0%, var(--purple-mid) 60%, var(--purple-light) 100%);
  border-radius: var(--radius-lg);
  padding: 28px 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  border: none;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  max-width: 360px;
  width: 100%;
}
.president-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0, rgba(255,255,255,.03) 1px, transparent 1px, transparent 24px);
  pointer-events: none;
}
.president-card::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(212,175,55,.2) 0%, transparent 70%);
  top: -80px; right: -40px;
  border-radius: 50%;
  pointer-events: none;
}
.president-photo-wrap { flex-shrink: 0; position: relative; z-index: 1; }
.president-photo {
  width: 78px; height: 78px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid rgba(212,175,55,.5);
  overflow: hidden;
}
.president-photo svg { width: 64px; height: 64px; }
.president-info { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.president-info h4 { font-size: 1.2rem; font-weight: 700; color: #fff; margin: 0; }
.president-info p  { display: none; }   /* bio shows in the click-to-open profile modal */

/* Board grid — centered, uniform cards */
.officers-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
/* Board of Directors — sits under the officers grid */
.board-block {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.board-head { text-align: center; margin-bottom: 30px; }
.board-eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 8px;
}
.board-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink, #1e1b2e);
  margin: 0 0 6px;
}
.board-sub { color: var(--muted, #6b7280); font-size: .9rem; max-width: 520px; margin: 0 auto; }
.officer-card {
  width: 162px;
  min-height: 162px;
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 18px 12px 14px;
  border: 1px solid var(--border);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.officer-card.is-clickable { cursor: pointer; }
.officer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--purple-soft);
}

.small-photo {
  width: 58px; height: 58px;
  background: var(--purple-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(124,58,237,.4);   /* purple ring (officers) */
}
.board-grid .small-photo { box-shadow: 0 0 0 3px rgba(212,175,55,.65); }   /* board = gold ring */
.small-photo svg { width: 46px; height: 46px; }

.officer-pos {
  margin-top: auto;          /* pins the role to the bottom → aligned across cards */
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-soft);
  padding: 4px 11px;
  border-radius: 50px;
  line-height: 1.3;
}
.president-pos {
  color: #fff;
  background: rgba(212,175,55,.25);
  border: 1px solid rgba(212,175,55,.4);
  font-size: .7rem;
  letter-spacing: 1.5px;
}
.officer-card h4 { font-size: .85rem; font-weight: 700; color: var(--text); line-height: 1.25; }
.officer-more {
  font-size: .66rem; font-weight: 600; color: var(--purple-mid);
  opacity: 0; transform: translateY(-3px);
  transition: opacity .2s, transform .2s var(--ease);
}
.officer-card:hover .officer-more { opacity: 1; transform: translateY(0); }

/* ── Board of Directors cards — wider + readable titles ──── */
.board-grid .officer-card {
  width: 200px;
  min-height: 0;
  padding: 22px 16px 18px;
  gap: 6px;
}
.board-grid .officer-card h4 {
  font-size: .9rem;
  min-height: 2.4em;            /* reserve 2 lines so every title aligns */
  display: flex;
  align-items: center;
  justify-content: center;
}
.board-grid .officer-pos {
  display: inline-block;
  margin-top: 8px;
  background: var(--purple-soft);   /* same badge look as the officers */
  color: var(--purple);
  text-transform: none;             /* readable for the longer board titles */
  letter-spacing: .2px;
  font-size: .72rem;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 12px;              /* rounded badge that wraps cleanly on 2 lines */
  line-height: 1.4;
  max-width: 100%;
}
.board-grid .officer-more { margin-top: 4px; }

/* ── Officer profile modal ──────────────────────────────── */
.ov-overlay {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(10,5,28,.6);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease);
}
.ov-overlay.open { opacity: 1; pointer-events: auto; }
.ov-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 640px; width: 100%;
  text-align: left;
  overflow: hidden;
  display: flex; align-items: stretch;
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
  transform: translateY(16px) scale(.97);
  transition: transform .28s var(--ease);
}
.ov-overlay.open .ov-card { transform: none; }
.ov-close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.9); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: background .2s, color .2s; box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.ov-close:hover { background: var(--purple-soft); color: var(--purple); }
.ov-close svg { width: 18px; height: 18px; }
.ov-photo {
  width: 240px; flex-shrink: 0; align-self: stretch; min-height: 300px;
  background: var(--purple-soft);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.ov-photo img { width: 100%; height: 100%; object-fit: cover; }
.ov-photo svg { width: 76px; height: 76px; color: var(--purple-mid); opacity: .5; }
.ov-info { flex: 1; min-width: 0; padding: 38px 34px; display: flex; flex-direction: column; justify-content: center; }
.ov-role {
  align-self: flex-start;
  font-size: .68rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--purple-mid); background: var(--purple-soft);
  padding: 5px 14px; border-radius: 50px; margin-bottom: 12px;
}
.ov-name { font-family: 'Playfair Display', serif; font-size: 1.75rem; color: var(--text); margin-bottom: 8px; line-height: 1.15; }
.ov-bio { font-size: .92rem; color: var(--muted); line-height: 1.6; margin: 2px 0 0; }
.ov-meta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.ov-meta:empty { display: none; }
.ov-meta .ov-contact-row { gap: 7px; font-size: .8rem; font-weight: 600; color: var(--purple);
  background: rgba(124, 58, 237, .10); padding: 6px 12px; border-radius: 999px; }
.ov-meta .ov-contact-row svg { width: 15px; height: 15px; color: var(--purple); }
.ov-contact { margin-top: 16px; display: flex; flex-direction: column; gap: 11px; }
.ov-contact:empty { display: none; }
.ov-contact-row { display: flex; align-items: center; gap: 11px; font-size: .92rem; color: var(--text); }
.ov-contact-row svg { width: 17px; height: 17px; color: var(--purple-mid); flex-shrink: 0; }
.ov-contact-row a { color: var(--text); text-decoration: none; word-break: break-word; }
.ov-contact-row a:hover { color: var(--purple); text-decoration: underline; }
@media (max-width: 560px) {
  .ov-overlay { padding: 14px; }
  /* Same layout as desktop: photo on the LEFT, side-by-side (just scaled to fit phones). */
  .ov-card { flex-direction: row; align-items: stretch; max-width: 460px; width: 100%;
    max-height: calc(100vh - 28px); max-height: calc(100dvh - 28px); }
  .ov-photo { width: 40%; min-width: 124px; max-width: 168px; min-height: 0; height: auto;
    align-self: stretch; flex-shrink: 0; }
  .ov-photo img { object-position: center 20%; }                          /* keep faces in frame */
  .ov-info { padding: 20px 18px; overflow-y: auto; -webkit-overflow-scrolling: touch;
    justify-content: center; }
  .ov-role { font-size: .58rem; letter-spacing: .4px; line-height: 1.3;
    padding: 4px 10px; margin-bottom: 9px; max-width: calc(100% - 26px); }  /* clears the ✕, less wrapping */
  .ov-name { font-size: 1.2rem; line-height: 1.18; margin-bottom: 6px; }
  .ov-bio { font-size: .82rem; line-height: 1.5;                          /* keep long bios tidy on phones */
    display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .ov-meta { margin-top: 12px; gap: 6px; }
  .ov-meta .ov-contact-row { font-size: .73rem; padding: 5px 10px; }
  .ov-contact { margin-top: 12px; gap: 9px; }
  .ov-contact-row { font-size: .84rem; gap: 9px; }
  .ov-contact-row svg { width: 15px; height: 15px; }
  .ov-close { top: 9px; right: 9px; width: 32px; height: 32px; }
}
@media (max-width: 380px) {
  .ov-photo { width: 38%; min-width: 112px; }
  .ov-info { padding: 16px 14px; }
  .ov-role { font-size: .55rem; }
  .ov-name { font-size: 1.08rem; }
  .ov-bio { font-size: .79rem; }
  .ov-meta .ov-contact-row { font-size: .7rem; padding: 4px 9px; }
}

.officers-note {
  text-align: center;
  margin-top: 24px;
  font-size: .82rem;
  color: var(--muted);
  font-style: italic;
}

/* ── PROGRAMS ───────────────────────────────────────────── */
#services { padding: 110px 0; background: var(--off-white); }

.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.program-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.program-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.program-stripe {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.purple-stripe { background: linear-gradient(90deg, var(--purple), var(--purple-light)); }
.gold-stripe   { background: linear-gradient(90deg, var(--gold-dark), var(--gold)); }
.program-icon {
  width: 50px; height: 50px;
  background: var(--off-white);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}
.program-icon svg { width: 26px; height: 26px; }
.program-card h4 { font-size: .97rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.program-card p  { font-size: .85rem; color: var(--muted); line-height: 1.65; }

/* ── REGIONS SECTION (homepage) ─────────────────────────── */
#regions { padding: 96px 0; background: var(--off-white); }

.regions-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: repeat(3, auto);
  gap: 16px;
  margin-top: 48px;
}
.rg-card {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.rg-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

/* Featured central card */
.rg-featured {
  grid-row: 1 / 4;
  background: linear-gradient(145deg, #1e0a4a 0%, #3b1278 35%, #6d28d9 70%, #8b5cf6 100%);
  min-height: 400px;
}
.rg-featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0, rgba(255,255,255,.025) 1px, transparent 1px, transparent 28px);
}
.rg-featured-glow {
  position: absolute;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(212,175,55,.18) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -80px; right: -60px;
  pointer-events: none;
}

/* Small region cards */
.rg-small-eastern  { background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%); }
.rg-small-western  { background: linear-gradient(135deg, #5a3600 0%, #c49b20 100%); }
.rg-small-northern { background: linear-gradient(135deg, #054a32 0%, #059669 100%); }

.rg-card-inner {
  position: relative;
  z-index: 1;
  padding: 40px 36px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.rg-featured .rg-card-inner { padding: 52px 48px; justify-content: flex-end; min-height: 400px; }

.rg-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212,175,55,.2);
  border: 1px solid rgba(212,175,55,.4);
  color: var(--gold);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
  width: fit-content;
}
.rg-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.rg-region-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 6px;
}
.rg-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 4px;
}
.rg-featured .rg-name { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
.rg-city {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 18px;
}
.rg-desc {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 380px;
}
.rg-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.rg-pill {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.75);
  font-size: .72rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 50px;
}
.rg-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 50px;
  width: fit-content;
  transition: background .2s;
}
.rg-featured .rg-cta { background: var(--gold); border-color: var(--gold); color: #1a0a00; }
.rg-card:hover .rg-cta { background: rgba(255,255,255,.2); }
.rg-featured:hover .rg-cta { background: #e8c832; }
.rg-cta svg { width: 14px; height: 14px; }

/* small cards inner layout */
.rg-small .rg-card-inner { padding: 24px 28px; min-height: 120px; justify-content: space-between; flex-direction: row; align-items: center; }
.rg-small-text { flex: 1; }
.rg-small .rg-name { font-size: 1rem; margin-bottom: 2px; }
.rg-small .rg-city { font-size: .75rem; margin-bottom: 0; }
.rg-arrow {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  flex-shrink: 0;
  transition: background .2s;
}
.rg-card:hover .rg-arrow { background: rgba(255,255,255,.22); }
.rg-arrow svg { width: 14px; height: 14px; }

@media (max-width: 860px) {
  .regions-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .rg-featured { grid-row: auto; min-height: 320px; }
  .rg-featured .rg-card-inner { min-height: 320px; }
  .rg-small .rg-card-inner { padding: 22px 24px; }
}

/* ── CONTACT ────────────────────────────────────────────── */
#contact { padding: 110px 0; background: #fff; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-left .eyebrow { display: flex; }
.contact-left .section-title { margin-bottom: 18px; }
.contact-left > p { color: var(--muted); font-size: .95rem; margin-bottom: 36px; line-height: 1.75; }

.contact-links { display: flex; flex-direction: column; gap: 14px; }
.contact-link-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--off-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color var(--t), transform var(--t) var(--ease), box-shadow var(--t);
}
.contact-link-row:hover {
  border-color: var(--purple-light);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.clr-icon {
  width: 40px; height: 40px;
  background: var(--purple-soft);
  color: var(--purple-mid);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--t), color var(--t);
}
.contact-link-row:hover .clr-icon { background: var(--purple-mid); color: #fff; }
.clr-icon svg { width: 17px; height: 17px; }
.clr-label  { font-size: .7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); display: block; }
.clr-value  { font-size: .9rem; font-weight: 600; color: var(--text); display: block; }

/* Form */
.contact-form {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg { display: flex; flex-direction: column; gap: 6px; }
.fg label { font-size: .78rem; font-weight: 700; color: var(--text-2); letter-spacing: .3px; }
.fg input, .fg select, .fg textarea {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: .92rem;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
  -webkit-appearance: none;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--purple-mid);
  box-shadow: 0 0 0 3px rgba(124,58,237,.1);
}
.fg textarea { resize: vertical; }
.fg input::placeholder, .fg textarea::placeholder { color: #bbb8cc; }
.form-fb { font-size: .84rem; font-weight: 500; text-align: center; min-height: 1.2em; }
.form-fb.success { color: #16a34a; }
.form-fb.error   { color: #dc2626; }

/* ── FOOTER ─────────────────────────────────────────────── */
.footer-top {
  background: #0f0a1e;
  padding: 64px 0 40px;
}
.footer-top-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-logos-duo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.footer-logo-wrap {
  width: 58px; height: 58px;
  background: transparent;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  z-index: 2;                 /* 1.png on top */
}
.footer-logo-wrap-2 {
  margin-left: -12px;
  position: relative;
  z-index: 1;                 /* 2.png behind */
}
.footer-logo { width: 100%; height: 100%; object-fit: contain; }
.footer-name { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.footer-sub-name { font-size: .78rem; color: rgba(255,255,255,.45); line-height: 1.5; }
.footer-col-title { font-size: .7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-links-group { display: flex; flex-direction: column; gap: 10px; }
.footer-links-group a { font-size: .87rem; color: rgba(255,255,255,.5); transition: color var(--t); }
.footer-links-group a:hover { color: #fff; }
.footer-bottom {
  background: #080514;
  padding: 18px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: .76rem; color: rgba(255,255,255,.3); }

/* ── GALLERY PREVIEW (homepage) ─────────────────────────── */
#gallery-preview { padding: 110px 0; background: #fff; }

.gp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
  margin-bottom: 40px;
}
.gp-card:nth-child(1) { grid-column: span 2; }
.gp-card:nth-child(6) { grid-column: span 2; }

.gp-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}
.gp-bg {
  position: absolute;
  inset: 0;
  transition: transform .5s var(--ease);
}
.gp-card:hover .gp-bg { transform: scale(1.06); }
.gp-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.1) 55%, transparent 100%);
  transition: background var(--t);
}
.gp-card:hover .gp-overlay { background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.2) 55%, transparent 100%); }

.gp-missions .gp-bg { background: linear-gradient(135deg, #3b1278 0%, #7c3aed 100%); }
.gp-sple    .gp-bg { background: linear-gradient(135deg, #7a5c00 0%, #c49b20 100%); }
.gp-community .gp-bg { background: linear-gradient(135deg, #065f46 0%, #059669 100%); }

.gp-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  color: rgba(255,255,255,.3);
  transition: color var(--t), transform var(--t) var(--ease);
}
.gp-icon svg { width: 64px; height: 64px; }
.gp-card:hover .gp-icon { color: rgba(255,255,255,.15); transform: translate(-50%,-50%) scale(.8); }

.gp-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 22px;
  transform: translateY(6px);
  transition: transform var(--t) var(--ease);
}
.gp-card:hover .gp-info { transform: none; }
.gp-cat {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 6px;
}
.gp-info h4 { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 3px; }
.gp-info p  { font-size: .75rem; color: rgba(255,255,255,.6); }

.gp-zoom {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  background: rgba(255,255,255,.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  opacity: 0;
  transform: scale(.85);
  transition: opacity var(--t), transform var(--t) var(--ease), background var(--t);
}
.gp-zoom svg { width: 16px; height: 16px; }
.gp-card:hover .gp-zoom { opacity: 1; transform: scale(1); background: rgba(255,255,255,.25); }

.gp-cta { text-align: center; margin-top: 36px; }

/* ════════════════ SHARED SUB-PAGE HERO (events, etc.) ════════════════ */
/* These mirror the gallery page hero so any inner page can reuse them.
   (gallery.css also defines them for the gallery page; identical rules.) */
.gallery-hero {
  position: relative;
  background: linear-gradient(140deg, #1e0a4a 0%, #3b1278 30%, #6d28d9 65%, #8b5cf6 100%);
  padding: calc(var(--nav-h) + 52px) 0 64px;
  overflow: hidden;
}
.gallery-hero .blob-1 { width: 500px; height: 500px; top: -200px; right: -80px; }
.gallery-hero .blob-2 { width: 300px; height: 300px; bottom: -80px; left: -60px; }
.gallery-hero-inner { position: relative; z-index: 2; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 700; color: #fff;
  margin-bottom: 24px; padding: 9px 16px 9px 13px; border-radius: 50px;
  background: rgba(255,255,255,.16); border: 1.5px solid rgba(255,255,255,.35);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  transition: background .2s, border-color .2s, transform .2s;
}
.back-link:hover { background: rgba(255,255,255,.95); border-color: #fff; color: var(--purple); transform: translateX(-3px); }
.back-link svg { width: 16px; height: 16px; }
.gallery-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: #fff; line-height: 1.1; margin-bottom: 14px;
}
.gallery-hero-title em { color: var(--gold); font-style: italic; }
.gallery-hero-sub { font-size: .97rem; color: rgba(255,255,255,.65); max-width: 500px; }

/* ════════════════ EVENTS ════════════════ */
#events { padding: 110px 0; background: #fff; }
.events-page { padding: 64px 0 96px; background: var(--off-white); }

/* Section heads on the events page */
.ev-section-head { display: flex; align-items: center; gap: 12px; margin: 0 0 28px; }
.ev-section-head h2 { font-size: 1.5rem; font-weight: 800; color: var(--text); margin: 0; }
.ev-section-head.ev-section-past { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--border); }
.ev-section-head .ev-count {
  font-size: .78rem; font-weight: 800; color: var(--purple);
  background: var(--purple-soft); border-radius: 50px; padding: 2px 11px;
}
.ev-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex-shrink: 0; }
.ev-dot-live { background: #16a34a; box-shadow: 0 0 0 0 rgba(22,163,74,.5); animation: evPulse 2s infinite; }
@keyframes evPulse { 0%{box-shadow:0 0 0 0 rgba(22,163,74,.45)} 70%{box-shadow:0 0 0 8px rgba(22,163,74,0)} 100%{box-shadow:0 0 0 0 rgba(22,163,74,0)} }

/* Grid */
.ev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ev-grid-home { margin-top: 4px; }

/* Card */
.ev-card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t);
}
.ev-card:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(20,10,40,.12); border-color: var(--purple-soft); }
.ev-card.is-past { opacity: .82; }
.ev-card.is-past:hover { opacity: 1; }

/* Media / banner */
.ev-media { position: relative; height: 158px; overflow: hidden; }
.ev-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ev-media-ph {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; color: #fff; line-height: 1;
  background: linear-gradient(135deg, var(--purple), var(--purple-mid));
}
.ev-media-ph .ev-day { font-size: 2.6rem; font-weight: 900; }
.ev-media-ph .ev-mon { font-size: .8rem; font-weight: 800; letter-spacing: 2px; opacity: .9; margin-top: 2px; }
/* category accent on the placeholder */
.cat-sple      .ev-media-ph { background: linear-gradient(135deg, #b8860b, var(--gold)); }
.cat-community .ev-media-ph { background: linear-gradient(135deg, #047857, #10b981); }
.cat-meeting   .ev-media-ph { background: linear-gradient(135deg, #1e40af, #3b82f6); }

.ev-cat {
  position: absolute; top: 12px; left: 12px;
  font-size: .66rem; font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
  color: #fff; background: rgba(20,10,40,.55); backdrop-filter: blur(4px);
  padding: 4px 10px; border-radius: 50px;
}
.ev-pin {
  position: absolute; top: 12px; right: 12px;
  font-size: .64rem; font-weight: 800; color: #5b3d00;
  background: var(--gold); padding: 4px 9px; border-radius: 50px;
}
/* small calendar badge shown only when there's a photo */
.ev-badge {
  position: absolute; bottom: 12px; right: 12px;
  display: flex; flex-direction: column; align-items: center; line-height: 1;
  background: #fff; border-radius: 11px; padding: 7px 11px; box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.ev-badge b { font-size: 1.15rem; font-weight: 900; color: var(--text); }
.ev-badge span { font-size: .6rem; font-weight: 800; letter-spacing: 1px; color: var(--purple); }

/* Body */
.ev-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ev-title { font-size: 1.05rem; font-weight: 800; color: var(--text); line-height: 1.3; margin: 0; }
.ev-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.ev-meta li { display: flex; align-items: center; gap: 9px; font-size: .82rem; color: var(--muted); font-weight: 500; }
.ev-ic { width: 16px; height: 16px; color: var(--purple); flex-shrink: 0; display: inline-flex; }
.ev-ic svg { width: 16px; height: 16px; }
.ev-desc { font-size: .85rem; color: var(--muted); line-height: 1.6; margin: 0; }

.ev-empty {
  text-align: center; padding: 56px 20px; color: var(--muted);
  background: #fff; border: 1px dashed var(--border); border-radius: 18px;
}
.ev-empty svg { width: 40px; height: 40px; color: var(--purple-soft); margin-bottom: 12px; }
.ev-empty p { font-size: .95rem; }

@media (max-width: 980px) { .ev-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ev-grid { grid-template-columns: 1fr; } }

/* ════════════════ SPONSORS / PARTNERS ════════════════ */
#sponsors { padding: 88px 0; background: var(--off-white); }
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: stretch;
}
.sponsor-item {
  display: flex; align-items: center; justify-content: center;
  width: 100%;
  padding: 26px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  min-height: 132px;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t);
}
.sponsor-item img {
  max-width: 100%; max-height: 84px; width: auto; height: auto;
  opacity: 1;
  transition: transform var(--t) var(--ease);
}
.sponsor-item:hover { box-shadow: 0 14px 34px rgba(20,10,40,.1); border-color: var(--purple-soft); transform: translateY(-3px); }
.sponsor-item:hover img { transform: scale(1.05); }

@media (max-width: 900px) { .sponsors-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .sponsors-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .sponsor-item { min-height: 108px; padding: 22px 16px; } .sponsor-item img { max-height: 68px; } }

/* ════════════════ COMMITTEES ════════════════ */
/* Homepage teaser */
#committees-teaser { padding: 40px 0 80px; background: #fff; }
.cm-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; margin: 0 auto; }
.cm-pill {
  display: inline-flex; align-items: center;
  padding: 9px 18px; border-radius: 50px;
  background: var(--off-white); border: 1px solid var(--border);
  font-size: .86rem; font-weight: 700; color: var(--text);
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
}
.cm-pill:hover { background: var(--purple-mid); color: #fff; border-color: var(--purple-mid); transform: translateY(-2px); }

/* Committees page */
.committees-page { padding: 64px 0 96px; background: var(--off-white); }
.cm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.cm-card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  padding: 26px 24px; transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease), border-color var(--t);
}
.cm-card:hover { box-shadow: 0 18px 40px rgba(20,10,40,.1); transform: translateY(-3px); border-color: var(--purple-soft); }
.cm-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.cm-icon {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 13px;
  background: var(--purple-soft); color: var(--purple-mid);
  display: flex; align-items: center; justify-content: center;
}
.cm-icon svg { width: 24px; height: 24px; }
.cm-name { font-size: 1.12rem; font-weight: 800; color: var(--text); margin: 0 0 2px; line-height: 1.25; }
.cm-count { font-size: .76rem; font-weight: 700; color: var(--purple); text-transform: uppercase; letter-spacing: .04em; }
.cm-desc { font-size: .88rem; color: var(--muted); line-height: 1.6; margin: 0 0 16px; }
.cm-members { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px dashed var(--border); display: flex; flex-direction: column; gap: 3px; }
.cm-member {
  display: flex; align-items: center; gap: 12px; width: 100%;
  background: none; border: none; padding: 7px 8px; border-radius: 11px;
  cursor: pointer; text-align: left; font-family: inherit;
  transition: background var(--t) var(--ease);
}
.cm-member:hover { background: var(--purple-soft); }
.cm-member-avatar {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; overflow: hidden;
  background: var(--purple-soft); color: var(--purple-mid);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 2px rgba(124,58,237,.35);
}
.cm-member-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cm-member-avatar svg { width: 20px; height: 20px; }
.cm-member-text { display: flex; flex-direction: column; min-width: 0; }
.cm-member-name { font-size: .92rem; font-weight: 600; color: var(--text); }
.cm-member-role { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--gold-dark, #b8902a); margin-top: 1px; }

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

/* ════════════════ THE MINA — flipbook + teaser ════════════════ */
.mina-section { padding: 50px 0 90px; background: var(--off-white); }
.mina-hint { text-align: center; color: var(--muted); font-size: .9rem; margin-bottom: 26px; }
.flipbook-wrap { position: relative; max-width: 1180px; margin: 0 auto; min-height: 320px; }
.fb-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-weight: 600; z-index: 4; }
.fb-spinner { width: 22px; height: 22px; border: 3px solid var(--purple-soft); border-top-color: var(--purple-mid); border-radius: 50%; animation: fbspin .8s linear infinite; }
@keyframes fbspin { to { transform: rotate(360deg); } }
.flipbook-stage { width: 100%; }
.flipbook { width: 100%; }
.flipbook .stf__parent { margin: 0 auto; box-shadow: 0 30px 70px rgba(20,10,40,.28); }
/* Lazy-loaded HTML pages: image fills each flip page (page ratio matches the A4 scans). */
.flipbook .fb-page { width: 100%; height: 100%; background: #fff; overflow: hidden; }
.flipbook .fb-img { width: 100%; height: 100%; display: block; object-fit: fill; }
.fb-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: none;
  background: var(--purple-mid); color: #fff; cursor: pointer; z-index: 6;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(124,58,237,.4); transition: background var(--t), transform var(--t);
}
.fb-arrow:hover { background: var(--purple); }
.fb-arrow svg { width: 22px; height: 22px; }
.fb-arrow-prev { left: -8px; }
.fb-arrow-next { right: -8px; }
.fb-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.fb-counter { font-size: .9rem; font-weight: 700; color: var(--text); background: #fff; border: 1px solid var(--border); padding: 9px 18px; border-radius: 50px; }
.btn-sm { padding: 9px 16px; font-size: .82rem; }
.flipbook-wrap:fullscreen { background: linear-gradient(140deg,#1e0a4a,#3b1278); display: flex; align-items: center; justify-content: center; padding: 2px; max-width: none; }
/* cap by height so A4 pages never overflow the screen (≈ a 2-page A4 spread fitted to the screen height) */
.flipbook-wrap:fullscreen .flipbook-stage { max-width: min(99vw, 141vh); margin: 0 auto; }
.flipbook-wrap:fullscreen .fb-loading { color: #fff; }

/* Exit-fullscreen button — only visible in fullscreen */
.fb-exit { display: none; }
.flipbook-wrap:fullscreen .fb-exit {
  display: inline-flex; align-items: center; gap: 6px;
  position: fixed; top: 14px; right: 14px; z-index: 30;
  padding: 9px 16px 9px 13px; border-radius: 50px; border: none; cursor: pointer;
  background: rgba(255,255,255,.95); color: #1e0a4a; font-weight: 800; font-size: .85rem; font-family: inherit;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
}
.flipbook-wrap:fullscreen .fb-exit svg { width: 16px; height: 16px; }
.fb-exit:hover { background: #fff; }

/* Zoom button — only visible in fullscreen (top-left), opens the pinch-zoom reader */
.fb-zoom-fs { display: none; }
.flipbook-wrap:fullscreen .fb-zoom-fs {
  display: inline-flex; align-items: center; gap: 6px;
  position: fixed; top: 14px; left: 14px; z-index: 30;
  padding: 9px 16px 9px 13px; border-radius: 50px; border: none; cursor: pointer;
  background: rgba(255,255,255,.95); color: #1e0a4a; font-weight: 800; font-size: .85rem; font-family: inherit;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
}
.flipbook-wrap:fullscreen .fb-zoom-fs svg { width: 16px; height: 16px; }
.fb-zoom-fs:hover { background: #fff; }

/* Zoom-to-read overlay */
.pz-overlay { position: fixed; inset: 0; z-index: 4000; background: rgba(12,6,28,.96); display: none; }
.pz-overlay.open { display: block; }
.pz-stage { position: absolute; inset: 0; overflow: hidden; touch-action: none; cursor: grab; }
.pz-stage.grabbing { cursor: grabbing; }
.pz-inner { position: absolute; inset: 0; }
.pz-inner img { position: absolute; top: 0; left: 0; transform-origin: 0 0; width: auto; height: auto; user-select: none; -webkit-user-drag: none; border-radius: 4px; box-shadow: 0 10px 40px rgba(0,0,0,.5); will-change: transform; }
.pz-close { position: fixed; top: 14px; right: 14px; z-index: 4010; width: 42px; height: 42px; border-radius: 50%; border: none; background: rgba(255,255,255,.95); color: #1e0a4a; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.pz-bar { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 4010; display: flex; align-items: center; gap: 4px; background: rgba(255,255,255,.95); border-radius: 50px; padding: 4px; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.pz-bar button { width: 40px; height: 36px; border: none; background: transparent; font-size: 1.35rem; font-weight: 800; line-height: 1; color: var(--purple-mid); cursor: pointer; border-radius: 50px; }
.pz-bar button:hover { background: var(--purple-soft); }
.pz-bar span { font-size: .8rem; font-weight: 700; color: var(--text); min-width: 46px; text-align: center; }
.pz-hint { position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 4010; background: rgba(255,255,255,.92); color: #1e0a4a; font-size: .73rem; font-weight: 600; padding: 7px 14px; border-radius: 50px; box-shadow: 0 4px 14px rgba(0,0,0,.3); max-width: 92vw; text-align: center; }

/* "rotate your phone" hint — only in fullscreen on small portrait screens */
.fb-rotate-hint { display: none; }
@media (max-width: 640px) and (orientation: portrait) {
  .flipbook-wrap:fullscreen .fb-rotate-hint {
    display: block; position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
    background: rgba(255,255,255,.92); color: #1e0a4a; font-size: .76rem; font-weight: 700;
    padding: 7px 14px; border-radius: 50px; z-index: 30; white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,.3);
  }
}

/* fallback (no page images) */
.mina-fallback { text-align: center; }
.mina-fallback-cover { max-width: 320px; width: 100%; border-radius: 12px; box-shadow: 0 20px 50px rgba(20,10,40,.25); margin-bottom: 22px; }

/* back-to-all-issues link (reader mode) */
.mina-allissues { text-align: center; margin-top: 26px; }
.mina-allissues a { font-weight: 700; color: var(--purple-mid); text-decoration: none; font-size: .95rem; }
.mina-allissues a:hover { text-decoration: underline; }

/* ── Library of issues (covers grid) ── */
.mina-library { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 30px 26px; max-width: 980px; margin: 6px auto 0; }
.mina-issue { display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; }
.mina-issue-cover {
  position: relative; width: 100%; aspect-ratio: 0.72; border-radius: 12px; overflow: hidden;
  background: var(--purple-soft); box-shadow: 0 14px 34px rgba(20,10,40,.20);
  transition: transform var(--t), box-shadow var(--t);
}
.mina-issue:hover .mina-issue-cover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(20,10,40,.30); }
.mina-issue-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mina-issue-noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 12px; text-align: center; font-weight: 800; color: var(--purple-mid); }
.mina-issue-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--purple-mid); color: #fff; font-size: .68rem; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase; padding: 5px 11px; border-radius: 50px;
  box-shadow: 0 4px 12px rgba(124,58,237,.45);
}
.mina-issue-action {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 14px 10px 12px; font-size: .85rem; font-weight: 800; color: #fff;
  background: linear-gradient(to top, rgba(20,10,40,.82) 30%, rgba(20,10,40,0));
  opacity: 1; transition: padding var(--t);
}
.mina-issue:hover .mina-issue-action { padding-bottom: 16px; }
.mina-issue-label { font-size: .95rem; font-weight: 800; color: var(--text); text-align: center; }

/* past issues (legacy — unused by the new library, kept for safety) */
.mina-past { margin-top: 72px; padding-top: 44px; border-top: 1px solid var(--border); }
.mina-past-title { font-size: 1.4rem; font-weight: 800; color: var(--text); margin-bottom: 22px; text-align: center; }
.mina-past-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.mina-past-card { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 150px; text-decoration: none; transition: transform var(--t); }
.mina-past-card:hover { transform: translateY(-4px); }
.mina-past-card img { width: 100%; border-radius: 8px; box-shadow: 0 10px 26px rgba(20,10,40,.18); }
.mina-past-label { font-size: .8rem; font-weight: 700; color: var(--text); }

/* Homepage teaser */
#mina-teaser { padding: 0 0 90px; background: #fff; }
.mina-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1e0a4a 0%, #3b1278 55%, #6d28d9 100%);
  border-radius: var(--radius-xl, 24px); padding: 48px 44px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center;
}
.mina-band-cover { width: 150px; flex-shrink: 0; border-radius: 10px; box-shadow: 0 20px 44px rgba(0,0,0,.4); display: block; }
.mina-band-text { color: #fff; }
.mina-band-eyebrow { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.mina-band-title { font-family: 'Playfair Display', serif; font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; margin: 0 0 8px; }
.mina-band-sub { color: rgba(255,255,255,.75); font-size: .95rem; max-width: 460px; }
.mina-band .btn { white-space: nowrap; }

@media (max-width: 760px) {
  .mina-band { grid-template-columns: 1fr; text-align: center; gap: 24px; padding: 36px 24px; justify-items: center; }
  .mina-band-sub { margin: 0 auto; }
}
@media (max-width: 600px) {
  .fb-arrow { width: 40px; height: 40px; }
  .fb-arrow-prev { left: 0; } .fb-arrow-next { right: 0; }
}

/* Sponsor popup */
.sv-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(20,10,40,.55); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility .25s;
}
.sv-overlay.open { opacity: 1; visibility: visible; }
.sv-card {
  position: relative; background: #fff; border-radius: 22px;
  padding: 40px 34px 34px; max-width: 380px; width: 100%; text-align: center;
  box-shadow: 0 30px 70px rgba(20,10,40,.34);
  transform: translateY(12px) scale(.98); transition: transform .28s var(--ease);
}
.sv-overlay.open .sv-card { transform: translateY(0) scale(1); }
.sv-close {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px;
  border: none; border-radius: 50%; background: var(--off-white); color: var(--muted);
  display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background var(--t);
}
.sv-close:hover { background: var(--purple-soft); color: var(--purple-mid); }
.sv-close svg { width: 17px; height: 17px; }
.sv-logo { min-height: 150px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.sv-logo img { max-width: 300px; max-height: 150px; width: auto; height: auto; }
.sv-name { font-size: 1.3rem; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.sv-url { display: block; font-size: .88rem; font-weight: 600; color: var(--purple-mid); margin-bottom: 22px; word-break: break-all; }
.sv-url:hover { text-decoration: underline; }
.sv-visit { display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 860px) {
  .gp-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gp-card:nth-child(1) { grid-column: span 2; }
  .gp-card:nth-child(6) { grid-column: span 2; }
}
@media (max-width: 480px) {
  .gp-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gp-card:nth-child(1),
  .gp-card:nth-child(6) { grid-column: span 2; }
  .gp-zoom { opacity: .75 !important; transform: scale(1) !important; }
}

/* ── SCROLL TO TOP ──────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 46px; height: 46px;
  background: var(--purple-mid);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(124,58,237,.4);
  z-index: 300;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity var(--t), transform var(--t) var(--ease), background var(--t);
}
.scroll-top.visible { opacity: 1; transform: none; pointer-events: auto; }
.scroll-top:hover { background: var(--purple); }
.scroll-top svg { width: 20px; height: 20px; }

/* ── ACTIVE NAV ─────────────────────────────────────────── */
.nav-links a.active { color: #fff !important; }
.nav-links a.active::after { transform: scaleX(1) !important; }
#navbar.scrolled ~ .nav-links a.active { color: var(--purple-mid) !important; }

/* ── ANIMATIONS ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .pillars { grid-template-columns: 1fr 40px 1fr; }
  .officers-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .programs-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-text-col { order: 2; }
  .hero-logo-col { order: 1; }
  .hero-sub { margin: 0 auto 36px; }
  .hero-ctas { justify-content: center; }
  .hero-logo-duo { flex-direction: column; gap: 20px; align-items: center; }
  .hero-logo-ring { width: 190px; height: 190px; }
  .hero-logo-shield { width: 190px; height: 190px; }
  .hero-scroll-cue { display: none; }   /* hide the floating scroll hint on touch/mobile */

  .about-layout { grid-template-columns: 1fr; gap: 56px; }
  .about-visual-col, .about-copy-col { min-width: 0; }   /* let the column shrink, no sideways overflow */
  .programs-grid { grid-template-columns: repeat(2, 1fr); }   /* 4 → 2 on tablet */
  .pillars { grid-template-columns: 1fr; gap: 28px; }   /* stacked cards need a gap */
  .pillar-center-line { display: none; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .footer-top-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .president-card { flex-direction: column; text-align: center; padding: 36px 28px; }
  .president-info p { max-width: 100%; }
  .officers-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}

/* Tablet + mobile: modern slide-down menu with tap-to-expand sections */
@media (max-width: 960px) {
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%; height: 100%;
    background: linear-gradient(180deg, #150b30 0%, #0a051c 100%);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--nav-h) + 8px) 0 36px;
    z-index: 300;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }

  /* Centered content column so rows aren't edge-to-edge on tablets */
  .nav-links > li { width: 100%; max-width: 480px; margin: 0 auto; }

  /* Top-level row (simple links + dropdown parents) */
  .nav-links > li > a {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%;
    padding: 16px 28px;
    font-size: 1.06rem !important; font-weight: 600;
    color: #fff !important;
    border-bottom: 1px solid rgba(255,255,255,.07);
    transition: background .15s;
  }
  .nav-links > li > a::after { display: none !important; }     /* no gold underline on mobile */
  .nav-links > li > a:active { background: rgba(255,255,255,.06); }
  .nav-links > li > a.active { color: var(--gold) !important; }

  /* Dropdown = accordion */
  .nav-dropdown { display: block; }
  .nav-caret { display: block; width: 17px; height: 17px; color: rgba(255,255,255,.55);
    transition: transform .28s var(--ease); flex-shrink: 0; }
  .nav-dropdown.expanded > .nav-drop-link { background: rgba(255,255,255,.04); }
  .nav-dropdown.expanded .nav-caret { transform: rotate(180deg); }
  .nav-submenu,
  .nav-dropdown:hover .nav-submenu {                           /* kill desktop hover-positioning on touch */
    position: static; left: auto; top: auto; transform: none; visibility: visible; opacity: 1;
    background: rgba(0,0,0,.22); border: none; box-shadow: none; min-width: 0; padding: 0;
    display: block; max-height: 0; overflow: hidden;
    transition: max-height .3s var(--ease);
  }
  .nav-dropdown.expanded .nav-submenu { max-height: 460px; }
  .nav-submenu::before { display: none; }
  .nav-submenu a {
    display: block; width: 100%; white-space: normal;
    color: rgba(255,255,255,.74) !important; font-size: .98rem !important; font-weight: 500;
    padding: 13px 28px 13px 44px !important;                   /* indented under the parent */
    border-bottom: 1px solid rgba(255,255,255,.05);
  }
  .nav-submenu a::after { display: none !important; }
  .nav-submenu a:hover, .nav-submenu a:active { background: rgba(124,58,237,.22); color: #fff !important; }
  .nav-submenu a.active { color: var(--gold) !important; }

  /* Contact Us = full-width pill button */
  .nav-links > li:last-child { padding: 0 28px; }
  .nav-cta {
    justify-content: center !important;
    display: flex !important;
    margin: 24px 0 0 !important;
    width: 100%;
    background: var(--purple-mid) !important;
    color: #fff !important;
    border-bottom: none !important;
    border-radius: 50px !important;
    padding: 15px 28px !important;
    font-weight: 700;
    box-shadow: 0 10px 26px rgba(124,58,237,.4);
  }
}

@media (max-width: 640px) {
  .stats-wrap { flex-direction: column; }
  .stat-sep { display: none; }
  .stat-block { border-bottom: 1px solid var(--border); width: 100%; }

  /* Hero buttons: stacked, full-width on phones */
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 12px; max-width: 340px; margin: 0 auto 36px; }
  .hero-ctas .btn { width: 100%; }

  /* Officers & board: clean 2-up grid on phones (less scrolling) */
  .officers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: stretch; }
  .officers-grid .officer-card { width: auto; height: 100%; }   /* equal height per row */
  /* Shrink the big wave so the buttons aren't crowded against it */
  .hero-wave svg { height: 48px; }
  .hero-inner { padding-bottom: 80px; }

  /* About card — shrink logos & padding so the card fits the phone */
  .about-card-top { padding: 30px 16px; min-height: 0; }
  .about-logos-duo { gap: 16px; }
  .about-logo-circle, .about-logo-circle-2 { width: 120px; height: 120px; }
  .about-card-body, .about-card-footer { padding-left: 20px; padding-right: 20px; }

  .programs-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer-top-inner { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 4px; }
  .scroll-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
}

@media (max-width: 420px) {
  .officers-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .hero-logo-ring { width: 150px; height: 150px; }
  .hero-logo-shield { width: 150px; height: 150px; }
  .about-logo-circle, .about-logo-circle-2 { width: 106px; height: 106px; }
  .about-logos-duo { gap: 12px; }
}

/* ============================================================
   LEADERSHIP TIMELINE (#history)
   ============================================================ */
#history { padding: 96px 0; background: var(--off-white, #f7f5fd); }
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 36px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold, #d4af37), rgba(212,175,55,.15));
}
.tl-item { position: relative; margin-bottom: 28px; }
.tl-item:last-child { margin-bottom: 0; }
.tl-dot {
  position: absolute;
  left: -36px; top: 22px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gold, #d4af37);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px rgba(212,175,55,.25);
}
.tl-card {
  background: #fff;
  border: 1px solid var(--border, #e9e4f5);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 6px 24px rgba(30,10,74,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.tl-card:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(30,10,74,.12); }
.tl-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 16px; }
.tl-year {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 800;
  color: var(--purple, #6d28d9);
}
.tl-current {
  font-size: .68rem; font-weight: 800; letter-spacing: .5px;
  color: #065f46; background: #d1fae5; border: 1px solid #6ee7b7;
  padding: 3px 10px; border-radius: 50px;
}
.tl-pres { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border, #eee); margin-bottom: 14px; }
.tl-pres-photo {
  width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: var(--purple-soft, #f5f3ff); color: var(--purple-mid, #7c3aed);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--gold, #d4af37);
}
.tl-pres-photo img { width: 100%; height: 100%; object-fit: cover; }
.tl-pres-photo svg { width: 28px; height: 28px; }
.tl-pres-role { font-size: .68rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold, #b8902a); }
.tl-pres-name { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--text, #1a1430); }
.tl-board { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.tl-member { display: flex; flex-direction: column; padding: 4px 0; }
.tl-member-role { font-size: .66rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--muted, #8b85a0); }
.tl-member-name { font-size: .9rem; font-weight: 600; color: var(--text, #2a2440); }
@media (max-width: 600px) {
  .tl-board { grid-template-columns: 1fr; }
  .tl-year { font-size: 1.3rem; }            /* keeps "2024 – Present" on one line */
  .tl-pres-name { font-size: 1.05rem; }
  #history { padding: 64px 0; }
}

/* History page scope sections */
.history-scope { margin-bottom: 64px; }
.history-scope:last-child { margin-bottom: 0; }
.history-scope-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text, #1a1430);
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold, #d4af37);
  display: inline-block;
}

/* Leadership history CTA band on homepage */
.legacy-cta {
  background: linear-gradient(135deg, #1e0a4a 0%, #6d28d9 100%);
  padding: 64px 0;
  text-align: center;
  color: #fff;
}
.legacy-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  margin: 6px 0 10px;
}
.legacy-cta p { color: rgba(255,255,255,.8); font-size: .95rem; margin-bottom: 24px; }
.legacy-cta .btn { display: inline-flex; align-items: center; gap: 8px; }

/* ============================================================
   RESPONSIVE POLISH — phone & tablet spacing / type
   ============================================================ */
@media (max-width: 768px) {
  .container { padding: 0 22px; }
  #about, #mission, #officers, #services, #events, #regions, #contact, #gallery-preview { padding: 64px 0; }
  #history { padding: 56px 0; }
  .legacy-cta { padding: 52px 0; }
  .section-header { margin-bottom: 32px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  #stats, #about, #mission, #officers, #services, #events, #regions, #contact, #gallery-preview, #history { padding: 46px 0; }
  .hero-title { font-size: 2.1rem; line-height: 1.14; }
  .hero-sub { font-size: .95rem; }
  .section-title { font-size: 1.65rem; }
  .section-sub { font-size: .9rem; }
  .stat-num { font-size: 2rem; }
  .btn { padding: 12px 22px; }        /* comfortable tap target */
  .legacy-cta { padding: 40px 0; }
}

/* Clickable people on the Leadership timeline */
.ov-trigger { cursor: pointer; }
.tl-member.ov-trigger { padding: 6px 8px; margin: 0 -8px; border-radius: 8px; transition: background .2s var(--ease); }
.tl-member.ov-trigger:hover { background: var(--purple-soft); }
/* President row keeps its divider spacing — only a subtle hover cue, no box changes */
.tl-pres.ov-trigger:hover .tl-pres-name { color: var(--purple); transition: color .2s; }
.tl-pres.ov-trigger:hover .tl-pres-photo { box-shadow: 0 0 0 3px var(--purple-soft); }

/* ── FAQ page ───────────────────────────────────────────── */
.faq-section { padding: 50px 0 90px; background: var(--off-white); }
.faq-wrap { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 14px; overflow: hidden; transition: box-shadow var(--t), border-color var(--t); }
.faq-item[open] { border-color: var(--purple-light); box-shadow: 0 10px 30px rgba(20,10,40,.08); }
.faq-q { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 22px; font-weight: 700; font-size: 1.05rem; color: var(--text); }
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--purple); }
.faq-chevron { width: 20px; height: 20px; flex-shrink: 0; color: var(--purple-mid); transition: transform var(--t); }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-a { padding: 0 22px 22px; color: var(--muted); line-height: 1.75; font-size: .98rem; }
.faq-a p { margin: 0 0 12px; } .faq-a p:last-child { margin-bottom: 0; }
.faq-a ul { margin: 0 0 12px; padding-left: 22px; }
.faq-a li { margin-bottom: 6px; }
.faq-cta { text-align: center; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--border); }
.faq-cta p { color: var(--muted); margin-bottom: 14px; font-weight: 600; }

/* FAQ search */
.faq-search-wrap { position: relative; max-width: 800px; margin: 0 auto 24px; }
.faq-search-ico { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.faq-search { width: 100%; padding: 14px 18px 14px 46px; border: 1.5px solid var(--border); border-radius: 50px; font-family: inherit; font-size: 1rem; color: var(--text); background: #fff; outline: none; transition: border-color .2s, box-shadow .2s; }
.faq-search::placeholder { color: #a59ec2; }
.faq-search:focus { border-color: var(--purple); box-shadow: 0 0 0 3px var(--purple-soft); }
.faq-noresults { text-align: center; color: var(--muted); padding: 28px 0; font-weight: 600; }
.faq-noresults a { color: var(--purple-mid); font-weight: 700; }

/* Committees grouped by region (committees.php) */
.cm-region-group { margin-bottom: 50px; }
.cm-region-group:last-child { margin-bottom: 0; }
.cm-region-heading { display: flex; align-items: center; gap: 11px; font-size: 1.35rem; font-weight: 800; color: var(--text); margin: 0 0 24px; padding-bottom: 13px; border-bottom: 2px solid var(--border); }
.cm-region-dot { width: 13px; height: 13px; border-radius: 50%; flex-shrink: 0; }

/* ── Batch banner (per-year batch name + logo) ─────────────── */
.batch-band { display: flex; justify-content: center; padding: 0 20px; margin: 4px 0 34px; }
.batch-band-card { display: inline-flex; align-items: center; gap: 18px; background: var(--off-white); border: 1px solid var(--border); border-radius: 18px; padding: 14px 30px 14px 14px; box-shadow: 0 6px 22px rgba(30,10,74,.05); }
.batch-band-logo { width: 88px; height: 88px; border-radius: 14px; background: #fff; border: 1px solid var(--border); flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.batch-band-logo img { width: 100%; height: 100%; object-fit: contain; padding: 7px; box-sizing: border-box; }
.batch-band-text { display: flex; flex-direction: column; gap: 3px; }
.batch-band-year { font-size: .75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--purple-mid); }
.batch-band-name { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 800; color: var(--text); line-height: 1.12; }
@media (max-width: 560px) { .batch-band-card { gap: 14px; padding: 12px 22px 12px 12px; } .batch-band-name { font-size: 1.3rem; } .batch-band-logo { width: 70px; height: 70px; } }
.batch-clickable { cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.batch-clickable:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(30,10,74,.12); }
.batch-clickable:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }

/* Batch identity inside the leadership-history timeline cards */
/* Batch logo as a left column inside the timeline card */
.tl-card-haslogo { display: flex; align-items: flex-start; gap: 22px; }
.tl-batch-side { flex-shrink: 0; width: 104px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 9px; padding-right: 22px; border-right: 1px solid var(--border); }
.tl-batch-side-logo { width: 92px; height: 92px; border-radius: 14px; background: #fff; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 4px 12px rgba(30,10,74,.06); }
.tl-batch-side-logo img { width: 100%; height: 100%; object-fit: contain; padding: 7px; box-sizing: border-box; }
.tl-batch-side-name { font-weight: 800; font-size: .9rem; color: var(--purple); line-height: 1.2; }
.tl-card-body { flex: 1; min-width: 0; }
@media (max-width: 560px) {
  .tl-card-haslogo { flex-direction: column; align-items: stretch; gap: 14px; }
  .tl-batch-side { width: auto; flex-direction: row; justify-content: flex-start; gap: 12px; padding-right: 0; padding-bottom: 14px; border-right: none; border-bottom: 1px solid var(--border); }
  .tl-batch-side-logo { width: 64px; height: 64px; }
}

/* ── Batch header (compact, sits under a section title) ────── */
/* Officers section header: title on the left, batch card on the right (saves vertical space) */
.region-officers-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 14px; }
.region-officers-head-text { min-width: 240px; }
.region-officers-head .batch-header { margin: 0; }

.batch-header { display: inline-flex; align-items: center; gap: 22px; margin: 22px 0 38px; padding: 18px 30px 18px 18px; background: var(--off-white); border: 1px solid var(--border); border-radius: 18px; }
.batch-header-logo { width: 130px; height: 130px; border-radius: 16px; background: #fff; border: 1px solid var(--border); flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.batch-header-logo img { width: 100%; height: 100%; object-fit: contain; padding: 5px; box-sizing: border-box; }
.batch-header-text { display: flex; flex-direction: column; gap: 4px; }
.batch-header-year { font-size: .78rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--purple-mid); }
.batch-header-name { font-family: 'Playfair Display', serif; font-size: 1.75rem; font-weight: 800; color: var(--text); line-height: 1.12; }
@media (max-width: 560px) { .batch-header { gap: 16px; padding: 14px 20px 14px 14px; } .batch-header-name { font-size: 1.35rem; } .batch-header-logo { width: 96px; height: 96px; } }

/* ── Batch in the region HERO (right side, auto-fills current year) ── */
.region-hero-inner { position: relative; }
/* Vertical card: logo on top, year + batch name centered below */
.region-hero-batch { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; width: 300px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.3); border-radius: 22px; padding: 26px 26px 28px; box-shadow: 0 16px 40px rgba(0,0,0,.22); z-index: 4; }
.region-hero-batch-logo { width: 220px; height: 220px; border-radius: 18px; background: #fff; flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 8px 22px rgba(0,0,0,.2); }
.region-hero-batch-logo img { width: 100%; height: 100%; object-fit: contain; padding: 10px; box-sizing: border-box; }
.region-hero-batch-text { display: flex; flex-direction: column; align-items: center; gap: 5px; color: #fff; }
.region-hero-batch-year { font-size: .78rem; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; opacity: .9; }
.region-hero-batch-name { font-family: 'Playfair Display', serif; font-size: 1.95rem; font-weight: 800; line-height: 1.12; }
/* Keep hero text clear of the batch on wide screens (only when a batch is shown) */
@media (min-width: 1025px) {
  .region-hero-inner:has(.region-hero-batch) .region-hero-title,
  .region-hero-inner:has(.region-hero-batch) .region-hero-sub,
  .region-hero-inner:has(.region-hero-batch) .region-hero-meta { max-width: 60%; }
}
/* On smaller screens the batch flows below the hero text, centered */
@media (max-width: 1024px) {
  .region-hero-batch { position: static; transform: none; margin: 30px auto 0; }
}

/* Clickable batch logo + its popup */
.tl-batch-trigger { cursor: pointer; }
.tl-batch-trigger .tl-batch-side-logo { transition: box-shadow .2s ease, transform .2s ease; }
.tl-batch-trigger:hover .tl-batch-side-logo { box-shadow: 0 0 0 3px var(--purple-soft); transform: scale(1.03); }
.tl-batch-trigger:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; border-radius: 12px; }
/* Batch popup — its OWN vertical card: logo on top, year + name centered below. */
.ov-card-batch { flex-direction: column; align-items: center; text-align: center;
  max-width: 400px; padding: 40px 34px 36px; }
.ov-card-batch .ov-role { align-self: center; margin-bottom: 14px; }
.ov-card-batch .ov-name { margin: 0; }
.bv-logo { width: 200px; height: 200px; flex: none; margin: 0 0 20px; border-radius: 18px;
  background: #fff; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  overflow: hidden; box-shadow: 0 10px 28px rgba(30,10,74,.12); }
.bv-logo img { width: 100%; height: 100%; object-fit: contain; padding: 18px; box-sizing: border-box; }
@media (max-width: 560px) {
  .ov-card-batch { max-width: 340px; padding: 32px 24px 28px; }
  .bv-logo { width: 158px; height: 158px; }
  .bv-logo img { padding: 14px; }
}

/* ===== Constitution & By-Laws page ===== */
.cbl-section { padding: 54px 0 80px; }
.cbl-wrap { max-width: 980px; }
.cbl-bar { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.cbl-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cbl-badge { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 700; color: var(--purple); background: var(--purple-soft); padding: 7px 14px; border-radius: 50px; }
.cbl-badge svg { width: 15px; height: 15px; }
.cbl-sub { color: var(--muted); font-size: .88rem; }
.cbl-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cbl-section .btn-ghost { background: #fff; color: var(--purple); border-color: var(--border); backdrop-filter: none; }
.cbl-section .btn-ghost:hover { border-color: var(--purple-mid); color: var(--purple); background: var(--purple-soft); }
.cbl-cover-head { display: flex; gap: 30px; align-items: center; margin-bottom: 26px; }
.cbl-cover { flex-shrink: 0; display: block; width: 215px; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: 0 16px 44px rgba(30,10,74,.20); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.cbl-cover:hover { transform: translateY(-4px); box-shadow: 0 24px 56px rgba(30,10,74,.28); }
.cbl-cover img { width: 100%; height: auto; display: block; }
.cbl-cover-info { min-width: 0; }
.cbl-cover-title { font-family: 'Playfair Display', serif; font-size: 1.55rem; line-height: 1.2; margin: 13px 0 8px; color: var(--text); }
.cbl-cover-text { color: var(--muted); font-size: .95rem; line-height: 1.65; margin: 0 0 18px; max-width: 50ch; }
@media (max-width: 640px) {
  .cbl-cover-head { flex-direction: column; align-items: center; text-align: center; gap: 18px; }
  .cbl-cover { width: 168px; }
  .cbl-cover-text { max-width: none; }
  .cbl-cover-info .cbl-actions { justify-content: center; }
  .cbl-cover-info .cbl-badge { }
}
.cbl-official { font-size: .86rem; color: var(--muted); background: var(--purple-soft); border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; margin: 0 0 22px; }
.cbl-official a { color: var(--purple); font-weight: 600; }
.cbl-q-text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 12px; min-width: 0; }
.cbl-art-num { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--purple); background: var(--purple-soft); padding: 3px 10px; border-radius: 50px; flex-shrink: 0; }
.cbl-art-title { font-weight: 700; }
.cbl-body .cbl-p { margin: 0 0 12px; line-height: 1.75; color: var(--text); font-size: .95rem; }
.cbl-body .cbl-p:last-child { margin-bottom: 0; }
.cbl-body .cbl-sec { color: var(--purple); font-weight: 700; }
mark.cbl-hl { background: #ffe08a; color: #4a2c00; border-radius: 3px; padding: 0 2px; box-shadow: 0 0 0 1px rgba(212,175,55,.4); }
@media (max-width: 560px) {
  .faq-q .cbl-q-text { font-size: .96rem; }
  .cbl-art-num { font-size: .62rem; }
}
