/* ==========================================================================
   Vision 2040 — DPS Mathura Road (A Student Initiative by Manini Sharma)
   The Master Hybrid: Apple-Grade Modern Editorial Meets Schoolgirl Notebook Warmth
   ========================================================================== */

:root {
  /* Brand Heritage & Emerald */
  --dps-green: #0F4A2A;
  --dps-dark: #082615;
  --dps-light: #EBF7EE;
  --dps-gold: #D97706;
  --dps-gold-light: #FEF3C7;

  /* Fresh Student Creative Accents */
  --pastel-pink: #FF6584;
  --pastel-pink-soft: #FFF1F4;
  --pastel-lavender: #8B5CF6;
  --pastel-lavender-soft: #F3EEFF;
  --pastel-mint: #10B981;
  --pastel-mint-soft: #E6FBF2;
  --pastel-yellow: #F59E0B;
  --highlighter-yellow: #FEF08A;

  /* Surfaces & Grid */
  --bg-page: #FAF9F5;
  --bg-card: #FFFFFF;
  --border-card: rgba(15, 74, 42, 0.12);
  --border-subtle: rgba(15, 74, 42, 0.08);

  /* Typography */
  --text-main: #111827;
  --text-muted: #4B5563;
  --text-light-sub: #9CA3AF;
  --pen: #374151;

  --font-sans: 'Outfit', 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Instrument Serif', 'Newsreader', Georgia, serif;
  --font-hand: 'Caveat', cursive, sans-serif;

  /* Elevation Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 74, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 74, 42, 0.08);
  --shadow-lg: 0 20px 48px rgba(15, 74, 42, 0.12);
  --shadow-xl: 0 30px 60px rgba(8, 38, 21, 0.18);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: clip;
  position: relative;
  background-color: var(--bg-page);
}

/* GPU-accelerated smooth background: 0 repaint lag on scroll */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: 
    radial-gradient(ellipse at 15% 10%, rgba(255, 182, 193, 0.18) 0%, transparent 40%),
    radial-gradient(ellipse at 85% 25%, rgba(216, 180, 254, 0.20) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 55%, rgba(134, 239, 172, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(253, 224, 71, 0.15) 0%, transparent 45%),
    linear-gradient(to right, rgba(15, 74, 42, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 74, 42, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 28px 28px, 28px 28px;
  transform: translateZ(0);
  will-change: transform;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.section-pad {
  padding: 90px max(5vw, 24px);
}

.section-container {
  max-width: 1240px;
  margin: 0 auto;
}

/* Reading Progress Bar */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  z-index: 1001;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--dps-green), var(--pastel-mint), var(--dps-gold));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.08s linear;
}

/* Full-Screen Pencil Doodle Canvas */
#pencil-doodle-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
}

/* Typography Utilities */
.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.serif.green {
  color: var(--dps-green);
}

.serif.mint {
  color: #34D399;
}

.hand {
  font-family: var(--font-hand);
  font-weight: 700;
  color: var(--pen);
  font-size: 1.35rem;
  line-height: 1.1;
}

.highlighter-text {
  background: linear-gradient(120deg, rgba(254, 240, 138, 0.9) 0%, rgba(254, 240, 138, 0.7) 100%);
  padding: 2px 10px;
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Animated SVG Hand-Drawn Pencil Doodles */
.dd {
  position: absolute;
  pointer-events: none;
  overflow: visible;
  fill: none;
  stroke: var(--pen);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  --p: 0;
}

.dd path {
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--p));
  opacity: calc(var(--p) * 30);
  transition: stroke-dashoffset 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

@property --p {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

.dd.t {
  transition: --p 1.5s ease 0.8s;
}

h2 span, h2, em {
  position: relative;
}

h2 span.rl {
  display: inline-block;
}

/* Reveal Animations */
.reveal {
  opacity: 1;
  transform: none;
}

html.js-motion .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

html.js-motion .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(250, 249, 245, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(4vw, 24px);
  z-index: 900;
}

.header-left .wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-dps-logo {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(15, 74, 42, 0.2));
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.school-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dps-green);
  letter-spacing: -0.01em;
}

.project-subtitle {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.header-center {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--dps-light);
  color: var(--dps-green);
  border: 1px solid rgba(15, 74, 42, 0.15);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.header-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.header-btn:hover {
  background: var(--dps-light);
  border-color: var(--dps-green);
  color: var(--dps-green);
}

.author-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 4px 14px 4px 6px;
  box-shadow: var(--shadow-sm);
}

.author-avatar {
  font-size: 20px;
  width: 28px;
  height: 28px;
  background: var(--pastel-pink-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-text {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 12px;
  color: var(--dps-green);
  line-height: 1.2;
}

.author-class {
  font-size: 10px;
  font-weight: 700;
  color: var(--dps-emerald);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.author-class {
  font-size: 10px;
  color: var(--text-muted);
}

/* ==========================================================================
   01 Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 40px max(5vw, 24px) 60px;
  max-width: 1240px;
  margin: 0 auto;
}

.hero-doodles-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.doodle-item {
  position: absolute;
  animation: floatDoodle 6s ease-in-out infinite;
}

.doodle-star-1 { top: 30px; right: 12%; animation-delay: 0s; }
.doodle-planet { top: 100px; left: 4%; animation-delay: 1.5s; }
.doodle-beaker { bottom: 160px; right: 6%; animation-delay: 3s; }

@keyframes floatDoodle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(4deg); }
}

.washi-tape-note {
  position: absolute;
  background: #FEF3C7;
  color: #92400E;
  font-family: var(--font-hand);
  font-size: 16px;
  font-weight: 700;
  padding: 6px 16px;
  box-shadow: 0 4px 12px rgba(180, 83, 9, 0.15);
  border: 1px dashed rgba(180, 83, 9, 0.3);
  z-index: 10;
  pointer-events: none;
}

.washi-note-left {
  top: 15px;
  left: 2%;
  transform: rotate(-6deg);
}

.washi-note-right {
  top: 25px;
  right: 2%;
  transform: rotate(5deg);
}

.hero-copy {
  text-align: center;
  max-width: 920px;
  margin: 16px auto 36px;
}

.hero-title {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--dps-green);
  margin-bottom: 20px;
  text-wrap: balance;
}

.hero-title em {
  color: var(--dps-green);
  font-style: italic;
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 32px;
  text-wrap: pretty;
}

.hero-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dps-green);
  color: #FFFFFF;
  padding: 13px 26px;
  border-radius: 30px;
  font-size: 14.5px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(15, 74, 42, 0.25);
  transition: all 0.25s ease;
}

.hero-btn-primary:hover {
  background: #145e35;
  transform: translateY(-2px);
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  color: var(--dps-green);
  border: 1.5px solid var(--border-card);
  padding: 13px 24px;
  border-radius: 30px;
  font-size: 14.5px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.hero-btn-secondary:hover {
  background: var(--dps-light);
  border-color: var(--dps-green);
  transform: translateY(-2px);
}

.hero-scroll-prompt {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mouse-icon {
  width: 14px;
  height: 22px;
  border: 1.5px solid var(--dps-green);
  border-radius: 10px;
  display: inline-block;
  position: relative;
}

.mouse-icon i {
  position: absolute;
  top: 4px;
  left: 50%;
  width: 2.5px;
  height: 5px;
  background: var(--dps-green);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: mouseWheel 1.5s infinite;
}

@keyframes mouseWheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 8px); opacity: 0; }
}

/* Hero Campus Video Preview */
.hero-scene {
  position: relative;
  max-width: 1140px;
  margin: 0 auto 32px;
  border-radius: 28px;
  overflow: visible;
}

.hero-image-wrap {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.8);
  height: 480px;
  background: #000000;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-glass-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  color: var(--dps-green);
  letter-spacing: 0.08em;
  box-shadow: var(--shadow-md);
  z-index: 5;
}

.hero-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 36px;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 38, 21, 0.92) 100%);
  color: #FFFFFF;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  z-index: 5;
}

.hero-image-caption h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}

.hero-image-caption p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14.5px;
}

.year-badge {
  font-size: 30px;
  font-weight: 800;
  color: var(--dps-gold);
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hand-sticker {
  position: absolute;
  bottom: -16px;
  right: 28px;
  background: #FFF1F4;
  color: #BE185D;
  font-family: var(--font-hand);
  font-size: 20px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(190, 24, 93, 0.18);
  border: 2px solid #FBCFE8;
  transform: rotate(4deg);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

/* Continuous Infinite Activity Marquee Strip */
.strip-wrap {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin: 20px 0 30px;
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}

.strip {
  position: relative;
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 10px 0;
  animation: stripInfiniteScroll 36s linear infinite;
  will-change: transform;
}

.strip:hover {
  animation-play-state: paused;
}

@keyframes stripInfiniteScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.strip i {
  display: block;
  width: clamp(160px, 20vw, 230px);
  aspect-ratio: 4/5;
  height: auto;
  border-radius: 16px;
  background: center/cover no-repeat;
  box-shadow: 0 14px 28px -12px rgba(12, 26, 43, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.8);
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.strip i:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 38px -12px rgba(15, 74, 42, 0.35);
}

.strip i:nth-child(even) {
  margin-top: 18px;
}

/* 4 Strategic Stats Bar (Perfect Responsive Grid Alignment) */
.campus-pills-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 22px 28px;
  box-shadow: 0 12px 32px -10px rgba(12, 26, 43, 0.08);
  margin-top: 24px;
  align-items: center;
}

.pill-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 18px;
  border-right: 1px solid var(--border-subtle);
  min-width: 0;
}

.pill-item:first-child {
  padding-left: 0;
}

.pill-item:last-child {
  border-right: none;
  padding-right: 0;
}

.pill-num {
  font-family: var(--font-sans);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  color: var(--dps-green);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.pill-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.pill-text-wrap strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dps-green);
  line-height: 1.25;
  white-space: nowrap;
}

.pill-text-wrap p {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.35;
  margin: 0;
}

@media (max-width: 1040px) {
  .campus-pills-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 24px;
    padding: 20px 24px;
  }
  .pill-item {
    border-right: none;
    padding: 4px 8px;
  }
  .pill-item:nth-child(1),
  .pill-item:nth-child(3) {
    border-right: 1px solid var(--border-subtle);
  }
}

@media (max-width: 620px) {
  .campus-pills-bar {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 20px;
  }
  .pill-item {
    border-right: none !important;
    padding: 6px 0;
    border-bottom: 1px solid var(--border-subtle);
  }
  .pill-item:last-child {
    border-bottom: none;
  }
}

/* ==========================================================================
   02 The Manifesto (Word-by-Word Reveal)
   ========================================================================== */
.mis {
  padding: 120px max(6vw, 24px) 80px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.man {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5.2vw, 4rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-top: 12px;
  color: var(--text-main);
}

.man span {
  opacity: 0.18;
  transition: opacity 0.35s ease;
}

.man span.on {
  opacity: 1;
}

/* ==========================================================================
   03 The Mission (Why 2040?)
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 48px;
}

.section-tag-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.badge-tag {
  background: var(--dps-light);
  color: var(--dps-green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(15, 74, 42, 0.15);
}

.teacher-spark-badge {
  background: var(--pastel-pink-soft);
  color: #BE185D;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(190, 24, 93, 0.18);
}

.section-header h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--dps-green);
  margin-bottom: 14px;
  text-wrap: balance;
}

.section-sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
  text-wrap: pretty;
}

.why {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 10vh max(5vw, 24px) 14vh;
}

.why-stack {
  position: relative;
  display: block;
  margin-top: 4vh;
  margin-bottom: 60px;
  padding-bottom: 22vh;
}

.cd {
  position: sticky;
  top: calc(88px + var(--i) * 36px);
  z-index: calc(10 + var(--i));
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-top: 5px solid var(--c);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 44px);
  margin-top: 4vh;
  margin-bottom: 18vh;
  min-height: 44svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  box-shadow: 0 24px 50px -20px rgba(12, 26, 43, 0.28), 0 0 0 1px rgba(15, 74, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cd-doodle {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 48px;
  height: 48px;
  pointer-events: none;
  opacity: 0.85;
}

@media (max-width: 820px) {
  .cd {
    min-height: auto;
    padding: 24px 20px;
    margin-top: 3.5vh;
    margin-bottom: 12vh;
    top: calc(76px + var(--i) * 26px);
    gap: 14px;
  }
  .cd-doodle {
    top: 14px;
    right: 16px;
    width: 32px;
    height: 32px;
  }
}

.mission-matrix-section {
  max-width: 1140px;
  margin: 0 auto 90px;
  padding: 0 max(5vw, 24px);
  position: relative;
}

.cd h3 {
  font-size: clamp(1.8rem, 3.8vw, 2.9rem);
  line-height: 1.06;
  color: var(--dps-green);
  font-family: var(--font-serif);
  margin-top: 8px;
}

.cd p {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.65;
}

/* Card Visual Micro-Elements */
.cd-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cd-pill-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cd-mini-pill {
  background: var(--dps-light);
  color: var(--dps-green);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 74, 42, 0.15);
}

.cd-highlight-tag {
  background: #FEF3C7;
  color: #92400E;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.cd-milestone-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.m-chip {
  background: #EFF6FF;
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #1E40AF;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: 600;
}

.m-chip b {
  color: #1D4ED8;
  margin-right: 4px;
}

.cd-dual-role {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.role-pill {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.role-pill.ai {
  background: #F3F4F6;
  color: #374151;
  border: 1px solid #E5E7EB;
}

.role-pill.teacher {
  background: #FDF2F8;
  color: #9D174D;
  border: 1px solid rgba(219, 39, 119, 0.2);
  font-weight: 700;
}

.cd-metrics-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.metric-item {
  background: #F0FDF4;
  border: 1px solid rgba(22, 101, 52, 0.2);
  border-radius: 12px;
  padding: 8px 14px;
  min-width: 90px;
}

.metric-item .m-num {
  font-size: 17px;
  font-weight: 800;
  color: #166534;
  display: block;
}

.metric-item .m-lbl {
  font-size: 10.5px;
  color: #374151;
  font-weight: 600;
}

/* Interactive Mission Matrix Box */
.matrix-box {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.matrix-tabs-header {
  background: #F9FAFB;
  border-bottom: 1px solid var(--border-card);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.matrix-title {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--dps-green);
}

.matrix-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.matrix-tab-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 15px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.matrix-tab-btn.active, .matrix-tab-btn:hover {
  background: var(--dps-green);
  color: #FFFFFF;
  border-color: var(--dps-green);
}

.matrix-panels {
  padding: 32px 28px;
}

.matrix-tab-panel {
  display: none;
}

.matrix-tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

.tab-panel-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 800px) {
  .tab-panel-grid { grid-template-columns: 1fr; }
}

.tab-panel-info h4 {
  font-size: 21px;
  font-weight: 700;
  color: var(--dps-green);
  margin-bottom: 10px;
}

.tab-panel-info p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.tab-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tab-specs li {
  font-size: 13.5px;
  color: var(--text-main);
  padding-left: 20px;
  position: relative;
}

.tab-specs li::before {
  content: "✦";
  color: var(--pastel-mint);
  position: absolute;
  left: 0;
  font-weight: 800;
}

.tab-panel-stat-card {
  background: var(--dps-light);
  border: 1.5px solid rgba(15, 74, 42, 0.15);
  border-radius: 20px;
  padding: 26px;
  text-align: center;
}

.stat-number {
  font-size: 38px;
  font-weight: 800;
  color: var(--dps-green);
  display: block;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dps-green);
  display: block;
  margin-bottom: 10px;
}

.tab-panel-stat-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   04 The Matter.js Gravity Chamber (Feel the Weight of Today)
   ========================================================================== */
.stick {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 60px 4vw 20px;
}

.ph {
  height: 260vh;
  position: relative;
}

.hh {
  width: min(1140px, 92vw);
}

.hh h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  color: var(--dps-green);
}

.hh p {
  color: var(--text-muted);
  max-width: 65ch;
  margin-top: 6px;
  font-size: 1rem;
}

.box {
  position: relative;
  width: min(1140px, 92vw);
  height: min(54svh, 520px);
  border: 1.5px solid var(--border-card);
  border-radius: 24px;
  background: radial-gradient(rgba(15, 74, 42, 0.08) 1.5px, transparent 1.5px) 0 0/24px 24px, #FFFFFF;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  box-shadow: var(--shadow-lg);
  --f: 0;
}

.it {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 6px;
  font: 700 13px/1.1 var(--font-sans);
  color: #FFFFFF;
  border-radius: 12px;
  will-change: transform;
  opacity: calc(1 - var(--f));
  user-select: none;
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.5);
}

.slate {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(65%, 320px);
  aspect-ratio: 4/3;
  padding: 22px;
  border-radius: 20px;
  background: #082615;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 70px -15px rgba(16, 185, 129, 0.7);
  transform: translate(-50%, -50%) scale(calc(0.85 + var(--f) * 0.15));
  opacity: var(--f);
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  pointer-events: none;
}

.slate i {
  display: block;
  height: 9px;
  border-radius: 5px;
  background: linear-gradient(90deg, #10B981, #3B82F6);
  opacity: 0.85;
}

.slate i:nth-child(2) { width: 70%; }
.slate i:nth-child(3) { width: 45%; }

.slate b {
  color: #FFFFFF;
  font-size: 1rem;
  margin-top: 8px;
}

.cap {
  position: absolute;
  top: 16px;
  left: 20px;
  max-width: 85%;
  font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 74, 42, 0.12);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  pointer-events: none;
  z-index: 5;
  color: var(--text-main);
}

.cap .b, .box.f .cap .a { display: none; }
.box.f .cap .b { display: inline; color: var(--dps-green); font-weight: 700; }

/* ==========================================================================
   05 Lightweight Interactive Concept Innovation Blueprints (The 8 Pillars)
   ========================================================================== */
.blueprint-stage-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: stretch;
}

@media (max-width: 960px) {
  .blueprint-stage-grid {
    grid-template-columns: 1fr;
  }
}

.blueprint-selector-column {
  background: #FFFFFF;
  border: 1.5px solid var(--border-card);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.blueprint-selector-header {
  background: #F9FAFB;
  border-bottom: 1px solid var(--border-card);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blueprint-buttons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 18px;
  flex: 1;
}

@media (max-width: 580px) {
  .blueprint-buttons-grid {
    grid-template-columns: 1fr;
  }
}

.bp-pill-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F9FAFB;
  border: 1.5px solid var(--border-subtle);
  border-radius: 16px;
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  font-family: inherit;
  width: 100%;
}

.bp-pill-btn:hover {
  background: #FFFFFF;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -6px rgba(12, 26, 43, 0.12);
}

.bp-pill-btn.active {
  background: #FFFFFF;
  border-color: var(--accent);
  box-shadow: 0 8px 24px -8px var(--accent), 0 0 0 2px var(--accent);
}

.bp-pill-icon {
  font-size: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(15, 74, 42, 0.04);
}

.bp-pill-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.bp-pill-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bp-pill-btn.active .bp-pill-title {
  color: var(--dps-green);
}

.bp-pill-tag {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bp-pill-arrow {
  font-size: 14px;
  color: var(--text-muted);
  opacity: 0.4;
  transition: transform 0.2s ease, opacity 0.2s ease;
  flex-shrink: 0;
}

.bp-pill-btn.active .bp-pill-arrow,
.bp-pill-btn:hover .bp-pill-arrow {
  opacity: 1;
  color: var(--accent);
  transform: translateX(3px);
}

/* Side Mission Card (Intel Dossier) */
.mission-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-card);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow-md);
  transition: all 0.25s ease;
}

.mission-card.pulse-in {
  animation: cardPulse 0.35s ease;
}

@keyframes cardPulse {
  0% { transform: scale(0.98); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

.mission-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 12px;
  margin-bottom: 20px;
}

.mission-card-icon {
  font-size: 32px;
}

.mission-card-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--dps-green);
  margin-bottom: 3px;
}

.mission-card-pill {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
}

.mission-card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mission-intel-row {
  background: #F9FAFB;
  border-radius: 14px;
  padding: 12px 14px;
}

.intel-label {
  display: block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.intel-text {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-main);
}

.mission-intel-footer {
  border-top: 1px dashed var(--border-card);
  padding-top: 12px;
}

.intel-teacher {
  font-size: 12.5px;
  color: var(--dps-green);
}

/* ==========================================================================
   06 Campus Evolution: Interactive Before / After Facility Sliders
   ========================================================================== */
.facilities-section {
  position: relative;
  background: var(--bg-surface);
}

.wipe-instruction-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid rgba(217, 119, 6, 0.25);
  padding: 8px 18px;
  border-radius: 999px;
  margin-top: 14px;
  box-shadow: 0 2px 10px rgba(217, 119, 6, 0.08);
}

.facility-showcase {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: 28px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 960px) {
  .facility-showcase { grid-template-columns: 1fr; padding: 24px; }
}

.facility-tag-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.facility-num {
  font-size: 18px;
  font-weight: 800;
  color: var(--dps-green);
}

.facility-badge {
  background: var(--dps-light);
  color: var(--dps-green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 14px;
}

.spark-author {
  font-size: 11px;
  font-weight: 700;
  color: #BE185D;
  background: var(--pastel-pink-soft);
  padding: 4px 10px;
  border-radius: 12px;
}

.facility-info h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--dps-green);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.facility-info p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.facility-specs-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.spec-chip {
  background: #F9FAFB;
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 10px 16px;
  min-width: 100px;
}

.chip-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--dps-green);
  display: block;
}

.chip-lbl {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Interactive Image Wipe Slider */
.interactive-wipe-slider {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}

.wipe-before-wrap, .wipe-after-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wipe-before-wrap img, .wipe-after-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wipe-after-wrap {
  clip-path: inset(0 0 0 50%);
  will-change: clip-path;
}

.wipe-badge {
  position: absolute;
  top: 14px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.before-badge {
  left: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: #B91C1C;
  border: 1px solid rgba(185, 28, 28, 0.2);
}

.after-badge {
  right: 14px;
  background: rgba(15, 74, 42, 0.92);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.wipe-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #FFFFFF;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  will-change: left;
}

.handle-grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--dps-green);
  font-weight: 800;
}

/* ==========================================================================
   07 Year-Scrubbing Scan Beam Transformations (.scene)
   ========================================================================== */
.scene {
  height: 200vh;
  position: relative;
  --w: 0;
  --s: 0;
}

.head {
  width: min(1140px, 92vw);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px 18px;
  flex-wrap: wrap;
}

.head h2 {
  font-size: clamp(1.8rem, 4.4vw, 3.2rem);
  color: var(--dps-green);
}

.frame {
  position: relative;
  width: min(1140px, 92vw);
  height: min(48svh, 520px);
  border-radius: 20px;
  overflow: hidden;
  background: #DFE5EC;
  box-shadow: 0 30px 60px -34px rgba(12, 26, 43, 0.6), 0 0 0 1px var(--border-card);
  transform: perspective(1500px) rotateX(calc((1 - var(--w)) * 2deg));
}

.base {
  position: absolute;
  inset: 0;
  background: var(--img) center/cover;
}

.base video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fut {
  position: absolute;
  inset: 0;
  backdrop-filter: saturate(1.45) contrast(1.08) brightness(1.04);
  -webkit-backdrop-filter: saturate(1.45) contrast(1.08) brightness(1.04);
  background: linear-gradient(135deg, color-mix(in srgb, var(--a) 34%, transparent), rgba(12, 26, 43, 0.2));
}

.v1 .fut { clip-path: inset(0 calc((1 - var(--w)) * 100%) 0 0); }
.v2 .fut { clip-path: inset(0 0 0 calc((1 - var(--w)) * 100%)); }
.v3 .fut { clip-path: circle(calc(var(--w) * 85%) at 50% 50%); }
.v4 .fut { clip-path: inset(calc((1 - var(--w)) * 100%) 0 0 0); }

.grid {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px) 0 0/42px 42px,
              linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px) 0 0/42px 42px;
}

.scan {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--w) * 100%);
  width: 3px;
  background: #FFFFFF;
  box-shadow: 0 0 20px 4px var(--a);
  opacity: var(--s);
}

.v2 .scan { left: calc((1 - var(--w)) * 100%); }
.v3 .scan { display: none; }
.v4 .scan { left: 0; right: 0; width: auto; height: 3px; bottom: auto; top: calc((1 - var(--w)) * 100%); }

.co {
  position: absolute;
  width: 0;
  height: 0;
}

.co i {
  position: absolute;
  left: -7px;
  top: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--a);
  border: 2.5px solid #FFFFFF;
  animation: pl 2.2s infinite;
}

@keyframes pl {
  0% { box-shadow: 0 0 0 0 var(--a); }
  100% { box-shadow: 0 0 0 14px transparent; }
}

.co em {
  position: absolute;
  left: 16px;
  top: -14px;
  width: max-content;
  max-width: 180px;
  font: 700 12px/1.25 var(--font-sans);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: 0 8px 18px -8px rgba(12, 26, 43, 0.5);
  pointer-events: none;
}

.co.l em {
  left: auto;
  right: 16px;
}

.tg, .yr {
  position: absolute;
  bottom: 12px;
  padding: 4px 14px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.94);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.td {
  left: 12px;
  opacity: calc(1 - var(--w) * 3);
}

.tf {
  right: 12px;
  background: var(--a);
  color: #FFFFFF;
  opacity: calc((var(--w) - 0.55) * 3);
}

.yr {
  top: 12px;
  bottom: auto;
  right: 12px;
  font-size: 1rem;
  color: var(--dps-green);
}

.copy {
  width: min(1140px, 92vw);
  display: grid;
  grid-template-columns: 1fr 1.15fr 1.15fr;
  gap: 24px;
  font-size: 0.88rem;
  line-height: 1.48;
  color: var(--text-muted);
}

.copy > div {
  border-top: 1px solid var(--border-card);
  padding-top: 10px;
}

.copy b {
  display: block;
  color: var(--dps-green);
  font-size: 0.82rem;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.copy small {
  display: block;
  margin-top: 6px;
  color: var(--dps-green);
  font-weight: 700;
  font-size: 0.78rem;
}

@media (max-width: 760px) {
  .copy { grid-template-columns: 1fr; gap: 10px; font-size: 0.8rem; }
  .copy .td { display: none; }
  .frame { height: 32svh; }
  .co em { font-size: 10px; max-width: 120px; }
  .head p { display: none; }
}

/* ==========================================================================
   07 Pinned Horizontal Sports & Health Track (.hs, .trk)
   ========================================================================== */
.hs {
  height: 420vh;
  position: relative;
}

.hs .stick {
  justify-content: flex-start;
  padding-top: 80px;
  overflow: hidden;
}

.trk {
  display: flex;
  gap: 20px;
  padding: 0 max(4vw, 16px);
  width: max-content;
  will-change: transform;
  align-self: flex-start;
  margin-top: 16px;
}

.gc {
  width: min(72vw, 340px);
  height: min(54svh, 480px);
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease;
}

.gc:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.gc i {
  flex: 1;
  background: center/cover no-repeat;
}

.gc div {
  padding: 16px 18px 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.gc b {
  display: block;
  font: 400 1.6rem/1.1 var(--font-serif);
  color: var(--dps-green);
  margin-bottom: 4px;
}

/* ==========================================================================
   08 The National Mission Clock & Timeline (.tl, .rail)
   ========================================================================== */
.tl {
  padding: 120px max(5vw, 20px);
  max-width: 1000px;
  margin: 0 auto;
}

.rail {
  position: relative;
  padding-left: 50px;
  margin-top: 40px;
}

#rl {
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--border-card);
}

#rl::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--dps-green);
  transform: scaleY(var(--p, 0));
  transform-origin: top;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.8);
}

.ti {
  position: relative;
  padding: 0 0 8vh;
  display: grid;
  grid-template-columns: minmax(100px, 160px) 1fr;
  gap: 10px 28px;
}

.ti::before {
  content: "";
  position: absolute;
  left: -50px;
  top: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-page);
  border: 3px solid var(--border-card);
  transition: all 0.4s ease;
}

.ti.on::before {
  background: var(--dps-green);
  border-color: #34D399;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.7);
}

.ti b {
  font: 400 clamp(2.6rem, 6.5vw, 4.4rem)/0.9 var(--font-serif);
  position: relative;
  color: var(--dps-green);
}

.ti p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.ti p strong {
  display: block;
  color: var(--dps-green);
  font-size: 0.84rem;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 760px) {
  .ti { grid-template-columns: 1fr; gap: 6px; }
}

/* ==========================================================================
   09 The 2040 Pledge with Hand-Drawn SVG Ticks (.ch)
   ========================================================================== */
.ch {
  padding: 80px max(5vw, 20px) 100px;
  max-width: 960px;
  margin: 0 auto;
}

.ch ul {
  list-style: none;
  margin-top: 36px;
}

.ch li {
  position: relative;
  padding: 22px 0 22px 76px;
  border-top: 1px solid var(--border-card);
  font-size: 1.15rem;
  color: var(--text-main);
  line-height: 1.5;
}

/* ==========================================================================
   10 A Day in Manini's Life in 2040
   ========================================================================== */
.day-timeline {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-step {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 18px;
  align-items: center;
}

@media (max-width: 600px) {
  .timeline-step { grid-template-columns: 1fr; }
}

.step-time {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--dps-green);
  background: var(--dps-light);
  border: 1px solid rgba(15, 74, 42, 0.15);
  border-radius: 12px;
  padding: 8px 12px;
  text-align: center;
}

.step-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.2s ease;
}

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

.step-icon {
  font-size: 28px;
  width: 48px;
  height: 48px;
  background: var(--dps-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--dps-green);
  margin-bottom: 4px;
}

.step-content p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ==========================================================================
   11 Closing Tribute & Signature (Rich, No Empty Voids!)
   ========================================================================== */
.closing-section {
  background: linear-gradient(135deg, #0F4A2A 0%, #082615 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  margin: 0 max(4vw, 20px) 50px;
  box-shadow: var(--shadow-xl);
}

.closing-box {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.closing-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #34D399;
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 16px;
  border-radius: 20px;
  border: 1px solid rgba(52, 211, 153, 0.3);
  margin-bottom: 20px;
}

.closing-headline {
  font-size: clamp(32px, 4.2vw, 58px);
  font-weight: 800;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.closing-sub {
  font-size: clamp(15px, 1.7vw, 19px);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 34px;
}

.teachers-honored-bar {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: 18px 22px;
  margin-bottom: 32px;
}

.honored-title {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #FEF08A;
  display: block;
  margin-bottom: 10px;
}

.teachers-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.teacher-chip {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
}

.signature-card {
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 30px 34px;
  text-align: left;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.sig-team-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(52, 199, 89, 0.22);
  border: 1px solid rgba(52, 199, 89, 0.45);
  color: #FEF08A;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.sig-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.sig-member {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 10px 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sig-member .sig-avatar {
  font-size: 26px;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sig-member .sig-meta h4 {
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.sig-member .sig-meta p {
  font-size: 11.5px;
  font-weight: 600;
  color: #86EFAC;
}

.sig-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.sig-avatar {
  font-size: 30px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sig-meta h4 {
  font-size: 17.5px;
  font-weight: 800;
  color: #FFFFFF;
}

.sig-meta p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
}

.sig-quote {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 18px;
  font-style: italic;
}

.sig-handwritten {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  padding-top: 12px;
  font-family: var(--font-hand);
  font-size: 18px;
  font-weight: 700;
  color: #FEF08A;
}

.sig-year {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   12 Footer
   ========================================================================== */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-card);
  padding: 50px max(5vw, 24px) 26px;
}

.footer-top {
  max-width: 1240px;
  margin: 0 auto 36px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
}

@media (max-width: 800px) {
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
}

.footer-dps-logo {
  height: 40px;
  width: auto;
  margin-bottom: 12px;
}

.footer-col-main p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.vercel-badge {
  display: inline-block;
  background: var(--dps-light);
  color: var(--dps-green);
  border: 1px solid rgba(15, 74, 42, 0.15);
  border-radius: 14px;
  padding: 4px 12px;
  font-size: 10.5px;
  font-weight: 700;
}

.footer-col h5 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--dps-green);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-col li {
  font-size: 12.5px;
  color: var(--text-muted);
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-light-sub);
  flex-wrap: wrap;
  gap: 12px;
}

.codlyn-link {
  color: var(--dps-green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.codlyn-link:hover {
  color: #059669;
  opacity: 0.85;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsiveness Suite (< 768px)
   Eliminates horizontal overflow, optimizes touch ergonomics & frame rate
   ========================================================================== */
@media (max-width: 768px) {
  /* Site Header Mobile */
  .site-header {
    height: 60px;
    padding: 0 16px;
  }
  .header-dps-logo {
    height: 32px;
  }
  .school-title {
    font-size: 13.5px;
  }
  .project-subtitle {
    display: none;
  }
  .author-badge {
    padding: 4px 10px 4px 6px;
    gap: 6px;
  }
  .author-name {
    font-size: 11.5px;
  }

  /* Hero Section Mobile */
  .hero {
    padding: 24px 16px 40px;
  }
  .washi-tape-note {
    display: none !important;
  }
  .hero-doodles-layer {
    display: none !important;
  }
  .hero-title {
    font-size: clamp(28px, 8vw, 44px);
    margin-bottom: 14px;
    line-height: 1.15;
  }
  .hero-description {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 24px;
  }
  .hero-actions-row {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    align-items: stretch;
  }
  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 14px;
    box-sizing: border-box;
  }
  .hero-image-caption {
    padding: 16px 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .hero-image-caption h3 {
    font-size: 18px;
  }
  .hero-image-caption p {
    font-size: 13px;
    line-height: 1.4;
  }
  .year-badge {
    font-size: 18px;
    padding: 2px 10px;
  }
  .hand-sticker {
    font-size: 14px;
    padding: 6px 12px;
    right: 12px;
    bottom: -10px;
  }

  /* Section Headers Mobile */
  .section-pad {
    padding: 50px 16px;
  }
  .section-header {
    margin-bottom: 28px;
  }
  .section-header h2 {
    font-size: clamp(24px, 6.5vw, 36px);
    margin-bottom: 10px;
  }
  .section-sub {
    font-size: 14.5px;
    line-height: 1.55;
  }

  /* Word by Word Manifesto Mobile */
  .mis {
    padding: 50px 16px 36px;
  }
  .man {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
    line-height: 1.25;
  }

  /* Why 2040 Cards Mobile */
  .why {
    padding: 40px 16px 50px;
  }
  .cd {
    min-height: auto;
    padding: 20px 16px;
    margin-top: 16px;
    margin-bottom: 24px;
    top: calc(64px + var(--i) * 12px);
    gap: 12px;
  }
  .cd h3 {
    font-size: 1.4rem;
  }
  .cd p {
    font-size: 13.5px;
    line-height: 1.55;
  }
  .cd-pill-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .cd-doodle {
    width: 28px;
    height: 28px;
    top: 12px;
    right: 12px;
  }

  /* Matter.js Chamber Mobile */
  .ph {
    height: auto !important;
    padding: 40px 16px 50px;
  }
  .ph .stick {
    position: static !important;
    height: auto !important;
  }
  .box {
    height: 360px;
    max-width: 100%;
  }
  .box .it {
    font-size: 11px;
    padding: 6px 8px;
  }

  /* Innovation Blueprints Mobile */
  .blueprint-stage-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .blueprint-buttons-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
  }
  .bp-pill-btn {
    padding: 10px 12px;
    border-radius: 12px;
  }
  .bp-pill-meta h4 {
    font-size: 13.5px;
  }
  .bp-pill-meta p {
    font-size: 11.5px;
  }
  .sandbox-blueprint-card {
    padding: 20px 16px;
    border-radius: 20px;
  }

  /* Facilities / Before & After Sliders Mobile */
  .facility-showcase {
    padding: 20px 16px;
    border-radius: 20px;
    gap: 20px;
    margin-bottom: 32px;
  }
  .facility-info h3 {
    font-size: 20px;
  }
  .facility-info p {
    font-size: 13.5px;
    margin-bottom: 16px;
  }
  .interactive-wipe-slider {
    height: 250px;
    touch-action: pan-y;
  }
  .handle-grip {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  /* Pinned Sports Track Mobile: Smooth Native Touch-Snap Scroll */
  .hs {
    height: auto !important;
    padding: 40px 0;
  }
  .hs .stick {
    position: static !important;
    height: auto !important;
    padding: 0 16px;
  }
  .trk {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 10px 16px 20px;
    width: 100%;
    transform: none !important;
    gap: 14px;
  }
  .gc {
    scroll-snap-align: center;
    flex-shrink: 0;
    width: 260px;
    height: 340px;
  }

  /* Scenes Mobile */
  .scene {
    height: 140vh;
  }

  /* Timeline Rail Mobile */
  .rail {
    padding-left: 20px;
  }
  .ti {
    grid-template-columns: 55px 1fr;
    gap: 14px;
  }
  .ti b {
    font-size: 1.3rem;
  }

  /* Signature Card Mobile */
  .signature-card {
    padding: 22px 16px;
  }
  .sig-team-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .sig-header {
    flex-direction: row;
    gap: 10px;
  }
  .sig-quote {
    font-size: 14px;
  }

  /* Footer Mobile */
  .site-footer {
    padding: 40px 16px 24px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
