﻿:root {
  --bg: #f7f9fc;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-2: rgba(255, 255, 255, 0.78);
  --line: rgba(15, 30, 75, 0.12);
  --ink: #0f1e4b;
  --muted: rgba(15, 30, 75, 0.70);
  --primary: #1d46c9;
  --primary-2: #2f64ff;
  --gold: #f0b429;
  --accent: #ff7a18;
  --shadow: 0 14px 34px rgba(18, 34, 86, 0.12);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --gutter: clamp(14px, 3vw, 28px);
  --section-pad-y: clamp(44px, 5vw, 64px);
  --hero-pad-y: clamp(52px, 5.6vw, 72px);
  --card-pad: 16px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background:
    radial-gradient(1200px 520px at 85% 0%, rgba(47, 100, 255, 0.14), transparent 60%),
    radial-gradient(1000px 520px at 0% 10%, rgba(240, 180, 41, 0.12), transparent 58%),
    radial-gradient(1100px 520px at 20% 90%, rgba(255, 122, 24, 0.10), transparent 55%),
    var(--bg);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; }
img { height: auto; }
button { font-family: inherit; }
button:disabled { opacity: 0.6; cursor: not-allowed; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }

.container {
  width: min(1140px, calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.glass {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.section { padding: var(--section-pad-y) 0; }
.section-alt {
  background:
    radial-gradient(900px 320px at 20% 20%, rgba(47, 100, 255, 0.10), transparent 60%),
    rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(15, 30, 75, 0.08);
  border-bottom: 1px solid rgba(15, 30, 75, 0.08);
}

.kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
  font-size: 0.78rem;
  color: rgba(29, 70, 201, 0.92);
}

.section-title {
  margin: 10px 0 12px;
  font-family: "Cinzel", serif;
  letter-spacing: -0.02em;
  font-size: clamp(1.65rem, 2.9vw, 2.4rem);
}

.muted { color: var(--muted); line-height: 1.65; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.top-strip {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(15, 30, 75, 0.10);
  backdrop-filter: blur(10px);
}

.top-strip-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.top-strip-left {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
}

.top-strip-left a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(15, 30, 75, 0.76);
}

.top-strip-left i { color: rgba(29, 70, 201, 0.90); }

.top-strip-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(15, 30, 75, 0.70);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.board-links {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.board-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(47, 100, 255, 0.08);
  border: 1px solid rgba(47, 100, 255, 0.16);
  color: rgba(29, 70, 201, 0.92);
  font-weight: 800;
  font-size: 0.82rem;
}

.board-pill:hover {
  background: rgba(47, 100, 255, 0.12);
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 99px;
  background: rgba(29, 70, 201, 0.45);
}

.nav-shell {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(15, 30, 75, 0.10);
  backdrop-filter: blur(12px);
}

.nav-inner {
  min-height: 70px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 30, 75, 0.10);
  padding: 2px;
}

.brand-name {
  font-family: "Cormorant Garamond", "Cinzel", serif;
  text-transform: capitalize;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1.06rem;
  line-height: 1.05;
  max-width: 42ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav > a {
  font-weight: 700;
  color: rgba(15, 30, 75, 0.74);
  font-size: 0.96rem;
}

.nav > a:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 11px 16px;
  min-height: 44px;
  font-weight: 800;
  border: 1px solid transparent;
  font-size: 0.92rem;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: transform 180ms var(--ease-out), box-shadow 240ms var(--ease-out), background-color 240ms var(--ease-out), filter 240ms var(--ease-out);
}

.btn i {
  width: 18px;
  height: 18px;
}

.btn.solid {
  color: #fff;
  background: linear-gradient(130deg, var(--primary-2), var(--primary));
  box-shadow: 0 16px 30px rgba(47, 100, 255, 0.16);
}

.btn.solid:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(47, 100, 255, 0.20);
}

.btn.ghost {
  color: rgba(15, 30, 75, 0.82);
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(15, 30, 75, 0.12);
  box-shadow: 0 10px 22px rgba(18, 34, 86, 0.06);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(47, 100, 255, 0.22), 0 16px 30px rgba(47, 100, 255, 0.16);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(47, 100, 255, 0.10);
  border: 1px solid rgba(47, 100, 255, 0.16);
  color: var(--primary);
  transition: transform 180ms var(--ease-out), background-color 240ms var(--ease-out);
}

.nav-toggle:hover {
  background: rgba(47, 100, 255, 0.14);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: clamp(420px, 68vh, 620px);
  min-height: clamp(420px, 68svh, 620px);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-color: rgba(47, 100, 255, 0.18);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.015);
  will-change: opacity, transform;
  transition: opacity 650ms var(--ease-out), transform 950ms var(--ease-inout);
}

.slide.is-active {
  opacity: 1;
  transform: scale(1.0);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 60% 25%, rgba(12, 24, 58, 0.22), rgba(12, 24, 58, 0.64)),
    linear-gradient(180deg, rgba(12, 24, 58, 0.32), rgba(12, 24, 58, 0.82));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--hero-pad-y) 0;
  color: #f8fafc;
  text-shadow: 0 2px 18px rgba(10, 14, 30, 0.45);
}

.hero-content > * + * { margin-top: 12px; }

.hero-kicker {
  margin: 0;
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(47, 100, 255, 0.18);
  background: rgba(255, 255, 255, 0.18);
  color: #f8fafc;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.hero h1 {
  margin: 12px 0 8px;
  font-family: "Cormorant Garamond", "Cinzel", serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  letter-spacing: -0.03em;
  color: #ffffff;
}

.hero-lead {
  max-width: 640px;
  margin: 0;
  color: rgba(248, 250, 252, 0.88);
  line-height: 1.7;
  font-size: 1.05rem;
}

.hero-quote {
  margin: 0;
  padding: 12px 14px;
  border-left: 0;
  max-width: 760px;
  background: #fff4a8;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(10, 14, 30, 0.10);
  position: relative;
}

.hero-quote::before {
  content: "";
  position: absolute;
  inset: -6px -8px;
  border: 2px solid rgba(15, 30, 75, 0.10);
  border-radius: 14px;
  transform: rotate(-1.2deg);
  pointer-events: none;
}

.hero-quote p {
  margin: 0;
  font-size: 1.14rem;
  line-height: 1.6;
  color: #0f1e4b;
  font-weight: 800;
}

.hero-quote footer {
  margin-top: 8px;
  color: rgba(15, 30, 75, 0.72);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-cta {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-ghost {
  color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.hero-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero-badges {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
}

.mini-card {
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff4a8;
  border: 1px solid rgba(15, 30, 75, 0.12);
  box-shadow: 0 8px 20px rgba(10, 14, 30, 0.10);
  position: relative;
}

.mini-card strong {
  display: block;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #0f1e4b;
}

.mini-card span { color: #0f1e4b; font-size: 0.9rem; }

.mini-card::before {
  content: "";
  position: absolute;
  inset: -6px -8px;
  border: 2px solid rgba(15, 30, 75, 0.10);
  border-radius: 14px;
  transform: rotate(-1.2deg);
  pointer-events: none;
}

.slider-controls {
  position: absolute;
  z-index: 3;
  inset-inline: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
}

.ctrl {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  background: rgba(15, 30, 75, 0.34);
  color: #fff;
  transition: transform 180ms var(--ease-out), background-color 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}

.ctrl:hover {
  transform: translateY(-1px);
  background: rgba(15, 30, 75, 0.42);
  box-shadow: 0 14px 30px rgba(15, 30, 75, 0.18);
}

.ctrl:active {
  transform: translateY(0);
}

.ctrl:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22);
}

.slider-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 30, 75, 0.34);
  backdrop-filter: blur(10px);
}

.slider-dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.92);
  padding: 0;
  cursor: pointer;
  transition: transform 180ms var(--ease-out), width 220ms var(--ease-out), background 220ms var(--ease-out);
}
.slider-dot-btn:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(47, 100, 255, 0.26);
}

.slider-dot-btn:hover { transform: translateY(-1px); }

.slider-dot-btn.is-active {
  width: 26px;
  background: linear-gradient(130deg, var(--primary-2), var(--primary));
  border-color: transparent;
}

.event-feature {
  margin: 14px auto 14px;
  max-width: 960px;
  border-radius: 22px;
  padding: 14px;
  display: grid;
  gap: 12px;
  background:
    radial-gradient(680px 240px at 20% 0%, rgba(47, 100, 255, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78));
}

.event-feature-head .muted { margin: 0; }

.event-feature-title {
  margin: 4px 0 8px;
  font-family: "Cinzel", serif;
  letter-spacing: 0.02em;
  font-weight: 1000;
}

.event-feature-media {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 30, 75, 0.10);
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  gap: 10px;
  place-items: center;
  padding: 10px;
}

.event-feature-media img {
  width: 100%;
  max-width: 680px;
  height: auto;
  max-height: min(60vh, 560px);
  max-height: min(60svh, 560px);
  object-fit: contain;
  display: block;
  border-radius: 14px;
}

.event-poster-controls {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

.event-ctrl {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(15, 30, 75, 0.14);
  background: rgba(255, 255, 255, 0.86);
  color: rgba(15, 30, 75, 0.78);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: transform 180ms var(--ease-out), background-color 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}

.event-ctrl:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(18, 34, 86, 0.10);
}

.event-ctrl:active { transform: translateY(0); }

.event-ctrl:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(47, 100, 255, 0.22);
}

.event-poster-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 30, 75, 0.12);
  background: rgba(47, 100, 255, 0.06);
}

.event-dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 30, 75, 0.16);
  background: rgba(255, 255, 255, 0.92);
  padding: 0;
  cursor: pointer;
  transition: transform 180ms var(--ease-out), width 220ms var(--ease-out), background 220ms var(--ease-out);
}
.event-dot-btn:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(47, 100, 255, 0.26);
}

.event-dot-btn:hover { transform: translateY(-1px); }

.event-dot-btn.is-active {
  width: 26px;
  background: linear-gradient(130deg, var(--primary-2), var(--primary));
  border-color: transparent;
}

.empty-note {
  border-radius: 18px;
  padding: 16px;
  border: 1px dashed rgba(15, 30, 75, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(15, 30, 75, 0.74);
}

.empty-note code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 800;
  background: rgba(15, 30, 75, 0.06);
  border: 1px solid rgba(15, 30, 75, 0.10);
  padding: 2px 6px;
  border-radius: 10px;
}

.material-row {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.material-actions {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.material-meta {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(15, 30, 75, 0.64);
  font-weight: 800;
  font-size: 0.9rem;
}

.video-slider {
  border-radius: 22px;
  padding: 16px;
  max-width: 960px;
  margin-inline: auto;
  background:
    radial-gradient(700px 220px at 20% 0%, rgba(47, 100, 255, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78));
}

.video-head {
  display: grid;
  grid-template-columns: 1.55fr 0.95fr;
  gap: 12px;
  margin-bottom: 10px;
}

.video-head-item {
  font-weight: 900;
  color: rgba(15, 30, 75, 0.72);
  letter-spacing: 0.02em;
  font-size: 0.9rem;
  padding: 0 6px;
}

.video-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1.55fr 0.95fr;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  background:
    radial-gradient(600px 220px at 40% 30%, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.64)),
    #0b1022;
  border: 1px solid rgba(15, 30, 75, 0.10);
  max-width: 100%;
}

.video-pane {
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.video-main {
  aspect-ratio: var(--video-ar, 16 / 9);
  max-height: min(68vh, 560px);
  max-height: min(68svh, 560px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
}

.video-next {
  aspect-ratio: var(--video-ar-next, 16 / 9);
  max-height: min(68vh, 560px);
  max-height: min(68svh, 560px);
  opacity: 0.92;
  cursor: pointer;
  position: relative;
  padding: 0;
  display: block;
  transform: translateY(0);
  transition: transform 180ms var(--ease-out), opacity 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}

.video-next:hover {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.video-next-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  justify-items: start;
  padding: 12px;
  gap: 10px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.00), rgba(0, 0, 0, 0.62));
}

.video-next-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 30, 75, 0.12);
  color: rgba(15, 30, 75, 0.82);
  font-weight: 900;
  font-size: 0.84rem;
}

.video-next-play {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 30, 75, 0.12);
  color: rgba(29, 70, 201, 0.92);
  font-weight: 900;
}

.video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}

.video-controls {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.photo-slider {
  border-radius: 22px;
  padding: 14px;
  max-width: 960px;
  margin-inline: auto;
  background:
    radial-gradient(680px 220px at 20% 0%, rgba(47, 100, 255, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78));
}

.photo-viewport {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 30, 75, 0.10);
  background:
    radial-gradient(520px 200px at 40% 30%, rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.60)),
    #0b1022;
}

.photo-track {
  display: flex;
  transition: transform 620ms var(--ease-out);
  will-change: transform;
}

.photo-slide {
  flex: 0 0 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-slide img {
  width: 100%;
  height: clamp(230px, 34vw, 420px);
  display: block;
  object-fit: contain;
  object-position: center;
  background: #0b1022;
  filter: saturate(1.02);
}

.photo-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  padding: 12px 16px;
  border-radius: 14px;
  color: #f8fbff;
  background: linear-gradient(180deg, rgba(7, 10, 22, 0.55), rgba(7, 10, 22, 0.82));
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.45;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.photo-controls {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.photo-ctrl {
  border: 1px solid rgba(15, 30, 75, 0.12);
  background: rgba(47, 100, 255, 0.08);
  color: rgba(29, 70, 201, 0.92);
}

.photo-ctrl:hover {
  background: rgba(47, 100, 255, 0.12);
  box-shadow: 0 14px 30px rgba(18, 34, 86, 0.10);
}

.photo-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 30, 75, 0.12);
  background: rgba(47, 100, 255, 0.06);
  max-width: min(520px, calc(100vw - 180px));
  overflow-x: auto;
}

.photo-dots::-webkit-scrollbar { height: 0; }

.photo-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(15, 30, 75, 0.16);
  background: rgba(255, 255, 255, 0.92);
  padding: 0;
  cursor: pointer;
  transition: transform 180ms var(--ease-out), width 220ms var(--ease-out), background 220ms var(--ease-out);
}
.photo-dot:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(47, 100, 255, 0.26);
}

.photo-dot:hover { transform: translateY(-1px); }

.photo-dot.is-active {
  width: 24px;
  background: linear-gradient(130deg, var(--primary-2), var(--primary));
  border-color: transparent;
}

.video-ctrl {
  border: 1px solid rgba(15, 30, 75, 0.12);
  background: rgba(47, 100, 255, 0.08);
  color: rgba(29, 70, 201, 0.92);
}

.video-ctrl:hover {
  background: rgba(47, 100, 255, 0.12);
  box-shadow: 0 14px 30px rgba(18, 34, 86, 0.10);
}

.video-dots {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.video-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: min(560px, calc(100vw - 180px));
  overflow-x: auto;
  padding: 6px 2px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.video-bar::-webkit-scrollbar { height: 0; }

.video-thumb-btn {
  scroll-snap-align: center;
  appearance: none;
  border: 1px solid rgba(15, 30, 75, 0.12);
  background: rgba(255, 255, 255, 0.76);
  border-radius: 16px;
  padding: 0;
  cursor: pointer;
  transition: transform 180ms var(--ease-out), box-shadow 240ms var(--ease-out), border-color 200ms var(--ease-out);
}
.video-thumb-btn:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(47, 100, 255, 0.22), 0 12px 28px rgba(18, 34, 86, 0.12);
}

.video-thumb-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(18, 34, 86, 0.12);
}

.video-thumb-btn.is-active {
  border-color: rgba(47, 100, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(47, 100, 255, 0.18), 0 12px 28px rgba(18, 34, 86, 0.12);
}

.video-thumb-frame {
  width: 132px;
  aspect-ratio: 16 / 9;
  border-radius: 15px;
  overflow: hidden;
  display: block;
  position: relative;
  background:
    radial-gradient(260px 100px at 30% 20%, rgba(255, 255, 255, 0.14), transparent 60%),
    #0b1022;
}

.video-thumb-media {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.92;
  pointer-events: none;
}

.video-thumb-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 1000;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.30));
  opacity: 0.78;
  transition: opacity 180ms var(--ease-out);
  pointer-events: none;
}

.video-thumb-btn:hover .video-thumb-overlay { opacity: 0.56; }
.video-thumb-btn.is-active .video-thumb-overlay { opacity: 0.40; }

.dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 30, 75, 0.18);
  background: rgba(255, 255, 255, 0.9);
  padding: 0;
  cursor: pointer;
}

.dot-btn.is-active {
  width: 26px;
  background: linear-gradient(130deg, var(--primary-2), var(--primary));
  border-color: transparent;
}

@media (max-width: 980px) {
  .video-head {
    grid-template-columns: 1fr;
  }
  .video-stage {
    grid-template-columns: 1fr;
  }
}

.notice {
  border-top: 1px solid rgba(15, 30, 75, 0.10);
  border-bottom: 1px solid rgba(15, 30, 75, 0.10);
  background: rgba(255, 255, 255, 0.74);
}

.notice-inner {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
}

.notice-badge {
  background: rgba(47, 100, 255, 0.10);
  border: 1px solid rgba(47, 100, 255, 0.18);
  color: rgba(29, 70, 201, 0.95);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.notice-text {
  color: rgba(15, 30, 75, 0.74);
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.sep { opacity: 0.6; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
  align-items: center;
}

.split-media {
  border-radius: 22px;
  min-height: 320px;
  background-color: rgba(47, 100, 255, 0.12);
  background-size: cover;
  background-position: center;
}

.split-copy { padding: 8px 0; }

.pill-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(47, 100, 255, 0.06);
  border: 1px solid rgba(47, 100, 255, 0.12);
  color: rgba(15, 30, 75, 0.78);
  font-weight: 700;
  font-size: 0.92rem;
}

.pill-row i { color: rgba(29, 70, 201, 0.90); }

.section-head { max-width: 760px; margin-bottom: 14px; }

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 14px;
}

.quick-pdf {
  margin: 18px 0 14px;
  padding: 18px;
  border-radius: 18px;
}

.quick-pdf-head h3 {
  margin: 0 0 6px;
  font-family: "Cinzel", serif;
  font-size: 1.1rem;
}

.quick-pdf-form {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.quick-pdf-form input {
  flex: 1 1 320px;
}

.grade-pill {
  border: 1px solid rgba(47, 100, 255, 0.16);
  background: rgba(47, 100, 255, 0.06);
  color: rgba(29, 70, 201, 0.92);
  border-radius: 999px;
  padding: 9px 12px;
  font-weight: 900;
  cursor: pointer;
}

.grade-pill.is-active {
  background: linear-gradient(130deg, var(--primary-2), var(--primary));
  border-color: transparent;
  color: #fff;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  border-radius: 18px;
  padding: var(--card-pad);
  background: rgba(255, 255, 255, 0.88);
  will-change: transform;
  transition: transform 180ms var(--ease-out), box-shadow 240ms var(--ease-out);
}

.stats-grid .card {
  text-align: center;
  padding: 20px;
}

.stats-grid .card h3 {
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 2.3vw, 2.2rem);
  letter-spacing: -0.02em;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(18, 34, 86, 0.14);
}

.card i { color: rgba(29, 70, 201, 0.92); }

.card h3 {
  margin: 10px 0 6px;
  font-family: "Cinzel", serif;
  letter-spacing: -0.01em;
}

.card p { margin: 0; color: rgba(15, 30, 75, 0.70); line-height: 1.65; }

.card .card-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(15, 30, 75, 0.70);
  line-height: 1.55;
  font-weight: 600;
}

.card .card-list li {
  margin: 6px 0;
}

.album-switch {
  display: inline-flex;
  gap: 8px;
  padding: 8px;
  border-radius: 18px;
  align-items: center;
}

.album-tab {
  appearance: none;
  border: 1px solid rgba(15, 30, 75, 0.10);
  background: rgba(255, 255, 255, 0.70);
  color: rgba(15, 30, 75, 0.74);
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 180ms var(--ease-out), background 200ms var(--ease-out), box-shadow 240ms var(--ease-out);
}

.album-tab:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(18, 34, 86, 0.12);
}

.album-tab i { color: rgba(29, 70, 201, 0.92); }

.album-tab.is-active {
  background: linear-gradient(130deg, var(--primary-2), var(--primary));
  border-color: transparent;
  color: #fff;
}

.album-tab.is-active i { color: rgba(255, 255, 255, 0.96); }

.album-count {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(15, 30, 75, 0.08);
  border: 1px solid rgba(15, 30, 75, 0.10);
  font-size: 0.82rem;
  font-weight: 900;
}

.album-tab.is-active .album-count {
  background: rgba(255, 255, 255, 0.20);
  border-color: rgba(255, 255, 255, 0.22);
}

.album-carousel {
  margin-top: 16px;
}

.album-viewport {
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(720px 240px at 20% 0%, rgba(47, 100, 255, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.76));
  border: 1px solid rgba(15, 30, 75, 0.10);
}

.album-track {
  display: flex;
  gap: 0;
  padding: 0;
  transition: transform 720ms var(--ease-out);
  will-change: transform;
}

.album-slide-btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  border-radius: 18px;
  overflow: hidden;
  flex: 0 0 100%;
  position: relative;
  transform: translateY(0);
  transition: transform 220ms var(--ease-out), box-shadow 260ms var(--ease-out);
  box-shadow: 0 18px 44px rgba(18, 34, 86, 0.10);
}

.album-slide-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.00), rgba(0, 0, 0, 0.26));
  opacity: 0.70;
  transition: opacity 220ms var(--ease-out);
  pointer-events: none;
}

.album-slide-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 56px rgba(18, 34, 86, 0.16);
}

.album-slide-btn:hover::after { opacity: 0.52; }

.album-slide-btn img {
  width: 100%;
  height: clamp(210px, 40vw, 460px);
  display: block;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 820ms var(--ease-out);
}

.album-slide-btn:hover img { transform: scale(1.04); }

.album-carousel-controls {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.album-dots {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.album-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 30, 75, 0.18);
  background: rgba(255, 255, 255, 0.90);
  padding: 0;
  cursor: pointer;
}

.album-dot.is-active {
  width: 26px;
  background: linear-gradient(130deg, var(--primary-2), var(--primary));
  border-color: transparent;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr;
  grid-auto-rows: 190px;
  gap: 12px;
}

.g {
  border-radius: 18px;
  overflow: hidden;
  background-color: rgba(47, 100, 255, 0.10);
  background-size: cover;
  background-position: center;
  position: relative;
}

.g:nth-child(1) { grid-row: span 2; }

.g figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 30, 75, 0.12);
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.86rem;
  color: rgba(15, 30, 75, 0.82);
}

.admissions {
  border-radius: 22px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admissions-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-card,
.contact-form {
  border-radius: 22px;
  padding: 18px;
}

.contact-items {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.contact-items div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(15, 30, 75, 0.78);
}

.contact-items i { color: rgba(29, 70, 201, 0.90); margin-top: 2px; }

.cta-band {
  margin: 10px 0 26px;
  padding: 16px 0 26px;
}

.cta-band-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-radius: 22px;
  background:
    radial-gradient(720px 260px at 10% 0%, rgba(47, 100, 255, 0.16), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.86));
  border: 1px solid rgba(15, 30, 75, 0.10);
  box-shadow: 0 26px 60px rgba(18, 34, 86, 0.12);
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.section-title::after {
  content: "";
  display: block;
  width: 52px;
  height: 4px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--primary-2), var(--primary));
}

.contact-form h3 { margin-top: 0; font-family: "Cinzel", serif; }

label {
  display: grid;
  gap: 7px;
  margin: 12px 0;
  font-weight: 800;
  color: rgba(15, 30, 75, 0.78);
}

input,
textarea {
  width: 100%;
  border-radius: 14px;
  padding: 12px 12px;
  border: 1px solid rgba(15, 30, 75, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: rgba(15, 30, 75, 0.92);
  outline: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(47, 100, 255, 0.22);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
}

.lightbox.is-open { display: grid; place-items: center; }

.lb-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 14, 30, 0.58);
  backdrop-filter: blur(10px);
}

.lb-panel {
  position: relative;
  width: min(980px, calc(100vw - 28px));
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.30);
  overflow: hidden;
}

.lb-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(15, 30, 75, 0.10);
  background: rgba(255, 255, 255, 0.92);
}

.lb-title { display: flex; gap: 10px; align-items: baseline; }

.lb-album {
  font-weight: 1000;
  font-family: "Cinzel", serif;
  letter-spacing: 0.02em;
}

.lb-index {
  color: rgba(15, 30, 75, 0.60);
  font-weight: 900;
  font-size: 0.92rem;
}

.lb-close {
  border: 1px solid rgba(15, 30, 75, 0.12);
  background: rgba(255, 255, 255, 0.78);
  border-radius: 12px;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.lb-media {
  background: rgba(10, 14, 30, 0.06);
  display: grid;
  place-items: center;
  padding: 12px;
  position: relative;
}

.lb-media img {
  width: 100%;
  height: min(70vh, 620px);
  height: min(70svh, 620px);
  object-fit: contain;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.80);
}

.lb-media.is-empty img { display: none; }

.lb-empty {
  display: none;
  padding: 16px;
  border-radius: 14px;
  border: 1px dashed rgba(15, 30, 75, 0.22);
  background: rgba(255, 255, 255, 0.92);
  color: rgba(15, 30, 75, 0.72);
  font-weight: 800;
  text-align: center;
  max-width: 420px;
}

.lb-media.is-empty .lb-empty { display: block; }

.lb-actions {
  padding: 12px 14px 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

body.lb-open { overflow: hidden; }

.whatsapp-fab {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #1fa855;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(15, 30, 75, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: transform 180ms var(--ease-out), box-shadow 240ms var(--ease-out), filter 240ms var(--ease-out);
  min-height: 44px;
  min-width: 44px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.whatsapp-fab i { width: 18px; height: 18px; }

.whatsapp-fab:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 22px 44px rgba(15, 30, 75, 0.22);
}

.whatsapp-fab:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(31, 168, 85, 0.35), 0 22px 44px rgba(15, 30, 75, 0.22);
}

.promo-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}

.promo-modal.is-open { display: grid; place-items: center; }

.promo-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 14, 30, 0.58);
  backdrop-filter: blur(10px);
}

.promo-panel {
  position: relative;
  width: min(980px, calc(100vw - 28px));
  max-height: min(88vh, 880px);
  max-height: min(88svh, 880px);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.30);
  overflow: hidden;
}

.promo-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  border: 1px solid rgba(15, 30, 75, 0.12);
  background: rgba(255, 255, 255, 0.84);
  border-radius: 14px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.promo-media {
  background:
    radial-gradient(680px 260px at 20% 0%, rgba(47, 100, 255, 0.14), transparent 60%),
    rgba(255, 255, 255, 0.90);
  padding: 14px;
  display: grid;
  place-items: center;
}

.promo-media img {
  width: 100%;
  height: auto;
  max-height: calc(88vh - 28px);
  max-height: calc(88svh - 28px);
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid rgba(15, 30, 75, 0.10);
  background: rgba(255, 255, 255, 0.92);
}

body.modal-open { overflow: hidden; }

.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: none;
}

.pdf-modal.is-open { display: grid; place-items: center; }

.pdf-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 14, 30, 0.58);
  backdrop-filter: blur(10px);
}

.pdf-panel {
  position: relative;
  width: min(1100px, calc(100vw - 28px));
  height: min(86vh, 860px);
  height: min(86svh, 860px);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.30);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.pdf-top {
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(15, 30, 75, 0.10);
  background: rgba(255, 255, 255, 0.92);
}

.pdf-title-text {
  font-family: "Cinzel", serif;
  font-weight: 1000;
  letter-spacing: 0.02em;
  color: rgba(15, 30, 75, 0.88);
}

.pdf-actions {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.pdf-close {
  border: 1px solid rgba(15, 30, 75, 0.12);
  background: rgba(255, 255, 255, 0.84);
  border-radius: 14px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.pdf-body {
  background:
    radial-gradient(700px 240px at 20% 0%, rgba(47, 100, 255, 0.12), transparent 60%),
    rgba(255, 255, 255, 0.90);
  min-height: 0;
  position: relative;
}

.pdf-body iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.pdf-empty {
  display: none;
  padding: 18px;
  text-align: center;
  font-weight: 800;
  color: rgba(15, 30, 75, 0.74);
}

body.pdf-open { overflow: hidden; }

.footer {
  border-top: 1px solid rgba(15, 30, 75, 0.10);
  background: rgba(255, 255, 255, 0.88);
}

.footer-inner {
  padding: 26px 0;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 14px;
  align-items: start;
}

.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-logo {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(15, 30, 75, 0.10);
}

.footer-logo img { width: 100%; height: 100%; object-fit: contain; }

.footer-links { display: grid; gap: 8px; font-weight: 800; color: rgba(15, 30, 75, 0.72); }
.footer-contact { display: grid; gap: 10px; }
.footer-contact div { display: flex; gap: 10px; color: rgba(15, 30, 75, 0.70); }
.footer-contact i { color: rgba(29, 70, 201, 0.90); }

.footer-bottom {
  padding: 12px 0 18px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: rgba(15, 30, 75, 0.62);
  border-top: 1px solid rgba(15, 30, 75, 0.08);
}

/* Reveal effects only when JS has successfully enabled them */
.reveal {
  opacity: 1;
  transform: none;
}

body.has-reveal .reveal {
  opacity: 0;
  transform: translateY(14px);
  will-change: opacity, transform;
  transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out);
}

body.has-reveal .reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .top-strip-left a span { display: none; }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(92vw, 360px);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 30, 75, 0.12);
  }

  .nav.open { display: flex; }

  .hero {
    min-height: clamp(380px, 62vh, 560px);
    min-height: clamp(380px, 62svh, 560px);
  }
  .hero-badges { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: 1fr; }
  .album-slide-btn img { height: clamp(200px, 45vw, 420px); }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .g:nth-child(1) { grid-row: span 1; }

  .admissions { flex-direction: column; align-items: flex-start; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .cta-band-inner { grid-template-columns: 1fr; }
  .cta-band-actions { justify-content: flex-start; }
}

@media (max-width: 520px) {
  :root {
    --section-pad-y: 42px;
    --hero-pad-y: 50px;
    --card-pad: 14px;
  }

  .top-strip-right { display: none; }
  .top-strip-inner { min-height: 34px; }
  .top-strip-left { gap: 8px; font-size: 0.84rem; }

  .nav-inner { min-height: 58px; }
  .brand-logo { width: 40px; height: 40px; }

  .hero {
    min-height: clamp(340px, 58vh, 520px);
    min-height: clamp(340px, 58svh, 520px);
  }

  .slide {
    background-size: contain;
    background-position: center;
    background-color: rgba(15, 30, 75, 0.10);
  }

  .cta-band-inner { padding: 18px; }

  .event-feature { padding: 12px; }
  .event-feature-title { font-size: 1.2rem; }
  .event-feature-head .muted {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .event-feature-media { padding: 8px; border-radius: 16px; }
  .event-feature-media img { max-height: min(48svh, 360px); }
  .event-ctrl { width: 40px; height: 40px; }
  .event-poster-dots { padding: 6px 9px; gap: 7px; }
  .event-dot-btn { width: 9px; height: 9px; }
  .event-dot-btn.is-active { width: 22px; }

  .photo-slide img { height: clamp(200px, 55vw, 340px); }
  .photo-ctrl { width: 40px; height: 40px; }
  .photo-dots { padding: 6px 9px; gap: 7px; }
  .photo-dot { width: 8px; height: 8px; }
  .photo-dot.is-active { width: 20px; }

  .lb-panel { width: min(92vw, 520px); }
  .lb-media img { height: min(56svh, 420px); }
  .lb-actions { flex-direction: column; }

  .pdf-modal.is-mobile-preview .pdf-body iframe { display: none; }
  .pdf-modal.is-mobile-preview .pdf-empty { display: block; }

  .slider-controls { bottom: 14px; gap: 8px; }
  .ctrl { width: 42px; height: 42px; }
  .slider-dots { padding: 7px 9px; gap: 7px; }
  .slider-dot-btn { width: 9px; height: 9px; }
  .slider-dot-btn.is-active { width: 22px; }

  .brand-name {
    max-width: 22ch;
    font-size: 0.98rem;
  }
  .album-switch { width: 100%; justify-content: space-between; }
  .album-tab { flex: 1; justify-content: center; }

  .album-track { padding: 10px; }
  .album-slide-btn { flex-basis: 88vw; }
  .album-slide-btn img { height: clamp(180px, 60vw, 320px); }

  .whatsapp-fab {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    padding: 10px 14px;
    font-size: 0.92rem;
  }

  .whatsapp-fab span { display: none; }
}

@media (max-width: 360px) {
  .whatsapp-fab {
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    padding: 9px 12px;
  }
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}

