/* =========================================================
   LENS Education System — site styles
   Brand colours come from the logo: navy #081c40 + gold #fcc000
   Themes: [data-theme="light"] = Morning, [data-theme="dark"] = Night
   ========================================================= */

:root {
  --navy: #081c40;
  --navy-2: #0d2a5c;
  --navy-3: #163d80;
  --navy-deep: #040e22;
  --gold: #fcc000;
  --gold-2: #ffd447;
  --gold-3: #ffe48a;
  --gold-deep: #c89400;
  --white: #ffffff;

  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-accent: "Fraunces", Georgia, "Times New Roman", serif;

  --container: 1200px;
  --gutter: 16px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
  --header-h: 84px;

  /* Morning (default) */
  --bg: #fbf8f1;
  --bg-2: #f3eee2;
  --surface: #ffffff;
  --surface-2: #f8f4ea;
  --text: #13213d;
  --muted: #4d5b78;
  --heading: #081c40;
  --line: rgba(8, 28, 64, .12);
  --accent-ink: #8a6600;
  --accent-grad: linear-gradient(100deg, #b98500 0%, #e3a600 55%, #b98500 100%);
  --chip-bg: rgba(8, 28, 64, .06);
  --shadow: 0 12px 30px -14px rgba(8, 28, 64, .28);
  --shadow-lg: 0 34px 70px -28px rgba(8, 28, 64, .42);
  --glass: rgba(255, 255, 255, .72);
  --input-bg: #ffffff;
  color-scheme: light;
}

/* Night — follows the OS before JS runs, then the saved choice wins */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #050d1f; --bg-2: #081631; --surface: #0b1b3a; --surface-2: #0f2248;
    --text: #e3e9f6; --muted: #9eadcb; --heading: #ffffff; --line: rgba(255, 255, 255, .1);
    --accent-ink: #fcc000; --accent-grad: linear-gradient(100deg, #fcc000 0%, #ffe48a 50%, #fcc000 100%);
    --chip-bg: rgba(255, 255, 255, .07); --shadow: 0 12px 30px -14px rgba(0, 0, 0, .7);
    --shadow-lg: 0 34px 70px -28px rgba(0, 0, 0, .8); --glass: rgba(11, 27, 58, .72); --input-bg: #081631;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #050d1f; --bg-2: #081631; --surface: #0b1b3a; --surface-2: #0f2248;
  --text: #e3e9f6; --muted: #9eadcb; --heading: #ffffff; --line: rgba(255, 255, 255, .1);
  --accent-ink: #fcc000; --accent-grad: linear-gradient(100deg, #fcc000 0%, #ffe48a 50%, #fcc000 100%);
  --chip-bg: rgba(255, 255, 255, .07); --shadow: 0 12px 30px -14px rgba(0, 0, 0, .7);
  --shadow-lg: 0 34px 70px -28px rgba(0, 0, 0, .8); --glass: rgba(11, 27, 58, .72); --input-bg: #081631;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease);
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--heading); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0 0 1em; }
::selection { background: var(--gold); color: var(--navy); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; overflow-x: clip; }
.section-alt { background: var(--bg-2); }
.text-center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 10px 18px;
  background: var(--gold); color: var(--navy); font-weight: 700; border-radius: 999px; transition: top .3s;
}
.skip-link:focus { top: 16px; }

.ic { width: 24px; height: 24px; flex: none; }
.ic-sm { width: 18px; height: 18px; }
.ic-lg { width: 34px; height: 34px; }

.accent { font-family: var(--font-accent); font-style: italic; font-weight: 500; letter-spacing: -.01em; }
.grad-text {
  background: var(--accent-grad); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer-text 6s linear infinite;
}
@keyframes shimmer-text { to { background-position: 200% center; } }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy); --btn-fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; font-family: var(--font-head); font-weight: 700;
  font-size: 15px; letter-spacing: .01em; line-height: 1; background: var(--btn-bg); color: var(--btn-fg);
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -12px rgba(252, 192, 0, .55); }
.btn .ic { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover .ic-arrow-right, .btn:hover .ic-arrow-up-right, .btn:hover .ic-send { transform: translateX(4px); }
.btn-gold { --btn-bg: var(--gold); --btn-fg: var(--navy); }
.btn-gold:hover { --btn-bg: var(--gold-2); }
.btn-navy { --btn-bg: var(--navy); --btn-fg: #fff; }
:root[data-theme="dark"] .btn-navy { --btn-bg: #fff; --btn-fg: var(--navy); }
.btn-ghost { --btn-bg: transparent; --btn-fg: currentColor; box-shadow: inset 0 0 0 2px currentColor; }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--gold), 0 16px 30px -12px rgba(252, 192, 0, .4); color: var(--gold); }
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent-ink); font-family: var(--font-head); font-size: 15px; }
.link-arrow .ic { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover .ic { transform: translateX(5px); }

/* ---------- Section heading ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow .ic { width: 18px; height: 18px; animation: spin 9s linear infinite; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.text-center { margin-inline: auto; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; }
.underline-draw { position: relative; display: inline-block; }
.underline-draw::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; border-radius: 6px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) .4s;
}
.is-in .underline-draw::after, .underline-draw.is-in::after { transform: scaleX(1); }

/* ---------- Loader (aperture opening) ---------- */
.loader {
  position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; pointer-events: none;
}
.loader-iris {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0; border-radius: 50%;
  transform: translate(-50%, -50%); box-shadow: 0 0 0 150vmax var(--navy);
  animation: iris-open .9s var(--ease) 1.15s forwards;
}
.loader-mark { position: relative; display: grid; justify-items: center; gap: 18px; animation: loader-out .45s ease 1s forwards; }
.loader-mark svg { width: 110px; height: 110px; color: var(--gold); animation: spin 2.4s var(--ease) both; }
.loader-mark svg * { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s var(--ease) forwards; }
.loader-mark span { font-family: var(--font-head); font-weight: 800; letter-spacing: .5em; color: #fff; font-size: 18px; padding-left: .5em; opacity: 0; animation: fade-up .6s var(--ease) .35s forwards; }
.loader.is-done { display: none; }
html.no-loader .loader, html:not(.js) .loader { display: none; }
@keyframes iris-open { to { width: 300vmax; height: 300vmax; } }
@keyframes loader-out { to { opacity: 0; transform: scale(.7); } }

/* ---------- Scroll progress ---------- */
.progress-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1200;
  background: linear-gradient(90deg, var(--gold), var(--gold-3));
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 900; height: var(--header-h); color: #fff;
  transition: background-color .4s var(--ease), color .4s, box-shadow .4s, transform .5s var(--ease), height .4s var(--ease);
}
.site-header.is-solid {
  --header-h: 72px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  color: var(--heading); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(0, 0, 0, .35);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { position: relative; flex: none; display: block; width: 158px; }
.brand img { width: 158px; height: auto; transition: opacity .3s; }
.brand .brand-dark { position: absolute; inset: 0; opacity: 0; }
:root[data-theme="light"] .site-header.is-solid .brand-dark { opacity: 1; }
:root[data-theme="light"] .site-header.is-solid .brand-light { opacity: 0; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  position: relative; display: block; padding: 10px 14px; font-family: var(--font-head); font-weight: 600; font-size: 15px;
  border-radius: 999px; transition: color .3s;
}
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-link.is-active { color: var(--gold); }
:root[data-theme="light"] .site-header.is-solid .nav-link.is-active { color: var(--accent-ink); }
.header-actions { display: flex; align-items: center; gap: 12px; }

/* Theme toggle: sun <-> moon */
.theme-toggle {
  position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  transition: background-color .3s, transform .4s var(--ease-back);
}
.site-header.is-solid .theme-toggle { background: var(--chip-bg); box-shadow: inset 0 0 0 1px var(--line); }
.theme-toggle:hover { transform: rotate(-12deg) scale(1.06); }
.sun-moon { width: 24px; height: 24px; overflow: visible; }
.sun-moon .core { fill: var(--gold); transform-origin: 12px 12px; transition: transform .6s var(--ease-back); }
.sun-moon .bite { transform: translate(10px, -10px); transition: transform .6s var(--ease); }
.sun-moon .rays { stroke: var(--gold); stroke-width: 2; stroke-linecap: round; transform-origin: 12px 12px; transition: transform .6s var(--ease-back), opacity .4s; }
:root[data-theme="dark"] .sun-moon .core { transform: scale(1.55); fill: #ffe48a; }
:root[data-theme="dark"] .sun-moon .bite { transform: translate(0, 0); }
:root[data-theme="dark"] .sun-moon .rays { transform: rotate(-90deg) scale(.3); opacity: 0; }
.theme-label { display: none; }

.menu-toggle {
  display: none; position: relative; width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
}
.menu-toggle span {
  position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .45s var(--ease), opacity .3s, top .45s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; right: 19px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-open .menu-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.menu-open .menu-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 850; background: var(--navy-deep); color: #fff;
  display: flex; flex-direction: column; justify-content: center; padding: 110px 28px 40px;
  clip-path: circle(0 at calc(100% - 44px) 42px); transition: clip-path .7s var(--ease); overflow-y: auto;
}
.mobile-menu.is-open { clip-path: circle(150vmax at calc(100% - 44px) 42px); }
.mobile-menu ul { list-style: none; padding: 0; margin: 0 0 32px; }
.mobile-menu li { overflow: hidden; }
.mobile-menu a.m-link {
  display: flex; align-items: center; justify-content: space-between; padding: 10px 0;
  font-family: var(--font-head); font-size: clamp(26px, 7vw, 36px); font-weight: 800; border-bottom: 1px solid rgba(255, 255, 255, .08);
  transform: translateY(100%); transition: transform .6s var(--ease), color .3s;
}
.mobile-menu a.m-link .ic { color: var(--gold); opacity: .6; }
.mobile-menu a.m-link.is-active { color: var(--gold); }
.mobile-menu.is-open a.m-link { transform: none; transition-delay: calc(.12s + var(--i) * 55ms); }
.mobile-menu .m-contact { display: grid; gap: 10px; color: rgba(255, 255, 255, .75); font-size: 15px; opacity: 0; transition: opacity .5s .5s; }
.mobile-menu.is-open .m-contact { opacity: 1; }
.mobile-menu .m-contact a, .mobile-menu .m-contact span { display: flex; gap: 10px; align-items: center; }
.mobile-menu .m-contact .ic { width: 18px; height: 18px; color: var(--gold); }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { color: #fff; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.menu-open .site-header .brand-dark { opacity: 0 !important; }
body.menu-open .site-header .brand-light { opacity: 1 !important; }

/* ---------- Reveal animations (only when JS is running) ---------- */
html.js [data-reveal] { opacity: 0; transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
html.js [data-reveal^="clip"] { transition: clip-path 1.2s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
html.js [data-reveal="up"], html.js [data-reveal=""] { transform: translateY(40px); }
html.js [data-reveal="left"] { transform: translateX(-50px); }
html.js [data-reveal="right"] { transform: translateX(50px); }
html.js [data-reveal="zoom"] { transform: scale(.88); }
html.js [data-reveal="clip"] { opacity: 1; clip-path: inset(0 100% 0 0 round var(--radius-lg)); }
html.js [data-reveal="clip-up"] { opacity: 1; clip-path: inset(100% 0 0 0 round var(--radius-lg)); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js [data-reveal^="clip"].is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }

/* Split headline words */
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-w > span { display: inline-block; }
html.js .split-ready .split-w > span { transform: translateY(110%) rotate(4deg); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms + var(--base, 0ms)); }
html.js .split-ready.is-in .split-w > span { transform: none; }

/* Icon draw-on */
html.js [data-draw] svg.ic * { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js [data-draw].is-in svg.ic * { animation: draw 1.6s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 1ms + 200ms); }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Generic keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse-ring { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes twinkle { 0%, 100% { opacity: .15; transform: scale(.6); } 50% { opacity: 1; transform: scale(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(10deg); } 60% { transform: rotate(-6deg); } 80% { transform: rotate(3deg); } }
@keyframes blink { 0%, 44%, 56%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.1); } }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 20% { transform: scale(1.2); } 40% { transform: scale(.95); } 60% { transform: scale(1.12); } }
@keyframes punch { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(-5px) rotate(-6deg); } 55% { transform: translateX(7px) rotate(4deg); } }
@keyframes toss { 0%, 100% { transform: translateY(0) rotate(0); } 40% { transform: translateY(-10px) rotate(-14deg); } 70% { transform: translateY(2px) rotate(6deg); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-3px) rotate(-4deg); } 75% { transform: translateX(3px) rotate(4deg); } }
@keyframes flicker { 0%, 100% { opacity: 1; } 30% { opacity: .4; } 35% { opacity: 1; } 60% { opacity: .6; } 65% { opacity: 1; } }
@keyframes coin { 0%, 100% { transform: translateY(0); } 35% { transform: translateY(-8px); } 55% { transform: translateY(0); } 70% { transform: translateY(-3px); } }
@keyframes hop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Hover animations per icon — applied when the parent card is hovered */
.icon-anim:hover .ic-eye, .icon-anim:focus-within .ic-eye { animation: blink .9s ease; }
.icon-anim:hover .ic-target, .icon-anim:hover .ic-crosshair, .icon-anim:hover .ic-life-buoy, .icon-anim:hover .ic-aperture, .icon-anim:hover .ic-compass { animation: spin 1.1s var(--ease); }
.icon-anim:hover .ic-gem, .icon-anim:hover .ic-book-heart, .icon-anim:hover .ic-heart-handshake, .icon-anim:hover .ic-heart { animation: heartbeat 1s ease; }
.icon-anim:hover .ic-hand-fist { animation: punch .7s ease; }
.icon-anim:hover .ic-graduation-cap { animation: toss .9s var(--ease); }
.icon-anim:hover .ic-gamepad-2, .icon-anim:hover .ic-phone, .icon-anim:hover .ic-phone-call { animation: shake .5s ease 2; }
.icon-anim:hover .ic-monitor, .icon-anim:hover .ic-code { animation: flicker .9s linear; }
.icon-anim:hover .ic-hand-coins, .icon-anim:hover .ic-calculator { animation: coin .8s ease; }
.icon-anim:hover .ic-users, .icon-anim:hover .ic-map-pin, .icon-anim:hover .ic-mail, .icon-anim:hover .ic-clock { animation: hop .6s ease 2; }
.icon-anim:hover .ic-flask-conical, .icon-anim:hover .ic-microscope, .icon-anim:hover .ic-atom, .icon-anim:hover .ic-briefcase,
.icon-anim:hover .ic-landmark, .icon-anim:hover .ic-chart-line, .icon-anim:hover .ic-notebook-pen { animation: wiggle .8s ease; }

/* ---------- Page banner (inner pages) & hero shared ---------- */
.dark-zone { color: #fff; }
.dark-zone h1, .dark-zone h2, .dark-zone h3 { color: #fff; }

.stars { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .8s; }
:root[data-theme="dark"] .stars { opacity: 1; }
.stars i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px #fff; animation: twinkle var(--t, 3s) ease-in-out var(--dl, 0s) infinite; }
.stars i.big { width: 3px; height: 3px; background: var(--gold-3); box-shadow: 0 0 10px var(--gold); }
.sun-glow {
  position: absolute; width: 60vmax; height: 60vmax; right: -20vmax; top: -30vmax; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(252, 192, 0, .35), rgba(252, 192, 0, 0) 60%); transition: opacity .8s; animation: float 9s ease-in-out infinite;
}
:root[data-theme="dark"] .sun-glow { opacity: 0; }

.page-banner {
  position: relative; min-height: clamp(380px, 58vh, 560px); display: flex; align-items: flex-end; overflow: hidden;
  padding: calc(var(--header-h) + 60px) 0 clamp(70px, 9vw, 110px); background: var(--navy);
}
.page-banner .banner-img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.page-banner::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(4, 14, 34, .94) 0%, rgba(8, 28, 64, .82) 45%, rgba(8, 28, 64, .45) 100%);
}
.page-banner > .container { position: relative; z-index: 2; }
.page-banner .stars, .page-banner .sun-glow { z-index: 1; }
.banner-aperture {
  position: absolute; right: max(-120px, -8vw); top: calc(50% - clamp(140px, 19vw, 260px)); width: clamp(280px, 38vw, 520px); height: auto; aspect-ratio: 1;
  color: var(--gold); opacity: .22; animation: spin 40s linear infinite; z-index: 1;
}
.banner-aperture.ic { stroke-width: .6; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .75); margin-bottom: 18px; font-family: var(--font-head); letter-spacing: .04em; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .ic { width: 14px; height: 14px; color: var(--gold); }
.page-banner h1 { font-size: clamp(40px, 7vw, 84px); font-weight: 800; margin-bottom: 14px; }
.page-banner p { max-width: 640px; color: rgba(255, 255, 255, .82); font-size: 18px; margin: 0; }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; color: var(--bg); width: 100%; height: clamp(40px, 6vw, 90px); }
.wave path { transition: fill .5s; fill: currentColor; }
.wave.alt { color: var(--bg-2); }

/* ---------- HERO (home) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 40px) 0 150px; overflow: hidden; background: var(--navy-deep); isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-video, .hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 75% 40%, rgba(22, 61, 128, .25), transparent 60%),
    linear-gradient(100deg, rgba(4, 14, 34, .95) 0%, rgba(8, 28, 64, .86) 42%, rgba(8, 28, 64, .55) 100%);
}
.hero-grain { position: absolute; inset: 0; opacity: .08; background-image: radial-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px); background-size: 3px 3px; mix-blend-mode: overlay; }
.orbs span {
  position: absolute; border-radius: 50%; filter: blur(2px); background: radial-gradient(circle at 30% 30%, rgba(255, 228, 138, .9), rgba(252, 192, 0, .15) 60%, transparent 70%);
  animation: float var(--t, 8s) ease-in-out var(--dl, 0s) infinite; opacity: .55;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px;
  font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff;
}
.chip .dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.chip .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--gold); animation: pulse-ring 1.8s ease-out infinite; }
.hero-welcome { display: block; margin: 26px 0 10px; font-family: var(--font-head); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: 14px; color: var(--gold); }
.hero h1 { font-size: clamp(44px, 7.4vw, 96px); font-weight: 800; line-height: 1.02; margin-bottom: 24px; letter-spacing: -.035em; }
.hero h1 .accent { color: var(--gold); font-weight: 600; }
.hero-lead { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .85); max-width: 560px; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.play-btn { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 15px; }
.play-btn .pb-circle {
  position: relative; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); transition: background-color .3s, transform .4s var(--ease-back);
}
.play-btn .pb-circle::before, .play-btn .pb-circle::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); animation: pulse-ring 2.2s ease-out infinite; }
.play-btn .pb-circle::after { animation-delay: 1.1s; }
.play-btn .ic { width: 20px; height: 20px; fill: currentColor; margin-left: 3px; }
.play-btn:hover .pb-circle { background: var(--gold); color: var(--navy); transform: scale(1.08); }

/* Hero lens visual */
.hero-lens { position: relative; width: min(100%, 470px); aspect-ratio: 1; justify-self: center; }
.lens-ring { position: absolute; inset: 0; animation: spin 28s linear infinite; }
.lens-ring text { fill: rgba(255, 255, 255, .85); font-family: var(--font-head); font-weight: 700; font-size: 13.2px; letter-spacing: 4.2px; text-transform: uppercase; }
.lens-aperture { position: absolute; inset: 9%; color: var(--gold); animation: spin-rev 22s linear infinite; }
.lens-aperture.ic { width: 82%; height: 82%; stroke-width: .5; }
.lens-glass {
  position: absolute; inset: 17%; border-radius: 50%; overflow: hidden; background: var(--navy);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .08), 0 0 0 1px rgba(252, 192, 0, .6), 0 40px 80px -20px rgba(0, 0, 0, .7), 0 0 80px rgba(252, 192, 0, .18);
}
.lens-glass img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: lens-focus 20s linear infinite; animation-delay: calc(var(--i) * 4s); }
.lens-glass::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .35), transparent 35%), radial-gradient(circle at 70% 80%, rgba(8, 28, 64, .55), transparent 55%);
}
@keyframes lens-focus {
  0% { opacity: 0; filter: blur(16px); transform: scale(1.25); }
  5% { opacity: 1; filter: blur(14px); }
  11% { filter: blur(0); transform: scale(1.06); }
  20% { opacity: 1; filter: blur(0); transform: scale(1); }
  25% { opacity: 0; filter: blur(4px); transform: scale(1); }
  100% { opacity: 0; }
}
.lens-badge {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 20px 40px -18px rgba(0, 0, 0, .6);
  font-size: 13px; line-height: 1.3; color: #fff; animation: float 6s ease-in-out infinite;
}
.lens-badge b { display: block; font-family: var(--font-head); font-size: 15px; }
.lens-badge .lb-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--gold); color: var(--navy); }
.lens-badge .lb-ic .ic { width: 20px; height: 20px; }
.lens-badge.one { left: -6%; bottom: 14%; }
.lens-badge.two { right: -4%; top: 10%; animation-delay: -3s; }

.hero-bottom { position: absolute; left: 0; right: 0; bottom: 28px; }
.scroll-cue { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255, 255, 255, .7); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.scroll-cue .mouse { width: 24px; height: 38px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .6); position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--gold); animation: bob 1.6s ease-in-out infinite; }

/* Stats (overlapping the hero) */
.stats-wrap { position: relative; z-index: 5; margin-top: -90px; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.stat { position: relative; padding: 30px 26px; display: flex; gap: 16px; align-items: center; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.stat-ic { flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(252, 192, 0, .15); color: var(--accent-ink); transition: transform .5s var(--ease-back), background-color .3s; }
.stat:hover .stat-ic { transform: rotate(-10deg) scale(1.08); background: var(--gold); color: var(--navy); }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(30px, 3.2vw, 40px); color: var(--heading); line-height: 1; }
.stat-label { font-size: 14px; color: var(--muted); line-height: 1.35; margin-top: 4px; }

/* ---------- Principal's message ---------- */
.principal { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.principal-visual { position: relative; aspect-ratio: 1; max-width: 440px; width: 100%; justify-self: center; }
.pv-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed rgba(252, 192, 0, .55); animation: spin 30s linear infinite; }
.pv-ring.two { inset: 8%; border-style: solid; border-color: var(--line); animation: none; }
.pv-core {
  position: absolute; inset: 15%; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 30% 25%, var(--navy-3), var(--navy) 65%); box-shadow: var(--shadow-lg);
}
.pv-core img { width: 64%; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .4)); animation: float 7s ease-in-out infinite; }
.pv-dot { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(252, 192, 0, .25); }
.pv-orbit { position: absolute; inset: 0; animation: spin 12s linear infinite; }
.pv-orbit .pv-dot { top: -9px; left: calc(50% - 9px); }
.quote-mark { width: 72px; height: 72px; color: var(--gold); margin-bottom: 10px; }
.quote-mark.ic { stroke-width: 1.4; }
.principal-quote { font-family: var(--font-accent); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.45; color: var(--heading); font-weight: 400; margin: 0 0 28px; }
.principal-quote .qw { transition: color .4s, opacity .4s; }
html.js .principal-quote.scrub .qw { opacity: .22; }
html.js .principal-quote.scrub .qw.on { opacity: 1; }
.sign { display: flex; align-items: center; gap: 16px; }
.sign-line { width: 60px; height: 3px; background: var(--gold); border-radius: 3px; }
.sign b { font-family: var(--font-head); color: var(--heading); display: block; }
.sign span { color: var(--muted); font-size: 15px; }

/* ---------- Pillars (mission / vision / values) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar {
  position: relative; border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow); transform-style: preserve-3d; transition: box-shadow .5s var(--ease), border-color .4s;
}
.pillar:hover { box-shadow: var(--shadow-lg); border-color: rgba(252, 192, 0, .6); }
.pillar-img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.pillar-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pillar:hover .pillar-img img { transform: scale(1.1) rotate(1deg); }
.pillar-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(8, 28, 64, .6)); }
.pillar-body { position: relative; padding: 46px 30px 34px; }
.pillar-ic {
  position: absolute; top: -34px; left: 30px; width: 68px; height: 68px; border-radius: 20px; display: grid; place-items: center;
  background: var(--gold); color: var(--navy); box-shadow: 0 14px 30px -10px rgba(252, 192, 0, .7); transition: transform .5s var(--ease-back), border-radius .5s;
}
.pillar:hover .pillar-ic { transform: translateY(-6px) rotate(-8deg); border-radius: 50%; }
.pillar-ic .ic { width: 30px; height: 30px; }
.pillar h3 { font-size: 24px; }
.pillar p { color: var(--muted); margin: 0; }
.pillar-num { position: absolute; right: 24px; top: 18px; font-family: var(--font-head); font-weight: 800; font-size: 54px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line); }

/* ---------- Features (What sets LENS apart) ---------- */
.features { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.feature {
  --mx: 50%; --my: 50%;
  grid-column: span 4; position: relative; padding: 32px 28px; border-radius: var(--radius-lg); background: var(--surface);
  border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.feature:nth-child(1), .feature:nth-child(2) { grid-column: span 6; }
.feature:nth-child(9), .feature:nth-child(10) { grid-column: span 6; }
.features-2 .feature:nth-child(n) { grid-column: span 6; }
.feature::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(252, 192, 0, .16), transparent 45%);
}
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(252, 192, 0, .55); }
.feature:hover::before { opacity: 1; }
.feature-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.feature-ic {
  position: relative; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: var(--gold); transition: transform .6s var(--ease-back), background .4s;
}
.feature-ic::after { content: ""; position: absolute; inset: -6px; border-radius: 22px; border: 1.5px dashed rgba(252, 192, 0, .5); opacity: 0; transition: opacity .4s; animation: spin 10s linear infinite; }
.feature:hover .feature-ic { transform: rotate(-8deg) scale(1.06); }
.feature:hover .feature-ic::after { opacity: 1; }
.feature-ic .ic { width: 30px; height: 30px; }
.feature-n { font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--muted); opacity: .6; letter-spacing: .08em; }
.feature h3 { font-size: 21px; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 16px; margin: 0; }

.timing-strip {
  margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 32px; border-radius: var(--radius-lg); background: linear-gradient(110deg, var(--navy), var(--navy-3)); color: #fff; position: relative; overflow: hidden;
}
.timing-strip::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 30px solid rgba(252, 192, 0, .12); }
.timing-strip p { margin: 0; max-width: 760px; display: flex; gap: 14px; align-items: center; font-size: 17px; }
.timing-strip p .ic { color: var(--gold); width: 34px; height: 34px; flex: none; animation: spin 12s linear infinite; }

/* ---------- Video showcase ---------- */
.showcase { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.video-card {
  position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 16 / 10; background: var(--navy);
  box-shadow: var(--shadow-lg); isolation: isolate;
}
.video-card video { width: 100%; height: 100%; object-fit: cover; }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 14, 34, .75), transparent 55%); pointer-events: none; }
.video-card .vc-caption { position: absolute; left: 28px; bottom: 24px; right: 28px; z-index: 2; color: #fff; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.vc-caption b { display: block; font-family: var(--font-head); font-size: clamp(20px, 2.4vw, 28px); }
.vc-caption span { font-size: 14px; opacity: .8; }
.vc-controls { display: flex; gap: 10px; }
.vc-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; transition: background-color .3s, transform .3s var(--ease-back); }
.vc-btn:hover { background: var(--gold); color: var(--navy); transform: scale(1.1); }
.vc-btn .ic { width: 20px; height: 20px; }
.vc-btn .ic-play { fill: currentColor; }
.vc-btn .ic-pause { fill: currentColor; }
.video-card .rec { position: absolute; top: 22px; left: 24px; z-index: 2; display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .35); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.video-card .rec i { width: 8px; height: 8px; border-radius: 50%; background: #ff4d4d; animation: twinkle 1.4s infinite; }
.showcase-copy h2 { font-size: clamp(28px, 3.6vw, 44px); }
.check-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .ic { width: 22px; height: 22px; color: var(--accent-ink); margin-top: 3px; }

/* ---------- Success stories slider ---------- */
.stories-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero-grid > *, .principal > *, .showcase > *, .stories-wrap > *, .split > *, .course-row > *, .form-layout > *, .cta-grid > *, .parents > * { min-width: 0; }
.stories-visual { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.stories-visual img { width: 100%; height: 100%; object-fit: cover; }
.stories-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(4, 14, 34, .85)); }
.stories-visual .sv-cap { position: absolute; left: 26px; right: 26px; bottom: 24px; z-index: 2; color: #fff; }
.sv-cap b { font-family: var(--font-head); font-size: 26px; display: block; }
.slider { position: relative; }
.slider-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; gap: 20px; padding: 6px 2px 16px; }
.slider-track::-webkit-scrollbar { display: none; }
.story {
  flex: 0 0 100%; scroll-snap-align: start; padding: clamp(28px, 4vw, 40px); border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.story-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.avatar {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-family: var(--font-head); font-weight: 800; font-size: 24px; color: var(--navy);
  background: conic-gradient(from 180deg, var(--gold), var(--gold-3), var(--gold)); box-shadow: 0 0 0 4px var(--surface), 0 0 0 6px rgba(252, 192, 0, .5);
}
.story-head b { font-family: var(--font-head); font-size: 22px; color: var(--heading); display: block; }
.grade-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: rgba(252, 192, 0, .16); color: var(--accent-ink); font-size: 13px; font-weight: 700; }
.grade-badge .ic { width: 15px; height: 15px; }
.story p { color: var(--muted); margin: 0; font-size: 16.5px; }
.story p::first-letter { font-weight: 700; }
.slider-nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 10px; height: 10px; border-radius: 10px; background: var(--line); transition: width .4s var(--ease), background-color .3s; }
.dots button.is-active { width: 34px; background: var(--gold); }
.arrows { display: flex; gap: 10px; }
.arrow-btn { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); color: var(--heading); transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease-back); }
.arrow-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: scale(1.08); }
.slider-progress { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; margin-top: 18px; }
.slider-progress i { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.slider-progress i.run { animation: progress var(--dur, 7s) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }

/* ---------- Parents say ---------- */
.parents { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.parents-img { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 3.2; box-shadow: var(--shadow-lg); }
.parents-img img { width: 100%; height: 100%; object-fit: cover; }
.parents-card {
  position: relative; margin-left: -80px; padding: clamp(32px, 4.5vw, 54px); border-radius: var(--radius-xl);
  background: var(--glass); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.parents-card .quote-mark { width: 56px; height: 56px; }
.parents-card blockquote { margin: 0 0 22px; font-size: clamp(17px, 1.6vw, 19px); color: var(--text); }
.parents-card .who { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; color: var(--heading); }
.parents-card .who .ic { color: var(--accent-ink); }

/* ---------- CTA (parallax) ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(48px, 7vw, 90px) clamp(26px, 6vw, 80px);
  background: var(--navy); color: #fff; isolation: isolate;
}
.cta-bg { position: absolute; inset: -20% 0; z-index: -2; width: 100%; height: 140%; object-fit: cover; opacity: .5; will-change: transform; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(4, 14, 34, .95), rgba(8, 28, 64, .75)); }
.cta-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.cta h2 { color: #fff; font-size: clamp(30px, 4.4vw, 52px); }
.cta p { color: rgba(255, 255, 255, .82); font-size: 18px; max-width: 640px; }
.cta-actions { display: grid; gap: 14px; justify-items: start; }
.cta-phone { display: flex; align-items: center; gap: 14px; margin-top: 8px; color: #fff; }
.cta-phone .ph-ic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(252, 192, 0, .15); color: var(--gold); position: relative; }
.cta-phone .ph-ic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); animation: pulse-ring 2s ease-out infinite; }
.cta-phone small { display: block; opacity: .7; font-size: 13px; }
.cta-phone b { font-family: var(--font-head); font-size: 20px; }
.cta-aperture { position: absolute; right: -80px; bottom: -80px; width: 360px; height: 360px; color: var(--gold); opacity: .14; z-index: -1; animation: spin 36s linear infinite; }
.cta-aperture.ic { stroke-width: .6; }

/* ---------- Gallery marquee ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: 18px; }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 60s linear infinite; }
.marquee.rev .marquee-track { animation-name: marquee-rev; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee a { display: block; width: clamp(220px, 24vw, 320px); aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; flex: none; position: relative; }
.marquee img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.marquee a:hover img { transform: scale(1.08); }
.marquee a::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 0 var(--gold); transition: box-shadow .4s; border-radius: inherit; }
.marquee a:hover::after { box-shadow: inset 0 0 0 4px var(--gold); }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.lead-text { font-size: 19px; color: var(--text); }
.muted { color: var(--muted); }
.collage { position: relative; aspect-ratio: 1 / 1.05; }
.collage .c1, .collage .c2 { position: absolute; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.collage .c1 { inset: 0 18% 22% 0; }
.collage .c2 { inset: 42% 0 0 34%; border: 8px solid var(--bg); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .c-badge {
  position: absolute; left: 4%; bottom: 4%; z-index: 3; width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: var(--navy); text-align: center; font-family: var(--font-head); font-weight: 800; font-size: 14px; line-height: 1.2;
  box-shadow: 0 20px 40px -14px rgba(252, 192, 0, .7);
}
.collage .c-badge svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 18s linear infinite; }
.collage .c-badge text { fill: var(--navy); font-size: 10.5px; font-weight: 700; letter-spacing: 2.6px; text-transform: uppercase; }
.collage .c-badge .ic { width: 40px; height: 40px; }
.skill-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.skill-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 15px; transition: transform .4s var(--ease-back), border-color .3s; }
.skill-chips li:hover { transform: translateY(-4px); border-color: var(--gold); }
.skill-chips .ic { width: 18px; height: 18px; color: var(--accent-ink); }

/* ---------- Courses ---------- */
.course-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.course-row + .course-row { margin-top: clamp(60px, 9vw, 120px); }
.course-row:nth-child(even) .course-media { order: 2; }
.course-media { position: relative; }
.course-media .cm-img { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); }
.course-media .cm-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.course-media:hover .cm-img img { transform: scale(1.06); }
.course-media .cm-tag {
  position: absolute; right: -18px; top: 30px; padding: 16px 22px; border-radius: 18px; background: var(--gold); color: var(--navy);
  font-family: var(--font-head); font-weight: 800; box-shadow: 0 20px 40px -16px rgba(252, 192, 0, .7); animation: float 6s ease-in-out infinite; line-height: 1.2;
}
.course-media .cm-tag small { display: block; font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.course-media .cm-tag span { font-size: 26px; }
.course-label { display: inline-block; margin-bottom: 10px; color: var(--accent-ink); font-weight: 700; font-family: var(--font-head); letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.course-copy h2 { font-size: clamp(32px, 4.4vw, 52px); }
.subjects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.subject {
  display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 700; color: var(--heading); transition: transform .45s var(--ease), border-color .3s, box-shadow .45s;
}
.subject:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow); }
.subject .s-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(252, 192, 0, .15); color: var(--accent-ink); flex: none; transition: background-color .3s, color .3s; }
.subject:hover .s-ic { background: var(--gold); color: var(--navy); }
.practice { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.practice-item { padding: 26px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-align: center; transition: transform .45s var(--ease), border-color .3s; }
.practice-item:hover { transform: translateY(-6px); border-color: var(--gold); }
.practice-item .ic { width: 38px; height: 38px; color: var(--accent-ink); margin: 0 auto 12px; }
.practice-item b { font-family: var(--font-head); color: var(--heading); }

/* ---------- Gallery page ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; position: relative; }
.filter-btn {
  position: relative; padding: 11px 22px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: 14px;
  background: var(--surface); border: 1px solid var(--line); transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease-back);
}
.filter-btn:hover { transform: translateY(-2px); border-color: var(--gold); }
.filter-btn.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
:root[data-theme="dark"] .filter-btn.is-active { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.filter-btn sup { font-size: 11px; opacity: .7; margin-left: 2px; }
.masonry { columns: 4 260px; column-gap: 18px; }
.g-item {
  display: block; position: relative; break-inside: avoid; margin-bottom: 18px; border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.g-item.is-hidden { display: none; }
.g-item img { width: 100%; transition: transform 1s var(--ease), filter .6s; }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 14, 34, .85), transparent 55%); opacity: 0; transition: opacity .45s; }
.g-item .g-cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; color: #fff; display: flex; justify-content: space-between; align-items: center; transform: translateY(16px); opacity: 0; transition: transform .5s var(--ease), opacity .4s; font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.g-item .g-cap .ic { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--gold); color: var(--navy); }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.07); }
.g-item:hover::after, .g-item:focus-visible::after { opacity: 1; }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { transform: none; opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1500; display: grid; place-items: center; padding: 70px 16px;
  background: rgba(3, 9, 22, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox img { max-height: calc(100vh - 170px); max-height: calc(100svh - 170px); width: auto; margin: 0 auto; border-radius: 14px; box-shadow: 0 40px 80px -30px #000; transform: scale(.92); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.lightbox.is-open img.is-loaded { transform: none; opacity: 1; }
.lightbox figcaption { color: rgba(255, 255, 255, .85); margin-top: 14px; font-family: var(--font-head); font-weight: 600; }
.lightbox figcaption span { color: var(--gold); margin-left: 10px; }
.lb-btn { position: absolute; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .1); transition: background-color .3s, color .3s, transform .3s var(--ease-back); }
.lb-btn:hover { background: var(--gold); color: var(--navy); transform: scale(1.08); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; margin-top: -27px; }
.lb-next { right: 18px; top: 50%; margin-top: -27px; }

/* ---------- Faculty ---------- */
.faculty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.teacher {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow); transform-style: preserve-3d; transition: box-shadow .5s var(--ease), border-color .4s;
}
.teacher:hover { box-shadow: var(--shadow-lg); border-color: rgba(252, 192, 0, .6); }
.teacher-photo { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; background: linear-gradient(160deg, var(--navy-3), var(--navy)); }
.teacher-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.92); }
.teacher:hover .teacher-photo img { transform: scale(1.08); filter: saturate(1.08); }
.teacher-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 14, 34, .7), transparent 45%); }
.teacher-initials { position: absolute; inset: 0; display: grid; place-items: center; }
.teacher-initials .ti-ring { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(252, 192, 0, .55); animation: spin 24s linear infinite; }
.teacher-initials .ti-ap { position: absolute; width: 74%; height: auto; color: rgba(252, 192, 0, .16); animation: spin-rev 40s linear infinite; }
.teacher-initials .ti-ap.ic { stroke-width: .5; }
.teacher-initials b { position: relative; font-family: var(--font-head); font-weight: 800; font-size: clamp(56px, 7vw, 84px); color: var(--gold); letter-spacing: .04em; }
.teacher-subject-ic {
  position: absolute; right: 18px; bottom: -26px; z-index: 3; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  background: var(--gold); color: var(--navy); box-shadow: 0 14px 28px -10px rgba(252, 192, 0, .7); transition: transform .5s var(--ease-back);
}
.teacher:hover .teacher-subject-ic { transform: rotate(-10deg) scale(1.08); }
.teacher-body { padding: 28px 26px 26px; }
.teacher-body h3 { font-size: 22px; margin-bottom: 6px; }
.teacher-body p { margin: 0; color: var(--muted); font-weight: 500; }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.form-card { position: relative; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.form-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--navy), var(--gold), var(--navy)); background-size: 200% 100%; animation: shimmer-text 5s linear infinite; }
.form-card h2 { font-size: clamp(26px, 3vw, 36px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; }
.field.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; padding: 26px 18px 10px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--input-bg); color: var(--text);
  font: inherit; font-size: 16px; outline: none; transition: border-color .3s, box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { padding-right: 44px; cursor: pointer; }
.field .chev { position: absolute; right: 16px; top: 22px; width: 18px; height: 18px; pointer-events: none; color: var(--muted); transform: rotate(90deg); transition: transform .3s; }
.field label {
  position: absolute; left: 19px; top: 18px; color: var(--muted); pointer-events: none; font-size: 16px; transform-origin: left top;
  max-width: calc(100% - 40px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: transform .3s var(--ease), color .3s, max-width .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(252, 192, 0, .18); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label, .field.is-date label { transform: translateY(-11px) scale(.78); color: var(--accent-ink); font-weight: 600; max-width: calc((100% - 40px) / .78); }
.field select:focus ~ .chev { transform: rotate(-90deg); color: var(--accent-ink); }
.field .req { color: #d64545; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d64545; }
.field .err { display: block; font-size: 13px; color: #d64545; margin-top: 6px; min-height: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.btn .spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .ic { display: none; }
.form-status { display: none; margin-top: 20px; padding: 16px 18px; border-radius: 14px; font-weight: 500; align-items: flex-start; gap: 12px; }
.form-status.show { display: flex; animation: fade-up .5s var(--ease); }
.form-status.ok { background: rgba(34, 160, 90, .12); color: #1b8a4c; border: 1px solid rgba(34, 160, 90, .35); }
:root[data-theme="dark"] .form-status.ok { color: #6fe0a0; }
.form-status.fail { background: rgba(214, 69, 69, .1); color: #c03a3a; border: 1px solid rgba(214, 69, 69, .35); }
:root[data-theme="dark"] .form-status.fail { color: #ff9a9a; }
.form-status .ic { margin-top: 2px; }
.form-status a { text-decoration: underline; font-weight: 700; }
.success-check { width: 22px; height: 22px; flex: none; }
.success-check path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: check-draw .6s .2s var(--ease) forwards; }
@keyframes check-draw { to { stroke-dashoffset: 0; } }

.info-list { display: grid; gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.info-item { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .45s var(--ease), border-color .3s; }
.info-item:hover { transform: translateX(6px); border-color: var(--gold); }
.info-item .i-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: var(--gold); }
.info-item small { display: block; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.info-item b, .info-item a { font-family: var(--font-head); color: var(--heading); font-weight: 700; word-break: break-word; }
.info-item a:hover { color: var(--accent-ink); }

.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.c-card {
  position: relative; padding: 32px 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s, border-color .4s;
}
.c-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.c-card .c-ic { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: rgba(252, 192, 0, .15); color: var(--accent-ink); margin-bottom: 18px; position: relative; transition: background-color .3s, color .3s; }
.c-card:hover .c-ic { background: var(--gold); color: var(--navy); }
.c-card h3 { font-size: 19px; margin-bottom: 6px; }
.c-card p, .c-card a { color: var(--muted); margin: 0; word-break: break-word; }
.c-card a:hover { color: var(--accent-ink); }
.map-wrap { margin-top: 0; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 16 / 9; max-height: 440px; width: 100%; background: var(--surface-2); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; transition: filter .6s; }
:root[data-theme="dark"] .map-wrap iframe { filter: invert(.9) hue-rotate(180deg) saturate(.7) brightness(.95); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--navy-deep); color: rgba(255, 255, 255, .75); overflow: hidden; padding-top: clamp(70px, 9vw, 110px); isolation: isolate; }
.site-footer .stars { z-index: -1; }
.footer-glow { position: absolute; width: 700px; height: 700px; left: 50%; top: -420px; margin-left: -350px; border-radius: 50%; background: radial-gradient(circle, rgba(252, 192, 0, .16), transparent 60%); z-index: -1; }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-cta h2 { color: #fff; font-size: clamp(30px, 5vw, 60px); margin: 0; font-weight: 800; }
.footer-cta h2 .accent { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; padding: 56px 0; }
.footer-grid h3 { color: #fff; font-size: 17px; margin-bottom: 20px; letter-spacing: .02em; position: relative; padding-bottom: 12px; }
.footer-grid h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--gold); }
.footer-about img { width: 170px; margin-bottom: 18px; }
.footer-about p { font-size: 15.5px; }
.f-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.f-links a { display: inline-flex; align-items: center; gap: 8px; transition: color .3s, transform .3s var(--ease); }
.f-links a .ic { width: 15px; height: 15px; color: var(--gold); transition: transform .3s var(--ease); }
.f-links a:hover { color: var(--gold); transform: translateX(4px); }
.f-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.f-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.f-contact .ic { width: 20px; height: 20px; color: var(--gold); margin-top: 3px; }
.f-contact a:hover { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 24px 76px 30px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14.5px; }
.dev-credit { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dev-credit b { color: #fff; }
.dev-credit a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(252, 192, 0, .12); color: var(--gold); font-weight: 700; transition: background-color .3s, color .3s; }
.dev-credit a:hover { background: var(--gold); color: var(--navy); }
.dev-credit a .ic { width: 15px; height: 15px; }
.footer-theme { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: #fff; font-size: 14px; font-weight: 600; }
.footer-theme .theme-toggle { width: 36px; height: 36px; background: rgba(255, 255, 255, .1); }
.footer-theme .sun-moon { width: 20px; height: 20px; }

/* ---------- Floating buttons ---------- */
.fab-stack { position: fixed; right: 18px; bottom: 18px; z-index: 800; display: grid; gap: 12px; }
.fab { position: relative; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45); transition: transform .4s var(--ease-back), opacity .4s; }
.fab:hover { transform: scale(1.1); }
.fab-call { background: var(--gold); color: var(--navy); }
.fab-call::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); animation: pulse-ring 2s ease-out infinite; }
.fab-call .ic { animation: shake .6s ease 3s infinite; }
.fab-top { background: var(--navy); color: #fff; opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; }
:root[data-theme="dark"] .fab-top { background: var(--surface-2); }
.fab-top.show { opacity: 1; transform: none; pointer-events: auto; }
.fab-top svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.fab-top svg.ring circle { fill: none; stroke: var(--gold); stroke-width: 3; stroke-dasharray: 157; stroke-dashoffset: calc(157 - 157 * var(--p, 0)); }

/* Video modal */
.video-modal { position: fixed; inset: 0; z-index: 1600; display: grid; place-items: center; padding: 16px; background: rgba(3, 9, 22, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.video-modal.is-open { opacity: 1; visibility: visible; }
.video-modal .vm-box { position: relative; width: min(1100px, 100%); aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #000; transform: scale(.9); transition: transform .5s var(--ease); box-shadow: 0 40px 80px -30px #000; }
.video-modal.is-open .vm-box { transform: none; }
.video-modal video { width: 100%; height: 100%; object-fit: contain; }
.video-modal .lb-close { z-index: 2; }

/* Cursor follower (fine pointers only) */
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; z-index: 3000; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .3s; }
.cursor-dot { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: var(--gold); }
.cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid var(--gold); transition: opacity .3s, width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s; }
.cursor-on .cursor-dot, .cursor-on .cursor-ring { opacity: 1; }
.cursor-ring.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(252, 192, 0, .12); }

/* View transitions: cross-document iris + theme switch */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s ease both; }
::view-transition-new(root) { animation: vt-in .6s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: scale(.985); } }
@keyframes vt-in { from { clip-path: circle(0 at 50% 50%); } to { clip-path: circle(75vmax at 50% 50%); } }
html.theme-vt::view-transition-old(root) { animation: none; }
html.theme-vt::view-transition-new(root) { animation: theme-reveal .8s var(--ease) both; }
@keyframes theme-reveal { from { clip-path: circle(0 at var(--tx, 50%) var(--ty, 0)); } to { clip-path: circle(150vmax at var(--tx, 50%) var(--ty, 0)); } }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .main-nav, .header-actions .btn { display: none; }
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .features .feature, .features .feature:nth-child(n) { grid-column: span 6; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero-grid, .principal, .showcase, .stories-wrap, .split, .course-row, .form-layout, .cta-grid, .parents { grid-template-columns: 1fr; }
  .hero { padding-bottom: 120px; }
  .hero-lens { width: min(78vw, 380px); order: -1; margin-bottom: 10px; }
  .hero-copy { text-align: left; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pillars, .faculty-grid { grid-template-columns: repeat(2, 1fr); }
  .principal-visual { max-width: 320px; }
  .stories-visual { aspect-ratio: 16 / 10; }
  .parents-card { margin: -70px 16px 0; }
  .split.reverse > :first-child, .course-row:nth-child(even) .course-media { order: 0; }
  .course-media .cm-tag { right: 12px; }
  .practice { grid-template-columns: repeat(2, 1fr); }
  .subjects { grid-template-columns: repeat(2, 1fr); }
  .cta-actions { justify-items: stretch; }
}
@media (max-width: 640px) {
  :root { --header-h: 72px; }
  body { font-size: 16px; }
  .brand, .brand img { width: 132px; }
  .theme-toggle { width: 42px; height: 42px; }
  .menu-toggle { width: 42px; height: 42px; }
  .menu-toggle span { left: 12px; right: 12px; }
  .menu-toggle span:nth-child(1) { top: 14px; }
  .menu-toggle span:nth-child(2) { top: 20px; right: 18px; }
  .menu-toggle span:nth-child(3) { top: 26px; }
  .menu-open .menu-toggle span:nth-child(1), .menu-open .menu-toggle span:nth-child(3) { top: 20px; }
  .hero { padding-top: calc(var(--header-h) + 16px); }
  .hero-lens { width: min(62vw, 250px); margin-bottom: 0; }
  .hero-welcome { margin: 16px 0 6px; }
  .hero h1 { margin-bottom: 14px; }
  .hero-lead { margin-bottom: 22px; }
  .principal-visual { max-width: 230px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .lens-badge { padding: 9px 12px; font-size: 12px; }
  .lens-badge .lb-ic { width: 32px; height: 32px; border-radius: 10px; }
  .lens-badge.one { left: -2%; }
  .lens-badge.two { right: -2%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 16px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .stat-ic { width: 46px; height: 46px; border-radius: 14px; }
  .pillars, .faculty-grid, .contact-cards, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .features .feature, .features .feature:nth-child(n) { grid-column: 1 / -1; }
  .timing-strip { padding: 22px; }
  .video-card { aspect-ratio: 4 / 3.4; border-radius: var(--radius-lg); }
  .video-card .vc-caption { left: 18px; right: 18px; bottom: 16px; }
  .parents-card { margin: -50px 8px 0; }
  .collage .c-badge { width: 118px; height: 118px; font-size: 12px; }
  .masonry { columns: 2 140px; column-gap: 12px; }
  .g-item { margin-bottom: 12px; border-radius: 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; margin-top: 0; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .fab { width: 50px; height: 50px; }
  .section-head p { font-size: 16.5px; }
  .course-media .cm-tag { padding: 12px 16px; }
  .course-media .cm-tag span { font-size: 20px; }
  .practice { grid-template-columns: 1fr 1fr; gap: 12px; }
  .subjects { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .subject { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; font-size: 15px; }
  .subject .s-ic { width: 42px; height: 42px; }
}

@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html.js [data-reveal], html.js .split-ready .split-w > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  html.js [data-draw] svg.ic * { stroke-dashoffset: 0 !important; }
  .loader { display: none; }
  .lens-glass img:first-child { opacity: 1; }
  .marquee-track { animation: none; }
}
