/* ============================================================
   SPPS e-Techno World — stylesheet
   Theme: Cinematic AI Academy
   ============================================================ */

:root {
  --bg:        #0A0A0F;
  --bg-2:     #10101A;
  --surface:   #14141F;
  --surface-2: #1A1A28;
  --line:      rgba(255,255,255,0.08);
  --line-2:    rgba(255,255,255,0.14);

  --text:      #F0F0F5;
  --text-mute: #9A9AAB;
  --text-dim:  #6B6B7A;

  --primary:   #4ADEDC;       /* electric cyan */
  --primary-2: #2BB5B3;
  --gold:      #E8B86D;       /* warm gold */
  --gold-2:    #C99A4E;
  --rose:      #F0768E;       /* rare accent */

  --display: "Fraunces", "Times New Roman", serif;
  --body:    "Manrope", system-ui, sans-serif;
  --mono:    "JetBrains Mono", monospace;

  --maxw: 1240px;
  --pad-x: clamp(20px, 4vw, 56px);
  --r: 4px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

::selection { background: var(--gold); color: var(--bg); }

/* ============================================================
   Backgrounds
   ============================================================ */

#neural-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.7 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

/* Custom cursor glow */
.cursor-glow {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,222,220,0.10), transparent 60%);
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
  mix-blend-mode: screen;
}

body:hover .cursor-glow { opacity: 1; }

/* ============================================================
   Top strip (announcement ticker)
   ============================================================ */
.topstrip {
  position: relative;
  z-index: 10;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-2) 50%, var(--gold) 100%);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  overflow: hidden;
  padding: 9px 0;
}
.topstrip-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: ticker 60s linear infinite;
  width: max-content;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px var(--pad-x);
  background: rgba(10,10,15,0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s ease;
}
.nav.is-scrolled { padding-top: 12px; padding-bottom: 12px; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  display: flex;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 50%;
  padding: 3px;
  box-shadow: 0 0 0 1px rgba(232,184,109,0.35),
              0 4px 14px rgba(0,0,0,0.45);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-line-1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.04em;
}
.brand-line-2 {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  gap: 30px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  position: relative;
  color: var(--text-mute);
  transition: color 0.2s;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle { display: none; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  padding: 12px 22px;
  border-radius: var(--r);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  text-transform: none;
}
.btn-lg { font-size: 15px; padding: 16px 30px; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #0A0A0F;
  font-weight: 700;
  box-shadow: 0 0 0 0 rgba(74,222,220,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -8px rgba(74,222,220,0.5);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.btn-primary:hover::before { transform: translateX(100%); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-2);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--bg);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  z-index: 5;
  padding: clamp(60px, 9vw, 120px) var(--pad-x) clamp(80px, 12vw, 160px);
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  position: relative;
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 36px;
  background: rgba(255,255,255,0.02);
  animation: slideUp 0.8s ease both;
}
.hero-meta a { color: var(--gold); }
.hero-meta a:hover { text-decoration: underline; }
.hero-meta .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: pulse 1.6s ease-in-out infinite;
}

/* CBSE affiliation pill - sits inside the hero meta row */
.cbse-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 6px 12px;
  border: 1px solid rgba(232,184,109,0.4);
  border-radius: 999px;
  margin-left: 8px;
  background: rgba(232,184,109,0.06);
}
.cbse-pill::before {
  content: "✓";
  font-size: 11px;
  color: var(--gold);
}

/* YouTube short button - subtle red accent to signal video */
.btn-yt {
  background: transparent;
  color: var(--text);
  border-color: var(--line-2);
  position: relative;
}
.btn-yt:hover {
  border-color: #FF3D43;
  color: #FF7F84;
}
.btn-yt::after {
  content: "↗";
  font-size: 12px;
  margin-left: 2px;
  opacity: 0.6;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 7.4vw, 102px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
  max-width: 16ch;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
}
.hero-title .line {
  display: block;
  opacity: 0;
  animation: slideUp 0.9s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-title .line:nth-child(1) { animation-delay: 0.15s; }
.hero-title .line:nth-child(2) { animation-delay: 0.30s; }
.hero-title .line:nth-child(3) { animation-delay: 0.45s; }
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

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

.hero-sub {
  max-width: 56ch;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.65;
  color: var(--text-mute);
  margin-bottom: 44px;
  opacity: 0;
  animation: slideUp 0.9s 0.6s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-sub em {
  color: var(--text);
  font-style: italic;
  font-family: var(--display);
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: slideUp 0.9s 0.75s cubic-bezier(0.22,1,0.36,1) both;
}

/* AI Orb */
.orb-wrap {
  position: absolute;
  top: 50%;
  right: -120px;
  transform: translateY(-50%);
  width: 540px;
  height: 540px;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  animation: orbReveal 1.4s 0.4s ease-out both;
}
@keyframes orbReveal {
  from { opacity: 0; transform: translateY(-50%) scale(0.85); }
  to   { opacity: 0.9; transform: translateY(-50%) scale(1); }
}
.orb {
  position: relative;
  width: 100%;
  height: 100%;
}
.orb-core {
  position: absolute;
  top: 50%; left: 50%;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--primary), var(--primary-2) 50%, transparent 75%);
  transform: translate(-50%,-50%);
  box-shadow: 0 0 80px rgba(74,222,220,0.5), 0 0 140px rgba(74,222,220,0.3);
  animation: corePulse 4s ease-in-out infinite;
}
@keyframes corePulse {
  0%,100% { box-shadow: 0 0 80px rgba(74,222,220,0.5), 0 0 140px rgba(74,222,220,0.3); }
  50%     { box-shadow: 0 0 120px rgba(74,222,220,0.7), 0 0 200px rgba(74,222,220,0.4); }
}
.orb-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(74,222,220,0.15), transparent 50%);
}
.orb-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(74,222,220,0.25);
  transform: translate(-50%,-50%);
}
.orb-ring.r1 { width: 220px; height: 220px; animation: spin 24s linear infinite; }
.orb-ring.r2 { width: 340px; height: 340px; animation: spin 38s linear infinite reverse; border-color: rgba(232,184,109,0.22); }
.orb-ring.r3 { width: 460px; height: 460px; animation: spin 50s linear infinite; border-color: rgba(255,255,255,0.08); border-style: solid; }
@keyframes spin {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}
.orb-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: floatRotate 30s linear infinite;
}
@keyframes floatRotate {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Hero stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 80px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  animation: slideUp 1s 0.9s ease both;
}
.hero-stats > div {
  padding: 24px 24px 24px 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-stats > div:last-child { border-right: none; }
.hero-stats > div:not(:first-child) { padding-left: 24px; }
.hero-stats strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1;
  color: var(--gold);
  font-variation-settings: "opsz" 144;
}
.hero-stats span {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 6;
  animation: floatY 2.4s ease-in-out infinite;
}
@keyframes floatY {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(10px); }
}

/* ============================================================
   Sections / shared headings
   ============================================================ */
.section {
  position: relative;
  z-index: 5;
  padding: clamp(70px, 10vw, 130px) var(--pad-x);
  max-width: var(--maxw);
  margin: 0 auto;
}

.section-head {
  margin-bottom: 64px;
  max-width: 800px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 22px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--primary);
}

.h-display {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.h-display em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

.section-sub {
  margin-top: 18px;
  font-size: 16px;
  color: var(--text-mute);
  max-width: 64ch;
  line-height: 1.7;
}
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* ============================================================
   About
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: flex-start;
}
.about-text .lede {
  font-family: var(--display);
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.45;
  font-weight: 300;
  margin-bottom: 24px;
  font-variation-settings: "opsz" 144;
}
.about-text .lede a { color: var(--gold); border-bottom: 1px dashed var(--gold); }
.about-text p {
  color: var(--text-mute);
  margin-bottom: 20px;
  font-size: 15.5px;
  line-height: 1.75;
  max-width: 60ch;
}
.about-text p em {
  font-style: italic;
  font-family: var(--display);
  color: var(--text);
}

.signature {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.sig-name { font-family: var(--display); font-size: 20px; font-style: italic; }
.sig-role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-dim); }

.about-card {
  position: relative;
  padding: 40px 36px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  border-radius: var(--r);
  overflow: hidden;
}
.card-glow {
  position: absolute;
  top: -50%; right: -30%;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(74,222,220,0.18), transparent 60%);
  pointer-events: none;
}
.h-card {
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.25;
  font-weight: 400;
  margin-bottom: 28px;
  font-variation-settings: "opsz" 144;
}
.h-card em { font-style: italic; color: var(--gold); }

.checklist { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist .bullet { color: var(--primary); font-size: 14px; line-height: 1.4; margin-top: 2px; }
.checklist strong { display: block; font-weight: 600; margin-bottom: 4px; font-size: 14.5px; }
.checklist p { font-size: 13.5px; line-height: 1.55; color: var(--text-mute); }

/* ============================================================
   Pillars (Approach)
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.pillar {
  background: var(--bg);
  padding: 44px 36px 40px;
  position: relative;
  transition: background 0.4s ease;
  cursor: default;
}
.pillar:hover { background: var(--bg-2); }
.pillar:hover .pillar-num {
  color: var(--gold);
  transform: scale(1.05);
}
.pillar-num {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: 36px;
  color: var(--text-dim);
  margin-bottom: 28px;
  font-variation-settings: "opsz" 144;
  transition: all 0.4s ease;
}
.pillar h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 14px;
  line-height: 1.25;
  font-variation-settings: "opsz" 144;
}
.pillar p {
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1.65;
}

/* ============================================================
   Programs
   ============================================================ */
.program-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.program {
  background: var(--bg);
  padding: 38px 0;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: flex-start;
  transition: padding-left 0.3s ease, background 0.3s ease;
  cursor: default;
}
.program:hover {
  padding-left: 24px;
  background: var(--bg-2);
}
.program-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.grade-tag { color: var(--primary); }
.age-tag   { color: var(--text-dim); }

.program h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1;
  margin-bottom: 14px;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  letter-spacing: -0.01em;
}
.program p {
  color: var(--text-mute);
  font-size: 15px;
  line-height: 1.7;
  max-width: 70ch;
  margin-bottom: 22px;
}
.program p em { font-style: italic; color: var(--gold); font-family: var(--display); }

.feat-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.feat-pills li {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text-mute);
  transition: all 0.2s;
}
.feat-pills li:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ============================================================
   Campus / facilities
   ============================================================ */
.campus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.facility {
  background: var(--bg);
  padding: 32px 28px;
  position: relative;
  transition: background 0.3s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.facility:hover { background: var(--bg-2); }
.facility:hover .facility-icon { color: var(--gold); transform: rotate(-4deg); }
.facility.f-large {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(135deg, var(--surface), var(--bg));
  padding: 44px 40px;
}
.facility-icon {
  color: var(--primary);
  margin-bottom: 8px;
  transition: all 0.4s ease;
}
.facility h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 20px;
  font-variation-settings: "opsz" 144;
}
.facility.f-large h3 { font-size: 30px; }
.facility p {
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1.65;
}
.facility.f-large p { font-size: 15.5px; max-width: 50ch; }

/* ============================================================
   Marquee strip
   ============================================================ */
.marquee-section {
  position: relative;
  z-index: 5;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg);
}
.marquee { overflow: hidden; }
.marquee-track {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 56px);
  font-style: italic;
  font-weight: 300;
  color: var(--text-dim);
  animation: ticker 90s linear infinite;
  width: max-content;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.marquee-track span:nth-child(4n+1) { color: var(--gold); font-style: normal; }
.marquee-track span:nth-child(4n+3) { color: var(--primary); }

/* ============================================================
   Admissions CTA
   ============================================================ */
.admissions-cta {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  position: relative;
  overflow: hidden;
}
.ad-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(74,222,220,0.15), transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(232,184,109,0.12), transparent 50%);
  z-index: -1;
}
.ad-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  text-align: center;
  position: relative;
}
.ad-inner .h-display { margin-bottom: 16px; }
.ad-inner > p {
  max-width: 56ch;
  margin: 0 auto 36px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-mute);
}
.ad-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.ad-meta {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ad-meta > div {
  padding: 22px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}
.ad-meta > div:last-child { border-right: none; }
.ad-meta strong {
  font-family: var(--display);
  font-weight: 500;
  font-size: 17px;
  font-variation-settings: "opsz" 144;
}
.ad-meta span { font-size: 13px; color: var(--text-mute); }

/* ============================================================
   Voices / quotes
   ============================================================ */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.quote {
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  position: relative;
  transition: all 0.3s ease;
}
.quote::before {
  content: "“";
  position: absolute;
  top: 12px;
  left: 24px;
  font-family: var(--display);
  font-size: 80px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.45;
  font-variation-settings: "opsz" 144;
}
.quote:hover {
  border-color: var(--line-2);
  transform: translateY(-4px);
}
.quote blockquote {
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 300;
  margin-top: 36px;
  margin-bottom: 24px;
  font-variation-settings: "opsz" 144;
}
.quote blockquote em { font-style: italic; color: var(--gold); }
.quote figcaption {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  position: relative;
  z-index: 5;
  padding: 80px var(--pad-x) 30px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg) 0%, #06060B 100%);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.footer-brand { max-width: 360px; }
.footer-brand .brand-mark { display: inline-flex; margin-bottom: 18px; width: 60px; height: 60px; padding: 4px; }
.footer-brand .brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.footer-brand h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 26px;
  margin-bottom: 14px;
  font-variation-settings: "opsz" 144;
}
.footer-brand h3 span { color: var(--gold); font-style: italic; font-weight: 300; }
.footer-brand p {
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 20px;
}
.parent-link {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  transition: gap 0.3s;
}
.parent-link:hover { color: var(--gold); }

.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 14.5px;
  color: var(--text-mute);
  margin-bottom: 12px;
  transition: color 0.2s, transform 0.2s;
}
.footer-col a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.footer-tag { color: var(--gold); font-style: italic; font-family: var(--display); text-transform: none; letter-spacing: 0; font-size: 14px; }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 0.9s cubic-bezier(0.22,1,0.36,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   Page (subpages) hero
   ============================================================ */
.page-hero {
  position: relative;
  z-index: 5;
  padding: clamp(80px, 11vw, 150px) var(--pad-x) clamp(60px, 8vw, 100px);
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: left;
}
.page-hero .kicker { margin-bottom: 24px; }
.page-hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 6.5vw, 88px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 26px;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.page-hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.page-hero p {
  max-width: 62ch;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.7;
  color: var(--text-mute);
}

/* ============================================================
   Admissions page specific
   ============================================================ */
.process-list {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process-step {
  background: var(--bg);
  padding: 32px 0;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  align-items: flex-start;
  counter-increment: step;
}
.process-step .step-num {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: 56px;
  color: var(--gold);
  line-height: 1;
  font-variation-settings: "opsz" 144;
}
.process-step .step-num::before { content: "0" counter(step); }
.process-step h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 10px;
  font-variation-settings: "opsz" 144;
}
.process-step p {
  color: var(--text-mute);
  font-size: 15px;
  line-height: 1.65;
  max-width: 60ch;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
}
.fee-table th, .fee-table td {
  padding: 18px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.fee-table th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
}
.fee-table td:first-child {
  font-family: var(--display);
  font-size: 17px;
}
.fee-table tr:hover td { background: var(--bg-2); }

/* Fee structure download block */
.fee-download {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  background: linear-gradient(90deg, rgba(232,184,109,0.06), transparent);
  border-radius: var(--r);
}
.fee-download-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ============================================================
   Contact page specific
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact-info h3 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
  margin-top: 32px;
}
.contact-info h3:first-child { margin-top: 0; }
.contact-info p, .contact-info a {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.4;
  display: block;
  font-variation-settings: "opsz" 144;
}
.contact-info a { color: var(--gold); transition: color 0.2s; }
.contact-info a:hover { color: var(--primary); }

.contact-form {
  display: grid;
  gap: 18px;
  padding: 36px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
  border-radius: var(--r);
}
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-2);
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  padding: 10px 0;
  transition: border-color 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-bottom-color: var(--primary);
}
.field textarea { resize: vertical; min-height: 110px; }
.field select option { background: var(--bg); color: var(--text); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .pillars    { grid-template-columns: repeat(2, 1fr); }
  .campus-grid { grid-template-columns: repeat(2, 1fr); }
  .facility.f-large { grid-column: span 2; grid-row: auto; }
  .quote-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .orb-wrap { right: -200px; opacity: 0.5; width: 440px; height: 440px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 1px solid var(--line-2);
    padding: 10px;
    border-radius: var(--r);
    cursor: pointer;
  }
  .nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--text); }
  .nav.is-open .nav-links {
    display: flex;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 30px var(--pad-x);
    border-bottom: 1px solid var(--line);
    gap: 18px;
    font-size: 18px;
  }
  .nav.is-open .nav-cta { display: inline-flex; margin: 0 var(--pad-x) 30px; }

  .orb-wrap { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats > div { padding-left: 16px !important; padding-right: 16px; padding-top: 18px; padding-bottom: 18px; }
  .hero-stats > div:nth-child(2) { border-right: none; }
  .hero-stats > div:nth-child(1), .hero-stats > div:nth-child(2) { border-bottom: 1px solid var(--line); }

  .pillars { grid-template-columns: 1fr; }
  .campus-grid { grid-template-columns: 1fr; }
  .facility.f-large { grid-column: auto; }

  .program { grid-template-columns: 1fr; gap: 20px; padding: 30px 0; }
  .program:hover { padding-left: 0; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .ad-meta { grid-template-columns: 1fr; }
  .ad-meta > div { border-right: none; border-bottom: 1px solid var(--line); }
  .ad-meta > div:last-child { border-bottom: none; }

  .process-step { grid-template-columns: 1fr; gap: 12px; }
  .process-step .step-num { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .topstrip-track, .marquee-track { animation: none; }
}
