@import url('variables.css');

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

html {
  scroll-behavior: smooth;
  background-color: #0a0f19;
  transition: background-color 0.3s ease;
  /* CSS variable for safe area with fallback */
  --safe-area-top: env(safe-area-inset-top, 0px);
}

/* Fallback for older iOS (iOS 11.0-11.1) */
@supports (padding-top: constant(safe-area-inset-top)) {
  html {
    --safe-area-top: constant(safe-area-inset-top);
  }
}

section {
  scroll-margin-top: 70px;
}

section:last-of-type {
  margin-bottom: 0;
}

/* Custom selection color */
::selection {
  background: var(--copper);
  color: white;
}

::-moz-selection {
  background: var(--copper);
  color: white;
}

/* Page load animation */
html.js-loading {
  opacity: 0;
}

html.js-loaded {
  opacity: 1;
  transition: opacity 0.5s ease;
}

html.js-loaded .hero-content {
  animation: heroEntrance 0.8s ease-out 0.3s both;
}

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

/* Scroll Progress Indicator - Hidden for cleaner nav */
.scroll-progress {
  display: none !important;
}

/* Subtle grain texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 10000;
}

body {
  margin: 0;
  padding: 0;
  border: none;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Focus states for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

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

.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;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.nav.nav-dark {
  background-color: var(--navy-dark);
}

.nav.nav-light {
  background-color: var(--cream);
}

.nav.nav-dark .nav-logo img {
  filter: brightness(0) invert(1);  /* Makes logo white */
}

.nav.nav-dark .nav-hamburger span {
  background-color: #ffffff !important;
}

.nav.nav-light .nav-logo img {
  filter: brightness(0);  /* Forces white logo to black */
}

.nav.nav-light .nav-hamburger span {
  background-color: #1a1a1a !important;
}

.nav.nav-light .nav-links a {
  color: var(--text-dark);
}

.nav-container {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-logo:hover {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-bottom 0.2s ease;
  cursor: pointer;
}

.nav-links a:hover {
  color: var(--copper);
  border-bottom: 2px solid var(--copper);
}

/* Remove spacing changes on scroll - keep consistent */
.nav.scrolled {
  /* Spacing stays the same */
}

/* Mobile nav hide on scroll */
.nav.nav-hidden {
  transform: translateY(-100%);
}

/* iOS Status Bar Background */
.status-bar-bg {
  display: none;
}

@media screen and (max-width: 768px) {
  .status-bar-bg {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: constant(safe-area-inset-top); /* iOS 11.0-11.2 */
    height: env(safe-area-inset-top);
    z-index: 10000;
    transition: opacity 0.3s ease;
  }

  .status-bar-bg.status-bar-dark {
    background-color: var(--navy-dark);
  }

  .status-bar-bg.status-bar-light {
    background-color: var(--cream);
  }

  .status-bar-bg.status-bar-hidden {
    opacity: 0;
  }

  .nav-container {
    height: 56px;
    padding: 0 24px;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #1a1a1a;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowZoom 15s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Hero Video - Crossfade setup */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-video.hero-video-active {
  opacity: 1;
}

@keyframes slowZoom {
  0% {
    transform: scale(1.0);
  }
  50% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1.0);
  }
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-bg img {
    animation: none;
    transform: scale(1.02);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 15, 25, 0.4) 0%,
    rgba(10, 15, 25, 0.5) 50%,
    rgba(10, 15, 25, 0.75) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 5%;
}

.hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: clamp(5rem, 15vw, 12rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  text-shadow: 0 0 1px rgba(255,255,255,0.5);
  transform: translateZ(0);
  backface-visibility: hidden;
  margin-bottom: 40px;
}

.hero-tagline {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1.375rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

/* Scroll indicator - hidden on desktop */
.scroll-indicator {
  display: none;
}

/* Mobile Hero - Bottom-right anchored cinematic layout */
@media (max-width: 768px) {
  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  section {
    scroll-margin-top: 80px;
  }

  .footer {
    margin-top: auto;
    margin-bottom: 0 !important;
  }

  .contact,
  section:last-of-type {
    margin-bottom: 0 !important;
  }

  /* Faster reveal animations on mobile */
  .reveal {
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .reveal-delay-1 { transition-delay: 0.05s; }
  .reveal-delay-2 { transition-delay: 0.1s; }
  .reveal-delay-3 { transition-delay: 0.15s; }

  /* Faster process step animations */
  .process-step {
    transition-duration: 0.4s;
  }

  /* Faster constellation animations */
  .constellation-diagram {
    transition-duration: 0.4s;
  }

  .hero {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
  }

  /* Show videos on mobile with fallback */
  .hero-video {
    display: block;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.8s ease-in-out;
  }

  .hero-video.hero-video-active {
    opacity: 1;
  }

  /* Keep poster image as fallback while video loads */
  .hero-bg {
    background-image: url('../assets/images/hero-forge.webp');
    background-size: cover;
    background-position: center;
  }

  .hero-bg img {
    /* Slightly faster animation on mobile for more energy */
    animation: slowZoom 12s ease-in-out infinite;
  }

  .hero-overlay {
    /* Lighter at top to show more image, darker at bottom for text */
    background: linear-gradient(
      to bottom,
      rgba(10, 15, 25, 0.25) 0%,
      rgba(10, 15, 25, 0.35) 40%,
      rgba(10, 15, 25, 0.6) 75%,
      rgba(10, 15, 25, 0.8) 100%
    );
  }

  .hero-content {
    position: absolute;
    bottom: 80px;
    right: 24px;
    left: 24px;
    text-align: right;
    padding: 0;
    background: none;
  }

  .hero h1 {
    font-size: 2.25rem;
    line-height: 1.0;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
    color: #ffffff;
    text-shadow:
      0 2px 8px rgba(0, 0, 0, 0.6),
      0 4px 20px rgba(0, 0, 0, 0.4);
  }

  .hero-tagline {
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    text-shadow:
      0 1px 6px rgba(0, 0, 0, 0.6),
      0 2px 12px rgba(0, 0, 0, 0.4);
  }

  .scroll-indicator {
    display: none;
  }
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
  color: var(--text-dark);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Section Base Styles */
.section-light {
  background-color: var(--cream);
  padding: 120px 48px;
}

.section-dark {
  background-color: var(--navy-dark);
  color: var(--text-light);
  padding: 120px 48px;
}

/* Page Hero Section (for subpages) */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-dark);
  padding-top: 80px;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #1a1a1a;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 15, 25, 0.6) 0%,
    rgba(10, 15, 25, 0.7) 50%,
    rgba(10, 15, 25, 0.85) 100%
  );
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 5%;
}

.page-hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: clamp(3rem, 10vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.page-hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 2.5vw, 1.375rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 40vh;
    padding-top: 70px;
  }

  .page-hero-title {
    font-size: clamp(2.5rem, 12vw, 4rem);
    margin-bottom: 16px;
  }

  .page-hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
  }
}

/* ========================================
   THESIS PAGE STYLES
   ======================================== */

/* Mission Hero Section - SVG mask approach */
.mission-hero {
  padding-top: 140px;
  padding-bottom: 40px;
  padding-left: 48px;
  padding-right: 48px;
  background-color: var(--cream);
  min-height: auto;
}

.mission-hero-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* Video text mask wrapper */
.mission-hero-title-wrapper {
  position: relative;
  /* Width based on SVG viewBox aspect ratio (1000:200 = 5:1) times height */
  width: min(calc(clamp(120px, 20vw, 250px) * 5), 100%);
  height: clamp(120px, 20vw, 250px);
  overflow: hidden;
  margin-bottom: 48px;
}

/* Video behind the SVG mask */
.mission-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.mission-bg-video.mission-video-active {
  opacity: 1;
}

/* SVG mask layer - cream with text cut out */
.mission-text-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.mission-text-mask svg {
  width: 100%;
  height: 100%;
}

.mission-text-mask text {
  fill: black;
}

/* Opening statement - below headline, left aligned */
.mission-hero-statement {
  font-size: clamp(1.4rem, 2.5vw, 1.7rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: var(--text-dark);
  margin: 0;
  max-width: 750px;
  text-align: left;
}

@media (max-width: 1024px) {
  .mission-hero {
    padding-top: 120px;
    padding-bottom: 32px;
  }

  .mission-hero-title-wrapper {
    width: min(calc(clamp(100px, 18vw, 180px) * 5), 100%);
    height: clamp(100px, 18vw, 180px);
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .mission-hero {
    padding: 100px 24px 16px;
  }

  /* Ensure the wrapper is positioned for pseudo-elements */
  .mission-hero-title-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 1;
    margin-bottom: 32px;
    overflow: hidden;
  }

  /* Cover the top and bottom video bleed with cream overlays */
  .mission-hero-title-wrapper::before,
  .mission-hero-title-wrapper::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 20px;
    background-color: var(--cream);
    z-index: 10;
    display: block;
  }

  .mission-hero-title-wrapper::before {
    top: 0;
  }

  .mission-hero-title-wrapper::after {
    bottom: 0;
  }

  .mission-hero-statement {
    font-size: 1.15rem;
    margin-bottom: 0;
  }

  /* Remove all min-heights that cause whitespace */
  .tab-content-wrapper {
    min-height: 0 !important;
    height: auto;
  }

  .tabbed-section {
    padding-top: 20px;
    min-height: 0;
    padding-bottom: 20px;
  }

  body {
    min-height: 0;
  }

  /* Ensure the page doesn't have extra space */
  html, body {
    height: auto;
  }

  .tab-content {
    position: relative;
    min-height: 0;
  }

  .tab-content:not(.active) {
    display: none;
  }
}

/* ========================================
   TABBED SECTION
   Combines Opportunity, Approach, Target Profile
   ======================================== */

.tabbed-section {
  background-color: var(--cream);
  padding: 30px 48px 50px;
}

.tabbed-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Tab Navigation */
.tab-nav {
  display: flex;
  gap: 48px;
  border-bottom: 1px solid rgba(10, 15, 25, 0.1);
  margin-bottom: 48px;
}

.tab-btn {
  background: none;
  border: none;
  padding: 16px 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--navy);
  opacity: 0.5;
  cursor: pointer;
  position: relative;
  transition: opacity 0.3s ease;
}

.tab-btn:hover {
  opacity: 0.8;
}

.tab-btn.active {
  opacity: 1;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--copper);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.tab-btn.active::after {
  transform: scaleX(1);
}

/* Tab Content */
.tab-content-wrapper {
  position: relative;
  min-height: 600px;
}

.tab-content {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tab-content.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

/* Tab 1: Opportunity Layout */
.opportunity-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.opportunity-text {
  padding-right: 20px;
}

.opportunity-headline {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--copper);
  margin-bottom: 32px;
}

.opportunity-body {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.opportunity-body:last-child {
  margin-bottom: 0;
}

.opportunity-carousel {
  position: relative;
  padding: 0;
}

.opportunity-carousel .data-viz-carousel {
  max-width: 100%;
}

.opportunity-carousel .carousel-slides {
  height: 480px;
  padding: 0;
}

.opportunity-carousel .carousel-slide {
  padding: 0 16px;
}

.opportunity-carousel .chart-title {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 20px;
}

.opportunity-carousel .carousel-dots {
  margin-top: 24px;
}

/* Tab 2: Approach Layout */
.approach-layout {
  padding: 10px 0;
}

/* Approach Header */
.approach-header {
  text-align: center;
  margin-bottom: 40px;
}

.approach-section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--copper);
  display: inline-block;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--copper);
}

/* Three Pillars */
.approach-pillars {
  margin-bottom: 56px;
}

.pillar-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.pillar {
  text-align: left;
}

.pillar-centered {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.pillar-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--copper);
  display: inline-block;
}

.pillar-text {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin: 0;
}

/* Flow Chart Section */
.flow-section {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(10, 15, 25, 0.1);
}

.flow-headline {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 32px;
}

.approach-flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
}

.flow-step {
  padding: 16px 24px;
  flex: 0 0 200px;
  min-height: 160px;
  text-align: left;
  display: flex;
  flex-direction: column;
  border-left: 3px solid var(--copper);
}

.flow-step-header {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 12px;
}

.flow-step-number {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--copper);
}

.flow-step-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--copper);
}

.flow-step-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--navy);
  margin: 0;
  flex-grow: 1;
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
  flex-shrink: 0;
}

.flow-arrow svg {
  width: 24px;
  height: 24px;
}

/* ========================================
   APPROACH TAB V2 - Two Column Layout
   ======================================== */
.approach-layout-v2 {
  padding: 10px 0;
}

.approach-columns {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 48px;
  align-items: start;
}

/* Left Column: Pillars */
.approach-left {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.approach-column-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin: 0;
}

.pillar-v2 {
  text-align: left;
}

.pillar-title-v2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--copper);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--copper);
  display: inline-block;
}

.pillar-text-v2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--navy);
  margin: 0;
}

/* Right Column: Vertical Flow Chart */
.approach-right {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-headline-v2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 28px 0;
  text-align: center;
  line-height: 1.3;
}

.vertical-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 300px;
}

@keyframes flowIn {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes arrowFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.flow-box {
  width: 100%;
  background: #ffffff;
  border-radius: 8px;
  padding: 20px 24px;
  box-shadow: 0 2px 12px rgba(10, 15, 25, 0.08);
  opacity: 0;
}

.vertical-flow.animating .flow-box {
  animation: flowIn 0.35s ease-out forwards;
}

.vertical-flow.animating .flow-box[data-step="1"] { animation-delay: 0s; }
.vertical-flow.animating .flow-box[data-step="2"] { animation-delay: 0.12s; }
.vertical-flow.animating .flow-box[data-step="3"] { animation-delay: 0.24s; }
.vertical-flow.animating .flow-box[data-step="4"] { animation-delay: 0.36s; }

.flow-box.animate-in {
  opacity: 1;
}

.flow-box-header {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
}

.flow-box-number {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--copper);
}

.flow-box-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--copper);
}

.flow-box-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--navy);
  margin: 0;
}

.flow-arrow-down {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--copper);
  height: 40px;
  opacity: 0;
}

.vertical-flow.animating .flow-arrow-down {
  animation: arrowFadeIn 0.25s ease-out forwards;
}

.vertical-flow.animating .flow-arrow-down[data-step="1"] { animation-delay: 0.08s; }
.vertical-flow.animating .flow-arrow-down[data-step="2"] { animation-delay: 0.2s; }
.vertical-flow.animating .flow-arrow-down[data-step="3"] { animation-delay: 0.32s; }

.flow-arrow-down.animate-in {
  opacity: 1;
}

.flow-arrow-down svg {
  width: 24px;
  height: 40px;
}

/* Approach Tab V2 Responsive */
@media (max-width: 900px) {
  .approach-columns {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .approach-left {
    gap: 32px;
  }

  .approach-right {
    margin-top: 16px;
  }

  .vertical-flow {
    max-width: 340px;
  }
}

@media (max-width: 600px) {
  .pillar-title-v2 {
    font-size: 1.15rem;
  }

  .pillar-text-v2 {
    font-size: 1rem;
  }

  .flow-box {
    padding: 16px 20px;
  }

  .vertical-flow {
    max-width: 100%;
  }
}

/* Tab 3: Target Profile Layout - Two Column */
.target-layout-two-col {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 64px;
  padding: 20px 0;
  align-items: center;
}

.target-left {
  text-align: left;
}

.target-headline {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
}

.target-subhead {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

.target-right {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.target-section {
  text-align: left;
}

.target-section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--copper);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--copper);
  display: inline-block;
}

.target-section-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--navy);
  margin: 0;
}

/* Tab 4: Partners Layout - Single Column */
.partners-layout {
  max-width: 850px;
  padding: 20px 0;
}

.partners-tab-headline {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--copper);
  display: inline-block;
}

.partners-intro {
  margin-bottom: 28px;
}

.partners-intro p {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--navy);
  margin-bottom: 18px;
}

.partners-intro p:last-child {
  margin-bottom: 0;
}

/* Partner Blocks */
.partners-blocks {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-bottom: 40px;
}

.partners-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.partners-block-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.partners-block-bullet {
  color: var(--copper);
  font-size: 1rem;
  line-height: 1;
}

.partners-block-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--copper);
  margin: 0;
}

.partners-block-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--navy);
  margin: 0;
  padding-left: 28px;
}

.partners-closing {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--navy);
  margin: 0;
}

.partners-cta-link {
  color: var(--copper);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--copper);
  transition: opacity 0.2s ease;
}

.partners-cta-link:hover {
  opacity: 0.8;
}

/* Contact Card */
.partners-card-wrapper {
  display: flex;
  justify-content: center;
  padding-top: 20px;
}

.partners-contact-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(10, 15, 25, 0.08);
  padding: 40px;
  text-align: center;
  max-width: 320px;
  width: 100%;
}

.contact-card-headline {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin: 0 0 8px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--copper);
  display: inline-block;
}

.contact-card-email {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--navy);
  text-decoration: none;
  margin: 24px 0;
  transition: color 0.2s ease;
}

.contact-card-email:hover {
  color: var(--copper);
}

.contact-card-button {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  background-color: var(--copper);
  padding: 12px 32px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.contact-card-button:hover {
  background-color: #a06830;
}

/* Tabbed Section Responsive */
@media (max-width: 1024px) {
  .tabbed-section {
    padding: 24px 24px 40px;
  }

  .opportunity-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .opportunity-text {
    padding-right: 0;
  }

  .opportunity-carousel {
    padding: 20px 16px;
    margin-top: 16px;
  }

  .opportunity-carousel .carousel-slides {
    height: 500px;
  }

  .approach-flow {
    gap: 12px;
  }

  .flow-step {
    flex: 0 0 170px;
    min-height: 140px;
    padding: 12px 20px;
  }

  .flow-arrow svg {
    width: 20px;
    height: 20px;
  }

  .pillar-row {
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .tab-nav {
    gap: 24px;
  }

  .tab-btn {
    font-size: 0.95rem;
    letter-spacing: 0.1em;
  }

  .pillar-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pillar-centered {
    text-align: left;
  }

  .approach-flow {
    flex-direction: column;
    align-items: center;
  }

  .flow-step {
    flex: none;
    width: 100%;
    max-width: 400px;
    min-height: auto;
    padding: 12px 20px;
  }

  .flow-arrow {
    transform: rotate(90deg);
    padding: 8px 0;
  }

  .target-layout-two-col {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .target-left {
    text-align: center;
  }

  .target-headline {
    font-size: clamp(1.5rem, 3vw, 2rem);
  }

  .target-right {
    gap: 28px;
  }

  .target-section {
    text-align: center;
  }

  .target-section-title {
    display: inline-block;
  }

  .partners-layout {
    max-width: 100%;
  }

  .partners-tab-headline {
    font-size: clamp(1.5rem, 3vw, 2rem);
  }

  .partners-intro p {
    font-size: 1.05rem;
  }

  .partners-block-title {
    font-size: 1.2rem;
  }

  .partners-block-text {
    font-size: 1.05rem;
    padding-left: 24px;
  }
}

@media (max-width: 600px) {
  .tab-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    overflow-x: visible;
    overflow-y: visible;
    background-color: rgba(10, 15, 25, 0.03);
    border-radius: 8px;
    padding: 6px;
    border-bottom: none;
    margin-top: -10px;
    margin-bottom: 32px;
  }

  .tab-nav::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 12px 8px;
    border-radius: 6px;
    letter-spacing: 0.08em;
    text-align: center;
  }

  .tab-btn.active {
    background-color: var(--navy-dark);
    color: var(--copper);
    opacity: 1;
  }

  .tab-btn.active::after {
    display: none;
  }

  .tab-btn::after {
    display: none;
  }

  .tab-content-wrapper {
    min-height: auto;
  }

  .tab-content.active {
    padding-bottom: 40px;
  }

  #tab-target,
  #tab-partners {
    min-height: auto;
  }

  .opportunity-carousel {
    margin-top: 24px;
  }

  .opportunity-carousel .carousel-slides {
    height: 450px;
  }

  .opportunity-carousel .carousel-slide {
    padding: 0 8px 50px;
  }

  .opportunity-carousel .chart-title {
    margin-top: 8px;
  }
}

/* ========================================
   DATA VISUALIZATION CAROUSEL
   Charts and animations for tabbed section
   ======================================== */

.data-viz-carousel {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

.carousel-slides {
  position: relative;
  height: 520px;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
}

/* Chart Titles - Rajdhani, uppercase, tracked */
.chart-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 48px;
  text-align: center;
}

.chart-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 32px;
}

.chart-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 12px;
  font-weight: 500;
}

.chart-subtitle-secondary {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: #666;
  text-align: center;
  margin-bottom: 24px;
  font-weight: 400;
}

.chart-source {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #999;
  text-align: center;
  margin: 0;
  margin-top: 24px;
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  padding: 20px 0;
  width: 100%;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  min-width: 12px;
  min-height: 12px;
  border-radius: 50%;
  background-color: #0a0f19;
  border: none;
  cursor: pointer;
  padding: 0;
  opacity: 0.3;
  transition: all 0.25s ease;
  display: inline-block;
}

.carousel-dot:hover {
  opacity: 0.6;
  transform: scale(1.1);
}

.carousel-dot.active {
  background-color: #b87333;
  opacity: 1;
  transform: scale(1);
}

/* ========================================
   LINE CHART - Full Width
   ======================================== */
.line-chart-container {
  width: 100%;
  height: 400px;
}

.line-chart {
  width: 100%;
  height: 100%;
}

.chart-label-lg {
  font-size: 18px;
  fill: #666;
  font-family: Inter, sans-serif;
  font-weight: 500;
}

.chart-label-year {
  text-anchor: middle;
  font-weight: 600;
  fill: var(--navy);
}

.chart-label-yaxis {
  text-anchor: end;
}

.chart-data-label {
  font-size: 16px;
  fill: var(--copper);
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  text-anchor: middle;
}

.chart-value-label {
  font-size: 16px;
  fill: var(--navy);
  font-family: Rajdhani, sans-serif;
  font-weight: 600;
  text-anchor: middle;
}

.grid-line {
  stroke: rgba(10, 15, 25, 0.1);
  stroke-width: 1;
}

.data-line {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  transition: stroke-dashoffset 2s ease-out;
}

.carousel-slide.active .data-line.animate {
  stroke-dashoffset: 0;
}

.data-point {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.carousel-slide.active .data-point.animate {
  opacity: 1;
}

/* ========================================
   DONUT CHART - Oversized, Centered
   ======================================== */
.donut-chart-container {
  width: 100%;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.donut-chart {
  width: 400px;
  height: 400px;
}

.donut-bg {
  opacity: 0.25;
}

.donut-progress {
  stroke-dasharray: 0 880;
  transition: stroke-dasharray 1.5s ease-out;
}

/* 52% of circumference (2 * pi * 140 = 880) = 457.6 */
.carousel-slide.active .donut-progress.animate {
  stroke-dasharray: 458 880;
}

.donut-percent-lg {
  font-size: 72px;
  font-weight: 700;
  fill: var(--navy);
  text-anchor: middle;
  font-family: Rajdhani, sans-serif;
}

.donut-percent-symbol {
  fill: var(--copper);
}

.donut-label-lg {
  font-size: 20px;
  fill: #555;
  text-anchor: middle;
  font-family: Inter, sans-serif;
}

/* ========================================
   BAR CHART - Full Width Horizontal Bars
   ======================================== */
.bar-chart-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.bar-row-lg {
  margin-bottom: 40px;
}

.bar-row-lg:last-child {
  margin-bottom: 0;
}

.bar-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.bar-label-lg {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
}

.bar-value-lg {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--copper);
}

.bar-track-lg {
  height: 48px;
  background: rgba(10, 15, 25, 0.08);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 8px;
}

.bar-fill {
  height: 100%;
  background: var(--copper);
  border-radius: 8px;
  width: 0;
  transition: width 1.2s ease-out;
}

.carousel-slide.active .bar-fill.animate {
  width: var(--bar-width);
}

.bar-note-lg {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #888;
  font-style: italic;
}

.big-number-track-lg {
  height: auto;
  background: transparent;
  display: flex;
  align-items: center;
  padding: 8px 0;
}

/* ========================================
   BIG NUMBER - Massive Animated Counter
   ======================================== */
.big-number-container-lg {
  width: 100%;
  height: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.big-number-lg {
  font-size: clamp(8rem, 20vw, 16rem);
  font-weight: 700;
  color: #b87333;
  font-family: Rajdhani, sans-serif;
  line-height: 1;
}

.big-number-inline {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--copper);
}

/* ========================================
   STAT COLUMNS - Three/Two Column Layout
   ======================================== */
.stat-columns-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 0;
}

.stat-columns-two {
  max-width: 900px;
  gap: 80px;
  align-items: center;
}

.stat-columns-two .stat-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-column {
  flex: 1;
  text-align: center;
  width: 33.33%;
  min-width: 180px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Container to reserve height and prevent bounce */
.stat-number-container {
  height: 90px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  padding-top: 10px;
}

/* Wrapper to keep prefix and number together */
.stat-number-group {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  white-space: nowrap;
}

.stat-columns-container .stat-number,
.stat-vertical-stack .stat-number {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(4rem, 10vw, 6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  display: inline-block;
  min-width: 2.5ch;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.stat-columns-container .stat-number-suffix,
.stat-vertical-stack .stat-number-suffix {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--copper);
  line-height: 1;
}

/* Tilde prefix should be copper and proportionally sized */
.stat-number-prefix-symbol {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--copper);
  line-height: 1;
}

.stat-number-row {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.stat-number-row .stat-number-suffix,
.stat-number-row .stat-number-unit {
  position: absolute;
  left: 100%;
  margin-left: 8px;
}

.stat-number-unit {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--copper);
  line-height: 1;
}

.stat-headline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 600;
  color: var(--navy);
  margin: 16px 0 8px 0;
  line-height: 1.4;
  min-height: 2.8em;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
}

.stat-subtext {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.8rem, 1.2vw, 0.95rem);
  color: #777;
  margin: 0;
  line-height: 1.5;
  min-height: 1.5em;
}

/* Dual number column styling */
.stat-column-dual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-column-dual .stat-subtext {
  margin-top: 0;
}

.stat-bridge-text {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.85rem, 1.3vw, 1rem);
  font-weight: 400;
  color: var(--navy);
  margin: 6px 0 10px 0;
  line-height: 1.4;
  text-align: center;
}

.stat-secondary-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 4px;
}

.stat-number-medium {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.stat-number-suffix-medium {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--copper);
  line-height: 1;
}

/* Vertical Stack Layout for Defense Supply Chain Risk */
.stat-vertical-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px 0;
}

.stat-vertical-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-vertical-item .stat-number-row {
  margin-bottom: 12px;
}

.stat-vertical-text {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.6;
  max-width: 400px;
  margin: 0;
}

.stat-divider {
  width: 100px;
  height: 1px;
  background-color: var(--copper);
  opacity: 0.5;
}

.stat-inline-number {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4em;
  font-weight: 700;
  color: var(--navy);
}

.stat-inline-suffix {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4em;
  font-weight: 700;
  color: var(--copper);
}

/* ========================================
   RESPONSIVE - Mobile under 900px
   ======================================== */
@media (max-width: 900px) {
  .data-viz-section {
    padding: 50px 12px 40px;
  }

  .carousel-slides {
    height: 480px;
  }

  .chart-title {
    margin-bottom: 32px;
    letter-spacing: 0.1em;
  }

  .line-chart-container {
    height: 300px;
  }

  .chart-label-lg {
    font-size: 14px;
  }

  .chart-label-yaxis {
    font-size: 16px;
    font-weight: 600;
  }

  .chart-data-label {
    font-size: 13px;
  }

  .chart-value-label {
    font-size: 14px;
  }

  .chart-label-year {
    font-size: 14px;
  }

  .donut-chart-container {
    height: 320px;
  }

  .donut-chart {
    width: 300px;
    height: 300px;
  }

  .donut-percent-lg {
    font-size: 54px;
  }

  .donut-label-lg {
    font-size: 16px;
  }

  .bar-row-lg {
    margin-bottom: 28px;
  }

  .bar-label-lg {
    font-size: 1rem;
  }

  .bar-value-lg {
    font-size: 1.5rem;
  }

  .bar-track-lg {
    height: 36px;
  }

  .big-number-container-lg {
    height: 200px;
  }

  .big-number-lg {
    font-size: 7rem;
  }

  .chart-subtitle {
    font-size: 1rem;
    padding: 0 16px;
  }

  .chart-subtitle-secondary {
    font-size: 0.9rem;
    padding: 0 16px;
  }

  .carousel-dots {
    margin-top: 32px;
  }

  .stat-columns-container {
    flex-direction: column;
    gap: 28px;
    align-items: center;
    padding-bottom: 20px;
  }

  .stat-columns-two {
    gap: 28px;
  }

  .stat-column {
    max-width: 100%;
  }

  .stat-number-container {
    height: 70px;
  }

  .stat-columns-container .stat-number {
    font-size: 3.25rem;
  }

  .stat-columns-container .stat-number-suffix {
    font-size: 2rem;
  }

  .stat-number-prefix-symbol {
    font-size: 2rem;
  }

  .carousel-slide {
    padding-bottom: 40px;
  }
}

@media (max-width: 600px) {
  .opportunity-carousel {
    margin-top: 40px;
  }

  .carousel-slides {
    height: 480px;
  }

  .carousel-slide {
    padding-bottom: 50px;
  }

  /* Line chart - larger on mobile */
  .line-chart-container {
    height: 280px;
    width: 100%;
    padding: 0;
  }

  .chart-container {
    padding: 0 8px;
  }

  .chart-title {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  .chart-subtitle {
    font-size: 0.9rem;
  }

  .chart-source {
    font-size: 0.7rem;
  }

  /* Line chart labels - increased for mobile legibility */
  .chart-label-lg {
    font-size: 32px;
    font-weight: 700;
  }

  .chart-label-yaxis {
    font-size: 28px;
    font-weight: 600;
  }

  .chart-label-year {
    font-size: 28px;
    font-weight: 600;
  }

  .chart-value-label {
    font-size: 24px;
    font-weight: 600;
  }

  .chart-data-label {
    font-size: 32px;
    font-weight: 700;
  }

  .donut-chart {
    width: 220px;
    height: 220px;
  }

  .donut-percent-lg {
    font-size: 54px;
  }

  .donut-label-lg {
    font-size: 16px;
  }

  .big-number-lg {
    font-size: 5rem;
  }

  .bar-label-lg {
    font-size: 0.85rem;
  }

  .bar-track-lg {
    height: 24px;
  }

  /* Stat columns - smaller on mobile to prevent overlap */
  .stat-columns-container {
    gap: 20px;
    padding-bottom: 20px;
  }

  .stat-columns-container .stat-number {
    font-size: 2.75rem;
  }

  .stat-columns-container .stat-number-suffix,
  .stat-number-prefix-symbol {
    font-size: 1.75rem;
  }

  .stat-number-group {
    position: relative;
    display: inline-block;
  }

  .stat-number-prefix-symbol {
    position: absolute;
    right: 100%;
    margin-right: 2px;
  }

  .stat-number-container {
    height: 60px;
    padding-top: 5px;
  }

  .stat-headline {
    font-size: 0.8rem;
  }

  .stat-subtext {
    font-size: 0.7rem;
  }

  .stat-number-unit {
    font-size: 1.25rem;
  }

  /* Vertical stack stats */
  .stat-vertical-stack {
    gap: 16px;
  }

  .stat-vertical-item .stat-number-row .stat-number {
    font-size: 2.5rem;
  }

  .stat-vertical-item .stat-number-row .stat-number-suffix {
    font-size: 1.5rem;
  }

  .stat-vertical-text {
    font-size: 0.85rem;
  }

  .stat-inline-number {
    font-size: 1rem;
  }
}

/* Our Approach Section */
.thesis-approach {
  padding: 50px 48px 80px;
  background-color: var(--cream);
}

.thesis-approach-container {
  max-width: 1400px;
  margin: 0 auto;
  text-align: left;
}

.thesis-approach-blocks {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.thesis-approach-block {
  display: block;
}

.thesis-approach-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.thesis-approach-description {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-dark);
  max-width: 800px;
  text-align: left;
}

/* Principles Section */
.thesis-principles {
  padding: 70px 48px;
  background-color: var(--navy-dark);
  text-align: center;
}

.thesis-principles-container {
  max-width: 850px;
  margin: 0 auto;
}

.thesis-principles-text {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 500;
  line-height: 1.8;
  color: #ffffff;
}

/* CTA Section */
.thesis-cta {
  padding: 32px 48px 60px;
  background-color: var(--cream);
  text-align: center;
}

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

.thesis-cta-text {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 40px;
}

.thesis-cta-button {
  display: inline-block;
  padding: 18px 48px;
  background-color: var(--copper);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.thesis-cta-button:hover {
  background-color: var(--copper-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(184, 115, 51, 0.4);
}

/* Thesis Page Responsive */
@media (max-width: 768px) {
  .thesis-opening {
    padding: 80px 24px;
  }

  .thesis-opening-statement {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .thesis-opportunity {
    padding: 60px 24px 50px;
  }

  .thesis-section-label {
    font-size: 1.75rem;
    margin-bottom: 32px;
  }

  .thesis-opportunity-text {
    font-size: 1.125rem;
  }

  .thesis-approach {
    padding: 40px 24px 60px;
  }

  .thesis-approach-blocks {
    gap: 40px;
  }

  .thesis-approach-title {
    font-size: 1.25rem;
  }

  .thesis-approach-description {
    font-size: 1.125rem;
  }

  .thesis-principles {
    padding: 60px 24px;
  }

  .thesis-principles-text {
    font-size: 1.125rem;
  }

  .thesis-cta {
    padding: 24px 24px 48px;
  }

  .thesis-cta-button {
    padding: 16px 40px;
    width: 100%;
    max-width: 300px;
  }
}

/* Mission Intro Section */
.mission-intro {
  padding: 0;
}

.mission-intro-grid {
  display: grid;
  grid-template-columns: 50% 50%;
  min-height: 90vh;
}

.mission-intro-image {
  position: relative;
  overflow: hidden;
  background-color: #1a1a1a;
}

.mission-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission-intro-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 100px;
  background-color: var(--cream);
}

.mission-intro-headline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.0;
  color: var(--text-dark);
  margin-bottom: 60px;
}

.mission-blocks {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.mission-block {
  display: block;
}

.mission-dash {
  display: none;
}

.mission-block-content {
  flex: 1;
}

.mission-label {
  display: block;
  font-size: 1.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--copper);
  margin-bottom: 10px;
}

.mission-description {
  font-size: 1.875rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-dark);
}

/* Opportunity Section - white background to differentiate from cream mission-intro */
.opportunity {
  position: relative;
  background-color: #ffffff;
  overflow: hidden;
}

.opportunity-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.15;
}

.opportunity-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.opportunity-container {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
}

.opportunity-content {
  margin-bottom: 48px;
  text-align: center;
}

.opportunity-headline {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.opportunity-body {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-dark);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.opportunity-body strong {
  font-weight: 700;
}

.opportunity-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 64px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}

.stat-description {
  font-size: 1rem;
  color: var(--text-dark);
  opacity: 0.8;
  line-height: 1.5;
}

/* Erosion Section */
.erosion {
  background-color: var(--cream-dark);
}

.erosion-container {
  max-width: 1400px;
  margin: 0 auto;
}

.erosion-header {
  text-align: center;
  margin-bottom: 64px;
}

.erosion-headline {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.erosion-subhead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-dark);
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.85;
}

.erosion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Mandate Section */
.mandate {
  position: relative;
  background-color: var(--cream);
  overflow: hidden;
}

.mandate-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.15;
}

.mandate-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mandate-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.mandate-headline {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 64px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.mandate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
}

.mandate-column {
  text-align: center;
}

.mandate-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--copper);
  margin-bottom: 16px;
}

.mandate-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
}

/* Problem Cards */
.problem-card {
  display: flex;
  flex-direction: column;
}

.problem-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
}

.problem-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.problem-card:hover .problem-card-image img {
  transform: scale(1.05);
}

.problem-card-content {
  padding-top: 20px;
  text-align: center;
}

.problem-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.problem-card-description {
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
}

/* Solution Section - lighter navy to distinguish from constellation */
.solution {
  position: relative;
  overflow: hidden;
  background-color: var(--navy-mid);
}

.solution-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.solution-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.solution-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 15, 25, 0.7), rgba(10, 15, 25, 0.85));
  z-index: 1;
}

.solution-container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
}

.solution-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.solution-headline {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.solution-body {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-light);
  opacity: 0.9;
}

.copper-highlight {
  color: var(--copper);
}

/* Verb Stack Layout - Desktop Only */
.verb-stack-layout {
  display: none;
}

.solution-body-mobile {
  display: block;
}

.solution-payoff {
  display: none;
}

/* Desktop breakpoint for verb stack */
@media (min-width: 901px) {
  /* Hide mobile elements */
  .solution-body-mobile {
    display: none;
  }

  .solution-headline {
    display: none;
  }

  /* Container */
  .solution-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 60px;
  }

  /* Override base max-width constraint */
  .solution-content {
    max-width: none;
    width: 100%;
  }

  /* Two-column layout with explicit widths */
  .verb-stack-layout {
    display: grid;
    grid-template-columns: 55% 40%;
    gap: 5%;
    align-items: center;
    width: 100%;
  }

  /* Left column: verbs */
  .verb-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .verb {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(4rem, 6vw, 7rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 0.95;
    color: #b87333;
  }

  /* Right column: paragraph */
  .verb-stack-body {
    width: 100%;
  }

  .verb-stack-body p {
    font-size: 1.2rem;
    line-height: 1.85;
    color: rgba(245, 245, 240, 0.9);
    text-align: left;
    width: 100%;
  }

  /* Payoff line */
  .solution-payoff {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: 60px;
    color: #f5f5f0;
  }
}

/* Mobile Mission CTA - hidden by default */
.mobile-mission-cta {
  display: none;
}

/* Mobile only */
@media (max-width: 900px) {
  .mobile-mission-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 50px;
    padding: 16px 32px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: #f5f5f0;
    border: 2px solid #b87333;
    background: transparent;
    transition: all 0.3s ease;
  }

  .mobile-mission-cta svg {
    transition: transform 0.3s ease;
  }

  .mobile-mission-cta:active {
    background: #b87333;
    color: #0a0f19;
  }

  .mobile-mission-cta:active svg {
    transform: translateX(4px);
  }
}

.network-diagram-placeholder {
  min-height: 400px;
  margin-top: 64px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

/* Constellation Section - darker navy with texture for depth */
.constellation {
  position: relative;
  overflow: hidden;
  background-color: var(--navy-dark);
  padding: 60px 40px;
}

.constellation-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.2;
}

.constellation-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.constellation-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 15, 25, 0.3), rgba(10, 15, 25, 0.5));
  z-index: 1;
}

.constellation-container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
}

.constellation-headline {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-light);
  margin-bottom: 40px;
  text-align: center;
  max-width: 100%;
}

.constellation-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 40px;
  align-items: center;
}

/* Mesh Network Diagram */
.constellation-diagram {
  position: relative;
  width: 100%;
  max-width: 750px;
  min-height: 720px;
  aspect-ratio: 1;
  overflow: hidden;
  margin: 0;
}

.constellation-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

/* Mesh lines between satellites */
.mesh-lines line {
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
  stroke-linecap: round;
  opacity: 0;
}

/* Hub connection lines */
.hub-lines line {
  stroke: var(--copper);
  stroke-width: 1.5;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
}

/* Animations when visible */
.constellation-diagram.visible .hub-lines line {
  animation: drawLine 0.8s ease-out forwards;
}

.constellation-diagram.visible .hub-lines line:nth-child(1) { animation-delay: 0.2s; }
.constellation-diagram.visible .hub-lines line:nth-child(2) { animation-delay: 0.3s; }
.constellation-diagram.visible .hub-lines line:nth-child(3) { animation-delay: 0.4s; }
.constellation-diagram.visible .hub-lines line:nth-child(4) { animation-delay: 0.5s; }
.constellation-diagram.visible .hub-lines line:nth-child(5) { animation-delay: 0.6s; }
.constellation-diagram.visible .hub-lines line:nth-child(6) { animation-delay: 0.7s; }

.constellation-diagram.visible .mesh-lines line {
  animation: fadeInLine 0.5s ease-out forwards;
}

.constellation-diagram.visible .mesh-lines line:nth-child(1) { animation-delay: 1s; }
.constellation-diagram.visible .mesh-lines line:nth-child(2) { animation-delay: 1.05s; }
.constellation-diagram.visible .mesh-lines line:nth-child(3) { animation-delay: 1.1s; }
.constellation-diagram.visible .mesh-lines line:nth-child(4) { animation-delay: 1.15s; }
.constellation-diagram.visible .mesh-lines line:nth-child(5) { animation-delay: 1.2s; }
.constellation-diagram.visible .mesh-lines line:nth-child(6) { animation-delay: 1.25s; }
.constellation-diagram.visible .mesh-lines line:nth-child(7) { animation-delay: 1.3s; }
.constellation-diagram.visible .mesh-lines line:nth-child(8) { animation-delay: 1.35s; }
.constellation-diagram.visible .mesh-lines line:nth-child(9) { animation-delay: 1.4s; }
.constellation-diagram.visible .mesh-lines line:nth-child(10) { animation-delay: 1.45s; }
.constellation-diagram.visible .mesh-lines line:nth-child(11) { animation-delay: 1.5s; }
.constellation-diagram.visible .mesh-lines line:nth-child(12) { animation-delay: 1.55s; }
.constellation-diagram.visible .mesh-lines line:nth-child(13) { animation-delay: 1.6s; }
.constellation-diagram.visible .mesh-lines line:nth-child(14) { animation-delay: 1.65s; }
.constellation-diagram.visible .mesh-lines line:nth-child(15) { animation-delay: 1.7s; }

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

@keyframes fadeInLine {
  to { opacity: 0.7; }
}

/* Light Beads - traveling along hub lines */
.light-beads {
  pointer-events: none;
}

.light-bead {
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Show beads after diagram is visible and initial animations complete */
.constellation-diagram.visible .light-bead {
  opacity: 1;
}

/* Subtle pulse effect on beads */
@keyframes beadPulse {
  0%, 100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.constellation-diagram.visible .light-bead {
  animation: beadPulse 2s ease-in-out infinite;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .light-bead {
    display: none;
  }
}

/* Center Hub */
.constellation-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 3px solid var(--copper);
  background-color: var(--navy-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px;
  box-shadow: 0 0 30px rgba(184, 115, 51, 0.3);
}

.constellation-diagram.visible .constellation-hub {
  animation: hubGlow 1.5s ease-in-out;
}

@keyframes hubGlow {
  0% { box-shadow: 0 0 30px rgba(184, 115, 51, 0.3); }
  50% { box-shadow: 0 0 50px rgba(184, 115, 51, 0.5); }
  100% { box-shadow: 0 0 30px rgba(184, 115, 51, 0.3); }
}

.hub-label {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  line-height: 1.2;
  word-break: keep-all;
  hyphens: none;
  text-align: center;
}

/* Satellite Nodes - labels inside circles */
.satellite-node {
  position: absolute;
  z-index: 10;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 2px solid var(--copper);
  background-color: var(--navy-mid);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 12px;
  opacity: 0;
  transform: scale(0.5);
  overflow: visible;
}

.node-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  text-align: center;
  line-height: 1.3;
  max-width: 100px;
  word-wrap: break-word;
  white-space: normal;
  overflow: visible;
}

/* Satellite positions (matching SVG coordinates as percentages of 700) */
.node-1 {
  /* Top left: Machining (120, 150) */
  left: 17.14%;
  top: 21.43%;
  transform: translate(-50%, -50%) scale(0.5);
}

.node-2 {
  /* Top right: Metals Service Center (580, 150) */
  left: 82.86%;
  top: 21.43%;
  transform: translate(-50%, -50%) scale(0.5);
}

.node-3 {
  /* Left: Fabrication (70, 350) */
  left: 10%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.5);
}

.node-4 {
  /* Right: Precision Components (630, 350) */
  left: 90%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.5);
}

.node-5 {
  /* Bottom left: Assembly (120, 550) */
  left: 17.14%;
  top: 78.57%;
  transform: translate(-50%, -50%) scale(0.5);
}

.node-6 {
  /* Bottom right: Finishing & Certification (580, 550) */
  left: 82.86%;
  top: 78.57%;
  transform: translate(-50%, -50%) scale(0.5);
}

/* Satellite animation */
.constellation-diagram.visible .satellite-node {
  animation: nodeAppear 0.5s ease-out forwards;
}

.constellation-diagram.visible .node-1 { animation-delay: 0.5s; }
.constellation-diagram.visible .node-2 { animation-delay: 0.6s; }
.constellation-diagram.visible .node-3 { animation-delay: 0.7s; }
.constellation-diagram.visible .node-4 { animation-delay: 0.8s; }
.constellation-diagram.visible .node-5 { animation-delay: 0.9s; }
.constellation-diagram.visible .node-6 { animation-delay: 1.0s; }

@keyframes nodeAppear {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Features */
.constellation-features {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}

.constellation-feature {
  padding-left: 24px;
  border-left: 4px solid var(--copper);
  margin-bottom: 0;
}

.feature-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--copper);
  margin-bottom: 10px;
}

.feature-description {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-light);
  opacity: 0.9;
}

/* Model Section */
.model {
  padding-top: 120px;
  padding-bottom: 120px;
}

.model-container {
  max-width: 1400px;
  margin: 0 auto;
}

.model-headline {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 72px;
}

/* Grid layout: boxes and arrows in alternating columns */
.model-process {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 24px;
}

.process-step {
  display: flex;
  flex-direction: column;
}

/* Step box - uniform sizing */
.step-box {
  background-color: #ffffff;
  padding: 32px;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  height: 100%;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* Animate boxes when visible */
.process-step.visible .step-box {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for boxes */
.process-step:nth-child(1) .step-box { transition-delay: 0.1s; }
.process-step:nth-child(3) .step-box { transition-delay: 0.3s; }
.process-step:nth-child(5) .step-box { transition-delay: 0.5s; }
.process-step:nth-child(7) .step-box { transition-delay: 0.7s; }

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.step-number {
  color: var(--copper);
}

.step-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-dark);
}

/* Arrow - centered between boxes */
.step-arrow {
  width: 32px;
  height: 2px;
  background-color: var(--copper);
  position: relative;
  align-self: center;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

/* Animate arrows when previous box is visible */
.process-step.visible + .step-arrow {
  opacity: 1;
  transform: scaleX(1);
}

/* Staggered delays for arrows (grid positions 2, 4, 6) */
.model-process > .step-arrow:nth-of-type(1) { transition-delay: 0.4s; }
.model-process > .step-arrow:nth-of-type(2) { transition-delay: 0.6s; }
.model-process > .step-arrow:nth-of-type(3) { transition-delay: 0.8s; }

.step-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid var(--copper);
}

/* Mobile: stack vertically */
@media (max-width: 900px) {
  .model {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .model-headline {
    font-size: 2.25rem;
    margin-bottom: 48px;
  }

  .model-process {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .process-step {
    max-width: 400px;
    width: 100%;
  }

  .step-box {
    min-height: auto;
    padding: 28px;
    height: auto;
  }

  .step-title {
    font-size: 1.125rem;
  }

  .step-description {
    font-size: 1rem;
  }

  .step-arrow {
    width: 2px;
    height: 32px;
    margin: 16px auto;
    transform-origin: top center;
    transform: scaleY(0);
    align-self: center;
  }

  .process-step.visible + .step-arrow {
    transform: scaleY(1);
  }

  .step-arrow::after {
    right: 50%;
    top: auto;
    bottom: 0;
    transform: translateX(50%);
    border-top: 10px solid var(--copper);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: none;
  }
}

/* Target Profile Section */
.target-profile {
  position: relative;
  overflow: hidden;
  padding-top: 140px;
  padding-bottom: 140px;
}

.target-texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.12;
}

.target-texture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.target-container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}

.target-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 80px auto;
}

/* Centered copper accent line above headline */
.target-header::before {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--copper);
  margin: 0 auto 40px auto;
}

.target-headline {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin-bottom: 28px;
}

.target-subhead {
  font-size: 1.5rem;
  color: #555;
  line-height: 1.7;
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.target-column {
  text-align: center;
  padding: 0 20px;
}

.target-label {
  font-size: 1.375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--copper);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--copper);
  display: inline-block;
}

.target-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-dark);
}

/* Partners Section */
.partners {
  position: relative;
  overflow: hidden;
  padding-top: 140px;
  padding-bottom: 140px;
}

.partners-bg {
  position: absolute;
  inset: 0;
  background-color: #1a1a1a;
  z-index: 0;
}

.partners-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partners-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 15, 25, 0.85), rgba(10, 15, 25, 0.9));
  z-index: 1;
}

.partners-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.partners-header {
  text-align: center;
  margin-bottom: 80px;
}

.partners-headline {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 32px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.partners-subhead {
  font-size: 1.375rem;
  color: #ffffff;
  font-weight: 500;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
  max-width: 1100px;
  margin: 0 auto;
}

.partner-column {
  text-align: center;
}

.partner-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.partner-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #ffffff;
}

@media (max-width: 768px) {
  .partners {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .partners-header {
    margin-bottom: 60px;
  }

  .partners-headline {
    font-size: 2rem;
  }

  .partners-subhead {
    font-size: 1.25rem;
  }

  .partners-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .partner-title {
    font-size: 1.125rem;
    margin-bottom: 16px;
  }

  .partner-description {
    font-size: 1rem;
  }
}

/* Closing Section */
.closing {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.closing-bg {
  position: absolute;
  inset: 0;
  background-color: #1a1a1a;
  z-index: 0;
}

.closing-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.closing-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 15, 25, 0.75), rgba(10, 15, 25, 0.85));
  z-index: 1;
}

.closing-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  padding: 64px;
  text-align: center;
}

.closing-headline {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 48px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.6);
  letter-spacing: -0.02em;
}

.closing-body {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 500;
  line-height: 1.7;
  color: #ffffff;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7), 0 4px 30px rgba(0, 0, 0, 0.5);
  max-width: 900px;
  margin: 0 auto;
}

.closing-emphasis {
  font-weight: 700;
  color: var(--copper-light);
}

@media (max-width: 768px) {
  .closing-headline {
    font-size: clamp(2.25rem, 10vw, 3.5rem);
    margin-bottom: 32px;
  }

  .closing-content {
    padding: 32px 24px;
  }

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

/* Contact Section */
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-logo {
  margin-bottom: 16px;
}

.contact-logo img {
  height: 70px;
  width: auto;
}

.contact-company {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.contact-website {
  font-size: 0.9375rem;
  color: var(--copper);
  text-decoration: none;
  margin-bottom: 8px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.contact-website:hover {
  color: var(--copper-light);
}

.contact-email {
  font-size: 0.9375rem;
  color: var(--copper);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.contact-email:hover {
  color: var(--copper-light);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 16px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: var(--text-light);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.contact-form select option {
  background: var(--navy-dark);
  color: var(--text-light);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(184, 115, 51, 0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  padding: 16px 48px;
  background-color: var(--copper);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.submit-btn:hover {
  background-color: var(--copper-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(184, 115, 51, 0.4);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.submit-btn.loading {
  opacity: 0.8;
}

.form-success {
  text-align: center;
  padding: 3rem 2rem;
}

.form-success h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--copper);
  margin-bottom: 1rem;
}

.form-success p {
  font-size: 1rem;
  color: var(--cream);
  opacity: 0.9;
}

/* Footer */
.footer {
  background-color: var(--navy-dark);
  padding: 24px;
  text-align: center;
}

.footer p {
  color: var(--cream);
  font-size: 0.875rem;
  margin: 0;
  opacity: 0.8;
}

/* Hamburger Menu */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* Animate hamburger to X when active */
.nav-hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--navy-dark);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-menu-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.mobile-menu-links a:hover {
  color: var(--copper);
}

/* ========================================
   TABLET BREAKPOINT (max-width: 1024px)
   ======================================== */
@media (max-width: 1024px) {
  /* Section Padding */
  .section-light,
  .section-dark {
    padding: 80px 32px;
  }

  /* Headlines */
  .opportunity-headline,
  .mandate-headline,
  .solution-headline,
  .constellation-headline,
  .model-headline,
  .partners-headline {
    font-size: 2rem;
  }

  .closing-headline {
    font-size: clamp(2.5rem, 7vw, 4rem);
  }

  /* Mission Intro Section */
  .mission-intro-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .mission-intro-image {
    height: 50vh;
  }

  .mission-intro-content {
    padding: 60px 48px;
  }

  .mission-intro-headline {
    font-size: 2.5rem;
    margin-bottom: 48px;
  }

  .mission-blocks {
    gap: 48px;
  }

  .mission-label {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }

  .mission-description {
    font-size: 1.5rem;
  }

  /* Opportunity Section */
  .opportunity-stats {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stat {
    text-align: left;
  }

  /* Erosion Section */
  .erosion-headline {
    font-size: 2rem;
  }

  .erosion-subhead {
    font-size: 1.125rem;
  }

  .erosion-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 500px;
    margin: 0 auto;
  }

  /* Mandate Section - Single Column */
  .mandate-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Constellation Section - Single Column */
  .constellation-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .constellation-headline {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 36px;
  }

  .constellation-diagram {
    display: block;
    max-width: 550px;
    min-height: 520px;
    margin: 0 auto;
  }

  .constellation-hub {
    width: 160px;
    height: 160px;
    padding: 16px;
  }

  .hub-label {
    font-size: 0.9rem;
  }

  .satellite-node {
    width: 100px;
    height: 100px;
    padding: 10px;
  }

  .node-label {
    font-size: 0.7rem;
    max-width: 80px;
  }

  .feature-title {
    font-size: 1.5rem;
  }

  .feature-description {
    font-size: 1.125rem;
  }

  /* Target Profile */
  .target-profile {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .target-header {
    margin-bottom: 60px;
  }

  .target-header::before {
    margin-bottom: 32px;
  }

  .target-headline {
    font-size: 2.25rem;
  }

  .target-subhead {
    font-size: 1.25rem;
  }

  .target-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 600px;
  }

  .target-label {
    font-size: 1.25rem;
  }

  .target-text {
    font-size: 1.125rem;
  }

  /* Partners Grid - Single Column */
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Contact Grid - Single Column */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Footer */
  .footer {
    padding: 24px 32px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    margin-bottom: 0;
  }
}

/* ========================================
   MOBILE BREAKPOINT (max-width: 768px)
   ======================================== */
@media (max-width: 768px) {
  /* Section Padding */
  .section-light,
  .section-dark {
    padding: 60px 24px;
  }

  /* Navigation */
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: 2.25rem;
    letter-spacing: 0.01em;
  }

  .hero-tagline {
    font-size: 0.9375rem;
  }

  /* Headlines */
  .opportunity-headline,
  .mandate-headline,
  .solution-headline,
  .constellation-headline,
  .model-headline,
  .partners-headline {
    font-size: 1.75rem;
  }

  .target-profile {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .target-header {
    margin-bottom: 48px;
  }

  .target-header::before {
    width: 60px;
    margin-bottom: 24px;
  }

  .target-headline {
    font-size: 1.75rem;
  }

  .target-subhead {
    font-size: 1.125rem;
  }

  .target-grid {
    gap: 40px;
  }

  .target-label {
    font-size: 1.125rem;
    padding-bottom: 12px;
    margin-bottom: 20px;
  }

  .target-text {
    font-size: 1rem;
  }

  /* Mission Intro - Hide image on mobile */
  .mission-intro-image {
    display: none;
  }

  .mission-intro-grid {
    grid-template-columns: 1fr;
  }

  .mission-intro-content {
    padding: 80px 24px;
    width: 100%;
    max-width: 100%;
  }

  .mission-intro-headline {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .mission-blocks {
    gap: 40px;
  }

  .mission-label {
    font-size: 1.375rem;
    margin-bottom: 8px;
  }

  .mission-description {
    font-size: 1.375rem;
  }

  /* Stats */
  .stat-number {
    font-size: 2.5rem;
  }

  /* Opportunity */
  .opportunity-content {
    margin-bottom: 32px;
  }

  /* Erosion */
  .erosion-header {
    margin-bottom: 40px;
  }

  .erosion-headline {
    font-size: 1.75rem;
    margin-bottom: 16px;
  }

  .erosion-subhead {
    font-size: 1rem;
  }

  .erosion-grid {
    gap: 24px;
  }

  /* Mandate */
  .mandate-headline {
    font-size: 1.75rem;
    margin-bottom: 40px;
  }

  .mandate-grid {
    gap: 32px;
  }

  .mandate-title {
    font-size: 1.125rem;
  }

  .problem-card-content {
    padding-top: 16px;
  }

  .problem-card-description {
    font-size: 0.9375rem;
  }

  /* Solution */
  .solution-content {
    max-width: 100%;
  }

  .network-diagram-placeholder {
    min-height: 250px;
    margin-top: 40px;
  }

  /* Constellation */
  .constellation {
    padding: 40px 20px;
  }

  .constellation-headline {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 32px;
  }

  .constellation-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .constellation-diagram {
    display: block;
    width: 100%;
    max-width: 400px;
    min-height: 400px;
    margin: 0 auto 40px;
  }

  .constellation-svg {
    width: 100%;
    height: auto;
  }

  .constellation-hub {
    width: 140px;
    height: 140px;
    padding: 12px;
  }

  .hub-label {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
  }

  .satellite-node {
    width: 95px;
    height: 95px;
    padding: 8px;
  }

  .node-label {
    font-size: 0.65rem;
    max-width: 80px;
    line-height: 1.2;
    hyphens: auto;
  }

  .constellation-features {
    gap: 24px;
  }

  .constellation-feature {
    padding-left: 20px;
    border-left-width: 3px;
  }

  .feature-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }

  .feature-description {
    font-size: 1.125rem;
  }

  /* Model */
  .model-headline {
    margin-bottom: 40px;
  }

  .step-box {
    padding: 24px;
  }

  /* Partners */
  .partners-header {
    margin-bottom: 40px;
  }

  .partners-headline {
    font-size: 1.5rem;
  }

  .partners-grid {
    gap: 32px;
  }

  /* Closing */
  .closing-content {
    padding: 32px 24px;
  }

  .closing-headline {
    font-size: clamp(2.25rem, 10vw, 3.5rem);
    margin-bottom: 28px;
  }

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

  /* Contact */
  .contact-grid {
    gap: 40px;
  }

  .contact-logo img {
    height: 55px;
  }

  .submit-btn {
    width: 100%;
  }

  /* Footer - compact on mobile */
  .footer {
    padding: 20px 16px;
    margin-top: 0;
  }

  /* Prevent color mismatch on mobile overscroll */
  html, body {
    background-color: var(--navy-dark);
  }
}

/* ========================================
   SMALL MOBILE (max-width: 480px)
   ======================================== */
@media (max-width: 480px) {
  .section-light,
  .section-dark {
    padding: 48px 16px;
  }

  .opportunity-headline,
  .mandate-headline,
  .solution-headline,
  .constellation-headline,
  .model-headline,
  .partners-headline {
    font-size: 1.5rem;
  }

  .closing-headline {
    font-size: clamp(2rem, 9vw, 2.75rem);
    margin-bottom: 24px;
  }

  .closing-body {
    font-size: 1.125rem;
  }

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

  .mission-intro-image {
    height: 35vh;
  }

  .mission-intro-headline {
    font-size: 1.75rem;
    margin-bottom: 36px;
  }

  .mission-intro-content {
    padding: 40px 20px;
  }

  .mission-blocks {
    gap: 36px;
  }

  .mission-label {
    font-size: 1.25rem;
    margin-bottom: 8px;
  }

  .mission-description {
    font-size: 1.25rem;
    line-height: 1.5;
  }

  .problem-card-content {
    padding-top: 12px;
  }

  .problem-card-title {
    font-size: 1.125rem;
  }

  .problem-card-description {
    font-size: 0.875rem;
  }

  .erosion-headline {
    font-size: 1.5rem;
  }

  .mandate-headline {
    font-size: 1.5rem;
  }

  /* Constellation - compact for very small screens */
  .constellation-diagram {
    display: block;
    max-width: 340px;
    min-height: 340px;
  }

  .constellation-hub {
    width: 110px;
    height: 110px;
    padding: 10px;
  }

  .hub-label {
    font-size: 0.7rem;
  }

  .satellite-node {
    width: 72px;
    height: 72px;
    padding: 6px;
  }

  .node-label {
    font-size: 0.55rem;
    max-width: 60px;
    hyphens: auto;
  }

  .constellation-features {
    gap: 28px;
  }

  .feature-title {
    font-size: 1.25rem;
  }

  .feature-description {
    font-size: 1rem;
  }

  .step-box {
    padding: 20px;
  }

  .footer {
    padding: 20px 16px;
    margin-top: 0;
  }
}

/* =====================================================
   PE VS AE COMPARISON CARDS
   ===================================================== */

.comparison-wrapper {
  position: relative;
  z-index: 2;
  padding: 2.5rem 2rem 4rem;
}

.comparison-container {
  max-width: 1000px;
  margin: 0 auto;
}

.comparison-cards {
  display: flex;
  gap: 2rem;
  align-items: stretch;
  justify-content: center;
}

/* Base Card Styles */
.comparison-card {
  padding: 3rem 2.5rem;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(20px);
}

.card-header {
  margin-bottom: 1.75rem;
}

.card-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 0.25rem 0;
}

.card-subtitle {
  font-family: 'Inter', sans-serif;
  display: block;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-point {
  font-family: 'Inter', sans-serif;
  margin: 0;
  line-height: 1.4;
  padding-left: 1.25rem;
  position: relative;
}

.card-point::before {
  content: '•';
  position: absolute;
  left: 0;
  font-size: 1.2em;
}

.card-pe .card-point::before {
  color: rgba(128, 128, 128, 0.5);
}

.card-ae .card-point::before {
  color: #b87333;
}

/* =====================================================
   PE CARD - Muted, Receding
   ===================================================== */

.card-pe {
  flex: 0 1 360px;
  border: 1px solid rgba(128, 128, 128, 0.3);
  background: rgba(128, 128, 128, 0.05);
}

.card-pe .card-title {
  font-size: 1.25rem;
  color: rgba(245, 243, 239, 0.6);
}

.card-pe .card-subtitle {
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(245, 243, 239, 0.4);
}

.card-pe .card-point {
  font-size: 1.1rem;
  color: rgba(245, 243, 239, 0.5);
}

/* =====================================================
   AE CARD - Prominent, Glowing
   ===================================================== */

.card-ae {
  flex: 0 1 420px;
  border: 2px solid #b87333;
  background: rgba(184, 115, 51, 0.08);
  box-shadow: 0 0 30px rgba(184, 115, 51, 0.15),
              0 0 60px rgba(184, 115, 51, 0.08);
  animation: aeCardPulse 3s ease-in-out infinite;
}

.card-ae .card-title {
  font-size: 1.5rem;
  color: #f5f3ef;
}

.card-ae .card-subtitle {
  font-size: 1.15rem;
  font-weight: 500;
  color: #b87333;
}

.card-ae .card-point {
  font-size: 1.2rem;
  color: rgba(245, 243, 239, 0.9);
}

/* AE Card Pulsing Glow */
@keyframes aeCardPulse {
  0%, 100% {
    box-shadow: 0 0 30px rgba(184, 115, 51, 0.15),
                0 0 60px rgba(184, 115, 51, 0.08);
  }
  50% {
    box-shadow: 0 0 40px rgba(184, 115, 51, 0.25),
                0 0 80px rgba(184, 115, 51, 0.12);
  }
}

/* =====================================================
   SCROLL-TRIGGERED ANIMATION
   ===================================================== */

.comparison-wrapper.animate .card-pe {
  animation: cardFadeInPE 0.6s ease-out forwards;
}

.comparison-wrapper.animate .card-ae {
  animation: cardFadeInAE 0.8s ease-out 0.15s forwards, aeCardPulse 3s ease-in-out 0.95s infinite;
}

@keyframes cardFadeInPE {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardFadeInAE {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reset for replay */
.comparison-wrapper:not(.animate) .comparison-card {
  opacity: 0;
  transform: translateY(20px);
}

/* =====================================================
   COMPARISON CARDS - RESPONSIVE
   ===================================================== */

@media (max-width: 768px) {
  .comparison-wrapper {
    padding: 2rem 1.5rem 3rem;
  }

  .comparison-cards {
    flex-direction: column;
    gap: 1.5rem;
    max-width: 420px;
    margin: 0 auto;
  }

  .card-pe,
  .card-ae {
    flex: none;
    width: 100%;
  }

  .comparison-card {
    padding: 2.25rem 2rem;
  }

  .card-pe .card-title {
    font-size: 1.1rem;
  }

  .card-ae .card-title {
    font-size: 1.25rem;
  }

  .card-pe .card-point {
    font-size: 1rem;
  }

  .card-ae .card-point {
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  .comparison-wrapper {
    padding: 1.5rem 1rem 2.5rem;
  }

  .comparison-cards {
    max-width: 100%;
  }

  .comparison-card {
    padding: 2rem 1.75rem;
  }

  .card-header {
    margin-bottom: 1.25rem;
  }

  .card-point {
    padding-left: 1rem;
  }
}
