/* ==================== PAPT CINEMATIC STYLES ==================== */
/* Narrative-driven scrollytelling experience */

/* --- MAIN SITE INTEGRATION --- */
/* Header and footer styles come from main style.css */
/* Only add PAPT-specific overrides here */

/* Footer link color override for PAPT blue */
.papt-page .site-footer a {
  color: var(--papt-blue);
}

.papt-page .site-footer a:hover {
  color: var(--papt-red);
}

/* PAPT-specific mobile toggle color override */
@media (max-width: 767px) {
  .papt-page #dark-mode-toggle-mobile:hover {
    background: var(--papt-blue);
    border-color: var(--papt-blue);
  }
}

/* ==================== CSS VARIABLES ==================== */
:root {
  --papt-red: #ED230D;
  --papt-yellow: #F1B517;
  --papt-green: #016A16;
  --papt-purple: #49108B;
  --papt-blue: #00209F;
  --papt-brown: #76453B;
  --haiti-blue: #00209F;
  --haiti-red: #ED230D;

  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-accent: #f1f3f5;
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #6c757d;
  --border-color: #e0e0e0;
  
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  
  --font-display: 'Manrope', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

[data-theme="dark"] {
  --bg-primary: #0d1117;
  --bg-secondary: #161b22;
  --bg-accent: #1c2128;
  --text-primary: #e6edf3;
  --text-secondary: #b1bac4;
  --text-muted: #7d8590;
  --border-color: #30363d;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.6);
}

/* ==================== PAPT PAGE BASE ==================== */
.papt-page {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ==================== TEXT HIGHLIGHTS ==================== */
.highlight {
  font-weight: 700;
  color: var(--text-primary);
}

/* PAPT Letter Colors (Metro Lines) */
.papt-letter {
  font-weight: inherit;
}
.papt-p1 { color: #ED230D; } /* Red Line */
.papt-a { color: #7E68A0; }  /* Purple blend */
.papt-p2 { color: #016A16; } /* Green Line */
.papt-t { color: #00209F; }  /* Blue Line */

.stat {
  font-weight: 700;
  color: var(--papt-red);
  background: rgba(237, 35, 13, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.stat:hover {
  background: rgba(237, 35, 13, 0.15);
}

[data-theme="dark"] .stat {
  background: rgba(237, 35, 13, 0.15);
  color: #ff5544;
}

[data-theme="dark"] .stat:hover {
  background: rgba(237, 35, 13, 0.25);
}

/* ==================== GRADIENT ANIMATED NUMBERS ==================== */
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.gradient-animated {
  background: linear-gradient(90deg, var(--papt-red), var(--papt-blue), var(--papt-red));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 4s ease infinite;
}

/* removed glow accents */
.glow-blue {
  filter: none;
}

.glow-red {
  filter: none;
}

[data-theme="dark"] .glow-blue {
  filter: none;
}

[data-theme="dark"] .glow-red {
  filter: none;
}

/* ==================== REVEAL ANIMATIONS ==================== */
.reveal-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo), 
              transform 0.8s var(--ease-out-expo);
}

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

.reveal-slide {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out-expo), 
              transform 0.8s var(--ease-out-expo);
}

.reveal-slide.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-card {
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: opacity 0.6s var(--ease-out-expo), 
              transform 0.6s var(--ease-out-expo);
}

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

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out-expo), 
              transform 0.6s var(--ease-out-expo);
}

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 400ms; }

/* Data-delay attribute support */
[data-delay="100"] { transition-delay: 100ms !important; }
[data-delay="200"] { transition-delay: 200ms !important; }
[data-delay="300"] { transition-delay: 300ms !important; }
[data-delay="400"] { transition-delay: 400ms !important; }

/* ==================== CINEMATIC HERO WITH ZOOM TRANSITION ==================== */
.cinematic-hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 10;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(0, 32, 159, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(237, 35, 13, 0.06) 0%, transparent 50%),
    var(--bg-primary);
}

[data-theme="dark"] .hero-gradient {
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(0, 32, 159, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(237, 35, 13, 0.1) 0%, transparent 50%),
    var(--bg-primary);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
  will-change: transform, opacity;
  transition: none; /* JS handles the animation */
}

.hero-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--papt-blue);
  margin-bottom: 2rem;
}

[data-theme="dark"] .hero-eyebrow {
  color: var(--papt-red);
}

.hero-logo {
  max-width: 100%;
  height: auto;
  margin-bottom: 2rem;
}

[data-theme="dark"] .hero-logo {
  filter: brightness(1.1);
}

.hero-tagline {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 4rem;
}

.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.scroll-cue span {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ==================== SCROLL HERO (Station Signs) ==================== */
.scroll-hero {
  position: relative;
  height: 350vh; /* Quick scroll through 18 signs */
  background: var(--bg-secondary);
  margin-top: -100vh; /* Overlap with cinematic hero */
  z-index: 1;
}

.sign-container {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-secondary);
}

.scroll-sign {
  position: absolute;
  width: auto;
  height: auto;
  max-width: 85%;
  max-height: 85vh;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.12s ease-out, transform 0.12s ease-out;
  border-radius: 16px;
  will-change: opacity, transform;
}

.scroll-sign.active {
  opacity: 1;
  transform: scale(1);
}

/* Line color accent on signs */
.scroll-sign[data-line="Line 1 (Red)"] { box-shadow: 0 0 0 4px var(--papt-red), var(--shadow-lg); }
.scroll-sign[data-line="Line 2 (Yellow)"] { box-shadow: 0 0 0 4px var(--papt-yellow), var(--shadow-lg); }
.scroll-sign[data-line="Line 3 (Green)"] { box-shadow: 0 0 0 4px var(--papt-green), var(--shadow-lg); }
.scroll-sign[data-line="Line 4 (Purple)"] { box-shadow: 0 0 0 4px var(--papt-purple), var(--shadow-lg); }
.scroll-sign[data-line="Line 5 (Blue)"] { box-shadow: 0 0 0 4px var(--papt-blue), var(--shadow-lg); }
.scroll-sign[data-line="Line 6 (Brown)"] { box-shadow: 0 0 0 4px var(--papt-brown), var(--shadow-lg); }

@media (max-width: 768px) {
  .scroll-hero {
    height: 300vh;
  }
  
  .scroll-sign {
    max-width: 92%;
    max-height: 75vh;
    border-radius: 12px;
  }
}

/* ==================== OPENING STATEMENT ==================== */
.opening-statement {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
}

.narrative-content {
  max-width: 900px;
  text-align: center;
}

.large-quote {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-primary);
}

.large-quote em {
  color: var(--papt-blue);
  font-style: normal;
}

[data-theme="dark"] .large-quote em {
  color: var(--papt-red);
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 1.5em;
  color: var(--papt-blue);
  opacity: 0.3;
}

[data-theme="dark"] .quote-mark {
  color: var(--papt-red);
}

/* ==================== SCROLLYTELLING SECTIONS ==================== */
.scrollytelling-section {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.sticky-visual {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
}

.visual-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.scroll-narrative {
  position: relative;
  z-index: 2;
}

.narrative-step {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 4rem 3rem;
}

.step-content {
  max-width: 500px;
  background: var(--bg-primary);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.step-content h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.step-content p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0;
}

.step-content p + p {
  margin-top: 1rem;
}

.step-content strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* ==================== STAT DISPLAY (Challenge Section) ==================== */
.visual-stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-display {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(5rem, 15vw, 12rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--papt-blue), var(--papt-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.5s var(--ease-out-expo);
}

.stat-label {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 1rem;
  transition: all 0.5s var(--ease-out-expo);
}

/* ==================== MAP EXPLORATION ==================== */
.map-visual {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.interactive-map {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  transition: transform 0.5s var(--ease-out-expo), 
              filter 0.5s var(--ease-out-expo);
  cursor: zoom-in;
}

.interactive-map:hover {
  transform: scale(1.02);
}

.map-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: background 0.5s ease;
}

/* Line Indicator in narrative */
.line-indicator {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--line-color);
}

.line-indicator .line-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--line-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.875rem;
}

.line-indicator .line-name {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-primary);
}

/* ==================== VISION REVEAL ==================== */
.vision-reveal {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
  background: var(--bg-primary);
}

.vision-content {
  text-align: center;
  max-width: 1000px;
}

.section-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--papt-blue);
  margin-bottom: 3rem;
}

[data-theme="dark"] .section-eyebrow {
  color: var(--papt-red);
}

.vision-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 3rem;
}

.vision-stat {
  text-align: center;
}

.stat-big {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 900;
  line-height: 1;
  color: var(--text-primary);
}

.stat-desc {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

.vision-statement {
  font-size: 1.5rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ==================== DESIGN PHILOSOPHY ==================== */
.design-philosophy {
  padding: 8rem 2rem;
  background: var(--bg-secondary);
}

.philosophy-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.philosophy-intro {
  font-size: 1.25rem;
  color: var(--text-secondary);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr; /* Mobile: 1 column */
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Tablet and up: 2 columns */
@media (min-width: 768px) {
  .philosophy-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.philosophy-card {
  background: var(--bg-primary);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: transform 0.4s var(--ease-out-expo), 
              box-shadow 0.4s var(--ease-out-expo);
}

.philosophy-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--papt-blue), var(--papt-red));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card-icon i {
  font-size: 1.5rem;
  color: white;
}

.philosophy-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.philosophy-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ==================== IMPACT JOURNEY ==================== */
.impact-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.impact-circle {
  position: relative;
  width: 300px;
  height: 300px;
}

.progress-ring {
  width: 100%;
  height: 100%;
}

.progress-bg {
  fill: none;
  stroke: var(--border-color);
  stroke-width: 8;
}

.progress-fill {
  fill: none;
  stroke: var(--papt-blue); /* Blue in light mode */
  stroke-width: 8;
  stroke-linecap: round;
}

[data-theme="dark"] .progress-fill {
  stroke: var(--papt-red); /* Red in dark mode */
}

.impact-circle svg {
  overflow: visible;
}

.impact-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.impact-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  transition: all 0.5s var(--ease-out-expo);
}

.impact-unit {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  max-width: 150px;
  margin-top: 0.5rem;
  transition: all 0.5s var(--ease-out-expo);
}

/* ==================== LINE EXPLORER ==================== */
.line-explorer {
  padding: 8rem 2rem;
  background: var(--bg-primary);
}

.explorer-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.explorer-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.line-selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto 3rem;
}

.line-select-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--bg-secondary);
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
}

.line-select-btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.line-select-btn.active {
  border-color: var(--line-color);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.line-badge-lg {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--line-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  font-family: var(--font-display);
}

.line-info {
  text-align: left;
}

.line-info strong {
  display: block;
  font-size: 1rem;
  color: var(--text-primary);
}

.line-info small {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.line-detail-panel {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 2rem;
  min-height: 200px;
}

/* ==================== CONCEPT GALLERY ==================== */
.concept-gallery {
  padding: 8rem 2rem;
  background: var(--bg-secondary);
}

.gallery-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.gallery-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.concept-line-selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.concept-line-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--bg-primary);
  border: 2px solid transparent;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
}

.concept-line-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.concept-line-btn.active {
  border-color: var(--text-primary);
}

.line-badge-mini {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 0.75rem;
}

.line-name-mini {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-primary);
}

.concept-banner-preview {
  max-width: 1000px;
  margin: 2rem auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.concept-banner-img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.concept-banner-preview:hover .concept-banner-img {
  transform: scale(1.02);
}

.concept-stations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 2rem auto 0;
}

.concept-station-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.25rem 1rem;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.concept-station-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--line-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.concept-station-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-color);
}

.concept-station-card:hover::before {
  transform: scaleX(1);
}

.concept-station-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ==================== CONCEPT MODAL ==================== */
.concept-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 2rem;
}

.concept-modal.open {
  display: flex;
}

.concept-modal-content {
  background: var(--bg-primary);
  border-radius: 20px;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
}

.concept-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--bg-secondary);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.concept-modal-close:hover {
  background: var(--papt-red);
  color: white;
  transform: rotate(90deg);
}

.concept-modal-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.concept-modal-subtitle {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.concept-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.concept-tab {
  background: none;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

.concept-tab:hover {
  color: var(--text-primary);
}

.concept-tab.active {
  color: var(--papt-blue);
}

.concept-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--papt-blue);
}

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

.concept-tab-panel.active {
  display: block;
}

.concept-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  cursor: zoom-in;
}

.concept-card-img {
  max-width: 500px;
  margin: 0 auto;
  display: block;
}

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

.concept-enhanced-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

/* ==================== SIMULATOR CTA ==================== */
.simulator-cta {
  padding: 8rem 2rem;
  background: linear-gradient(135deg, var(--papt-blue), var(--papt-red));
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: white;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: white;
  color: var(--papt-blue);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s var(--ease-out-expo);
}

.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.cta-button i:last-child {
  transition: transform 0.3s ease;
}

.cta-button:hover i:last-child {
  transform: translateX(4px);
}

.cta-button i:first-child {
  font-size: 1.1rem;
}

/* ==================== CLOSING SECTION ==================== */
.closing-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
  background: var(--bg-primary);
}

.closing-content {
  text-align: center;
  max-width: 700px;
}

.closing-statement {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.4;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.closing-statement strong {
  color: var(--text-primary);
}

.figma-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  transition: all 0.3s var(--ease-out-expo);
}

.figma-link:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

/* ==================== STATION OVERLAY ==================== */
.station-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.station-overlay.open {
  display: flex;
}

.station-card {
  position: relative;
  background: var(--bg-primary);
  border-radius: 16px;
  padding: 1rem;
  max-width: min(800px, 90vw);
  max-height: 85vh;
  box-shadow: var(--shadow-lg);
}

.station-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.station-meta {
  text-align: center;
  padding: 1rem 0 0.5rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.station-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-primary);
  color: var(--text-primary);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.station-close:hover {
  background: var(--papt-red);
  color: white;
}

/* ==================== LIGHTBOX ==================== */
.papt-page .lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4000;
  padding: 2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.papt-page .lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 95vw;
  max-height: 95vh;
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-user-select: none;
}

.lightbox-content:active {
  cursor: grabbing;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  min-width: 200px;
  min-height: 200px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  background: rgba(255,255,255,0.05);
}

/* Ensure SVGs display properly */
.lightbox-content img[src$=".svg"] {
  width: auto;
  height: 80vh;
}

.papt-page .lightbox-close {
  position: fixed;
  top: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  z-index: 4001;
}

.papt-page .lightbox-close:hover {
  background: var(--papt-red);
}

.lightbox-controls {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  background: rgba(0,0,0,0.6);
  padding: 0.5rem;
  border-radius: 50px;
  z-index: 4001;
}

.lightbox-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.1);
  color: white;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.lightbox-btn:hover {
  background: rgba(255,255,255,0.2);
}

/* ==================== RESPONSIVE DESIGN ==================== */

/* Tablet and below - Stack scrollytelling */
@media (max-width: 1024px) {
  .scrollytelling-section {
    grid-template-columns: 1fr;
  }

  .sticky-visual {
    position: relative;
    height: 50vh;
    min-height: 400px;
  }

  .narrative-step {
    min-height: auto;
    padding: 3rem 2rem;
  }

  .step-content {
    padding: 2rem;
    max-width: 100%;
  }

  .vision-stats {
    gap: 2rem;
  }

  .stat-big {
    font-size: clamp(3rem, 8vw, 5rem);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .cinematic-hero {
    min-height: 90vh;
  }

  .hero-content {
    padding: 1.5rem;
  }

  .hero-eyebrow {
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .hero-tagline {
    font-size: 1.125rem;
    margin-bottom: 3rem;
  }

  .scroll-line {
    height: 40px;
  }

  .opening-statement {
    min-height: 50vh;
    padding: 4rem 1.5rem;
  }

  .large-quote {
    font-size: 1.25rem;
  }

  .sticky-visual {
    height: 40vh;
    min-height: 300px;
  }

  .stat-number {
    font-size: clamp(3rem, 12vw, 6rem);
  }

  .narrative-step {
    padding: 2rem 1.5rem;
  }

  .step-content {
    padding: 1.5rem;
    border-radius: 12px;
  }

  .step-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .step-content p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .line-indicator {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .vision-reveal {
    padding: 4rem 1.5rem;
  }

  .vision-stats {
    flex-direction: column;
    gap: 2rem;
  }

  .stat-big {
    font-size: 4rem;
  }

  .vision-statement {
    font-size: 1.125rem;
  }

  .design-philosophy {
    padding: 4rem 1.5rem;
  }

  .philosophy-grid {
    gap: 1.5rem;
  }

  .philosophy-card {
    padding: 2rem;
  }

  .impact-circle {
    width: 220px;
    height: 220px;
  }

  .impact-number {
    font-size: 2.5rem;
  }

  .line-explorer {
    padding: 4rem 1.5rem;
  }

  .line-selector {
    gap: 0.75rem;
  }

  .line-select-btn {
    padding: 0.875rem 1rem;
    gap: 0.75rem;
  }

  .line-badge-lg {
    width: 36px;
    height: 36px;
    font-size: 0.875rem;
  }

  .line-info strong {
    font-size: 0.9rem;
  }

  .line-info small {
    font-size: 0.75rem;
  }

  .line-detail-panel {
    padding: 1.5rem;
  }

  .concept-gallery {
    padding: 4rem 1.5rem;
  }

  .concept-line-selector {
    gap: 0.5rem;
  }

  .concept-line-btn {
    padding: 0.5rem 1rem;
  }

  .concept-stations-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
  }

  .concept-station-card {
    padding: 1rem 0.75rem;
  }

  .concept-station-name {
    font-size: 0.8rem;
  }

  .concept-modal-content {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .concept-modal-title {
    font-size: 1.5rem;
    padding-right: 3rem;
  }

  .concept-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .concept-tab {
    padding: 0.5rem 1rem;
    white-space: nowrap;
  }

  .concept-enhanced-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .simulator-cta {
    padding: 5rem 1.5rem;
  }

  .cta-content p {
    font-size: 1.1rem;
  }

  .cta-button {
    padding: 0.875rem 1.75rem;
  }

  .closing-section {
    min-height: 50vh;
    padding: 4rem 1.5rem;
  }

  .closing-statement {
    font-size: 1.25rem;
  }

  .figma-link {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }

  .station-card {
    max-width: 95vw;
    margin: 1rem;
  }

  .lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }

  .lightbox-controls {
    bottom: 1rem;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero-logo {
    max-width: 280px;
  }

  .stat-number {
    font-size: 3rem;
  }

  .stat-big {
    font-size: 3rem;
  }

  .line-select-btn {
    width: 100%;
  }

  .concept-line-btn {
    flex: 1 1 calc(33.333% - 0.5rem);
    justify-content: center;
  }

  .line-name-mini {
    display: none;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .reveal-fade,
  .reveal-slide,
  .reveal-card,
  .reveal-stagger > * {
    transition: opacity 0.3s ease;
    transform: none;
  }

  .scroll-line {
    animation: none;
  }

  .stat-number,
  .stat-label,
  .impact-number,
  .impact-unit,
  .progress-fill {
    transition: none;
  }
}