/* ===================================
   PREVIZION — Award-Winning Styles v4
   Chromatic aberration, dramatic transitions,
   text scramble, velocity distortion, 3D depth,
   cinematic loading, morphing sections
   =================================== */

/* ---- Lenis ---- */
html.lenis, html.lenis body { height: auto; }
html { overflow-x: hidden; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---- Base ---- */
::selection { background: rgba(0,255,178,0.2); color: #E8ECF4; }
body { background: #050A18; overflow-x: hidden; }

/* ---- LOADER ---- */
#loader {
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), visibility 0.8s;
}
#loader.done {
  opacity: 0; visibility: hidden; pointer-events: none;
}
.loader-logo {
  animation: loaderPulse 1.5s ease-in-out infinite;
}
.loader-eye {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: loaderDraw 1.5s ease-out forwards;
}
.loader-iris {
  animation: loaderFadeIn 0.5s ease-out 0.8s forwards;
}
.loader-bar-1, .loader-bar-2, .loader-bar-3, .loader-bar-4 {
  animation: loaderFadeIn 0.4s ease-out 0.9s forwards;
}
.loader-pupil {
  animation: loaderFadeIn 0.4s ease-out 1.0s forwards;
}
@keyframes loaderDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes loaderFadeIn {
  to { opacity: 1; }
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.7; }
}

/* ---- Custom Cursor (hidden — revert by removing display:none) ---- */
.cursor-dot {
  display: none;
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 8px; height: 8px; border-radius: 50%;
  background: #00FFB2; pointer-events: none;
  transform: translate(-50%, -50%);
  will-change: transform, left, top;
  transition: width 0.3s cubic-bezier(0.16,1,0.3,1), height 0.3s cubic-bezier(0.16,1,0.3,1), background 0.3s;
  mix-blend-mode: difference;
}
.cursor-ring {
  display: none;
  position: fixed; top: 0; left: 0; z-index: 9998;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(0,255,178,0.4);
  pointer-events: none; transform: translate(-50%, -50%);
  will-change: transform, left, top;
  transition: width 0.4s cubic-bezier(0.16,1,0.3,1), height 0.4s cubic-bezier(0.16,1,0.3,1),
    border-color 0.3s, opacity 0.3s;
}
.cursor-dot.hover { width: 60px; height: 60px; background: rgba(0,255,178,0.08); mix-blend-mode: normal; }
.cursor-ring.hover { width: 90px; height: 90px; border-color: rgba(0,255,178,0.6); }
.cursor-dot.hover::after {
  content: 'VIEW'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); font-size: 9px; font-weight: 600;
  letter-spacing: 2px; color: #00FFB2; font-family: 'JetBrains Mono', monospace;
}

/* Cursor: EXPLORE state (feature cards) */
.cursor-dot.hover-explore { width: 70px; height: 70px; background: rgba(0,255,178,0.06); mix-blend-mode: normal; }
.cursor-dot.hover-explore::after {
  content: 'EXPLORE'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); font-size: 8px; font-weight: 600;
  letter-spacing: 2px; color: #00FFB2; font-family: 'JetBrains Mono', monospace;
}
.cursor-ring.hover-explore { width: 90px; height: 90px; }

/* Cursor: CTA state */
.cursor-dot.hover-cta { width: 0; height: 0; background: transparent; }
.cursor-ring.hover-cta {
  width: 90px; height: 90px;
  border-color: #00FFB2;
  background: rgba(0,255,178,0.12);
  display: flex; align-items: center; justify-content: center;
}
.cursor-ring.hover-cta::after {
  content: 'GO \2192'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); font-size: 11px; font-weight: 700;
  letter-spacing: 2px; color: #00FFB2; font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
}

/* Cursor: WATCH state (showcase/video) */
.cursor-dot.hover-watch { width: 70px; height: 70px; background: rgba(0,255,178,0.06); mix-blend-mode: normal; }
.cursor-dot.hover-watch::after {
  content: 'WATCH'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); font-size: 8px; font-weight: 600;
  letter-spacing: 2px; color: #00FFB2; font-family: 'JetBrains Mono', monospace;
}
.cursor-ring.hover-watch { width: 90px; height: 90px; border-color: rgba(0,255,178,0.6); }

/* Cursor: ACTIVATE state (simulation) */
.cursor-dot.hover-activate { width: 70px; height: 70px; background: rgba(255,59,59,0.06); mix-blend-mode: normal; }
.cursor-dot.hover-activate::after {
  content: 'ACTIVATE'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); font-size: 8px; font-weight: 600;
  letter-spacing: 2px; color: #FF3B3B; font-family: 'JetBrains Mono', monospace;
}
.cursor-ring.hover-activate {
  width: 90px; height: 90px;
  border-color: rgba(255,59,59,0.6);
  animation: cursorPulseRed 1.5s ease-in-out infinite;
}
@keyframes cursorPulseRed {
  0%, 100% { border-color: rgba(255,59,59,0.4); box-shadow: 0 0 0 0 rgba(255,59,59,0); }
  50% { border-color: rgba(255,59,59,0.8); box-shadow: 0 0 20px 4px rgba(255,59,59,0.15); }
}

/* Cursor: click snap */
.cursor-ring.clicking { width: 30px !important; height: 30px !important; transition: width 0.1s, height 0.1s; }

/* Cursor trail ghosts */
.cursor-ghost {
  display: none;
  position: fixed; top: 0; left: 0; z-index: 9997;
  border-radius: 50%;
  border: 1px solid rgba(0,255,178,0.15);
  pointer-events: none;
  transform: translate(-50%, -50%);
  will-change: left, top, opacity;
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
  body { cursor: auto; }
}

/* ---- Surveillance World Canvas ---- */
#particle-canvas {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 3; pointer-events: none;
  will-change: transform, opacity;
}

/* ---- Surveillance Overlays ---- */
.world-scanlines {
  position: fixed; inset: 0; z-index: 4; pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,255,178,0.006) 2px,
    rgba(0,255,178,0.006) 4px
  );
}
.world-vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 80% 70% at 50% 60%, transparent 30%, rgba(5,10,24,0.55) 60%, #050A18 92%);
}

/* ---- NeverHack Atmosphere Background ---- */
#atmosphere-bg {
  transition: background 1.5s cubic-bezier(0.16,1,0.3,1);
  background: radial-gradient(ellipse 140% 120% at 50% 20%, rgba(8,15,60,0.6) 0%, rgba(5,10,24,0.3) 40%, transparent 70%);
}
#atmosphere-bg.atm-hero {
  background: radial-gradient(ellipse 140% 120% at 50% 20%, rgba(8,15,60,0.6) 0%, rgba(5,10,24,0.3) 40%, transparent 70%);
}
#atmosphere-bg.atm-showcase {
  background: radial-gradient(ellipse 120% 100% at 50% 50%, rgba(30,20,60,0.45) 0%, rgba(15,10,35,0.2) 40%, transparent 70%);
}
#atmosphere-bg.atm-simulation {
  background: radial-gradient(ellipse 120% 100% at 50% 50%, rgba(60,15,20,0.4) 0%, rgba(40,8,12,0.2) 40%, transparent 70%);
}
#atmosphere-bg.atm-cta {
  background: radial-gradient(ellipse 120% 100% at 50% 40%, rgba(0,255,178,0.06) 0%, rgba(0,180,120,0.03) 40%, transparent 60%);
}

/* ---- NeverHack Section Room Entries ---- */
.section-room-enter {
  will-change: transform, opacity, filter;
}

/* ---- Chromatic Aberration Overlay ---- */
#chromatic-overlay {
  background: 
    linear-gradient(90deg, rgba(255,0,50,0.03) 0%, transparent 15%, transparent 85%, rgba(0,100,255,0.03) 100%);
  mix-blend-mode: screen;
  transition: opacity 0.15s;
}

/* ---- Nav ---- */
#main-nav {
  opacity: 1;
  border-bottom: none !important;
  border-color: transparent !important;
  z-index: 9999 !important;
  position: fixed;
  background: #050A18;
}
#main-nav.scrolled {
  background: #050A18;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: none;
}
#main-nav.scrolled::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -12px;
  height: 12px;
  background: linear-gradient(to bottom, #050A18, transparent);
  pointer-events: none;
}
.magnetic-wrap { display: inline-block; }

/* ---- Hamburger ---- */
.hamburger-line {
  display: block; position: absolute; width: 22px; height: 2px;
  background: #E8ECF4; border-radius: 1px;
  transition: all 0.35s cubic-bezier(0.77,0,0.175,1);
}
.hamburger-line-1 { transform: translateY(-6px); }
.hamburger-line-2 { opacity: 1; }
.hamburger-line-3 { transform: translateY(6px); }
.menu-open .hamburger-line-1 { transform: rotate(45deg); }
.menu-open .hamburger-line-2 { opacity: 0; }
.menu-open .hamburger-line-3 { transform: rotate(-45deg); }

/* ---- Emerald Shimmer ---- */
.emerald-shimmer {
  background: linear-gradient(90deg, #00FFB2 0%, #33FFCC 20%, #80FFE0 50%, #00FFB2 75%, #33FFCC 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s ease-in-out infinite;
}
@keyframes shimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: -100% 50%; }
}

/* ---- Typewriter Word Cycler (CTA) ---- */
.typer-word {
  color: #00FFB2;
  /* Inherits everything from the h2 — font-family, font-weight,
     font-size, line-height, letter-spacing. No overrides needed. */
}
.typer-caret {
  display: inline-block;
  width: 0.06em;
  height: 0.78em;
  background: #00FFB2;
  margin-left: 0.02em;
  vertical-align: baseline;
  position: relative;
  top: 0.08em;
  animation: typer-blink 0.7s step-end infinite;
}
@keyframes typer-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ---- Split Text Mask Reveal ---- */
.word-mask {
  display: inline-block; overflow: hidden; vertical-align: top;
}
.word-mask .word-inner {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}

/* ---- Scrub Text (word-by-word scroll opacity) ---- */
.scrub-word {
  display: inline-block;
  opacity: 0.15;
  transition: opacity 0.01s;
  will-change: opacity;
}

/* ---- Section Dividers — Vertical line growth ---- */
.section-divider { position: relative; z-index: 10; }
.divider-line {
  transition: height 0.01s;
  will-change: height;
  opacity: 0.6;
}
/* Atmosphere-tinted dividers */
.section-divider[data-divider="1"] .divider-line {
  background: linear-gradient(to bottom, transparent, rgba(0,255,178,0.4), transparent);
}
.section-divider[data-divider="2"] .divider-line {
  background: linear-gradient(to bottom, transparent, rgba(30,20,60,0.5), transparent);
}

/* ---- Hero Grid Background ---- */
.hero-grid {
  will-change: opacity, transform;
}

/* ---- Hero Text Readability Over Map ---- */
.hero-headline {
  text-shadow: 0 2px 40px rgba(5,10,24,0.9), 0 0 80px rgba(5,10,24,0.7);
  position: relative;
  z-index: 5;
}
.hero-sub {
  text-shadow: 0 2px 15px rgba(5,10,24,1), 0 0 40px rgba(5,10,24,0.9), 0 0 80px rgba(5,10,24,0.6);
  position: relative;
  z-index: 5;
}
.hero-cta-wrap {
  position: relative;
  z-index: 5;
}
/* Make shimmer text more readable over map — use solid color, not transparent-fill */
.hero-line-2.emerald-shimmer {
  -webkit-text-fill-color: #00FFB2;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  text-shadow: 0 0 20px rgba(0,255,178,0.3), 0 0 50px rgba(0,255,178,0.08), 0 2px 30px rgba(5,10,24,0.95);
  animation: heroShimmer 4s ease-in-out infinite;
}
@keyframes heroShimmer {
  0%, 100% { -webkit-text-fill-color: #00FFB2; text-shadow: 0 0 20px rgba(0,255,178,0.3), 0 0 50px rgba(0,255,178,0.08), 0 2px 30px rgba(5,10,24,0.95); }
  50% { -webkit-text-fill-color: #55FFD0; text-shadow: 0 0 25px rgba(0,255,178,0.4), 0 0 60px rgba(0,255,178,0.12), 0 2px 30px rgba(5,10,24,0.95); }
}

/* ---- Scroll Indicator Line ---- */
.scroll-line-fill {
  animation: scrollLinePulse 2s ease-in-out infinite;
}
@keyframes scrollLinePulse {
  0% { transform: translateY(-100%); }
  50% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* ---- Parallax Layer ---- */
[data-speed] { will-change: transform; }

/* ---- Scroll Progress Bar ---- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 100;
  background: linear-gradient(90deg, #00FFB2, #00CC8E);
  transform-origin: left; transform: scaleX(0);
  width: 100%;
}

/* ---- Stats ---- */
.stat-card {
  position: relative; overflow: hidden;
  border: 1px solid rgba(136,149,168,0.06);
  background: rgba(10,22,40,0.35); backdrop-filter: blur(8px);
  transition: border-color 0.5s, box-shadow 0.5s, transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.stat-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(0,255,178,0.08), transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.stat-card:hover::before { opacity: 1; }
.stat-card.active { border-color: rgba(0,255,178,0.12); }

/* ---- Feature Cards — 3D Tilt + Sticky Stacking ---- */
.feature-card {
  --rx: 0deg; --ry: 0deg;
  transform: perspective(800px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s, border-color 0.4s;
  will-change: transform;
  border: 1px solid rgba(136,149,168,0.06);
  position: relative; overflow: hidden;
}

/* Sticky heading + stacking cards — desktop only */
@media (min-width: 768px) {
  .features-heading-pin {
    position: sticky;
    top: 100px;
    z-index: 10;
    padding-bottom: 16px;
    background: linear-gradient(to bottom, #050A18 0%, #050A18 85%, transparent 100%);
    margin-left: -24px;
    margin-right: -24px;
    padding-left: 24px;
    padding-right: 24px;
  }
  .features-stack-wrapper {
    position: relative;
  }
  .features-stack-wrapper .feature-card {
    position: sticky;
    max-width: 720px;
    margin: 0 auto 40px;
    transform-origin: center top;
  }
}
/* Mobile: simple vertical list */
@media (max-width: 767px) {
  .features-stack-wrapper .feature-card {
    margin-bottom: 16px;
  }
}
.feature-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%),
    var(--card-glow, rgba(0,255,178,0.06)), transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover {
  border-color: var(--card-border, rgba(0,255,178,0.2));
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px var(--card-shadow, rgba(0,255,178,0.05));
}

/* ---- Showcase ---- */
.showcase-visual {
  border: 1px solid rgba(136,149,168,0.08);
  background: rgba(10,22,40,0.3);
  position: relative; overflow: hidden;
}
.showcase-visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(5,10,24,0.6) 100%);
  pointer-events: none;
}
.showcase-step { position: absolute; inset: 0; opacity: 0; }
.showcase-step:first-child { opacity: 1; }

/* Text area: container is relative, all texts stack */
.showcase-text-area { position: relative; min-height: 200px; }
.showcase-text { will-change: transform, opacity; }
.showcase-text:not(:first-child) { position: absolute; top: 0; left: 0; width: 100%; visibility: hidden; }
.showcase-text:first-child { position: relative; visibility: visible; }

/* Scan line overlay */
.scan-line {
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,255,178,0.5), transparent);
  opacity: 0; z-index: 5;
}

/* Detection corners */
.detect-corner { position: absolute; width: 12px; height: 12px; }
.detect-corner.tl { top:-1px;left:-1px; border-top:2px solid; border-left:2px solid; }
.detect-corner.tr { top:-1px;right:-1px; border-top:2px solid; border-right:2px solid; }
.detect-corner.bl { bottom:-1px;left:-1px; border-bottom:2px solid; border-left:2px solid; }
.detect-corner.br { bottom:-1px;right:-1px; border-bottom:2px solid; border-right:2px solid; }

/* (old hw-track/hw-panel horizontal scroll removed — now using hw-stage pinned layout) */

/* ---- Simulation ---- */
#sim-container.alert-mode {
  border-color: rgba(255,59,59,0.4);
  box-shadow: 0 0 80px rgba(255,59,59,0.1), inset 0 0 80px rgba(255,59,59,0.04);
  animation: alertPulse 1.5s ease-in-out infinite;
}
@keyframes alertPulse {
  0%,100% { border-color: rgba(255,59,59,0.2); }
  50% { border-color: rgba(255,59,59,0.5); }
}

.threat-pulse { animation: threatGlow 1.5s ease-in-out infinite; }
@keyframes threatGlow {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,59,59,0); }
  50% { box-shadow: 0 0 24px 4px rgba(255,59,59,0.2); }
}

/* ---- Scroll Indicator ---- */
.scroll-indicator svg { animation: softBounce 2.5s ease-in-out infinite; }
@keyframes softBounce {
  0%,100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* ---- Mobile Menu ---- */
#mobile-menu.active { opacity: 1; pointer-events: all; }

/* ---- CTA Button Glow ---- */
.btn-primary {
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; inset: -2px; border-radius: inherit;
  background: linear-gradient(135deg, rgba(0,255,178,0.3), transparent, rgba(0,255,178,0.3));
  opacity: 0; transition: opacity 0.4s;
  z-index: -1;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
  box-shadow: 0 0 50px rgba(0,255,178,0.35), 0 4px 30px rgba(0,255,178,0.15);
}

/* ---- Ghost Button ---- */
.btn-ghost {
  position: relative;
}
.btn-ghost::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(0,255,178,0.15), transparent) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s;
}
.btn-ghost:hover::after { opacity: 1; }

/* ---- Showcase Progress ---- */
.showcase-dot {
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
.showcase-dot.active {
  background: #00FFB2 !important;
  box-shadow: 0 0 10px rgba(0,255,178,0.5);
  transform: scale(1.4);
}

/* ---- Number Counters ---- */
.stat-number { font-variant-numeric: tabular-nums; }

/* ---- CTA Section Gradient ---- */
#cta { position: relative; }
#cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0,255,178,0.04), transparent);
  pointer-events: none;
}

/* ---- Velocity Skew ---- */
.velocity-skew {
  will-change: transform;
  transition: transform 0.01s;
}

/* ---- Footer ---- */
footer { position: relative; }

/* ---- Custom Scrollbar ---- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #050A18; }
::-webkit-scrollbar-thumb { background: rgba(0,255,178,0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,255,178,0.25); }

/* ===== E: CINEMATIC IMAGE ZOOM ===== */
/* Hero → E dissolve curtain */
.hero-e-curtain {
  position: relative; z-index: 1; height: 30vh;
  background: linear-gradient(to bottom, transparent 0%, #050A18 100%);
  pointer-events: none; margin-top: -30vh;
}

.e-section { position: relative; background: #050A18; z-index: 2; }
.e-block { position: relative; height: 100vh; overflow: hidden; margin-bottom: -1px; }
.e-img-wrap { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.e-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); will-change: transform; }
.e-overlay { position: absolute; inset: 0; z-index: 2; background: rgba(5,10,24,0.55); }
.e-block:nth-child(3) .e-overlay { background: rgba(5,10,24,0.5); }
.e-block:nth-child(4) .e-overlay { background: rgba(5,10,24,0.6); }
.e-vignette {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, transparent 0%, rgba(5,10,24,0.7) 100%);
}
.e-content {
  position: relative; z-index: 4; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px;
}
.e-eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: 13px;
  letter-spacing: 4px; text-transform: uppercase;
  opacity: 0; transform: translateY(30px); margin-bottom: 16px; font-weight: 700;
  padding: 8px 18px; background: rgba(5,10,24,0.55); border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.e-number {
  font-family: 'Clash Display', sans-serif; font-weight: 700;
  font-size: clamp(4rem, 14vw, 12rem); line-height: .85; letter-spacing: -.04em;
  opacity: 0; transform: translateY(60px);
  text-shadow: 0 4px 80px rgba(0,0,0,0.5); max-width: 95vw; overflow-wrap: break-word;
}
.e-context {
  font-family: 'General Sans', sans-serif; font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(232,236,244,0.85); max-width: 440px; line-height: 1.6;
  margin-top: 20px; opacity: 0; transform: translateY(30px);
  text-shadow: 0 0 20px rgba(0,0,0,0.8), 0 2px 8px rgba(0,0,0,0.6);
}
.e-source {
  font-family: 'JetBrains Mono', monospace; font-size: 13px;
  letter-spacing: 2px; color: #E8ECF4; margin-top: 16px; opacity: 0;
  pointer-events: auto; text-decoration: underline; text-decoration-color: rgba(232,236,244,0.4);
  text-underline-offset: 4px;
  text-shadow: 0 0 16px rgba(5,10,24,0.95), 0 0 32px rgba(5,10,24,0.8);
}
.e-source:hover { color: #00FFB2; text-decoration-color: #00FFB2; }
.e-line { width: 0; height: 1px; margin-top: 24px; }

/* ===== F2: ALBERS MAP SECTION ===== */
.map-section { position: relative; background: #050A18; z-index: 3; margin-top: -1px; }
.map-pin { height: 100vh; position: relative; overflow: hidden; }
.map-canvas-wrap { position: absolute; inset: 0; z-index: 1; top: 60px; }
.map-canvas-wrap canvas { width: 100%; height: 100%; }
.map-stat-layer {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center; pointer-events: none;
}
.map-stat-group {
  position: absolute; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  opacity: 0; transform: scale(0.7); will-change: transform, opacity;
  width: 100%; max-width: 600px; padding: 24px;
  background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(5,10,24,0.7) 0%, rgba(5,10,24,0.3) 50%, transparent 80%);
  border-radius: 40px;
}
.map-stat-eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: 13px;
  letter-spacing: 4px; text-transform: uppercase; margin-bottom: 14px; font-weight: 700;
  padding: 8px 18px; background: rgba(5,10,24,0.55); border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.map-stat-number {
  font-family: 'Clash Display', sans-serif; font-weight: 700;
  font-size: clamp(5rem, 18vw, 14rem); line-height: .85; letter-spacing: -.04em;
  text-shadow: 0 0 80px rgba(5,10,24,0.9), 0 0 40px rgba(5,10,24,0.7), 0 0 120px rgba(5,10,24,0.6);
}
.map-stat-number[style*="3.5rem"] {
  text-shadow: 0 0 30px rgba(5,10,24,0.9), 0 0 60px rgba(5,10,24,0.6);
  letter-spacing: -.02em;
  word-spacing: 0.06em;
}
.map-stat-desc {
  font-size: clamp(1rem, 2.2vw, 1.3rem); color: rgba(200,208,224,0.9);
  max-width: 440px; line-height: 1.6; margin-top: 16px;
  text-shadow: 0 0 20px rgba(5,10,24,0.95), 0 0 40px rgba(5,10,24,0.8);
}
.map-stat-source {
  font-family: 'JetBrains Mono', monospace; font-size: 13px;
  color: #E8ECF4; margin-top: 12px; letter-spacing: 2px;
  text-shadow: 0 0 16px rgba(5,10,24,0.95), 0 0 32px rgba(5,10,24,0.8);
  pointer-events: auto; text-decoration: underline; text-decoration-color: rgba(232,236,244,0.4);
  text-underline-offset: 4px;
}
.map-stat-source:hover { color: #00FFB2; text-decoration-color: #00FFB2; }
.map-progress {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 5; display: flex; gap: 12px;
}
.map-pip {
  width: 32px; height: 3px; border-radius: 2px;
  background: rgba(136,149,168,0.15); transition: background .4s, width .4s;
}
.map-pip.active { background: #00FFB2; width: 48px; }

/* F2 scroll cue animation */
@keyframes f2CuePulse { 0%,100% { opacity: 0.3; transform: translateY(0); } 50% { opacity: 0.6; transform: translateY(6px); } }
.f2-scroll-cue { transition: opacity 0.4s; }

/* Typewriter cycler */
.cycler-noun {
  display: inline-block; min-width: 1ch;
  border-right: 2px solid #00FFB2; padding-right: 4px;
  animation: blink-caret .7s step-end infinite;
}
@keyframes blink-caret { 50% { border-color: transparent; } }

/* ===== CTA GLOBE BACKGROUND ===== */
.cta-globe-wrap {
  position: absolute; inset: 0; z-index: 0;
}
.cta-globe-wrap canvas {
  width: 100%; height: 100%;
  filter: blur(0.6px) brightness(1.1);
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
  .emerald-shimmer { animation: none; }
  #particle-canvas { display: none; }
  .cursor-dot, .cursor-ring, .cursor-ghost { display: none; }
  body { cursor: auto; }
  .word-mask .word-inner { transform: none !important; }
  .scrub-word { opacity: 1 !important; }
  #loader { display: none; }
  #chromatic-overlay { display: none; }
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  /* Ensure native touch scrolling works through pinned sections */
  .showcase-pin-wrapper,
  .hw-stage,
  .pin-spacer { touch-action: pan-y; }

  .showcase-visual { aspect-ratio: 4/3; min-height: 220px; }
  .showcase-text-area { min-height: 140px; }
  #sim-scene { height: auto !important; aspect-ratio: 16/10; overflow: hidden; }
  body { cursor: auto; }
  .cursor-dot, .cursor-ring, .cursor-ghost { display: none !important; }

  /* E-Block cinematic stats — tighter on mobile */
  .e-number {
    font-size: clamp(2.5rem, 11vw, 5rem) !important;
  }
  .e-eyebrow {
    font-size: 10px !important;
    letter-spacing: 2px !important;
    padding: 6px 14px !important;
  }
  .e-context {
    font-size: 0.9rem !important;
    max-width: 320px;
    padding: 0 8px;
  }
  .e-source {
    font-size: 10px !important;
    letter-spacing: 1px !important;
  }
  .e-content { padding: 16px; }

  /* Map stat section */
  .map-stat-number {
    font-size: clamp(2.5rem, 12vw, 5rem) !important;
  }
  .map-stat-eyebrow {
    font-size: 10px !important;
    letter-spacing: 2px !important;
    padding: 6px 14px !important;
  }
  .map-stat-desc {
    font-size: 0.9rem !important;
    max-width: 320px;
    padding: 8px 14px;
    background: rgba(5,10,24,0.82);
    border-radius: 12px;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  }
  .map-stat-source {
    font-size: 10px !important;
    letter-spacing: 1px !important;
    padding: 4px 12px;
    background: rgba(5,10,24,0.82);
    border-radius: 8px;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  }
  .map-stat-group {
    max-width: 90vw;
    padding: 16px;
    background: radial-gradient(ellipse 70% 65% at 50% 50%, rgba(5,10,24,0.85) 0%, rgba(5,10,24,0.5) 55%, transparent 85%);
  }
  .map-progress { bottom: 20px; }

  /* Feature cards — shorter images on mobile */
  .feature-card .relative.h-40 { height: 8rem; }
  .feature-card .p-6 { padding: 1rem; }
  .feature-card .p-6.pt-4 { padding-top: 0.75rem; }

  /* HW Stage — adjust visual aspect for mobile */
  .hw-visual { aspect-ratio: 4/3 !important; }
  .hw-step-num-bg {
    font-size: clamp(3rem, 10vw, 5rem) !important;
    top: -10px !important;
  }
  .hw-tag { font-size: 10px; padding: 3px 10px; }

  /* Simulation — responsive notification card */
  #sim-notification .text-sm { font-size: 12px; }
  #sim-notification .text-xs { font-size: 10px; }

  /* CTA section */
  .typer-caret { height: 0.7em; }

  /* Footer */
  footer { padding-top: 1rem; padding-bottom: 1rem; }

  /* Fix #2: Showcase video overflow */
  .showcase-step video,
  .showcase-step .cv-canvas {
    width: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
  }

  /* Fix #4: Features section — disable heavy transforms on mobile */
  .feature-card {
    transform: none !important;
    opacity: 1 !important;
  }
  .features-stack-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  /* Fix #5: HW visual fit on mobile */
  .hw-visual {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 12px !important;
  }
  .hw-visual img,
  .hw-visual video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* Fix #6: Simulation scene aspect ratio and text overflow */
  #sim-scene {
    height: auto !important;
    aspect-ratio: 16/9 !important;
    overflow: hidden !important;
  }
  #sim-alert .bg-\[rgba\(255\,59\,59\,0\.15\)\] {
    padding: 12px 16px !important;
  }
  #sim-alert p {
    font-size: 11px !important;
  }
  #sim-detect-1 .absolute.-top-6,
  #sim-detect-2 .absolute.-top-6 {
    font-size: 7px !important;
    top: -14px !important;
    padding: 1px 3px !important;
  }

  /* Fix #7: Hamburger menu z-index */
  #mobile-toggle { z-index: 51; }
  #mobile-menu.active { padding-top: 80px; }

  /* Fix #9: E-block height shorter on mobile */
  .e-block {
    min-height: 70vh !important;
    height: auto !important;
  }
}

@media (max-width: 375px) {
  .hero-headline { font-size: 2.2rem !important; }
  .e-number { font-size: clamp(2rem, 10vw, 3.5rem) !important; }
  .map-stat-number { font-size: clamp(2rem, 10vw, 3.5rem) !important; }
  .cta-headline { font-size: 1.75rem !important; }
}

/* ===== NEW: HW STAGE (Cinematic Pinned) ===== */
.hw-stage {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #050A18;
  z-index: 10;
}

.hw-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.8s;
}

/* Intro words */
.hw-iw {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  filter: blur(6px);
  will-change: transform, opacity, filter;
}

/* Steps (overlay each other inside the stage) */
.hw-step {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 180px 48px 48px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.1s;
}
.hw-step.active {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .hw-step {
    grid-template-columns: 1fr;
    padding: 110px 16px 16px;
    gap: 16px;
    overflow-y: auto;
  }
}

/* Step visual (video/image container) */
.hw-visual {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: 16px;
  overflow: hidden;
  background: #080e1c;
  border: 1px solid rgba(136,149,168,0.1);
  will-change: transform, opacity;
}
.hw-visual img,
.hw-visual video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Step content */
.hw-content {
  position: relative;
  z-index: 2;
}

/* Step number watermark */
.hw-step-num-bg {
  position: absolute;
  top: -20px;
  left: -10px;
  font-family: 'Clash Display', sans-serif;
  font-weight: 700;
  font-size: clamp(6rem, 12vw, 10rem);
  line-height: 1;
  color: rgba(0,255,178,0.04);
  pointer-events: none;
  z-index: 0;
}
.hw-step-num-bg.amber {
  color: rgba(255,184,0,0.04);
}

/* Bracket corners on visual */
.hw-bracket {
  position: absolute;
  width: 24px;
  height: 24px;
  z-index: 3;
  opacity: 0;
}
.hw-bracket.tl { top: 12px; left: 12px; border-top: 2px solid #00FFB2; border-left: 2px solid #00FFB2; }
.hw-bracket.tr { top: 12px; right: 12px; border-top: 2px solid #00FFB2; border-right: 2px solid #00FFB2; }
.hw-bracket.bl { bottom: 12px; left: 12px; border-bottom: 2px solid #00FFB2; border-left: 2px solid #00FFB2; }
.hw-bracket.br { bottom: 12px; right: 12px; border-bottom: 2px solid #00FFB2; border-right: 2px solid #00FFB2; }

.hw-bracket.amber.tl, .hw-bracket.amber.tr, .hw-bracket.amber.bl, .hw-bracket.amber.br {
  border-color: #FFB800;
}

/* Scan line sweep */
.hw-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,255,178,0.6), transparent);
  z-index: 4;
  opacity: 0;
  pointer-events: none;
}
.hw-scan-line.amber {
  background: linear-gradient(90deg, transparent, rgba(255,184,0,0.6), transparent);
}

/* HUD bar overlay on video steps */
.hw-hud-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
  background: rgba(5,10,24,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  opacity: 0;
}

/* Tags (protocol chips) */
.hw-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(0,255,178,0.08);
  border: 1px solid rgba(0,255,178,0.12);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #00FFB2;
  letter-spacing: 1px;
}

/* Progress rail (vertical dots) */
.hw-progress-rail {
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  transition: opacity 0.5s;
}

.hw-rail-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(136,149,168,0.15);
  border: 2px solid rgba(136,149,168,0.2);
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
  flex-shrink: 0;
}
.hw-rail-dot.on {
  background: #00FFB2;
  border-color: #00FFB2;
  box-shadow: 0 0 12px rgba(0,255,178,0.4);
}
.hw-rail-dot.amber.on {
  background: #FFB800;
  border-color: #FFB800;
  box-shadow: 0 0 12px rgba(255,184,0,0.4);
}

.hw-rail-line {
  width: 2px;
  height: 40px;
  background: rgba(136,149,168,0.1);
  position: relative;
  overflow: hidden;
}
.hw-rail-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: #00FFB2;
  transition: height 0.3s;
}
.hw-rail-line.amber .hw-rail-fill {
  background: #FFB800;
}

@media (max-width: 768px) {
  .hw-progress-rail { display: none; }
}

/* Breadcrumb pills (HW + Features) */
.hw-crumb,
.feat-crumb {
  color: rgba(136,149,168,0.4);
  border-color: rgba(136,149,168,0.1);
  cursor: default;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
.hw-crumb.visible,
.feat-crumb.visible {
  opacity: 1;
  transform: translateY(0);
}
.hw-crumb.active,
.feat-crumb.active {
  color: #00FFB2;
  border-color: rgba(0,255,178,0.3);
  background: rgba(0,255,178,0.06);
}
.hw-crumb.amber.active {
  color: #FFB800;
  border-color: rgba(255,184,0,0.3);
  background: rgba(255,184,0,0.06);
}


/* ==============================================================
   ANTI-JITTER + MOBILE FIXES
   ============================================================== */
body.not-ready > *:not(#loader) { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
body.not-ready { overflow: hidden !important; }
body.ready > *:not(#loader) { visibility: visible !important; }
.hero-headline { opacity: 0; }
#main-nav > div:first-child { opacity: 0; }

@media (max-width: 768px) {
  html, body { overflow-x: hidden !important; -webkit-overflow-scrolling: touch; }
  #particle-canvas, #cta-globe-canvas, #f2-map-canvas, #chromatic-overlay { max-width: 100vw !important; }
  .showcase-pin-wrapper, .hw-stage, .pin-spacer { touch-action: pan-y !important; }
  body { cursor: auto; }
  .cursor-dot, .cursor-ring, .cursor-ghost { display: none !important; }
  /* NAV */
  #mobile-toggle { z-index: 9999 !important; }
  #mobile-menu { z-index: 9998 !important; padding-top: 80px !important; }
  #mobile-menu.active { opacity: 1 !important; pointer-events: all !important; }
  .mobile-nav-link { font-size: 1.6rem !important; }
  #mobile-menu-close { top: 14px !important; right: 16px !important; z-index: 9999 !important; }
  /* HERO */
  #hero { min-height: 100vh; padding-top: 80px !important; }
  .hero-headline { font-size: clamp(2rem, 8.5vw, 3rem) !important; line-height: 1.05 !important; }
  .hero-sub { font-size: 0.9rem !important; margin-top: 12px !important; }
  .hero-cta-wrap { margin-top: 20px !important; gap: 10px !important; }
  /* E-BLOCKS */
  .e-block { min-height: 70vh !important; height: auto !important; display: flex; flex-direction: column; }
  .e-img-wrap { position: absolute; inset: 0; }
  .e-content { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px 16px !important; gap: 4px; }
  .e-number { font-size: clamp(2.2rem, 12vw, 4.5rem) !important; line-height: 0.9 !important; }
  .e-eyebrow { font-size: 9px !important; letter-spacing: 1.5px !important; padding: 5px 12px !important; margin-bottom: 8px !important; }
  .e-context { font-size: 0.85rem !important; line-height: 1.5 !important; max-width: 300px; margin-top: 8px !important; }
  .e-source { font-size: 9px !important; letter-spacing: 1px !important; margin-top: 8px !important; word-break: break-word; }
  .e-line { margin-top: 12px !important; }
  /* MAP */
  .map-stat-group { max-width: 92vw; padding: 12px !important; background: radial-gradient(ellipse 80% 75% at 50% 50%, rgba(5,10,24,0.9) 0%, rgba(5,10,24,0.55) 55%, transparent 90%); }
  .map-stat-number { font-size: clamp(2.2rem, 13vw, 4.5rem) !important; line-height: 0.85 !important; }
  #f2-stat-0 .map-stat-number { font-size: clamp(1.4rem, 5.5vw, 2.2rem) !important; line-height: 1.15 !important; }
  .map-stat-eyebrow { font-size: 9px !important; letter-spacing: 1.5px !important; padding: 5px 12px !important; margin-bottom: 8px !important; }
  .map-stat-desc { font-size: 0.82rem !important; line-height: 1.45 !important; max-width: 300px; margin-top: 8px !important; padding: 6px 12px; background: rgba(5,10,24,0.85); border-radius: 10px; }
  .map-stat-source { font-size: 9px !important; margin-top: 6px !important; word-break: break-word; max-width: 280px; text-align: center; padding: 3px 10px; background: rgba(5,10,24,0.85); border-radius: 6px; }
  .map-progress { bottom: 12px !important; gap: 8px !important; }
  /* SHOWCASE */
  .showcase-pin-wrapper .grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .showcase-visual { aspect-ratio: 16/10 !important; min-height: 200px !important; max-height: 40vh !important; border-radius: 12px !important; }
  .showcase-text-area { min-height: 180px !important; }
  .showcase-text h2 { font-size: 1.5rem !important; line-height: 1.15 !important; }
  .showcase-text p:last-child { font-size: 0.85rem !important; line-height: 1.5 !important; margin-top: 8px !important; }
  .showcase-step video, .showcase-step .cv-canvas { width: 100% !important; max-width: 100% !important; object-fit: cover !important; }
  /* HW STAGE */
  .hw-stage { touch-action: pan-y !important; }
  .hw-step { grid-template-columns: 1fr !important; grid-template-rows: auto 1fr !important; padding: 90px 16px 16px !important; gap: 12px !important; align-content: start !important; overflow-y: auto !important; }
  .hw-visual { aspect-ratio: 16/9 !important; max-height: 30vh !important; width: 100% !important; border-radius: 10px !important; }
  .hw-visual img, .hw-visual video { width: 100% !important; height: 100% !important; object-fit: cover !important; }
  .hw-content h3 { font-size: 1.5rem !important; line-height: 1.1 !important; margin-bottom: 8px !important; }
  .hw-content p { font-size: 0.82rem !important; line-height: 1.45 !important; margin-bottom: 10px !important; }
  .hw-step-num-bg { font-size: clamp(2.5rem, 8vw, 4rem) !important; top: -8px !important; }
  .hw-tag { font-size: 9px !important; padding: 3px 8px !important; }
  .hw-hud-bar { font-size: 8px !important; padding: 6px 10px !important; gap: 8px !important; flex-wrap: wrap; }
  #hwStickyHeader { padding-top: 16px !important; padding-bottom: 16px !important; }
  #hwStickyHeader h3 { font-size: 0.9rem !important; }
  #hwIntroH { font-size: clamp(1.8rem, 7vw, 2.8rem) !important; line-height: 1.05 !important; padding: 0 12px; }
  #hwIntroSub { font-size: 0.85rem !important; padding: 0 20px !important; }
  .hw-progress-rail { display: none; }
  /* SIMULATION */
  #simulation { padding-top: 16px !important; padding-bottom: 16px !important; }
  #sim-container { border-radius: 12px !important; }
  #sim-scene { aspect-ratio: 16/10 !important; height: auto !important; overflow: hidden !important; }
  #sim-detect-1 > div[class*="absolute"], #sim-detect-2 > div[class*="absolute"] { font-size: 7px !important; top: -12px !important; padding: 1px 4px !important; white-space: nowrap; }
  #sim-notification { width: 200px !important; right: 4px !important; top: 8px !important; padding: 8px !important; }
  #sim-timeline { padding: 8px 12px !important; }
  #sim-timeline .flex { gap: 6px !important; flex-wrap: wrap; justify-content: center; }
  #sim-trigger, #sim-replay { font-size: 12px !important; padding: 10px 18px !important; }
  /* FEATURES */
  .features-stack-wrapper { display: flex !important; flex-direction: column !important; gap: 12px !important; }
  .feature-card { transform: none !important; opacity: 1 !important; position: relative !important; top: auto !important; border-radius: 12px !important; }
  .feature-card .relative.h-40 { height: 7rem !important; }
  .feature-card .p-6 { padding: 12px !important; }
  .feature-card h3 { font-size: 1rem !important; margin-bottom: 6px !important; }
  .feature-card p { font-size: 0.8rem !important; line-height: 1.45 !important; }
  .features-heading { font-size: clamp(1.6rem, 7vw, 2.2rem) !important; }
  /* CTA */
  #cta { padding: 32px 0 24px !important; }
  .cta-headline { font-size: clamp(1.6rem, 7vw, 2.4rem) !important; line-height: 1.1 !important; }
  .cta-sub { font-size: 0.85rem !important; margin-top: 12px !important; }
  .cta-buttons { margin-top: 20px !important; }
  .cta-buttons a { padding: 14px 24px !important; font-size: 0.9rem !important; }
  .cta-globe-wrap canvas { filter: blur(1.5px) brightness(0.8) !important; opacity: 0.5; }
  /* FOOTER */
  footer { padding: 12px 0 !important; }
  footer .text-sm { font-size: 0.75rem !important; }
}
@media (max-width: 375px) {
  .hero-headline { font-size: 1.9rem !important; }
  .e-number { font-size: clamp(1.8rem, 10vw, 3rem) !important; }
  .map-stat-number { font-size: clamp(1.8rem, 11vw, 3rem) !important; }
  .cta-headline { font-size: 1.5rem !important; }
}
@media (max-height: 500px) and (max-width: 900px) {
  .e-block { min-height: 100vh !important; }
  .hw-step { padding-top: 70px !important; }
  .hw-visual { max-height: 35vh !important; }
  #hero { padding-top: 60px !important; }
  .hero-headline { font-size: clamp(1.5rem, 5vh, 2.5rem) !important; }
}
