.world-shell { position: relative; min-height: 100vh; background: var(--porcelain); }
#world { min-height: 100vh; }

.sw-root { background: var(--porcelain); }
.sw-topbar, .sw-scrollbar { display: none !important; }
.sw-sky { position: fixed; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; background: var(--porcelain); }
.sw-stage { position: fixed; z-index: 10; inset: 0; overflow: hidden; pointer-events: none; background: var(--porcelain); }
.sw-scene { position: absolute; inset: 0; overflow: hidden; opacity: 0; will-change: opacity; background: var(--porcelain); }
.sw-scene__video, .sw-scene__still { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.sw-scene__still { will-change: transform; }
.sw-scene.has-clip .sw-scene__still { opacity: 0; }
.sw-copylayer { position: fixed; z-index: 20; inset: 0; pointer-events: none; }
.sw-copylayer::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
.sw-copy { position: absolute; opacity: 0; will-change: opacity, transform; }
.sw-copy__num { font-family: var(--mono); letter-spacing: .12em; }
.sw-copy__eyebrow { display: block; margin-top: 1.1rem; text-transform: uppercase; }
.sw-copy__title { margin: .7rem 0 0; color: var(--charcoal); text-wrap: balance; }
.sw-copy__body { margin: 1.1rem 0 0; }
.sw-copy__tags { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; }
.sw-route { position: fixed; z-index: 40; top: 50%; display: flex; flex-direction: column; transform: translateY(-50%); }
.sw-route::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 1rem; bottom: 1rem; width: 1px; background: color-mix(in srgb, var(--olive) 25%, transparent); transform: translateX(-50%); }
.sw-route__dot { position: relative; display: grid; place-items: center; border: 0; padding: 0; background: transparent; cursor: pointer; }
.sw-route__dot i { display: block; border-radius: 50%; transition: transform 180ms ease, background 180ms ease; }
.sw-route__dot.is-active i { transform: scale(1.35); }
.sw-route__label { position: absolute; right: 2rem; top: 50%; padding: .4rem .55rem; white-space: nowrap; opacity: 0; pointer-events: none; transform: translateY(-50%) translateX(.25rem); transition: opacity 160ms ease, transform 160ms ease; }
.sw-route__dot:hover .sw-route__label,
.sw-route__dot.is-active .sw-route__label { opacity: 1; transform: translateY(-50%); }
.sw-hint { position: fixed; z-index: 30; left: 50%; display: flex; flex-direction: column; align-items: center; gap: .5rem; color: var(--olive); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; transform: translateX(-50%); }
.sw-hint i { position: relative; width: 1.25rem; height: 1.9rem; border: 1px solid var(--cashmere); }
.sw-hint i::after { content: ""; position: absolute; left: 50%; top: .35rem; width: .2rem; height: .4rem; background: var(--brass); transform: translateX(-50%); animation: sw-wheel 1.7s ease-in-out infinite; }
@keyframes sw-wheel { 0% { opacity: 0; translate: 0 -.15rem; } 40% { opacity: 1; } 100% { opacity: 0; translate: 0 .5rem; } }
.sw-track { position: relative; z-index: 1; width: 100%; pointer-events: none; }

/* Phase 2A scene placeholders. Their restrained architectural geometry is replaced by
   the approved stills in Phase 2B; the DOM and responsive composition stay unchanged. */
.sw-scene::before,
.sw-scene::after { content: ""; position: absolute; pointer-events: none; }

.sw-scene::before {
  z-index: 0;
  width: min(72vw, 68rem);
  aspect-ratio: 16 / 9;
  right: 2vw;
  top: 50%;
  translate: 0 -50%;
  border: 1px solid color-mix(in srgb, var(--charcoal) 12%, transparent);
  border-radius: 48% 5% 42% 8%;
  background:
    linear-gradient(150deg, transparent 0 22%, color-mix(in srgb, var(--white) 88%, transparent) 22% 44%, transparent 44%),
    linear-gradient(30deg, transparent 0 48%, color-mix(in srgb, var(--brass) 38%, transparent) 48% 51%, transparent 51%),
    radial-gradient(circle at 62% 56%, var(--brass) 0 1.2%, transparent 1.3%),
    linear-gradient(145deg, var(--travertine), color-mix(in srgb, var(--cashmere) 76%, var(--porcelain)));
  box-shadow: 0 2rem 6rem color-mix(in srgb, var(--charcoal) 16%, transparent), inset -4rem -2rem 8rem color-mix(in srgb, var(--olive) 14%, transparent);
  transform: perspective(1200px) rotateX(8deg) rotateY(-7deg);
}

.sw-scene::after {
  z-index: 0;
  width: 34vw;
  height: 24vh;
  right: 12vw;
  bottom: 17vh;
  border: .55rem solid var(--walnut);
  border-top-width: 1.25rem;
  background:
    linear-gradient(90deg, transparent 49%, color-mix(in srgb, var(--porcelain) 52%, transparent) 50% 51%, transparent 52%),
    linear-gradient(0deg, color-mix(in srgb, var(--glass) 82%, transparent), color-mix(in srgb, var(--porcelain) 45%, var(--glass)));
  box-shadow: 1rem 1.3rem 0 color-mix(in srgb, var(--charcoal) 16%, transparent);
}

.sw-scene[data-stop="partners"]::before { border-radius: 42% 42% 6% 6%; background: radial-gradient(ellipse at 65% 55%, var(--walnut) 0 12%, transparent 12.5%), radial-gradient(circle at 65% 54%, var(--brass) 0 2.3%, transparent 2.5%), linear-gradient(145deg, var(--travertine), var(--cashmere)); }
.sw-scene[data-stop="automation"]::before { background: repeating-linear-gradient(90deg, transparent 0 14%, color-mix(in srgb, var(--olive) 32%, transparent) 14% 15%), linear-gradient(145deg, var(--porcelain), var(--travertine)); }
.sw-scene[data-stop="control-tower"]::before { clip-path: polygon(10% 100%, 10% 70%, 34% 70%, 34% 42%, 58% 42%, 58% 12%, 94% 12%, 94% 100%); border-radius: 0; background: linear-gradient(145deg, var(--travertine), var(--cashmere)); }
.sw-scene[data-stop="international"]::before { background: radial-gradient(circle at 67% 48%, transparent 0 13%, var(--brass) 13.3% 14.5%, transparent 14.8%), radial-gradient(circle at 67% 48%, var(--olive) 0 7%, transparent 7.3%), linear-gradient(145deg, var(--porcelain), var(--travertine)); }
.sw-scene[data-stop="departure"]::before { background: linear-gradient(0deg, color-mix(in srgb, var(--olive) 55%, var(--charcoal)) 0 15%, transparent 15%), linear-gradient(150deg, var(--white), var(--travertine)); }

.sw-scene__placeholder-label {
  position: absolute;
  z-index: 2;
  right: 8vw;
  top: 18vh;
  max-width: 24rem;
  color: color-mix(in srgb, var(--charcoal) 42%, transparent);
  font: 600 .62rem/1.5 var(--mono);
  letter-spacing: .11em;
  text-align: right;
  text-transform: uppercase;
}

.sw-copylayer::before {
  width: min(64vw, 880px) !important;
  background: linear-gradient(90deg, var(--porcelain) 5%, color-mix(in srgb, var(--porcelain) 92%, transparent) 44%, transparent 100%) !important;
}

.sw-copy {
  left: clamp(1rem, 5vw, 5rem) !important;
  top: 47% !important;
  width: min(39vw, 34rem) !important;
}

.sw-copy__num { color: var(--brass) !important; font-size: .66rem !important; font-weight: 700; }
.sw-copy__eyebrow { color: var(--olive) !important; font-family: var(--mono) !important; font-size: .67rem !important; letter-spacing: .12em !important; }
.sw-copy__title { max-width: 11ch; font-family: var(--serif) !important; font-size: clamp(2.8rem, 5vw, 5.4rem) !important; font-weight: 400 !important; line-height: .94 !important; letter-spacing: -.045em !important; }
.sw-copy__body { max-width: 40ch !important; color: color-mix(in srgb, var(--charcoal) 82%, transparent) !important; font-size: clamp(.98rem, 1.15vw, 1.12rem) !important; line-height: 1.58 !important; }
.sw-copy__tags { margin-top: 1.2rem !important; }
.sw-copy__tags li { border-radius: .15rem !important; padding: .45rem .62rem !important; background: color-mix(in srgb, var(--porcelain) 72%, transparent) !important; border-color: color-mix(in srgb, var(--olive) 28%, transparent) !important; color: var(--olive) !important; font: 600 .61rem var(--mono) !important; }

.sw-route { right: clamp(.7rem, 2vw, 2rem) !important; gap: 1.15rem !important; }
.sw-route__dot { width: 2rem !important; height: 2rem !important; }
.sw-route__dot i { width: .46rem !important; height: .46rem !important; background: color-mix(in srgb, var(--olive) 28%, transparent) !important; }
.sw-route__dot.is-active i { background: var(--olive) !important; box-shadow: 0 0 0 .32rem color-mix(in srgb, var(--olive) 18%, transparent) !important; }
.sw-route__label { border-radius: .15rem !important; background: color-mix(in srgb, var(--porcelain) 92%, transparent) !important; font: 600 .64rem var(--mono) !important; }
.sw-route__dot:focus-visible .sw-route__label { opacity: 1 !important; transform: translateY(-50%) translateX(0) !important; }
.sw-hint { bottom: 1.4rem !important; font-family: var(--mono) !important; }
.sw-hint i { border-radius: 0 !important; }

.world-overlays { position: fixed; z-index: 130; inset: 0; pointer-events: none; }
.journey-actions { position: fixed; z-index: 170; left: clamp(1rem, 5vw, 5rem); bottom: clamp(1.2rem, 3vh, 2.5rem); display: flex; gap: .65rem; }
.primary-action, .secondary-action { display: inline-flex; min-height: 2.8rem; align-items: center; justify-content: center; border-radius: .2rem; padding: .75rem 1rem; font: 700 .68rem/1 var(--mono); text-decoration: none; cursor: pointer; }
.primary-action { border: 0; background: var(--charcoal); color: var(--porcelain); }
.secondary-action { border: 1px solid var(--line); background: color-mix(in srgb, var(--porcelain) 82%, transparent); color: var(--charcoal); backdrop-filter: blur(12px); }
.privacy-note { position: absolute; z-index: 160; right: 4rem; bottom: .5rem; max-width: 44rem; color: color-mix(in srgb, var(--charcoal) 62%, transparent); font-size: .62rem; line-height: 1.4; text-align: right; pointer-events: none; }

body.route-open .primary-action { display: none; }
body[data-active-stop="departure"] .primary-action { display: none; }

body.motion-reduced .sw-scene__still { transform: none !important; }
body.motion-reduced .sw-copy { transform: none !important; }

@supports not (color: color-mix(in srgb, #000 50%, #fff)) {
  .sw-copylayer::before { background: linear-gradient(90deg, #f4f1ea 45%, transparent 100%) !important; }
}
