:root {
  color-scheme: dark;
  --ink: #06080a;
  --surface: #0b0d10;
  --surface-raised: #11151a;
  --line: #293038;
  --muted: #98a0aa;
  --white: #f7f9fb;
  --accent: #5ae4a7;
  --accent-dim: #2a7a55;
  --danger: #ff8a78;
  --radius-small: 0.4rem;
  --radius-large: 1.2rem;
  --pad: clamp(1rem, 3vw, 2.5rem);
}

* { box-sizing: border-box; }

html { background: var(--ink); scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}
.svg-sprite-host {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

button, input, select { font: inherit; }
button, select { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: .7rem 1rem;
  color: var(--ink);
  background: var(--accent);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell, .app { width: min(100%, 1560px); margin: 0 auto; }
.site-shell { border-inline: 1px solid rgba(41, 48, 56, .45); }

/* ── Masthead ─────────────────────────────────── */
.masthead {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--pad);
  border-bottom: 1px solid var(--line);
}

.primary-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.25rem; margin-inline: auto; min-width: 0; }
.primary-nav a, .site-footer a, .text-link {
  color: var(--muted);
  text-decoration-thickness: 1px;
  text-underline-offset: .28em;
}
.primary-nav a { text-decoration: none; font-size: .86rem; font-weight: 650; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a[aria-current="page"], .site-footer a:hover, .text-link:hover { color: var(--white); }
.primary-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); }

.brand {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--white);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 760;
  letter-spacing: -.03em;
}

.brand-mark {
  position: relative;
  width: 2rem;
  aspect-ratio: 1;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; background: var(--white); }
.brand-mark::before { width: 1px; height: 2.55rem; }
.brand-mark::after { width: 2.55rem; height: 1px; }
.brand-mark i { width: .34rem; aspect-ratio: 1; border-radius: 50%; background: var(--accent); }
.masthead p { margin: 0; color: var(--muted); font-size: .92rem; }
.masthead-tools { display: flex; flex-shrink: 0; align-items: center; gap: 1.1rem; }
.nav-toggle {
  display: none;
  min-height: 44px;
  align-items: center;
  gap: .65rem;
  padding: .45rem .7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: transparent;
  color: var(--white);
  font-size: .82rem;
  font-weight: 720;
}
.nav-toggle i { width: 1rem; display: grid; gap: 3px; }
.nav-toggle b { display: block; width: 100%; height: 1px; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }
.language-switch { display: flex; border: 1px solid var(--line); border-radius: var(--radius-small); overflow: hidden; }
.language-switch button, .language-switch a {
  min-width: 4.5rem;
  padding: .48rem .68rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}
.language-switch button + button, .language-switch a + a { border-left: 1px solid var(--line); }
.language-switch button[aria-pressed="true"], .language-switch a[aria-current="page"] { background: var(--white); color: var(--ink); }

/* ── Journey-first home ───────────────────────── */
.home-main { min-width: 0; }
.home-main > .app { scroll-margin-top: 1rem; }
.home-hero {
  min-height: calc(100svh - 73px);
  display: grid;
  grid-template-rows: auto minmax(16rem, 1fr);
  gap: clamp(2rem, 6vh, 5rem);
  padding: clamp(2.4rem, 7vh, 6.5rem) var(--pad) var(--pad);
  border-bottom: 1px solid var(--line);
  background: #06080a;
}
.home-hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(18rem, .7fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
}
.home-wordmark { margin: 0 0 .7rem; color: var(--white); font-size: clamp(1rem, 1.5vw, 1.25rem); font-weight: 760; letter-spacing: -.03em; }
.home-hero h1 { max-width: 11ch; margin: 0; font-size: clamp(3.2rem, 7.8vw, 8rem); line-height: .88; letter-spacing: -.075em; text-wrap: balance; }
.home-hero-intro { display: grid; gap: .45rem; margin: 0 0 .35rem; color: #c2cad2; font-size: clamp(1rem, 1.65vw, 1.35rem); line-height: 1.45; }
.home-hero-intro span { display: block; }
.home-journey-field {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 17rem;
  border: 1px solid #343c45;
  background: #080a0d;
  overflow: hidden;
}
.home-journey {
  position: relative;
  min-width: 0;
  min-height: 100%;
  display: flex;
  align-items: flex-end;
  padding: clamp(1.4rem, 3.5vw, 3.25rem);
  color: var(--white);
  text-decoration: none;
  overflow: hidden;
  transition: background-color 240ms ease, color 240ms ease;
}
.home-journey-outward { border-right: 1px solid #343c45; background: #071018; }
.home-journey-inward { background: #100b10; }
.home-journey-outward:hover, .home-journey-outward:focus-visible { background: #0a1722; }
.home-journey-inward:hover, .home-journey-inward:focus-visible { background: #180f17; }
.journey-copy { position: relative; z-index: 2; display: grid; gap: .45rem; }
.journey-copy > span { color: #c7d0d8; font-size: clamp(1rem, 1.6vw, 1.3rem); font-weight: 730; }
.journey-copy strong { font-size: clamp(1.3rem, 2.7vw, 2.6rem); line-height: 1.05; letter-spacing: -.045em; }
.journey-copy b { margin-inline: .35em; color: currentColor; font-weight: 500; }
.home-journey-outward .journey-copy strong { color: #9ac7ff; }
.home-journey-inward .journey-copy strong { color: #ff9dbb; }
.journey-visual { position: absolute; inset: 0; overflow: hidden; pointer-events: none; transition: transform 900ms cubic-bezier(.16, 1, .3, 1); }
.journey-visual img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 48%; filter: saturate(.9) brightness(.78); transform: scale(1.025); transition: filter 700ms ease, transform 1100ms cubic-bezier(.16, 1, .3, 1); }
.journey-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 5, 8, .9) 0%, rgba(3, 5, 8, .18) 76%), linear-gradient(90deg, rgba(3, 5, 8, .54) 0%, rgba(3, 5, 8, 0) 72%);
}
.home-journey:hover .journey-visual, .home-journey:focus-visible .journey-visual { transform: scale(1.018); }
.home-journey:hover .journey-visual img, .home-journey:focus-visible .journey-visual img { filter: saturate(.98) brightness(.86); transform: scale(1); }
.journey-origin {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 3.7rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid #66717c;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: .76rem;
  font-weight: 760;
  transform: translate(-50%, -50%);
}
/* A selected direction becomes the transition surface; the explorers remain singular. */
.journey-transition-running { overflow: hidden; }
.journey-flight {
  position: fixed;
  z-index: 1000;
  min-height: 0;
  margin: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: 0 0;
  will-change: transform, opacity;
  transition: transform 480ms cubic-bezier(.76, 0, .24, 1), opacity 340ms cubic-bezier(.4, 0, .2, 1), border-color 240ms ease;
}
.journey-flight.is-expanded {
  border-color: transparent;
  transform: translate3d(var(--journey-flight-x), var(--journey-flight-y), 0) scale(var(--journey-flight-scale));
}
.journey-flight .journey-copy { transition: opacity 160ms ease; }
.journey-flight.is-expanded .journey-copy { opacity: 0; }
.journey-flight.is-revealing { opacity: 0; }
.journey-flight-label {
  position: fixed;
  inset: 0;
  z-index: 1001;
  place-content: center;
  justify-items: center;
  gap: .7rem;
  padding: 2rem;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition: transform 300ms cubic-bezier(.16, 1, .3, 1) 80ms, opacity 220ms ease 80ms;
}
.journey-flight-label.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }
.journey-flight-label.is-revealing { opacity: 0; transition-delay: 0ms; }
.journey-flight-label > span { font-size: clamp(.95rem, 1.7vw, 1.2rem); }
.journey-flight-label strong { font-size: clamp(1.8rem, 5vw, 4rem); }
.journey-flight-label-outward strong { color: #9ac7ff; }
.journey-flight-label-inward strong { color: #ff9dbb; }
.journey-arrival-target .controls,
.journey-arrival-target .experience-grid {
  animation: journey-explorer-arrival 520ms cubic-bezier(.16, 1, .3, 1) both;
}
html[data-journey-arrival="inward"] .micro-intro,
html[data-journey-arrival="inward"] .micro-visualizer {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
}
html[data-journey-arrival="inward"][data-journey-arrival-ready="true"] .micro-intro,
html[data-journey-arrival="inward"][data-journey-arrival-ready="true"] .micro-visualizer {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: transform 560ms cubic-bezier(.16, 1, .3, 1), opacity 420ms ease;
}
html[data-journey-arrival="inward"][data-journey-arrival-ready="true"] .micro-visualizer { transition-delay: 60ms; }
@keyframes journey-explorer-arrival {
  from { opacity: .36; transform: translate3d(0, 14px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Optional direction-aware intros; the real explorers remain the destinations. */
body.cinematic-open { overflow: hidden; }
.outward-cinematic {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #06080a;
  color: var(--white);
  overflow: hidden;
}
.outward-cinematic::backdrop { background: rgba(0, 0, 0, .88); }
.outward-cinematic[open] { display: block; }
.cinematic-offer[hidden], .cinematic-player[hidden] { display: none; }
.cinematic-offer {
  position: relative;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .65fr);
  gap: clamp(3rem, 9vw, 10rem);
  align-items: end;
  padding: clamp(5rem, 10vh, 9rem) var(--pad) clamp(2.5rem, 8vh, 6rem);
  overflow: hidden;
}
.cinematic-offer::before,
.cinematic-offer::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(154, 199, 255, .18);
  border-radius: 50%;
  pointer-events: none;
}
.cinematic-offer::before { width: min(64vw, 60rem); aspect-ratio: 1; right: -23vw; top: -32vw; }
.cinematic-offer::after { width: min(38vw, 36rem); aspect-ratio: 1; right: -7vw; top: -18vw; }
.cinematic-offer > div { position: relative; z-index: 1; }
.cinematic-direction { margin: 0 0 1.2rem; color: #9ac7ff; font-weight: 760; }
.cinematic-offer h2 { max-width: 10ch; margin: 0; font-size: clamp(3.2rem, 7.8vw, 8.2rem); line-height: .88; letter-spacing: -.075em; text-wrap: balance; }
.cinematic-offer .cinematic-description { max-width: 40rem; margin: 0; color: #c2cad2; font-size: clamp(1rem, 1.5vw, 1.22rem); line-height: 1.65; }
.cinematic-offer-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.cinematic-offer-actions button,
.cinematic-player-header button,
.cinematic-close {
  min-height: 46px;
  border: 1px solid #53606d;
  border-radius: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-weight: 740;
  cursor: pointer;
}
.cinematic-offer-actions button { padding: .85rem 1.25rem; }
.cinematic-offer-actions [data-cinematic-start] { border-color: #9ac7ff; background: #9ac7ff; color: #071018; }
.cinematic-offer-actions button:hover,
.cinematic-offer-actions button:focus-visible,
.cinematic-player-header button:hover,
.cinematic-player-header button:focus-visible,
.cinematic-close:hover,
.cinematic-close:focus-visible { border-color: var(--white); }
.cinematic-close { position: absolute; z-index: 2; top: 1.2rem; right: var(--pad); padding: .65rem .9rem; }
.cinematic-player { position: relative; height: 100dvh; overflow: hidden; isolation: isolate; background: #020406; }
.cinematic-player::before { content: ""; position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(rgba(154, 199, 255, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(154, 199, 255, .13) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse, #000, transparent 80%); }
.cinematic-scenes,
.cinematic-scene,
.cinematic-scene-media { position: absolute; inset: 0; }
.cinematic-scene { margin: 0; opacity: 0; visibility: hidden; overflow: hidden; transition: opacity 1200ms cubic-bezier(.45, 0, .25, 1), visibility 0s linear 1200ms; }
/* A safe image region keeps the entire subject separate from header/captions. */
.cinematic-scene-media { inset: 5rem 3vw 4rem 42%; display: grid; place-items: center; transform: scale(1.08); will-change: transform; transition: transform 1200ms cubic-bezier(.45, 0, .25, 1); }
.cinematic-scene img { width: min(100%, calc(100dvh - 9rem)); height: min(100%, 55vw); min-height: 0; display: block; object-fit: contain; mix-blend-mode: screen; filter: contrast(1.18); mask-image: radial-gradient(ellipse 65% 90% at 50% 45%, #000 52%, transparent 80%); }
.cinematic-scene-earth img, .cinematic-scene-sun img { mask-image: none; filter: none; }
.cinematic-scene-earth-moon img { width: 100%; height: 100%; filter: none; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.cinematic-scene.is-active img, .cinematic-scene.is-exiting img { animation: cinematic-drift-out 3500ms linear both; }
[data-cinematic="inward"] .cinematic-scene-media { transform: scale(.86); }
[data-cinematic="inward"] .cinematic-scene.is-active img, [data-cinematic="inward"] .cinematic-scene.is-exiting img { animation-name: cinematic-drift-in; }
.cinematic-player.is-paused .cinematic-scene img { animation-play-state: paused; }
@keyframes cinematic-drift-out { from { transform: scale(1); } to { transform: scale(.86); } }
@keyframes cinematic-drift-in { from { transform: scale(.82); } to { transform: scale(1); } }
.cinematic-scene.is-preparing { visibility: visible; transition: none; }
.cinematic-scene.is-active { z-index: 2; opacity: 1; visibility: visible; transition-delay: 0s; }
.cinematic-scene.is-active .cinematic-scene-media { transform: scale(1); }
.cinematic-scene.is-exiting { z-index: 1; opacity: 0; visibility: visible; transition-delay: 0s; }
.cinematic-scene.is-exiting .cinematic-scene-media { transform: scale(.72); }
[data-cinematic="inward"] .cinematic-scene.is-exiting .cinematic-scene-media { transform: scale(1.16); }
.cinematic-scene.is-exiting img { animation-play-state: paused; }
.cinematic-scene figcaption {
  position: absolute;
  z-index: 3;
  left: var(--pad);
  bottom: clamp(4.7rem, 10vh, 7.5rem);
  max-width: min(36rem, calc(40% - var(--pad)));
}
.cinematic-scene figcaption > span { display: block; margin-bottom: .8rem; color: #a5b0ba; font-size: .85rem; }
.cinematic-scene figcaption strong { display: block; color: #9ac7ff; font-size: clamp(2.8rem, 5vw, 6rem); line-height: 1.05; letter-spacing: -.065em; overflow-wrap: anywhere; }
.cinematic-scene figcaption h3 { margin: 1rem 0 0; font-size: clamp(1.35rem, 2.5vw, 2.4rem); letter-spacing: -.035em; }
.cinematic-scene figcaption p { margin: .5rem 0 0; color: #c2cad2; font-size: clamp(.9rem, 1.3vw, 1.1rem); }
.cinematic-scene figcaption small { display: block; margin-top: .75rem; color: #a5b0ba; }
.cinematic-metre-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(7rem, 14vw, 12rem);
  height: 80%;
  border-block: 2px solid #9ac7ff;
  transform: translate(-50%, -50%);
}
.cinematic-metre-mark::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1px solid rgba(154, 199, 255, .72); }
.cinematic-metre-mark::after { content: ""; position: absolute; left: 25%; right: 25%; top: 50%; border-top: 1px solid rgba(154, 199, 255, .34); }
.cinematic-metre-mark i { position: absolute; inset: 0; border-inline: 1px solid rgba(154, 199, 255, .2); }
.cinematic-player-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem var(--pad);
  background: rgba(2, 4, 6, .72);
}
.cinematic-player-header p { margin: 0; color: #dce3e9; font-weight: 740; }
.cinematic-player-header > div { display: flex; gap: .55rem; }
.cinematic-player-header button { min-height: 42px; padding: .6rem .85rem; font-size: .9rem; }
.cinematic-progress { position: absolute; z-index: 5; left: var(--pad); right: var(--pad); bottom: 1.5rem; height: 2px; background: #293038; overflow: hidden; }
.cinematic-progress i { display: block; width: var(--cinematic-progress, 12.5%); height: 100%; background: #9ac7ff; transition: width 720ms cubic-bezier(.65, 0, .35, 1); }
.outward-cinematic.is-handing-off { opacity: 0; transition: opacity 360ms cubic-bezier(.4, 0, .2, 1); }

/* ── Controls ─────────────────────────────────── */
.controls {
  padding: clamp(1.3rem, 3.5vh, 2.5rem) var(--pad);
  display: grid;
  grid-template-columns: minmax(18rem, .8fr) minmax(30rem, 1.2fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.prompt-copy h1, .prompt-copy h2 { margin: 0; font-size: clamp(1.7rem, 3.2vw, 3.25rem); line-height: 1; letter-spacing: -.055em; }
.prompt-copy p, .comparison-heading p { margin: .75rem 0 0; color: var(--muted); }

.distance-form {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) 6.5rem auto;
  align-items: stretch;
  gap: .55rem;
}

.distance-field input, .unit-field select {
  width: 100%;
  height: 4.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface-raised);
  color: var(--white);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.distance-field input { padding: 0 1.15rem; font-size: clamp(1.35rem, 2.3vw, 2rem); font-weight: 650; font-variant-numeric: tabular-nums; }
.unit-field select { padding: 0 .9rem; font-weight: 700; }
.distance-field input:hover, .unit-field select:hover { border-color: #515c67; }
.distance-field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(90, 228, 167, 0.15); }

.submit-button, .share-button {
  border: 0;
  border-radius: var(--radius-small);
  font-weight: 750;
  transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.submit-button {
  min-height: 4.2rem;
  padding: 0 1.3rem;
  background: var(--accent);
  color: #04110b;
  position: relative;
  overflow: hidden;
}
.submit-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 200ms ease;
}
.submit-button:hover { background: #77ecb8; transform: translateY(-1px); }
.submit-button:hover::after { opacity: 1; }
.submit-button:active { transform: translateY(0); }
.form-error { grid-column: 2; margin: .7rem 0 0; color: var(--danger); }

/* ── Experience grid ──────────────────────────── */
.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(20rem, .7fr);
  height: clamp(660px, 72svh, 780px);
  min-height: 0;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.stage {
  position: relative;
  isolation: isolate;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--surface);
  border-right: 1px solid var(--line);
}

.cosmic-texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("assets/cosmic-texture.jpg") center/cover no-repeat;
  opacity: 0;
  filter: brightness(1.38) contrast(1.08);
  transform: scale(1.06);
  transition: opacity 1200ms cubic-bezier(0.16, 1, 0.3, 1), transform 8s cubic-bezier(.16, 1, .3, 1);
}
.stage.is-cosmic .cosmic-texture { opacity: .88; transform: scale(1); }

.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6,8,10,.08), rgba(6,8,10,.55) 82%, rgba(6,8,10,.92));
  pointer-events: none;
  transition: background 800ms ease;
}
.stage.is-cosmic::before { background: linear-gradient(180deg, rgba(6,8,10,.04), rgba(6,8,10,.28) 76%, rgba(6,8,10,.8)); }

.stage-readout {
  position: absolute;
  top: 1.4rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 5;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: .82rem;
  font-variant-numeric: tabular-nums;
}
.stage-readout > #stageZone { justify-self: center; }
.stage-readout > #stageOrder { min-width: 5.5rem; }
.stage-readout > #stageZone { min-width: 10rem; text-align: center; }

.stage-focus {
  position: absolute;
  top: 4.2rem;
  left: 1.5rem;
  z-index: 4;
  width: min(31rem, calc(100% - 3rem));
  min-height: 5.65rem;
  max-width: min(31rem, calc(100% - 3rem));
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 110ms linear, transform 110ms ease-out;
}
.stage-focus.is-changing { opacity: 0; transform: translate3d(0, .2rem, 0); }
.focus-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .7rem; }
.stage-focus strong { font-size: clamp(1.25rem, 2.2vw, 2rem); letter-spacing: -.04em; }
.stage-focus span { color: var(--muted); font-variant-numeric: tabular-nums; }
.stage-focus p { max-width: 48ch; margin: .28rem 0 0; color: #b8c0c8; font-size: .82rem; line-height: 1.45; }

/* ── Distance timeline ────────────────────────── */
.scale-scrubber {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: .85rem;
  z-index: 6;
  padding-top: .55rem;
  border-top: 1px solid rgba(247,249,251,.16);
  background: var(--surface);
}
.scrubber-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: .35rem;
  color: #b8c0c8;
  font-size: .78rem;
}
.scrubber-status { display: flex; align-items: center; justify-content: flex-end; gap: .75rem; min-width: 0; }
.scrubber-heading output { color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.scrubber-speed { display: inline-flex; align-items: center; gap: .35rem; color: #8f99a3; white-space: nowrap; }
.scrubber-speed select {
  min-height: 1.7rem;
  padding: .1rem 1.55rem .1rem .45rem;
  border: 1px solid #46505a;
  border-radius: var(--radius-small);
  background: #11151a;
  color: var(--white);
  font-size: .75rem;
  font-variant-numeric: tabular-nums;
}
.scrubber-controls { display: grid; grid-template-columns: 2.65rem minmax(0, 1fr) 2.65rem; gap: .7rem; align-items: start; }
.scrubber-play {
  width: 2.65rem;
  height: 2.65rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #4a545f;
  border-radius: var(--radius-small);
  background: #11151a;
  color: var(--white);
}
.scrubber-play svg { width: 1rem; height: 1rem; fill: currentColor; }
.scrubber-play:hover:not(:disabled) { border-color: #8d98a3; }
.scrubber-play[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: var(--ink); }
.scrubber-play:disabled { cursor: not-allowed; opacity: .32; }
.scrubber-range { min-width: 0; display: grid; }
.scrubber-range input {
  --scrubber-progress: 0%;
  width: 100%;
  height: 1.25rem;
  margin: .05rem 0 0;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  cursor: ew-resize;
}
.scrubber-range input:disabled { cursor: wait; }
.scrubber-range input::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent) 0 var(--scrubber-progress), #3a424b var(--scrubber-progress) 100%);
}
.scrubber-range input::-webkit-slider-thumb {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: -.46rem;
  appearance: none;
  -webkit-appearance: none;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 1px #7d8994;
}
.scrubber-range input::-moz-range-track { height: 4px; border: 0; border-radius: 2px; background: #3a424b; }
.scrubber-range input::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--accent); }
.scrubber-range input::-moz-range-thumb { width: .85rem; height: .85rem; border: 3px solid var(--surface); border-radius: 50%; background: var(--white); box-shadow: 0 0 0 1px #7d8994; }
.scrubber-limits { display: flex; justify-content: space-between; margin-top: -.05rem; color: #7f8994; font-size: .66rem; font-variant-numeric: tabular-nums; }

/* ── Scale world ──────────────────────────────── */
.scale-world {
  --axis-origin: 1.5rem;
  position: absolute;
  inset: 7.2rem 0 7.7rem;
  z-index: 2;
  overflow: hidden;
}
/* Vertical axis baseline */
.scale-world::before {
  content: "";
  position: absolute;
  left: var(--axis-origin);
  bottom: .65rem;
  z-index: 3;
  width: 1px;
  height: 1.75rem;
  background: rgba(247,249,251,.7);
}
/* Horizontal ground line */
.scale-world::after {
  content: "";
  position: absolute;
  left: var(--axis-origin);
  right: 0;
  bottom: 2.4rem;
  z-index: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(247,249,251,.35), rgba(247,249,251,.08) 80%, transparent);
}

/* ── X-axis ticks ─────────────────────────────── */
.x-axis-ticks {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.4rem;
  z-index: 1;
  height: 2rem;
  pointer-events: none;
}

.x-tick {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  will-change: transform, opacity;
}

.x-tick-line {
  width: 1px;
  background: rgba(247,249,251,0.3);
  display: block;
}

.x-tick.minor .x-tick-line {
  background: rgba(247,249,251,0.15);
}

.x-tick-label {
  margin-top: 3px;
  font-size: 0.6rem;
  color: rgba(247,249,251,0.4);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* ── Y-axis ───────────────────────────────────── */
.scale-y-axis {
  position: absolute;
  top: 12.25rem;
  left: 1.5rem;
  bottom: 10.1rem;
  z-index: 3;
  width: 4.6rem;
  height: auto;
  border-left: 1px solid rgba(247,249,251,.46);
  pointer-events: none;
  /* The physical gauge stays fixed; JavaScript animates only its numeric range. */
  transition: none;
}
.axis-label {
  position: absolute;
  left: .6rem;
  padding: .12rem .32rem;
  color: #aeb6bf;
  background: rgba(17,21,26,.88);
  font-size: .68rem;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transform: translateY(-50%);
  border-radius: 2px;
}
.axis-label::before {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(100% + .28rem);
  width: .48rem;
  height: 1px;
  background: rgba(247,249,251,.46);
}
.axis-top { top: 0; color: var(--accent); font-weight: 600; }
.axis-middle { top: 50%; }
.axis-zero { top: 100%; color: var(--muted); }

/* ── Scale objects ────────────────────────────── */
.scale-object {
  position: absolute;
  left: 0;
  bottom: 2.4rem;
  z-index: 1;
  width: 196px;
  height: 196px;
  color: #737c85;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 0, 0) scale(.28);
  transform-origin: center bottom;
  will-change: transform, opacity;
  /* Do not clip the circular focus glow into the object's square paint box. */
  contain: layout style;
  transition: color 420ms ease;
}

/* Glow effect behind focus object */
.object-glow {
  position: absolute;
  inset: -30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 228, 167, 0.12) 0%, transparent 70%);
  opacity: var(--glow-opacity, 0);
  transform: scale(var(--glow-scale, .88));
  pointer-events: none;
  will-change: transform, opacity;
  z-index: -1;
}

.scale-object::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1px;
  height: 1rem;
  background: currentColor;
  opacity: var(--marker-opacity, 0);
  transform: translateX(-.5px);
}

.scale-object svg {
  display: block;
  width: 100%;
  height: 100%;
  opacity: .32;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.24));
  transition: opacity 180ms linear;
}

.scale-object.is-focus {
  z-index: 100;
  color: var(--white);
}
.scale-object.is-focus svg { opacity: 1; }
.scale-object.is-prev {
  color: #a2adb8;
}
.scale-object.is-prev svg { opacity: .48; }
.scale-object .reference-art { filter: grayscale(.38) brightness(.86); }
.reference-art image { image-rendering: auto; }
/* Blend at the SVG boundary so its filters cannot reintroduce photo rectangles. */
.scale-object .reference-art, #resultArtwork .reference-art { mix-blend-mode: screen; }
#resultArtwork { width: 6.5rem; height: 6.5rem; }
#resultArtwork svg { width: 100%; height: 100%; }
.media-credits { margin-top: 1rem; max-width: 90ch; font-size: .8rem; line-height: 1.7; }
.media-credits summary { cursor: pointer; padding: .5rem 0; }
.media-credits p { margin: .5rem 0; }
.media-credits ul { max-height: 20rem; overflow: auto; padding-left: 1.2rem; }
.media-credits a { color: inherit; text-underline-offset: .2em; }

/* ── Target marker ────────────────────────────── */
.target-marker {
  display: inline-flex;
  align-items: baseline;
  justify-self: end;
  min-width: 8.8rem;
  justify-content: flex-end;
  gap: .38rem;
  padding-left: .55rem;
  border-left: 2px solid var(--accent);
}
.target-marker span, .target-marker strong { white-space: nowrap; }
.target-marker span { color: var(--muted); font-size: .7rem; }
.target-marker strong { color: var(--accent); font-size: .82rem; font-variant-numeric: tabular-nums; }

/* ── Result panel ─────────────────────────────── */
.result {
  min-width: 0;
  padding: clamp(1.6rem, 4vw, 3.25rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  background: #080a0c;
}
.result-input-label {
  margin: 0 0 .45rem;
  color: #8e99a4;
  font-size: .72rem;
  font-weight: 720;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.result-value {
  display: block;
  max-width: 100%;
  margin: 0 0 1.1rem;
  color: var(--accent);
  font-size: clamp(2.8rem, 6vw, 6.2rem);
  font-weight: 760;
  line-height: .9;
  letter-spacing: -.07em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.result-secondary {
  margin: -.55rem 0 1.1rem;
  color: #aeb7c0;
  font-size: clamp(.8rem, 1.4vw, 1rem);
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.result-secondary[hidden] { display: none; }
.result-reference {
  position: relative;
  width: min(100%, 15rem);
  min-height: 8.2rem;
  margin: -.15rem 0 1.25rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #252c33;
  background:
    linear-gradient(180deg, rgba(31, 37, 44, .54), rgba(10, 12, 15, .9)),
    radial-gradient(circle at 50% 68%, rgba(150, 166, 181, .16), transparent 58%);
}
.result-reference::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 1.55rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, #66727e 18%, #66727e 82%, transparent);
}
.result-reference svg {
  width: 88%;
  height: 6.5rem;
  overflow: visible;
  filter: grayscale(.25) contrast(1.08) drop-shadow(0 8px 13px rgba(0, 0, 0, .42));
}
.result-reference span {
  position: absolute;
  left: .65rem;
  bottom: .45rem;
  z-index: 1;
  color: #8e99a4;
  font-size: .68rem;
  letter-spacing: .08em;
}

.result h2 { max-width: 17ch; margin: 0; font-size: clamp(1.5rem, 2.5vw, 2.3rem); line-height: 1.18; letter-spacing: -.045em; }
.result-detail { max-width: 36ch; color: var(--muted); margin: 1.2rem 0 1.8rem; }
.result-reference-value { max-width: 36ch; margin: -1rem 0 1.35rem; color: #c8d0d7; font-size: .88rem; line-height: 1.45; font-variant-numeric: tabular-nums; }
.result-reference-value[hidden], .ratio-readout[hidden] { display: none; }
.ratio-readout { display: flex; align-items: baseline; gap: .7rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.ratio-readout span:first-child { font-size: 1.9rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.ratio-readout span:last-child { color: var(--muted); }
.share-button { align-self: flex-start; margin-top: 2.2rem; padding: .8rem 1rem; background: transparent; color: var(--white); border: 1px solid #4a545f; text-decoration: none; }
.share-button:hover { border-color: var(--white); }

/* Long scene copy is measured in app.js. These two density steps keep the
   complete result—including the share action—inside the fixed desktop frame. */
.result.is-compact { padding: 1.75rem 2rem; }
.result.is-compact .result-value {
  margin-bottom: .8rem;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
}
.result.is-compact .result-secondary { margin: -.3rem 0 .75rem; }
.result.is-compact .result-reference {
  min-height: 6.8rem;
  margin: 0 0 1rem;
}
.result.is-compact .result-reference svg { height: 5.4rem; }
.result.is-compact .result-reference::after { bottom: 1.4rem; }
.result.is-compact h2 { font-size: clamp(1.4rem, 2.1vw, 1.95rem); line-height: 1.14; }
.result.is-compact .result-detail { margin: .8rem 0 1.1rem; line-height: 1.45; }
.result.is-compact .ratio-readout { padding-top: .75rem; }
.result.is-compact .ratio-readout span:first-child { font-size: 1.55rem; }
.result.is-compact .share-button { margin-top: 1.2rem; padding: .65rem .85rem; }

.result.is-tight { padding: 1.25rem 1.5rem; }
.result.is-tight .result-value {
  margin-bottom: .6rem;
  font-size: clamp(2.35rem, 4.5vw, 4.1rem);
}
.result.is-tight .result-secondary { margin: -.15rem 0 .55rem; font-size: .8rem; }
.result.is-tight .result-reference {
  width: min(100%, 13rem);
  min-height: 5.8rem;
  margin-bottom: .65rem;
}
.result.is-tight .result-reference svg { height: 4.6rem; }
.result.is-tight .result-reference::after { bottom: 1.25rem; }
.result.is-tight .result-reference span { bottom: .3rem; font-size: .62rem; }
.result.is-tight h2 { font-size: clamp(1.25rem, 1.9vw, 1.7rem); line-height: 1.12; }
.result.is-tight .result-detail { margin: .6rem 0 .8rem; font-size: .9rem; line-height: 1.4; }
.result.is-tight .ratio-readout { padding-top: .55rem; }
.result.is-tight .ratio-readout span:first-child { font-size: 1.35rem; }
.result.is-tight .ratio-readout span:last-child { font-size: .9rem; }
.result.is-tight .share-button { margin-top: .75rem; padding: .55rem .75rem; font-size: .9rem; }

/* ── Comparison section ───────────────────────── */
.comparison { padding: clamp(2rem, 5vw, 4.2rem) var(--pad); display: grid; grid-template-columns: minmax(15rem, .52fr) minmax(20rem, 1.48fr); gap: 3rem; }
.comparison[hidden] { display: none; }
.comparison-heading h2 { margin: 0; font-size: 1.15rem; letter-spacing: -.025em; }
.comparison-heading p { font-size: .9rem; }
.comparison-bars { display: grid; gap: 1.1rem; }
.comparison-row { display: grid; grid-template-columns: minmax(8rem, 13rem) 1fr auto; gap: 1rem; align-items: center; }
.comparison-name { min-width: 0; }
.comparison-name strong, .comparison-name span { display: block; }
.comparison-name strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.comparison-name span { color: var(--muted); font-size: .78rem; }
.bar-track { height: .72rem; background: #1b2026; overflow: hidden; border-radius: 4px; }
.bar-fill {
  height: 100%;
  width: var(--w);
  background: linear-gradient(90deg, #4a545f, #858f99);
  transform-origin: left;
  border-radius: 4px;
  transition: width 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.comparison-row.is-input .bar-fill { background: linear-gradient(90deg, var(--accent-dim), var(--accent)); }
.comparison-row.is-input .comparison-name strong { color: var(--accent); }
.comparison-number { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ── Travel time comparison ───────────────────── */
.travel-times {
  padding: clamp(2.5rem, 6vw, 5.5rem) var(--pad);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(15rem, .52fr) minmax(20rem, 1.48fr);
  column-gap: 3rem;
  row-gap: 1.1rem;
  background: #090b0e;
}
.travel-heading h2 { max-width: 19ch; margin: 0; font-size: clamp(1.55rem, 2.5vw, 2.35rem); line-height: 1.12; letter-spacing: -.045em; }
.travel-heading p { max-width: 34ch; margin: .85rem 0 0; color: var(--muted); }
.travel-list { display: grid; border-top: 1px solid var(--line); }
.travel-row {
  --speed-width: 50%;
  display: grid;
  grid-template-columns: 4.2rem minmax(7rem, .7fr) minmax(9rem, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 6.7rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--line);
}
.travel-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  color: #c3cbd3;
}
.travel-icon svg { width: 100%; height: 100%; }
.travel-mode strong, .travel-mode span { display: block; }
.travel-mode strong { font-size: 1rem; }
.travel-mode span { color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
.speed-rail { height: .34rem; background: #20262c; overflow: hidden; }
.speed-rail i { display: block; width: var(--speed-width); height: 100%; background: #7e8993; transform-origin: left; }
.travel-row:last-child .speed-rail i { background: var(--accent); }
.travel-duration { min-width: 8.5rem; text-align: right; font-size: clamp(1.05rem, 1.6vw, 1.45rem); font-weight: 760; font-variant-numeric: tabular-nums; white-space: nowrap; }
.travel-note { grid-column: 2; max-width: 65ch; margin: .2rem 0 0; color: #737d87; font-size: .78rem; }

/* ── Editorial and crawlable content ──────────── */
.art-disclosure { padding: 1.2rem var(--pad) 2rem; color: var(--muted); font-size: .82rem; border-bottom: 1px solid var(--line); }
.art-disclosure > p { max-width: 75ch; margin: 0; }

.home-editorial, .distance-article, .content-page {
  content-visibility: auto;
  contain-intrinsic-size: 1px 1000px;
}
.home-editorial { border-bottom: 1px solid var(--line); }
.home-directions {
  padding: clamp(4rem, 9vw, 8rem) var(--pad);
  border-bottom: 1px solid var(--line);
  background: #07090b;
}
.home-directions > header {
  display: grid;
  grid-template-columns: minmax(18rem, .8fr) minmax(20rem, 1.2fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
}
.home-directions h2, .home-why h2 { margin: 0; font-size: clamp(2.25rem, 5.4vw, 5.8rem); line-height: .98; letter-spacing: -.06em; text-wrap: balance; }
.home-directions > header p { max-width: 58ch; margin: 0; color: #b7c0c8; font-size: clamp(1rem, 1.55vw, 1.25rem); line-height: 1.7; }
.direction-scale { display: grid; grid-template-columns: minmax(0, 1fr) 5.4rem minmax(0, 1fr); gap: 1rem; margin-top: clamp(3rem, 7vw, 6rem); align-items: center; }
.direction-scale article { min-width: 0; }
.direction-scale h3 { margin: 0 0 1rem; color: var(--muted); font-size: .86rem; font-weight: 720; }
.direction-outward h3 { text-align: right; }
.direction-scale ol { list-style: none; display: flex; align-items: center; gap: 0; margin: 0; padding: 0; overflow: hidden; }
.direction-outward ol { flex-direction: row-reverse; }
.direction-scale li { flex: 1 1 0; min-width: 0; padding: .8rem .35rem; border-block: 1px solid var(--line); color: #aeb7c0; font-size: clamp(.68rem, .9vw, .82rem); text-align: center; white-space: nowrap; }
.direction-scale li + li { border-right: 1px solid var(--line); }
.direction-inward li + li { border-right: 0; border-left: 1px solid var(--line); }
.direction-outward li:first-child { color: #9ac7ff; border-color: rgba(124, 183, 255, .55); }
.direction-inward li:last-child { color: #ff9dbb; border-color: rgba(255, 138, 172, .55); }
.direction-origin { width: 5.4rem; aspect-ratio: 1; display: grid; place-items: center; align-content: center; gap: .1rem; border: 1px solid var(--accent-dim); border-radius: 50%; background: var(--ink); }
.direction-origin strong { font-size: 1.05rem; }
.direction-origin span { color: var(--muted); font-size: .65rem; }
.home-featured {
  padding: clamp(4rem, 9vw, 8rem) var(--pad);
  border-bottom: 1px solid var(--line);
  background: #050708;
}
.home-featured-heading {
  display: grid;
  grid-template-columns: minmax(18rem, .8fr) minmax(20rem, 1.2fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
}
.home-featured-heading h2 { margin: 0; font-size: clamp(2.25rem, 5.4vw, 5.8rem); line-height: .98; letter-spacing: -.06em; }
.home-featured-heading p { max-width: 54ch; margin: 0; color: #b7c0c8; font-size: clamp(1rem, 1.55vw, 1.25rem); line-height: 1.7; }
.featured-tracks {
  display: grid;
  grid-template-columns: minmax(17rem, .72fr) minmax(24rem, 1.28fr);
  margin-top: clamp(3rem, 6vw, 5rem);
  border-block: 1px solid var(--line);
}
.featured-track { min-width: 0; display: flex; flex-direction: column; padding: clamp(1.6rem, 3vw, 2.6rem); }
.featured-track-outward { padding-left: 0; padding-right: clamp(1.6rem, 4vw, 4rem); border-right: 1px solid var(--line); }
.featured-track-inward { padding-right: 0; padding-left: clamp(1.6rem, 4vw, 4rem); }
.featured-track header { min-height: 4.4rem; }
.featured-track h3 { margin: 0; font-size: clamp(1.4rem, 2.5vw, 2.3rem); letter-spacing: -.04em; }
.featured-track-outward h3 { color: #9ac7ff; }
.featured-track-inward h3 { color: #ff9dbb; }
.featured-track header p { margin: .35rem 0 0; color: var(--muted); }
.featured-track ol { list-style: none; margin: 1.5rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.featured-track li { margin: 0; }
.featured-track a { color: var(--white); }
.featured-track li a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .35rem 1.2rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}
.featured-track-outward li a { padding-block: 1.75rem; }
.featured-track li a:hover, .featured-track li a:focus-visible { background: rgba(255, 255, 255, .035); }
.featured-scale-name { min-width: 0; font-size: clamp(1.05rem, 1.7vw, 1.35rem); font-weight: 740; }
.featured-track li strong { font-size: clamp(1rem, 1.5vw, 1.2rem); font-variant-numeric: tabular-nums; white-space: nowrap; }
.featured-track-outward li strong { color: #9ac7ff; }
.featured-track-inward li strong { color: #ff9dbb; }
.featured-scale-context { grid-column: 1 / -1; color: #89949e; font-size: .82rem; line-height: 1.5; }
.featured-track-more { display: inline-block; width: fit-content; margin-top: auto; padding-top: 1.5rem; color: #c2cad2; font-size: .88rem; font-weight: 720; text-underline-offset: .25em; }
.home-why {
  display: grid;
  grid-template-columns: minmax(18rem, .9fr) minmax(20rem, 1.1fr);
  gap: clamp(2.5rem, 8vw, 9rem);
  padding: clamp(4rem, 9vw, 8rem) var(--pad);
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.home-why h2 { font-size: clamp(2rem, 4.5vw, 4.8rem); }
.home-why dl { margin: 0; border-top: 1px solid var(--line); }
.home-why dl div { display: grid; grid-template-columns: minmax(7rem, .35fr) minmax(0, 1fr); gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.home-why dt { color: var(--white); font-weight: 750; }
.home-why dd { margin: 0; color: #aeb7c0; }
.editorial-lead {
  display: grid;
  grid-template-columns: minmax(18rem, .72fr) minmax(20rem, 1.28fr);
  gap: clamp(2rem, 7vw, 8rem);
  padding: clamp(4rem, 9vw, 8rem) var(--pad);
  align-items: start;
}
.editorial-lead h2, .article-lead h2, .content-header h1 { margin: 0; font-size: clamp(2rem, 4.7vw, 5.4rem); line-height: .98; letter-spacing: -.06em; }
.editorial-lead p, .article-lead .direct-answer { margin: 0; max-width: 50ch; font-size: clamp(1.12rem, 1.8vw, 1.48rem); line-height: 1.6; color: #c2cad2; }
.fact-strip { margin: 0; padding: 1.6rem var(--pad); display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); background: #090b0e; }
.fact-strip div { padding-inline: 1.25rem; border-left: 1px solid var(--line); }
.fact-strip div:first-child { padding-left: 0; border-left: 0; }
.fact-strip dt { color: var(--muted); font-size: .8rem; }
.fact-strip dd { margin: .2rem 0 0; font-size: clamp(1.05rem, 2vw, 1.45rem); font-weight: 720; }
.method-preview, .converter-preview { padding: clamp(3rem, 7vw, 6rem) var(--pad); max-width: 70rem; }
.method-preview h2, .converter-preview h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 3rem); line-height: 1.05; letter-spacing: -.045em; }
.method-preview p, .converter-preview p { max-width: 64ch; color: var(--muted); font-size: 1.05rem; }
.text-link { display: inline-block; margin-top: .6rem; color: var(--white); font-weight: 720; }

.distance-article { border-bottom: 1px solid var(--line); }
.article-lead { display: grid; grid-template-columns: minmax(18rem, .8fr) minmax(20rem, 1.2fr); gap: clamp(2rem, 7vw, 7rem); align-items: end; padding: clamp(4rem, 8vw, 7rem) var(--pad) 3rem; }
.article-kicker { grid-column: 1 / -1; margin: 0 0 .65rem; color: var(--accent); font-size: .82rem; font-weight: 760; line-height: 1.35; }
.article-lead h2 { font-size: clamp(2rem, 4vw, 4.4rem); }
.fact-band { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.fact-band div { min-width: 0; padding: 1.4rem var(--pad); border-left: 1px solid var(--line); }
.fact-band div:first-child { border-left: 0; }
.fact-band span, .fact-band strong { display: block; }
.fact-band span { color: var(--muted); font-size: .8rem; }
.fact-band strong { margin-top: .1rem; overflow-wrap: anywhere; font-size: clamp(1.3rem, 2.8vw, 2.9rem); font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.article-split { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(2rem, 7vw, 7rem); padding: clamp(3rem, 7vw, 6rem) var(--pad); }
.article-split h2, .travel-table h2, .related-links h2, .prose-section h2, .distance-group h2 { margin: 0 0 1.2rem; font-size: clamp(1.35rem, 2.2vw, 2.1rem); letter-spacing: -.035em; }
.article-split aside { padding-left: 1.5rem; border-left: 1px solid var(--accent-dim); color: var(--muted); }
.article-split aside p { max-width: 46ch; }
.reference-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.reference-list li { display: grid; grid-template-columns: minmax(10rem, .65fr) 1fr; column-gap: 1.5rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.reference-list span { color: var(--accent); font-variant-numeric: tabular-nums; }
.reference-list p { grid-column: 2; margin: .3rem 0 0; color: var(--muted); }
.travel-table { padding: clamp(3rem, 7vw, 6rem) var(--pad); background: #090b0e; border-block: 1px solid var(--line); }
.table-wrap { min-width: 0; max-width: 100%; overflow-x: auto; }
.travel-table table { width: 100%; min-width: 36rem; border-collapse: collapse; text-align: left; }
.travel-table th, .travel-table td { padding: 1rem .5rem; border-bottom: 1px solid var(--line); }
.travel-table thead th { color: var(--muted); font-size: .8rem; }
.travel-table td { font-variant-numeric: tabular-nums; }
.table-cell-label { display: none; }
.table-note { color: var(--muted); font-size: .82rem; }
.related-links { padding: clamp(3rem, 7vw, 6rem) var(--pad); }
.related-links a { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); color: var(--white); text-decoration: none; }
.related-links strong { color: var(--muted); font-variant-numeric: tabular-nums; }

/* ── Discovery, sharing and editorial media ───── */
.scale-of-day {
  --daily-accent: var(--accent);
  position: relative;
  padding: clamp(3rem, 7vw, 6rem) var(--pad);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(90, 228, 167, .045) 1px, transparent 1px) 0 0 / 4.25rem 100%,
    #070a0c;
}
.scale-of-day[data-scale-direction="outward"] { --daily-accent: #9ac7ff; }
.scale-of-day[data-scale-direction="inward"] { --daily-accent: #ff9dbb; }
.scale-of-day-heading { display: grid; grid-template-columns: 1fr auto; gap: .35rem 2rem; align-items: end; }
.scale-of-day-heading h2 { margin: 0; font-size: clamp(2rem, 4.2vw, 4.8rem); line-height: 1; letter-spacing: -.055em; }
.scale-of-day-heading time { color: var(--muted); font-variant-numeric: tabular-nums; }
.scale-of-day-body { display: grid; grid-template-columns: minmax(13rem, .72fr) minmax(18rem, 1.28fr); gap: clamp(2rem, 7vw, 7rem); padding: clamp(2rem, 5vw, 4rem) 0; border-bottom: 1px solid var(--line); color: var(--white); text-decoration: none; align-items: start; }
.scale-of-day-value { margin: 0; color: var(--daily-accent); font-size: clamp(2.7rem, 7vw, 7rem); font-weight: 780; line-height: .9; letter-spacing: -.065em; font-variant-numeric: tabular-nums; }
.scale-of-day-body h3 { margin: 0; font-size: clamp(1.45rem, 3vw, 2.7rem); letter-spacing: -.04em; }
.scale-of-day-body div > p { max-width: 60ch; color: #b5bec7; line-height: 1.75; }
.scale-of-day-action { color: var(--daily-accent); font-weight: 740; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .28em; transition: text-decoration-color 180ms ease; }
.scale-of-day-body:hover .scale-of-day-action, .scale-of-day-body:focus-visible .scale-of-day-action { text-decoration-color: currentColor; }
.scale-of-day-note { margin: 1rem 0 0; color: #747f89; font-size: .78rem; }

.scale-share { display: grid; grid-template-columns: minmax(15rem, 1fr) auto; gap: 1.4rem 2rem; align-items: center; padding: clamp(2rem, 5vw, 3.5rem) var(--pad); border-block: 1px solid var(--line); background: #090b0e; }
.scale-share + .travel-table, .scale-share + .site-footer { border-top: 0; }
.scale-share h2, .scale-share-title { margin: 0; font-size: clamp(1.4rem, 2.5vw, 2.3rem); font-weight: 750; letter-spacing: -.035em; }
.scale-share-copy > p:not(.scale-share-title) { max-width: 52ch; margin: .35rem 0 0; color: var(--muted); font-size: .88rem; }
.scale-share-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
.scale-share-actions button, .scale-share-actions a { min-height: 2.85rem; display: inline-flex; align-items: center; justify-content: center; padding: .65rem .9rem; border: 1px solid #4a545f; border-radius: var(--radius-small); background: transparent; color: var(--white); font-weight: 700; text-decoration: none; }
.scale-share-actions button:hover, .scale-share-actions a:hover { border-color: var(--accent); color: var(--accent); }
.scale-share-actions [data-share-native] { border-color: var(--accent-dim); }
.scale-share-status { grid-column: 1 / -1; min-height: 1.3rem; margin: -1rem 0 0; color: var(--accent); font-size: .8rem; }
.scale-share-compact { grid-template-columns: 1fr auto; padding: 1.4rem 0; border-top: 0; border-bottom-color: var(--line); background: transparent; }
.scale-share-compact .scale-share-copy > p:not(.scale-share-title) { display: none; }
.scale-share { scroll-margin-top: 1rem; }
.scale-share:target { outline: 2px solid var(--accent-dim); outline-offset: -2px; }
.scale-share-fallback { grid-column: 1 / -1; min-width: 0; }
.scale-share-fallback label { display: grid; gap: .4rem; font-size: .85rem; }
.scale-share-fallback input { width: 100%; min-width: 0; padding: .7rem; color: var(--white); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-small); }
.scale-share [hidden] { display: none; }

.content-figure { margin: 0; min-width: 0; }
.content-figure img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border: 1px solid #303840; background: #07090b; }
.content-figure figcaption { padding-top: .65rem; color: #7f8993; font-size: .78rem; line-height: 1.5; }
.earth-moon-detail, .distance-visual-explainer, .micro-topic-grid, .micro-topic-media, .micro-topic-source {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) minmax(20rem, 1fr);
  gap: clamp(2rem, 7vw, 7rem);
  padding: clamp(3rem, 7vw, 6rem) var(--pad);
  align-items: start;
}
.earth-moon-detail { border-bottom: 1px solid var(--line); }
.earth-moon-detail h2, .distance-visual-explainer h2, .micro-topic-grid h2, .micro-topic-media h2, .micro-topic-source h2, .source-list h2 { margin: 0 0 1rem; font-size: clamp(1.45rem, 2.8vw, 2.8rem); line-height: 1.05; letter-spacing: -.045em; }
.earth-moon-detail p, .distance-visual-explainer p, .micro-topic-grid p, .micro-topic-media p, .micro-topic-source p { color: #b7c0c8; line-height: 1.75; }
.earth-moon-detail aside, .micro-topic-grid aside { padding-left: 1.5rem; border-left: 1px solid var(--accent-dim); }
.orbit-range { margin: 2rem 0 0; border-top: 1px solid var(--line); }
.orbit-range div { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.orbit-range dt { color: var(--muted); }
.orbit-range dd { margin: 0; color: var(--accent); font-weight: 760; font-variant-numeric: tabular-nums; }
.distance-visual-explainer, .micro-topic-media { background: #07090b; border-bottom: 1px solid var(--line); align-items: center; }
.distance-visual-explainer > div { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; }
.distance-visual-explainer .article-kicker { margin: 0 0 1rem; line-height: 1.4; }
.source-list { padding: clamp(3rem, 7vw, 6rem) var(--pad); border-top: 1px solid var(--line); }
.source-list ul { margin: 0; padding-left: 1.2rem; color: #b7c0c8; }
.source-list li { margin-block: .65rem; }
.source-list a, .reference-list a { color: var(--white); text-underline-offset: .24em; }

.micro-answer { padding: clamp(2.5rem, 6vw, 5rem) var(--pad); border-bottom: 1px solid var(--line); }
.micro-answer > p:last-child { max-width: 54ch; margin: 1rem 0 0; color: #c2cad2; font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.65; }
.micro-fact-band strong { font-size: clamp(1.1rem, 2.5vw, 2.45rem); }
.micro-topic-grid { border-bottom: 1px solid var(--line); }
.micro-topic-grid aside dl { margin: 1.5rem 0 0; border-top: 1px solid var(--line); }
.micro-topic-grid aside dl div { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.micro-topic-grid dt { color: var(--muted); }
.micro-topic-grid dd { margin: 0; text-align: right; color: var(--accent); }
.micro-topic-source { border-bottom: 1px solid var(--line); align-items: center; }
.micro-topic-source a { color: var(--white); }
.micro-topic-cta { display: grid; gap: .4rem; padding: 1.2rem; border: 1px solid var(--accent-dim); color: var(--white); text-decoration: none; }
.micro-topic-cta span { color: var(--muted); font-size: .82rem; }
.micro-topic-cta strong { color: var(--accent); font-size: 1.35rem; }
.micro-topic-cta:hover { border-color: var(--accent); }

.content-page { min-height: 68vh; border-bottom: 1px solid var(--line); }
.content-header { display: grid; grid-template-columns: minmax(18rem, .8fr) minmax(20rem, 1.2fr); gap: clamp(2rem, 7vw, 7rem); padding: clamp(4rem, 9vw, 8rem) var(--pad) clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line); align-items: end; }
.content-header h1 { font-size: clamp(2.5rem, 6vw, 6rem); }
.content-header p { max-width: 48ch; margin: 0; color: #c2cad2; font-size: clamp(1.05rem, 1.7vw, 1.35rem); }
.prose-section { width: min(100% - 2 * var(--pad), 52rem); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) 0; }
.prose-section h2:not(:first-child) { margin-top: 3rem; }
.prose-section p { max-width: 70ch; color: #bcc4cc; font-size: 1.04rem; line-height: 1.8; }
.prose-section a { color: var(--white); }
.prose-section li { margin-block: .45rem; color: #bcc4cc; line-height: 1.7; }
.contact-intro { font-size: clamp(1.08rem, 1.6vw, 1.25rem) !important; color: var(--white) !important; }
.contact-address { margin: 1.75rem 0 3rem; }
.contact-address a { display: inline-block; color: var(--accent); font-size: clamp(1.2rem, 2.2vw, 1.8rem); font-weight: 750; letter-spacing: -.02em; text-underline-offset: .25em; overflow-wrap: anywhere; }
.distance-group { padding: clamp(2.5rem, 6vw, 5rem) var(--pad); border-bottom: 1px solid var(--line); }
.distance-group ol { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.distance-group a { display: grid; grid-template-columns: 1fr auto; gap: 2rem; padding: 1.2rem 0; color: var(--white); text-decoration: none; border-bottom: 1px solid var(--line); align-items: center; }
.distance-group span { display: grid; gap: .35rem; }
.distance-group small { max-width: 72ch; color: var(--muted); font-size: .88rem; }
.distance-group b { color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }

.converter-tool { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding: clamp(3rem, 7vw, 6rem) var(--pad); border-bottom: 1px solid var(--line); }
.converter-tool form { display: grid; grid-template-columns: 1fr auto auto; gap: .6rem; align-items: end; }
.converter-tool label { display: grid; gap: .45rem; color: var(--muted); font-size: .85rem; }
.converter-tool input { width: 100%; min-height: 4rem; padding: 0 1rem; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--surface-raised); color: var(--white); font-size: 1.4rem; }
.converter-unit { min-width: 4rem; min-height: 4rem; display: grid; place-items: center; border: 1px solid var(--line); color: var(--muted); }
.converter-tool button { min-height: 4rem; padding: 0 1.2rem; border: 0; border-radius: var(--radius-small); background: var(--accent); color: var(--ink); font-weight: 760; }
.converter-result { padding: 1rem 0 1rem 2rem; border-left: 1px solid var(--line); }
.converter-result span, .converter-result strong { display: block; }
.converter-result span { color: var(--muted); font-size: .82rem; }
.converter-result strong { margin-top: .3rem; font-size: clamp(2rem, 4vw, 4rem); line-height: 1; letter-spacing: -.05em; overflow-wrap: anywhere; }
.converter-result p { margin: .7rem 0 0; color: var(--accent); font-variant-numeric: tabular-nums; }

.site-footer { display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem; padding: 2rem var(--pad) 3rem; color: var(--muted); font-size: .82rem; }
.footer-brand { display: grid; gap: .4rem; margin: 0; }
.footer-brand strong { color: var(--white); font-size: 1rem; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .7rem 1.2rem; }
.ad-slot { min-height: 8rem; margin: 1rem var(--pad); display: grid; place-items: center; border: 1px dashed #4c555e; color: var(--muted); }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 1200px) {
  .masthead-tools > p { display: none; }
}
@media (max-width: 880px) {
  .controls, .comparison, .travel-times { grid-template-columns: 1fr; gap: 1.35rem; }
  .experience-grid { grid-template-columns: 1fr; height: auto; }
  .stage { height: auto; border-right: 0; border-bottom: 1px solid var(--line); min-height: max(590px, 62svh); }
  .result { min-height: 390px; overflow: visible; }
  .result.is-compact, .result.is-tight { padding: clamp(1.6rem, 4vw, 3.25rem); }
  .result.is-compact .result-value, .result.is-tight .result-value { margin-bottom: 1.1rem; font-size: clamp(2.8rem, 6vw, 6.2rem); }
  .result.is-compact .result-secondary, .result.is-tight .result-secondary { margin: -.55rem 0 1.1rem; font-size: clamp(.8rem, 1.4vw, 1rem); }
  .result.is-compact .result-reference, .result.is-tight .result-reference { width: min(100%, 15rem); min-height: 8.2rem; margin: -.15rem 0 1.25rem; }
  .result.is-compact .result-reference svg, .result.is-tight .result-reference svg { height: 6.5rem; }
  .result.is-compact .result-reference::after, .result.is-tight .result-reference::after { bottom: 1.55rem; }
  .result.is-compact .result-reference span, .result.is-tight .result-reference span { bottom: .45rem; font-size: .68rem; }
  .result.is-compact h2, .result.is-tight h2 { font-size: clamp(1.5rem, 2.5vw, 2.3rem); line-height: 1.18; }
  .result.is-compact .result-detail, .result.is-tight .result-detail { margin: 1.2rem 0 1.8rem; font-size: 1rem; line-height: 1.55; }
  .result.is-compact .ratio-readout, .result.is-tight .ratio-readout { padding-top: 1rem; }
  .result.is-compact .ratio-readout span:first-child, .result.is-tight .ratio-readout span:first-child { font-size: 1.9rem; }
  .result.is-compact .ratio-readout span:last-child, .result.is-tight .ratio-readout span:last-child { font-size: 1rem; }
  .result.is-compact .share-button, .result.is-tight .share-button { margin-top: 2.2rem; padding: .8rem 1rem; font-size: 1rem; }
  .travel-note { grid-column: 1; }
  .masthead { flex-wrap: wrap; }
  .masthead-tools { margin-left: auto; }
  .nav-toggle { order: 3; }
  .masthead[data-nav-ready="true"] .nav-toggle:not([hidden]) { display: inline-flex; }
  .masthead[data-nav-open="true"] .nav-toggle b:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .masthead[data-nav-open="true"] .nav-toggle b:nth-child(2) { opacity: 0; }
  .masthead[data-nav-open="true"] .nav-toggle b:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
  .primary-nav { order: 4; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: .25rem .75rem; padding-top: .6rem; border-top: 1px solid var(--line); }
  .masthead[data-nav-ready="true"] .primary-nav { display: none; }
  .masthead[data-nav-open="true"] .primary-nav { display: grid; }
  .primary-nav a { display: flex; align-items: center; min-height: 44px; white-space: normal; line-height: 1.3; }
  .home-hero-copy, .home-directions > header, .home-featured-heading, .home-why, .editorial-lead, .article-lead, .content-header, .article-split, .converter-tool, .scale-of-day-body, .earth-moon-detail, .distance-visual-explainer, .micro-topic-grid, .micro-topic-media, .micro-topic-source { grid-template-columns: 1fr; }
  .home-hero { min-height: calc(100svh - 73px); grid-template-rows: auto minmax(15rem, 1fr); }
  .home-hero-copy { align-items: start; }
  .home-hero-intro { margin: 0; }
  .cinematic-offer { grid-template-columns: 1fr; align-content: end; gap: 2.5rem; }
  .cinematic-offer h2 { max-width: 11ch; }
  .direction-scale { grid-template-columns: minmax(0, 1fr) 4.7rem minmax(0, 1fr); }
  .direction-origin { width: 4.7rem; }
  .direction-scale ol { display: grid; grid-template-columns: 1fr; }
  .direction-outward ol { display: grid; }
  .direction-scale li { border: 0; border-bottom: 1px solid var(--line); text-align: left; }
  .direction-outward li { text-align: right; }
  .direction-scale li + li, .direction-inward li + li { border-right: 0; border-left: 0; }
  .featured-tracks { grid-template-columns: 1fr; }
  .featured-track-outward { padding-right: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .featured-track-inward { padding-left: 0; }
  .article-split aside { padding: 1.5rem 0 0; border-left: 0; border-top: 1px solid var(--accent-dim); }
  .earth-moon-detail aside, .micro-topic-grid aside { padding: 1.5rem 0 0; border-left: 0; border-top: 1px solid var(--accent-dim); }
  .scale-share { grid-template-columns: 1fr; }
  .scale-share-actions { justify-content: flex-start; }
  .scale-share-status { margin-top: -.6rem; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .masthead { min-height: 62px; }
  .masthead-tools > p { display: none; }
  .language-switch button, .language-switch a { min-width: 3.8rem; padding-inline: .5rem; }
  .nav-toggle { width: 44px; justify-content: center; padding-inline: .65rem; }
  .nav-toggle > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .home-hero { min-height: calc(100svh - 63px); grid-template-rows: auto auto; gap: 1.6rem; padding-top: clamp(1.6rem, 5vh, 3rem); }
  .home-wordmark { margin-bottom: .35rem; }
  .home-hero h1 { font-size: clamp(2.75rem, 13vw, 4.25rem); line-height: .92; }
  .home-hero-intro { gap: .18rem; font-size: .94rem; }
  .home-journey-field { grid-template-columns: 1fr; min-height: 17rem; }
  .home-journey { min-height: 8.5rem; padding: 1.2rem; }
  .home-journey-outward { border-right: 0; border-bottom: 1px solid #343c45; }
  .journey-copy > span { font-size: .9rem; }
  .journey-copy strong { font-size: clamp(1.2rem, 6vw, 1.6rem); }
  .journey-origin { top: 50%; width: 3.2rem; font-size: .67rem; }
  .cinematic-offer { gap: 1.7rem; padding-top: 4.5rem; padding-bottom: 1.5rem; }
  .cinematic-offer::before { width: 32rem; right: -22rem; top: -16rem; }
  .cinematic-offer::after { width: 21rem; right: -12rem; top: -10rem; }
  .cinematic-direction { margin-bottom: .75rem; font-size: .9rem; }
  .cinematic-offer h2 { font-size: clamp(2.65rem, 13vw, 4.35rem); line-height: .92; }
  .cinematic-offer .cinematic-description { font-size: .95rem; line-height: 1.5; }
  .cinematic-offer-actions { display: grid; grid-template-columns: 1fr; margin-top: 1.1rem; }
  .cinematic-offer-actions button { width: 100%; }
  .cinematic-close { top: .7rem; }
  .cinematic-player-header { align-items: flex-start; }
  .cinematic-player-header p { max-width: 9rem; font-size: .82rem; line-height: 1.35; }
  .cinematic-player-header button { min-height: 44px; padding-inline: .65rem; font-size: .78rem; }
  .cinematic-scene-media { inset: 5.5rem 1rem 46%; }
  .cinematic-scene img { width: min(100%, calc(54dvh - 5.5rem)); height: min(100%, calc(100vw - 2rem)); }
  .cinematic-scene-earth-moon img { width: 100%; height: 100%; }
  .cinematic-scene figcaption { bottom: 3.5rem; max-width: calc(100% - 2 * var(--pad)); }
  .cinematic-scene figcaption strong { font-size: clamp(2.4rem, 11vw, 4rem); }
  .cinematic-scene figcaption h3 { margin-top: .75rem; }
  .cinematic-metre-mark { height: 80%; }
  .home-directions, .home-why { padding-block: 4rem; }
  .home-directions h2, .home-why h2 { font-size: clamp(2.15rem, 11vw, 3.6rem); }
  .direction-scale { grid-template-columns: 1fr; gap: 1.25rem; }
  .direction-origin { grid-row: 2; justify-self: center; width: 4.5rem; }
  .direction-inward { grid-row: 3; }
  .direction-outward h3, .direction-scale h3 { text-align: left; }
  .direction-outward li { text-align: left; }
  .direction-outward ol { display: flex; flex-direction: column-reverse; align-items: stretch; }
  .direction-inward ol { display: flex; flex-direction: column; align-items: stretch; }
  .home-why dl div { grid-template-columns: 1fr; gap: .35rem; }
  .controls { padding-top: 1.4rem; }
  .distance-form { grid-template-columns: 1fr 5.5rem; }
  .submit-button { grid-column: 1 / -1; }
  .stage { min-height: 590px; }
  .stage-focus { top: 3.7rem; left: 1rem; right: 1rem; }
  .stage-focus strong { font-size: 1.2rem; }
  .stage-focus p { font-size: .76rem; }
  .scale-world { --axis-origin: 1rem; inset-inline: 0; bottom: 7.7rem; }
  .scale-y-axis { top: 9.4rem; left: 1rem; bottom: 10.1rem; height: auto; }
  .scale-object { width: 160px; height: 160px; }
  .scale-scrubber { left: 1rem; right: 1rem; }
  .scrubber-controls { grid-template-columns: 2.6rem minmax(0, 1fr) 2.6rem; gap: .5rem; }
  .scrubber-status { gap: .45rem; }
  .scrubber-speed > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .stage-readout { left: 1rem; right: 1rem; grid-template-columns: auto 1fr; }
  .stage-readout > #stageZone { display: none; }
  .result-value { font-size: clamp(3.2rem, 17vw, 5rem); }
  .result-reference { width: min(100%, 13.5rem); min-height: 7.5rem; }
  .comparison-row { grid-template-columns: minmax(7rem, 1fr) 1.2fr; }
  .comparison-number { grid-column: 1; font-size: .82rem; }
  .bar-track { grid-column: 2; grid-row: 1 / span 2; }
  .travel-row { grid-template-columns: 3.7rem 1fr auto; gap: .75rem; }
  .speed-rail { grid-column: 2 / -1; }
  .travel-duration { min-width: 0; font-size: 1rem; }
  .masthead-tools > p { display: none; }
  .travel-table table, .travel-table tbody { display: block; min-width: 0; }
  .travel-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .travel-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr); padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .travel-table tbody th, .travel-table tbody td { padding: .3rem 0; border: 0; }
  .travel-table tbody th { font-size: 1.05rem; }
  .travel-table tbody td { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
  .table-cell-label { display: inline; color: var(--muted); font-size: .8rem; }
  .fact-strip, .fact-band { grid-template-columns: 1fr; }
  .fact-strip div, .fact-band div { padding: 1rem 0; margin-inline: var(--pad); border-left: 0; border-top: 1px solid var(--line); }
  .fact-strip div:first-child, .fact-band div:first-child { border-top: 0; }
  .reference-list li { grid-template-columns: 1fr; }
  .reference-list p { grid-column: 1; }
  .distance-group a { grid-template-columns: 1fr; gap: .65rem; }
  .converter-tool form { grid-template-columns: 1fr 4rem; }
  .converter-tool button { grid-column: 1 / -1; }
  .converter-result { padding: 1.5rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .scale-of-day-heading { grid-template-columns: 1fr; }
  .scale-of-day-heading time { margin-top: .35rem; }
  .featured-track li a { grid-template-columns: 1fr; }
  .featured-track li strong { white-space: normal; }
  .featured-scale-context { grid-column: 1; }
  .scale-share-actions { display: grid; grid-template-columns: 1fr; }
  .scale-share-actions button, .scale-share-actions a { width: 100%; }
  .scale-share-compact { padding-inline: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
