/* =========================================================
   VELOCE — private fleet
   Type: Big Shoulders Display / Schibsted Grotesk / Azeret Mono
   Palette: asphalt + bone + racing red
   ========================================================= */

:root {
  --asphalt: #0d0c0b;
  --asphalt-2: #141210;
  --asphalt-3: #1b1917;
  --card: #181614;
  --bone: #ece7de;
  --bone-2: #ded8cd;
  --bone-3: #cfc8bc;
  --muted: #a39d94;
  --muted-2: #6f6a62;
  --muted-dark: #5e574e;
  --line: rgba(236, 231, 222, 0.13);
  --line-strong: rgba(236, 231, 222, 0.28);
  --red: #e00010;
  --red-hot: #ff2a1f;

  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-body: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Azeret Mono", ui-monospace, SFMono-Regular, monospace;

  --pad: clamp(1.25rem, 4.2vw, 4.5rem);
  --max: 1520px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--asphalt);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--red); color: #fff; }

.mono {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--bone);
  color: var(--asphalt);
  padding: 1rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible {
  outline: 2px solid var(--red-hot);
  outline-offset: 4px;
}

/* ---------- texture + cursor + scroll bar ---------- */

.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.22'/%3E%3C/svg%3E");
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 100;
  background: rgba(236, 231, 222, 0.08);
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--red);
  transition: width 0.1s linear;
}

.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 120;
  pointer-events: none;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity 0.3s;
}
body.has-cursor .cursor { opacity: 1; }
.cursor__dot,
.cursor__ring {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor__dot {
  width: 6px;
  height: 6px;
  background: #fff;
}
.cursor__ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), opacity 0.3s;
}
body.cursor-active .cursor__ring {
  width: 56px;
  height: 56px;
  border-color: #fff;
}

/* ---------- header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(13, 12, 11, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
  border-bottom-color: var(--line);
}
.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  height: 84px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.brand { display: flex; flex-direction: column; gap: 0.15rem; line-height: 1; }
.brand__mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.46rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 2.4vw, 2.4rem);
}
.nav a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone);
  padding: 0.4rem 0;
}
.nav a span { color: var(--muted-2); font-size: 0.5rem; transition: color 0.3s; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--bone);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active span { color: var(--red); }

.header__actions { display: flex; align-items: center; gap: 1.25rem; }
.header__phone {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  transition: color 0.3s;
}
.header__phone:hover { color: var(--bone); }

/* ---------- buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 1.05rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.35s, color 0.35s, border-color 0.35s, transform 0.35s var(--ease);
  will-change: transform;
}
.btn svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  transition: transform 0.4s var(--ease);
}
.btn:hover svg { transform: translate(2px, -2px); }
.btn--sm { padding: 0.8rem 1.1rem; font-size: 0.55rem; }
.btn--full { width: 100%; }

.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-hot); }

.btn--bone { background: var(--bone); color: var(--asphalt); }
.btn--bone:hover { background: #fff; }

.btn--ghost { border-color: var(--line-strong); color: var(--bone); }
.btn--ghost:hover { border-color: var(--bone); }

/* ---------- burger + menu ---------- */

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1px;
  background: var(--bone);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: var(--asphalt);
  transform: translateY(-102%);
  visibility: hidden;
  transition: transform 0.7s var(--ease), visibility 0s 0.7s;
  overflow-y: auto;
}
.menu.is-open {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.7s var(--ease), visibility 0s;
}
.menu__inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 110px var(--pad) 2.5rem;
}
.menu__meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.menu__nav { display: flex; flex-direction: column; padding: 2rem 0; flex: 1; }
.menu__link {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 9vw, 3.4rem);
  line-height: 1.05;
  text-transform: uppercase;
  transition: color 0.3s, padding-left 0.4s var(--ease);
}
.menu__link span {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--red);
  letter-spacing: 0.12em;
}
.menu__link:hover { color: var(--red); padding-left: 0.75rem; }
.menu__foot {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--muted);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100svh;
  padding: 130px var(--pad) 0;
  overflow: hidden;
  background: #080706;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 52%;
  filter: saturate(0.82) contrast(1.06) brightness(0.78);
  transform: scale(1.07);
  animation: heroZoom 2.6s var(--ease) forwards;
}
.hero__vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 5, 4, 0.95) 0%, rgba(6, 5, 4, 0.84) 34%, rgba(6, 5, 4, 0.25) 68%, rgba(6, 5, 4, 0.6) 100%),
    linear-gradient(180deg, rgba(6, 5, 4, 0.8) 0%, rgba(6, 5, 4, 0) 32%, rgba(6, 5, 4, 0.55) 78%, var(--asphalt) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.hero__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.56rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(236, 231, 222, 0.2);
  margin-bottom: clamp(2rem, 6vh, 4.5rem);
  opacity: 0;
  animation: fadeIn 1s 0.6s var(--ease) forwards;
}
.hero__live { display: inline-flex; align-items: center; color: var(--bone); }
.hero__live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 0.55rem;
  box-shadow: 0 0 0 0 rgba(224, 0, 16, 0.5);
  animation: pulse 2.4s infinite;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.1rem, 8.4vw, 9rem);
  line-height: 0.84;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.03em; }
.hero__title .line > span {
  display: block;
  transform: translateY(110%);
  animation: lineUp 1.15s var(--ease) forwards;
}
.hero__title .line:nth-child(1) > span { animation-delay: 0.25s; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.36s; }
.hero__title .line:nth-child(3) > span { animation-delay: 0.47s; }
.hero__title .accent { color: var(--red); }

.hero__lead {
  max-width: 40ch;
  color: #cec7bc;
  font-size: clamp(0.92rem, 1.05vw, 1.05rem);
  line-height: 1.68;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeIn 1s 0.9s var(--ease) forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
  opacity: 0;
  animation: fadeIn 1s 1.05s var(--ease) forwards;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(236, 231, 222, 0.2);
  opacity: 0;
  animation: fadeIn 1.2s 1.2s var(--ease) forwards;
}
.hero__stats li { padding: 1.35rem 1.25rem 1.6rem 0; }
.hero__stats li + li { padding-left: 1.25rem; border-left: 1px solid rgba(236, 231, 222, 0.1); }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 0.55rem;
}
.stat__num i {
  font-style: normal;
  font-size: 0.4em;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-left: 0.15em;
}
.stat__label {
  display: block;
  font-size: 0.5rem;
  line-height: 1.75;
  color: var(--muted);
  letter-spacing: 0.16em;
}

/* ---------- ticker ---------- */

.ticker {
  position: relative;
  overflow: hidden;
  background: var(--bone);
  color: var(--asphalt);
  padding: 0.9rem 0;
  border-top: 1px solid var(--asphalt);
  border-bottom: 1px solid var(--asphalt);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 42s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; align-items: center; }
.ticker__group span {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 0 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__group span i {
  font-style: normal;
  font-size: 0.52rem;
  color: var(--muted-dark);
  letter-spacing: 0.08em;
}
.ticker__group b { color: var(--red); font-size: 0.45rem; }

/* ---------- section scaffolding ---------- */

.section { padding: clamp(3.5rem, 8vw, 7.5rem) var(--pad); }

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1.5rem 3rem;
  max-width: var(--max);
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
}
.eyebrow {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.56rem;
}
.eyebrow span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--red);
  font-weight: 500;
}
.eyebrow span::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 5.4vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.section__note {
  text-align: right;
  color: var(--muted);
  font-size: 0.54rem;
  line-height: 1.9;
  white-space: nowrap;
}

/* ---------- fleet ---------- */

.section--fleet {
  position: relative;
  background:
    radial-gradient(1200px 500px at 78% 0%, rgba(224, 0, 16, 0.07), transparent 65%),
    var(--asphalt);
}

.fleet { position: relative; max-width: var(--max); margin: 0 auto; }

.fleet__legend {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1.9fr) 0.85fr 0.65fr 0.55fr 0.95fr 2.6rem;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.48rem;
}
.fleet__legend span:last-child { width: 100%; }

.car__row {
  position: relative;
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1.9fr) 0.85fr 0.65fr 0.55fr 0.95fr 2.6rem;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 0.9rem;
  margin: 0 -0.9rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), padding 0.4s var(--ease);
}
.car__no { color: var(--muted-2); font-size: 0.55rem; transition: color 0.4s; }

.car__name b {
  display: block;
  font-family: var(--font-body);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
  transition: color 0.3s;
}
.car__name em {
  display: block;
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.3vw, 2.05rem);
  line-height: 1;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
.car__spec { color: var(--muted); font-size: 0.56rem; transition: color 0.3s; }
.car__price { text-align: right; }
.car__price b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
}
.car__price em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.45rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.car__arrow {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background 0.35s, border-color 0.35s, color 0.35s, transform 0.45s var(--ease);
}
.car__arrow svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.4; }

.car__thumb { display: none; }

.car__row:hover,
.car__row:focus-visible {
  background: var(--bone);
  color: var(--asphalt);
  padding-left: 1.6rem;
  padding-right: 1.6rem;
}
.car__row:hover .car__no,
.car__row:focus-visible .car__no { color: var(--red); }
.car__row:hover .car__name b,
.car__row:focus-visible .car__name b { color: var(--red); }
.car__row:hover .car__spec,
.car__row:focus-visible .car__spec { color: var(--muted-dark); }
.car__row:hover .car__price em,
.car__row:focus-visible .car__price em { color: var(--muted-dark); }
.car__row:hover .car__arrow,
.car__row:focus-visible .car__arrow {
  background: var(--asphalt);
  border-color: var(--asphalt);
  color: var(--bone);
  transform: rotate(45deg);
}

.fleet__preview {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  width: 340px;
  height: 225px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(var(--sc, 0.94)) rotate(-3deg);
  transition: opacity 0.35s, transform 0.25s var(--ease);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  will-change: transform;
}
.fleet__preview img { width: 100%; height: 100%; object-fit: cover; }
.fleet__preview.is-on { opacity: 1; --sc: 1; }

.fleet__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-top: 1.25rem;
  color: var(--muted);
  font-size: 0.5rem;
}
.fleet__foot a { color: var(--bone); transition: color 0.3s; }
.fleet__foot a:hover { color: var(--red); }

/* ---------- light sections ---------- */

.section--light { background: var(--bone); color: var(--asphalt); }
.section--light .eyebrow { color: var(--muted-dark); }
.section--light .section__note { color: var(--muted-dark); }

/* ---------- collection ---------- */

.collection {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
}
.collection__lead {
  max-width: 48ch;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.72;
  color: #3b3731;
  margin-bottom: clamp(2rem, 3vw, 2.8rem);
}
.perks { border-top: 1px solid rgba(13, 12, 11, 0.2); }
.perk {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.5rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(13, 12, 11, 0.14);
}
.perk__no { color: var(--red); font-size: 0.56rem; padding-top: 0.25rem; }
.perk h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.perk p { font-size: 0.88rem; line-height: 1.6; color: #514b43; max-width: 46ch; }

.collection__figure { margin: 0; }
.frame {
  position: relative;
  padding: 0.55rem;
  border: 1px solid rgba(13, 12, 11, 0.2);
  overflow: hidden;
}
.frame img {
  width: 100%;
  aspect-ratio: 4 / 4.2;
  object-fit: cover;
  object-position: 72% 50%;
  filter: saturate(0.92) contrast(1.03);
  transition: transform 1.2s var(--ease);
}
.frame:hover img { transform: scale(1.035); }
.frame__tag {
  position: absolute;
  left: 1.4rem;
  bottom: 1.4rem;
  background: var(--asphalt);
  color: var(--bone);
  padding: 0.5rem 0.7rem;
  font-size: 0.46rem;
}
.collection__figure figcaption {
  margin-top: 0.85rem;
  color: var(--muted-dark);
  font-size: 0.52rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: clamp(1.5rem, 3vw, 2.2rem);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: gap 0.35s var(--ease), color 0.3s;
}
.link-arrow svg { width: 26px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.link-arrow:hover { gap: 1.4rem; color: var(--red); }

/* ---------- process ---------- */

.section--process { background: var(--asphalt); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 clamp(1rem, 2.5vw, 2.5rem);
  max-width: var(--max);
  margin: 0 auto;
}
.step {
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-strong);
  position: relative;
}
.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.6s var(--ease) 0.15s;
}
.step.is-in::before { width: 100%; }
.step__time { color: var(--red); font-size: 0.58rem; letter-spacing: 0.14em; }
.step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 1.7vw, 1.6rem);
  line-height: 1.05;
  text-transform: uppercase;
  margin: clamp(1.5rem, 4vw, 3rem) 0 0.7rem;
}
.step p { font-size: 0.85rem; line-height: 1.65; color: var(--muted); max-width: 34ch; }

/* ---------- voucher ---------- */

.section--voucher {
  background:
    radial-gradient(700px 400px at 78% 50%, rgba(224, 0, 16, 0.16), transparent 70%),
    var(--asphalt-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.voucher {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}
.voucher__lead {
  max-width: 42ch;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 1.2rem 0 2rem;
}
.voucher__copy .eyebrow { margin-bottom: 1.2rem; }
.voucher__copy .display { margin-bottom: 0; }

.ticket {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 168px;
  background: var(--bone);
  color: var(--asphalt);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  transform: rotate(-1.4deg);
  transition: transform 0.6s var(--ease);
}
.ticket:hover { transform: rotate(0deg) translateY(-4px); }
.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  right: calc(168px - 13px);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--asphalt-2);
  z-index: 2;
}
.ticket::before { top: -13px; }
.ticket::after { bottom: -13px; }

.ticket__main { padding: clamp(1.5rem, 3vw, 2.4rem); }
.ticket__top {
  display: flex;
  justify-content: space-between;
  color: var(--muted-dark);
  font-size: 0.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(13, 12, 11, 0.18);
}
.ticket__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: clamp(1.2rem, 3vw, 2.2rem) 0 0.6rem;
}
.ticket__amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
}
.ticket__amount i { font-style: normal; font-family: var(--font-body); font-size: 1rem; font-weight: 500; letter-spacing: 0.04em; }
.ticket__desc { color: var(--muted-dark); font-size: 0.82rem; margin-top: 0.5rem; }
.ticket__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  margin-top: clamp(1.5rem, 3vw, 2.4rem);
  padding-top: 1rem;
  border-top: 1px dashed rgba(13, 12, 11, 0.35);
  color: var(--muted-dark);
  font-size: 0.46rem;
}

.ticket__stub {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1.5rem 1rem;
  border-left: 1px dashed rgba(13, 12, 11, 0.4);
  background: #e4ded2;
  text-align: center;
}
.ticket__stub-label { font-size: 0.44rem; color: var(--muted-dark); }
.ticket__stub-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;
  line-height: 0.85;
  text-align: center;
}
.ticket__stub-value i { font-style: normal; font-family: var(--font-body); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; }
.ticket__barcode {
  width: 74%;
  height: 42px;
  background: repeating-linear-gradient(90deg, #0d0c0b 0 2px, transparent 2px 4px, #0d0c0b 4px 5px, transparent 5px 9px);
}
.ticket__stub-no { font-size: 0.42rem; color: var(--muted-dark); }

/* ---------- reviews ---------- */

.rating {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 0.15rem 0.8rem;
  justify-items: start;
}
.rating__num { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; line-height: 1; }
.rating__stars { color: var(--red); letter-spacing: 0.15em; font-size: 0.85rem; }
.rating__meta { grid-column: 1 / -1; color: var(--muted-dark); font-size: 0.5rem; }

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid rgba(13, 12, 11, 0.2);
}
.review { padding: 2rem 2rem 0 0; }
.review + .review { padding-left: 2rem; border-left: 1px solid rgba(13, 12, 11, 0.14); }
.review__stars { color: var(--red); letter-spacing: 0.18em; font-size: 0.8rem; }
.review blockquote {
  font-size: 1.02rem;
  line-height: 1.62;
  margin: 1.2rem 0 2rem;
  max-width: 34ch;
  color: #24211d;
}
.review footer { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.5rem; color: var(--muted-dark); }
.review footer b { font-weight: 500; color: var(--asphalt); letter-spacing: 0.16em; }

/* ---------- booking ---------- */

.section--booking {
  background:
    radial-gradient(900px 500px at 12% 0%, rgba(224, 0, 16, 0.09), transparent 60%),
    var(--asphalt);
}
.booking {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 6rem);
  max-width: var(--max);
  margin: 0 auto;
}
.booking__copy .eyebrow { margin-bottom: 1.2rem; }
.booking__lead { color: var(--muted); font-size: 0.98rem; line-height: 1.7; max-width: 38ch; margin: 1.2rem 0 2rem; }
.booking__contact { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.booking__contact li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--bone);
  font-size: 0.55rem;
  line-height: 1.6;
}
.booking__contact li span { color: var(--muted-2); font-size: 0.48rem; }
.booking__contact a { transition: color 0.3s; }
.booking__contact a:hover { color: var(--red); }

.form { position: relative; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
.field { display: block; margin-bottom: 1.5rem; }
.field__label {
  display: block;
  color: var(--muted);
  font-size: 0.5rem;
  margin-bottom: 0.55rem;
}
.field__label i { font-style: normal; color: var(--muted-2); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s, background 0.3s;
}
.field textarea { resize: vertical; min-height: 72px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a39d94' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.2rem center;
  padding-right: 1.5rem;
  cursor: pointer;
}
.field select option { background: var(--asphalt-2); color: var(--bone); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--red); }
.field input[type="date"] { color-scheme: dark; }

.field__error {
  display: none;
  margin-top: 0.45rem;
  color: var(--red-hot);
  font-family: var(--font-mono);
  font-size: 0.46rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.field.is-invalid input,
.field.is-invalid select { border-bottom-color: var(--red-hot); }
.field.is-invalid .field__error { display: block; }

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0.25rem 0 1.75rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.55;
  cursor: pointer;
  position: relative;
}
.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  margin-top: 0.15rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}
.check input:checked { background: var(--red); border-color: var(--red); }
.check input:checked::after {
  content: "✓";
  display: block;
  color: #fff;
  font-size: 10px;
  line-height: 13px;
  text-align: center;
}
.check.is-invalid input { border-color: var(--red-hot); }
.check .field__error { position: absolute; left: 0; bottom: -1.1rem; }

.form__note { margin-top: 0.9rem; color: var(--muted-2); font-size: 0.46rem; text-align: center; }

.form__success {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.6rem;
  background: var(--asphalt);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.form__success[hidden] { display: none; }
.form__success-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.form__success h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}
.form__success p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; max-width: 44ch; }
.form__demo { font-size: 0.46rem !important; color: var(--muted-2) !important; padding-top: 0.5rem; border-top: 1px solid var(--line); }
.form__success .link-arrow { margin-top: 0.75rem; font-size: 0.52rem; }

/* ---------- footer ---------- */

.footer {
  background: #080706;
  border-top: 1px solid var(--line);
  padding: clamp(2.5rem, 5vw, 4rem) var(--pad) 1.5rem;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr);
  gap: 2rem clamp(2rem, 5vw, 5rem);
  max-width: var(--max);
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.footer__wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 10vw, 9rem);
  line-height: 0.78;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 231, 222, 0.28);
  margin-bottom: 1.2rem;
}
.footer__tag { color: var(--muted); font-size: 0.85rem; line-height: 1.7; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer__col { display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.85rem; color: var(--muted); }
.footer__col p { color: var(--muted-2); font-size: 0.48rem; margin-bottom: 0.4rem; }
.footer__col a { transition: color 0.3s; }
.footer__col a:hover { color: var(--bone); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.46rem;
}
.footer__bottom a { transition: color 0.3s; }
.footer__bottom a:hover { color: var(--bone); }

/* ---------- reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--delay, 0) * 110ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- keyframes ---------- */

@keyframes lineUp {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroZoom {
  from { transform: scale(1.09); }
  to { transform: scale(1); }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(224, 0, 16, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(224, 0, 16, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 0, 16, 0); }
}

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  .nav { gap: 1.1rem; }
  .header__phone { display: none; }
  .fleet__legend,
  .car__row {
    grid-template-columns: 3rem minmax(0, 1.7fr) 0.8fr 0.6fr 0.5fr 0.85fr 2.4rem;
  }
}

@media (max-width: 980px) {
  .header__inner { grid-template-columns: auto 1fr auto; }
  .nav { display: none; }
  .burger { display: block; }
  .header__inner { height: 72px; }
  .brand__mark { font-size: 1.35rem; }
  .header__actions { gap: 0.75rem; }
  .header__actions .btn { display: none; }

  .hero { padding-top: 110px; min-height: 92svh; }
  .hero__meta { font-size: 0.48rem; }
  .hero__place { display: none; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stats li:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero__stats li:nth-child(n + 3) { border-top: 1px solid rgba(236, 231, 222, 0.1); }
  .hero__stats li:nth-child(4) { padding-left: 1.25rem; }

  .section__head { grid-template-columns: 1fr; }
  .section__note { text-align: left; }

  .fleet__legend { display: none; }
  .car__row {
    grid-template-columns: 2.2rem minmax(0, 1fr) 76px;
    grid-template-areas:
      "no name thumb"
      "no price thumb";
    gap: 0.25rem 0.9rem;
    align-items: center;
    padding: 0.95rem 0.6rem;
    margin: 0 -0.6rem;
  }
  .car__row:hover { padding-left: 1rem; padding-right: 1rem; }
  .car__no { grid-area: no; align-self: center; }
  .car__name { grid-area: name; }
  .car__name em { font-size: 1.35rem; }
  .car__spec { display: none; }
  .car__price { grid-area: price; text-align: left; display: flex; align-items: baseline; gap: 0.4rem; }
  .car__price b { font-size: 1rem; }
  .car__arrow { display: none; }
  .car__thumb {
    grid-area: thumb;
    display: block;
    width: 76px;
    height: 52px;
    overflow: hidden;
    align-self: center;
  }
  .car__thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); }
  .fleet__preview { display: none; }

  .collection { grid-template-columns: 1fr; }
  .frame img { aspect-ratio: 16 / 11; }

  .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }

  .voucher { grid-template-columns: 1fr; }
  .ticket { max-width: 560px; }

  .reviews { grid-template-columns: 1fr; border-top: 1px solid rgba(13, 12, 11, 0.2); }
  .review { padding: 1.75rem 0; border-bottom: 1px solid rgba(13, 12, 11, 0.14); }
  .review + .review { padding-left: 0; border-left: 0; }
  .review:last-child { border-bottom: 0; }
  .review blockquote { max-width: 46ch; }

  .booking { grid-template-columns: 1fr; }

  .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .hero__title { font-size: clamp(2.7rem, 12vw, 4.6rem); }
  .hero__lead { font-size: 0.9rem; }
  .hero__meta { font-size: 0.44rem; letter-spacing: 0.1em; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .stat__num { font-size: 2rem; }
  .stat__label { font-size: 0.44rem; }

  .car__name em { font-size: 1.15rem; }
  .car__thumb { width: 64px; height: 46px; }
  .car__row { grid-template-columns: 2rem minmax(0, 1fr) 64px; }

  .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }

  .ticket { grid-template-columns: 1fr; }
  .ticket::before, .ticket::after { display: none; }
  .ticket__stub {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    border-left: 0;
    border-top: 1px dashed rgba(13, 12, 11, 0.4);
    padding: 1rem 1.2rem;
  }
  .ticket__barcode { width: 90px; height: 30px; }
  .ticket__stub-value { font-size: 1.8rem; }

  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__wordmark { font-size: 4rem; }
}

@media (hover: none) {
  .cursor { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .cursor { display: none; }
  .hero__title .line > span { transform: none; }
  .hero__media img { transform: none; }
}
