/* Eduvelora Services — global styles */

:root {
  /* Brand: Warm Ivory */
  --paper: #F7F2E8;
  --paper-warm: #EDE6D5;
  --ink: #0B2D5B;
  --ink-soft: #1A3A6B;
  --ink-mute: #5A6E8C;
  --line: rgba(11, 45, 91, 0.12);

  /* Night/hero palette — deep navy */
  --night: #071d3d;
  --night-2: #0B2D5B;
  --night-soft: #1A3A6B;

  /* Accents */
  --c-gold: #C9A13A;
  --c-gold-light: #E2BC5B;
  --c-violet: #7C5CFF;
  --c-cyan: #22D3EE;
  --c-amber: #C9A13A;
  --c-coral: #FF6B6B;
  --c-mint: #06D6A0;
  --c-rose: #F472B6;

  /* Brand primaries */
  --primary: #0B2D5B;
  --secondary: #C9A13A;
  --tertiary: #22D3EE;

  /* Fonts */
  --font-display: "Bricolage Grotesque", "Schibsted Grotesk", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-serif: "Newsreader", Georgia, serif;

  /* Motion control */
  --motion: 1;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  font-feature-settings: "ss01", "ss02";
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ─── Typography helpers ─── */
.display { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.025em; line-height: 0.95; }
.mono { font-family: var(--font-mono); font-size: 0.78em; letter-spacing: 0.04em; text-transform: uppercase; }
.serif { font-family: var(--font-serif); }
.italic { font-style: italic; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.025em; line-height: 1; margin: 0; }
p { margin: 0; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { position: relative; }

/* ─── Nav ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
}
.nav.scrolled {
  background: rgba(255, 249, 240, 0.85);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav.dark.scrolled {
  background: rgba(15, 16, 32, 0.78);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: inherit;
}
.nav-logo-mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  display: grid; place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  background: white;
  border-radius: 8px;
  padding: 3px 5px;
}
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a { opacity: 0.65; transition: opacity 0.2s, color 0.2s; }
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav.on-dark { color: var(--paper); }
.nav.on-dark .nav-links a { color: rgba(255,249,240,0.85); opacity: 1; }
.nav.on-dark .nav-links a:hover,
.nav.on-dark .nav-links a.active { color: white; opacity: 1; }
.nav-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform 0.2s, background 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); }
.nav.on-dark .nav-cta { background: rgba(255,249,240,0.15); color: var(--paper); border: 1px solid rgba(255,249,240,0.3); }
.nav.on-dark .nav-cta:hover { background: rgba(255,249,240,0.25); }

/* ─── Hamburger ─── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  z-index: 200;
  color: inherit;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.2,0.8,0.2,1), opacity 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Mobile menu overlay ─── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 149;
  background: var(--night);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}
.mobile-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 60%, rgba(201,161,58,0.15), transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(201,161,58,0.08), transparent 55%);
  pointer-events: none;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
}
.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: clamp(40px, 12vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: rgba(255,249,240,0.75);
  padding: 10px 0;
  line-height: 1;
  transition: color 0.2s, opacity 0.2s;
  text-align: center;
}
.mobile-menu nav a:hover { color: var(--secondary); }
.mobile-menu .mobile-cta {
  margin-top: 40px;
  background: var(--primary);
  color: white;
  padding: 18px 40px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 28px rgba(124,92,255,0.4);
  position: relative;
}
.mobile-menu .mobile-meta {
  position: absolute;
  bottom: 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,249,240,0.35);
  text-align: center;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--night);
  color: var(--paper);
  overflow: hidden;
  padding: 140px var(--gutter) 80px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 40%, rgba(201,161,58,0.18), transparent 50%),
    radial-gradient(ellipse at 80% 65%, rgba(201,161,58,0.10), transparent 55%),
    radial-gradient(ellipse at 55% 15%, rgba(255,255,255,0.05), transparent 50%);
  pointer-events: none;
}
.hero-stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.6) 50%, transparent),
    radial-gradient(1px 1px at 70% 60%, rgba(255,255,255,0.5) 50%, transparent),
    radial-gradient(2px 2px at 40% 80%, rgba(255,255,255,0.7) 50%, transparent),
    radial-gradient(1px 1px at 90% 20%, rgba(255,255,255,0.5) 50%, transparent),
    radial-gradient(1px 1px at 10% 70%, rgba(255,255,255,0.5) 50%, transparent),
    radial-gradient(2px 2px at 55% 40%, rgba(255,255,255,0.6) 50%, transparent);
  background-size: 400px 400px;
  pointer-events: none;
  animation: drift 60s linear infinite;
  animation-duration: calc(60s / var(--motion, 1));
}
@keyframes drift {
  to { background-position: 400px 400px; }
}
.hero-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; gap: 40px; } }

.hero h1 {
  font-size: clamp(56px, 9vw, 140px);
  letter-spacing: -0.035em;
}
.hero h1 .word {
  display: inline-block;
}
.hero h1 .accent { color: var(--secondary); position: relative; display: inline-block; }
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: -4%; right: -4%; bottom: 4%;
  height: 14%;
  background: var(--primary);
  z-index: -1;
  opacity: 0.4;
  transform: skew(-8deg);
}
.hero-tagline {
  margin-top: 28px;
  max-width: 540px;
  font-size: 18px;
  color: rgba(255,249,240,0.78);
  line-height: 1.55;
}
.hero-meta {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--primary);
  color: white;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  display: inline-flex; align-items: center; gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 28px rgba(11,45,91,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(201,161,58,0.4); }
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,249,240,0.25);
  color: inherit;
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  transition: background 0.2s;
}
.btn-ghost:hover { background: rgba(255,249,240,0.08); }

/* Hero floating scene (right side) */
.hero-scene {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
}
.float {
  position: absolute;
  animation: float 6s ease-in-out infinite;
  animation-duration: calc(6s / var(--motion, 1));
}
.float.delay-1 { animation-delay: -1.5s; }
.float.delay-2 { animation-delay: -3s; }
.float.delay-3 { animation-delay: -4.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-18px) rotate(calc(var(--rot, 0deg) + 4deg)); }
}

/* Geometric scene primitives */
.shape-book {
  width: 140px; height: 180px;
  background: var(--c-coral);
  border-radius: 6px 14px 14px 6px;
  position: relative;
  box-shadow:
    -6px 6px 0 var(--c-amber),
    -12px 12px 0 var(--c-cyan);
}
.shape-book::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 10px;
  background: rgba(0,0,0,0.18);
  border-radius: 6px 0 0 6px;
}
.shape-book::after {
  content: "";
  position: absolute;
  inset: 24px 18px 24px 28px;
  border-top: 2px solid rgba(255,255,255,0.7);
  border-bottom: 2px solid rgba(255,255,255,0.7);
  background: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7)) center / 70% 2px no-repeat;
}

.shape-pencil {
  width: 200px; height: 28px;
  background: var(--c-amber);
  border-radius: 4px;
  position: relative;
  transform: rotate(-20deg);
}
.shape-pencil::before {
  content: "";
  position: absolute;
  right: -22px; top: 0;
  width: 0; height: 0;
  border-left: 22px solid #F5E6C8;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}
.shape-pencil::after {
  content: "";
  position: absolute;
  right: -26px; top: 9px;
  width: 0; height: 0;
  border-left: 6px solid var(--ink);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.shape-globe {
  width: 130px; height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--c-cyan), #0E96B0);
  position: relative;
  box-shadow: inset -10px -10px 30px rgba(0,0,0,0.25);
}
.shape-globe::before {
  content: "";
  position: absolute;
  inset: 18%;
  background:
    radial-gradient(circle at 20% 40%, var(--c-mint) 0 14%, transparent 14%),
    radial-gradient(circle at 65% 55%, var(--c-mint) 0 18%, transparent 18%),
    radial-gradient(circle at 80% 25%, var(--c-mint) 0 10%, transparent 10%);
  border-radius: 50%;
  opacity: 0.85;
}
.shape-globe::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid var(--c-amber);
  border-radius: 50%;
  border-left-color: transparent;
  border-right-color: transparent;
  transform: rotate(60deg);
}

.shape-cap {
  width: 130px; height: 80px;
  position: relative;
}
.shape-cap::before {
  content: "";
  position: absolute;
  top: 18px; left: 0;
  width: 130px; height: 22px;
  background: var(--ink);
  border-radius: 6px;
  transform: perspective(80px) rotateX(50deg);
}
.shape-cap::after {
  content: "";
  position: absolute;
  top: 0; left: 18px;
  width: 94px; height: 16px;
  background: var(--ink);
  border-radius: 4px;
  transform: perspective(80px) rotateX(50deg);
  box-shadow: 60px 6px 0 -4px var(--c-amber);
}

.shape-apple {
  width: 80px; height: 86px;
  background: var(--c-coral);
  border-radius: 50% 50% 48% 48% / 52% 52% 48% 48%;
  position: relative;
  box-shadow: inset -8px -8px 16px rgba(0,0,0,0.18);
}
.shape-apple::before {
  content: "";
  position: absolute;
  top: -10px; left: 38px;
  width: 14px; height: 18px;
  background: var(--c-mint);
  border-radius: 50% 0 50% 0;
  transform: rotate(45deg);
}
.shape-apple::after {
  content: "";
  position: absolute;
  top: -6px; left: 38px;
  width: 5px; height: 14px;
  background: #5B3A29;
  border-radius: 3px;
}

/* Marquee */
.marquee {
  background: var(--ink);
  color: var(--paper);
  padding: 28px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.marquee-inner {
  display: flex;
  gap: 60px;
  animation: marquee 38s linear infinite;
  animation-duration: calc(38s / var(--motion, 1));
  white-space: nowrap;
  width: max-content;
}
.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 60px;
}
.marquee-item::after {
  content: "★";
  color: var(--secondary);
  font-size: 0.65em;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Section spacing */
.section {
  padding: clamp(80px, 12vw, 160px) var(--gutter);
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 64px;
  max-width: 800px;
}
.section-head h2 {
  font-size: clamp(40px, 7vw, 88px);
}

/* Founder timeline */
.founder {
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.founder-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .founder-grid { grid-template-columns: 1fr; } }

.founder-portrait {
  position: sticky;
  top: 100px;
  aspect-ratio: 3 / 4;
  background: var(--night);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15,16,32,0.18);
  display: flex;
  align-items: flex-end;
  padding: 28px;
  color: white;
}
.founder-portrait .placeholder-stripes {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 12px, transparent 12px 24px),
    linear-gradient(180deg, #1A1B36 0%, #2A2B4A 100%);
}
.founder-portrait .pcap {
  position: absolute; top: 20px; left: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.founder-portrait .pname {
  position: relative;
  z-index: 1;
}
.founder-portrait .pname-display {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
  margin: 0;
  letter-spacing: -0.02em;
}
.founder-portrait .prole {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 10px;
}
.founder-portrait .pbadge {
  position: absolute;
  top: 24px; right: 24px;
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  text-align: center;
  line-height: 1;
  transform: rotate(-8deg);
  padding: 8px;
}

.timeline {
  position: relative;
  padding-left: 36px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 11px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--secondary), var(--tertiary));
  border-radius: 2px;
}
.tl-item {
  position: relative;
  padding-bottom: 48px;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 6px;
  width: 24px; height: 24px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 50%;
}
.tl-item.alt::before { background: var(--secondary); border-color: var(--ink); }
.tl-year {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.tl-title {
  font-family: var(--font-display);
  font-size: 26px;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.tl-body { color: var(--ink-soft); max-width: 520px; }

/* Story / mission chapters */
.story {
  background: var(--night);
  color: var(--paper);
  overflow: hidden;
}
.story-track {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.chapter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
}
@media (max-width: 900px) { .chapter { grid-template-columns: 1fr; gap: 32px; } }

.chapter:nth-child(even) .chapter-art { order: -1; }
@media (max-width: 900px) {
  .chapter:nth-child(even) .chapter-art { order: 0; }
}

.chapter-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--secondary);
  margin-bottom: 16px;
}
.chapter h3 {
  font-size: clamp(36px, 5vw, 62px);
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.chapter p {
  color: rgba(255,249,240,0.72);
  font-size: 18px;
  line-height: 1.6;
  max-width: 480px;
}
.chapter-art {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  background: var(--night-2);
  border: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
  display: grid; place-items: center;
}

/* Storybook services */
.services-book {
  background: var(--paper-warm);
  position: relative;
  overflow: hidden;
}
.services-book::before, .services-book::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.services-book::before { top: 10%; left: -100px; background: var(--c-coral); }
.services-book::after { bottom: 10%; right: -100px; background: var(--c-cyan); }

.chapter-cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: var(--container);
  margin: 0 auto;
}
@media (max-width: 800px) { .chapter-cards { grid-template-columns: 1fr; } }

.book-card {
  background: var(--paper);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 360px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 10px 30px rgba(15,16,32,0.05);
}
.book-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
}
.book-card .ch-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
}
.book-card .ch-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--primary);
  color: white;
  font-family: var(--font-display);
  font-size: 28px;
}
.book-card h3 {
  font-size: 28px;
  letter-spacing: -0.025em;
}
.book-card p {
  color: var(--ink-mute);
  font-size: 15px;
  line-height: 1.55;
  flex: 1;
}
.book-card .ch-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin-top: auto;
}
.book-card .ch-link::after {
  content: "→";
  transition: transform 0.2s;
}
.book-card:hover .ch-link::after { transform: translateX(4px); }

.book-card.featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  grid-column: span 2;
  min-height: 280px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 800px) { .book-card.featured { grid-column: span 1; grid-template-columns: 1fr; } }

.book-card.featured h3 { font-size: clamp(32px, 4vw, 48px); }
.book-card.featured p { color: rgba(255,249,240,0.72); }
.book-card.featured .ch-icon {
  background: var(--secondary);
  color: var(--ink);
}
.book-card.featured .ch-link { color: var(--paper); }

/* School bus scene */
.bus-scene {
  background: linear-gradient(180deg, #87CEEB 0%, #B6E3F4 60%, #F5DEB3 60%, #E5C68B 100%);
  height: 70vh;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}
.bus-scene .sun {
  position: absolute;
  top: 12%; right: 18%;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--c-amber);
  box-shadow: 0 0 80px rgba(251,191,36,0.6);
  animation: float 8s ease-in-out infinite;
}
.bus-scene .cloud {
  position: absolute;
  width: 120px; height: 30px;
  background: white;
  border-radius: 30px;
  opacity: 0.9;
}
.bus-scene .cloud::before, .bus-scene .cloud::after {
  content: ""; position: absolute;
  background: white;
  border-radius: 50%;
}
.bus-scene .cloud::before { width: 40px; height: 40px; top: -16px; left: 18px; }
.bus-scene .cloud::after { width: 50px; height: 50px; top: -22px; left: 50px; }
.bus-scene .cloud-1 { top: 16%; left: 10%; animation: cloud-drift 40s linear infinite; }
.bus-scene .cloud-2 { top: 28%; left: 50%; animation: cloud-drift 60s linear infinite; }
.bus-scene .cloud-3 { top: 8%; left: 70%; animation: cloud-drift 50s linear infinite; }
@keyframes cloud-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-30vw); }
}

.bus-scene .building {
  position: absolute;
  bottom: 40%;
  width: 220px; height: 200px;
  background: var(--c-coral);
  border-radius: 8px 8px 0 0;
}
.bus-scene .building::before {
  content: "";
  position: absolute;
  bottom: 100%; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 130px solid transparent;
  border-right: 130px solid transparent;
  border-bottom: 70px solid var(--c-coral);
  filter: brightness(0.85);
}
.bus-scene .building .flag {
  position: absolute;
  top: -68px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 80px;
  background: var(--ink);
}
.bus-scene .building .flag::after {
  content: "";
  position: absolute;
  top: 4px; left: 4px;
  width: 24px; height: 16px;
  background: var(--c-violet);
}
.bus-scene .building .windows {
  position: absolute;
  inset: 30px 24px 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 16px;
}
.bus-scene .building .windows span {
  background: var(--c-amber);
  border-radius: 4px;
  border: 3px solid rgba(0,0,0,0.15);
}
.bus-scene .building .door {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 60px;
  background: var(--ink);
  border-radius: 28px 28px 0 0;
}
.bus-scene .building-1 { left: 12%; }

.bus-scene .road {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 22%;
  background: #3F3D56;
}
.bus-scene .road::before {
  content: "";
  position: absolute;
  top: 20%; left: 0; right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    90deg, var(--c-amber) 0 40px, transparent 40px 80px
  );
}

.bus {
  position: absolute;
  bottom: 6%;
  left: -260px;
  width: 240px;
  height: 110px;
  transition: transform 0.05s linear;
  will-change: transform;
}
.bus-body {
  position: absolute;
  inset: 10px 0 30px 0;
  background: var(--c-amber);
  border-radius: 18px 8px 6px 6px;
  box-shadow: 0 4px 0 #C28B0F inset, 0 -10px 0 rgba(0,0,0,0.06) inset;
}
.bus-body::before {
  /* hood / windshield */
  content: "";
  position: absolute;
  top: 12px; right: 8px;
  width: 60px; height: 36px;
  background: #2F3A66;
  border-radius: 4px 4px 8px 8px;
}
.bus-body::after {
  /* side windows */
  content: "";
  position: absolute;
  top: 12px; left: 14px;
  width: 130px; height: 36px;
  background: linear-gradient(to right, #2F3A66 0 60px, transparent 60px 64px, #2F3A66 64px 124px, transparent 124px 128px, #2F3A66 128px);
  border-radius: 6px;
}
.bus-wheel {
  position: absolute;
  bottom: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink);
  border: 6px solid #2F3A66;
  animation: spin 1s linear infinite;
  animation-play-state: paused;
}
.bus-wheel.l { left: 26px; }
.bus-wheel.r { right: 26px; }
.bus.moving .bus-wheel { animation-play-state: running; }
@keyframes spin { to { transform: rotate(360deg); } }
.bus-roof {
  position: absolute;
  top: 0; left: 8px;
  width: 200px;
  height: 14px;
  background: #C28B0F;
  border-radius: 4px;
}
.bus-label {
  position: absolute;
  top: 60px; left: 150px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  background: var(--paper);
  padding: 2px 6px;
  border-radius: 3px;
}

.bus-scene .tagline {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 700;
  color: var(--ink);
  z-index: 5;
  letter-spacing: -0.03em;
  max-width: 800px;
  line-height: 0.95;
}
.bus-scene .tagline em {
  font-style: italic;
  color: var(--c-violet);
  font-family: var(--font-serif);
  font-weight: 500;
}

/* Advisors preview */
.advisors-prev {
  background: var(--paper);
}
.advisors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
}
@media (max-width: 900px) { .advisors-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .advisors-grid { grid-template-columns: 1fr; } }

.advisor-card {
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.advisor-card:hover {
  transform: translateY(-8px) rotate(-1deg);
}
.advisor-photo {
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(0,0,0,0.04) 0 10px, transparent 10px 20px),
    linear-gradient(180deg, var(--c1, var(--c-violet)) 0%, var(--c2, var(--c-cyan)) 100%);
}
.advisor-photo .ph-label {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.advisor-photo .ph-initials {
  position: absolute;
  bottom: 16px; left: 16px;
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 0.85;
  color: white;
  letter-spacing: -0.03em;
}
.advisor-meta {
  padding: 20px;
}
.advisor-name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.02em;
}
.advisor-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 6px;
}

/* Impact */
.impact {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: var(--container);
  margin: 0 auto;
}
@media (max-width: 800px) { .impact-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--secondary);
}
.stat-label {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,249,240,0.6);
}
.stat-desc {
  margin-top: 8px;
  font-size: 15px;
  color: rgba(255,249,240,0.8);
  max-width: 240px;
}

/* CTA */
.cta-section {
  background: var(--paper-warm);
  position: relative;
  overflow: hidden;
}
.cta-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }
.cta-grid h2 {
  font-size: clamp(28px, 7vw, 88px);
  letter-spacing: -0.03em;
  max-width: 500px;
}

.form-card {
  background: var(--paper);
  border-radius: 22px;
  padding: 32px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(15,16,32,0.06);
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.form-card input, .form-card select, .form-card textarea {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 480px) {
  .form-card { padding: 20px; border-radius: 16px; }
}
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-row label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.form-row input, .form-row select, .form-row textarea {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-warm);
  padding: 12px 14px;
  font: inherit;
  color: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--primary);
  background: white;
}
.form-row textarea { min-height: 96px; resize: vertical; }
.form-submit {
  width: 100%;
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s, background 0.2s;
}
.form-submit:hover { background: var(--primary); transform: translateY(-1px); }

/* Footer */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px var(--gutter) 40px;
}
.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,249,240,0.1);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: -0.025em;
  line-height: 1;
}
.footer-tag {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: rgba(255,249,240,0.7);
  max-width: 320px;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,249,240,0.5);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 4px 0; }
.footer-col a { font-size: 14px; opacity: 0.85; }
.footer-col a:hover { opacity: 1; }
.footer-base {
  max-width: var(--container);
  margin: 32px auto 0;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,249,240,0.5);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-duration: calc(0.8s / max(var(--motion, 1), 0.3));
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

/* Page hero (for inner pages) */
.page-hero {
  padding: 160px var(--gutter) 80px;
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(56px, 9vw, 140px);
  max-width: 1000px;
  letter-spacing: -0.035em;
}
.page-hero .lede {
  margin-top: 24px;
  font-size: 20px;
  color: var(--ink-soft);
  max-width: 640px;
  line-height: 1.55;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
