:root {
  --ink: #06291f;
  --ink-deep: #031b14;
  --forest: #0e4a31;
  --green: #53a96c;
  --mint: #c9e9cc;
  --paper: #f6f8f3;
  --gold: #c99737;
  --muted: #53675d;
  --line: #cad8cd;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
.scroll-story { height: 520vh; position: relative; }
.hero { position: sticky; top: 0; width: 100%; height: 100svh; min-height: 660px; overflow: hidden; isolation: isolate; background: var(--paper); }
.nav { position: absolute; z-index: 50; top: 0; left: 0; width: 100%; height: 82px; padding: 17px clamp(24px, 4.5vw, 72px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.brand img { display: block; width: 210px; max-height: 48px; object-fit: contain; object-position: left center; }
.nav-actions { display: flex; align-items: center; gap: 30px; }
.nav-note { color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.nav-cta, .button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; text-decoration: none; text-transform: uppercase; letter-spacing: .045em; font-size: 11px; font-weight: 750; border-radius: 999px; transition: transform .25s ease, background .25s ease, color .25s ease; }
.nav-cta { padding: 14px 20px; color: white; background: var(--ink); }
.nav-cta:hover, .button:hover { transform: translateY(-2px); }
.button { min-height: 52px; padding: 0 24px; }
.button-dark { color: white; background: var(--ink); }
.button-outline { border: 1px solid #789083; background: rgba(255,255,255,.4); }
.copy { position: absolute; z-index: 20; pointer-events: none; }
.copy a { pointer-events: auto; }
.copy-arrival { left: clamp(28px, 5vw, 80px); top: 17%; width: min(42vw, 600px); }
.eyebrow { margin: 0 0 26px; color: #2d7747; font-size: 11px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow-light { color: #8ed49c; }
h1, h2 { margin: 0; font-family: Manrope, Inter, sans-serif; font-weight: 850; letter-spacing: -.055em; text-transform: uppercase; line-height: .94; }
h1 { font-size: clamp(58px, 6.6vw, 100px); }
.copy h2 { font-size: clamp(52px, 6vw, 94px); }
.copy p:not(.eyebrow):not(.trust-line) { max-width: 520px; margin: 30px 0 34px; color: var(--muted); font-size: clamp(15px, 1.2vw, 18px); line-height: 1.6; }
.copy-origin, .copy-network { color: white; opacity: 0; }
.copy-origin { left: 6vw; top: 17%; }
.copy-network { left: 51vw; top: 27%; }
.copy-origin p:not(.eyebrow), .copy-network p:not(.eyebrow) { color: #b7c9bd !important; }
.proof-chip, .live-chip { display: inline-flex; align-items: center; min-height: 38px; padding: 0 17px; border: 1px solid rgba(120,211,144,.42); border-radius: 999px; color: #c9e9ce; background: rgba(23,79,49,.72); font-size: 10px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.live-chip i { width: 9px; height: 9px; margin-right: 10px; border-radius: 50%; background: #65db83; box-shadow: 0 0 0 7px rgba(101,219,131,.12); }
.copy-park { left: 5vw; top: 15%; width: 38vw; opacity: 0; }
.copy-final { left: 48vw; top: 18%; width: 47vw; opacity: 0; }
.copy-final h2 { font-size: clamp(54px, 5.8vw, 92px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-line { margin-top: 46px; padding: 21px 25px; border-radius: 15px; background: #e7f1e7; color: #276b3e; font-size: 11px; font-weight: 750; letter-spacing: .055em; text-transform: uppercase; }
.trust-line b { margin: 0 10px; }
.metrics { width: min(430px, 90%); margin: 34px 0 0; }
.metrics div { display: grid; grid-template-columns: 120px 1fr; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.metrics dt { font: 850 28px/1 Manrope, sans-serif; }
.metrics dd { margin: 0; color: #527061; font-size: 10px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.ambient { position: absolute; inset: 0; z-index: -2; opacity: 0; background: radial-gradient(circle at 54% 46%, rgba(76,167,103,.32), transparent 36%), var(--ink-deep); }
.visual { position: absolute; z-index: 5; right: 4vw; top: 13%; width: 47vw; height: 72%; overflow: hidden; border-radius: 30px; background: linear-gradient(145deg, #082f23, #02140f); transform-origin: center center; box-shadow: 0 30px 100px rgba(0,31,22,.14); }
.visual::after { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(2,24,17,.78) 0%, rgba(2,24,17,.32) 30%, transparent 62%); opacity: .7; }
.portal-glow { position: absolute; left: 21%; top: 12%; width: 58%; height: 72%; border-radius: 18px; background: linear-gradient(110deg, #d5efd0, #4fa967 58%, #09271c); box-shadow: 0 0 70px rgba(87,190,111,.36); }
.corridor { position: absolute; inset: 0; perspective: 900px; }
.portal { position: absolute; left: 36%; top: 19%; width: 28%; height: 53%; border-radius: 8px; background: #031a13; }
.aperture { position: absolute; left: 42%; top: 26%; width: 16%; height: 38%; background: linear-gradient(#e1f2d8, #4b9f61 70%, #0b3b29); opacity: 0; }
.bay { position: absolute; top: 14%; width: 8%; height: 70%; border: 1px solid rgba(109,190,128,.28); border-radius: 7px; background: #135237; transform-origin: center; opacity: 0; }
.bay-1{left:8%}.bay-2{left:19%}.bay-3{left:30%}.bay-4{right:30%}.bay-5{right:19%}.bay-6{right:8%}
.floor-line { position: absolute; left: 50%; top: 55%; width: 2px; height: 70%; background: rgba(142,212,156,.22); transform-origin: top; }
.floor-1{transform:rotate(42deg)}.floor-2{transform:rotate(0)}.floor-3{transform:rotate(-42deg)}
.cargo { position: absolute; left: 41%; top: 65%; width: 18%; height: 14%; display: grid; place-items: center; border-radius: 9px; color: rgba(6,41,31,.66); background: var(--gold); box-shadow: 0 18px 34px rgba(0,0,0,.3); font-weight: 900; letter-spacing: .15em; }
.network { position: absolute; z-index: 2; inset: 8% 6%; width: 88%; height: 84%; opacity: 0; overflow: visible; }
.routes path { fill: none; stroke: #4d9962; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 2300; stroke-dashoffset: 2300; }
.nodes circle { fill: #81d391; opacity: 0; }
.nodes .node-active { fill: var(--gold); filter: drop-shadow(0 0 14px #d6a03a); }
.facility-label { position: absolute; z-index: 3; right: 7%; bottom: 6%; color: #bde2c4; font-size: 10px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.complete { position: absolute; z-index: 3; right: 7%; bottom: 8%; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: #7cd38f; font-size: 25px; font-weight: 900; opacity: 0; }
.journey-card { position: absolute; z-index: 15; left: 5vw; bottom: 12%; width: 38vw; max-width: 520px; padding: 27px; display: grid; gap: 18px; border: 1px solid rgba(95,177,115,.4); border-radius: 20px; color: white; background: rgba(2,24,17,.88); opacity: 0; }
.journey-card span { color: #90d79e; font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.journey-card strong { font-size: 14px; }
.journey-card small { color: #aebfb4; }
.progress { position: absolute; z-index: 40; left: clamp(28px, 5vw, 80px); bottom: 4%; width: min(360px, 45vw); color: #3c684e; text-transform: uppercase; letter-spacing: .1em; font-size: 9px; font-weight: 750; }
.progress-track { height: 2px; margin-top: 14px; overflow: hidden; background: #cbd9ce; }
.progress-track i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #3aad5b, var(--gold)); transform: scaleX(0); transform-origin: left; }
.progress-count { position: absolute; right: 0; top: -2px; }
.progress-count b { font-size: 18px; }
.after-story { min-height: 76vh; padding: 14vh 8vw; display: grid; align-content: center; justify-items: start; background: #e9f0e9; }
.after-story h2 { max-width: 900px; margin-bottom: 46px; font-size: clamp(48px, 7vw, 102px); }
:focus-visible { outline: 3px solid #d09b34; outline-offset: 4px; }

@media (max-width: 820px) {
  .scroll-story { height: 400vh; }
  .hero { min-height: 620px; }
  .nav { height: 70px; padding: 12px 20px; }
  .brand img { width: 155px; }
  .nav-note { display: none; }
  .nav-cta { padding: 12px 14px; font-size: 9px; }
  .copy-arrival, .copy-origin, .copy-network, .copy-park, .copy-final { left: 24px; top: 14%; width: calc(100% - 48px); }
  .copy h1, .copy h2, h1 { font-size: clamp(48px, 15vw, 72px); }
  .copy p:not(.eyebrow):not(.trust-line) { max-width: 92%; margin: 20px 0 24px; font-size: 14px; }
  .visual { right: 20px; left: 20px; top: 66%; width: auto; height: 30%; border-radius: 22px; }
  .copy-network { top: 15%; }
  .copy-park { top: 12%; }
  .copy-final { top: 12%; }
  .copy-final .trust-line { display: none; }
  .journey-card { left: 24px; bottom: 8%; width: calc(100% - 48px); padding: 18px; }
  .journey-card { display: none; }
  .visual::after { background: rgba(2,24,17,.58); opacity: 1; }
  .progress { left: 24px; bottom: 2.5%; width: calc(100% - 48px); }
  .metrics { margin-top: 18px; }
  .metrics div { padding: 9px 0; }
  .metrics dt { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-story { height: 100svh; }
  .copy-arrival, .copy-origin, .copy-network, .copy-park, .journey-card { display: none; }
  .copy-final { opacity: 1 !important; transform: none !important; }
  .visual { left: 5vw; right: auto; top: 16%; width: 38vw; height: 68%; transform: none !important; }
  .complete { opacity: 1; }
  .progress { display: none; }
}
