/* ==========================================================================
   Motorhome Luxury — "The Coachline" design system
   --------------------------------------------------------------------------
   Grounded in the flagship itself: anthracite blue-black from the Boxer cab,
   porcelain coachwork white, and the champagne coachline decal promoted to
   the site's signature — a fine gold line that travels through every page.
   Display: Instrument Serif. Body/UI: Instrument Sans. Mono is reserved for
   the hire manifest and spec plates, because a price is a document.
   ========================================================================== */

/* ---------- fonts --------------------------------------------------------- */
@font-face {
  font-family: 'Instrument Serif';
  src: url('/assets/fonts/instrument-serif-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/assets/fonts/instrument-serif-400i.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('/assets/fonts/instrument-sans-var.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/fonts/plex-mono-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/fonts/plex-mono-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}

/* ---------- tokens -------------------------------------------------------- */
:root {
  /* Chelsea blue, from daylight to midnight */
  --blue: #034694;
  --blue-bright: #1263C6;
  --night: #031633;
  --night-2: #05224E;
  --night-3: #083266;
  /* the coachwork */
  --porcelain: #F5F4EF;
  --porcelain-2: #EDECE5;
  --white: #FFFFFF;
  /* text */
  --ink: #14243D;
  --ink-soft: #40587A;
  --mist: #9FB4D2;
  --mist-soft: #6C84A8;
  /* the decal */
  --gold: #C6A15B;
  --gold-bright: #E9CE92;
  --gold-deep: #9A7A40;
  /* lines */
  --line-dark: rgba(233, 206, 146, 0.16);
  --line-dark-strong: rgba(233, 206, 146, 0.34);
  --line-light: rgba(20, 36, 61, 0.14);
  --line-light-soft: rgba(20, 36, 61, 0.08);
  /* state */
  --danger: #B4443C;
  --ok: #2E7D5B;

  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Instrument Sans', 'Segoe UI', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* coach-window radii: generous on media, pill on actions, tight on inputs */
  --r-media: 22px;
  --r-card: 16px;
  --r-input: 10px;
  --r-pill: 999px;

  --shell: 1240px;
  --gutter: clamp(20px, 4.5vw, 56px);

  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-snap: cubic-bezier(0.34, 1.3, 0.5, 1);
  --t-fast: 0.22s;

  --shadow-night: 0 30px 80px -30px rgba(1, 12, 30, 0.55);
  --shadow-card: 0 18px 50px -24px rgba(20, 36, 61, 0.28);
}

/* ---------- reset --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 430;
  font-size: 1.02rem;
  line-height: 1.62;
  color: var(--ink);
  background: var(--porcelain);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
ul[class], ol[class] { list-style: none; padding: 0; }
h1, h2, h3, h4 { line-height: 1.05; font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--blue); color: #FFFFFF; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 300;
  background: var(--night); color: var(--porcelain);
  padding: 12px 20px; border-radius: var(--r-input);
  transition: top var(--t-fast) ease;
}
.skip-link:focus { top: 14px; }

.shell { width: min(var(--shell), 100% - var(--gutter) * 2); margin-inline: auto; }
.mono { font-family: var(--mono); font-weight: 400; letter-spacing: -0.01em; }

/* ---------- type roles ----------------------------------------------------- */
.display {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5.4vw, 4.6rem);
  letter-spacing: -0.012em;
  line-height: 0.98;
}
.display .it { font-style: italic; letter-spacing: -0.005em; }
.display-sm { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.lede {
  max-width: 34em;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.35vw, 1.14rem);
  line-height: 1.68;
}
/* legacy aliases so interior/portal pages inherit the system */
.section-title { font-family: var(--serif); font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.02; }
.section-title-sm { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.section-copy { max-width: 62ch; color: var(--ink-soft); margin-top: 14px; }
.eyebrow { color: var(--mist-soft); font-size: 0.86rem; font-weight: 550; margin-bottom: 8px; }

/* ---------- buttons -------------------------------------------------------- */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: var(--porcelain);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px;
  border: 1px solid transparent; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 560; font-size: 0.99rem; letter-spacing: 0.005em;
  text-decoration: none; white-space: nowrap;
  transition: transform var(--t-fast) var(--ease-snap),
              background var(--t-fast) ease,
              border-color var(--t-fast) ease,
              color var(--t-fast) ease,
              box-shadow var(--t-fast) ease;
  overflow: hidden;
}
.btn::after { /* the coachline crosses the button on hover */
  content: '';
  position: absolute; inset: auto 16px 8px 16px; height: 1px;
  background: currentColor; opacity: 0.5;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.btn:hover::after { transform: scaleX(1); }
.btn:hover { transform: translateY(-2px); }
.btn:not(.btn-gold):not(.btn-porcelain):not(.btn-ghost):not(.btn-outline):hover { --btn-bg: var(--blue-bright); }
.btn:active { transform: translateY(0); transition-duration: 0.08s; }

.btn-gold { --btn-bg: var(--gold); --btn-fg: var(--night); font-weight: 620; }
.btn-gold:hover { --btn-bg: var(--gold-bright); }
.btn-porcelain { --btn-bg: var(--porcelain); --btn-fg: var(--night); font-weight: 620; }
.btn-porcelain:hover { --btn-bg: var(--white); box-shadow: 0 14px 34px -14px rgba(233, 206, 146, 0.45); }
.btn-ghost {
  --btn-bg: transparent; --btn-fg: var(--porcelain);
  border-color: rgba(245, 244, 239, 0.34);
}
.btn-ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.btn-outline {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border-color: rgba(20, 36, 61, 0.3);
}
.btn-outline:hover { border-color: var(--ink); }
.btn-big { min-height: 58px; padding: 0 36px; font-size: 1.04rem; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: inherit; font-weight: 560; text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: border-color var(--t-fast) ease, color var(--t-fast) ease;
}
.text-link:hover { color: var(--blue); border-color: currentColor; }

/* ---------- header --------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 120;
  color: var(--porcelain);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
              transform 0.4s var(--ease);
}
.site-header::after {
  content: '';
  position: absolute; inset: auto 0 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-dark-strong) 30%, var(--line-dark-strong) 70%, transparent);
  opacity: 0; transition: opacity 0.35s ease;
}
.site-header.scrolled {
  background: rgba(3, 22, 51, 0.82);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
}
.site-header.scrolled::after { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }

.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 82px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark { width: 52px; height: 22px; color: var(--gold); flex: none; }
.bm-line { stroke-dasharray: 90; stroke-dashoffset: 0; }
.brand:hover .bm-line { animation: brandline 0.9s var(--ease); }
@keyframes brandline { from { stroke-dashoffset: 90; } to { stroke-dashoffset: 0; } }
.brand-word { font-family: var(--serif); font-size: 1.28rem; letter-spacing: 0.01em; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 0.96rem; font-weight: 500; }
.nav-links a {
  position: relative; text-decoration: none; padding-block: 8px;
  opacity: 0.86; transition: opacity var(--t-fast) ease;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-links a[aria-current="page"] { opacity: 1; }
.nav-cta {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 22px;
  border: 1px solid rgba(245, 244, 239, 0.4); border-radius: var(--r-pill);
  text-decoration: none; font-weight: 580; font-size: 0.94rem;
  transition: background var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.nav-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--night); }
.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 1px solid rgba(245, 244, 239, 0.3); border-radius: var(--r-pill);
  background: transparent; color: inherit;
  position: relative; z-index: 20;
}
.nav-toggle-bar {
  display: block; width: 20px; height: 1.6px; background: currentColor;
  margin: 3.2px auto; border-radius: 2px;
  transition: transform 0.3s var(--ease-snap);
}
body.nav-open .nav-toggle-bar:first-child { transform: translateY(2.4px) rotate(45deg); }
body.nav-open .nav-toggle-bar:last-child { transform: translateY(-2.4px) rotate(-45deg); }

/* ---------- hero ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: max(660px, 100svh);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: radial-gradient(70% 90% at 85% 10%, rgba(3, 70, 148, 0.35), transparent 65%) var(--night);
  color: var(--porcelain);
  overflow: clip;
  isolation: isolate;
}
.hero-media { position: absolute; inset: -6% 0; z-index: -3; }
.hero-media picture, .hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 68% 42%;
}
.hero-media img {
  transform: scale(1.12);
  filter: saturate(0.92) brightness(0.9);
  transition: transform 2.6s var(--ease);
}
.hero.is-ready .hero-media img { transform: scale(1.02); }
.hero-scrim {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(78deg, rgba(3, 22, 51, 0.97) 20%, rgba(3, 22, 51, 0.74) 46%, rgba(3, 22, 51, 0.16) 76%),
    linear-gradient(to top, rgba(3, 22, 51, 0.95) 0%, rgba(3, 22, 51, 0.2) 36%),
    linear-gradient(to bottom, rgba(3, 22, 51, 0.55), transparent 24%);
}
.hero-coachline { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-coachline path {
  stroke: var(--gold); stroke-width: 1.6; opacity: 0.9;
  filter: drop-shadow(0 0 6px rgba(233, 206, 146, 0.35));
}
.hero-inner {
  width: min(var(--shell), 100% - var(--gutter) * 2);
  margin-inline: auto;
  padding-top: 150px;
}
.hero-kicker { color: var(--gold-bright); font-size: 0.98rem; font-weight: 520; margin-bottom: 22px; }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 7.4vw, 6.4rem);
  line-height: 0.97; letter-spacing: -0.015em;
}
.hero-title .it { font-style: italic; color: var(--gold-bright); }
.hl { display: block; overflow: hidden; padding-bottom: 0.07em; margin-bottom: -0.07em; }
.hl > span { display: inline-block; }
.hero-lede { margin-top: 26px; max-width: 34em; color: var(--mist); font-size: clamp(1.04rem, 1.4vw, 1.16rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* load choreography: JS stamps per-element delays, .is-ready releases */
.js [data-load] { opacity: 0; transform: translateY(28px); }
.js .hl > span[data-load] { transform: translateY(112%); opacity: 1; }
.js .hero.is-ready [data-load] {
  opacity: 1; transform: none;
  transition: opacity 0.9s var(--ease), transform 1s var(--ease);
}
.js .hero.is-ready .hl > span[data-load] { transition: transform 1.05s var(--ease); }

.availbar {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr auto;
  gap: 10px;
  margin-top: 52px; margin-bottom: 46px;
  padding: 14px;
  border: 1px solid var(--line-dark-strong);
  border-radius: 18px;
  background: rgba(5, 34, 78, 0.62);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: var(--shadow-night);
}
.ab-field { display: grid; gap: 4px; padding: 8px 14px 10px; border-radius: 12px; transition: background var(--t-fast) ease; }
.ab-field:hover, .ab-field:focus-within { background: rgba(245, 244, 239, 0.06); }
.ab-field label { font-size: 0.78rem; font-weight: 560; color: var(--gold-bright); }
.ab-field select, .ab-field input {
  background: transparent; border: 0; padding: 0;
  color: var(--porcelain); font-size: 0.99rem; font-weight: 500;
  min-height: 28px; width: 100%;
}
.ab-field select option { color: var(--ink); background: var(--porcelain); }
.ab-field input::-webkit-calendar-picker-indicator { filter: invert(0.9); cursor: pointer; }
.ab-submit { align-self: center; min-height: 56px; }

.hero-scrollcue {
  position: absolute; left: 50%; bottom: 12px; translate: -50% 0;
  width: 1px; height: 44px; overflow: hidden; opacity: 0.75;
}
.hero-scrollcue span {
  display: block; width: 1px; height: 100%;
  background: linear-gradient(var(--gold-bright), transparent);
  animation: scrollcue 2.4s var(--ease) infinite;
}
@keyframes scrollcue {
  0% { transform: translateY(-100%); }
  55% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* ---------- marquee ---------------------------------------------------------- */
.marquee {
  background: var(--night);
  color: var(--porcelain);
  border-top: 1px solid var(--line-dark);
  overflow: hidden; padding-block: 20px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 44px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  white-space: nowrap; opacity: 0.9;
}
.marquee-track i { width: 7px; height: 7px; flex: none; background: var(--gold); rotate: 45deg; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections --------------------------------------------------------- */
.section { padding-block: clamp(72px, 10vw, 130px); }
.section-soft { background: var(--porcelain-2); }
.split-head {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px); align-items: end;
  margin-bottom: clamp(44px, 6vw, 76px);
}
.split-head .lede { justify-self: end; padding-bottom: 6px; }
.rail-hint {
  display: inline-block; margin-top: 12px;
  font-size: 0.82rem; font-weight: 560; color: var(--gold-deep);
  border: 1px solid var(--gold); border-radius: var(--r-pill);
  padding: 5px 14px;
}

/* scroll reveals (JS adds .rv + .is-in) */
.js .rv { opacity: 0; transform: translateY(30px); }
.js .rv.is-in { opacity: 1; transform: none; transition: opacity 0.85s var(--ease), transform 0.95s var(--ease); }
.js .rv-clip { clip-path: inset(0 0 100% 0 round var(--r-media)); }
.js .rv-clip.is-in { clip-path: inset(0 0 0 0 round var(--r-media)); transition: clip-path 1.15s var(--ease); }

/* ---------- fleet ------------------------------------------------------------- */
.fleet-list { display: grid; gap: clamp(64px, 8vw, 110px); }
.fleet-row {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 72px);
  align-items: center;
}
.fleet-row.flip .fleet-media { order: 2; }
.fleet-media {
  position: relative; display: block; text-decoration: none;
  border-radius: var(--r-media); overflow: clip;
  box-shadow: var(--shadow-card);
}
.fleet-frame { display: block; overflow: clip; border-radius: inherit; }
.fleet-frame img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.3s var(--ease), filter 0.6s ease;
}
.fleet-media:hover .fleet-frame img { transform: scale(1.12); filter: saturate(1.05); }
.fleet-media::after { /* coachline runs along the sill on hover */
  content: '';
  position: absolute; left: 7%; right: 7%; bottom: 18px; height: 1.5px;
  background: var(--gold-bright);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.7s var(--ease);
  filter: drop-shadow(0 0 5px rgba(233, 206, 146, 0.5));
}
.fleet-media:hover::after { transform: scaleX(1); }
.fleet-plate {
  position: absolute; top: 18px; left: 18px;
  padding: 8px 14px;
  background: rgba(3, 22, 51, 0.78); color: var(--gold-bright);
  border: 1px solid var(--line-dark-strong); border-radius: 8px;
  font-size: 0.78rem; letter-spacing: 0.02em;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.fleet-name { font-family: var(--serif); font-size: clamp(2rem, 3.2vw, 2.9rem); }
.fleet-tagline { color: var(--ink-soft); margin-top: 10px; max-width: 46ch; }
.spec {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 20px;
  font-family: var(--mono); font-size: 0.76rem;
}
.spec li {
  padding: 7px 12px;
  border: 1px solid var(--line-light);
  border-radius: var(--r-pill);
  color: var(--ink-soft);
  background: var(--white);
}
.fleet-layout { margin-top: 18px; display: grid; gap: 7px; color: var(--ink-soft); font-size: 0.95rem; }
.fleet-layout li { padding-left: 20px; position: relative; }
.fleet-layout li::before {
  content: ''; position: absolute; left: 0; top: 0.62em;
  width: 8px; height: 1.5px; background: var(--gold);
}
.fleet-foot { margin-top: 26px; display: grid; gap: 18px; }
.fleet-rate { font-size: 1rem; color: var(--ink-soft); }
.fleet-rate strong { font-family: var(--serif); font-size: 1.9rem; color: var(--ink); font-weight: 400; padding-inline: 2px; }
.rate-base { display: block; font-size: 0.85rem; color: var(--mist-soft); margin-top: 2px; }
.fleet-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.fleet-licence {
  margin-top: 18px; padding: 12px 16px;
  border-left: 2px solid var(--gold);
  background: var(--white); border-radius: 0 var(--r-input) var(--r-input) 0;
  font-size: 0.9rem; color: var(--ink-soft);
}

/* ---------- dusk band ---------------------------------------------------------- */
.dusk {
  position: relative; overflow: clip; isolation: isolate;
  color: var(--porcelain);
  padding-block: clamp(110px, 16vw, 190px);
}
.dusk-media {
  position: absolute; inset: -14% 0; z-index: -2;
  background-image:
    linear-gradient(rgba(3, 22, 51, 0.58), rgba(3, 22, 51, 0.74)),
    url('/assets/scenery/78c343ec167e86dd8ef26305.jpg');
  background-color: var(--night-2);
  background-size: cover; background-position: center 38%;
  will-change: transform;
}
.dusk-inner { display: grid; gap: clamp(40px, 6vw, 72px); }
.dusk-line { max-width: 14em; }
.dusk-line .it { color: var(--gold-bright); }
.dusk-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px; max-width: 880px;
}
.stat {
  padding: 22px 24px 26px;
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--r-card);
  background: rgba(3, 22, 51, 0.5);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.stat dt { font-size: 0.88rem; color: var(--mist); }
.stat dd {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1; color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}

/* ---------- destinations rail ---------------------------------------------------- */
.destinations { padding-bottom: clamp(80px, 10vw, 140px); }
.rail {
  display: flex; gap: clamp(16px, 2vw, 26px);
  overflow-x: auto;
  padding: 6px calc((100% - min(var(--shell), 100% - var(--gutter) * 2)) / 2) 26px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging * { pointer-events: none; }
.rail-card {
  flex: 0 0 min(340px, 74vw);
  scroll-snap-align: center;
  border-radius: var(--r-media); overflow: clip;
  position: relative; isolation: isolate;
  background: var(--night-2);
  box-shadow: var(--shadow-card);
}
.rail-card img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.rail-card:hover img { transform: scale(1.06); }
.rail-card figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 60px 22px 20px;
  background: linear-gradient(transparent, rgba(3, 22, 51, 0.88));
  color: var(--porcelain);
}
.rail-card strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; }
.rail-card span { display: block; margin-top: 4px; font-size: 0.86rem; color: var(--mist); }
.rail-card.img-missing { display: none; }

/* ---------- journey ---------------------------------------------------------------- */
.journey {
  background:
    radial-gradient(48% 70% at 12% 8%, rgba(3, 70, 148, 0.4), transparent 70%)
    var(--night); color: var(--porcelain);
  padding-block: clamp(84px, 11vw, 150px);
  position: relative; overflow: clip;
}
.journey::before { /* faint aerial road behind the steps */
  content: '';
  position: absolute; inset: 0;
  background-image: url('/assets/scenery/1c922188b63724e8109c2317.jpg');
  background-size: cover; background-position: 80% center;
  opacity: 0.14; filter: saturate(0.6);
  mask-image: linear-gradient(100deg, transparent 42%, #000 78%);
  -webkit-mask-image: linear-gradient(100deg, transparent 42%, #000 78%);
}
.journey-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 100px); align-items: center;
}
.journey-copy .lede { color: var(--mist); margin-block: 20px 30px; }
.journey-copy .it { color: var(--gold-bright); }
.journey-steps { position: relative; display: grid; gap: clamp(34px, 4vw, 52px); padding-left: 84px; }
.journey-line { position: absolute; left: 8px; top: 6px; width: 60px; height: calc(100% - 12px); }
.journey-line path { stroke: var(--gold); stroke-width: 1.6; opacity: 0.85; }
.jstep { position: relative; max-width: 46ch; }
.jstep-dot {
  position: absolute; left: -66px; top: 0;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line-dark-strong); border-radius: 50%;
  background: var(--night-2);
  font-family: var(--serif); font-size: 1.15rem; color: var(--gold-bright);
}
.jstep h3 { font-family: var(--serif); font-size: 1.55rem; }
.jstep p { margin-top: 8px; color: var(--mist); font-size: 0.98rem; }

/* ---------- reviews rotator ---------------------------------------------------------- */
.quotes { position: relative; max-width: 900px; text-align: center; }
.quotes-open {
  font-family: var(--serif); font-size: 7rem; line-height: 0.5;
  color: var(--gold); height: 0.4em;
}
.quote-stage { position: relative; min-height: 230px; display: grid; }
.quote-slide {
  grid-area: 1 / 1;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  pointer-events: none;
  display: grid; align-content: center; gap: 20px;
}
.quote-slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.quote-text {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.5rem, 2.9vw, 2.3rem); line-height: 1.24;
}
.quote-by { color: var(--ink-soft); font-size: 0.95rem; }
.quote-dots { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }
.quote-dot {
  width: 34px; height: 4px; padding: 0;
  border: 0; border-radius: var(--r-pill);
  background: var(--line-light);
  transition: background var(--t-fast) ease;
}
.quote-dot.is-active { background: var(--gold); }
.quote-dot:hover { background: var(--gold-deep); }

/* ---------- final CTA ------------------------------------------------------------------ */
.cta-final {
  position: relative;
  background:
    radial-gradient(58% 90% at 50% 0%, rgba(3, 70, 148, 0.5), transparent 72%)
    var(--night); color: var(--porcelain);
  padding-block: clamp(90px, 12vw, 160px);
  text-align: center; overflow: clip;
}
.cta-final .it { color: var(--gold-bright); }
.cta-inner { display: grid; justify-items: center; gap: 30px; }
.cta-lede { color: var(--mist); }
.cta-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; justify-content: center; }
.cta-phone {
  color: var(--mist); text-decoration: none; font-size: 1rem;
  border-bottom: 1px solid var(--line-dark-strong); padding-bottom: 2px;
  transition: color var(--t-fast) ease;
}
.cta-phone:hover { color: var(--gold-bright); }
.corner { position: absolute; width: 74px; height: 74px; pointer-events: none; }
.corner::before, .corner::after { content: ''; position: absolute; background: var(--gold); opacity: 0.8; }
.corner::before { width: 100%; height: 1.5px; }
.corner::after { width: 1.5px; height: 100%; }
.c-tl { top: 30px; left: 30px; }
.c-br { bottom: 30px; right: 30px; rotate: 180deg; }

/* ---------- cover (interior page heads) -------------------------------------------------- */
.cover, .page-head {
  position: relative;
  background: var(--night); color: var(--porcelain);
  overflow: clip; isolation: isolate;
}
.cover-compact .cover-inner,
.page-head > .shell,
.page-head > .container {
  padding-block: clamp(150px, 19vw, 220px) clamp(56px, 8vw, 90px);
}
.page-head > .container { width: min(var(--shell), 100% - var(--gutter) * 2); margin-inline: auto; }
.cover .it, .page-head .it { color: var(--gold-bright); }
.cover .lede, .page-head .section-copy { color: var(--mist); margin-top: 22px; }
.cover::after, .page-head::after { /* the coachline closes every cover */
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-dark-strong) 25%, var(--line-dark-strong) 75%, transparent);
}
.cover-kicker { color: var(--gold-bright); font-size: 0.85rem; margin-bottom: 16px; }
.cover .btn-row { margin-top: 30px; }
.cover-inner > h2 { margin-top: 40px; font-family: var(--serif); font-size: 1.55rem; color: var(--gold-bright); }
.cover-inner > p:not(.lede):not(.cover-kicker) { max-width: 66ch; color: var(--mist); margin-top: 12px; }
.cover-inner .prose-note { color: var(--mist-soft); }

.cover-vehicle { min-height: max(560px, 84svh); display: flex; align-items: flex-end; }
.cover-vehicle .cover-inner { padding-block: 170px 64px; max-width: 720px; }
.cover-media { position: absolute; inset: -6% 0; z-index: -2; }
.cover-media picture, .cover-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%;
  filter: saturate(0.92) brightness(0.88);
}
.cover-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(80deg, rgba(3,22,51,0.94) 24%, rgba(3,22,51,0.55) 54%, rgba(3,22,51,0.12) 80%),
    linear-gradient(to top, rgba(3,22,51,0.9), transparent 46%);
}
.cover-price { margin-top: 22px; color: var(--mist); }
.cover-price strong { font-family: var(--serif); font-weight: 400; font-size: 2.1rem; color: var(--porcelain); padding-inline: 4px; }
.cover-vehicle .spec li { background: rgba(5,34,78,0.6); border-color: var(--line-dark); color: var(--mist); }

/* ---------- forms ------------------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 560; }
.field .opt { color: var(--mist-soft); font-weight: 430; }
.field input, .field textarea, .field select {
  border: 1px solid var(--line-light);
  border-radius: var(--r-input);
  background: var(--white);
  padding: 13px 15px;
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.18);
}
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: 0.95rem; color: var(--ink-soft); }
.check input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--gold-deep); }
.form-error { color: var(--danger); font-weight: 550; margin-top: 16px; }
.form-note { margin-top: 16px; font-size: 0.88rem; color: var(--mist-soft); max-width: 62ch; }
.form-success { margin-top: 16px; color: var(--ok); font-weight: 560; }
form .btn { margin-top: 22px; }

/* ---------- booking page -------------------------------------------------------------------- */
.booking-section { padding-top: clamp(48px, 6vw, 72px); }
.booking-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 370px;
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}
.bk-block { margin-bottom: clamp(40px, 5vw, 60px); }
.bk-h {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--serif); font-size: 1.7rem;
  margin-bottom: 22px;
}
.bk-n {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--gold); border-radius: 50%;
  font-size: 1.05rem; color: var(--gold-deep);
}
.vehicle-choices { display: grid; gap: 12px; }
.vehicle-choice {
  display: grid; grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px; align-items: center;
  padding: 12px;
  text-align: left;
  border: 1px solid var(--line-light);
  border-radius: var(--r-card);
  background: var(--white);
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease, transform var(--t-fast) var(--ease-snap);
}
.vehicle-choice:hover { border-color: var(--gold); transform: translateY(-2px); }
.vehicle-choice[aria-checked="true"] {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), var(--shadow-card);
}
.vehicle-choice img { width: 120px; height: 92px; object-fit: cover; border-radius: 10px; }
.vc-model { font-family: var(--mono); font-size: 0.72rem; color: var(--mist-soft); }
.vc-name { font-family: var(--serif); font-size: 1.3rem; margin-top: 2px; }
.vc-meta { font-size: 0.85rem; color: var(--ink-soft); margin-top: 4px; }
.vc-rate { font-size: 0.85rem; color: var(--blue); font-weight: 560; margin-top: 4px; }

.cal-shell {
  border: 1px solid var(--line-light);
  border-radius: var(--r-card);
  background: var(--white);
  padding: 20px;
  box-shadow: var(--shadow-card);
}
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-title { font-family: var(--serif); font-size: 1.35rem; }
.cal-nav {
  width: 42px; height: 42px;
  border: 1px solid var(--line-light); border-radius: 50%;
  background: transparent;
  transition: border-color var(--t-fast) ease, background var(--t-fast) ease, transform var(--t-fast) var(--ease-snap);
}
.cal-nav:hover:not(:disabled) { border-color: var(--gold); background: rgba(198,161,91,0.08); transform: scale(1.06); }
.cal-nav:disabled { opacity: 0.35; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: 0.72rem; font-weight: 600; color: var(--mist-soft); padding-block: 8px; }
.cal-day {
  aspect-ratio: 1; border: 0; border-radius: 10px;
  background: transparent; font-size: 0.92rem; font-variant-numeric: tabular-nums;
  position: relative;
  transition: background var(--t-fast) ease, color var(--t-fast) ease, transform 0.12s var(--ease-snap);
}
.cal-day:hover:not(:disabled) { background: rgba(198, 161, 91, 0.16); transform: scale(1.06); }
.cal-day.is-empty { visibility: hidden; }
.cal-day:disabled { color: rgba(20, 36, 61, 0.28); cursor: not-allowed; }
.cal-day.is-peak::after {
  content: ''; position: absolute; left: 50%; bottom: 5px; translate: -50% 0;
  width: 4px; height: 4px; border-radius: 50%; background: var(--gold);
}
.cal-day.is-hired { background: rgba(20, 36, 61, 0.06); color: rgba(20,36,61,0.3); text-decoration: line-through; }
.cal-day.is-turn { background: repeating-linear-gradient(45deg, transparent 0 4px, rgba(20,36,61,0.07) 4px 8px); }
.cal-day.in-range { background: rgba(198, 161, 91, 0.2); border-radius: 0; }
.cal-day.is-edge { background: var(--blue); color: #FFFFFF; font-weight: 600; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; font-size: 0.8rem; color: var(--ink-soft); }
.lg { display: inline-flex; align-items: center; gap: 7px; }
.lg::before { content: ''; width: 13px; height: 13px; border-radius: 4px; }
.lg-free::before { border: 1px solid var(--line-light); }
.lg-hired::before { background: rgba(20, 36, 61, 0.1); }
.lg-turn::before { background: repeating-linear-gradient(45deg, transparent 0 3px, rgba(20,36,61,0.14) 3px 6px); }
.lg-sel::before { background: var(--blue); }
.cal-note { margin-top: 12px; font-size: 0.88rem; color: var(--mist-soft); }
.cal-note.is-error { color: var(--danger); font-weight: 550; }

.extras { display: grid; gap: 10px; }
.extras-empty { color: var(--mist-soft); }
.extra {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 15px 18px;
  border: 1px solid var(--line-light); border-radius: var(--r-input);
  background: var(--white);
  cursor: pointer;
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.extra:hover { border-color: var(--gold); }
.extra:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.extra-label { display: flex; align-items: center; gap: 12px; }
.extra-label input { width: 17px; height: 17px; accent-color: var(--gold-deep); }
.extra-price { font-family: var(--mono); font-size: 0.85rem; color: var(--ink-soft); white-space: nowrap; }

/* the manifest: a document, treated like one */
.manifest-rail { position: sticky; top: 104px; }
.manifest {
  background: var(--night);
  color: var(--porcelain);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-night);
  overflow: hidden;
  transition: opacity var(--t-fast) ease;
}
.manifest.is-busy { opacity: 0.65; }
.manifest-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 20px 24px 16px;
  border-bottom: 1px dashed var(--line-dark-strong);
}
.manifest-title { font-family: var(--serif); font-size: 1.35rem; }
.manifest-ref { font-size: 0.78rem; color: var(--gold-bright); }
.manifest-body { padding: 18px 24px; font-size: 0.83rem; min-height: 130px; }
.manifest-empty { color: var(--mist); font-family: var(--sans); font-size: 0.92rem; }
.m-row { display: flex; justify-content: space-between; gap: 14px; padding-block: 4px; }
.m-row span:last-child { text-align: right; white-space: nowrap; }
.m-sub { color: var(--mist); }
.m-good { color: var(--gold-bright); }
.m-total { font-size: 1.02rem; color: var(--gold-bright); font-weight: 500; padding-block: 8px; }
.m-rule { border: 0; border-top: 1px dashed var(--line-dark-strong); margin-block: 10px; }
.m-flash { animation: mflash 0.5s ease; }
@keyframes mflash { 0% { background: rgba(233, 206, 146, 0.12); } 100% { background: transparent; } }
.manifest-foot {
  padding: 16px 24px 20px;
  border-top: 1px dashed var(--line-dark-strong);
  font-size: 0.82rem; color: var(--mist);
}
.payment-banner { padding: 16px 20px; border-radius: var(--r-input); margin-bottom: 26px; font-size: 0.95rem; }
.payment-banner.notice { background: rgba(198, 161, 91, 0.14); border: 1px solid var(--gold); }
.payment-banner.success { background: rgba(46, 125, 91, 0.12); border: 1px solid var(--ok); color: var(--ok); }
.bk-success {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--gold); border-radius: var(--r-card);
  background: var(--white); box-shadow: var(--shadow-card);
}
.bk-success-title { font-family: var(--serif); font-size: 1.9rem; }
.bk-success-copy { margin-block: 14px 24px; color: var(--ink-soft); }

/* ---------- gallery ---------------------------------------------------------------------------- */
.gallery-section { padding-top: clamp(44px, 6vw, 64px); }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(30px, 4vw, 44px); }
.chip {
  border: 1px solid var(--line-light); border-radius: var(--r-pill);
  background: transparent; padding: 9px 20px;
  font-size: 0.92rem; font-weight: 540;
  transition: background var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.chip:hover { border-color: var(--gold); color: var(--gold-deep); }
.chip.active { background: var(--blue); border-color: var(--blue); color: #FFFFFF; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.tile { position: relative; }
.tile.is-hidden { display: none; }
.tile-open {
  display: block; width: 100%; padding: 0; border: 0;
  border-radius: var(--r-media); overflow: clip;
  background: var(--night-2);
  box-shadow: var(--shadow-card);
}
.tile-open img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.1s var(--ease); }
.tile-open:hover img { transform: scale(1.07); }
.tile figcaption { margin-top: 10px; font-size: 0.86rem; color: var(--mist-soft); }
.vehicle-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.vehicle-gallery-item.lead { grid-column: 1 / -1; }
.vehicle-gallery-item.lead .tile-open img { aspect-ratio: 21 / 9; }

.lightbox { border: 0; padding: 0; margin: auto; width: min(1100px, 94vw); background: transparent; }
.lightbox::backdrop { background: rgba(3, 22, 51, 0.92); backdrop-filter: blur(8px); }
.lightbox figure { display: grid; gap: 14px; }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: var(--r-card); }
.lightbox figcaption { color: var(--mist); text-align: center; font-size: 0.92rem; }
.lb-close, .lb-nav {
  position: fixed; z-index: 5;
  width: 52px; height: 52px;
  border: 1px solid var(--line-dark-strong); border-radius: 50%;
  background: rgba(5, 34, 78, 0.7); color: var(--porcelain);
  font-size: 1.3rem;
  transition: background var(--t-fast) ease, color var(--t-fast) ease, transform var(--t-fast) var(--ease-snap);
}
.lb-close:hover, .lb-nav:hover { background: var(--gold); color: var(--night); transform: scale(1.07); }
.lb-close { top: 22px; right: 22px; }
.lb-nav { top: 50%; translate: 0 -50%; }
.lb-prev { left: 22px; }
.lb-next { right: 22px; }

/* ---------- walkthrough band --------------------------------------------------------------------- */
.walk { background: var(--night); color: var(--porcelain); padding-block: clamp(80px, 10vw, 130px); }
.walk-grid {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 80px); align-items: center;
}
.walk .it { color: var(--gold-bright); }
.walk .lede { color: var(--mist); margin-block: 18px 28px; }
.walk-media video {
  width: 100%; border-radius: var(--r-media);
  box-shadow: var(--shadow-night);
  border: 1px solid var(--line-dark);
}

/* ---------- detail pages --------------------------------------------------------------------------- */
.detail-two-col {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: clamp(36px, 5vw, 90px); align-items: start;
}
.detail-intro { margin-block: 18px 26px; }
.detail-list { display: grid; gap: 10px; margin-top: 22px; }
.detail-list li { padding-left: 22px; position: relative; color: var(--ink-soft); }
.detail-list li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 9px; height: 1.5px; background: var(--gold); }
.detail-panel {
  padding: clamp(24px, 3vw, 36px);
  background: var(--night); color: var(--porcelain);
  border-radius: var(--r-card); box-shadow: var(--shadow-night);
  display: grid; gap: 14px; justify-items: start;
}
.detail-panel h3 { font-family: var(--serif); font-size: 1.45rem; }
.detail-panel p { color: var(--mist); font-size: 0.95rem; }
.detail-panel .text-link { color: var(--gold-bright); border-color: var(--gold); }
.detail-panel .eyebrow { color: var(--gold-bright); }
.extras-list { display: grid; gap: 10px; margin-top: 22px; }
.extra-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 13px 16px;
  background: var(--white); border: 1px solid var(--line-light); border-radius: var(--r-input);
  font-size: 0.95rem;
}
.extra-row strong { font-family: var(--mono); font-weight: 500; font-size: 0.85rem; color: var(--gold-deep); white-space: nowrap; }

/* ---------- about ------------------------------------------------------------------------------------ */
.about-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 84px); align-items: center;
}
.about-grid.flip .about-media { order: 2; }
.about-body { display: grid; gap: 16px; justify-items: start; }
.about-media { border-radius: var(--r-media); overflow: clip; box-shadow: var(--shadow-card); }
.about-media span { display: block; }
.about-media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.strip-photo { position: relative; overflow: clip; max-height: 62vh; isolation: isolate; background: var(--night); }
.strip-photo img { width: 100%; height: 62vh; object-fit: cover; filter: saturate(0.9); }
.strip-photo.img-missing { display: none; }
.strip-caption {
  position: absolute; inset: auto 0 26px 0;
  color: var(--porcelain); font-size: 0.9rem;
  text-shadow: 0 1px 12px rgba(3, 22, 51, 0.8);
}

/* ---------- routes ------------------------------------------------------------------------------------ */
.route-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 30px); }
.route-card {
  border-radius: var(--r-media); overflow: clip;
  background: var(--white);
  border: 1px solid var(--line-light-soft);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}
.route-media { display: block; overflow: clip; }
.route-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1.2s var(--ease); }
.route-card:hover .route-media img { transform: scale(1.06); }
.route-card.img-missing .route-media { display: none; }
.route-body { padding: clamp(20px, 2.5vw, 30px); display: grid; gap: 10px; }
.route-nights { font-size: 0.74rem; color: var(--gold-deep); }
.route-body h2 { font-family: var(--serif); font-size: 1.65rem; }
.route-body > p { color: var(--ink-soft); font-size: 0.96rem; }
.route-line {
  margin-top: 8px; padding-top: 14px;
  border-top: 1px solid var(--line-light);
  font-size: 0.88rem; font-weight: 550; color: var(--ink);
}

/* ---------- collection -------------------------------------------------------------------------------- */
.collection-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.5vw, 30px); }
.collection-card { border-radius: var(--r-media); padding: clamp(26px, 3.5vw, 44px); display: grid; gap: 16px; align-content: start; }
.night-card { background: var(--night); color: var(--porcelain); box-shadow: var(--shadow-night); }
.night-card .it { color: var(--gold-bright); }
.night-card p { color: var(--mist); }
.location-facts { display: grid; gap: 12px; margin-top: 10px; }
.location-facts div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dashed var(--line-dark-strong); padding-bottom: 10px; }
.location-facts dt { color: var(--mist); }
.location-facts dd { font-weight: 560; }
.map-card { background: var(--white); border: 1px solid var(--line-light-soft); position: relative; overflow: clip; box-shadow: var(--shadow-card); }
.map-art { position: absolute; inset: 0; opacity: 0.55; }
.map-art svg { width: 100%; height: 100%; }
.map-r { fill: none; stroke: var(--line-light); stroke-width: 2.5; }
.map-r.r2, .map-r.r3 { stroke-width: 1.5; }
.map-pin { fill: var(--gold); }
.map-pulse { fill: none; stroke: var(--gold); stroke-width: 1.5; transform-origin: 210px 120px; animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(3.4); opacity: 0; } }
.map-copy { position: relative; display: grid; gap: 12px; justify-items: start; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.trust-item {
  display: grid; gap: 6px; align-content: start;
  padding: 20px 22px;
  background: var(--white); border: 1px solid var(--line-light-soft);
  border-radius: var(--r-card);
}
.trust-item strong { font-weight: 620; }
.trust-item span { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- contact ------------------------------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-aside { display: grid; gap: 18px; }
.contact-card {
  padding: clamp(22px, 3vw, 32px);
  background: var(--night); color: var(--porcelain);
  border-radius: var(--r-card); display: grid; gap: 8px; justify-items: start;
  box-shadow: var(--shadow-night);
}
.contact-card:last-child { background: var(--white); color: var(--ink); border: 1px solid var(--line-light-soft); box-shadow: var(--shadow-card); }
.contact-h { font-family: var(--serif); font-size: 1.25rem; color: var(--gold-bright); }
.contact-card:last-child .contact-h { color: var(--gold-deep); }
.contact-big { font-size: 1.2rem; font-weight: 560; text-decoration: none; transition: color var(--t-fast) ease; }
.contact-big:hover { color: var(--gold-bright); }
.contact-meta { font-size: 0.9rem; color: var(--mist); }
.contact-copy { color: var(--ink-soft); font-size: 0.96rem; }
.contact-copy a { color: var(--blue); }

/* ---------- faq ----------------------------------------------------------------------------------------- */
.faq-list { max-width: 820px; }
.faq-list details { border-bottom: 1px solid var(--line-light); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  list-style: none; cursor: pointer;
  padding: 24px 4px;
  font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.5rem);
  transition: color var(--t-fast) ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--gold-deep); }
.faq-x { position: relative; width: 18px; height: 18px; flex: none; }
.faq-x::before, .faq-x::after {
  content: ''; position: absolute; inset: 0; margin: auto;
  background: var(--gold-deep);
  transition: transform 0.35s var(--ease-snap);
}
.faq-x::before { width: 18px; height: 1.5px; }
.faq-x::after { width: 1.5px; height: 18px; }
details[open] .faq-x::after { transform: rotate(90deg); }
.faq-list details p { padding: 0 4px 26px; color: var(--ink-soft); max-width: 66ch; }

/* ---------- portal / status / admin ---------------------------------------------------------------------- */
.portal-shell { width: min(var(--shell), 100% - var(--gutter) * 2); margin-inline: auto; }
.portal-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 26px; align-items: start; padding-block: clamp(40px, 5vw, 60px); }
.portal-card {
  background: var(--white); border: 1px solid var(--line-light-soft);
  border-radius: var(--r-card); padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow-card);
  display: grid; gap: 14px; align-content: start;
}
.portal-kicker { color: var(--gold-deep); font-size: 0.85rem; font-weight: 560; }
.portal-ref { color: var(--gold-deep); }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--r-pill);
  background: rgba(198, 161, 91, 0.15); color: var(--gold-deep);
  font-size: 0.85rem; font-weight: 600; width: fit-content;
}
.status-steps { display: grid; gap: 10px; }
.status-step { display: flex; gap: 10px; align-items: baseline; font-size: 0.93rem; color: var(--ink-soft); }
.chat-thread { display: grid; gap: 10px; max-height: 380px; overflow-y: auto; padding-right: 6px; }
.chat-form { display: flex; gap: 10px; }
.chat-form input, .chat-form textarea { flex: 1; border: 1px solid var(--line-light); border-radius: var(--r-input); padding: 12px 14px; }
.secure-note { font-size: 0.82rem; color: var(--mist-soft); }
.portal-error, .portal-loading { padding-block: 40px; color: var(--ink-soft); }
.owner-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- concierge -------------------------------------------------------------------------------------- */
.concierge { position: fixed; right: 20px; bottom: 20px; z-index: 140; display: grid; justify-items: end; gap: 12px; }
.concierge-launch {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 50px; padding: 0 22px;
  border: 1px solid var(--line-dark-strong); border-radius: var(--r-pill);
  background: var(--night); color: var(--porcelain);
  font-weight: 560; box-shadow: var(--shadow-night);
  transition: transform var(--t-fast) var(--ease-snap), background var(--t-fast) ease;
}
.concierge-launch:hover { transform: translateY(-2px); background: var(--night-2); }
.concierge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-bright); animation: cdot 2.2s ease infinite; }
@keyframes cdot { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.concierge-panel {
  width: min(380px, calc(100vw - 40px));
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line-light); border-radius: var(--r-card);
  box-shadow: var(--shadow-night);
  overflow: hidden; display: grid;
}
.concierge-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; background: var(--night); color: var(--porcelain); }
.concierge-head small { color: var(--gold-bright); font-size: 0.72rem; }
.concierge-head strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.15rem; }
.concierge-close { border: 0; background: transparent; color: inherit; font-size: 1.4rem; line-height: 1; }
.concierge-thread { padding: 16px 18px; display: grid; gap: 10px; max-height: 300px; overflow-y: auto; font-size: 0.93rem; }
.concierge-thread > * { padding: 10px 14px; border-radius: 12px; max-width: 86%; }
.concierge-thread .from-user, .concierge-msg-user { background: var(--night); color: var(--porcelain); justify-self: end; }
.concierge-thread .from-bot, .concierge-msg-bot { background: var(--porcelain-2); justify-self: start; }
.concierge-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 12px; }
.concierge-chips button {
  border: 1px solid var(--line-light); border-radius: var(--r-pill);
  background: transparent; padding: 6px 12px; font-size: 0.8rem;
  transition: border-color var(--t-fast) ease, color var(--t-fast) ease;
}
.concierge-chips button:hover { border-color: var(--gold); color: var(--gold-deep); }
.concierge-form { display: flex; gap: 8px; padding: 12px 18px 16px; border-top: 1px solid var(--line-light-soft); }
.concierge-form input { flex: 1; border: 1px solid var(--line-light); border-radius: var(--r-pill); padding: 10px 16px; font-size: 0.9rem; }
.concierge-form button { width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--gold); color: var(--night); font-size: 1.05rem; }

/* ---------- mobile booking bar + footer ---------------------------------------------------------------------- */
.mobile-booking-bar {
  display: none;
  position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 130;
  min-height: 56px;
  align-items: center; justify-content: center; gap: 12px;
  background: var(--gold); color: var(--night);
  border-radius: var(--r-pill);
  font-weight: 640; text-decoration: none;
  box-shadow: 0 18px 44px -12px rgba(3, 22, 51, 0.5);
}
.mobile-booking-bar svg { width: 20px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.site-footer { background: linear-gradient(rgba(3, 70, 148, 0.16), transparent 30%) var(--night); color: var(--porcelain); padding-top: clamp(64px, 8vw, 100px); }
.foot-word {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  line-height: 1; letter-spacing: -0.01em;
}
.foot-line { width: 100%; height: clamp(22px, 3vw, 40px); color: var(--gold); margin-top: 10px; opacity: 0.85; }
.foot-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: clamp(30px, 5vw, 70px);
  padding-block: clamp(40px, 6vw, 70px);
}
.foot-strap { font-size: 1.02rem; }
.foot-meta { margin-top: 14px; color: var(--mist); font-size: 0.92rem; }
.foot-trust { margin-top: 14px; color: var(--mist-soft); font-size: 0.84rem; max-width: 40ch; }
.foot-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot-h { font-family: var(--serif); font-size: 1.1rem; color: var(--gold-bright); margin-bottom: 14px; }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-col a { text-decoration: none; color: var(--mist); font-size: 0.95rem; transition: color var(--t-fast) ease; width: fit-content; }
.foot-col a:hover { color: var(--porcelain); }
.foot-contact { display: grid; gap: 12px; align-content: start; justify-items: start; }
.foot-big { font-size: 1.15rem; font-weight: 560; text-decoration: none; transition: color var(--t-fast) ease; }
.foot-big:hover { color: var(--gold-bright); }
.foot-cta { margin-top: 10px; }
.foot-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-block: 24px 30px;
  border-top: 1px solid var(--line-dark);
  color: var(--mist-soft); font-size: 0.82rem;
}

/* ---------- misc legacy ---------------------------------------------------------------------------------------- */
.container { width: min(var(--shell), 100% - var(--gutter) * 2); margin-inline: auto; }
.notfound .btn-row { margin-top: 30px; }
.prose-note { margin-top: 26px; font-size: 0.88rem; font-style: italic; }
.page-head + .section, .cover + .section { padding-top: clamp(56px, 8vw, 90px); }

/* ---------- responsive ------------------------------------------------------------------------------------------ */
@media (max-width: 1120px) {
  .booking-layout { grid-template-columns: minmax(0, 1fr) 330px; }
  .journey-grid { grid-template-columns: 1fr; }
  .journey::before {
    mask-image: linear-gradient(to top, transparent 30%, #000 70%);
    -webkit-mask-image: linear-gradient(to top, transparent 30%, #000 70%);
    opacity: 0.1;
  }
}
@media (max-width: 980px) {
  .split-head { grid-template-columns: 1fr; align-items: start; }
  .split-head .lede { justify-self: start; }
  .fleet-row, .fleet-row.flip { grid-template-columns: 1fr; }
  .fleet-row.flip .fleet-media { order: 0; }
  .dusk-stats { grid-template-columns: 1fr; max-width: 460px; }
  .walk-grid, .about-grid, .about-grid.flip, .contact-grid, .detail-two-col { grid-template-columns: 1fr; }
  .about-grid.flip .about-media { order: 0; }
  .route-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .collection-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid, .vehicle-gallery { grid-template-columns: 1fr 1fr; }
  .booking-layout { grid-template-columns: 1fr; }
  .manifest-rail { position: static; }
  .portal-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .availbar { grid-template-columns: 1fr 1fr; }
  .ab-submit { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 0; z-index: 10;
    background: var(--night);
    flex-direction: column; justify-content: center; align-items: center;
    gap: 40px;
    clip-path: circle(0 at calc(100% - 48px) 42px);
    transition: clip-path 0.6s var(--ease), visibility 0.6s;
    visibility: hidden;
  }
  body.nav-open .site-nav { clip-path: circle(150% at calc(100% - 48px) 42px); visibility: visible; }
  body.nav-open { overflow: hidden; }
  .nav-links { flex-direction: column; gap: 22px; }
  .nav-links a {
    font-family: var(--serif); font-size: 2rem;
    transform: translateY(18px); opacity: 0;
    transition: transform 0.55s var(--ease), opacity 0.55s var(--ease);
  }
  body.nav-open .nav-links a { transform: none; opacity: 1; transition-delay: calc(0.1s + var(--ni, 0) * 0.05s); }
  .hero-inner { padding-top: 124px; }
  .hero-title { font-size: clamp(2.7rem, 12vw, 3.6rem); }
  .availbar { margin-bottom: 78px; }
  .hero-scrollcue { display: none; }
  .gallery-grid, .vehicle-gallery { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-nav { grid-template-columns: 1fr 1fr; }
  .mobile-booking-bar { display: flex; }
  body { padding-bottom: 84px; }
  .concierge { bottom: 84px; }
  .journey-steps { padding-left: 64px; }
  .jstep-dot { left: -58px; }
  .vehicle-choice { grid-template-columns: 92px minmax(0, 1fr); }
  .vehicle-choice img { width: 92px; height: 74px; }
  .lb-nav { top: auto; bottom: 20px; translate: 0 0; }
  .quote-stage { min-height: 300px; }
  .corner { width: 46px; height: 46px; }
  .c-tl { top: 18px; left: 18px; }
  .c-br { bottom: 18px; right: 18px; }
}

/* ---------- reduced motion --------------------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-load], .js .hl > span[data-load] { opacity: 1; transform: none; }
  .js .rv, .js .rv-clip { opacity: 1; transform: none; clip-path: none; }
  .hero-media img { transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; }
  .hero-coachline path, .journey-line path { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; }
}

/* ==========================================================================
   34. BOOKING CHAT + MANUAL PAYMENT (owner console / customer portal)
   ========================================================================== */
.chat-bubble > span {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.66rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0.7; margin-bottom: 5px;
}
.chat-bubble > span i {
  font-style: normal; letter-spacing: 0.06em;
  padding: 2px 7px; border-radius: 999px;
  background: rgba(199, 164, 105, 0.22); color: inherit;
}
.chat-bubble.is-mine > span i { background: rgba(255, 255, 255, 0.2); }
.chat-bubble > p a { color: inherit; text-decoration: underline; text-underline-offset: 2px; word-break: break-all; }
.chat-bubble > time { display: block; margin-top: 6px; font-size: 0.7rem; opacity: 0.6; }
.chat-bubble.is-system {
  justify-self: stretch; max-width: none;
  background: rgba(3,70,148,0.06);
  border: 1px dashed rgba(3,70,148,0.28);
  color: var(--ink-soft);
  font-size: 0.88rem;
}
.chat-bubble.is-system > span { color: #034694; opacity: 1; }
.chat-form textarea { resize: vertical; min-height: 72px; line-height: 1.5; }
.chat-actions { align-items: center; justify-content: space-between; }
.chat-actions .form-error { margin: 0; }

.owner-action-card { display: grid; gap: 18px; }
.pay-link-field { max-width: 560px; }
.pay-link-field input { font-family: var(--mono); font-size: 0.9rem; }
/* The payment link and the typed bank details share one field block, so the
   second label needs a little more air than the grid's default gap. */
.pay-link-field textarea { font-family: var(--mono); font-size: 0.9rem; line-height: 1.55; resize: vertical; }
.pay-link-field label + input + label { margin-top: 11px; }
.mark-paid {
  display: grid; gap: 14px; justify-items: start;
  padding: 18px 20px;
  border: 1px solid rgba(199, 164, 105, 0.45);
  border-radius: var(--r-card);
  background: linear-gradient(180deg, rgba(232, 213, 168, 0.18), transparent);
}
.mark-paid .field { max-width: 420px; width: 100%; }
.portal-pay + .form-note { margin-top: 12px; }

/* ---------- signature polish -------------------------------------------- */
.ab-nights { grid-column: 1 / -1; margin: 6px 4px 0; padding-top: 10px; border-top: 1px dashed rgba(233,206,146,0.28); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist); }
.ab-nights strong { color: var(--gold-bright); font-weight: 500; }
.ab-nights:empty { display: none; }
.chat-bubble.is-system { background: rgba(233,206,146,0.10); border-color: rgba(198,161,91,0.45); }
.chat-bubble.is-system > span { color: var(--gold-deep); }

/* Hire-information accordion content. */
.faq-list details > h2 { font-size: 1.2rem; margin: 0 4px 16px; }
.faq-list details > ul { padding: 0 4px 20px 24px; color: var(--ink-soft); }
.faq-list details > ul li + li { margin-top: 8px; }

/* Keep the supplied floor plan fully visible in the gallery. */
.tile-open img[src$="swift-layout.svg"] { object-fit: contain; background: #fff; }

/* Keep long handover times inside the hire summary on small screens. */
.manifest .m-row span:first-child { flex: 1; min-width: 0; }
.manifest .m-row span:last-child { flex: 0 1 60%; white-space: normal; overflow-wrap: anywhere; }
.m-note { font-size: .76rem; line-height: 1.55; margin: 4px 0 12px; opacity: .85; }

/* Bot trap is excluded from keyboard navigation and assistive technology. */
.enquiry-bot-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
