:root {
  --bg: #121c26;
  --bg-2: #18242f;
  --ink: #f1efe9;
  --muted: #93a0ad;
  --line: rgba(241, 239, 233, 0.14);
  --accent: #f2b544;
  --tile: #eef0f2;
  --display: "Syne", "Arial Black", sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --pad: clamp(18px, 4vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--bg); }

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 0.95; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4.6vw, 68px); text-transform: uppercase; line-height: 1.02; }
h3 { font-size: clamp(19px, 1.8vw, 26px); line-height: 1.15; }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.muted { color: var(--muted); }
.eyebrow {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 22px;
}

/* ---------- Preview banner (remove at launch) ---------- */
.preview-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; pointer-events: none;
  background: var(--accent); color: var(--bg); text-align: center;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 8px 12px; line-height: 1.3;
}
body:has(.preview-banner) { padding-bottom: 34px; }
body:has(.preview-banner) .modal { padding-bottom: 46px; }
body:has(.preview-banner) .modal-panel { max-height: calc(100vh - 78px); max-height: calc(100dvh - 78px); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: grid; place-content: center; justify-items: center; gap: 18px;
  transition: opacity 0.7s ease, visibility 0.7s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-logo { width: min(260px, 60vw); }
.loader-bar { width: 180px; height: 1px; background: var(--line); }
.loader-bar span { display: block; height: 100%; width: 0; background: var(--ink); }
.loader-count { font-size: 12px; letter-spacing: 0.2em; color: var(--muted); }

/* ---------- 3D scene ---------- */
#scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
.scene-shade {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(18,28,38,0.55) 0%, rgba(18,28,38,0) 35%, rgba(18,28,38,0.2) 100%);
}
main, .footer { position: relative; z-index: 1; }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 90; width: 14px; height: 14px;
  margin: -7px 0 0 -7px; border-radius: 50%; background: var(--ink);
  mix-blend-mode: difference; pointer-events: none; opacity: 0;
  transition: width 0.25s, height 0.25s, margin 0.25s, opacity 0.3s;
}
.cursor.on { opacity: 1; }
.cursor.big { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px var(--pad);
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(18, 28, 38, 0.78); backdrop-filter: blur(14px); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; letter-spacing: 0.04em; line-height: 1; }
.brand img { width: 46px; height: 46px; object-fit: cover; border-radius: 50%; }
.brand small { display: block; font-family: var(--body); font-weight: 500; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav-links { display: flex; gap: 34px; font-size: 14px; }
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform 0.35s; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 820px) { .nav-links { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 28px; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--bg); font-weight: 700; font-size: 15px;
  cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
  white-space: nowrap;
}
.btn:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-small { padding: 10px 20px; font-size: 13px; }
.btn-xl { padding: 20px 44px; font-size: 17px; }
.btn[aria-disabled="true"] { opacity: 0.35; pointer-events: none; }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: auto; }
/* dark fades: top for the menu, bottom for the words */
.hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(18,28,38,0.6) 0%, rgba(18,28,38,0) 16%),
    linear-gradient(0deg, rgba(18,28,38,0.92) 0%, rgba(18,28,38,0.55) 16%, rgba(18,28,38,0) 30%);
}
.hero-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--pad) 2.4vw; }
.hero-content .eyebrow { display: none; }
.hero-title { font-size: clamp(30px, 5.2vw, 100px); line-height: 1; text-transform: uppercase; margin-bottom: 1.4vw; }
.hero-title .line { display: inline-block; vertical-align: bottom; overflow: hidden; padding-bottom: 0.06em; }
.accent { color: var(--accent); }

@media (max-width: 760px) {
  .hero { padding-top: 74px; }
  .hero-media::after { background: linear-gradient(0deg, rgba(18,28,38,1) 0%, rgba(18,28,38,0) 22%); }
  .hero-content { position: static; padding: 8px var(--pad) 40px; }
  .hero-content .eyebrow { display: block; margin-bottom: 14px; }
  .hero-title { font-size: clamp(34px, 11vw, 56px); margin-bottom: 20px; }
  .hero-title .line { display: block; }
}
.hero-title .line > span { display: inline-block; }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.hero-copy { font-size: clamp(17px, 1.6vw, 22px); max-width: 28ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.scroll-hint {
  position: absolute; right: var(--pad); top: 50%; writing-mode: vertical-rl;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 12px;
}
.scroll-hint span { width: 1px; height: 56px; background: var(--ink); animation: drop 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes drop { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 820px) { .scroll-hint { display: none; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; background: rgba(18,28,38,0.6); backdrop-filter: blur(6px); position: relative; z-index: 1; }
.marquee-track { display: flex; align-items: center; gap: 40px; width: max-content; animation: slide 28s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 800; font-size: clamp(20px, 3vw, 40px); text-transform: uppercase; line-height: 1; white-space: nowrap; }
.marquee i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Fleet ---------- */
.fleet { background: var(--bg); position: relative; padding: clamp(80px, 10vw, 140px) var(--pad) clamp(50px, 6vw, 90px); }
.fleet-intro { max-width: 620px; margin-bottom: clamp(36px, 5vw, 64px); }
.fleet-intro h2 { margin-bottom: 18px; }

.type-row {
  display: grid; grid-template-columns: minmax(170px, 260px) 1fr; gap: clamp(20px, 3vw, 48px);
  border-top: 1px solid var(--line); padding: clamp(24px, 3vw, 40px) 0;
}
.type-sticky { position: sticky; top: 96px; }
.type-label h3 { font-size: clamp(24px, 2.8vw, 40px); text-transform: uppercase; margin-bottom: 8px; }
.type-label p { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; }
.type-cars { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.colour { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.colour i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.4); }

@media (max-width: 760px) {
  .type-row { grid-template-columns: 1fr; gap: 16px; }
  .type-sticky { position: static; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .type-label h3 { margin-bottom: 0; }
  .car { transform: none; }
}

.car {
  min-width: 0;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 26px;
  padding: 14px; display: flex; flex-direction: column;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.25s ease-out, border-color 0.3s;
  will-change: transform;
}
.car:hover { border-color: rgba(241,239,233,0.4); }
.car-photo { position: relative; border-radius: 16px; overflow: hidden; background: var(--tile); aspect-ratio: 1 / 0.82; }
.car-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; transition: opacity 0.35s, transform 0.8s cubic-bezier(.2,.7,.2,1); }
.car:hover .car-photo img { transform: scale(1.05); }
.car-photo img.swap { opacity: 0; }
.car-tag { position: absolute; top: 12px; left: 12px; background: var(--bg); color: var(--ink); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.car-index { position: absolute; top: 10px; right: 16px; font-family: var(--display); font-weight: 800; font-size: 34px; color: rgba(18,28,38,0.16); }
.car-body { padding: 18px 8px 6px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.car-specs { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 7px; font-size: 13px;
  transition: border-color 0.25s;
}
.swatch i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35); }
.swatch[aria-pressed="true"] { border-color: var(--ink); }
.car-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 6px; }
.price { line-height: 1.1; }
.price b { font-family: var(--display); font-size: 22px; font-weight: 800; }
.car .btn { padding: 12px 20px; font-size: 14px; }
.car h3 { font-size: 19px; }
.price small { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }


/* ---------- Sections ---------- */
.section { padding: clamp(90px, 14vw, 200px) var(--pad); position: relative; }
.services { background: linear-gradient(180deg, var(--bg) 0%, rgba(18,28,38,0.72) 100%); }
.service-list { margin-top: clamp(40px, 6vw, 90px); border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: 90px 1fr 1.1fr; gap: 24px; align-items: baseline;
  padding: clamp(26px, 3.6vw, 48px) 0; border-bottom: 1px solid var(--line);
  transition: padding 0.4s, background 0.4s;
}
.service:hover { padding-left: 22px; background: rgba(241,239,233,0.04); }
.service .num { font-size: 13px; letter-spacing: 0.2em; color: var(--accent); }
.service h3 { font-size: clamp(22px, 2.6vw, 38px); text-transform: uppercase; }
.service p { color: var(--muted); max-width: 44ch; }
@media (max-width: 760px) { .service { grid-template-columns: 1fr; gap: 10px; } }

.how { background: rgba(18,28,38,0.72); backdrop-filter: blur(4px); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(40px, 6vw, 90px); }
.steps li { border: 1px solid var(--line); border-radius: 22px; padding: 28px; background: rgba(24,36,47,0.7); min-height: 240px; display: flex; flex-direction: column; }
.steps span { font-family: var(--display); font-weight: 800; font-size: 48px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--ink); margin-bottom: auto; }
.steps h3 { margin: 26px 0 10px; }
.steps p { color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .steps li { min-height: 0; } }

.contact { text-align: left; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: clamp(40px, 6vw, 80px) 0; }
.label { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.big-link, .big-text { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.8vw, 40px); line-height: 1.25; }
.big-link { transition: color 0.3s; width: fit-content; }
.big-link:hover { color: var(--accent); }
.text-link { display: inline-block; margin-top: 14px; border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

.footer { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 26px var(--pad); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); background: var(--bg); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 13, 18, 0.72); backdrop-filter: blur(8px); }
.modal-panel {
  position: relative; width: min(940px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 26px; padding: clamp(18px, 3vw, 32px);
  animation: pop 0.45s cubic-bezier(.2,.8,.2,1);
}
@keyframes pop { from { opacity: 0; transform: translateY(30px) scale(0.97); } }
.modal-close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); font-size: 22px; line-height: 1; cursor: pointer; z-index: 2; }
.modal-close:hover { border-color: var(--accent); color: var(--accent); }
.modal-car { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; padding-right: 50px; }
.modal-car img { width: 104px; height: 84px; object-fit: cover; border-radius: 12px; background: var(--tile); flex: none; }
.modal-car .eyebrow { margin-bottom: 6px; }
.modal-body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
@media (max-width: 760px) { .modal-body { grid-template-columns: 1fr; } }

.cal { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 16px; align-self: start; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; }
.cal-head button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.cal-head button:disabled { opacity: 0.3; cursor: default; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-dow span { text-align: center; font-size: 11px; letter-spacing: 0.1em; color: var(--muted); padding: 6px 0; }
.cal-grid button {
  aspect-ratio: 1; border: 0; background: none; cursor: pointer; font-size: 14px; position: relative; border-radius: 0;
}
.cal-grid button:hover:not(:disabled):not(.sel) { background: rgba(241,239,233,0.1); border-radius: 50%; }
.cal-grid button:disabled { color: rgba(147,160,173,0.35); cursor: default; }
.cal-grid button.today::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.cal-grid button.in { background: rgba(242,181,68,0.18); }
.cal-grid button.sel { background: var(--accent); color: var(--bg); font-weight: 700; }
.cal-grid button.start { border-radius: 50% 0 0 50%; }
.cal-grid button.end { border-radius: 0 50% 50% 0; }
.cal-grid button.start.end, .cal-grid button.only { border-radius: 50%; }
.cal-hint { font-size: 13px; color: var(--muted); margin-top: 12px; min-height: 2.6em; }

.form { display: flex; flex-direction: column; gap: 16px; }
.form label, .form legend { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: block; }
.form fieldset { border: 0; }
.form input[type="text"], .form select {
  display: block; width: 100%; margin-top: 8px; padding: 13px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg); font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--ink);
}
.form input:focus, .form select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.dt { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dt-box { border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: var(--bg); display: flex; flex-direction: column; gap: 8px; transition: border-color 0.25s; min-width: 0; }
.dt-box.active { border-color: var(--accent); }
.dt-label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.dt-date { background: none; border: 0; text-align: left; font-weight: 700; font-size: 15px; cursor: pointer; padding: 2px 0; }
.dt-date:hover { color: var(--accent); }
.form .dt-box select { margin-top: 0; padding: 9px 10px; background: var(--bg-2); }
@media (max-width: 420px) { .dt { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { background: var(--bg); }
.faq-list { margin-top: clamp(32px, 5vw, 64px); border-top: 1px solid var(--line); max-width: 980px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: none; border: 0; cursor: pointer; text-align: left; padding: 22px 4px;
  font-family: var(--display); font-weight: 700; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.3;
  transition: color 0.25s;
}
.faq-q:hover, .faq-item.open .faq-q { color: var(--accent); }
.faq-q i { position: relative; flex: none; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; transition: transform 0.35s, border-color 0.25s; }
.faq-q i::before, .faq-q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; background: currentColor; }
.faq-q i::after { transform: rotate(90deg); transition: transform 0.35s; }
.faq-item.open .faq-q i { transform: rotate(180deg); border-color: var(--accent); }
.faq-item.open .faq-q i::after { transform: rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s ease; }
.faq-a > div { overflow: hidden; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a p { color: var(--muted); max-width: 70ch; padding: 0 4px 24px; }
.chips { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: block; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); cursor: pointer; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form .check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.summary { border-top: 1px solid var(--line); padding-top: 14px; font-size: 14px; display: grid; gap: 6px; }
.summary div { display: flex; justify-content: space-between; gap: 16px; }
.summary div span:first-child { color: var(--muted); }
.summary .total { font-family: var(--display); font-weight: 800; font-size: 22px; margin-top: 8px; padding: 14px 16px; border-radius: 14px; background: rgba(242,181,68,0.12); border: 1px solid rgba(242,181,68,0.45); align-items: center; }
.summary .total span:first-child { color: var(--ink); font-size: 14px; }
.summary .total span:last-child { color: var(--accent); }
.promo { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 13px; color: var(--muted); }
.promo b { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--bg); display: grid; place-items: center; font-size: 14px; }
.promo strong { display: block; color: var(--ink); font-size: 14px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.actions .btn { flex: 1; }
.copy { background: none; border: 0; text-decoration: underline; text-underline-offset: 4px; color: var(--muted); cursor: pointer; font-size: 13px; align-self: flex-start; }
.copy:hover { color: var(--ink); }
.fine { font-size: 12px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .scroll-hint span { animation: none; }
  .car { transform: none; }
}
