/* ============================================================
   BRITE SCHOOL — Main Stylesheet  (v3)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Reset & Variables ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0d2545;
  --blue:    #1a4a8a;
  --gold:    #d4a017;
  --gold-lt: #f0c84a;
  --cream:   #faf8f3;
  --white:   #ffffff;
  --text:    #2c2c2c;
  --muted:   #6b7280;
  --border:  #e5e7eb;
  --radius:  12px;
  --shadow:  0 4px 24px rgba(13,37,69,.10);
  --shadow-lg: 0 12px 48px rgba(13,37,69,.18);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100%;
}

/* Locks scroll AND collapses the scrollbar gutter when overlay/menu is open */
body.no-scroll {
  overflow: hidden;
  scrollbar-gutter: auto;
}
img  { max-width: 100%; height: auto; display: block; object-fit: cover; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

.container { max-width: 1440px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 1024px) { .container { padding: 0 32px; } }
@media (max-width: 768px)  { .container { padding: 0 18px; } }
@media (max-width: 480px)  { .container { padding: 0 14px; } }

.section { padding: 80px 0; }
@media (max-width: 768px) { .section { padding: 52px 0; } }
@media (max-width: 480px) { .section { padding: 36px 0; } }

.section-tag { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
h2.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.75rem, 5vw, 2.8rem); color: var(--navy); line-height: 1.2; margin-bottom: 20px; }
.section-line { width: 48px; height: 3px; background: var(--gold); margin-bottom: 32px; border-radius: 2px; }

@media (max-width: 480px) {
  h2.section-title { font-size: clamp(1.4rem, 7vw, 1.9rem); margin-bottom: 12px; }
  .section-tag  { font-size: .7rem; }
  .section-line { width: 36px; margin-bottom: 18px; }
}

/* ── Notice Bar (below navbar) ──────────────────────────────── */
#notice-bar {
  background: var(--navy);
  color: var(--gold-lt);
  font-size: .83rem;
  font-weight: 500;
  padding: 9px 0;
  overflow: hidden;
  white-space: nowrap;
  margin-top: 98px; /* push below fixed navbar (navbar ~98px tall) */
  position: relative;
  z-index: 1;
}
#notice-bar.hidden { display: none; }
#notice-bar .marquee-inner {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 50s linear infinite;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (max-width: 480px) { #notice-bar { font-size: .74rem; padding: 7px 0; } }

/* ── Popup ───────────────────────────────────────────────────── */
#popup-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.65);
  z-index: 9999;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn .3s ease;
}
@supports (backdrop-filter: blur(1px)) {
  #popup-overlay { backdrop-filter: blur(4px); background: rgba(0,0,0,.55); }
}
#popup-overlay.hidden { display: none; }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

.popup-box {
  background: var(--white);
  border-radius: 16px;
  max-width: 440px; width: 100%;
  box-shadow: 0 20px 60px rgba(13,37,69,.4);
  overflow: hidden; position: relative; max-height: 90vh;  overflow-y: auto;
  animation: popUp .35s cubic-bezier(0.34,1.56,0.64,1) both; }
  .popup-box:-webkit-scrollbar {
  display: none;
}
.popup-box {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
}
@keyframes popUp { from { opacity:0; transform:scale(.88) translateY(20px); } to { opacity:1; transform:scale(1) translateY(0); } }

@media (max-width: 540px) {
  #popup-overlay {
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    padding: 0;
  }
  .popup-box {
    border-radius: 20px 20px 0 0;
    max-width: 100%;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    animation: slideUp .4s cubic-bezier(0.4,0,0.2,1) both;
  }
  @keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
}

.popup-close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  border: none; background: rgba(0,0,0,.12); color: var(--white);
  font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 2; line-height: 1;
  min-width: 44px; min-height: 44px;
}
.popup-close:hover { background: rgba(0,0,0,.3); }
.popup-box.no-image .popup-close { background: rgba(13,37,69,.1); color: var(--navy); }
.popup-img { width: 100%; max-height: auto; object-fit: cover; display: block; max-height: 60vh; object-fit: contain; border-radius: 16px 16px 0 0; }
.popup-body { padding: 28px 28px 32px; text-align: center; }
.popup-body h2 { font-family: 'Playfair Display', serif; font-size: 1.45rem; color: var(--navy); margin-bottom: 10px; }
.popup-body p  { color: var(--muted); font-size: .93rem; line-height: 1.6; margin-bottom: 20px; }
@media (max-width: 540px) {
  .popup-body { padding: 22px 20px 28px; }
  .popup-body h2 { font-size: 1.2rem; }
  .popup-body p  { font-size: .86rem; margin-bottom: 16px; }
}
.popup-btn {
  display: inline-block; background: var(--navy); color: var(--white);
  font-weight: 700; font-size: .92rem; padding: 13px 32px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(13,37,69,.25);
}
@media (max-width: 540px) {
  .popup-btn { display: block; width: 100%; text-align: center; padding: 15px; font-size: .9rem; border-radius: 12px; }
}

/* ── Navigation ─────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  width: 100%;
  transform: translateY(0);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1), box-shadow 0.32s ease;
}
#navbar.nav-hidden {
  transform: translateY(-110%);
}
@supports (backdrop-filter: blur(1px)) {
  #navbar { backdrop-filter: blur(10px); background: rgba(255,255,255,.94); }
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 48px;
  max-width: 1440px; margin: 0 auto;
}
@media (max-width: 1024px) { .nav-inner { padding: 12px 32px; } }
@media (max-width: 768px)  { .nav-inner { padding: 10px 16px; } }

/* ── Logo — larger ─────────────────────────────────────────── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px; flex: 1 1 0%; min-width: 0;
}
.logo-icon { width: 70px; height: 70px; flex-shrink: 0; display: flex; align-items: center; }
.logo-icon img { height: 70px; width: auto; object-fit: contain; }
.logo-text  { line-height: 1.3; min-width: 0; }
.logo-name  {
  font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700;
  color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 768px) {
  .logo-name {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    line-height: 1.2;
  }
}
.logo-sub { font-size: .82rem; color: var(--gold); font-weight: 600; letter-spacing: .03em; }

@media (max-width: 768px) {
  .logo-icon { width: 52px; height: 52px; }
  .logo-icon img { height: 52px; }
  .logo-name { font-size: 1.05rem; max-width: none; }
  .logo-sub  { font-size: .72rem; }
  .nav-logo  { gap: 10px; }
}
@media (max-width: 380px) {
  .logo-icon { width: 44px; height: 44px; }
  .logo-icon img { height: 44px; }
  .logo-name { font-size: .88rem; max-width: none; }
  .logo-sub  { display: none; }
}

/* Desktop nav links — bigger tabs */
.nav-links {
  display: flex;
  gap: 32px; align-items: center;
  flex-shrink: 0;
}
.nav-links a { font-size: 1rem; font-weight: 600; color: var(--text); position: relative; }
.nav-links a::after {
  content:''; position:absolute; bottom:-3px; left:0; right:0;
  height:2px; background:var(--gold); transform:scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--navy); color: var(--white) !important;
  padding: 11px 24px; border-radius: 8px; font-weight: 700 !important;
  font-size: 1rem !important;
}
.nav-cta:hover { background: var(--blue) !important; }
.nav-cta::after { display:none !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px; cursor: pointer;
  background: none; border: none;
  padding: 10px 8px;
  flex-shrink: 0; z-index: 1001;
}
.nav-toggle span {
  width: 26px; height: 2.5px; background: var(--navy);
  border-radius: 2px; display: block;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}
.nav-toggle.open span { background: var(--white); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile full-screen overlay */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: var(--navy);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 80px 40px 60px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.38s cubic-bezier(0.4,0,0.2,1), opacity 0.38s ease;
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links li { width: 100%; text-align: center; }

  .nav-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px 0;
    font-size: 1.35rem;
    font-weight: 500;
    color: rgba(255,255,255,.8);
    border-bottom: 1px solid rgba(255,255,255,.1);
    min-height: 60px;
    letter-spacing: .02em;
    transition: color 0.2s ease;
  }
  .nav-links a::after { display: none; }
  .nav-links a:hover,
  .nav-links a:focus  { color: var(--gold-lt); }

  .nav-cta {
    margin-top: 28px;
    background: var(--gold) !important;
    color: var(--navy) !important;
    border-radius: 50px !important;
    padding: 16px 48px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    border-bottom: none !important;
    display: inline-flex !important;
    width: auto !important;
    min-height: 52px;
  }
  .nav-cta:hover { background: var(--gold-lt) !important; }
}

.nav-backdrop { display: none !important; }

/* ── Hero ──────────────────────────────────────────────────── */
#hero {
  position: relative;
  /* Smaller hero — leaves room for stats bar in the same viewport */
  height: calc(100svh - 134px - 160px);
  min-height: 340px;
  max-height: 580px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden; background: var(--navy);
}
#heroBgWrap { position: absolute; top:0;left:0;right:0;bottom:0; z-index: 0; }
.hero-slide {
  position: absolute; top:0;left:0;right:0;bottom:0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: .75; }
.hero-overlay {
  position: absolute; top:0;left:0;right:0;bottom:0; z-index: 1;
  background: linear-gradient(135deg, rgba(13,37,69,.88) 0%, rgba(26,74,138,.65) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%; max-width: 700px;
  padding: 20px 24px 0;  
  margin: 0 auto;
  text-align: center;
  animation: fadeUp .9s ease both;
}
@keyframes fadeUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }

#hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 4.5vw, 2.8rem);
  color: var(--white); line-height: 1.15; margin-bottom: 8px;
}
.hero-sub { font-size: .93rem; color: rgba(255,255,255,.8); margin-bottom: 20px; font-weight: 300; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.60);
  border: 1px solid rgba(255,255,255,.20);
  font-size: .68rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 20px; margin-bottom: 14px;
  backdrop-filter: blur(4px);
}
.hero-btn {
  display: inline-block; background: var(--gold); color: var(--navy);
  font-weight: 700; font-size: .95rem;
  padding: 14px 36px; border-radius: 50px;
  box-shadow: 0 4px 24px rgba(212,160,23,.4);
}
.hero-btn:hover { background: var(--gold-lt); }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.5); font-size: .78rem;
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; animation: bounce 2s infinite; z-index: 2;
}
.hero-scroll::before { content:''; width:1px; height:28px; background:rgba(255,255,255,.3); }
@keyframes bounce { 0%,100%{ transform:translateX(-50%) translateY(0); } 50%{ transform:translateX(-50%) translateY(6px); } }

@media (max-width: 768px) {
  #notice-bar { margin-top: 72px; font-size: .74rem; padding: 7px 0; }
  /* Use a fixed viewport height instead of subtracting a stats-bar height that varies
     on mobile (2×2 grid ≠ 1×4 grid), which was causing a large white gap. */
  #hero { height: 60svh; min-height: 300px; max-height: 520px; }
  .hero-content { padding: 12px 18px; }
  .hero-badge { font-size: .66rem; padding: 4px 10px; white-space: normal; line-height: 1.5; }
  .hero-sub { font-size: .86rem; margin-bottom: 18px; }
  .hero-btn { padding: 12px 26px; font-size: .88rem; }
  .hero-scroll { display: none; }
}

/* ── Slideshow ─────────────────────────────────────────────── */
.slide-item { position: absolute; top:0;left:0;right:0;bottom:0; opacity: 0; transition: opacity 1s ease; }
.slide-item.active { opacity: 1; }
.slide-item img { width:100%; height:100%; object-fit:cover; }
.slide-placeholder {
  width:100%; height:100%;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--navy) 0%,var(--blue) 100%);
  color:rgba(255,255,255,.6); gap:12px; font-size:.9rem; text-align:center; padding:24px;
}
.slide-placeholder span { font-size: 3rem; }
.slide-placeholder code { font-size:.78rem; background:rgba(255,255,255,.15); padding:2px 6px; border-radius:4px; }
.slide-dots { position:absolute; bottom:10px; left:50%; transform:translateX(-50%); display:flex; gap:6px; z-index:10; }
.dot { width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,.4); cursor:pointer; transition:background .3s,transform .3s; }
.dot.active { background: var(--gold); transform:scale(1.3); }

/* ── Stats Bar ──────────────────────────────────────────────── */
#stats { background: var(--white); border-bottom: 1px solid var(--border); padding: 0; position: relative; overflow: hidden; }

/* Two layers: stats grid and alumni ticker, toggled via .show-alumni class on #stats */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); border-left: 1px solid var(--border); transition: opacity .5s ease, transform .5s ease; }
.stat-item { padding: 32px 20px; text-align: center; border-right: 1px solid var(--border); }
.stat-number { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--navy); font-weight: 700; }
.stat-label  { font-size: .83rem; color: var(--muted); font-weight: 500; margin-top: 4px; }

/* Alumni ticker strip */
.alumni-ticker {
  display: flex; align-items: center; justify-content: center;
  padding: 0 48px;
  min-height: 97px; /* match stats row height */
  gap: 20px;
  position: absolute; inset: 0;
  opacity: 0; pointer-events: none;
  transition: opacity .5s ease, transform .5s ease;
  transform: translateY(12px);
}
.alumni-ticker-avatar {
  width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: linear-gradient(135deg,var(--navy),var(--blue));
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: rgba(255,255,255,.7);
}
.alumni-ticker-avatar img { width:100%; height:100%; object-fit:cover; }
.alumni-ticker-body { flex: 1; min-width: 0; }
.alumni-ticker-quote { font-style: italic; font-size: .93rem; color: var(--navy); line-height: 1.5; border-left: 3px solid var(--gold); padding-left: 12px; margin-bottom: 4px; }
.alumni-ticker-meta { font-size: .78rem; color: var(--muted); font-weight: 600; }
.alumni-ticker-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); white-space: nowrap; flex-shrink: 0;
}
.alumni-ticker-dots {
  position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 5px; z-index: 2;
}
.alumni-ticker-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--border); border: none; cursor: pointer; padding: 0;
  transition: background .3s, width .3s;
}
.alumni-ticker-dot.active { background: var(--gold); width: 16px; border-radius: 3px; }

/* Transitions */
#stats.show-alumni .stats-grid { opacity: 0; transform: translateY(-10px); pointer-events: none; }
#stats.show-alumni .alumni-ticker { opacity: 1; pointer-events: auto; transform: translateY(0); }

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item  { padding: 24px 16px; }
  .stat-number { font-size: 1.75rem; }
  .alumni-ticker { padding: 0 18px; min-height: 105px; gap: 12px; }
  .alumni-ticker-avatar { width: 42px; height: 42px; font-size: 1.1rem; }
  .alumni-ticker-quote { font-size: .84rem; }
}
@media (max-width: 360px) {
  .stat-item  { padding: 18px 10px; }
  .stat-number { font-size: 1.5rem; }
  .stat-label  { font-size: .76rem; }
}

/* ── Our Story ──────────────────────────────────────────────── */
#about { background: var(--cream); }

.story-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; margin-bottom: 36px;
}
.story-header .section-tag { margin-bottom: 0; font-size: 1rem; letter-spacing: .12em; }

.story-tabs { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.story-tab-btn {
  background: none; border: 1.5px solid var(--border); border-radius: 20px;
  padding: 6px 18px; font-size: .82rem; font-weight: 600; color: var(--muted);
  cursor: pointer; font-family: 'DM Sans', sans-serif; min-height: 36px;
  transition: border-color .2s, color .2s, background .2s;
}
.story-tab-btn:hover  { border-color: var(--gold); color: var(--navy); }
.story-tab-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.story-tab-group-label {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); padding: 0 4px;
  /* subtle vertical pipe separator when not the first group */
}
.story-tab-group-label + .story-tab-group-label,
.story-tab-btn + .story-tab-group-label {
  border-left: 1px solid var(--border); padding-left: 12px; margin-left: 4px;
}

.story-slider-wrap { position: relative; overflow: clip; }
.story-slider {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
}
.story-panel { flex: 0 0 100%; width: 100%; }

/* About panel */
.story-panel-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.about-img-wrap {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3; background: var(--navy);
}
.about-text { padding-right: 48px; }
.about-text h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 3.5vw, 2.4rem); color: var(--navy); line-height: 1.2; margin-bottom: 18px; }
.about-text p  { color: var(--muted); margin-bottom: 14px; font-size: .95rem; }

/* Board Members panel */
.story-panel-members { padding: 4px 0 28px; }
.story-panel-members h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 3.5vw, 2.4rem); color: var(--navy); margin-bottom: 8px; }
.members-sub { font-size: .93rem; color: var(--muted); margin-bottom: 32px; }
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
  gap: 20px;
}
.member-card {
  background: var(--white); border-radius: var(--radius); padding: 28px 22px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.member-avatar {
  width: 80px; height: 80px; border-radius: 50%; overflow: hidden;
  background: linear-gradient(135deg,var(--navy),var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: rgba(255,255,255,.6);
  margin-bottom: 14px; flex-shrink: 0;
  border: 3px solid var(--gold);
}
.member-avatar img { width:100%; height:100%; object-fit:cover; }
.member-name { font-family: 'Playfair Display', serif; font-size: 1.02rem; color: var(--navy); margin-bottom: 4px; }
.member-role { font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.member-bio  { font-size: .86rem; color: var(--muted); line-height: 1.55; }

/* Text panel (used for Our Vision) */
.story-panel-text { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.story-panel-text.no-image { grid-template-columns:1fr; max-width:720px; }
.story-panel-text .about-text { padding-right: 48px; }
.story-panel-text h2 { font-family:'Playfair Display',serif; font-size:clamp(1.5rem,3.5vw,2.4rem); color:var(--navy); margin-bottom:18px; }
.story-panel-text p  { color:var(--muted); margin-bottom:14px; font-size:.95rem; }

/* Controls */
.story-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-top: 14px;
}
.story-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--border); background: var(--white); color: var(--navy);
  font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); flex-shrink: 0;
  min-width: 44px; min-height: 44px;
}
.story-arrow:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.story-dots { display: flex; gap: 8px; align-items: center; }
.story-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); cursor: pointer; border: none;
  transition: background .3s, width .3s;
}
.story-dot.active { background: var(--gold); width: 22px; border-radius: 4px; }

@media (max-width: 768px) {
  .story-panel-about,
  .story-panel-text { grid-template-columns: 1fr; gap: 24px; }
  .about-text { padding-right: 0; }
  .story-panel-text .about-text { padding-right: 0; }
  .about-img-wrap { aspect-ratio: 16/9; border-radius: 10px; }
  .story-header { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
  .members-grid { grid-template-columns: 1fr; }
  .members-sub { font-size: .86rem; margin-bottom: 20px; }
  .story-controls { gap: 10px; margin-top: 14px; }
  .story-arrow { width: 36px; height: 36px; font-size: .95rem; }
}
@media (max-width: 480px) {
  .story-tabs {
    width: 100%;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding-bottom: 4px; scrollbar-width: none;
  }
  .story-tabs::-webkit-scrollbar { display: none; }
  .story-tab-btn { flex-shrink: 0; white-space: nowrap; }
  .story-tab-group-label { flex-shrink: 0; white-space: nowrap; }
  .member-card { padding: 18px 14px; }
  .about-text h2 { font-size: 1.35rem; }
  .about-text .hero-btn { display: block !important; text-align: center; margin-top: 18px !important; }
  .story-panel-members { padding: 0 0 16px; }
}

/* ── Features ──────────────────────────────────────────────── */
#features { background: var(--white); }
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.feature-card {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px;
  background: var(--cream); transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); background: var(--white); border-color: var(--gold); }
.feature-icon { font-size: 2rem; margin-bottom: 14px; }
.feature-card h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--navy); margin-bottom: 8px; }
.feature-card p  { font-size: .86rem; color: var(--muted); line-height: 1.6; }
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .features-grid { grid-template-columns: 1fr; gap: 14px; } }
@media (max-width: 480px) { .feature-card { padding: 20px 16px; } .feature-icon { font-size: 1.75rem; margin-bottom: 10px; } }

/* ── Gallery ──────────────────────────────────────────────────── */
#gallery { background: var(--navy); }
#gallery .section-tag { color: var(--gold-lt); }
#gallery h2.section-title { color: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.gallery-item { position: relative; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; cursor: pointer; background: rgba(255,255,255,.06); }
.gallery-slideshow { position: absolute; top:0;left:0;right:0;bottom:0; }
.gallery-slideshow .slide-item img { width:100%; height:100%; object-fit:cover; }
.gallery-caption {
  position: absolute; bottom:0; left:0; right:0;
  background: linear-gradient(transparent 0%,rgba(13,37,69,.9) 100%);
  color: var(--white); font-size: .83rem; font-weight:600;
  padding: 24px 10px 10px; opacity:0;
  transition: opacity var(--transition);
}
@media (hover: none) { .gallery-caption { opacity: 1; } }
.gallery-item:hover .gallery-caption { opacity:1; }
.gallery-slideshow .slide-dots { bottom: 28px; }
.gallery-slideshow .dot { width:5px; height:5px; }
.gallery-placeholder {
  width:100%; height:100%; display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  color:rgba(255,255,255,.4); gap:8px; font-size:.78rem; text-align:center; padding:16px;
}
.gallery-placeholder span { font-size: 2rem; }
@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2,1fr); gap: 10px; } }
@media (max-width: 420px)  { .gallery-grid { grid-template-columns: 1fr; gap: 10px; } }

/* ── Admissions ─────────────────────────────────────────────── */
#admissions { background: var(--cream); }
.admissions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.adm-box { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.adm-box h3 { font-family:'Playfair Display',serif; color: var(--navy); margin-bottom: 18px; font-size:1.15rem; }
.adm-step { display:flex; gap:14px; margin-bottom:18px; align-items:flex-start; }
.adm-step-num { min-width:30px; height:30px; border-radius:50%; background:var(--navy); color:var(--white); display:flex; align-items:center; justify-content:center; font-size:.78rem; font-weight:700; flex-shrink:0; }
.adm-step-text { font-size:.88rem; color:var(--muted); line-height:1.55; }
.adm-docs li { padding:9px 0; border-bottom:1px solid var(--border); font-size:.88rem; color:var(--text); display:flex; gap:10px; align-items:center; }
.adm-docs li::before { content:'✓'; color:var(--gold); font-weight:700; flex-shrink:0; }
.adm-badge { display:inline-block; background:var(--gold); color:var(--navy); font-weight:700; font-size:.73rem; padding:3px 10px; border-radius:12px; margin-left:10px; vertical-align:middle; }
@media (max-width: 768px) { .admissions-grid { grid-template-columns:1fr; gap: 18px; } }
@media (max-width: 480px) {
  .adm-box { padding: 22px 16px; }
  .adm-box h3 { font-size: 1rem; margin-bottom: 14px; }
  .adm-step  { gap: 10px; margin-bottom: 14px; }
  .adm-step-num  { min-width:26px; height:26px; font-size:.72rem; }
  .adm-step-text { font-size:.83rem; }
  .adm-docs li   { font-size:.83rem; padding: 8px 0; }
}

/* ── Contact ─────────────────────────────────────────────────── */
#contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items:start; }
.contact-info { display:flex; flex-direction:column; gap:18px; }
.contact-item { display:flex; gap:14px; align-items:flex-start; }
.contact-icon { width:42px; height:42px; border-radius:10px; background:var(--cream); display:flex; align-items:center; justify-content:center; font-size:1.15rem; flex-shrink:0; border:1px solid var(--border); }
.contact-item h4 { font-size:.76rem; text-transform:uppercase; letter-spacing:.1em; color:var(--muted); font-weight:600; margin-bottom:3px; }
.contact-item p  { font-size:.92rem; color:var(--text); white-space:pre-line; }
.map-embed { border-radius: var(--radius); overflow:hidden; border:2px solid var(--border); aspect-ratio:16/10; }
.map-embed iframe { width:100%; height:100%; border:none; display:block; }
@media (max-width: 768px) { .contact-grid { grid-template-columns:1fr; gap: 24px; } .map-embed { aspect-ratio: 4/3; } }
@media (max-width: 480px) {
  .contact-item  { gap: 10px; }
  .contact-icon  { width:36px; height:36px; font-size:1rem; }
  .contact-item h4 { font-size:.72rem; }
  .contact-item p  { font-size:.86rem; }
}

/* ── Footer ─────────────────────────────────────────────────── */
#footer { background: var(--navy); color: rgba(255,255,255,.65); padding: 36px 24px; }
.footer-inner { max-width:1440px; margin:0 auto; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; }
.footer-name { font-family:'Playfair Display',serif; color:var(--white); font-size:.98rem; }
.footer-copy  { font-size:.8rem; }
.footer-social { display:flex; gap:12px; }
.footer-social a {
  width:36px; height:36px; border-radius:8px;
  border:1px solid rgba(255,255,255,.2);
  display:flex; align-items:center; justify-content:center;
  color: rgba(255,255,255,.75);
  transition: color .2s, border-color .2s, background .2s;
}
.footer-social a:hover { color:var(--white); border-color:rgba(255,255,255,.5); background:rgba(255,255,255,.1); }
.footer-social a svg { display:block; }
@media (max-width: 540px) {
  #footer { padding: 28px 16px; }
  .footer-inner { flex-direction:column; align-items:center; text-align:center; gap:14px; }
  .footer-name { font-size:.88rem; }
  .footer-copy { font-size:.74rem; }
}

/* ── Utility ─────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
/* Scroll offset: navbar (~98px) + notice bar (~37px) + 24px gap = 159px.
   Applied directly to sections so it works for both :target and JS scrollIntoView. */
#about, #features, #gallery, #admissions, #contact {
  scroll-margin-top: 160px;
}
@media (max-width: 768px) {
  #about, #features, #gallery, #admissions, #contact {
    scroll-margin-top: 130px;
  }
}
@media (max-width: 480px) {
  #about, #features, #gallery, #admissions, #contact {
    scroll-margin-top: 110px;
  }
}

a, button { touch-action: manipulation; }
* { -webkit-tap-highlight-color: transparent; }

/* ── WhatsApp Admissions Button ───────────────────────────── */
.adm-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}
.adm-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #1a9e4a;
  border: 2px solid #1a9e4a;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: .97rem;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: background .2s, color .2s, box-shadow .2s;
  letter-spacing: .01em;
}
.adm-whatsapp-btn:hover {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
  box-shadow: 0 6px 24px rgba(37,211,102,.30);
}
.adm-whatsapp-btn svg { flex-shrink: 0; transition: fill .2s; }
@media (max-width: 480px) {
  .adm-whatsapp-btn { font-size: .88rem; padding: 13px 24px; }
}

/* ── Alumni Overlay Page ────────────────────────────────────── */
#alumni-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2000;
  background: #f4f5f7;
  /* Use flex-column so the bottom tab bar is a real flex child that
     never scrolls — position:fixed inside overflow-y:auto is broken
     on iOS Safari, this pattern fixes it on all browsers. */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
#alumni-overlay.active { transform: translateX(0); }

/* Scrollable content area (everything except the bottom tab bar) */
.alp-scroll-area {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Bottom tabs: flex child, never scrolls */
.alp-bottom-tabs {
  flex-shrink: 0;
}

/* ── ALP Header ──────────────────────────────────────────────── */
.alp-header {
  background: var(--navy);
  position: sticky; top: 0; z-index: 10;
}
.alp-header-inner {
  max-width: 1440px; margin: 0 auto; padding: 36px 48px 0;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .alp-header-inner {
    padding: 14px 16px 0;
    gap: 0;
    flex-wrap: nowrap;
    align-items: center;
  }
}

.alp-eyebrow {
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 6px;
}
@media (max-width: 768px) { .alp-eyebrow { display: none; } }

.alp-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--white); line-height: 1.15;
}
@media (max-width: 768px) {
  .alp-title { font-size: 1.25rem; line-height: 1.2; }
}

.alp-intro { color: rgba(255,255,255,.65); font-size: .88rem; margin-top: 6px; max-width: 520px; }
@media (max-width: 768px) { .alp-intro { display: none; } }

.alp-header-right {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0; padding-top: 4px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .alp-header-right { padding-top: 0; gap: 8px; flex-wrap: nowrap; }
}

.alp-register-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold); color: var(--navy);
  font-weight: 700; font-size: .82rem; letter-spacing: .02em;
  padding: 11px 22px; border-radius: 50px;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.alp-register-btn:hover { background: var(--gold-lt); transform: translateY(-1px); }
@media (max-width: 768px) {
  /* hide the old register button on mobile — Register tab handles it */
  .alp-register-btn { display: none !important; }
}

.alumni-close {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: var(--white); font-size: .82rem; font-weight: 600;
  padding: 10px 18px; border-radius: 8px; cursor: pointer;
  white-space: nowrap; flex-shrink: 0; transition: background .2s; min-height: 40px;
}
.alumni-close:hover { background: rgba(255,255,255,.22); }
@media (max-width: 768px) {
  .alumni-close {
    padding: 8px 14px; font-size: .78rem; min-height: 36px; border-radius: 6px;
  }
}

/* ── Tabs — desktop: pill tabs under header ───────────────────── */
.alp-tabs-wrap {
  max-width: 1440px; margin: 0 auto; padding: 0 48px;
  display: flex; align-items: flex-end;
}
@media (max-width: 768px) { .alp-tabs-wrap { display: none; } }

.alp-tabs { display: flex; gap: 4px; margin-top: 20px; }
.alp-tab {
  background: transparent; border: none; cursor: pointer;
  color: rgba(255,255,255,.55); font-family: 'DM Sans', sans-serif;
  font-size: .88rem; font-weight: 600; padding: 11px 22px;
  border-radius: 10px 10px 0 0; transition: color .2s, background .2s;
  letter-spacing: .01em;
}
.alp-tab:hover { color: rgba(255,255,255,.85); background: rgba(255,255,255,.07); }
.alp-tab.active {
  background: #f4f5f7; color: var(--navy);
  box-shadow: 0 -2px 0 var(--gold) inset;
}

/* ── Tabs — mobile: sticky bottom tab bar ─────────────────────── */
.alp-bottom-tabs {
  display: none;
}
@media (max-width: 768px) {
  .alp-bottom-tabs {
    display: flex;
    /* No position:fixed needed — the overlay is a flex column and
       .alp-bottom-tabs is a flex child that never enters the scroll area */
    bottom: 0; left: 0; right: 0;
    z-index: 2001;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(13,37,69,.10);
  }
  .alp-bottom-tab {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 3px; padding: 10px 4px 12px;
    background: none; border: none; cursor: pointer;
    font-family: 'DM Sans', sans-serif; font-size: .68rem;
    font-weight: 600; color: var(--muted); letter-spacing: .01em;
    transition: color .2s;
    -webkit-tap-highlight-color: transparent;
  }
  .alp-bottom-tab .alp-btab-icon { font-size: 1.25rem; line-height: 1; }
  .alp-bottom-tab.active { color: var(--navy); }
  .alp-bottom-tab.active .alp-btab-icon { filter: drop-shadow(0 0 0 var(--gold)); }
  .alp-bottom-tab::after {
    content: ''; display: block; width: 24px; height: 2px;
    background: var(--gold); border-radius: 2px;
    transform: scaleX(0); transition: transform .2s;
    margin-top: 2px;
  }
  .alp-bottom-tab.active::after { transform: scaleX(1); }
}

/* ── Body / Panels ───────────────────────────────────────────── */
.alp-body { max-width: 1440px; margin: 0 auto; padding: 40px 48px 80px; }
@media (max-width: 768px) {
  /* Bottom padding keeps content above the tab bar height (~70px) */
  .alp-body { padding: 20px 14px 24px; }
}

.alp-panel { display: none; }
.alp-panel.active { display: block; }

.alp-section-label {
  font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 24px;
}

/* ── HOME tab ─────────────────────────────────────────────────── */
.alp-home-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: 16px; padding: 36px 40px; margin-bottom: 40px;
}
@media (max-width: 480px) { .alp-home-hero { padding: 24px 20px; margin-bottom: 28px; } }
.alp-home-stat-row {
  display: flex; gap: 48px; flex-wrap: wrap; justify-content: center;
}
@media (max-width: 480px) { .alp-home-stat-row { gap: 28px; } }
.alp-home-stat-num {
  font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700;
  color: var(--gold-lt); line-height: 1;
}
@media (max-width: 480px) { .alp-home-stat-num { font-size: 1.8rem; } }
.alp-home-stat-lbl { color: rgba(255,255,255,.65); font-size: .83rem; margin-top: 4px; }

.alp-stories-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;
}

.alp-story-card {
  background: var(--white); border-radius: 14px; padding: 24px;
  box-shadow: 0 4px 20px rgba(13,37,69,.07);
  border-top: 4px solid var(--gold);
}
.alp-story-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }

/* ── MEMBERS tab ──────────────────────────────────────────────── */
.alp-members-toolbar {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px;
}
.alp-member-count {
  font-size: .78rem; color: var(--muted); font-weight: 500;
  background: var(--border); padding: 4px 12px; border-radius: 20px;
}
.alp-members-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px; align-items: stretch;
}
.alp-member-card {
  background: var(--white); border-radius: 14px; padding: 22px;
  box-shadow: 0 4px 20px rgba(13,37,69,.07);
  transition: transform .2s, box-shadow .2s;
  border-top: 4px solid var(--gold);
  display: flex; flex-direction: column; gap: 10px;
}
.alp-member-card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(13,37,69,.12); }

/* top row: avatar + info + linkedin icon aligned */
.alp-member-top { display: flex; gap: 14px; align-items: flex-start; }
.alp-member-info { flex: 1; min-width: 0; }

/* bigger avatar */
.alp-member-avatar {
  width: 90px; height: 90px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--gold);
}
.alp-member-avatar img { width: 100%; height: 100%; object-fit: cover; }
.alp-member-role { font-size: .74rem; color: var(--muted); margin-top: 3px; line-height: 1.4; }

/* LinkedIn icon — top-right of card header */
.alp-li-icon {
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 6px; margin-top: 2px;
  transition: opacity .2s, transform .15s;
}
.alp-li-icon:hover { opacity: .75; transform: scale(1.12); }
.alp-li-icon svg { display: block; }

/* message: always visible, clamped to 3 lines */
.alp-member-msg {
  font-style: italic; font-size: .83rem; color: var(--navy);
  border-left: 3px solid var(--gold); padding-left: 10px; line-height: 1.6;
  display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; overflow: hidden;
  margin: 0;
}
.alp-member-msg.expanded {
  display: block; overflow: visible; -webkit-line-clamp: unset;
}

/* read more / less toggle */
.alp-readmore-btn {
  background: none; border: none; cursor: pointer; padding: 2px 0 0;
  font-size: .78rem; color: var(--blue); font-weight: 600;
  display: inline-flex; align-items: center; gap: 3px;
  font-family: inherit; margin-top: auto;
}
.alp-readmore-btn:hover { color: var(--navy); }
.alp-readmore-arrow { display: inline-block; transition: transform .22s; font-size: .7rem; }
.alp-readmore-btn[aria-expanded="true"] .alp-readmore-arrow { transform: rotate(180deg); }

/* ── Shared avatar styles ─────────────────────────────────────── */
.alp-avatar {
  width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--gold);
}
.alp-avatar img { width: 100%; height: 100%; object-fit: cover; }
.alp-avatar-ph { font-size: 1.4rem; }
.alp-name  { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--navy); font-weight: 600; }
.alp-batch { font-size: .74rem; color: var(--gold); font-weight: 600; letter-spacing: .04em; margin-top: 2px; }
.alp-quote {
  font-style: italic; color: var(--navy); font-size: .88rem; line-height: 1.65;
  border-left: 3px solid var(--gold); padding-left: 12px; margin-bottom: 10px;
}
.alp-body  { font-size: .83rem; color: var(--muted); line-height: 1.7; }

/* ── EVENTS tab ───────────────────────────────────────────────── */
.alp-events-wrap { display: flex; flex-direction: column; gap: 16px; }
.alp-event-card {
  background: var(--white); border-radius: 14px; padding: 24px 28px;
  box-shadow: 0 4px 20px rgba(13,37,69,.07); border-left: 5px solid var(--gold);
}
.alp-event-date  { font-size: .74rem; font-weight: 700; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.alp-event-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--navy); margin-bottom: 8px; }
.alp-event-desc  { font-size: .87rem; color: var(--muted); line-height: 1.65; }
.alp-event-loc   { font-size: .78rem; color: var(--blue); font-weight: 500; margin-top: 10px; }

.alp-events-empty {
  text-align: center; padding: 80px 20px;
}
.alp-events-empty-icon { font-size: 3.5rem; margin-bottom: 20px; }
.alp-events-empty h3 {
  font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--navy); margin-bottom: 14px;
}
.alp-events-empty p { color: var(--muted); line-height: 1.8; font-size: .92rem; max-width: 440px; margin: 0 auto; }

/* ── Empty states ─────────────────────────────────────────────── */
.alp-empty { color: var(--muted); font-size: .9rem; }
.alp-empty-state { text-align: center; padding: 60px 20px; }
.alp-empty-state h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--navy); margin: 16px 0 10px; }
.alp-empty-state p  { color: var(--muted); font-size: .88rem; line-height: 1.7; }

/* ── Lightbox ─────────────────────────────────────────────────── */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
#lightbox.active {
  opacity: 1;
  pointer-events: all;
}
.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 25, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lb-img-wrap {
  position: relative;
  z-index: 2;
  max-width: min(90vw, 960px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: lbZoomIn 0.28s cubic-bezier(0.34,1.4,0.64,1) both;
}
@keyframes lbZoomIn {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}
.lb-img {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0,0,0,.7);
}
.lb-caption {
  margin-top: 12px;
  color: rgba(255,255,255,.8);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-align: center;
}
.lb-close {
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 3;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lb-close:hover { background: rgba(255,255,255,.28); }
.lb-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lb-arrow:hover { background: rgba(255,255,255,.28); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
@media (max-width: 540px) {
  .lb-arrow { width: 38px; height: 38px; font-size: 1rem; }
  .lb-prev  { left: 8px; }
  .lb-next  { right: 8px; }
  .lb-close { top: 12px; right: 12px; width: 40px; height: 40px; }
  .lb-img-wrap { max-width: 95vw; }
}
