/* RetroAutoRent v2 — "the reservation card"
   Porcelain page, ink text, one paint colour at a time (the car you picked). */

:root {
  --paper: #ECEEE9;
  --paper-2: #E2E5DF;
  --card: #F7F8F5;
  --ink: #14171A;
  --ink-2: #4A5055;
  --line: rgba(20, 23, 26, .14);
  --brass: #A8844A;
  --burgundy: #6B1626;
  --green: #1D4A37;
  --blue: #16284A;
  --paint: var(--burgundy);
  --paint-hi: #C42C47; /* the car's paint, lifted so it still reads on the dark hero photo */

  --display: "Red Hat Display", "Avenir Next", "Helvetica Neue", sans-serif;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --gut: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --soft: cubic-bezier(.16, 1, .3, 1);
  --burgundy-hi: #C42C47;
}
html[data-car="herald"] { --paint: var(--green); --paint-hi: #2F8A62; }
html[data-car="kapitan"] { --paint: var(--blue); --paint-hi: #3F68BC; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }
/* the page only ever scrolls up and down */
html { overflow-x: hidden; overscroll-behavior-x: none; }
body {
  width: 100%; max-width: 100%; position: relative; overscroll-behavior-x: none;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--paint); color: #fff; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }

.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 100; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--paint); transition: background .6s; }
.eyebrow--light { color: rgba(255, 255, 255, .78); }
.eyebrow--light::before { background: rgba(255, 255, 255, .7); }

.h2 {
  font-weight: 300;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.06;
  letter-spacing: -.012em;
  margin-top: 18px;
  text-wrap: balance;
}
.h2 em { font-size: 1.1em; letter-spacing: -.01em; color: var(--paint); transition: color .6s; }
.h2--light { color: #fff; }
.h2--light em { color: #fff; opacity: .92; }
.lede { max-width: 52ch; margin-top: 20px; color: var(--ink-2); font-size: 18px; }

.sec-head { margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

.link { text-underline-offset: 5px; text-decoration-thickness: 1px; text-decoration-color: var(--paint); font-size: 15px; }
.link:hover { color: var(--paint); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 26px;
  font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; line-height: 1;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background .5s, color .3s, border-color .3s, transform .3s var(--ease);
  white-space: nowrap;
}
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn:active { transform: scale(.98); }
.btn--paint { background: var(--paint); color: #fff; }
.btn--paint:hover { background: color-mix(in srgb, var(--paint) 82%, #000); }
.btn--light { background: var(--card); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--sm { padding: 12px 18px; font-size: 12px; }
.btn--block { width: 100%; }

.round { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: inline-grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.round:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gut);
  color: #fff;
  transition: background .4s, color .4s, padding .4s, box-shadow .4s;
}
.nav.is-stuck { background: var(--paper); color: var(--ink); padding-block: 12px; box-shadow: 0 1px 0 var(--line); }
.brand { text-decoration: none; }
.brand__mark { font-size: 15px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }
.brand__mark i { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: .02em; font-size: 1.5em; margin-inline: .12em; line-height: 0; }
.nav__links { display: flex; gap: clamp(18px, 2.6vw, 40px); }
.nav__links a { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; position: relative; padding-block: 6px; opacity: .9; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__end { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; }
.lang button { padding: 6px 7px; opacity: .72; }
.lang button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  /* Never taller than the footage's own 16:9 shape: the scene is then shown at full width,
     so the car is never cropped at the sides and keeps the same distance from the text
     on every window shape. (A wider-than-16:9 window only trims sky and road.) */
  height: min(100svh, 56.25vw);
  min-height: 540px;
  display: flex; flex-direction: column;
  color: #fff;
  isolation: isolate;
  background: var(--ink);
}
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--ink); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease-io); }
.slide.is-active { opacity: 1; }
/* the still is the clip's first frame, so the two must sit pixel-for-pixel on top of each other */
.slide img, .slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 85% 62%; }
.slide video { opacity: 0; transition: opacity .9s linear; }
.slide video.is-on { opacity: 1; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 13, 15, .74) 0%, rgba(12, 13, 15, .5) 24%, rgba(12, 13, 15, 0) 46%),
    linear-gradient(0deg, rgba(12, 13, 15, .78) 0%, rgba(12, 13, 15, 0) 34%),
    linear-gradient(180deg, rgba(12, 13, 15, .42) 0%, rgba(12, 13, 15, 0) 20%);
}
/* pinned to the left gutter on every screen width (not centred like the page's 1320px column),
   so it lines up with the nav and the tabs and stays clear of the car */
.hero__inner { max-width: none; margin-inline: 0; padding-inline: var(--gut); flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 104px; padding-bottom: clamp(24px, 3vw, 44px); }
.hero__title {
  font-weight: 300;
  font-size: clamp(40px, 5vw, 104px);
  line-height: 1;
  letter-spacing: -.028em;
  margin-top: 20px;
}
/* masks clip the rise animation; the padding keeps descenders (g, old-style 9 / 7 / 3) inside the clip */
.mask { display: block; overflow: hidden; padding: .04em .14em .56em 0; margin-bottom: -.68em; }
/* an inline-block that clips sits on its bottom edge, not its text baseline: this drops the year
   back so its figures share the baseline of the words beside it */
.year { position: relative; top: .18em; }
.mask > span { display: inline-block; }
.year { display: inline-block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.16em; letter-spacing: -.02em; overflow: hidden; vertical-align: baseline; line-height: 1; padding: .1em .08em .26em .02em; margin: -.1em -.05em -.26em 0; }
.year__in { display: inline-block; }
.year__in.is-out { transform: translateY(-135%); transition: transform .45s var(--ease-io); }
.year__in.is-pre { transform: translateY(135%); }
.year__in.is-in { transform: none; transition: transform .6s var(--ease); }
.hero__dot { color: var(--paint-hi); transition: color .6s; }
.hero__car { margin-top: clamp(26px, 3vw, 44px); max-width: min(30ch, 22vw); font-size: clamp(15px, 1.25vw, 18px); letter-spacing: .02em; color: rgba(255, 255, 255, .88); min-height: 3.2em; }
.hero__ctas { margin-top: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.hero__go { box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6); }
.hero__more { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding-block: 6px; border-bottom: 1px solid rgba(255, 255, 255, .5); transition: border-color .3s; }
.hero__more:hover { border-color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Deck: car switcher + facts along the bottom of the hero */
.deck {
  margin: 0 var(--gut) clamp(18px, 2.6vw, 34px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: clamp(20px, 4vw, 64px);
  --prog: 0;
}
.deck__cars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 22px); max-width: 860px; }
.tab { position: relative; cursor: pointer; display: block; }
.tab input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tab__in { display: block; padding: 16px 4px 4px 0; opacity: .62; transition: opacity .4s; position: relative; }
.tab:hover .tab__in { opacity: .92; }
.tab input:checked + .tab__in { opacity: 1; }
.tab input:focus-visible + .tab__in { outline: 2px solid #fff; outline-offset: 4px; }
/* the line is the track; its ::after fills as the current car's loop plays */
.tab__bar { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.tab__bar::after { content: ""; position: absolute; inset: 0; background: var(--p); transform: scaleX(0); transform-origin: left; }
.tab input:checked + .tab__in .tab__bar::after { transform: scaleX(var(--prog)); }
.deck.is-manual .tab input:checked + .tab__in .tab__bar::after { transform: scaleX(1); transition: transform .5s var(--ease); }
.tab b { display: block; font-weight: 400; font-size: clamp(19px, 1.7vw, 25px); letter-spacing: -.005em; line-height: 1.15; }
.tab b em { font-size: 1.02em; opacity: .9; margin-left: .12em; }
.tab small { display: block; margin-top: 5px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: rgba(255, 255, 255, .78); line-height: 1.5; }
.deck__facts { display: flex; gap: clamp(18px, 2.6vw, 40px); align-items: flex-start; padding-top: 16px; border-top: 2px solid rgba(255, 255, 255, .28); }
.deck__facts li { max-width: 15ch; }
.deck__facts b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(24px, 2.2vw, 32px); line-height: 1; }
.deck__facts span { display: block; margin-top: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: rgba(255, 255, 255, .78); line-height: 1.45; }
.hero__car span { display: inline-block; transition: opacity .35s, transform .35s var(--ease); }
.hero__car span.is-swap { opacity: 0; transform: translateY(8px); }

/* Booking bar */
.bar {
  margin-inline: var(--gut);
  background: var(--card);
  color: var(--ink);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.25fr auto auto;
  align-items: stretch;
  border-radius: 3px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55);
}
.bar__cell { padding: 16px 22px 18px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; gap: 8px; min-width: 0; }
.bar__label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); padding: 0; }
.bar__cell--date input { border: 0; background: none; font-size: 17px; padding: 3px 0; width: 100%; min-height: 32px; cursor: pointer; }
.bar__cell--date input:invalid, .bar__cell--date input.is-blank { color: var(--ink-2); }
.bar__cell--total { min-width: 128px; border-right: 0; }
.bar__price { font-size: 30px; font-weight: 400; line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; display: block; height: 32px; overflow: hidden; }
.bar__go { border-radius: 0 3px 3px 0; padding-inline: 30px; }
.bar.is-nudge .bar__cell--date { animation: nudge .5s var(--ease); }
@keyframes nudge { 30% { transform: translateX(-5px); } 60% { transform: translateX(4px); } }

.seg { display: flex; gap: 4px; }
.seg label { flex: 1; position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 7px 8px; min-height: 32px;
  font-size: 15px; line-height: 1;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.seg label:hover span { border-color: var(--line); }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.seg--cars span i { width: 9px; height: 9px; border-radius: 50%; background: var(--p); box-shadow: 0 0 0 1px rgba(255, 255, 255, .5); flex: none; }
.seg--cars input:checked + span { background: var(--p); }
.seg--dark span { border-color: rgba(255, 255, 255, .22); color: #fff; padding: 12px 8px; }
.seg--dark label:hover span { border-color: rgba(255, 255, 255, .6); }
.seg--dark input:checked + span { background: var(--card); color: var(--ink); border-color: var(--card); }

.hours-custom { margin-top: 14px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px 18px; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 2px; background: rgba(0, 0, 0, .12); }
.hours-custom > label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.stepper { display: inline-flex; align-items: stretch; justify-self: end; border: 1px solid rgba(255, 255, 255, .4); border-radius: 2px; }
.stepper button { width: 46px; min-height: 46px; font-size: 22px; line-height: 1; color: #fff; transition: background .25s; }
.stepper button:hover { background: rgba(255, 255, 255, .14); }
.stepper input { width: 62px; text-align: center; background: none; border: 0; border-inline: 1px solid rgba(255, 255, 255, .4); color: #fff; font-size: 19px; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; background: rgba(255, 255, 255, .12); }
.hours-custom__note { grid-column: 1 / -1; font-size: 14px; color: rgba(255, 255, 255, .78); }
[data-price].is-quote { font-size: .46em; letter-spacing: 0; line-height: 1.3; white-space: nowrap; }
.dock__price.is-quote { font-size: 13px; font-weight: 400; }

/* price tick */
[data-price] { display: inline-block; font-variant-numeric: tabular-nums; }
[data-price].tick { animation: tick .5s var(--ease); }
@keyframes tick { 0% { transform: translateY(70%); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* ---------- Steps ---------- */
.steps { padding-block: clamp(72px, 9vw, 130px); background: var(--paper-2); }
.steps__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px 48px; flex-wrap: wrap; margin-bottom: clamp(44px, 5.5vw, 80px); }
.steps__lede { max-width: 36ch; color: var(--ink-2); font-size: 18px; }
.steps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); align-items: start; }
.step { position: relative; display: flex; flex-direction: column; min-height: 100%; background: var(--card); border-radius: 4px; padding: clamp(26px, 2.6vw, 38px); overflow: hidden; box-shadow: 0 1px 0 rgba(20, 23, 26, .05), 0 30px 50px -44px rgba(20, 23, 26, .55); }
/* a sheet of the car's paint rises to fill the card on hover */
.step::before { content: ""; position: absolute; inset: 0; background: var(--paint); transform: translateY(101%); transition: transform .65s var(--soft), background .6s; }
.step::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--paint); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-io), background .6s; transition-delay: calc(var(--i) * 260ms); }
.steps__list.is-in .step::after { transform: scaleX(1); }
.step > * { position: relative; }
.step:nth-child(2) { margin-top: clamp(0px, 3.4vw, 48px); }
.js .step.reveal.is-in { transition: opacity .9s var(--soft), transform .6s var(--ease), filter .9s var(--soft), box-shadow .6s; }
.step__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.step__n { font-family: var(--serif); font-style: italic; font-size: clamp(64px, 6.4vw, 104px); line-height: .78; letter-spacing: -.03em; color: var(--paint); transition: color .5s; }
.step__icon { flex: none; width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--paint); transition: color .5s, border-color .5s, background .5s, transform .6s var(--ease); }
.step__icon svg { width: 30px; height: 30px; }
.step h3 { font-size: clamp(21px, 1.9vw, 27px); font-weight: 400; margin-top: clamp(28px, 3vw, 44px); line-height: 1.2; letter-spacing: -.01em; transition: color .5s; }
.step p { color: var(--ink-2); font-size: 16px; margin-top: 12px; transition: color .5s; }
.step__link { margin-top: auto; padding-top: 26px; display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ink); transition: color .5s; }
.step__link .arrow { transition: transform .35s var(--ease); }
.step__link:hover .arrow { transform: translateX(5px); }
@media (hover: hover) {
  .js .step.reveal.is-in:hover { transform: translateY(-8px); box-shadow: 0 40px 60px -40px rgba(20, 23, 26, .7); }
  .step:hover::before { transform: none; }
  .step:hover .step__n, .step:hover h3, .step:hover .step__link { color: #fff; }
  .step:hover p { color: rgba(255, 255, 255, .84); }
  .step:hover .step__icon { color: var(--paint); background: #fff; border-color: #fff; transform: rotate(-8deg) scale(1.06); }
}
.steps__foot { margin-top: clamp(36px, 4.4vw, 60px); display: flex; justify-content: space-between; align-items: center; gap: 28px 40px; flex-wrap: wrap; }

/* ---------- Cars ---------- */
.cars { padding-block: clamp(72px, 9vw, 140px) clamp(48px, 6vw, 90px); }
.car { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 84px); align-items: center; }
.car + .car { margin-top: clamp(72px, 10vw, 150px); }
.car--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.car--flip .car__photo { order: 2; }
.car__photo { position: relative; overflow: hidden; aspect-ratio: 5 / 4; border-radius: 2px; background: var(--paper-2); }
.car__photo--wide { aspect-ratio: 3 / 2; }
.car__photo a { display: block; height: 100%; }
.car__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.car__photo:hover img { transform: scale(1.03); }
.car__photo figcaption {
  position: absolute; left: 0; bottom: 0;
  background: var(--paint); color: #fff;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  padding: 10px 16px;
}
.car__make { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.car__name { font-weight: 300; font-size: clamp(46px, 6vw, 92px); line-height: .95; letter-spacing: -.02em; margin-top: 12px; text-transform: none; }
.car__name em { color: var(--paint); font-size: .62em; margin-left: .08em; vertical-align: .32em; }
.car__desc { margin-top: 22px; color: var(--ink-2); max-width: 46ch; }
.car__specs { margin-top: 28px; border-top: 1px solid var(--ink); }
.car__specs > div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.car__specs dt { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.car__specs dd { font-size: 17px; text-align: right; }
.tariff { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 30px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.tariff li { padding: 14px 4px 14px 0; display: flex; flex-direction: column; gap: 4px; }
.tariff li + li { padding-left: 14px; border-left: 1px solid var(--line); }
.tariff span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.tariff b { font-weight: 400; font-size: clamp(18px, 1.7vw, 23px); font-variant-numeric: tabular-nums; }
.car .btn { margin-top: 30px; }
.cars__note { margin-top: clamp(48px, 6vw, 80px); font-size: 14.5px; color: var(--ink-2); }

/* ---------- Occasions ---------- */
.occasions { padding-block: clamp(72px, 9vw, 140px); background: var(--paper-2); }
.occ-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.6vw, 36px); }
.occ:nth-child(2) { margin-top: clamp(0px, 5vw, 72px); }
.occ__media { overflow: hidden; aspect-ratio: 4 / 5; border-radius: 2px; background: var(--paper); }
.occ__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.occ:hover .occ__media img { transform: scale(1.05); }
.occ h3 { font-weight: 300; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.01em; margin-top: 22px; }
.occ p { color: var(--ink-2); margin-top: 10px; font-size: 16px; }
.occ__match { font-size: 15px !important; color: var(--ink) !important; margin-top: 16px !important; padding-top: 14px; border-top: 1px solid var(--line); }
.occ__match span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-right: 10px; }
.occ__match a { text-underline-offset: 4px; text-decoration-thickness: 1px; }
.occ__match a:hover { color: var(--paint); }

/* ---------- Story ---------- */
.story { padding-block: clamp(72px, 9vw, 140px); }
.story__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 100px); align-items: end; }
.story__text p:not(.eyebrow) { color: var(--ink-2); max-width: 56ch; margin-top: 20px; font-size: 18px; }
.stats li { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-block: 16px; border-top: 1px solid var(--line); }
.stats li:last-child { border-bottom: 1px solid var(--line); }
.stats b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(48px, 5.4vw, 76px); line-height: 1; color: var(--paint); transition: color .6s; font-variant-numeric: lining-nums; }
.stats li > span { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); text-align: right; }

/* ---------- On screen ---------- */
.screen { padding-block: clamp(72px, 9vw, 130px); background: var(--paper-2); }
.strip__controls { display: flex; gap: 10px; }
.strip { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab; }
.strip__row { display: flex; gap: clamp(14px, 2vw, 26px); width: max-content; }
.strip::-webkit-scrollbar { display: none; }
.strip.is-drag { cursor: grabbing; user-select: none; }
.strip.is-drag .frame__play { pointer-events: none; }
.frame { flex: 0 0 min(78vw, 520px); }
.frame__play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 2px; background: #000; }
.frame__play img { width: 100%; height: 100%; object-fit: cover; opacity: .94; transition: transform 1s var(--ease), opacity .4s; }
.frame__play:hover img { transform: scale(1.04); opacity: 1; }
.frame__icon { position: absolute; left: 18px; bottom: 18px; width: 54px; height: 54px; border-radius: 50%; background: var(--paper); transition: transform .4s var(--ease); }
.frame__icon::after { content: ""; position: absolute; left: 22px; top: 18px; border-left: 14px solid var(--ink); border-block: 9px solid transparent; }
.frame__play:hover .frame__icon { transform: scale(1.1); }
.frame iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; border-radius: 2px; }
.frame p { margin-top: 14px; font-size: 16px; }
.frame p span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 3px; }
.quote { margin-top: clamp(56px, 7vw, 100px); }
.quote blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 1.9vw, 26px); line-height: 1.42; max-width: 36em; text-wrap: balance; }
.quote__stack { display: grid; }
.quote__item { grid-area: 1 / 1; opacity: 0; visibility: hidden; filter: blur(6px); transform: translateY(14px); transition: opacity .7s var(--soft), transform .7s var(--soft), filter .7s var(--soft), visibility 0s .7s; }
.quote__item.is-on { opacity: 1; visibility: visible; filter: none; transform: none; transition-delay: .15s, .15s, .15s, 0s; }
.quote__by { margin-top: 24px; display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap; }
.quote__by b { font-weight: 500; }
.quote__nav { margin-top: 28px; display: flex; align-items: center; gap: 14px; }
.quote__count { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--ink-2); min-width: 48px; text-align: center; font-variant-numeric: tabular-nums; }
.quote__by span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- Gallery ---------- */
.gallery { padding-block: clamp(72px, 9vw, 130px); overflow: hidden; }
.marquee { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab; }
.marquee::-webkit-scrollbar { display: none; }
.marquee.is-drag { cursor: grabbing; user-select: none; }
.marquee__row { display: flex; gap: clamp(12px, 1.6vw, 22px); width: max-content; }
.marquee__row img { height: clamp(220px, 30vw, 400px); width: auto; border-radius: 2px; -webkit-user-drag: none; user-select: none; }

/* ---------- Reserve ---------- */
.reserve { background: var(--paint); color: #fff; padding-block: clamp(72px, 9vw, 130px); transition: background .8s var(--ease-io); position: relative; }
.reserve::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 85% 10%, rgba(255, 255, 255, .1), transparent 55%), linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .28)); pointer-events: none; }
.reserve__grid { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.reserve__lede { margin-top: 18px; max-width: 50ch; color: rgba(255, 255, 255, .82); font-size: 18px; }
#form { margin-top: 40px; display: grid; gap: 30px; }
.f-group legend, .field > span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .72); padding: 0; margin-bottom: 10px; display: block; }
.field > span em { font-family: var(--mono); font-style: normal; opacity: .88; text-transform: none; letter-spacing: .04em; }
.picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pick__in { display: block; border: 1px solid rgba(255, 255, 255, .22); border-radius: 2px; padding: 8px 8px 12px; transition: background .3s, border-color .3s, color .3s; }
.pick__in img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 1px; filter: saturate(.85); transition: filter .3s; }
.pick__in b { display: block; font-weight: 400; font-size: 19px; margin-top: 10px; padding-inline: 4px; }
.pick__in small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; opacity: .75; padding-inline: 4px; }
.pick:hover .pick__in { border-color: rgba(255, 255, 255, .6); }
.pick input:checked + .pick__in { background: var(--card); color: var(--ink); border-color: var(--card); }
.pick input:checked + .pick__in img { filter: none; }
.pick input:focus-visible + .pick__in { outline: 2px solid #fff; outline-offset: 3px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.field { display: block; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field input, .field select {
  width: 100%; min-height: 50px;
  background: rgba(255, 255, 255, .06);
  border: 0; border-bottom: 1px solid rgba(255, 255, 255, .4);
  border-radius: 2px 2px 0 0;
  padding: 10px 12px;
  color: #fff; font-size: 17px;
  transition: background .3s, border-color .3s;
  color-scheme: dark;
}
.field select option { color: #111; }
/* iOS draws date/time fields with their own intrinsic width and centred text; rein both in */
.field input[type="date"], .field input[type="time"] { -webkit-appearance: none; appearance: none; display: block; min-width: 0; max-width: 100%; text-align: left; }
.field input::-webkit-date-and-time-value { text-align: left; }
.field input::placeholder { color: rgba(255, 255, 255, .64); }
.field input:hover, .field select:hover { background: rgba(255, 255, 255, .1); }
.field input:focus, .field select:focus { outline: none; border-color: #fff; background: rgba(255, 255, 255, .12); }
.field.is-bad input { border-color: #FFC9A8; background: rgba(255, 180, 140, .14); }
.form__error { font-size: 15px; background: rgba(0, 0, 0, .28); border-left: 2px solid #FFC9A8; padding: 12px 14px; }

/* the card */
.card-col { position: sticky; top: 96px; }
.rcard { color: var(--ink); filter: drop-shadow(0 34px 40px rgba(0, 0, 0, .34)); transform-origin: 50% 0; }
.js .rcard { opacity: 0; transform: translateY(-38px) rotate(-1.4deg); }
.js .rcard.is-in { opacity: 1; transform: none; transition: opacity .6s, transform 1.1s var(--ease); }
.rcard__main, .rcard__stub { background: var(--card); padding: 24px 26px; }
.rcard__main { border-radius: 4px 4px 0 0; }
.rcard__stub { border-radius: 0 0 4px 4px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.rcard__tear {
  height: 22px;
  background:
    radial-gradient(circle at 0 50%, transparent 10.5px, var(--card) 11px) left / 51% 100% no-repeat,
    radial-gradient(circle at 100% 50%, transparent 10.5px, var(--card) 11px) right / 51% 100% no-repeat;
  position: relative;
}
.rcard__tear::after { content: ""; position: absolute; left: 22px; right: 22px; top: 50%; border-top: 1.5px dashed rgba(20, 23, 26, .28); }
.rcard__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.rcard__brand { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.rcard__brand i { font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: .02em; font-size: 1.5em; margin-inline: .1em; line-height: 0; }
.rcard__kind, .rcard__label, .rcard__rows dt { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.rcard__car { display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: center; padding-block: 18px; }
.rcard__car img { width: 104px; height: 78px; object-fit: cover; border-radius: 2px; transition: opacity .3s; }
.rcard__name { font-size: 30px; font-weight: 300; line-height: 1; letter-spacing: -.01em; }
.rcard__name em { color: var(--paint); font-size: .8em; transition: color .6s; }
.rcard__make { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--ink-2); margin-top: 6px; }
.rcard__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.rcard__rows > div { padding-block: 11px; border-top: 1px solid var(--line); min-width: 0; }
.rcard__rows dd { font-family: var(--mono); font-size: 14.5px; margin-top: 3px; overflow-wrap: anywhere; }
.rcard__rows dd.is-empty { color: var(--paint); }
.rcard__rows dd.flash { animation: flash .6s var(--ease); }
@keyframes flash { 0% { background: color-mix(in srgb, var(--paint) 22%, transparent); } 100% { background: transparent; } }
.rcard__total { font-size: 52px; font-weight: 300; line-height: 1; letter-spacing: -.02em; margin-top: 4px; overflow: hidden; white-space: nowrap; }
.rcard__rate { font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); margin-top: 6px; }
.rcard__stamp {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--paint); border: 1.5px solid currentColor; border-radius: 2px;
  padding: 7px 10px; transform: rotate(-4deg); white-space: nowrap; margin-bottom: 8px;
  transition: color .6s;
}
.send { margin-top: 18px; display: grid; gap: 10px; }
.send__note { text-align: center; font-size: 13.5px; color: rgba(255, 255, 255, .74); margin-top: 4px; }
.btn.is-busy { opacity: .7; pointer-events: none; }
.sent { margin-top: 18px; padding: 30px 24px 26px; text-align: center; border: 1px solid rgba(255, 255, 255, .32); border-radius: 3px; background: rgba(0, 0, 0, .14); }
.sent:focus { outline: none; }
.sent h3 { font-weight: 300; font-size: 28px; letter-spacing: -.01em; margin-top: 14px; }
.sent p { margin-top: 8px; color: rgba(255, 255, 255, .86); font-size: 15.5px; }
.sent .btn { margin-top: 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.send__direct { text-align: center; font-size: 15px; color: rgba(255, 255, 255, .8); margin-top: 6px; }
.send__direct a { color: #fff; text-underline-offset: 4px; }

/* ---------- FAQ ---------- */
.faq { padding-block: clamp(72px, 9vw, 130px); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-size: clamp(18px, 1.6vw, 22px); position: relative; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--paint); }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { color: var(--ink-2); padding: 0 44px 24px 0; max-width: 60ch; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding-block: clamp(56px, 7vw, 100px) 28px; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding-bottom: clamp(40px, 5vw, 72px); border-bottom: 1px solid rgba(236, 238, 233, .18); }
.footer__line { font-weight: 300; font-size: clamp(32px, 5vw, 72px); line-height: 1.02; letter-spacing: -.02em; }
.footer__line em { color: var(--paint-hi); font-size: 1.1em; transition: color .6s; white-space: nowrap; }
.footer .btn--light:hover { background: var(--paint-hi); color: #fff; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; padding-block: clamp(36px, 4vw, 56px); }
.footer__grid ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 24px; }
.footer__grid li span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(236, 238, 233, .55); margin-bottom: 4px; }
.footer__grid li a { text-decoration: none; }
.footer__grid li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__grid li b { font-weight: 400; }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: rgba(236, 238, 233, .55); }
.footer__legal a { margin-left: 20px; }

/* ---------- Dock (sticky reserve) ---------- */
.dock {
  position: fixed; z-index: 45; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 18px;
  color: var(--ink);
  padding: 8px 8px 8px 20px; border-radius: 3px;
  text-decoration: none; white-space: nowrap;
  transition: transform .6s var(--ease);
}
.dock::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--card); box-shadow: 0 18px 44px -12px rgba(0, 0, 0, .45), 0 0 0 1px var(--line); }
.dock:not(.is-on) { visibility: hidden; transition: transform .6s var(--ease), visibility 0s .6s; }
.dock.is-on { transform: translate(-50%, 0); }
.dock__car { font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.dock__car i { width: 9px; height: 9px; border-radius: 50%; background: var(--paint); margin-right: 4px; transition: background .6s; }
.dock__price { font-size: 19px; font-weight: 500; font-variant-numeric: tabular-nums; }
.dock__go { background: var(--paint); color: #fff; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; padding: 13px 18px; border-radius: 2px; transition: background .6s; }

/* ---------- Motion ---------- */
.js .load { opacity: 0; animation: fade .9s var(--ease) var(--d, 0s) forwards; }
.js .load-rise { transform: translateY(110%); animation: rise 1.1s var(--ease) var(--d, 0s) forwards; }
.js .load-up { opacity: 0; transform: translateY(28px); animation: up 1s var(--ease) var(--d, 0s) forwards; }
@keyframes fade { to { opacity: 1; } }
@keyframes rise { to { transform: none; } }
@keyframes up { to { opacity: 1; transform: none; } }

.js .reveal { opacity: 0; filter: blur(7px); transform: translateY(26px); transition: opacity .9s var(--soft), transform .9s var(--soft), filter .9s var(--soft); transition-delay: calc(var(--i, 0) * 110ms); }
.js .reveal.is-in { opacity: 1; filter: none; transform: none; }
/* headings arrive word by word */
.js .reveal-words .w { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(.32em); transition: opacity 1s var(--soft), transform 1s var(--soft), filter 1s var(--soft); transition-delay: calc(var(--w, 0) * 75ms); }
.js .reveal-words.is-in .w { opacity: 1; filter: none; transform: none; }
.js .wipe img { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease-io); }
.js .wipe.is-in img { clip-path: inset(0); }
.js .wipe figcaption { opacity: 0; transition: opacity .6s .9s; }
.js .wipe.is-in figcaption { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .slide img { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .bar { grid-template-columns: 1fr 1fr; }
  .bar__cell--car { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); }
  .bar__cell--date { border-bottom: 1px solid var(--line); }
  .bar__cell--hours { border-right: 0; border-bottom: 1px solid var(--line); }
  .bar__cell--total { flex-direction: row; align-items: center; justify-content: space-between; }
  .bar__go { border-radius: 0 0 3px 0; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .story__grid, .faq__grid, .footer__grid, .reserve__grid { grid-template-columns: 1fr; }
  .car, .car--flip { grid-template-columns: 1fr; }
  .car--flip .car__photo { order: 0; }
  .occ:nth-child(2) { margin-top: 0; }
  .occ h3 { font-size: 24px; }
  .occ p { font-size: 15px; }
  .card-col { position: static; }
  .deck__facts { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { padding-block: 14px; }
  .brand__mark { font-size: 12.5px; letter-spacing: .18em; }
  .lang button { padding: 13px 8px; }
  .occ-grid { grid-template-columns: 1fr; }
  .occ + .occ { margin-top: 20px; }
  .occ h3 { font-size: 28px; }
  .occ p { font-size: 16px; }
  .nav__end { gap: 6px; }
  .nav .btn--sm { padding: 12px 13px; font-size: 11px; letter-spacing: .1em; }
  .brand__mark { font-size: 12px; letter-spacing: .15em; }
  .steps__list { grid-template-columns: 1fr; gap: 12px; }
  .step:nth-child(2) { margin-top: 0; }
  .step__link { padding-top: 20px; }
  .steps__foot .btn { width: 100%; }
  .bar { grid-template-columns: 1fr; }
  .bar__cell { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 16px 14px; }
  .bar__cell--total { border-bottom: 0; }
  .bar__go { border-radius: 0 0 3px 3px; padding-block: 19px; }
  .tab__type { display: none; }
  .tab b { font-size: 17px; }
  .tab small { font-size: 11px; letter-spacing: 0; }
  .deck__cars { gap: 8px; }
  .tariff { grid-template-columns: repeat(3, 1fr); }
  .tariff li:nth-child(4) { padding-left: 0; border-left: 0; }
  .tariff li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .tariff li:nth-child(5) { grid-column: span 2; }
  .fields { grid-template-columns: 1fr; }
  .picks { gap: 6px; }
  .pick__in { padding: 5px 5px 10px; }
  .pick__in b { font-size: 16px; }
  .seg--dark span { font-size: 14px; padding-inline: 2px; }
  .rcard__main, .rcard__stub { padding: 20px; }
  .rcard__total { font-size: 40px; }
  .dock { left: 12px; right: 12px; transform: translateY(160%); justify-content: space-between; gap: 10px; }
  .dock.is-on { transform: none; }
  .footer__legal a { margin: 0 20px 0 0; }
}

/* ---------- Phones and tablets held upright: a full-screen vertical scene ---------- */
@media (orientation: portrait) and (max-width: 1100px) {
  .hero { height: auto; min-height: max(100svh, min(185vw, 760px)); }
  /* the vertical footage is 9:16. On a phone it is shown at full width from the top (nothing cut
     at the sides, so the whole car fits) and its lower edge melts into the dark ground behind
     the button and tabs; on a tablet it fills the screen and only sky and road are trimmed. */
  .hero__media { inset: 0 0 auto 0; height: min(100%, 177.78vw); }
  .slide img, .slide video { object-position: 50% 72%; }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(14, 16, 18, .84) 0%, rgba(14, 16, 18, .52) 26%, rgba(14, 16, 18, 0) 47%),
      linear-gradient(0deg, var(--ink) 0%, rgba(20, 23, 26, .62) 13%, rgba(20, 23, 26, 0) 32%);
  }
  .nav:not(.is-stuck) { background-color: #101214; }
  .nav:not(.is-stuck)::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 56px; background: linear-gradient(#101214, rgba(16, 18, 20, 0)); pointer-events: none; }
  /* headline above the car, button and tabs below it */
  .hero__inner { display: contents; }
  .hero__inner > * { margin-inline: var(--gut); }
  /* kept light so the scene can breathe: no eyebrow, the headline on a single line, one line of detail */
  .hero .eyebrow { display: none; }
  .hero__title { font-size: clamp(36px, 11.2vw, 88px); margin-top: 96px; line-height: 1.12; }
  .hero__title .mask { display: inline; overflow: visible; padding: 0; margin: 0; }
  .hero__title .mask > span { display: inline; }
  .hero__title .mask:first-child::after { content: "\A"; white-space: pre; }
  .js .hero__title .load-rise { transform: none; opacity: 0; animation: fade 1s var(--ease) var(--d, 0s) forwards; }
  .hero__car { margin-top: clamp(14px, 3.4vw, 28px); min-height: 0; max-width: 32ch; font-size: clamp(15px, 2.3vw, 19px); }
  .hero__ctas { margin-top: auto; padding-top: 24px; }
  .hero__go { width: 100%; }
  .hero__more { display: none; }
  .deck { grid-template-columns: 1fr; margin-top: 18px; margin-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .deck__cars { max-width: none; }
  .deck__facts { display: none; }
}
@media (orientation: portrait) and (max-width: 640px) {
  .hero__car { max-width: 30ch; }
}

/* ---------- Date / time fields and their pickers ---------- */
.pickbtn {
  width: 100%; min-height: 50px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .4);
  border-radius: 2px 2px 0 0;
  padding: 10px 12px;
  color: #fff; font-size: 17px; text-align: left;
  transition: background .3s, border-color .3s;
}
.pickbtn:hover { background: rgba(255, 255, 255, .1); }
.pickbtn[aria-expanded="true"], .pickbtn:focus-visible { outline: none; border-color: #fff; background: rgba(255, 255, 255, .12); }
.pickbtn svg { flex: none; opacity: .8; }
.pickbtn__val.is-empty { color: rgba(255, 255, 255, .64); }
.field.is-bad .pickbtn { border-color: #FFC9A8; background: rgba(255, 180, 140, .14); }

.pop-backdrop { position: fixed; inset: 0; z-index: 59; background: rgba(10, 11, 13, .5); opacity: 0; transition: opacity .3s; }
.pop-backdrop.is-open { opacity: 1; }
.pop {
  position: absolute; z-index: 60; width: 344px; max-width: calc(100vw - 24px);
  background: var(--card); color: var(--ink);
  border-radius: 4px; padding: 18px 18px 16px;
  box-shadow: 0 34px 70px -22px rgba(0, 0, 0, .6), 0 0 0 1px var(--line);
  opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .35s var(--soft);
}
.pop.is-open { opacity: 1; transform: none; }
.pop__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.pop__title { font-size: 20px; font-weight: 400; letter-spacing: -.005em; text-transform: capitalize; }
.pop__title em { color: var(--paint); font-size: 1.05em; margin-left: .15em; }
.pop__nav { display: flex; gap: 6px; }
.pop__nav button, .pop__close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .25s, color .25s, border-color .25s; }
.pop__nav button:hover:not(:disabled), .pop__close:hover { background: var(--ink); color: var(--card); border-color: var(--ink); }
.pop__nav button:disabled { opacity: .3; cursor: default; }
.pop__quick { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.chip { font-size: 13.5px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; transition: background .25s, color .25s, border-color .25s; }
.chip:hover { border-color: var(--ink); }
.chip.is-sel { background: var(--paint); color: #fff; border-color: var(--paint); }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal__wd { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); text-align: center; padding: 4px 0 8px; }
.cal__day { aspect-ratio: 1; border-radius: 50%; font-size: 15px; font-variant-numeric: tabular-nums; display: grid; place-items: center; transition: background .2s, color .2s; position: relative; }
.cal__day:hover:not(:disabled) { background: var(--paper-2); }
.cal__day:disabled { color: rgba(20, 23, 26, .26); cursor: default; }
.cal__day.is-today::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--paint); }
.cal__day.is-sel, .cal__day.is-sel:hover { background: var(--paint); color: #fff; }
.cal__day.is-sel.is-today::after { background: #fff; }
.cal__day.is-we:not(:disabled):not(.is-sel) { color: var(--paint); }
.pop__label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin: 12px 0 8px; }
.pop__label:first-of-type { margin-top: 0; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.slot { min-height: 40px; border: 1px solid var(--line); border-radius: 2px; font-family: var(--mono); font-size: 14px; font-variant-numeric: tabular-nums; transition: background .2s, color .2s, border-color .2s; }
.slot:hover { border-color: var(--ink); }
.slot.is-sel { background: var(--paint); color: #fff; border-color: var(--paint); }
.pop__foot { margin-top: 12px; font-size: 13px; color: var(--ink-2); }

/* ---------- Floating WhatsApp ---------- */
.wa {
  position: fixed; z-index: 44; right: max(22px, env(safe-area-inset-right, 0px)); bottom: 28px;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .16), 0 8px 20px rgba(0, 0, 0, .2);
  transition: transform .35s var(--ease), bottom .5s var(--ease), box-shadow .3s;
}
.wa:hover { transform: scale(1.08); box-shadow: 0 3px 7px rgba(0, 0, 0, .18), 0 12px 26px rgba(0, 0, 0, .24); }
/* while the opening scene is on screen it rides above the row of tabs and facts */
.in-hero .wa { bottom: max(190px, calc(100svh - min(100svh, 56.25vw) + 150px)); }

@media (max-width: 640px) {
  /* the closing line stays on one row */
  .footer__line { font-size: 6.8vw; white-space: nowrap; }
  /* iPhone Safari cuts a fixed element's shadow at the bottom edge of the viewport, so the shadow has to end inside the gap under the button */
  .wa, .wa:hover { box-shadow: 0 1px 3px rgba(0, 0, 0, .16), 0 4px 12px rgba(0, 0, 0, .2); }
  .wa { width: 52px; height: 52px; right: 14px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  .dock-on .wa { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
  .in-hero .wa { bottom: calc(160px + env(safe-area-inset-bottom, 0px)); }
  /* pickers become a sheet that slides up from the bottom of the screen */
  .pop { position: fixed; left: 0 !important; right: 0; top: auto !important; bottom: 0; width: auto; max-width: none; max-height: 86svh; overflow-y: auto; border-radius: 16px 16px 0 0; padding: 22px 20px calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateY(40px); }
  .cal__day { font-size: 16px; }
  .slot { min-height: 46px; }
}

/* ======================= Car pages (spitfire.html, herald.html, kapitan.html) ======================= */
html[data-lang="sr"] .en, html[data-lang="en"] .sr { display: none; }
.cp main { padding-top: 76px; }
.cp-nav { position: fixed; }
.cp-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 84px); align-items: center; padding-block: clamp(36px, 5vw, 80px) clamp(48px, 6vw, 96px); }
.cp-back { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; margin-bottom: clamp(28px, 4vw, 56px); padding-bottom: 5px; border-bottom: 1px solid var(--paint); }
.cp-back svg { transition: transform .35s var(--ease); }
.cp-back:hover svg { transform: translateX(-4px); }
.cp-title { font-weight: 300; font-size: clamp(46px, 6vw, 96px); line-height: 1; letter-spacing: -.025em; margin-top: 14px; white-space: nowrap; }
.cp-title em { color: var(--paint); font-size: .78em; margin-left: .12em; letter-spacing: 0; }
.cp-tag { margin-top: 24px; font-size: clamp(18px, 1.6vw, 22px); color: var(--ink-2); max-width: 32ch; line-height: 1.5; }
.cp-hero__cta { margin-top: 34px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.cp-from { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.cp-hero__photo { overflow: hidden; border-radius: 2px; background: var(--paper-2); }
.cp-hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.cp-about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 100px); align-items: start; padding-block: clamp(48px, 6vw, 96px); border-top: 1px solid var(--line); }
.cp-lead { margin-top: 22px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.65; color: var(--ink); max-width: 60ch; }
.cp-gap { margin-top: clamp(40px, 4.4vw, 64px); }
.cp-uses { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.cp-uses li { padding: 11px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 16px; background: var(--card); }
.cp-sheet .car__specs { margin-top: 0; }

.cp-prices { background: var(--paint); color: #fff; padding-block: clamp(56px, 7vw, 110px); position: relative; }
.cp-prices::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 85% 10%, rgba(255, 255, 255, .1), transparent 55%), linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .26)); pointer-events: none; }
.cp-prices .wrap { position: relative; }
.cp-prices__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.cp-h2 { font-weight: 300; font-size: clamp(32px, 4.4vw, 60px); line-height: 1.06; letter-spacing: -.015em; margin-top: 16px; color: #fff; }
.cp-h2--dark { color: var(--ink); }
.cp-h2--dark em { color: var(--paint); font-size: 1.08em; }
.cp-tariff { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .55); border-bottom: 1px solid rgba(255, 255, 255, .22); }
.cp-tariff li { padding: 24px 12px 26px 0; display: flex; flex-direction: column; gap: 12px; }
.cp-tariff li + li { padding-left: clamp(14px, 2vw, 28px); border-left: 1px solid rgba(255, 255, 255, .22); }
.cp-tariff span { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.cp-tariff b { font-weight: 300; font-size: clamp(30px, 3.6vw, 52px); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cp-tariff b span { font: inherit; letter-spacing: inherit; text-transform: none; color: inherit; }
.cp-note { margin-top: 22px; font-size: 14.5px; color: rgba(255, 255, 255, .8); max-width: 70ch; }

.cp-gallery { padding-block: clamp(56px, 7vw, 110px); }
.cp-gallery__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 52px); }
.cp-count { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.cp-grid { columns: 3; column-gap: clamp(10px, 1.2vw, 18px); }
.shot { display: block; width: 100%; margin-bottom: clamp(10px, 1.2vw, 18px); break-inside: avoid; overflow: hidden; border-radius: 2px; background: var(--paper-2); cursor: zoom-in; }
.shot img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.shot:hover img { transform: scale(1.04); }
.js .shot { opacity: 0; filter: blur(6px); transform: translateY(18px); transition: opacity .8s var(--soft), transform .8s var(--soft), filter .8s var(--soft); }
.js .shot.is-in { opacity: 1; filter: none; transform: none; }

.cp-next { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-bottom: clamp(56px, 7vw, 100px); }
.cp-next a { padding: clamp(24px, 3vw, 40px) 0; text-decoration: none; display: flex; flex-direction: column; gap: 8px; transition: color .3s; }
.cp-next a.is-next { text-align: right; align-items: flex-end; border-left: 1px solid var(--line); }
.cp-next a:hover { color: var(--paint); }
.cp-next span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.cp-next b { font-weight: 300; font-size: clamp(22px, 2.6vw, 36px); letter-spacing: -.01em; }
.cp-next b span { font: inherit; letter-spacing: inherit; text-transform: none; color: inherit; }
.cp-next em { color: var(--paint); }

.lb { position: fixed; inset: 0; z-index: 90; background: rgba(12, 13, 15, .95); display: grid; place-items: center; opacity: 0; transition: opacity .3s; }
.lb.is-open { opacity: 1; }
.lb__img { max-width: min(92vw, 1500px); max-height: 84svh; width: auto; height: auto; border-radius: 2px; opacity: 0; transition: opacity .35s; }
.lb__img.is-on { opacity: 1; }
.lb__close, .lb__nav { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); color: #fff; display: grid; place-items: center; background: rgba(12, 13, 15, .5); transition: background .25s, color .25s; }
.lb__close:hover, .lb__nav:hover { background: #fff; color: var(--ink); }
.lb__close { top: max(18px, env(safe-area-inset-top, 0px)); right: 18px; }
.lb__nav--prev { left: 18px; top: 50%; margin-top: -25px; }
.lb__nav--next { right: 18px; top: 50%; margin-top: -25px; }
.lb__count { position: absolute; bottom: max(18px, env(safe-area-inset-bottom, 0px)); left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: rgba(255, 255, 255, .8); }

@media (max-width: 900px) {
  .cp-hero, .cp-about { grid-template-columns: 1fr; }
  .cp-hero__photo { order: -1; }
  .cp-back { margin-bottom: 0; }
  .cp-hero__text { display: flex; flex-direction: column; align-items: flex-start; }
  .cp-hero__text .car__make { margin-top: 26px; }
  .cp-grid { columns: 2; }
  .cp-tariff { grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 0; }
  .cp-tariff li { border-bottom: 1px solid rgba(255, 255, 255, .22); padding: 18px 0 20px; }
  .cp-tariff li + li { padding-left: 0; border-left: 0; }
  .cp-tariff li:nth-child(even) { padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .22); }
  .cp-tariff li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .cp main { padding-top: 68px; }
  .cp-hero__cta .btn { width: 100%; }
  .cp-prices__head .btn { width: 100%; }
  /* the three uses stay on one line */
  .cp-uses { flex-wrap: nowrap; gap: 6px; }
  .cp-uses li { flex: 0 1 auto; white-space: nowrap; font-size: clamp(11px, 3.5vw, 14px); padding: 9px clamp(7px, 2.7vw, 14px); }
  .lb__nav { top: auto; bottom: max(14px, env(safe-area-inset-bottom, 0px)); margin-top: 0; }
  .lb__img { max-height: 72svh; }
}

/* Touch devices: no floating reserve bar (the nav keeps a Reserve button). A fixed bar at the bottom edge makes iPhone Safari paint a solid band behind its toolbar. */
@media (hover: none) {
  .dock { display: none; }
  .dock-on .wa { bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
}
