/* ==========================================================================
   SOLEIL HIGH SCHOOL — AGUDA, SURULERE, LAGOS
   Bespoke Academic Design System — Royal Navy, Soleil Gold & Warm Ivory
   ========================================================================== */

:root {
  --navy-950: #070d1e;
  --navy-900: #0b162c;
  --navy-800: #13254b;
  --navy-700: #1d356b;
  --gold-600: #b8860b;
  --gold-500: #d4a017;
  --gold-400: #eab308;
  --gold-300: #facc15;
  --gold-100: #fef9c3;
  --crimson-700: #991b1b;
  --crimson-600: #b91c1c;
  --ivory-50: #fdfcf7;
  --ivory-100: #f7f4eb;
  --ivory-200: #ece6d5;
  --slate-800: #1e293b;
  --slate-600: #475569;
  --slate-500: #64748b;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --shadow-sm: 0 4px 14px rgba(11, 22, 44, 0.06);
  --shadow-md: 0 12px 32px rgba(11, 22, 44, 0.10);
  --shadow-lg: 0 24px 54px rgba(11, 22, 44, 0.16);
  --shadow-gold: 0 10px 28px rgba(212, 160, 23, 0.25);
  --transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--slate-800);
  background-color: var(--ivory-50);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .serif-heading {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: var(--navy-900);
  line-height: 1.2;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   TOP ANNOUNCEMENT & APPROVAL BAR
   ========================================================================== */
.top-bar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(234, 179, 8, 0.22);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(234, 179, 8, 0.16);
  color: var(--gold-300);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid rgba(234, 179, 8, 0.35);
}

.top-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-item svg {
  color: var(--gold-400);
  flex-shrink: 0;
}

/* ==========================================================================
   STICKY NAVIGATION HEADER (MODERN PILL-DOCK & SLIDE-OVER DRAWER UX)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 2000;
  border-bottom: 1px solid rgba(11, 22, 44, 0.08);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(253, 252, 247, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: -1;
  transition: background 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 30px -10px rgba(11, 22, 44, 0.12);
  border-bottom-color: rgba(212, 160, 23, 0.28);
}

.site-header.scrolled::before {
  background: rgba(255, 255, 255, 0.97);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 0.75rem;
}

.site-header.scrolled .nav-inner {
  height: 72px;
}

/* Brand Lockup */
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 1;
  min-width: 0;
}

.brand-logo {
  width: 46px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 6px rgba(11, 22, 44, 0.15));
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand:hover .brand-logo {
  transform: scale(1.06) rotate(-2deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.14rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-subtitle {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--crimson-600);
  margin-top: 0.12rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-motto {
  display: none;
}

/* Center Pill Dock Navigation */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.14rem;
  list-style: none;
  background: rgba(11, 22, 44, 0.045);
  border: 1px solid rgba(11, 22, 44, 0.08);
  padding: 0.28rem;
  border-radius: 999px;
  box-shadow: inset 0 1px 2px rgba(11, 22, 44, 0.04);
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.44rem 0.72rem;
  font-size: 0.81rem;
  font-weight: 600;
  color: var(--slate-800);
  border-radius: 999px;
  white-space: nowrap;
  position: relative;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:hover {
  color: var(--navy-950);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 8px rgba(11, 22, 44, 0.06);
}

.nav-links a.active {
  background: var(--navy-900);
  color: var(--gold-300);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(11, 22, 44, 0.22);
}

.nav-links a.active::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 8px var(--gold-400);
  flex-shrink: 0;
}

/* Drawer-only Elements (Hidden on Desktop) */
.drawer-header-item,
.drawer-footer-item {
  display: none !important;
}

/* Right Action CTA & Hamburger */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.nav-actions .btn-gold {
  padding: 0.6rem 1.15rem;
  font-size: 0.84rem;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.nav-actions .btn-gold.active-cta {
  background: var(--navy-900);
  color: var(--gold-300);
  border-color: var(--gold-400);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
  color: var(--navy-950);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(212, 160, 23, 0.38);
}

.btn-navy {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-navy:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
}

.btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  border-color: var(--gold-400);
  background: rgba(234, 179, 8, 0.15);
  color: var(--gold-300);
}

/* Tactile Animated Hamburger Button */
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--gold-400);
  border: 1.5px solid rgba(234, 179, 8, 0.4);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(11, 22, 44, 0.16);
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

.mobile-toggle:hover {
  background: var(--navy-800);
  border-color: var(--gold-400);
  transform: translateY(-1px);
}

.mobile-toggle:active {
  transform: scale(0.95);
}

.hamburger-box {
  width: 20px;
  height: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--gold-400);
  border-radius: 999px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, width 0.25s ease;
  transform-origin: center;
}

.hamburger-line:nth-child(3) {
  width: 70%;
  align-self: flex-end;
}

.mobile-toggle.active {
  background: var(--navy-950);
  border-color: var(--gold-400);
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
  width: 100%;
  transform: translateY(-6px) rotate(-45deg);
}

/* Scroll Progress Line on Navbar Bottom */
.nav-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-400), var(--crimson-600), var(--gold-300));
  transition: width 0.1s ease-out;
  z-index: 10;
}

/* Mobile Backdrop Overlay */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 13, 30, 0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, #1d356b 0%, #0b162c 55%, #070d1e 100%);
  color: var(--white);
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(234, 179, 8, 0.12) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  background-position: 0 0, 18px 18px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.22) 0%, transparent 70%);
  top: -120px;
  right: -100px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(234, 179, 8, 0.4);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-300);
  margin-bottom: 1.4rem;
}

.hero-eyebrow span.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 10px var(--gold-400);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.35rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1rem;
}

.hero h1 .gold-accent {
  color: var(--gold-400);
  font-style: italic;
}

.hero-sister-badge {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-100);
  background: rgba(185, 28, 28, 0.35);
  border-left: 3px solid var(--gold-400);
  padding: 0.4rem 0.9rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.stat-item strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.65rem;
  color: var(--gold-400);
  line-height: 1.1;
}

.stat-item span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
}

.hero-main-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid rgba(234, 179, 8, 0.45);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
  background: var(--navy-900);
}

.hero-main-card img {
  width: 100%;
  height: 490px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s ease;
}

.hero-main-card:hover img {
  transform: scale(1.03);
}

.hero-main-caption {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  background: linear-gradient(to top, rgba(7, 13, 30, 0.95) 0%, rgba(7, 13, 30, 0.65) 65%, transparent 100%);
  padding: 2.5rem 1.5rem 1.25rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.hero-main-caption h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.15rem;
}

.hero-main-caption p {
  font-size: 0.82rem;
  color: var(--gold-300);
}

.hero-crest-float {
  position: absolute;
  top: -22px;
  left: -22px;
  background: var(--white);
  color: var(--navy-900);
  padding: 0.85rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 2px solid var(--gold-400);
  z-index: 3;
}

.hero-crest-float img {
  width: 48px;
  height: 56px;
  object-fit: contain;
}

.hero-crest-float div strong {
  display: block;
  font-size: 0.82rem;
  color: var(--navy-900);
  line-height: 1.2;
}

.hero-crest-float div span {
  font-size: 0.72rem;
  color: var(--crimson-600);
  font-weight: 700;
}

.hero-sub-float {
  position: absolute;
  bottom: -24px;
  right: -18px;
  width: 210px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 3;
  background: var(--navy-900);
}

.hero-sub-float img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.hero-sub-float span {
  display: block;
  background: var(--navy-950);
  color: var(--gold-300);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  padding: 0.35rem 0.5rem;
}

/* ==========================================================================
   SECTION HEADERS & COMMON UTILITIES
   ========================================================================== */
.section {
  padding: 5.5rem 0;
}

.section-alt {
  background-color: var(--ivory-100);
}

.section-dark {
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-600);
  background: rgba(212, 160, 23, 0.12);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.section-dark .section-tag {
  color: var(--gold-300);
  background: rgba(234, 179, 8, 0.16);
}

.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  margin-bottom: 0.85rem;
}

.section-dark .section-title {
  color: var(--white);
}

.section-desc {
  color: var(--slate-600);
  font-size: 1.04rem;
}

.section-dark .section-desc {
  color: rgba(255, 255, 255, 0.76);
}

/* ==========================================================================
   IDENTITY PILLARS: MOTTO, MISSION, VISION & ANTHEMS
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.pillar-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.85rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(11, 22, 44, 0.07);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy-900), var(--gold-500));
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.pillar-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(212, 160, 23, 0.14);
  color: var(--gold-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.pillar-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.pillar-card .motto-highlight {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--crimson-600);
  margin-bottom: 0.4rem;
}

.pillar-card p {
  color: var(--slate-600);
  font-size: 0.96rem;
}

/* Anthems & School Pledge Interactive Showcase */
.anthems-box {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(234, 179, 8, 0.3);
  display: grid;
  grid-template-columns: 0.38fr 0.62fr;
  gap: 2.5rem;
  align-items: start;
}

.anthems-Menu h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 0.65rem;
}

.anthems-Menu p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.anthem-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.anthem-tab-btn {
  text-align: left;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.84);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.anthem-tab-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.anthem-tab-btn.active {
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
  color: var(--navy-950);
  border-color: transparent;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

.anthem-content-wrap {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(234, 179, 8, 0.25);
  border-radius: var(--radius-md);
  padding: 2rem 2.25rem;
  min-height: 310px;
}

.anthem-pane {
  display: none;
  animation: fadeIn 0.35s ease;
}

.anthem-pane.active {
  display: block;
}

.anthem-pane h4 {
  color: var(--gold-400);
  font-size: 1.35rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.stanza-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.stanza-badge {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-300);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.verse-lines {
  font-family: 'Playfair Display', serif;
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
  white-space: pre-line;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   PROPRIETRESS SPEECH & SCHOOL LEADERSHIP
   ========================================================================== */
.speech-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(11, 22, 44, 0.08);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.38fr 0.62fr;
  margin-bottom: 4rem;
}

.speech-portrait-col {
  background: linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.speech-photo-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 3px solid var(--gold-400);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  margin-bottom: 1.5rem;
}

.speech-photo-frame img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center top;
}

.speech-author-meta h3 {
  color: var(--gold-400);
  font-size: 1.45rem;
  margin-bottom: 0.25rem;
}

.speech-author-meta p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 600;
}

.speech-author-meta .ceremony-tag {
  display: inline-block;
  margin-top: 0.85rem;
  padding: 0.35rem 0.75rem;
  background: rgba(234, 179, 8, 0.16);
  border: 1px solid rgba(234, 179, 8, 0.35);
  color: var(--gold-300);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
}

.speech-text-col {
  padding: 3rem 3.25rem;
  position: relative;
}

.speech-quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  line-height: 1;
  color: rgba(212, 160, 23, 0.22);
  position: absolute;
  top: 1.5rem;
  right: 2.5rem;
  pointer-events: none;
}

.speech-text-col h3 {
  font-size: 1.75rem;
  margin-bottom: 0.4rem;
}

.speech-sub {
  color: var(--crimson-600);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.4rem;
}

.speech-body p {
  margin-bottom: 1rem;
  color: var(--slate-800);
  font-size: 0.97rem;
}

.speech-signature {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--ivory-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.speech-signature strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--navy-900);
}

/* Executive Leadership Cards */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.leader-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(11, 22, 44, 0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.leader-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.leader-img-wrap {
  position: relative;
  height: 360px;
  overflow: hidden;
  background: var(--navy-900);
}

.leader-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.6s ease;
}

.leader-card:hover .leader-img-wrap img {
  transform: scale(1.05);
}

.leader-role-pill {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(11, 22, 44, 0.9);
  color: var(--gold-400);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(234, 179, 8, 0.4);
  backdrop-filter: blur(6px);
}

.leader-info {
  padding: 1.5rem 1.65rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.leader-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}

.leader-info p {
  font-size: 0.9rem;
  color: var(--slate-600);
}

/* ==========================================================================
   FACILITIES & SCIENCE LABORATORIES
   ========================================================================== */
.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--slate-600);
  background: var(--white);
  border: 1px solid rgba(11, 22, 44, 0.12);
  transition: var(--transition);
}

.filter-btn:hover {
  color: var(--navy-900);
  border-color: var(--navy-900);
}

.filter-btn.active {
  background: var(--navy-900);
  color: var(--gold-400);
  border-color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.facility-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(11, 22, 44, 0.08);
  transition: var(--transition);
  cursor: pointer;
}

.facility-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.facility-img-box {
  position: relative;
  height: 245px;
  overflow: hidden;
  background: var(--navy-900);
}

.facility-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.facility-card:hover .facility-img-box img {
  transform: scale(1.06);
}

.facility-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11, 22, 44, 0.86);
  color: var(--gold-300);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.85);
  transition: var(--transition);
}

.facility-card:hover .zoom-hint {
  opacity: 1;
  transform: scale(1);
}

.facility-body {
  padding: 1.35rem 1.5rem;
}

.facility-body h3 {
  font-size: 1.18rem;
  margin-bottom: 0.35rem;
}

.facility-body p {
  font-size: 0.88rem;
  color: var(--slate-600);
}

/* ==========================================================================
   EXPERIENTIAL LEARNING, PRACTICALS & CULTURAL HERITAGE
   ========================================================================== */
.experiential-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.exp-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 340px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.exp-card.exp-wide {
  grid-column: span 2;
}

.exp-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.65s ease;
}

.exp-card:hover img {
  transform: scale(1.06);
}

.exp-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 13, 30, 0.92) 0%, rgba(7, 13, 30, 0.35) 55%, transparent 100%);
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.exp-badge {
  align-self: flex-start;
  background: var(--gold-400);
  color: var(--navy-950);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.55rem;
}

.exp-overlay h3 {
  color: var(--white);
  font-size: 1.28rem;
  margin-bottom: 0.25rem;
}

.exp-overlay p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
}

/* ==========================================================================
   ACADEMICS & CLASS GALLERY (JSS 1-3 GOLD & SILVER, SSS 1-3)
   ========================================================================== */
.programmes-tier {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 4rem;
}

.tier-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(11, 22, 44, 0.08);
  border-bottom: 4px solid var(--gold-500);
}

.tier-level {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--crimson-600);
  margin-bottom: 0.4rem;
}

.tier-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.65rem;
}

.tier-card p {
  font-size: 0.92rem;
  color: var(--slate-600);
  margin-bottom: 1.1rem;
}

.tier-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.tier-list li {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tier-list li::before {
  content: "✦";
  color: var(--gold-500);
}

.classes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.class-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(11, 22, 44, 0.08);
  transition: var(--transition);
  cursor: pointer;
}

.class-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.class-photo {
  height: 230px;
  overflow: hidden;
  background: var(--navy-900);
  position: relative;
}

.class-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.class-card:hover .class-photo img {
  transform: scale(1.05);
}

.class-stream-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.badge-gold {
  background: var(--gold-400);
  color: var(--navy-950);
}

.badge-silver {
  background: #e2e8f0;
  color: var(--navy-950);
}

.badge-senior {
  background: var(--crimson-600);
  color: var(--white);
}

.class-meta {
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.class-meta h4 {
  font-size: 1.12rem;
}

.class-meta span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-500);
}

/* ==========================================================================
   FACULTY & STAFF DIRECTORY (30 PORTRAITS)
   ========================================================================== */
.staff-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
  background: var(--white);
  padding: 1rem 1.35rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.staff-search {
  position: relative;
  flex: 1;
  min-width: 250px;
  max-width: 380px;
}

.staff-search input {
  width: 100%;
  padding: 0.68rem 1rem 0.68rem 2.6rem;
  border-radius: 999px;
  border: 1px solid rgba(11, 22, 44, 0.15);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.staff-search input:focus {
  border-color: var(--navy-900);
  box-shadow: 0 0 0 3px rgba(11, 22, 44, 0.08);
}

.staff-search svg {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-500);
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
  gap: 1.5rem;
}

.staff-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(11, 22, 44, 0.07);
  transition: var(--transition);
  text-align: center;
}

.staff-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 160, 23, 0.45);
}

.staff-avatar {
  height: 235px;
  overflow: hidden;
  background: var(--navy-900);
  position: relative;
}

.staff-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  transition: transform 0.5s ease;
}

.staff-card:hover .staff-avatar img {
  transform: scale(1.06);
}

.editorial-ribbon {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(234, 179, 8, 0.95);
  color: var(--navy-950);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.staff-details {
  padding: 1rem 0.9rem 1.15rem;
}

.staff-details h4 {
  font-size: 0.98rem;
  margin-bottom: 0.25rem;
  color: var(--navy-900);
}

.staff-details span {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--slate-500);
}

/* ==========================================================================
   ADMISSIONS & CONTACT SECTION
   ========================================================================== */
.admissions-banner {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(234, 179, 8, 0.35);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.admissions-info h2 {
  color: var(--white);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.admissions-info p {
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 1.5rem;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-row-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(234, 179, 8, 0.2);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-row strong {
  display: block;
  font-size: 0.92rem;
  color: var(--gold-300);
}

.contact-row span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
}

.inquiry-card {
  background: var(--white);
  color: var(--slate-800);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.inquiry-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.inquiry-card > p {
  font-size: 0.88rem;
  color: var(--slate-600);
  margin-bottom: 1.35rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group.full {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy-900);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(11, 22, 44, 0.16);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy-900);
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.18);
}

.form-feedback {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: #dcfce7;
  color: #166534;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.78);
  padding: 4.5rem 0 2rem;
  border-top: 3px solid var(--gold-500);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.footer-brand img {
  width: 52px;
  height: 60px;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.25rem;
}

.footer-brand span {
  font-size: 0.75rem;
  color: var(--gold-400);
  display: block;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a:hover {
  color: var(--gold-400);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.84rem;
}

/* ==========================================================================
   LIGHTBOX MODAL FOR PHOTOS
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(7, 13, 30, 0.92);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-inner {
  max-width: 960px;
  width: 100%;
  background: var(--navy-900);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid rgba(234, 179, 8, 0.45);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(7, 13, 30, 0.85);
  color: var(--white);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.lightbox-close:hover {
  background: var(--gold-400);
  color: var(--navy-950);
}

.lightbox-inner img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  background: #050914;
}

.lightbox-caption {
  padding: 1rem 1.5rem;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lightbox-caption h4 {
  color: var(--gold-400);
  font-size: 1.15rem;
}

/* ==========================================================================
   MULTI-PAGE INNER HERO BANNER & HOME PORTAL CARDS
   ========================================================================== */
.page-hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, #1d356b 0%, #0b162c 60%, #070d1e 100%);
  color: var(--white);
  padding: 3.75rem 0 4rem;
  overflow: hidden;
  border-bottom: 3px solid var(--gold-500);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(234, 179, 8, 0.12) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  background-position: 0 0, 17px 17px;
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-300);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(234, 179, 8, 0.35);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.15rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
  color: var(--gold-400);
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.page-hero p {
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.84);
  max-width: 680px;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.85rem;
}

.portal-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(11, 22, 44, 0.08);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.portal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 160, 23, 0.5);
}

.portal-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--navy-900);
}

.portal-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portal-card:hover .portal-card-img img {
  transform: scale(1.05);
}

.portal-card-body {
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.portal-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 0.55rem;
}

.portal-card-body p {
  color: var(--slate-600);
  font-size: 0.93rem;
  margin-bottom: 1.35rem;
  flex: 1;
}

.portal-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy-900);
}

.portal-card:hover .portal-link {
  color: var(--gold-600);
  gap: 0.7rem;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100dvh;
    width: min(335px, 86vw);
    background: linear-gradient(175deg, var(--navy-950) 0%, var(--navy-900) 100%);
    border: none;
    border-left: 2px solid rgba(234, 179, 8, 0.35);
    border-radius: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 1.25rem 1.25rem 1.75rem;
    gap: 0.45rem;
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.55);
    transform: translateX(105%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.32s ease;
    z-index: 2000;
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .drawer-header-item {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .drawer-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
  }

  .drawer-brand img {
    width: 38px;
    height: 44px;
    object-fit: contain;
  }

  .drawer-brand strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 0.96rem;
    color: var(--white);
    line-height: 1.15;
  }

  .drawer-brand span {
    font-size: 0.68rem;
    color: var(--gold-400);
    font-weight: 700;
  }

  .drawer-close-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--gold-300);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .drawer-close-btn:hover {
    background: var(--gold-400);
    color: var(--navy-950);
  }

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

  .nav-links a {
    width: 100%;
    padding: 0.82rem 1.1rem;
    font-size: 0.94rem;
    color: rgba(255, 255, 255, 0.88);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
  }

  .nav-links a.active {
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
    color: var(--navy-950);
    border-color: transparent;
  }

  .nav-links a.active::before {
    background: var(--navy-950);
    box-shadow: none;
  }

  .drawer-footer-item {
    display: flex !important;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .drawer-footer-item .drawer-cta {
    width: 100%;
    justify-content: center;
    padding: 0.88rem 1.2rem;
    font-size: 0.94rem;
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
    color: var(--navy-950);
    font-weight: 800;
    border-radius: 10px;
    border: none;
    box-shadow: var(--shadow-gold);
  }

  .drawer-footer-note {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.65);
    text-align: center;
  }

  .mobile-toggle {
    display: inline-flex;
    position: relative;
    z-index: 1002;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .speech-wrapper,
  .anthems-box,
  .admissions-banner {
    grid-template-columns: 1fr;
  }

  .pillars-grid,
  .leadership-grid,
  .facilities-grid,
  .experiential-showcase,
  .programmes-tier,
  .classes-grid,
  .portal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .exp-card.exp-wide {
    grid-column: span 2;
  }

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

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .top-bar {
    padding: 0.4rem 0;
  }

  .top-bar-right,
  .top-bar-left .top-item {
    display: none;
  }

  .top-bar-inner,
  .top-bar-left {
    justify-content: center;
    width: 100%;
  }

  .top-badge {
    font-size: 0.73rem;
    padding: 0.18rem 0.6rem;
  }

  .nav-inner,
  .site-header.scrolled .nav-inner {
    height: 68px;
  }

  .brand-logo {
    width: 38px;
    height: 44px;
  }

  .brand-title {
    font-size: 0.98rem;
  }

  .brand-subtitle {
    font-size: 0.56rem;
    letter-spacing: 0.04em;
  }

  /* Hide header CTA pill on small mobile screens so brand + hamburger have clean room */
  .nav-actions .btn-gold {
    display: none;
  }

  .hero {
    padding: 2.75rem 0 3.25rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .hero-main-card img {
    height: 300px;
  }

  .page-hero {
    padding: 2.5rem 0 2.75rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .filter-bar {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .filter-btn {
    flex-shrink: 0;
  }

  .pillars-grid,
  .leadership-grid,
  .facilities-grid,
  .experiential-showcase,
  .programmes-tier,
  .classes-grid,
  .portal-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .staff-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
  }

  .staff-avatar {
    height: 185px;
  }

  .staff-details {
    padding: 0.75rem 0.65rem 0.9rem;
  }

  .staff-details h4 {
    font-size: 0.86rem;
  }

  .staff-details span {
    font-size: 0.7rem;
  }

  .exp-card.exp-wide,
  .form-group.full {
    grid-column: span 1;
  }

  .anthems-box,
  .anthem-content-wrap,
  .speech-portrait-col,
  .speech-text-col,
  .admissions-banner,
  .inquiry-card {
    padding: 1.4rem;
  }

  .hero-crest-float {
    position: static;
    margin-bottom: 1rem;
  }

  .hero-sub-float {
    display: none;
  }
}

/* ==========================================================================
   CHOREOGRAPHED TRANSITIONS, SCROLL REVEALS & AMBIENT ANIMATIONS
   ========================================================================== */

/* 1. Page Entry & Smooth Navigation Transition */
.hero,
.page-hero,
.section,
.site-footer {
  animation: pageFadeIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

body.page-leaving .hero,
body.page-leaving .page-hero,
body.page-leaving .section,
body.page-leaving .site-footer {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 2. Hero & Inner Banner Staggered Entrance Choreography */
@keyframes heroRiseUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroVisualReveal {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.75;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

.hero-glow {
  animation: pulseGlow 7s ease-in-out infinite;
}

.hero-content .hero-eyebrow {
  animation: heroRiseUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

.hero-content h1 {
  animation: heroRiseUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.16s both;
}

.hero-content .hero-sister-badge {
  animation: heroRiseUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both;
}

.hero-content .hero-lead {
  animation: heroRiseUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
}

.hero-content .hero-cta-group {
  animation: heroRiseUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.40s both;
}

.hero-content .hero-stats {
  animation: heroRiseUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.48s both;
}

.hero-visual {
  animation: heroVisualReveal 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.26s both;
}

.hero-crest-float {
  animation: floatGentle 5.2s ease-in-out infinite;
}

.hero-sub-float {
  animation: floatGentle 6s ease-in-out 1.2s infinite;
}

.page-hero .breadcrumb {
  animation: heroRiseUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.06s both;
}

.page-hero h1 {
  animation: heroRiseUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.14s both;
}

.page-hero p {
  animation: heroRiseUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

/* 3. Scroll-Reveal Elements (Triggered via IntersectionObserver) */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px) scale(0.985);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* 4. Filter & Search Card Pop-In Animation */
@keyframes cardPopIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.card-pop-in {
  animation: cardPopIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* 5. Golden Shimmer Sweep on Login & CTA Buttons */
.btn-gold,
.drawer-cta {
  position: relative;
  overflow: hidden;
}

.btn-gold::after,
.drawer-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: left 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.btn-gold:hover::after,
.drawer-cta:hover::after {
  left: 140%;
}

/* 6. Staggered Mobile Drawer Link Cascade */
@media (max-width: 1180px) {
  .nav-links li {
    opacity: 0;
    transform: translateX(24px);
    transition:
      opacity 0.36s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-links.open li {
    opacity: 1;
    transform: translateX(0);
    transition-delay: var(--drawer-delay, 0ms);
  }
}

/* 7. Lightbox Smooth Zoom Entrance */
.lightbox-inner {
  transform: scale(0.92) translateY(14px);
  transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.open .lightbox-inner {
  transform: scale(1) translateY(0);
}

/* Respect Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}
