:root {
  --bg: #08090b;
  --panel: rgba(12, 13, 15, 0.82);
  --panel-strong: rgba(7, 8, 10, 0.94);
  --cream: #f1eadb;
  --muted: #aaa08f;
  --gold: #b58a47;
  --gold-soft: #d8bb80;
  --red: #8f201f;
  --line: rgba(216, 187, 128, 0.32);
  --shadow: rgba(0, 0, 0, 0.62);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color-scheme: dark;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 50% 30%, rgba(40, 36, 29, 0.2), transparent 44%),
    linear-gradient(180deg, #0c0d10, #050607 72%);
  font-family: "Noto Serif SC", "Songti SC", "STSong", Georgia, serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 1px solid var(--gold-soft);
  outline-offset: 5px;
}

[hidden] {
  display: none !important;
}

noscript {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 32px;
  color: var(--cream);
  background: #050607;
  text-align: center;
}

.app {
  position: relative;
  isolation: isolate;
  width: 100vw;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0,0,0,.42), transparent 25%, transparent 75%, rgba(0,0,0,.5)),
    radial-gradient(circle at 50% 42%, rgba(114, 83, 40, 0.11), transparent 52%);
}

.app::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.42), transparent 20%, transparent 72%, rgba(0,0,0,.7));
}

.ambient {
  position: absolute;
  z-index: -1;
  width: 44vw;
  height: 44vw;
  border-radius: 999px;
  filter: blur(100px);
  opacity: .16;
  transition: opacity 1.4s ease;
}

.ambient--left {
  left: -20vw;
  bottom: -24vw;
  background: #7b4c1c;
}

.ambient--right {
  right: -25vw;
  top: -20vw;
  background: #4d1d1b;
}

.topbar {
  position: absolute;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: calc(22px + var(--safe-top)) clamp(22px, 4vw, 68px) 20px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: .04em;
}

.brand__name {
  font-size: clamp(18px, 2vw, 28px);
}

.brand__line {
  width: 74px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.icon-button,
.text-button {
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: color .25s ease, opacity .25s ease;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  font-family: system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: .08em;
}

.icon-button:hover,
.text-button:hover {
  color: var(--cream);
}

.icon-button__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 transparent;
  transition: background .3s ease, box-shadow .3s ease;
}

.icon-button[aria-pressed="true"] .icon-button__dot {
  background: var(--gold-soft);
  box-shadow: 0 0 14px rgba(216,187,128,.7);
}

.text-button {
  padding: 7px 0;
  font-family: system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: .12em;
}

.intro,
.arrival {
  position: absolute;
  z-index: 30;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 110px 24px 86px;
  text-align: center;
}

.intro::before,
.arrival::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(7,8,10,.42), rgba(7,8,10,.76)),
    url("../assets/images/night-train-cover.webp") center/cover no-repeat;
}

.intro::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(840px, 85vw);
  height: min(540px, 65vh);
  border: 1px solid rgba(216,187,128,.09);
  border-radius: 46% 46% 34% 34% / 16% 16% 12% 12%;
  box-shadow: inset 0 0 90px rgba(0,0,0,.6), 0 0 120px rgba(0,0,0,.75);
}

.intro__eyebrow,
.arrival__eyebrow {
  margin-bottom: 22px;
  color: var(--gold-soft);
  font-family: system-ui, sans-serif;
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
}

.intro__title {
  margin: 0;
  font-size: clamp(46px, 8vw, 118px);
  font-weight: 400;
  letter-spacing: .08em;
  text-shadow: 0 12px 44px rgba(0,0,0,.82);
}

.intro__message {
  margin: 26px 0 6px;
  font-size: clamp(20px, 2.7vw, 38px);
  letter-spacing: .1em;
}

.intro__submessage {
  margin: 0 0 34px;
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: clamp(12px, 1.3vw, 15px);
  letter-spacing: .08em;
}

.primary-button,
.secondary-button {
  position: relative;
  min-width: 180px;
  border: 1px solid rgba(216,187,128,.64);
  color: var(--cream);
  background: rgba(9,10,12,.62);
  cursor: pointer;
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 15px 22px 15px 28px;
  letter-spacing: .22em;
}

.primary-button::before,
.secondary-button::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(216,187,128,.12);
  pointer-events: none;
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
  border-color: var(--gold-soft);
  background: rgba(24,20,15,.8);
}

.primary-button__arrow {
  color: var(--gold-soft);
  font-family: system-ui, sans-serif;
  font-size: 18px;
}

.intro__hint {
  margin: 24px 0 0;
  color: rgba(241,234,219,.42);
  font-family: system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: .12em;
}

.journey {
  position: absolute;
  inset: 0;
  z-index: 10;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 1.2s ease, transform 1.6s ease;
}

.app[data-stage="journey"] .journey {
  opacity: 1;
  transform: scale(1);
}

.compartment {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.compartment::before,
.compartment::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(90px, 14vw, 260px);
  background: linear-gradient(90deg, #050607, #111216 54%, transparent);
}

.compartment::before { left: 0; }
.compartment::after { right: 0; transform: scaleX(-1); }

.lamp {
  position: absolute;
  top: 16vh;
  left: clamp(16px, 4.2vw, 74px);
  width: 52px;
  height: 84px;
  border: 1px solid #5d4930;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(90deg, #6f522c, #d0a461 52%, #5b4123);
  box-shadow: 0 0 48px rgba(208,164,97,.35);
  opacity: .72;
}

.lamp::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1px;
  height: 38px;
  background: #4b3a28;
}

.curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(90px, 12vw, 220px);
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 3px, transparent 3px 16px),
    linear-gradient(90deg, #060708, #16171b 65%, rgba(9,10,12,.72));
  box-shadow: 0 0 50px rgba(0,0,0,.8);
}

.curtain--left { left: 0; border-radius: 0 0 55% 0; }
.curtain--right { right: 0; transform: scaleX(-1); border-radius: 0 0 55% 0; }

.seat-mark {
  position: absolute;
  left: clamp(26px, 5vw, 88px);
  bottom: 17vh;
  color: rgba(181,138,71,.56);
  font-size: clamp(54px, 6vw, 92px);
  font-style: italic;
}

.window-shell {
  position: absolute;
  z-index: 1;
  inset: clamp(90px, 10vh, 126px) clamp(84px, 12vw, 230px) clamp(180px, 22vh, 250px);
  min-height: 300px;
  border: clamp(10px, 1.2vw, 18px) solid #121317;
  border-radius: 40px;
  background: #030405;
  box-shadow:
    inset 0 0 0 2px #27272a,
    inset 0 0 26px #000,
    0 18px 70px rgba(0,0,0,.7);
  overflow: hidden;
}

.window-shell__rim {
  position: absolute;
  inset: 7px;
  z-index: 9;
  border: 1px solid rgba(216,187,128,.14);
  border-radius: 25px;
  pointer-events: none;
}

.window-view,
.scene-video,
.scene-poster,
.fallback-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.scene-video {
  z-index: 2;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.scene-video.is-ready {
  opacity: 1;
}

.scene-poster {
  z-index: 1;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity .8s ease;
}

.scene-poster.is-ready {
  opacity: .9;
}

.fallback-scene {
  z-index: 0;
  overflow: hidden;
  background: #090d11;
}

.fallback-scene__sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 62% 26%, rgba(187,202,213,.08), transparent 18%),
    linear-gradient(180deg, #111820 0%, #0a1015 54%, #080b0d 100%);
}

.fallback-scene__moon {
  position: absolute;
  top: 15%;
  right: 17%;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(229,225,209,.55);
  box-shadow: 0 0 30px rgba(229,225,209,.18);
}

.fallback-scene__hills {
  position: absolute;
  left: -8%;
  width: 120%;
  border-radius: 50% 50% 0 0;
  transform-origin: center bottom;
}

.fallback-scene__hills--far {
  bottom: 30%;
  height: 38%;
  background: #11191e;
  clip-path: polygon(0 72%, 8% 55%, 17% 61%, 25% 37%, 36% 54%, 45% 25%, 57% 49%, 66% 31%, 75% 56%, 86% 36%, 100% 61%, 100% 100%, 0 100%);
}

.fallback-scene__hills--near {
  bottom: 18%;
  height: 35%;
  background: #0b1014;
  clip-path: polygon(0 64%, 13% 48%, 23% 58%, 33% 31%, 46% 55%, 55% 42%, 68% 62%, 79% 39%, 90% 54%, 100% 43%, 100% 100%, 0 100%);
  animation: drift-hills 24s linear infinite;
}

.fallback-scene__forest {
  position: absolute;
  left: -20%;
  width: 140%;
  background-repeat: repeat-x;
  background-size: 72px 100%;
}

.fallback-scene__forest--far {
  bottom: 19%;
  height: 31%;
  opacity: .72;
  background-image: linear-gradient(145deg, transparent 42%, #0e1518 43% 57%, transparent 58%);
  animation: forest-pass 42s linear infinite;
}

.fallback-scene__forest--near {
  bottom: 10%;
  height: 43%;
  background-image: linear-gradient(145deg, transparent 41%, #070b0d 42% 58%, transparent 59%);
  animation: forest-pass 18s linear infinite;
}

.fallback-scene__lights {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18%;
  height: 28%;
  background-image:
    radial-gradient(circle, rgba(239,184,92,.9) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(230,155,68,.65) 0 1px, transparent 2px);
  background-position: 12% 68%, 24% 45%;
  background-size: 116px 72px, 173px 94px;
  animation: lights-pass 12s linear infinite;
  opacity: .68;
}

.fallback-scene__rails {
  position: absolute;
  left: 25%;
  right: -8%;
  bottom: -8%;
  height: 39%;
  background:
    linear-gradient(98deg, transparent 0 18%, rgba(190,154,99,.22) 18.5% 19%, transparent 19.5% 46%, rgba(190,154,99,.2) 46.5% 47%, transparent 47.5%),
    repeating-linear-gradient(175deg, transparent 0 18px, rgba(193,158,105,.12) 19px 22px, transparent 23px 42px);
  transform: perspective(460px) rotateX(62deg);
  transform-origin: bottom;
}

.fallback-scene__signal {
  position: absolute;
  right: 16%;
  bottom: 26%;
  width: 7px;
  height: 62px;
  border-radius: 3px;
  background: #18191b;
}

.fallback-scene__signal::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -4px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #a72721;
  box-shadow: 0 0 18px rgba(196,49,38,.75);
}

.fallback-scene__station-sign {
  position: absolute;
  right: 6%;
  bottom: 24%;
  padding: 8px 16px;
  border: 1px solid rgba(241,234,219,.28);
  color: rgba(241,234,219,.72);
  background: rgba(9,12,15,.72);
  font-family: system-ui, sans-serif;
  font-size: clamp(11px, 1.3vw, 17px);
  letter-spacing: .04em;
  transform: translateX(130%);
  transition: transform 1.4s cubic-bezier(.2,.75,.2,1);
}

.fallback-scene__station-sign.is-visible {
  transform: translateX(0);
}

.window-reflection {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(113deg, transparent 8%, rgba(255,255,255,.03) 23%, transparent 34%),
    linear-gradient(108deg, transparent 52%, rgba(216,187,128,.025) 67%, transparent 74%);
}

.rain {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: .34;
}

.rain span {
  position: absolute;
  top: -18%;
  width: 1px;
  height: 40px;
  background: linear-gradient(transparent, rgba(220,230,235,.5));
  transform: rotate(17deg);
  animation: rain-fall linear infinite;
}

.vignette {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  box-shadow: inset 0 0 95px rgba(0,0,0,.86);
  background: linear-gradient(180deg, rgba(0,0,0,.15), transparent 36%, rgba(0,0,0,.28));
}

.story-card {
  position: absolute;
  z-index: 8;
  left: clamp(24px, 5vw, 72px);
  top: 50%;
  width: min(510px, 58%);
  transform: translateY(-50%);
  padding: 24px 26px 25px;
  border-left: 1px solid var(--gold);
  background: linear-gradient(90deg, rgba(5,7,9,.78), rgba(5,7,9,.3), transparent);
  text-shadow: 0 4px 18px rgba(0,0,0,.8);
}

.story-card__count {
  margin: 0 0 12px;
  color: var(--gold-soft);
  font-family: system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: .24em;
}

.story-card__title {
  margin: 0;
  font-size: clamp(30px, 4vw, 62px);
  font-weight: 400;
  letter-spacing: .08em;
}

.story-card__text {
  margin: 17px 0 8px;
  font-size: clamp(15px, 1.65vw, 23px);
  line-height: 1.8;
  letter-spacing: .06em;
}

.story-card__de {
  margin: 0;
  color: rgba(241,234,219,.58);
  font-family: Georgia, serif;
  font-size: clamp(11px, 1.1vw, 14px);
  font-style: italic;
  line-height: 1.65;
}

.ticket {
  position: absolute;
  z-index: 12;
  top: clamp(150px, 20vh, 220px);
  right: clamp(24px, 4.3vw, 76px);
  width: clamp(250px, 24vw, 360px);
  padding: 22px 24px 18px;
  border: 1px solid rgba(181,138,71,.56);
  color: var(--cream);
  background:
    linear-gradient(rgba(14,14,15,.92), rgba(9,10,11,.94)),
    url("../assets/images/ticket-texture.webp") center/cover;
  box-shadow: 0 18px 55px rgba(0,0,0,.5);
  clip-path: polygon(0 0, 100% 0, 100% 44%, 97% 46%, 97% 54%, 100% 56%, 100% 100%, 0 100%, 0 56%, 3% 54%, 3% 46%, 0 44%);
}

.ticket__header,
.ticket__route,
.ticket__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ticket__header {
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(216,187,128,.24);
  color: var(--gold-soft);
  letter-spacing: .08em;
}

.ticket__train {
  font-family: system-ui, sans-serif;
}

.ticket__route {
  gap: 12px;
  margin: 17px 0;
  color: var(--gold-soft);
  font-family: system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: .18em;
}

.ticket__route-line {
  position: relative;
  flex: 1;
  height: 1px;
  background: rgba(216,187,128,.35);
}

.ticket__route-line::after {
  content: "◆";
  position: absolute;
  left: 50%;
  top: 50%;
  color: var(--gold);
  font-size: 8px;
  transform: translate(-50%, -50%);
}

.ticket__details {
  margin: 0;
}

.ticket__details div {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px dotted rgba(216,187,128,.14);
}

.ticket__details dt {
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: 9px;
  letter-spacing: .12em;
}

.ticket__details dd {
  margin: 0;
  color: var(--gold-soft);
  font-size: 14px;
}

.ticket__footer {
  padding-top: 16px;
  color: rgba(216,187,128,.72);
  font-family: system-ui, sans-serif;
  font-size: 9px;
  letter-spacing: .13em;
}

.timeline {
  position: absolute;
  z-index: 14;
  left: 50%;
  bottom: calc(26px + var(--safe-bottom));
  display: grid;
  grid-template-columns: auto minmax(74px, 11vw) auto minmax(74px, 11vw) auto;
  align-items: start;
  width: min(760px, 70vw);
  transform: translateX(-50%);
}

.timeline__stop {
  position: relative;
  display: grid;
  justify-items: center;
  min-width: 102px;
  border: 0;
  padding: 0;
  color: rgba(241,234,219,.48);
  background: transparent;
  cursor: pointer;
  transition: color .35s ease;
}

.timeline__stop:hover,
.timeline__stop.is-active,
.timeline__stop.is-complete {
  color: var(--cream);
}

.timeline__number {
  margin-bottom: 9px;
  color: var(--gold-soft);
  font-family: system-ui, sans-serif;
  font-size: 9px;
  letter-spacing: .12em;
}

.timeline__dot {
  position: relative;
  z-index: 2;
  width: 15px;
  height: 15px;
  margin-bottom: 12px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: #0b0c0e;
  transition: background .35s ease, box-shadow .35s ease;
}

.timeline__stop.is-active .timeline__dot,
.timeline__stop.is-complete .timeline__dot {
  background: var(--gold-soft);
  box-shadow: 0 0 16px rgba(216,187,128,.52);
}

.timeline__label {
  font-size: 17px;
  letter-spacing: .08em;
}

.timeline__meta {
  margin-top: 4px;
  color: rgba(241,234,219,.38);
  font-size: 10px;
  letter-spacing: .06em;
}

.timeline__track {
  position: relative;
  height: 1px;
  margin-top: 24px;
  background: rgba(216,187,128,.2);
  overflow: hidden;
}

.timeline__track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--gold-soft);
  transition: width 5.4s linear;
}

.timeline__track.is-complete span {
  width: 100%;
}

.arrival {
  background:
    linear-gradient(rgba(6,7,8,.46), rgba(6,7,8,.72)),
    url("../assets/images/final-station.webp") center/cover no-repeat;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.app[data-stage="arrival"] .arrival {
  opacity: 1;
}

.arrival__glow {
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -16%;
  width: 80vw;
  height: 55vh;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,127,57,.2), transparent 68%);
  transform: translateX(-50%);
}

.arrival__title {
  margin: 0;
  font-size: clamp(38px, 6vw, 84px);
  font-weight: 400;
  letter-spacing: .08em;
}

.arrival__text {
  margin: 24px 0 0;
  font-size: clamp(17px, 2vw, 28px);
  letter-spacing: .08em;
}

.arrival__text--de {
  margin-top: 8px;
  color: var(--muted);
  font-size: clamp(12px, 1.3vw, 16px);
  font-style: italic;
}

.arrival__signature {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 36px 0 34px;
  color: var(--gold-soft);
  font-size: 20px;
  letter-spacing: .08em;
}

.arrival__heart {
  font-size: 25px;
}

.secondary-button {
  padding: 13px 28px;
  letter-spacing: .15em;
}

.loading {
  position: absolute;
  z-index: 60;
  left: 50%;
  bottom: calc(24px + var(--safe-bottom));
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: .1em;
  transform: translateX(-50%);
}

.loading__line {
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft));
  animation: loading-line 1.2s ease-in-out infinite alternate;
}

.app.is-transitioning .intro,
.app.is-transitioning .journey,
.app.is-transitioning .arrival {
  pointer-events: none;
}

.app[data-stage="journey"] .intro,
.app[data-stage="arrival"] .intro,
.app[data-stage="arrival"] .journey {
  opacity: 0;
  pointer-events: none;
}

@keyframes forest-pass {
  from { transform: translateX(0); }
  to { transform: translateX(-72px); }
}

@keyframes lights-pass {
  from { background-position: 0 68%, 42px 45%; }
  to { background-position: -116px 68%, -131px 45%; }
}

@keyframes drift-hills {
  from { transform: translateX(0); }
  to { transform: translateX(-5%); }
}

@keyframes rain-fall {
  from { transform: translate3d(0, -25vh, 0) rotate(17deg); }
  to { transform: translate3d(-32px, 135vh, 0) rotate(17deg); }
}

@keyframes loading-line {
  from { opacity: .25; transform: scaleX(.7); }
  to { opacity: 1; transform: scaleX(1); }
}

@media (max-width: 1100px) {
  .window-shell {
    inset: 105px 82px 205px;
  }

  .ticket {
    top: auto;
    right: 32px;
    bottom: 150px;
    width: 285px;
    transform: scale(.88);
    transform-origin: right bottom;
  }

  .story-card {
    width: min(480px, 62%);
  }

  .timeline {
    width: min(680px, 76vw);
  }
}

@media (max-width: 760px) {
  .app {
    min-height: 560px;
  }

  .topbar {
    padding: calc(18px + var(--safe-top)) 18px 16px;
  }

  .brand__name {
    font-size: 18px;
  }

  .brand__line {
    width: 54px;
  }

  .text-button {
    display: none;
  }

  .intro {
    padding-inline: 18px;
  }

  .intro::after {
    width: 94vw;
    height: 60vh;
  }

  .intro__title {
    font-size: clamp(43px, 15vw, 68px);
    letter-spacing: .04em;
  }

  .intro__message {
    margin-top: 22px;
    font-size: 21px;
  }

  .compartment::before,
  .compartment::after,
  .curtain {
    width: 34px;
  }

  .lamp,
  .seat-mark,
  .ticket {
    display: none;
  }

  .window-shell {
    inset: 88px 18px 184px;
    border-width: 8px;
    border-radius: 25px;
  }

  .window-shell__rim {
    border-radius: 16px;
  }

  .story-card {
    left: 20px;
    right: 20px;
    top: auto;
    bottom: 22px;
    width: auto;
    transform: none;
    padding: 15px 16px 16px;
    background: linear-gradient(90deg, rgba(5,7,9,.88), rgba(5,7,9,.56));
  }

  .story-card__title {
    font-size: 31px;
  }

  .story-card__text {
    margin-top: 9px;
    font-size: 14px;
    line-height: 1.65;
  }

  .story-card__de {
    font-size: 10px;
  }

  .timeline {
    bottom: calc(22px + var(--safe-bottom));
    grid-template-columns: auto 1fr auto 1fr auto;
    width: calc(100vw - 26px);
  }

  .timeline__stop {
    min-width: 72px;
  }

  .timeline__label {
    font-size: 14px;
  }

  .timeline__meta {
    display: none;
  }

  .timeline__number {
    margin-bottom: 6px;
  }

  .timeline__track {
    margin-top: 20px;
  }

  .arrival {
    padding-inline: 20px;
  }

  .arrival__title {
    font-size: clamp(38px, 11vw, 55px);
  }
}

@media (max-height: 680px) and (min-width: 761px) {
  .window-shell {
    inset: 78px 11vw 145px;
  }

  .ticket {
    top: 130px;
    transform: scale(.82);
    transform-origin: right top;
  }

  .timeline {
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
