:root {
  /* Yellow/gold dominant theme — "red" tokens repurposed as warm amber-gold */
  --brand-red: #E5A100;        /* warm deep gold (primary action) */
  --brand-red-dk: #B07B00;     /* darker amber (hover/dark) */
  --brand-navy: #1B2A5E;
  --brand-navy-dk: #0E173A;
  --brand-gold: #F5B400;       /* bright gold (highlight) */
  --brand-saffron: #FF8A1F;    /* warm saffron (accent) */
  --brand-green: #2E7D55;
  --cream: #FFF8E7;
  --ink: #0F1729;
  --ink-2: #4B5872;
  --shadow-brand: 0 20px 60px -20px rgba(27, 42, 94, 0.45);
  --shadow-red: 0 18px 40px -12px rgba(229, 161, 0, 0.55);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, .font-display {
  font-family: 'Fraunces', 'Times New Roman', serif;
  letter-spacing: -0.02em;
}

.brand-gradient {
  background: linear-gradient(135deg, var(--brand-navy) 0%, #5a4a1e 50%, var(--brand-red) 100%);
}
.brand-gradient-soft {
  background: linear-gradient(135deg, rgba(27,42,94,0.05) 0%, rgba(229,161,0,0.08) 100%);
}
.gold-text {
  background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-saffron) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-text-gradient {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(27, 42, 94, 0.08);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.25);
}
/* === Premium navigation === */
.nav-link {
  position: relative;
  padding: 0.55rem 0.9rem;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  border-radius: 0.625rem;
  transition: color .25s ease, background-color .25s ease;
  background: transparent;
}
.nav-link::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-saffron));
  border-radius: 2px;
  transition: width .3s cubic-bezier(.4,0,.2,1), left .3s cubic-bezier(.4,0,.2,1);
}
.nav-link:hover {
  color: var(--brand-red);
  background: rgba(245, 180, 0, 0.08);
}
.nav-link:hover::before {
  width: calc(100% - 1.5rem);
  left: 0.75rem;
}
.nav-link.active {
  color: var(--brand-red);
  background: linear-gradient(135deg, rgba(245, 180, 0, 0.14), rgba(255, 138, 31, 0.10));
}
.nav-link.active::before {
  width: calc(100% - 1.5rem);
  left: 0.75rem;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-gold));
}
.nav-link i[data-lucide="chevron-down"] {
  transition: transform .25s ease;
}
.nav-item:hover .nav-link i[data-lucide="chevron-down"],
.nav-item:focus-within .nav-link i[data-lucide="chevron-down"] {
  transform: rotate(180deg);
}

/* Dropdown panel */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: -0.5rem;
  min-width: 18rem;
  background: white;
  border-radius: 1.1rem;
  box-shadow:
    0 25px 60px -15px rgba(15, 23, 41, 0.28),
    0 0 0 1px rgba(245, 180, 0, 0.12);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.98);
  transform-origin: top left;
  transition: opacity .22s ease, visibility .22s ease, transform .22s cubic-bezier(.4,0,.2,1);
}
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 1.5rem;
  width: 12px;
  height: 12px;
  background: white;
  transform: rotate(45deg);
  border-top: 1px solid rgba(245, 180, 0, 0.12);
  border-left: 1px solid rgba(245, 180, 0, 0.12);
  border-radius: 2px;
}
.nav-dropdown::after {
  /* Invisible bridge so cursor can move from button to panel without losing hover */
  content: "";
  position: absolute;
  inset: -0.6rem 0 0;
  height: 0.6rem;
}
.nav-item:hover > .nav-dropdown,
.nav-item:focus-within > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Dropdown items — icon + label + tail arrow */
.nav-dropdown a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.7rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.nav-dropdown a .nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  background: linear-gradient(135deg, rgba(245, 180, 0, 0.18), rgba(255, 138, 31, 0.12));
  color: var(--brand-red);
  flex-shrink: 0;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.nav-dropdown a .nav-icon i,
.nav-dropdown a .nav-icon svg {
  width: 1rem;
  height: 1rem;
}
.nav-dropdown a::after {
  content: "→";
  margin-left: auto;
  font-size: 0.95rem;
  color: var(--brand-red);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .18s ease, transform .18s ease;
}
.nav-dropdown a:hover,
.nav-dropdown a.active {
  background: linear-gradient(135deg, rgba(245, 180, 0, 0.18), rgba(255, 138, 31, 0.12));
  color: var(--brand-red);
}
.nav-dropdown a:hover .nav-icon,
.nav-dropdown a.active .nav-icon {
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-saffron));
  color: white;
  transform: scale(1.06);
}
.nav-dropdown a:hover::after,
.nav-dropdown a.active::after {
  opacity: 1;
  transform: translateX(0);
}
.nav-dropdown a.active {
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(245, 180, 0, 0.35);
}

/* Mobile drawer active link styling */
.mobile-drawer a.active {
  color: var(--brand-red) !important;
  background: linear-gradient(135deg, rgba(245, 180, 0, 0.15), rgba(255, 138, 31, 0.08));
  font-weight: 600;
}
.mobile-drawer details > div a.active {
  position: relative;
}
.mobile-drawer details > div a.active::before {
  content: "";
  position: absolute;
  left: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-gold);
  box-shadow: 0 0 8px var(--brand-gold);
}

/* Dropdown section header (optional, for grouped dropdowns) */
.nav-dropdown .nav-group-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  padding: 0.5rem 0.85rem 0.3rem;
}
.nav-dropdown .nav-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 180, 0, 0.2), transparent);
  margin: 0.4rem 0.5rem;
}

/* Wider mega-dropdown for About (2 columns) */
.nav-dropdown.nav-mega {
  min-width: 30rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem 0.5rem;
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 41, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease;
  z-index: 60;
}
.mobile-drawer.open { opacity: 1; visibility: visible; }
.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(85vw, 22rem);
  background: white;
  padding: 1.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.mobile-drawer.open .mobile-drawer-panel { transform: translateX(0); }
.mobile-drawer details summary {
  list-style: none;
  cursor: pointer;
  padding: 0.85rem 0;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid rgba(27, 42, 94, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  gap: 0.75rem;
}
.mobile-drawer details[open] summary { color: var(--brand-red); }
.mobile-drawer details summary::-webkit-details-marker,
.mobile-drawer details summary::marker { display: none; content: ""; }

/* Chevron caret — guaranteed visible CSS arrow (works even if Lucide hasn't loaded) */
.mobile-drawer details summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--brand-red);
  border-bottom: 2px solid var(--brand-red);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .25s ease;
  margin-right: 6px;
  flex-shrink: 0;
}
.mobile-drawer details[open] summary::after {
  transform: rotate(-135deg) translateY(0);
}

/* Hide the inline Lucide chevron (we use the ::after caret for reliability) */
.mobile-drawer details summary > i[data-lucide],
.mobile-drawer details summary > svg.lucide-chevron-down {
  display: none;
}

.mobile-drawer details > div {
  padding: 0.25rem 0 0.75rem 1rem;
  margin-left: 0.25rem;
  border-left: 2px solid rgba(245, 180, 0, 0.25);
  animation: drawer-submenu-in .25s ease;
}
@keyframes drawer-submenu-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-drawer details > div a {
  display: block;
  padding: 0.55rem 0.75rem;
  font-size: 0.92rem;
  color: var(--ink-2);
  border-radius: 0.5rem;
  transition: background .15s ease, color .15s ease;
}
.mobile-drawer details > div a:hover,
.mobile-drawer details > div a:active {
  background: var(--cream);
  color: var(--brand-red);
}
.mobile-drawer > .top-link {
  display: block;
  padding: 0.75rem 0;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid rgba(27, 42, 94, 0.08);
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-dk) 100%);
  color: white;
  box-shadow: var(--shadow-red);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -16px rgba(229,161,0,0.55); }

/* Header "Admissions Open" pill (replaces Apply Now CTA) */
.header-admissions {
  position: relative;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.05rem 0.5rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #C8102E 0%, #9B0B22 100%);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  border: 1.5px solid rgba(245, 180, 0, 0.75);
  box-shadow:
    0 0 0 0 rgba(245, 180, 0, 0.6),
    0 10px 22px -8px rgba(200, 16, 46, 0.55);
  animation: hdr-admissions-attention 2s ease-in-out infinite;
}
.header-admissions:hover {
  animation-play-state: paused;
  transform: scale(1.06);
  border-color: rgba(245, 180, 0, 1);
  box-shadow:
    0 0 0 4px rgba(245, 180, 0, 0.25),
    0 16px 32px -10px rgba(200, 16, 46, 0.65);
}
.header-admissions .hdr-dot {
  position: relative;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--brand-gold);
  box-shadow: 0 0 8px rgba(245, 180, 0, 0.9);
  flex-shrink: 0;
}
.header-admissions .hdr-dot::before,
.header-admissions .hdr-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--brand-gold);
  animation: hdr-dot-ping 1.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.header-admissions .hdr-dot::after { animation-delay: 0.7s; }
.header-admissions .hdr-years {
  color: var(--brand-gold);
  font-weight: 700;
  margin-left: 0.15rem;
}

@keyframes hdr-admissions-attention {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 0 0 0 rgba(245, 180, 0, 0.7),
      0 10px 22px -8px rgba(200, 16, 46, 0.55);
    border-color: rgba(245, 180, 0, 0.75);
  }
  50% {
    transform: scale(1.04);
    box-shadow:
      0 0 0 8px rgba(245, 180, 0, 0),
      0 14px 26px -6px rgba(245, 180, 0, 0.55);
    border-color: rgba(245, 180, 0, 1);
  }
}
@keyframes hdr-dot-ping {
  0%   { transform: scale(1);   opacity: 0.9; }
  80%, 100% { transform: scale(2.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .header-admissions { animation: none; }
  .header-admissions .hdr-dot::before,
  .header-admissions .hdr-dot::after { animation: none; opacity: 0; }
}
.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: white;
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  color: var(--brand-navy-dk);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px rgba(245, 180, 0, 0.5);
}
.btn-navy {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-dk) 100%);
  color: white;
  box-shadow: var(--shadow-brand);
}
.btn-navy:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -16px rgba(27,42,94,0.55); }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.25) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform .6s ease;
}
.btn:hover::after { transform: translateX(100%); }

/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.45;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 138, 31, 0.45) 0%, transparent 50%),
    radial-gradient(circle at 15% 85%, rgba(245, 180, 0, 0.25) 0%, transparent 50%),
    linear-gradient(135deg, #0E173A 0%, #1B2A5E 35%, #6b4a00 70%, #B07B00 100%);
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
  animation: hero-blob-float 14s ease-in-out infinite;
}
.hero-blob-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(245, 180, 0, 0.35), transparent 70%);
  top: -160px; right: -120px;
}
.hero-blob-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(229, 161, 0, 0.55), transparent 70%);
  bottom: -180px; left: -120px;
  animation-delay: -7s;
}
@keyframes hero-blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.1); }
}
.hero-content { position: relative; z-index: 2; }

/* Hero photo composition (right side of homepage hero) */
.hero-photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.55), 0 0 0 4px rgba(255, 255, 255, 0.12);
  z-index: 2;
  transform: rotate(-1.5deg);
  transition: transform .5s ease;
}
.hero-photo-frame:hover { transform: rotate(0); }
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; }

/* Hero auto-rotating slider */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s ease-in-out, transform 6s ease-out;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
@media (max-width: 1024px) {
  .hero-photo-frame { aspect-ratio: 16 / 11; transform: rotate(0); }
}

.hero-ring {
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
  bottom: -1.5rem;
  left: -1.5rem;
  border: 2px dashed rgba(245, 180, 0, 0.35);
  border-radius: 2.5rem;
  z-index: 1;
  animation: hero-ring-spin 60s linear infinite;
}
@keyframes hero-ring-spin {
  to { transform: rotate(360deg); }
}

/* Premium play button on hero photo */
.hero-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.97);
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease;
}
.hero-play-btn::before,
.hero-play-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  animation: hero-play-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
.hero-play-btn::after { animation-delay: 1.2s; }
.hero-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 30px 60px -12px rgba(229, 161, 0, 0.6);
}
@keyframes hero-play-pulse {
  0%   { transform: scale(1);   opacity: 0.85; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* ============ HERO CINEMA (homepage full-bleed slider) ============ */
.hero-cinema {
  min-height: 100vh;
  min-height: 100svh;
  isolation: isolate;
  padding-top: 6rem;
  padding-bottom: 9rem;
}

/* Full-width background slider */
.hero-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.4s ease-in-out;
  pointer-events: none;
  will-change: opacity, transform;
}
.hero-bg-slide.is-active {
  opacity: 1;
  animation: hero-kenburns 8s ease-out forwards;
}
@keyframes hero-kenburns {
  from { transform: scale(1.08) translate(0, 0); }
  to   { transform: scale(1.0) translate(-1.5%, 0); }
}

/* Minimal overlay — keep photos clearly visible, add only a soft bottom-left vignette behind text for legibility */
.hero-overlay-cinema {
  background:
    radial-gradient(ellipse 80% 70% at 25% 70%, rgba(14, 23, 58, 0.55) 0%, rgba(14, 23, 58, 0.25) 40%, transparent 75%),
    linear-gradient(to top, rgba(14, 23, 58, 0.35) 0%, transparent 30%);
}

/* Film grain disabled to keep photos crisp */
.hero-grain { display: none; }

.hero-cinema .hero-content {
  position: relative;
  z-index: 3;
}

/* Text legibility — drop shadow on headline & tagline so they read clearly over any photo */
.hero-cinema h1,
.hero-cinema .hero-eyebrow,
.hero-cinema [data-hero-tagline] {
  text-shadow: 0 2px 24px rgba(14, 23, 58, 0.65), 0 1px 4px rgba(14, 23, 58, 0.5);
}
.hero-cinema [data-hero-affiliation] .gold-text {
  text-shadow: 0 2px 18px rgba(14, 23, 58, 0.55);
}

/* Gold accent eyebrow above chips */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--brand-gold);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(245, 180, 0, 0), rgba(245, 180, 0, 0.9));
}

/* Progress-bar pagination dots (bottom-left) */
.hero-dots {
  position: absolute;
  z-index: 4;
  left: max(1.5rem, env(safe-area-inset-left));
  bottom: 2rem;
  display: flex;
  gap: 0.625rem;
  align-items: center;
}
.hero-dot {
  width: 2rem;
  height: 3px;
  background: rgba(255, 255, 255, 0.22);
  border: 0;
  padding: 0;
  cursor: pointer;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  transition: width .4s ease, background .25s ease;
}
.hero-dot:hover { background: rgba(255, 255, 255, 0.4); }
.hero-dot.is-active {
  width: 4.5rem;
  background: rgba(255, 255, 255, 0.18);
}
.hero-dot.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--brand-gold), #fff);
  transform-origin: left;
  animation: hero-dot-progress 5s linear forwards;
}
@keyframes hero-dot-progress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Glass slide caption pill (bottom-right) */
.hero-caption-pill {
  position: absolute;
  z-index: 4;
  right: max(1.5rem, env(safe-area-inset-right));
  bottom: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: white;
  text-decoration: none;
  transition: transform .35s ease, background .35s ease, border-color .35s ease;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}
.hero-caption-pill:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(245, 180, 0, 0.5);
}
.hero-caption-pill .label {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1;
}
.hero-caption-pill .name {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.1;
  margin-top: 0.3rem;
  transition: opacity .25s ease;
}
.hero-caption-pill .name.fade { opacity: 0; }
.hero-caption-pill .play-mini {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--brand-gold);
  color: var(--brand-navy-dk);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 14px -2px rgba(245, 180, 0, 0.55);
}

/* Move scroll cue to center-bottom on cinema hero */
.hero-cinema .scroll-cue {
  left: 50%;
  transform: translateX(-50%);
}

/* ============ HERO SHOWCASE STRIP — slider-only, no content ============ */
.hero-showcase {
  position: relative;
  width: 100%;
  min-height: 90vh;
  overflow: hidden;
  isolation: isolate;
  padding: 0;
}
@media (max-width: 768px) {
  .hero-showcase { min-height: 50vh; }
}
.hero-showcase .hero-bg-slider { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-showcase .hero-bg-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.4s ease-in-out;
  pointer-events: none;
}
.hero-showcase .hero-bg-slide.is-active {
  opacity: 1;
  animation: hero-kenburns 8s ease-out forwards;
}
/* Soft top/bottom edges so the strip blends with adjacent sections */
.hero-showcase::before,
.hero-showcase::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1rem;
  z-index: 2;
  pointer-events: none;
}
.hero-showcase::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
}
.hero-showcase::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.6), transparent);
}
/* Subtle dots in bottom-center for the showcase */
.hero-showcase .hero-dots {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 4;
}

/* Reduce-motion: kill ken burns + dot progress animation */
@media (prefers-reduced-motion: reduce) {
  .hero-bg-slide.is-active { animation: none; transform: scale(1); }
  .hero-dot.is-active::after { animation: none; opacity: 1; transform: scaleX(1); }
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .hero-cinema {
    padding-top: 5rem;
    padding-bottom: 8rem;
  }
  .hero-caption-pill { display: none; }
  .hero-dots {
    left: 50%;
    transform: translateX(-50%);
    bottom: 5.25rem;
  }
  .hero-dot { width: 1.5rem; }
  .hero-dot.is-active { width: 3rem; }
  .hero-cinema .scroll-cue { bottom: 1rem; }
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: 6rem 0 6rem;
  color: white;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 138, 31, 0.25) 0%, transparent 50%),
    linear-gradient(135deg, var(--brand-navy-dk) 0%, var(--brand-navy) 50%, var(--brand-red) 100%);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(245, 180, 0, 0.15) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 0L36 18L54 18L40 30L46 48L30 38L14 48L20 30L6 18L24 18Z' fill='rgba(255,255,255,0.025)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 2; width: 100%; }

/* Animated decorative blobs for page heroes */
.page-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
  animation: page-hero-blob-float 14s ease-in-out infinite;
}
.page-hero-blob-1 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(245, 180, 0, 0.55), transparent 70%);
  top: -140px; right: -80px;
}
.page-hero-blob-2 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(229, 161, 0, 0.55), transparent 70%);
  bottom: -140px; left: -60px;
  animation-delay: -7s;
}
@keyframes page-hero-blob-float {
  0%, 100% { transform: translate(0, 0); }
  50%     { transform: translate(30px, -20px); }
}

/* Right-side decorative visual on inner pages */
.page-hero-visual {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  margin-left: auto;
}
.page-hero-lotus-ring {
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(245, 180, 0, 0.45);
  border-radius: 50%;
  animation: page-hero-ring-spin 50s linear infinite;
}
.page-hero-lotus-ring-2 {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  animation: page-hero-ring-spin 32s linear infinite reverse;
}
.page-hero-lotus-ring-3 {
  position: absolute;
  inset: 25%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(245,180,0,0.25), transparent 65%);
  filter: blur(10px);
}
.page-hero-lotus-emblem {
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.45), 0 0 0 8px rgba(255,255,255,0.08);
  z-index: 2;
  animation: page-hero-emblem-bob 6s ease-in-out infinite;
}
.page-hero-lotus-emblem img {
  width: 75%;
  height: auto;
}
@keyframes page-hero-ring-spin {
  to { transform: rotate(360deg); }
}
@keyframes page-hero-emblem-bob {
  0%, 100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}

/* Floating chips around the lotus */
.page-hero-floater {
  position: absolute;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 18px 36px -10px rgba(0,0,0,0.45);
  z-index: 3;
  animation: floater-bob 4.5s ease-in-out infinite;
}
.page-hero-floater i { color: var(--brand-red); }
.page-hero-floater-1 { top: 0;    right: 0;  animation-delay: 0s; }
.page-hero-floater-2 { bottom: 8%; left: 0;  animation-delay: -2s; }
.page-hero-floater-3 { bottom: 40%; right: 0; animation-delay: -1s; transform: rotate(2deg); }
@keyframes floater-bob {
  0%, 100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}
.page-hero-floater-3 {
  animation-name: floater-bob-tilt;
}
@keyframes floater-bob-tilt {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50%     { transform: translateY(-10px) rotate(2deg); }
}

/* Floating tiny dots/sparkles around the emblem */
.page-hero-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-gold);
  box-shadow: 0 0 12px var(--brand-gold);
  animation: dot-twinkle 3s ease-in-out infinite;
}
.page-hero-dot:nth-child(1) { top: 18%; left: 22%; animation-delay: 0s; }
.page-hero-dot:nth-child(2) { top: 72%; right: 16%; animation-delay: -1s; background: var(--brand-saffron); box-shadow: 0 0 12px var(--brand-saffron); }
.page-hero-dot:nth-child(3) { bottom: 18%; left: 30%; animation-delay: -2s; }
@keyframes dot-twinkle {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%     { opacity: 1;   transform: scale(1.4); }
}

/* Ensure page hero visual stays within its column */
.page-hero-visual {
  margin-right: 0.5rem;
}
@media (max-width: 1023px) {
  .page-hero-visual { display: none; }
}
/* Intermediate breakpoint (1024–1279px): shrink visual + headline so they fit */
@media (min-width: 1024px) and (max-width: 1279px) {
  .page-hero-visual { max-width: 260px; margin-right: 0.75rem; }
  .page-hero h1 { font-size: 2.75rem !important; line-height: 1.1; }
  .page-hero { padding: 4rem 0; min-height: 360px; }
  .page-hero-floater { font-size: 0.7rem; padding: 0.45rem 0.75rem; }
  .page-hero-floater i { width: 0.85rem; height: 0.85rem; }
  .page-hero-blob-1 { width: 240px; height: 240px; }
  .page-hero-blob-2 { width: 220px; height: 220px; }
}

.breadcrumb {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
}
.breadcrumb a:hover { color: var(--brand-gold); }

/* Animated chips/badges */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(245, 180, 0, 0.15);
  color: var(--brand-gold);
  border: 1px solid rgba(245, 180, 0, 0.35);
}

/* Cards */
.card {
  background: white;
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(15, 23, 41, 0.06), 0 0 0 1px rgba(27, 42, 94, 0.04);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(15, 23, 41, 0.15), 0 0 0 1px rgba(27, 42, 94, 0.04);
}
.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cream) 0%, rgba(245, 180, 0, 0.15) 100%);
  color: var(--brand-red);
  margin-bottom: 1rem;
}

/* Small check pill used in checklists */
.check-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-saffron) 100%);
  color: #fff;
  flex-shrink: 0;
  margin-top: 0.1rem;
  box-shadow: 0 4px 10px -3px rgba(245, 180, 0, 0.5);
}

/* Floating lotus petals decoration */
.petal {
  position: absolute;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(245, 180, 0, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.15); }
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,0.7), transparent);
  animation: scroll-line 1.8s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Image marquee */
.marquee {
  display: flex;
  gap: 1.5rem;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.marquee:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee img {
  height: 16rem;
  width: 24rem;
  object-fit: cover;
  border-radius: 1.25rem;
  box-shadow: 0 20px 40px -16px rgba(15, 23, 41, 0.3);
}

/* Section accent dividers */
.divider-lotus {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 auto 1.5rem;
}
.divider-lotus::before,
.divider-lotus::after {
  content: "";
  height: 1px;
  width: 3rem;
  background: linear-gradient(90deg, transparent, var(--brand-gold));
}
.divider-lotus::after {
  background: linear-gradient(90deg, var(--brand-gold), transparent);
}
.divider-lotus span {
  color: var(--brand-gold);
  font-size: 1.25rem;
}

/* Accordion (Mandatory Disclosure) */
.acc {
  border-radius: 1rem;
  overflow: hidden;
  background: white;
  box-shadow: 0 1px 3px rgba(15, 23, 41, 0.06), 0 0 0 1px rgba(27, 42, 94, 0.06);
  margin-bottom: 1rem;
}
.acc summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  color: var(--brand-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .2s ease;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--brand-red);
  transition: transform .25s ease;
}
.acc[open] summary { background: var(--cream); }
.acc[open] summary::after { content: "−"; }
.acc-body { padding: 0 1.5rem 1.5rem; }
.acc-body ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(27, 42, 94, 0.1);
}
.acc-body a {
  color: var(--brand-navy);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color .2s;
}
.acc-body a:hover { color: var(--brand-red); }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: var(--cream);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 41, 0.65) 100%);
  opacity: 0;
  transition: opacity .3s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after { opacity: 1; }

/* ============ Admissions Open blinking pill (hero attention-grabber) ============ */
.admissions-blink {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #C8102E 0%, #9B0B22 100%);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1.5px solid rgba(245, 180, 0, 0.7);
  box-shadow:
    0 0 0 0 rgba(245, 180, 0, 0.6),
    0 8px 22px -6px rgba(200, 16, 46, 0.55);
  animation: admissions-attention 2s ease-in-out infinite;
  overflow: visible;
  white-space: nowrap;
}
.admissions-blink-text {
  position: relative;
  z-index: 2;
  background: linear-gradient(90deg, #fff 0%, #FFE9A1 35%, #fff 70%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: admissions-shimmer 3s linear infinite;
}
.admissions-blink-text strong {
  color: #F5B400;
  -webkit-text-fill-color: #F5B400;
  font-weight: 700;
  margin-left: 0.15rem;
}
.admissions-blink-dot {
  position: relative;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--brand-gold);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(245, 180, 0, 0.9);
  z-index: 2;
}
.admissions-blink-dot::before,
.admissions-blink-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--brand-gold);
  animation: admissions-dot-ping 1.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.admissions-blink-dot::after { animation-delay: 0.7s; }

@keyframes admissions-attention {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 0 0 0 rgba(245, 180, 0, 0.7),
      0 8px 22px -6px rgba(200, 16, 46, 0.55);
    border-color: rgba(245, 180, 0, 0.7);
  }
  50% {
    transform: scale(1.05);
    box-shadow:
      0 0 0 10px rgba(245, 180, 0, 0),
      0 14px 28px -6px rgba(245, 180, 0, 0.55);
    border-color: rgba(245, 180, 0, 1);
  }
}

@keyframes admissions-dot-ping {
  0%   { transform: scale(1);   opacity: 0.9; }
  80%, 100% { transform: scale(2.6); opacity: 0; }
}

@keyframes admissions-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .admissions-blink { animation: none; }
  .admissions-blink-text { animation: none; background: none; color: #fff; -webkit-text-fill-color: #fff; }
  .admissions-blink-dot::before, .admissions-blink-dot::after { animation: none; opacity: 0; }
}

/* ============ Album cards (grouped gallery) ============ */
.albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}
@media (min-width: 768px) {
  .albums-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
}
.album-card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 1.25rem;
  overflow: hidden;
  cursor: pointer;
  border: 0;
  padding: 0;
  background: var(--ink);
  text-align: left;
  isolation: isolate;
  box-shadow: 0 8px 24px -8px rgba(15, 23, 41, 0.2);
  transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s ease;
}
.album-card:hover,
.album-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 28px 55px -16px rgba(15, 23, 41, 0.45);
  outline: none;
}
.album-card:focus-visible {
  box-shadow: 0 28px 55px -16px rgba(15, 23, 41, 0.45), 0 0 0 3px var(--brand-gold);
}
.album-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.4,0,.2,1);
}
.album-card:hover img { transform: scale(1.08); }
.album-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 23, 58, 0.92) 0%, rgba(14, 23, 58, 0.45) 45%, rgba(14, 23, 58, 0) 78%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  transition: background .4s ease;
}
.album-card:hover .album-overlay {
  background: linear-gradient(to top, rgba(229, 161, 0, 0.78) 0%, rgba(14, 23, 58, 0.55) 50%, rgba(14, 23, 58, 0.15) 100%);
}
.album-meta { color: #fff; width: 100%; }
.album-count {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.album-title {
  font-family: 'Fraunces', serif;
  font-size: 1.625rem;
  font-weight: 700;
  margin: 0 0 0.55rem 0;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.album-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-gold);
  transition: gap .25s ease, color .25s ease;
}
.album-card:hover .album-cta {
  gap: 0.85rem;
  color: #fff;
}
.album-card:hover .album-cta i { transform: translateX(2px); }
.album-cta i { transition: transform .25s ease; }

/* Footer */
.site-footer {
  background:
    radial-gradient(circle at 90% 0%, rgba(229, 161, 0, 0.35) 0%, transparent 50%),
    linear-gradient(135deg, var(--brand-navy-dk) 0%, var(--brand-navy) 100%);
  color: rgba(255,255,255,0.85);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 10L46 28L64 28L50 40L56 58L40 48L24 58L30 40L16 28L34 28Z' fill='rgba(245,180,0,0.04)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.site-footer h4 {
  color: white;
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: var(--brand-gold); }
.social-btn {
  width: 2.5rem; height: 2.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  transition: all .25s ease;
}
.social-btn:hover {
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  color: #fff !important;
  transform: translateY(-3px);
}

/* CTA band */
.cta-band {
  position: relative;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 138, 31, 0.25) 0%, transparent 50%),
    linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-dk) 100%);
  color: white;
  overflow: hidden;
}

/* Forms */
.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(27, 42, 94, 0.15);
  background: white;
  transition: all .2s ease;
  font-size: 0.95rem;
}
.form-input:focus {
  outline: none;
  border-color: var(--brand-red);
  box-shadow: 0 0 0 4px rgba(229, 161, 0, 0.12);
}
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

/* Top promo bar */
.top-bar {
  background: linear-gradient(90deg, var(--brand-navy-dk) 0%, var(--brand-navy) 50%, var(--brand-red) 100%);
  color: rgba(255,255,255,0.95);
  font-size: 0.8rem;
}
.top-bar a:hover { color: var(--brand-gold); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee { animation: none; }
}

/* Print */
@media print {
  .site-header, .site-footer, .cta-band, .mobile-drawer, .top-bar, .scroll-cue { display: none !important; }
  body { color: black; }
  .page-hero { background: none; color: black; padding: 1rem 0; }
  .page-hero::before { display: none; }
}

/* ============================================================
   RESPONSIVE — MOBILE & SMALL SCREEN OVERRIDES
   ============================================================ */

/* Tablets (≤1023px) — single-column hero, contained visuals */
@media (max-width: 1023px) {
  .hero { min-height: auto; padding-top: 2rem; padding-bottom: 2rem; }
  .hero-photo-frame { aspect-ratio: 16 / 11; transform: none; }
  .hero-content { gap: 2.5rem; }
  .scroll-cue { display: none; }
  .hero-blob-1, .hero-blob-2 { width: 280px; height: 280px; filter: blur(60px); }
  .page-hero { padding: 4rem 0; min-height: auto; }
}

/* Phones (≤640px) — tighten typography, stacks, gaps */
@media (max-width: 640px) {
  /* Top bar: drop secondary items */
  .top-bar { font-size: 0.72rem; }
  .top-bar .max-w-7xl { padding-top: 0.4rem; padding-bottom: 0.4rem; }

  /* Hero text */
  .hero h1 { font-size: 2.25rem !important; line-height: 1.05; }
  .hero p[data-hero-tagline] { font-size: 1rem; }

  /* Hero stat strip — keep 3 cols but trim sizes */
  .hero [data-hero-affiliation] > div > div:first-child { font-size: 1.5rem; }
  .hero [data-hero-affiliation] > div { padding-left: 0.5rem; }
  .hero [data-hero-affiliation] > div:first-child { padding-left: 0; }

  /* Hero photo: hide secondary floating cards on phones, keep only the first (CBSE) */
  .hero [data-hero-float] ~ [data-hero-float] {
    display: none !important;
  }
  /* Shrink the kept CBSE card */
  .hero [data-hero-float] {
    padding: 0.4rem 0.6rem !important;
    border-radius: 0.85rem !important;
    gap: 0.4rem !important;
  }
  .hero [data-hero-float] .w-11 { width: 1.85rem !important; height: 1.85rem !important; border-radius: 0.5rem !important; }
  .hero [data-hero-float] .w-11 i { width: 0.85rem !important; height: 0.85rem !important; }
  .hero [data-hero-float] .text-sm { font-size: 0.72rem !important; }
  .hero [data-hero-float] .text-\[0\.65rem\] { font-size: 0.55rem !important; }
  /* Caption strip inside photo — shrink */
  .hero-photo-frame .absolute.bottom-0 { padding: 0.65rem !important; }
  .hero-photo-frame .absolute.bottom-0 img { height: 1.1rem !important; }
  .hero-photo-frame .absolute.bottom-0 .text-base,
  .hero-photo-frame .absolute.bottom-0 .text-lg { font-size: 0.8rem !important; }
  .hero-photo-frame .absolute.bottom-0 .text-\[0\.65rem\] { font-size: 0.55rem !important; }
  /* Play button smaller on phones */
  .hero-play-btn { width: 3.5rem !important; height: 3.5rem !important; }
  .hero-play-btn i { width: 1.3rem !important; height: 1.3rem !important; }

  /* Hero CTAs full width */
  .hero .btn { padding: 0.7rem 1.1rem; font-size: 0.85rem; }

  /* Below-hero stats counters: shrink */
  section .text-5xl.font-display.font-bold { font-size: 2rem !important; line-height: 1; }
  section .text-5xl.font-display.font-bold + p,
  section .text-4xl.font-display.font-bold + p { font-size: 0.7rem !important; }

  /* Page hero typography */
  .page-hero h1 { font-size: 2.5rem !important; line-height: 1.08; }
  .page-hero p { font-size: 0.95rem; }
  .page-hero { padding: 3rem 0 3rem; }

  /* Headings inside sections */
  section h2.font-display { font-size: 2rem !important; line-height: 1.15; }

  /* Buttons in sections */
  section .btn { padding: 0.7rem 1.2rem; font-size: 0.88rem; }

  /* Card grid spacing */
  .card { padding: 1.25rem; border-radius: 1rem; }

  /* Accordion summary */
  .acc summary { padding: 1rem 1.1rem; font-size: 1rem; }

  /* Footer */
  .site-footer h4 { font-size: 1rem; }
  .site-footer { padding-top: 2.5rem; }
  .site-footer .social-btn { width: 2.25rem; height: 2.25rem; }

  /* CTA band */
  .cta-band h2 { font-size: 1.9rem !important; line-height: 1.15; }
  .cta-band p { font-size: 0.95rem; }
}

/* Very small phones (≤380px) — final compression */
@media (max-width: 380px) {
  .hero h1 { font-size: 2rem !important; }
  .page-hero h1 { font-size: 2.1rem !important; }
  section h2.font-display { font-size: 1.75rem !important; }
  .hero [data-hero-affiliation] > div > div:first-child { font-size: 1.25rem; }
  .hero .btn { width: 100%; justify-content: center; }
}

/* Tables: horizontal scroll instead of overflow */
table { display: table; width: 100%; }
@media (max-width: 640px) {
  .card .overflow-x-auto table { font-size: 0.85rem; }
  .card .overflow-x-auto th,
  .card .overflow-x-auto td { padding: 0.65rem 0.85rem !important; }
}

/* Forms — single column on phones */
@media (max-width: 640px) {
  form.grid.sm\:grid-cols-2 { grid-template-columns: 1fr; }
  .form-input { font-size: 0.9rem; padding: 0.75rem 0.85rem; }
}

/* Map iframe responsive */
iframe { max-width: 100%; }

/* Marquee image sizing for mobile */
@media (max-width: 640px) {
  .marquee img { height: 10rem; width: 14rem; }
  .marquee { gap: 0.75rem; }
}

/* Long content text never overflow */
.acc-body a { word-break: break-word; }
.site-footer span, .site-footer a { word-break: break-word; }

/* Iframe video gallery — 16:9 maintained */
.aspect-video iframe { width: 100%; height: 100%; }

/* Safer container for very wide content */
html, body { max-width: 100vw; overflow-x: hidden; }
