:root {
  --paper: #f3efe6;
  --paper-2: #e7e0d2;
  --ink: #1a120e;
  --muted: #6d6258;
  --red: #c8102e;
  --maroon: #6d1220;
  --line: rgba(26, 18, 14, 0.12);
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #100c0a;
  color: #f4efe6;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }

.nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  padding: 16px 20px;
  background: transparent;
}
.nav__brand { display: block; }
.nav__brand img { height: 42px; width: auto; }

.hero {
  position: relative;
  z-index: 2;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(180deg, #14305e 0, #46659c 28%, #b98ba6 52%, #f6b274 64%, #ffd9a0 70%);
}
.sun { position: absolute; right: 14%; bottom: 34%; width: min(30vw, 320px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #fff3cf 0 8%, #ffd592 22%, rgba(255, 170, 90, .45) 45%, transparent 70%); }
.layer { position: absolute; left: 0; width: 200%; display: flex; animation: drift2 linear infinite; }
.layer svg { width: 50%; height: 100%; flex: none; display: block; }
@keyframes drift2 { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.cl { top: 7%; height: 20%; animation-duration: 110s; opacity: .5; filter: blur(3px); }
.cl2 { top: 24%; height: 14%; animation-duration: 70s; opacity: .35; filter: blur(2px); }
.far { bottom: 36%; height: 32%; animation-duration: 520s; }
.mid { bottom: 36%; height: 25%; animation-duration: 300s; }
.near { bottom: 35%; height: 17%; animation-duration: 160s; }
.haze { position: absolute; left: 0; right: 0; bottom: 30%; height: 34%; background: linear-gradient(transparent, rgba(255, 196, 140, .45)); }
.ground { position: absolute; left: 0; right: 0; bottom: 0; height: 36%; background: linear-gradient(#4a5a33, #222c19); }
.road { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; border-top: 5px solid #5b636c; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .6 0 0 0 0 .6 0 0 0 0 .6 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E"), linear-gradient(180deg, #444c55, #2a3037 40%, #171b20); animation: grain .5s linear infinite; }
@keyframes grain { to { background-position: -200px 0, 0 0; } }
.road::before { content: ""; position: absolute; left: 0; right: 0; top: 7%; height: 3px; background: #e5e5e5; opacity: .7; }
.road::after { content: ""; position: absolute; left: 0; right: 0; top: 86%; height: 13px; background: repeating-linear-gradient(90deg, #f4f4f4 0 170px, transparent 170px 350px); animation: lane .6s linear infinite; }
@keyframes lane { to { background-position: 350px 0; } }
.vig { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, transparent 68%, rgba(0, 0, 0, .28)); }
.rs { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__copy {
  position: absolute;
  z-index: 6;
  left: max(4vw, 20px);
  top: 92px;
  max-width: min(42vw, 460px);
}
.eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffb4c0;
}
h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(68px, 8.6vw, 132px);
  line-height: 0.84;
  letter-spacing: -0.05em;
  color: #f7f2ea;
}
h1 em { font-style: italic; font-weight: 500; }
.hero h1 { font-size: clamp(42px, 4.8vw, 72px); }
.hero__copy p { max-width: 420px; margin: 12px 0 0; color: #e6ecf7; font-size: 16px; }
.hero .route { color: #fff; }

.stage { --w: min(52vw, 552px); --h: calc(var(--w) * .8188); position: absolute; z-index: 4; left: 0; right: 0; bottom: calc(30% * .27 - var(--h) * .133); display: flex; justify-content: flex-end; padding-right: min(3vw, 48px); perspective: 1100px; }
.rig { position: relative; width: var(--w); aspect-ratio: 552 / 452; transform-style: preserve-3d; transform: rotateY(var(--ry, -6deg)) rotateX(var(--rx, 0deg)); transition: transform .2s ease-out; animation: enter 1.6s cubic-bezier(.2, .8, .2, 1) both; cursor: pointer; }
@keyframes enter { from { translate: 60vw 0; } to { translate: 0 0; } }
.body { position: absolute; inset: 0; animation: bounce .8s ease-in-out infinite alternate; }
@keyframes bounce { to { transform: translateY(-.35%); } }
.body img { width: 100%; height: 100%; display: block; filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .35)); }
.sh { position: absolute; background: #000; border-radius: 50%; filter: blur(7px); }
.s0 { left: 8%; top: 74%; width: 90%; height: 12%; opacity: .35; transform: rotate(-8deg); }
.s1 { left: 58%; top: 85.3%; width: 16%; height: 4.2%; opacity: .85; filter: blur(4px); }
.s2 { left: 89.5%; top: 69.8%; width: 8%; height: 2.8%; opacity: .85; filter: blur(3px); }
.dust { position: absolute; left: 90%; top: 60%; width: 34%; height: 14%; background: radial-gradient(ellipse at 0 60%, rgba(225, 205, 170, .5), transparent 70%); filter: blur(9px); animation: puff .9s ease-in-out infinite alternate; }
@keyframes puff { from { opacity: .3; transform: translateX(0); } to { opacity: .7; transform: translateX(14px); } }
.wheel { position: absolute; border-radius: 50%; overflow: hidden; background: #0c0f12; }
.sq { position: absolute; left: 50%; top: 50%; height: 100%; aspect-ratio: 1; transform: translate(-50%, -50%) scaleX(var(--k)); }
.spin { width: 100%; height: 100%; border-radius: 50%; animation: rot .7s linear infinite; opacity: .8; filter: blur(.4px); background: radial-gradient(circle, #555 0 12%, transparent 13%), repeating-conic-gradient(#d3d9de 0 12deg, #8d959d 12deg 24deg); }
@keyframes rot { to { transform: rotate(-360deg); } }
.wf { left: 64.2%; top: 71.3%; width: 4.7%; height: 12.2%; --k: .47; }
.wr { left: 92.7%; top: 64.2%; width: 1.7%; height: 4.4%; --k: .45; }
.door { position: absolute; inset: 0; pointer-events: none; }
.hole, .leaf { position: absolute; inset: 0; clip-path: polygon(46% 35.4%, 54.5% 33.2%, 56.2% 74.3%, 46% 87.8%); }
.hole { background: radial-gradient(ellipse at 78% 38%, #3a2a20 0 16%, transparent 18%), radial-gradient(ellipse at 40% 80%, rgba(255, 214, 150, .5), transparent 48%), linear-gradient(90deg, rgba(0, 0, 0, .65), transparent 45%, rgba(0, 0, 0, .4)), linear-gradient(180deg, #e8cf9b 0, #8a6a3e 9%, #2a1d12 26%, #0e0a07 62%, #0a0705); opacity: 0; transition: opacity .2s .9s; }
.hole::after { content: ""; position: absolute; left: 46%; width: 11%; top: 66%; bottom: 9%; opacity: .85; background: repeating-linear-gradient(140deg, #a99f8d 0 1.8%, #2b251e 1.8% 7%); }
.hole::before { content: ""; position: absolute; left: 50%; width: .5%; top: 36%; bottom: 24%; opacity: .8; background: linear-gradient(90deg, #6f7981, #e8edf0 45%, #5b656d); z-index: 1; }
.leaf { transform-origin: 46% 50%; transform: perspective(900px) rotateY(0); opacity: 0; transition: transform 1.1s cubic-bezier(.5, 0, .2, 1), filter 1.1s, opacity 0s 1.1s; }
.open .hole { opacity: 1; transition: opacity .2s 0s; }
.open .leaf { opacity: 1; filter: brightness(.72); transform: perspective(900px) rotateY(-82deg); transition: transform 1.1s cubic-bezier(.5, 0, .2, 1), filter 1.1s, opacity 0s 0s; }
.stop *, .stop *::before, .stop *::after { animation-play-state: paused !important; }
.finder.is-ready { outline: 3px solid #fff; outline-offset: 4px; }
.finder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
  padding: 14px;
  border-radius: 16px;
  background: #f7f2ea;
  color: var(--ink);
}
.finder button {
  grid-column: 1 / -1;
  height: 52px;
  border: 0;
  background: var(--red);
  color: #fff;
  font-weight: 650;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.finder button:hover { background: var(--ink); }
.finder button:active { transform: translateY(1px); }
label { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.finder select, .hold-card select {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(26, 18, 14, 0.16);
  background: #fff;
  color: var(--ink);
  border-radius: 0;
  padding: 0 12px;
  cursor: pointer;
}
.finder select:focus, .hold-card select:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.route {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.03em;
  color: #f7f2ea;
}
.route i { font-style: italic; font-size: 0.55em; color: #ffb4c0; }
.route.is-on span { animation: arrive .4s ease; display: inline-block; }
@keyframes arrive { from { transform: translateY(10px); opacity: 0; } }

.results { padding: 0; display: flex; flex-direction: column; gap: 0; background: #fff; }
.results:empty { display: none; }
.results__note {
  margin: 0;
  padding: 14px 20px;
  background: #fffdf8;
  color: var(--muted);
}
.trip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin: 0;
  padding: 16px 20px;
  background: #fff;
  color: var(--ink);
  border-top: 1px solid rgba(26, 18, 14, 0.08);
}
.trip h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 32px; letter-spacing: -0.03em; }
.trip p { margin: 4px 0 0; color: var(--muted); }
.trip__fare { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.trip__fare strong { font-family: var(--serif); font-size: 28px; font-weight: 500; }
.trip__fare button, .hold-card button, .pass__actions a, .pass__actions button, .hold__back {
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 650;
  cursor: pointer;
}
.trip__fare button:hover, .hold-card button:hover { background: var(--red); }

.hold {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
  gap: 14px;
  align-items: start;
}
.plan-board, .hold-card, .pass {
  background: #fff;
  padding: 18px 20px;
  border-top: 1px solid rgba(26, 18, 14, 0.08);
}
.hold__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.hold__head h3, .hold-card h3, .pass h3 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -0.03em; }
.hold__head h3 { font-size: 32px; }
.hold__head strong { font-family: var(--serif); font-size: 28px; }
.hold__back { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.legend { display: flex; gap: 16px; margin: 16px 0; color: var(--muted); font-size: 13px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend .seat { width: 14px; height: 14px; border-radius: 4px; }
.decks { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.plan__label { margin: 12px 0 8px; font-size: 11px; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.plan__nose, .plan__row { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.aisle { width: 22px; flex: 0 0 22px; }
.pair { display: inline-flex; gap: 6px; }
.plan__row--room { flex-wrap: wrap; }
.seat {
  display: inline-grid;
  place-items: center;
  min-width: 52px;
  height: 36px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
}
button.seat { cursor: pointer; }
.seat--open:hover, .seat--open.is-picked { background: var(--red); border-color: var(--red); color: #fff; }
.seat--held { background: #9a3412; border-color: #9a3412; color: #fff; }
.seat--taken { background: #166b38; border-color: #166b38; color: #fff; }
.seat--off { background: transparent; color: #b7aea4; border-style: dashed; }
.seat--driver { background: var(--ink); border-color: var(--ink); color: #fff; min-width: 72px; }
.hold-card h3 { font-size: 34px; line-height: 1; }
.hold-card form { display: flex; flex-direction: column; gap: 6px; }
.hold-card__seat { margin: 0 0 8px; font-family: var(--serif); font-size: 28px; }
.hold-card input, .hold-card select {
  height: 46px;
  margin-bottom: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.hold-card button { margin-top: 8px; }
.hold-card__note { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.pass h3 { font-size: clamp(28px, 4vw, 42px); word-break: break-word; }
.pass dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin: 18px 0; }
.pass dt { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.pass dd { margin: 2px 0 0; font-size: 18px; }
.pass__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pass__actions a { display: inline-grid; place-items: center; }

.strip {
  overflow: hidden;
  height: 44px;
  display: flex;
  align-items: center;
  background: var(--red);
  color: #fff;
}
.strip__track {
  display: flex;
  gap: 36px;
  width: max-content;
  animation: road 28s linear infinite;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.strip__track span { white-space: nowrap; flex: none; }
@keyframes road { to { transform: translateX(-50%); } }

.facts {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 0.9fr;
  background: #fff;
  border-top: 1px solid rgba(26, 18, 14, 0.08);
}
.facts article { padding: 14px 16px 8px; border-right: 1px solid rgba(26, 18, 14, 0.08); }
.facts article:last-child { border-right: 0; }
.facts h2 { margin: 0 0 4px; font-family: var(--sans); font-size: 12px; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.facts ul { list-style: none; margin: 0; padding: 0; }
.facts li { display: grid; gap: 1px; padding: 8px 0; border-top: 1px solid rgba(26, 18, 14, 0.08); }
.facts strong { font-size: 15px; font-weight: 650; }
.facts span, .facts a { font-size: 13px; color: var(--muted); }

.studio {
  position: relative;
  z-index: 2;
  background: #fff;
  color: var(--ink);
}
.set { position: relative; }

.chapter { padding: 0; background: #fff; }
.chapter__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin: 0;
  padding: 16px 20px 12px;
  border-top: 1px solid rgba(26, 18, 14, 0.08);
}
.chapter__head h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.04em; line-height: 0.95; color: var(--ink); }
.chapter__head p { max-width: 360px; color: var(--muted); margin: 0; font-size: 14px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0;
  border-top: 1px solid rgba(26, 18, 14, 0.08);
}
.step {
  min-height: 0;
  padding: 16px 20px;
  background: #fff;
  border-right: 1px solid rgba(26, 18, 14, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.step:last-child { border-right: 0; }
.step i { font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--red); }
.step h3 { margin: 0 0 4px; font-size: 18px; font-weight: 600; color: var(--ink); }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

.fleet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  border-top: 1px solid rgba(26, 18, 14, 0.08);
}
.coach-card {
  position: relative;
  margin: 0;
  padding: 14px 16px 10px;
  background: #111;
  color: #f3efe6;
}
.coach-card + .coach-card { border-left: 1px solid rgba(255, 255, 255, 0.08); }
.coach-card img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 8px auto 0;
}
.coach-card figcaption { position: static; }
.coach-card h3 { margin: 0 0 2px; font-family: var(--serif); font-size: 24px; font-weight: 500; }
.coach-card p { margin: 0; color: rgba(243, 239, 230, .75); font-size: 14px; }

.berths {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: center;
  margin: 0;
  padding: 16px 20px;
  background: #fff;
  border-top: 1px solid rgba(26, 18, 14, 0.08);
  color: var(--ink);
}
.berths h2 { margin: 0 0 6px; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.04em; }
.berths p { color: var(--muted); max-width: 460px; margin: 0; font-size: 14px; }
.deck-stage { padding: 0; }
.deck { display: grid; gap: 6px; }
.deck__row { display: grid; grid-template-columns: 1fr 14px 1fr 1fr; gap: 6px; }
.berth {
  height: 22px;
  border-radius: 6px;
  background: #f3efe6;
  border: 1px solid rgba(26, 18, 14, 0.12);
}
.berth--pair { grid-column: 3 / span 2; }
.deck__room { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.deck__label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.apps {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-top: 1px solid rgba(26, 18, 14, 0.08);
}
.apps__copy { padding: 16px 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.apps h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.04em; line-height: 0.95; color: var(--ink); }
.apps .eyebrow { color: var(--red); }
.stores { display: flex; gap: 10px; flex-wrap: wrap; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}
.store svg { width: 16px; height: 16px; fill: #fff; }
.apps__photo {
  background: #111;
  display: grid;
  place-items: center;
  padding: 12px;
}
.apps__photo img {
  width: auto;
  max-width: 100%;
  height: auto;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 12px 20px;
  background: #fff;
  border-top: 1px solid rgba(26, 18, 14, 0.08);
  color: var(--muted);
  font-size: 14px;
}
footer a { color: var(--ink); }

@media (max-width: 980px) {
  .steps, .fleet, .berths, .apps, .facts { display: block; }
  .hero { height: auto; min-height: 100vh; }
  .hero__copy { position: relative; top: auto; left: auto; max-width: none; padding: 96px 20px 20px; }
  .stage { --w: min(92vw, 552px); position: relative; bottom: auto; margin-top: -8vh; }
  .coach-card { min-height: 0; padding: 14px 16px 10px; }
  .berths, .apps { margin: 0; }
  .trip, .hold, .decks, .pass dl { display: block; }
  .trip__fare { align-items: flex-start; margin-top: 12px; }
  .hold-card, .plan-board { margin-bottom: 0; }
  footer { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .rig, .coach-card img, .apps__photo img, .door__panel, .step, .steps, .fleet, .deck, .cursor { transition: none; }
  .stage__floor, .wheel, .strip__track, .scrollcue { animation: none; }
  .steps, .fleet, .deck, .apps__photo img, .strip__track, .trip, .plan-board, .hold-card, .pass, .set { transform: none; }
}
