:root {
  --ink: #07090a;
  --ink-2: #111517;
  --foam: #f3f6f5;
  --mute: rgba(243, 246, 245, .62);
  --line: rgba(243, 246, 245, .14);
  --aqua: #8fe9ff;
  --aqua-deep: #2bb8d9;
  --display: "Archivo", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--ink); color-scheme: dark; }
body {
  background: var(--ink);
  color: var(--foam);
  font-family: var(--display);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; }

/* ---------- top bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(16px, 3.4vw, 44px);
  pointer-events: none;
}
.bar > * { pointer-events: auto; }
.logo {
  color: var(--foam); text-decoration: none;
  font-weight: 900; font-stretch: 125%; font-size: 20px; letter-spacing: .04em;
}
.logo span { color: var(--aqua); }
.bar nav { display: flex; align-items: center; gap: 14px; }
.tag {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mute); border: 1px solid var(--line); border-radius: 99px; padding: 6px 11px;
}
.bar-book {
  font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 99px;
  background: var(--foam); color: var(--ink);
  transition: transform .25s ease, background .25s ease;
}
.bar-book:hover { background: var(--aqua); transform: translateY(-1px); }

/* ---------- scroll stage ---------- */
.track { position: relative; height: 1200vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
#scene, #dust { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#dust { pointer-events: none; }
.vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(7, 9, 10, .7) 100%),
    linear-gradient(to bottom, rgba(7, 9, 10, .55), transparent 22%, transparent 70%, rgba(7, 9, 10, .7));
}

/* beats: text that comes and goes with the scroll (opacity set from JS) */
.beat {
  position: absolute; z-index: 5; opacity: 0; will-change: opacity, transform;
  pointer-events: none;
}
.beat h1, .beat h2 {
  font-weight: 900; font-stretch: 125%; line-height: .92; letter-spacing: -.01em;
  text-wrap: balance;
}
.beat h1 { font-size: clamp(48px, 9.5vw, 156px); }
.beat h2 { font-size: clamp(40px, 6.6vw, 112px); }
.beat .sub { margin-top: 18px; font-size: clamp(16px, 1.5vw, 21px); color: var(--mute); font-weight: 400; }
.kicker {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--aqua);
  margin-bottom: 18px; font-weight: 600;
}
.beat-hero { left: clamp(16px, 6vw, 96px); bottom: 15vh; }
.beat-left { left: clamp(16px, 6vw, 96px); top: 50%; translate: 0 -50%; }
.beat-right { right: clamp(16px, 6vw, 96px); top: 50%; translate: 0 -50%; text-align: right; }
.beat-center { left: 0; right: 0; top: 50%; translate: 0 -50%; text-align: center; padding: 0 16px; }
.beat h1, .beat h2 { text-shadow: 0 2px 40px rgba(0, 0, 0, .45); }
/* the cabin beat sits over the bright windshield: a soft dark wash keeps it readable */
.beat-right::before {
  content: ''; position: absolute; inset: -35% -20% -35% -45%; z-index: -1;
  background: radial-gradient(closest-side, rgba(7, 9, 10, .62), rgba(7, 9, 10, .3) 60%, transparent);
}

.scroll-hint {
  margin-top: 34px; width: 26px; height: 42px; border: 1.5px solid var(--mute); border-radius: 99px;
  position: relative;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 4px; background: var(--foam); animation: hint 1.8s ease-in-out infinite;
}
@keyframes hint { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* steps checklist during the wipe */
.steps { list-style: none; margin-top: 30px; display: grid; gap: 12px; }
.steps li {
  display: flex; align-items: center; gap: 14px;
  font-size: clamp(16px, 1.6vw, 22px); font-weight: 600; color: var(--mute);
  transition: color .35s ease;
}
.steps i {
  width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); flex: none;
  position: relative; transition: background .35s ease, border-color .35s ease;
}
.steps i::after {
  content: ""; position: absolute; left: 8px; top: 4px; width: 6px; height: 12px;
  border: solid var(--ink); border-width: 0 2.5px 2.5px 0; rotate: 45deg; scale: 0;
  transition: scale .35s cubic-bezier(.3, 1.4, .5, 1);
}
.steps li.on { color: var(--foam); }
.steps li.on i { background: var(--aqua); border-color: var(--aqua); }
.steps li.on i::after { scale: 1; }

/* ---------- the end: big book button ---------- */
.end {
  position: absolute; inset: 0; z-index: 6;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 16px;
  opacity: 0; pointer-events: none;
}
.end.live { pointer-events: auto; }
.end-kicker { font-size: clamp(18px, 2vw, 26px); color: var(--mute); margin-bottom: 2vh; font-weight: 500; }
.start-wrap { position: relative; display: grid; place-items: center; will-change: transform; }
.start-halo {
  position: absolute; width: 150%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(143, 233, 255, .22), rgba(143, 233, 255, 0) 62%);
  animation: halo 2.6s ease-in-out infinite;
}
@keyframes halo { 50% { transform: scale(1.08); opacity: .6; } }
.start-wrap.away .start-halo { opacity: 0; transition: opacity .4s ease; }

/* the book button is a wheel: tyre, alloy rim, drilled disc, aqua caliper, BOOK on the centre cap */
.tyre-btn {
  --size: clamp(260px, 46vmin, 440px);
  position: relative; width: var(--size); aspect-ratio: 1; padding: 0; border-radius: 50%;
  color: var(--foam); -webkit-tap-highlight-color: transparent;
}
.tyre-btn:focus-visible { outline: 3px solid var(--aqua); outline-offset: calc(var(--size) * .04); }
.tyre-shadow {
  position: absolute; left: 10%; right: 10%; bottom: -6%; height: 11%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .9), rgba(0, 0, 0, 0));
  transition: transform .3s ease, opacity .3s ease;
}
.tyre-body {
  position: absolute; inset: 0;
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, .65));
  transition: transform .28s cubic-bezier(.3, 1.4, .5, 1);
}
.tyre-layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tyre-spin { transform-origin: 50% 50%; animation: tyreIdle 24s linear infinite; }
@keyframes tyreIdle { to { transform: rotate(1turn); } }
.tyre-btn.rolling .tyre-spin { animation: none; }
.tyre-text {
  font-family: Archivo, sans-serif; font-weight: 800; font-stretch: 125%; font-size: 8.4px;
  fill: #5a656b; letter-spacing: .6px;
}
.tyre-caliper {
  font-family: Archivo, sans-serif; font-weight: 900; font-stretch: 125%; font-size: 5.2px;
  fill: #06323d; text-anchor: middle; dominant-baseline: middle; letter-spacing: .4px;
}
.tyre-cap {
  position: absolute; inset: 33%; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15em;
  background: radial-gradient(circle at 36% 28%, #353e43, #14191c 55%, #07090a);
  box-shadow:
    0 0 0 calc(var(--size) * .008) #dfe6e9,
    0 0 0 calc(var(--size) * .016) #0a0c0e,
    inset 0 3px 8px rgba(255, 255, 255, .14), inset 0 -8px 20px rgba(0, 0, 0, .8);
  transition: box-shadow .3s ease;
}
.tyre-cap small {
  font-size: calc(var(--size) * .023); font-weight: 700; letter-spacing: .26em; padding-left: .26em;
  text-transform: uppercase; color: var(--aqua);
}
.tyre-cap strong {
  font-weight: 900; font-stretch: 125%; line-height: 1; letter-spacing: .01em;
  font-size: calc(var(--size) * .078);
  text-shadow: 0 0 16px rgba(143, 233, 255, .5), 0 0 2px rgba(143, 233, 255, .8);
}
.tyre-btn:hover .tyre-body { transform: translateY(-7px); }
.tyre-btn:hover .tyre-shadow { transform: scale(.9); opacity: .75; }
.tyre-btn:hover .tyre-cap {
  box-shadow:
    0 0 0 calc(var(--size) * .008) #dfe6e9,
    0 0 0 calc(var(--size) * .016) #0a0c0e,
    inset 0 3px 8px rgba(255, 255, 255, .18), inset 0 -8px 20px rgba(0, 0, 0, .7), inset 0 0 30px rgba(143, 233, 255, .18);
}
.tyre-btn.pressed .tyre-body { transform: translateY(3%) scale(.97, .95); transition-duration: .12s; }

/* dust kicked up as the wheel spins away */
.tyre-puff { position: absolute; left: 50%; bottom: -2%; width: 0; height: 0; pointer-events: none; }
.tyre-puff i {
  position: absolute; width: 16vmin; height: 16vmin; margin: -8vmin 0 0 -8vmin; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(214, 206, 192, .42), rgba(214, 206, 192, 0));
  opacity: 0;
}
.tyre-puff.go i { animation: puff 1s cubic-bezier(.2, .7, .3, 1) var(--d) forwards; }
@keyframes puff {
  0% { opacity: .95; transform: translate(0, 0) scale(.25); }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(1.7); }
}
.end-sub { margin-top: 3vh; color: var(--mute); font-size: clamp(15px, 1.4vw, 19px); }

/* chapters + progress */
.chapters {
  position: absolute; z-index: 7; left: clamp(16px, 3.4vw, 44px); bottom: 30px;
  list-style: none; display: flex; gap: 22px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
}
.chapters li { color: rgba(243, 246, 245, .34); transition: color .4s ease; }
.chapters li b { font-weight: 700; margin-right: 4px; }
.chapters li.on { color: var(--foam); }
.chapters li.on b { color: var(--aqua); }
.progress {
  position: absolute; z-index: 7; right: clamp(16px, 3.4vw, 44px); bottom: 36px;
  width: 140px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden;
}
.progress span { display: block; height: 100%; width: 100%; background: var(--aqua); transform-origin: left; transform: scaleX(0); }

.foot {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 26px clamp(16px, 3.4vw, 44px); font-size: 13px; color: var(--mute);
  border-top: 1px solid var(--line);
}
.foot a { color: var(--mute); text-decoration: none; }
.foot a b { color: var(--foam); }
.foot a:hover b { color: var(--aqua); }

/* ---------- booking sheet ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 50; display: grid; place-items: end center; }
.sheet-wrap[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(4, 6, 7, .6); backdrop-filter: blur(10px); animation: fade .35s ease; }
.sheet {
  position: relative; width: min(680px, 100%); max-height: 92vh; overflow: auto;
  background: var(--ink-2); border: 1px solid var(--line); border-bottom: 0;
  border-radius: 28px 28px 0 0; padding: 34px clamp(18px, 4vw, 40px) 30px;
  animation: rise .5s cubic-bezier(.2, .9, .2, 1);
}
@media (min-width: 760px) {
  .sheet-wrap { place-items: center; }
  .sheet { border-radius: 28px; border-bottom: 1px solid var(--line); }
}
@keyframes rise { from { transform: translateY(60px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
.sheet-close {
  position: absolute; right: 16px; top: 14px; width: 40px; height: 40px; border-radius: 50%;
  font-size: 26px; line-height: 1; color: var(--mute);
}
.sheet-close:hover { background: var(--line); color: var(--foam); }
.sheet-kicker { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--aqua); font-weight: 600; }
.sheet h3 { font-weight: 900; font-stretch: 125%; font-size: clamp(28px, 4vw, 38px); margin: 6px 0 22px; line-height: 1; }
.field { margin-bottom: 20px; }
.label { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 9px; }
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pkg {
  text-align: left; padding: 14px; border-radius: 16px; border: 1.5px solid var(--line);
  display: grid; gap: 4px; transition: border-color .2s ease, background .2s ease;
}
.pkg strong { font-size: 15px; font-weight: 700; }
.pkg span { font-size: 12px; color: var(--mute); }
.pkg em { font-style: normal; font-weight: 800; font-stretch: 125%; font-size: 20px; margin-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips-scroll::-webkit-scrollbar { display: none; }
.chip {
  padding: 10px 15px; border-radius: 99px; border: 1.5px solid var(--line);
  font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.chip small { display: block; font-size: 11px; font-weight: 500; color: var(--mute); }
.chip:disabled { opacity: .3; cursor: not-allowed; text-decoration: line-through; }
.pkg:hover, .chip:not(:disabled):hover { border-color: rgba(143, 233, 255, .5); }
.pkg[aria-pressed="true"], .chip[aria-pressed="true"] { border-color: var(--aqua); background: rgba(143, 233, 255, .12); }
.chip[aria-pressed="true"] small { color: var(--foam); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.two input {
  width: 100%; padding: 13px 15px; border-radius: 14px; border: 1.5px solid var(--line);
  background: transparent; color: var(--foam); outline: none;
}
.two input:focus { border-color: var(--aqua); }
.confirm {
  width: 100%; margin-top: 6px; padding: 17px; border-radius: 99px;
  background: var(--aqua); color: var(--ink); font-weight: 800; font-size: 17px;
  transition: opacity .2s ease, transform .2s ease;
}
.confirm:disabled { opacity: .3; cursor: not-allowed; }
.confirm:not(:disabled):hover { transform: translateY(-1px); }
.confirm.ghost { background: var(--foam); }
.sheet-note { margin-top: 12px; text-align: center; font-size: 12px; color: var(--mute); }
.done { text-align: center; padding: 20px 0 6px; }
.done h3 { margin: 18px 0 10px; }
.done-line { color: var(--mute); margin-bottom: 26px; line-height: 1.5; }
.tick { width: 84px; height: 84px; margin: 0 auto; border-radius: 50%; background: var(--aqua); display: grid; place-items: center; animation: pop .5s cubic-bezier(.3, 1.5, .5, 1); }
.tick svg { width: 52px; fill: none; stroke: var(--ink); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .25s ease forwards; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- phones ---------- */
@media (max-width: 760px) {
  .tag { display: none; }
  .beat-left, .beat-right, .beat-center { top: auto; bottom: 16vh; translate: none; left: 16px; right: 16px; text-align: left; }
  .beat-hero { bottom: 14vh; left: 16px; right: 16px; }
  .chapters { gap: 12px; font-size: 10px; bottom: 22px; left: 16px; }
  .chapters li:not(.on) { display: none; }
  .progress { width: 90px; bottom: 28px; right: 16px; }
  .packages { grid-template-columns: 1fr; }
  .pkg { grid-template-columns: 1fr auto; align-items: center; }
  .pkg em { grid-row: 1 / 3; grid-column: 2; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-hint span, .start-halo, .tyre-spin { animation: none; }
}
