/* The experience room is a journey through the scene: the words sit over it at the left,
   one station at a time, and the wheel flies the camera. Without the scene (no WebGL,
   reduced motion) the stations stack as a plain page. */

.view--experience.has-journey { overflow: hidden; padding: 0;
  background: linear-gradient(90deg, rgba(5, 7, 13, 0.82) 0%, rgba(5, 7, 13, 0.55) 34%, rgba(5, 7, 13, 0.08) 58%, rgba(5, 7, 13, 0) 100%); }
.view--experience.has-journey .view__panel { max-width: none; padding: 0; margin: 0; position: absolute; inset: 0; }
.view--experience.has-journey .view__back { z-index: 8; }

.journey { position: absolute; inset: 0; }
.station { position: absolute; left: var(--gutter); top: 50%; width: min(36rem, 44vw); transform: translateY(-50%) translateY(18px); opacity: 0; filter: blur(8px); pointer-events: none;
  transition: opacity 700ms cubic-bezier(.25, .1, .25, 1), transform 700ms cubic-bezier(.25, .1, .25, 1), filter 700ms cubic-bezier(.25, .1, .25, 1); }
.station.is-active { opacity: 1; transform: translateY(-50%); filter: none; pointer-events: auto; transition-delay: 220ms; }
.station__title { font-size: clamp(2.6rem, 5.2vw, 4.5rem); font-weight: 300; letter-spacing: -0.025em; line-height: 1.02; margin: 0 0 18px; }
.station__lead { font-size: 1.125rem; line-height: 1.5; color: var(--text-2); font-weight: 300; max-width: 30rem; margin: 0 0 26px; }
.station__next { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; min-height: 44px; background: none; border: 1px solid var(--line-2); border-radius: 4px; color: var(--text); font: 500 0.9375rem var(--sans); letter-spacing: 0.06em; cursor: pointer; }
.station__next:hover { border-color: var(--accent); color: var(--accent-2); }
.station__who { font-size: 0.9375rem; color: var(--text-3); margin: 0 0 14px; }
.station__who b { font-weight: 500; color: var(--text); }
.station__claim { font-size: clamp(1.7rem, 2.9vw, 2.5rem); font-weight: 300; line-height: 1.16; letter-spacing: -0.015em; margin: 0 0 22px; text-wrap: balance; }
.station__claim em { display: block; font-style: normal; font-size: 0.6em; color: var(--accent); margin-top: 8px; }
.station__facts { margin: 0 0 18px; display: grid; }
.station__facts > div { display: grid; grid-template-columns: minmax(6.5rem, auto) 1fr; gap: 14px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--line); }
.station__facts > div:last-child { border-bottom: 1px solid var(--line); }
.station__facts dt { margin: 0; font-size: 1.375rem; font-weight: 300; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.station__facts dd { margin: 0; font-size: 0.875rem; line-height: 1.4; color: var(--text-2); }
.station__copy { font-size: 0.9375rem; line-height: 1.55; color: var(--text-2); margin: 0; max-width: 34rem; }
.station__links { display: flex; flex-wrap: wrap; gap: 18px; margin: 16px 0 0; font-size: 0.875rem; }
.station__links span { color: var(--text-3); }

.journey__rail { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); display: grid; gap: 14px; z-index: 6; }
.journey__rail button { width: 28px; height: 28px; padding: 0; background: none; border: 0; cursor: pointer; display: grid; place-items: center; }
.journey__rail button::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); transition: transform 300ms var(--ease-out), background 300ms; }
.journey__rail button[aria-current="true"]::before { background: var(--accent); transform: scale(1.7); box-shadow: 0 0 12px var(--accent); }
.journey__rail button:hover::before { background: var(--text); }
.journey__hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); margin: 0; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); z-index: 6; }
.journey__hint kbd { font: inherit; border: 1px solid var(--line-2); border-radius: 4px; padding: 1px 6px; margin-right: 4px; }
.view--experience.is-last .journey__hint { opacity: 0; }

/* Without the scene: the stations stack as a page */
.view--experience:not(.has-journey) .journey { position: static; }
.view--experience:not(.has-journey) .station { position: static; width: auto; max-width: 40rem; transform: none; opacity: 1; filter: none; pointer-events: auto; margin: 0 0 72px; }
.view--experience:not(.has-journey) .journey__rail, .view--experience:not(.has-journey) .journey__hint, .view--experience:not(.has-journey) .station__next { display: none; }

@media (max-width: 760px) {
  .view--experience.has-journey { background: linear-gradient(180deg, rgba(5, 7, 13, 0) 0%, rgba(5, 7, 13, 0.1) 40%, rgba(5, 7, 13, 0.86) 60%, rgba(5, 7, 13, 0.94) 100%); }
  .station { left: 20px; right: 20px; width: auto; top: auto; bottom: 56px; transform: translateY(18px); }
  .station.is-active { transform: none; }
  .station__title { font-size: 2.2rem; }
  .station__claim { font-size: 1.4rem; margin-bottom: 14px; }
  .station__facts dt { font-size: 1.125rem; }
  .station__copy { display: none; }
  .journey__rail { right: 14px; top: 14px; bottom: auto; transform: none; grid-auto-flow: column; gap: 6px; }
  .journey__hint { display: none; }
}
@media (prefers-reduced-motion: reduce) { .station { transition: none; } }
