/* ============================================================
   NOVA PUBLIC SCHOOL Design System
   ============================================================ */

:root {
  --deep-teal: #073B3A;
  --ocean-teal: #0F766E;
  --coral: #FF7058;
  --sun-yellow: #F6C85F;
  --sage: #8DB89B;
  --warm-cream: #FFF9EF;
  --soft-mint: #E7F2EC;
  --text: #17302D;
  --dark: #052927;

  --font-headline: 'DM Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-accent: 'Fraunces', Georgia, serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(7, 59, 58, 0.06);
  --shadow-md: 0 8px 32px rgba(7, 59, 58, 0.1);
  --shadow-lg: 0 16px 48px rgba(7, 59, 58, 0.14);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 80px;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--warm-cream);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

body.no-custom-cursor { cursor: auto; }
body.no-custom-cursor .cursor { display: none; }
body.preloader-active { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.text-center { text-align: center; }
.justify-center { justify-content: center; }

.accent-serif {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
}

.display-headline {
  font-family: var(--font-headline);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--deep-teal);
}

.display-headline.light { color: var(--warm-cream); }

.section-title {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--deep-teal);
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--ocean-teal);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}

.section {
  padding: clamp(4rem, 10vw, 8rem) 0;
  position: relative;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 100px;
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.75rem; }
.btn-lg { padding: 1rem 2rem; font-size: 0.9375rem; }

.btn-coral {
  background: var(--coral);
  color: white;
}
.btn-coral:hover { background: #e85a42; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline {
  border-color: var(--deep-teal);
  color: var(--deep-teal);
  background: transparent;
}
.btn-outline:hover { background: var(--deep-teal); color: var(--warm-cream); }

.btn-outline-light {
  border-color: var(--warm-cream);
  color: var(--warm-cream);
}
.btn-outline-light:hover { background: var(--warm-cream); color: var(--deep-teal); }

.btn-ghost {
  color: var(--deep-teal);
  padding: 0.625rem 1rem;
}
.btn-ghost:hover { color: var(--coral); }

/* ---- Custom Cursor ---- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 10000;
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.cursor-star {
  font-size: 14px;
  color: var(--coral);
  display: block;
  transition: transform 0.15s ease;
}

.cursor-label {
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-headline);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--deep-teal);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
}

.cursor.hover .cursor-star { transform: scale(1.8); }
.cursor.hover .cursor-label { opacity: 1; }

/* ---- Preloader ---- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--deep-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
  color: var(--warm-cream);
  max-width: 400px;
  padding: 2rem;
}

.preloader-symbol {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

.pl-star { opacity: 0; animation: starAppear 0.6s ease forwards; }
.pl-orbit { stroke-dasharray: 100; stroke-dashoffset: 100; }
.pl-orbit-1 { animation: drawOrbit 0.8s ease 0.4s forwards; }
.pl-orbit-2 { animation: drawOrbit 0.8s ease 0.8s forwards; }

@keyframes starAppear {
  to { opacity: 1; r: 4; }
}

@keyframes drawOrbit {
  to { stroke-dashoffset: 0; }
}

.preloader-brand {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.2em;
  opacity: 0;
  animation: fadeUp 0.6s ease 1.2s forwards;
}

.preloader-status {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  opacity: 0.6;
  margin: 1rem 0;
  animation: fadeUp 0.6s ease 1.4s forwards;
}

.preloader-checklist {
  text-align: left;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  margin: 1.5rem 0;
}

.preloader-checklist li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.5rem;
  padding: 0.35rem 0;
  opacity: 0;
  transform: translateY(8px);
}

.preloader-checklist li.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s, transform 0.4s;
}

.preloader-checklist .dots {
  letter-spacing: 2px;
  opacity: 0.3;
  overflow: hidden;
}

.preloader-checklist .status {
  color: var(--sage);
  font-weight: 600;
}

.preloader-welcome {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  font-style: italic;
  opacity: 0;
  margin-top: 1.5rem;
}

.preloader-welcome.visible {
  opacity: 1;
  transition: opacity 0.8s ease;
}

/* ---- Discovery Mode ---- */
.discovery-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  background: var(--deep-teal);
  color: var(--warm-cream);
  padding: 0.75rem 1.25rem;
  border-radius: 100px;
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.discovery-toggle:hover { background: var(--ocean-teal); transform: scale(1.05); }
.discovery-toggle[aria-pressed="true"] { background: var(--coral); }

.discovery-icon { font-size: 1rem; animation: pulse 2s infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.discovery-overlay {
  position: fixed;
  inset: 0;
  z-index: 800;
  pointer-events: none;
  overflow: hidden;
}

.discovery-overlay.active { pointer-events: none; }

.discovery-question-float {
  position: absolute;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(1rem, 3vw, 2rem);
  color: var(--coral);
  opacity: 0;
  animation: floatQuestion 4s ease forwards;
  pointer-events: none;
}

@keyframes floatQuestion {
  0% { opacity: 0; transform: translateY(20px) scale(0.8); }
  20% { opacity: 0.8; transform: translateY(0) scale(1); }
  80% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-60px); }
}

.discovery-fact {
  position: fixed;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--deep-teal);
  color: var(--warm-cream);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  max-width: 400px;
  text-align: center;
  opacity: 0;
  animation: factAppear 5s ease forwards;
  z-index: 850;
}

@keyframes factAppear {
  0%, 100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
  15%, 85% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

body.discovery-mode .constellation-canvas,
body.discovery-mode .hero-canvas {
  animation: constellationShift 3s ease infinite alternate;
}

@keyframes constellationShift {
  from { filter: hue-rotate(0deg); }
  to { filter: hue-rotate(15deg); }
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 249, 239, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo-symbol { width: 40px; height: 40px; }

.logo-text { display: flex; flex-direction: column; line-height: 1.1; }

.logo-name {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--deep-teal);
}

.logo-sub {
  font-family: var(--font-headline);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--ocean-teal);
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
}

.nav-menu a {
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--deep-teal);
  transition: color var(--transition);
}

.nav-menu a:hover { color: var(--coral); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.admissions-badge {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--coral);
  background: rgba(255, 112, 88, 0.12);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  animation: badgePulse 3s ease infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--deep-teal);
  transition: var(--transition);
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  padding-top: var(--header-h);
  display: flex;
  align-items: center;
  position: relative;
  background: var(--warm-cream);
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 3rem 0;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ocean-teal);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-headline {
  font-family: var(--font-headline);
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--deep-teal);
  margin-bottom: 1.5rem;
}

.hero-support {
  font-size: 1.125rem;
  color: var(--text);
  opacity: 0.85;
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual { position: relative; }

.campus-scene {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  position: relative;
}

.campus-sky {
  height: 45%;
  background: linear-gradient(180deg, #1a4a48 0%, #0F766E 40%, #8DB89B 100%);
  position: relative;
}

.constellation-interactive {
  position: absolute;
  inset: 0;
}

.hero-star {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--sun-yellow);
  border-radius: 50%;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 12px var(--sun-yellow);
}

.hero-star::before {
  content: attr(data-label);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--warm-cream);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
}

.hero-star:hover, .hero-star.active {
  transform: translate(-50%, -50%) scale(1.5);
  box-shadow: 0 0 24px var(--coral);
  background: var(--coral);
}

.hero-star:hover::before, .hero-star.active::before { opacity: 1; }

.hero-star-label {
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--ocean-teal);
  min-height: 1.2em;
}

.campus-ground {
  height: 55%;
  background: linear-gradient(180deg, var(--soft-mint) 0%, #c5ddd0 100%);
  position: relative;
}

.main-building {
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  height: 45%;
  background: var(--deep-teal);
  border-radius: 4px 4px 0 0;
  transition: box-shadow 0.4s;
}

.main-building::before {
  content: '';
  position: absolute;
  top: -15%;
  left: 10%;
  right: 10%;
  height: 20%;
  background: var(--ocean-teal);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.building-windows {
  position: absolute;
  inset: 20% 15%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8%;
}

.building-windows::before,
.building-windows::after {
  content: '';
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8%;
}

.campus-zone {
  position: absolute;
  padding: 0.5rem;
  background: rgba(255, 249, 239, 0.9);
  border-radius: var(--radius-sm);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: center;
  transition: var(--transition);
  opacity: 0.7;
}

.campus-zone.active {
  opacity: 1;
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--sun-yellow);
  background: var(--warm-cream);
}

.library-zone { top: 15%; left: 5%; }
.science-zone { top: 10%; right: 8%; }
.art-zone { bottom: 25%; left: 8%; }
.sport-zone { bottom: 15%; right: 5%; }

.zone-icon { font-size: 1rem; margin-bottom: 0.15rem; }

.campus-trees .tree {
  position: absolute;
  bottom: 20%;
  width: 30px;
  height: 50px;
}

.tree::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 15px;
  background: #5a4030;
  border-radius: 2px;
}

.tree::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: var(--sage);
  border-radius: 50% 50% 40% 40%;
}

.tree-1 { left: 15%; }
.tree-2 { right: 20%; }
.tree-3 { left: 40%; bottom: 15%; width: 20px; height: 35px; }

.campus-garden {
  position: absolute;
  bottom: 5%;
  left: 30%;
  width: 40%;
  height: 12%;
  background: rgba(141, 184, 155, 0.5);
  border-radius: 50%;
}

.campus-students .student {
  position: absolute;
  bottom: 18%;
  width: 8px;
  height: 16px;
  border-radius: 4px 4px 2px 2px;
  background: var(--coral);
}

.student-1 { left: 25%; background: var(--sun-yellow); }
.student-2 { left: 45%; }
.student-3 { right: 30%; background: var(--ocean-teal); }

/* ---- Section: Idea ---- */
.section-idea { background: var(--soft-mint); }

.idea-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.question-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.question-chip {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--deep-teal);
  padding: 1rem 2rem;
  background: var(--warm-cream);
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition: var(--transition);
}

.question-chip:hover {
  border-color: var(--coral);
  color: var(--coral);
  transform: translateY(-4px);
}

.idea-quote {
  font-family: var(--font-accent);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-style: italic;
  color: var(--ocean-teal);
  text-align: center;
  line-height: 1.5;
}

.idea-quote p + p { margin-top: 0.5rem; }

/* ---- Constellation Section ---- */
.section-constellation { background: var(--warm-cream); }

.nova-constellation-wrap {
  position: relative;
  width: min(500px, 90vw);
  aspect-ratio: 1;
  margin: 3rem auto 0;
}

.constellation-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.constellation-nodes {
  position: absolute;
  inset: 0;
}

.node {
  position: absolute;
  top: 50%; left: 50%;
  transform: rotate(var(--angle)) translateY(-180px) rotate(calc(-1 * var(--angle)));
  font-family: var(--font-headline);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--deep-teal);
  padding: 0.5rem 0.75rem;
  background: var(--warm-cream);
  border: 2px solid var(--sage);
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.node-center {
  transform: translate(-50%, -50%);
  background: var(--coral);
  color: white;
  border-color: var(--coral);
  font-size: 0.75rem;
  z-index: 2;
}

.node:hover, .node.active {
  background: var(--deep-teal);
  color: var(--warm-cream);
  border-color: var(--deep-teal);
  transform: rotate(var(--angle)) translateY(-190px) rotate(calc(-1 * var(--angle))) scale(1.1);
}

.node-center:hover, .node-center.active {
  transform: translate(-50%, -50%) scale(1.1);
}

/* ---- Academics ---- */
.section-academics { background: var(--soft-mint); }

.section-header { margin-bottom: 3rem; }

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

.subject-card {
  background: var(--warm-cream);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(7, 59, 58, 0.08);
  transition: var(--transition);
}

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

.subject-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--coral);
  display: block;
  margin-bottom: 1rem;
}

.subject-card h3 {
  font-family: var(--font-accent);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--deep-teal);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.subject-skill, .subject-discovery {
  font-size: 0.875rem;
  color: var(--ocean-teal);
  margin-top: 0.5rem;
}

/* ---- Journey ---- */
.section-journey { background: var(--warm-cream); overflow: hidden; }

.journey-path {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.journey-step {
  background: var(--soft-mint);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  width: min(400px, 100%);
  opacity: 0.5;
  transform: scale(0.95);
  transition: var(--transition);
}

.journey-step.active {
  opacity: 1;
  transform: scale(1);
  background: var(--deep-teal);
  color: var(--warm-cream);
}

.journey-step.active .journey-grades { color: var(--sage); }

.journey-icon { color: var(--coral); font-size: 1.25rem; margin-bottom: 0.5rem; }
.journey-step.active .journey-icon { color: var(--sun-yellow); }

.journey-step h3 {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.journey-grades {
  font-size: 0.8rem;
  color: var(--ocean-teal);
  margin-bottom: 1rem;
}

.journey-dev {
  font-size: 0.85rem;
  text-align: left;
  display: inline-block;
}

.journey-dev li {
  padding: 0.25rem 0;
  padding-left: 1rem;
  position: relative;
}

.journey-dev li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--coral);
  font-size: 0.6rem;
}

.journey-arrow {
  font-size: 1.5rem;
  color: var(--sage);
  line-height: 1;
}

.journey-traveler {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: top 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  pointer-events: none;
}

.traveler-star {
  font-size: 1.5rem;
  color: var(--coral);
  filter: drop-shadow(0 0 8px var(--coral));
}

/* ---- Science ---- */
.section-science {
  background: var(--deep-teal);
  position: relative;
  overflow: hidden;
}

.particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
}

.science-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
}

.science-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: rgba(255, 249, 239, 0.08);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 249, 239, 0.15);
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--warm-cream);
  transition: var(--transition);
}

.science-item:hover {
  background: rgba(255, 112, 88, 0.2);
  border-color: var(--coral);
  transform: translateY(-4px);
}

.science-icon { font-size: 2rem; }

/* ---- Discovery Lab ---- */
.section-discovery-lab { background: var(--warm-cream); }

.discovery-lab-header { margin-bottom: 2rem; }

.lab-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--coral);
  background: rgba(255, 112, 88, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.project-wall {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.project-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: var(--soft-mint);
  border-radius: var(--radius-md);
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  min-width: 100px;
}

.project-step.highlight {
  background: var(--coral);
  color: white;
}

.step-num {
  font-size: 1.25rem;
  color: var(--ocean-teal);
  margin-bottom: 0.25rem;
}

.project-step.highlight .step-num { color: white; }

.project-arrow { color: var(--sage); font-size: 1.25rem; }

.discovery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.discovery-tags span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  border: 1px solid var(--sage);
  border-radius: 100px;
  color: var(--ocean-teal);
}

/* ---- Technology ---- */
.section-tech { background: var(--soft-mint); }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.tech-card {
  background: var(--warm-cream);
  padding: 2rem;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

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

.tech-ui {
  height: 80px;
  background: var(--soft-mint);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tech-bar {
  height: 8px;
  background: var(--ocean-teal);
  border-radius: 4px;
  width: 80%;
}

.tech-bar.short { width: 50%; opacity: 0.6; }
.tech-bar.medium { width: 65%; opacity: 0.8; }

.tech-ui.code code {
  font-family: monospace;
  color: var(--coral);
  font-size: 1.25rem;
}

.tech-circle {
  width: 40px;
  height: 40px;
  border: 3px solid var(--coral);
  border-radius: 50%;
  margin: auto;
}

.tech-grid-mini {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    90deg,
    var(--sage) 0px,
    var(--sage) 1px,
    transparent 1px,
    transparent 20px
  ),
  repeating-linear-gradient(
    0deg,
    var(--sage) 0px,
    var(--sage) 1px,
    transparent 1px,
    transparent 20px
  );
  opacity: 0.4;
}

.tech-wave {
  width: 100%;
  height: 30px;
  background: linear-gradient(90deg, var(--ocean-teal), var(--coral), var(--sun-yellow));
  border-radius: 15px;
  margin: auto;
  opacity: 0.6;
}

.tech-palette {
  display: flex;
  gap: 6px;
  margin: auto;
}

.tech-palette::before,
.tech-palette::after {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.tech-palette::before { background: var(--coral); }
.tech-palette::after { background: var(--sun-yellow); }

.tech-card h3 {
  font-family: var(--font-headline);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--deep-teal);
  margin-bottom: 0.5rem;
}

.tech-card p { font-size: 0.875rem; color: var(--ocean-teal); }

/* ---- Art ---- */
.section-art {
  background: linear-gradient(135deg, #FF7058 0%, #F6C85F 30%, #8DB89B 60%, #0F766E 100%);
  padding: clamp(5rem, 12vw, 10rem) 0;
}

.art-headline { color: var(--warm-cream); }

.art-composition {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 120px);
  gap: 1rem;
  margin-top: 3rem;
}

.art-block {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: default;
}

.art-block:hover { transform: scale(1.05) rotate(-1deg); }

.art-painting { background: #e85a42; color: white; grid-row: span 2; }
.art-music { background: var(--deep-teal); color: var(--warm-cream); }
.art-theatre { background: var(--sun-yellow); color: var(--deep-teal); }
.art-design { background: white; color: var(--deep-teal); }
.art-photo { background: var(--ocean-teal); color: white; }
.art-writing { background: var(--warm-cream); color: var(--deep-teal); grid-column: span 2; }

/* ---- Gallery ---- */
.section-gallery { background: var(--warm-cream); }

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

.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:hover { transform: scale(1.02); }

.gallery-item figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(7, 59, 58, 0.8));
  color: white;
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.gallery-art { background: linear-gradient(135deg, #FF7058, #F6C85F); }
.gallery-science { background: linear-gradient(135deg, #0F766E, #073B3A); }
.gallery-writing { background: linear-gradient(135deg, #8DB89B, #E7F2EC); }
.gallery-models { background: linear-gradient(135deg, #F6C85F, #FF7058); }
.gallery-photo { background: linear-gradient(135deg, #17302D, #0F766E); }
.gallery-design { background: linear-gradient(135deg, #E7F2EC, #8DB89B); }

/* ---- Sport ---- */
.section-sport { background: var(--soft-mint); }

.sport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.sport-card {
  background: var(--warm-cream);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-align: center;
  transition: var(--transition);
}

.sport-card span { display: block; font-size: 2rem; margin-bottom: 0.75rem; }
.sport-card:hover { background: var(--deep-teal); color: var(--warm-cream); transform: translateY(-4px); }

/* ---- Character ---- */
.section-character {
  background: var(--deep-teal);
  text-align: center;
}

.values-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  margin-top: 3rem;
}

.value-word {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--warm-cream);
  opacity: 0.7;
  transition: var(--transition);
  cursor: default;
}

.value-word:hover {
  opacity: 1;
  color: var(--sun-yellow);
  transform: scale(1.05);
}

/* ---- Leadership ---- */
.leadership-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.lead-card {
  padding: 2rem;
  background: var(--soft-mint);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.lead-card:hover { background: var(--warm-cream); box-shadow: var(--shadow-md); }

.lead-card h3 {
  font-family: var(--font-headline);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--deep-teal);
  margin-bottom: 0.75rem;
}

.lead-card p { font-size: 0.9rem; color: var(--ocean-teal); }

/* ---- Campus Map ---- */
.section-campus { background: var(--warm-cream); }

.campus-map {
  position: relative;
  margin: 2rem 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.map-bg { width: 100%; }

.map-svg { width: 100%; height: auto; display: block; }

.map-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  background: var(--coral);
  color: white;
  font-family: var(--font-headline);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.5rem 0.875rem;
  border-radius: 100px;
  transition: var(--transition);
  z-index: 2;
}

.map-pin:hover, .map-pin.active {
  background: var(--deep-teal);
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 0 20px rgba(255, 112, 88, 0.5);
}

.campus-panel {
  background: var(--deep-teal);
  color: var(--warm-cream);
  padding: 2rem;
  border-radius: var(--radius-lg);
  margin-top: 1.5rem;
  position: relative;
}

.panel-close {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 1.5rem;
  color: var(--warm-cream);
  opacity: 0.7;
}

.panel-close:hover { opacity: 1; }

.campus-panel h3 {
  font-family: var(--font-headline);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.campus-facilities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

.campus-facilities span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  background: var(--soft-mint);
  border-radius: 100px;
  color: var(--ocean-teal);
}

/* ---- Library ---- */
.section-library {
  background: linear-gradient(180deg, var(--warm-cream), var(--soft-mint));
}

.library-inner { text-align: center; }

.library-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.lib-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--deep-teal);
}

.lib-feature span:first-child { font-size: 2rem; }

/* ---- Classroom ---- */
.section-classroom { background: var(--soft-mint); }

.classroom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.classroom-feature {
  background: var(--warm-cream);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
}

.classroom-feature h3 {
  font-family: var(--font-headline);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--deep-teal);
  margin-bottom: 0.5rem;
}

/* ---- Teachers ---- */
.section-teachers { background: var(--warm-cream); }

.teacher-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.teacher-roles span {
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 0.5rem 1.25rem;
  background: var(--soft-mint);
  border-radius: 100px;
  color: var(--ocean-teal);
}

.teacher-dialogue {
  max-width: 500px;
  margin: 3rem auto 0;
  text-align: center;
}

.dialogue-bubble {
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg);
  font-family: var(--font-accent);
  font-size: 1.25rem;
  font-style: italic;
}

.student-bubble {
  background: var(--soft-mint);
  color: var(--deep-teal);
}

.teacher-bubble {
  background: var(--deep-teal);
  color: var(--warm-cream);
}

.dialogue-arrow { font-size: 1.5rem; color: var(--sage); margin: 0.5rem 0; }

.dialogue-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  font-family: var(--font-headline);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--coral);
}

/* ---- Student Life ---- */
.section-student-life { background: var(--soft-mint); }

.life-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.life-item {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--warm-cream);
  border-radius: var(--radius-md);
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 1rem;
  transition: var(--transition);
}

.life-item:hover {
  background: var(--coral);
  color: white;
  transform: rotate(-2deg) scale(1.05);
}

/* ---- Houses ---- */
.houses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.house-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  color: white;
  transition: var(--transition);
}

.house-card:hover { transform: translateY(-4px); }

.house-nova { background: linear-gradient(135deg, #FF7058, #e85a42); }
.house-orbit { background: linear-gradient(135deg, #0F766E, #073B3A); }
.house-aurora { background: linear-gradient(135deg, #F6C85F, #FF7058); color: var(--deep-teal); }
.house-horizon { background: linear-gradient(135deg, #8DB89B, #0F766E); }

.house-card h3 {
  font-family: var(--font-headline);
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.house-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.house-stats span {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 100px;
}

/* ---- Community ---- */
.section-community { background: var(--warm-cream); }

.community-constellation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
  position: relative;
}

.comm-node {
  padding: 1rem 1.5rem;
  background: var(--soft-mint);
  border-radius: 100px;
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--deep-teal);
  transition: var(--transition);
}

.comm-center {
  background: var(--coral);
  color: white;
}

.comm-node:hover { transform: scale(1.08); background: var(--deep-teal); color: var(--warm-cream); }
.comm-center:hover { background: var(--coral); }

/* ---- Portals ---- */
.demo-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--coral);
  border: 1px solid var(--coral);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.portal-mockup {
  background: var(--soft-mint);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.parent-mockup {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 300px;
}

.portal-sidebar {
  background: var(--deep-teal);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.portal-sidebar span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 249, 239, 0.7);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: default;
  transition: var(--transition);
}

.portal-sidebar span:hover {
  background: rgba(255, 249, 239, 0.1);
  color: var(--warm-cream);
}

.portal-main {
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}

.portal-card {
  background: var(--warm-cream);
  padding: 1.25rem;
  border-radius: var(--radius-md);
}

.portal-card h4 {
  font-family: var(--font-headline);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--deep-teal);
  margin-bottom: 0.35rem;
}

.portal-card p { font-size: 0.875rem; color: var(--ocean-teal); }

.student-dash {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  padding: 1.5rem;
}

.dash-widget {
  background: var(--warm-cream);
  padding: 1.25rem;
  border-radius: var(--radius-md);
}

.dash-widget h4 {
  font-family: var(--font-headline);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--coral);
  margin-bottom: 0.75rem;
}

.dash-widget p, .dash-widget li {
  font-size: 0.8rem;
  color: var(--text);
}

.dash-widget li { padding: 0.2rem 0; }

/* ---- Calendar ---- */
.calendar-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.cal-month {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--soft-mint);
  border-radius: var(--radius-md);
}

.cal-month h3 {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  color: var(--deep-teal);
  margin-bottom: 1rem;
}

.cal-events { display: flex; flex-direction: column; gap: 0.5rem; }

.cal-event {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
}

.cal-event.term { background: var(--deep-teal); color: white; }
.cal-event.event { background: var(--coral); color: white; }
.cal-event.sport { background: var(--sun-yellow); color: var(--deep-teal); }
.cal-event.exam { background: var(--ocean-teal); color: white; }
.cal-event.holiday { background: var(--sage); color: var(--deep-teal); }

/* ---- Events ---- */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.event-card {
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  color: white;
  transition: var(--transition);
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.event-card:hover { transform: translateY(-6px); }

.event-science { background: linear-gradient(135deg, #073B3A, #0F766E); }
.event-art { background: linear-gradient(135deg, #FF7058, #F6C85F); }
.event-sport { background: linear-gradient(135deg, #0F766E, #8DB89B); }
.event-culture { background: linear-gradient(135deg, #F6C85F, #FF7058); color: var(--deep-teal); }
.event-reading { background: linear-gradient(135deg, #8DB89B, #E7F2EC); color: var(--deep-teal); }
.event-project { background: linear-gradient(135deg, #17302D, #073B3A); }

.event-card h3 {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.event-card p { font-size: 0.875rem; opacity: 0.9; }

/* ---- Stories ---- */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.story-card {
  padding: 2rem;
  background: var(--soft-mint);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.story-card:hover { background: var(--warm-cream); box-shadow: var(--shadow-md); }

.story-cat {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--coral);
}

.story-card h3 {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  color: var(--deep-teal);
  margin: 0.75rem 0;
  line-height: 1.3;
}

.story-card p { font-size: 0.9rem; color: var(--ocean-teal); margin-bottom: 1rem; }

.story-card a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--coral);
}

.story-card a:hover { text-decoration: underline; }

/* ---- Admissions ---- */
.section-admissions {
  background: var(--soft-mint);
  text-align: center;
}

.admissions-process {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0;
}

.admit-step {
  flex: 1;
  min-width: 140px;
  max-width: 180px;
  padding: 1.5rem 1rem;
  background: var(--warm-cream);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.admit-step:hover {
  background: var(--deep-teal);
  color: var(--warm-cream);
  transform: translateY(-4px);
}

.admit-num {
  display: block;
  font-family: var(--font-headline);
  font-size: 2rem;
  font-weight: 700;
  color: var(--coral);
  margin-bottom: 0.5rem;
}

.admit-step:hover .admit-num { color: var(--sun-yellow); }

.admit-step h3 {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

/* ---- Why Nova ---- */
.section-why {
  background: var(--deep-teal);
  padding: clamp(5rem, 12vw, 8rem) 0;
}

.why-words {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
}

.why-word {
  font-family: var(--font-headline);
  font-size: clamp(1.25rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 249, 239, 0.4);
  transition: var(--transition);
  cursor: default;
  position: relative;
}

.why-word::before {
  content: '✦';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.5rem;
  color: var(--coral);
  opacity: 0;
  transition: opacity 0.3s;
}

.why-word:hover {
  color: var(--warm-cream);
}

.why-word:hover::before { opacity: 1; }

/* ---- Believe ---- */
.section-believe { background: var(--warm-cream); }

.believe-list {
  max-width: 700px;
  margin: 2rem auto 0;
}

.believe-list li {
  font-family: var(--font-headline);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--deep-teal);
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(7, 59, 58, 0.1);
  transition: var(--transition);
}

.believe-list li:hover {
  color: var(--coral);
  padding-left: 1rem;
}

/* ---- Future ---- */
.section-future { background: var(--soft-mint); text-align: center; }

.future-sub {
  font-family: var(--font-headline);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--ocean-teal);
  margin: 1.5rem 0 3rem;
  letter-spacing: 0.02em;
}

.pathways-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.pathway {
  padding: 1rem 2rem;
  background: var(--warm-cream);
  border-radius: 100px;
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--deep-teal);
  transition: var(--transition);
}

.pathway:hover {
  background: var(--coral);
  color: white;
  transform: scale(1.05);
}

/* ---- Journal ---- */
.journal-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.journal-cats span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  border: 1px solid var(--sage);
  border-radius: 100px;
  color: var(--ocean-teal);
  cursor: default;
  transition: var(--transition);
}

.journal-cats span:hover {
  background: var(--deep-teal);
  color: var(--warm-cream);
  border-color: var(--deep-teal);
}

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

.journal-articles article {
  padding: 1.5rem;
  background: var(--soft-mint);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.journal-articles article:hover { background: var(--warm-cream); box-shadow: var(--shadow-sm); }

.journal-articles h3 {
  font-family: var(--font-headline);
  font-size: 1rem;
  color: var(--deep-teal);
  margin-bottom: 0.5rem;
}

.journal-articles p { font-size: 0.875rem; color: var(--ocean-teal); }

/* ---- FAQ ---- */
.section-faq { background: var(--warm-cream); }

.faq-list {
  max-width: 700px;
  margin: 2rem auto 0;
}

.faq-item {
  border-bottom: 1px solid rgba(7, 59, 58, 0.1);
}

.faq-item summary {
  font-family: var(--font-headline);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--deep-teal);
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--coral);
  transition: transform 0.3s;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  padding-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--ocean-teal);
  line-height: 1.7;
}

/* ---- Contact ---- */
.section-contact { background: var(--soft-mint); }

.contact-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  padding: 2.5rem;
  background: var(--warm-cream);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.contact-item h3 {
  font-family: var(--font-headline);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--coral);
  margin-bottom: 0.75rem;
}

.contact-item p { font-size: 0.95rem; color: var(--text); line-height: 1.6; }

.contact-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---- Finale ---- */
.section-finale {
  background: var(--dark);
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.finale-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.finale-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.finale-constellation {
  position: relative;
  width: min(400px, 80vw);
  aspect-ratio: 1;
  margin: 0 auto 3rem;
}

.finale-star {
  position: absolute;
  font-family: var(--font-headline);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--sage);
  padding: 0.4rem 0.6rem;
  background: rgba(255, 249, 239, 0.08);
  border-radius: 100px;
  transition: var(--transition);
  cursor: default;
}

.finale-star.connected {
  color: var(--sun-yellow);
  background: rgba(246, 200, 95, 0.15);
}

.finale-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-headline);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--coral);
  padding: 1rem 1.5rem;
  background: rgba(255, 112, 88, 0.2);
  border-radius: 100px;
  border: 2px solid var(--coral);
}

.finale-star[data-star="academics"] { top: 5%; left: 50%; transform: translateX(-50%); }
.finale-star[data-star="art"] { top: 20%; right: 5%; }
.finale-star[data-star="sport"] { bottom: 20%; right: 5%; }
.finale-star[data-star="science"] { bottom: 5%; left: 50%; transform: translateX(-50%); }
.finale-star[data-star="technology"] { bottom: 20%; left: 5%; }
.finale-star[data-star="character"] { top: 20%; left: 5%; }
.finale-star[data-star="community"] { top: 5%; right: 20%; }

.finale-logo-reveal {
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 1s ease, transform 1s ease;
}

.finale-logo-reveal.visible {
  opacity: 1;
  transform: scale(1);
}

.finale-symbol {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
}

.finale-brand {
  font-family: var(--font-headline);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--warm-cream);
}

.finale-brand-sub {
  font-family: var(--font-headline);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--sage);
  margin-top: 0.25rem;
}

/* ---- Final CTA ---- */
.section-final-cta {
  background: var(--deep-teal);
  padding: clamp(5rem, 12vw, 10rem) 0;
}

.final-cta-sub {
  font-size: 1.125rem;
  color: rgba(255, 249, 239, 0.8);
  max-width: 500px;
  margin: 1.5rem auto 2.5rem;
  line-height: 1.7;
}

/* ---- Footer ---- */
.footer {
  background: var(--dark);
  color: rgba(255, 249, 239, 0.7);
  padding: 3rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 249, 239, 0.1);
}

.footer-logo {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--warm-cream);
}

.footer-tagline {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  color: var(--sage);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-content: start;
}

.footer-nav a {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: color 0.3s;
}

.footer-nav a:hover { color: var(--coral); }

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: right;
}

.footer-social a {
  font-size: 0.75rem;
  transition: color 0.3s;
}

.footer-social a:hover { color: var(--coral); }

.footer-copy {
  font-size: 0.75rem;
  text-align: center;
  opacity: 0.5;
}

/* ---- Question Modal ---- */
.question-modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 90vw;
}

.question-modal::backdrop {
  background: rgba(7, 59, 58, 0.6);
  backdrop-filter: blur(4px);
}

.modal-inner {
  background: var(--warm-cream);
  padding: 3rem;
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  min-width: min(400px, 90vw);
}

.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 1.5rem;
  color: var(--deep-teal);
}

.modal-question {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--deep-teal);
  margin-bottom: 2rem;
}

/* ---- Scroll Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 600px; margin: 0 auto; }
  .idea-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; text-align: center; }
  .footer-social { text-align: center; align-items: center; }
  .parent-mockup { grid-template-columns: 1fr; }
  .portal-sidebar { flex-direction: row; flex-wrap: wrap; }
  .calendar-timeline { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor { display: none; }

  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--warm-cream);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
  }

  .header-actions {
    display: none;
  }

  .header-actions.mobile-visible {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--warm-cream);
    padding: 1rem;
    justify-content: center;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 999;
  }

  .admissions-badge { display: none; }

  .art-composition {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .art-painting { grid-row: auto; }
  .art-writing { grid-column: auto; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .life-grid { grid-template-columns: repeat(2, 1fr); }
  .calendar-timeline { grid-template-columns: 1fr 1fr; }

  .node {
    transform: rotate(var(--angle)) translateY(-120px) rotate(calc(-1 * var(--angle)));
    font-size: 0.55rem;
  }

  .discovery-toggle {
    bottom: 1rem;
    right: 1rem;
    font-size: 0.6rem;
    padding: 0.6rem 1rem;
  }

  .project-wall { flex-direction: column; }
  .project-arrow { transform: rotate(0); }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .contact-ctas { flex-direction: column; }
  .contact-ctas .btn { width: 100%; justify-content: center; }
}
