/* Kraft Auto: night drive. One dark ground, one signal-orange accent, a wide grotesk. */
:root {
  color-scheme: dark;
  --bg: #0a0a0b;
  --bg-2: #111113;
  --panel: #151517;
  --ink: #f1efe9;
  --muted: #a3a19c;
  --dim: #74726e;
  --line: rgba(241, 239, 233, .12);
  --line-2: rgba(241, 239, 233, .4);
  --accent: #ff5a1f;
  --accent-ink: #0a0a0b;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(20px, 4.4vw, 64px);
  --max: 1440px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --r: 22px;
  --top-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 0; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--font); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ol, ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 200; padding: 10px 16px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-weight: 600; transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip:focus-visible { transform: none; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- type ---------- */

.h2 {
  font-weight: 500; font-stretch: 112%; font-size: clamp(34px, 4.7vw, 72px); line-height: 1;
  letter-spacing: -.035em; text-wrap: balance;
}
.lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; color: var(--ink); max-width: 36em; }
p { text-wrap: pretty; }
.label { font: 500 15px/1.3 var(--font); color: var(--muted); }
.link { color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .35s var(--ease), color .2s; }
@media (hover: hover) { .link:hover { color: var(--accent); background-size: 0 1px; background-position: 100% 100%; } }

/* ---------- buttons ---------- */
.btn {
  --h: 46px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 22px; border-radius: 999px; white-space: nowrap;
  font: 600 15px/1 var(--font); font-stretch: 104%; letter-spacing: -.005em;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn--lg { --h: 56px; padding: 0 28px; font-size: 16px; }
.btn i { position: relative; width: 16px; height: 16px; overflow: hidden; }
.btn i::before, .btn i::after {
  content: "→"; position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; line-height: 1;
  transition: transform .35s var(--ease-out);
}
.btn i::after { transform: translateX(-120%); }
@media (hover: hover) {
  .btn:hover i::before { transform: translateX(120%); }
  .btn:hover i::after { transform: none; }
  .btn:hover { transform: translateY(-1px); }
  .btn--accent:hover { background: #ff7440; }
  .btn--ghost:hover { border-color: var(--ink); background: rgba(241, 239, 233, .08); }
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--ghost { color: var(--ink); border: 1px solid var(--line-2); background: rgba(241, 239, 233, .04); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .4s, border-color .4s; border-bottom: 1px solid transparent; }
.top.is-scrolled { background: rgba(10, 10, 11, .72); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); border-color: var(--line); }
.top__in { display: flex; align-items: center; gap: 32px; height: var(--top-h); max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.top__logo img { width: 92px; height: auto; }
.top__nav { display: flex; gap: 30px; margin-inline: auto; }
.top__nav a { position: relative; font-size: 15px; color: var(--muted); padding: 10px 0; transition: color .2s; }
.top__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.top__nav a:hover, .top__nav a.is-current { color: var(--ink); }
.top__nav a:hover::after, .top__nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.top__menu { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(241, 239, 233, .04); color: var(--ink); cursor: pointer; position: relative; }
.top__menu i { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.top__menu i:nth-of-type(1) { top: 18px; }
.top__menu i:nth-of-type(2) { top: 26px; }
.top__menu[aria-expanded="true"] i:nth-of-type(1) { top: 22px; transform: rotate(45deg); }
.top__menu[aria-expanded="true"] i:nth-of-type(2) { top: 22px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 40; background: rgba(10, 10, 11, .96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); display: flex; align-items: flex-end; padding: calc(var(--top-h) + 24px) var(--pad) 40px; opacity: 0; transition: opacity .35s; }
.menu.is-open { opacity: 1; }
.menu[hidden] { display: none; }
.menu nav { display: grid; width: 100%; }
.menu a { display: block; padding: 14px 0; border-top: 1px solid var(--line); font-size: clamp(30px, 8vw, 48px); font-weight: 500; font-stretch: 112%; letter-spacing: -.03em; line-height: 1.05; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; min-height: max(100svh, 640px); display: grid; grid-template-rows: 1fr auto; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; transform: translate3d(0, var(--hy, 0px), 0) scale(var(--hs, 1)); will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.js .hero__media img { transform: scale(1.14); filter: brightness(.4) saturate(.8); transition: transform 2.8s var(--ease-out), filter 2.2s var(--ease); }
.is-loaded .hero__media img { transform: none; filter: none; }

/* the number plate: placed over the photo's own plate by main.js (a 3D matrix from its four corners) */
.plate-layer { position: absolute; inset: 0; pointer-events: none; filter: brightness(.74) saturate(.9); }
.js .plate-layer { transform: scale(1.14); filter: brightness(.3) saturate(.7); transition: transform 2.8s var(--ease-out), filter 2.2s var(--ease); }
.is-loaded .plate-layer { transform: none; filter: brightness(.74) saturate(.9); }
.plate { position: absolute; left: 0; top: 0; width: 600px; height: 161px; transform-origin: 0 0; visibility: hidden; }
.plate.is-placed.is-drawn { visibility: visible; }
.hero__pause {
  position: absolute; z-index: 2; top: calc(var(--top-h) + 14px); right: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; cursor: pointer;
  color: var(--ink); border: 1px solid var(--line-2); background: rgba(10, 10, 11, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: .7; transition: opacity .25s, border-color .25s, transform .2s var(--ease-out);
}
.hero__pause[hidden] { display: none; }
.hero__pause:hover, .hero__pause:focus-visible { opacity: 1; border-color: var(--ink); }
.hero__pause:active { transform: scale(.94); }
.hero__pause svg { fill: currentColor; }
.hero__pause .i-play, .hero__pause[aria-pressed="true"] .i-pause { display: none; }
.hero__pause[aria-pressed="true"] .i-play { display: inline; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(10, 10, 11, .78) 22%, rgba(10, 10, 11, .18) 55%, rgba(10, 10, 11, .5) 100%),
    radial-gradient(120% 80% at 0% 100%, rgba(10, 10, 11, .7), transparent 60%),
    linear-gradient(90deg, rgba(10, 10, 11, .55) 0%, rgba(10, 10, 11, .4) 40%, rgba(10, 10, 11, 0) 66%);
}
.hero__in { align-self: end; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 28px; padding-top: calc(var(--top-h) + 40px); padding-bottom: 48px; }
.hero__h {
  grid-column: 1 / span 8; font-weight: 500; font-stretch: 112%; font-size: clamp(42px, 6.9vw, 112px);
  line-height: .96; letter-spacing: -.045em;
}
.hero__h .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__h .line > span { display: inline-block; }
.hero__side { grid-column: 9 / -1; align-self: end; display: grid; gap: 28px; }
.hero__lead { color: var(--ink); font-size: clamp(17px, 1.3vw, 19px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hud { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; padding-bottom: 36px; }
.hud > div { display: grid; gap: 4px; align-content: start; }
.hud dt { font-size: clamp(18px, 1.6vw, 24px); font-weight: 500; font-stretch: 110%; letter-spacing: -.02em; line-height: 1.1; }
.hud dd { font-size: 15px; line-height: 1.45; color: var(--muted); }

/* entrance */
.js [data-in] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1.1s var(--ease-out); }
.js .hero__h [data-in] { opacity: 1; transform: translateY(105%); transition: transform 1.15s var(--ease-out); }
.is-loaded [data-in] { opacity: 1; transform: none !important; }
[data-in="1"] { transition-delay: .25s !important; }
[data-in="2"] { transition-delay: .35s !important; }
[data-in="3"] { transition-delay: .45s !important; }
[data-in="4"] { transition-delay: .55s !important; }
[data-in="5"] { transition-delay: .8s !important; }
[data-in="6"] { transition-delay: 1s !important; }

/* scroll reveal */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1.1s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- sections ---------- */
.sec { position: relative; padding-block: clamp(96px, 13vh, 168px); }
.sec__head { display: grid; gap: 0; margin-bottom: clamp(40px, 6vh, 72px); max-width: 980px; }

/* route */
.route { min-height: 100svh; padding-block: clamp(96px, 11vh, 140px); display: grid; align-items: center; background: linear-gradient(to bottom, var(--bg), var(--bg-2)); }
.route__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(32px, 6vw, 112px); align-items: center; }
.route__text .lead { margin-top: 24px; color: var(--muted); max-width: 30em; }
.countries { margin-top: 40px; display: grid; gap: 2px; }
.countries li { padding: 2px 0; cursor: default; }
.countries__name { font-size: clamp(28px, 3vw, 46px); font-weight: 600; font-stretch: 118%; letter-spacing: -.035em; line-height: 1; color: var(--dim); transition: color .6s var(--ease), transform .6s var(--ease-out); }
.countries li.is-lit .countries__name { color: var(--ink); }
.countries li.is-hot .countries__name { color: var(--accent); }
html:not(.js) .countries__name { color: var(--ink); }

.map { width: 100%; max-width: 640px; justify-self: end; }
.map__svg { display: block; width: 100%; height: auto; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 16%, #000 90%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 10%, #000 74%, transparent 98%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0%, #000 16%, #000 90%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 10%, #000 74%, transparent 98%); mask-composite: intersect; }
.map__svg path { vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.map__rest { fill: rgba(241, 239, 233, .03); stroke: rgba(241, 239, 233, .14); stroke-width: 1; }
.map__c { fill: rgba(241, 239, 233, .07); stroke: rgba(241, 239, 233, .38); stroke-width: 1.2; transition: fill .6s var(--ease), stroke .6s var(--ease); }
.map__c.is-lit { fill: rgba(241, 239, 233, .17); stroke: rgba(241, 239, 233, .7); }
.map__c.is-hot { fill: rgba(255, 90, 31, .3); stroke: var(--accent); }
.map__home { fill: var(--accent); stroke: var(--accent); stroke-width: 1; }
.map__labels text { font: 600 26px var(--font); font-stretch: 108%; fill: var(--ink); text-anchor: middle; letter-spacing: -.01em; paint-order: stroke; stroke: rgba(10, 10, 11, .55); stroke-width: 4px; transition: fill .4s; }
.map__labels .map__home-label { fill: var(--accent-ink); stroke: none; }
.map__labels text.is-hot { fill: var(--accent); }

/* services */
.services { background: var(--bg-2); }
.services__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(32px, 5vw, 96px); align-items: start; }
.svc { border-bottom: 1px solid var(--line); }
.svc__item { display: grid; grid-template-columns: minmax(0, 1fr); padding: 30px 0; border-top: 1px solid var(--line); cursor: default; outline-offset: 6px; }
.svc__body { display: grid; gap: 14px; }
.svc__item h3 { font-weight: 500; font-stretch: 110%; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.05; letter-spacing: -.03em; color: var(--muted); transition: color .4s var(--ease); }
.svc__item p { color: var(--muted); max-width: 34em; }
.svc__item p { transition: opacity .5s var(--ease); }
.svc__item.is-on h3 { color: var(--ink); }
.svc__img-m { display: none; }
.svc__stage { position: sticky; top: calc(var(--top-h) + 32px); aspect-ratio: 4 / 5; max-height: calc(100svh - var(--top-h) - 64px); width: 100%; border-radius: var(--r); overflow: hidden; background: var(--panel); }
.svc__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .8s var(--ease), transform 1.4s var(--ease-out); }
.svc__stage img.is-on { opacity: 1; transform: none; }
@media (hover: hover) { .svc__stage:hover img.is-on { transform: scale(1.03); } }
@media (hover: hover) and (min-width: 1024px) {
  .svc__item:not(.is-on) p { opacity: .8; }
}

/* story (sticky) */
.story { position: relative; height: 250svh; background: var(--bg); }
.story__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; }
.story__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transform: scale(1.12); transition: clip-path .8s var(--ease-out), transform 1.1s var(--ease-out); z-index: -2; }
.story__media img.is-on { clip-path: inset(0 0 0 0); transform: none; }
.story__media img:first-child { clip-path: inset(0 0 0 0); }
.story__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 10, 11, .92) 0%, rgba(10, 10, 11, .7) 38%, rgba(10, 10, 11, .1) 70%), linear-gradient(to top, rgba(10, 10, 11, .7), transparent 40%), linear-gradient(to bottom, rgba(10, 10, 11, .75), transparent 38%); }
.story__in { height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding-top: calc(var(--top-h) + 40px); padding-bottom: 40px; }
.story__steps { align-self: center; display: grid; gap: 4px; max-width: 520px; }
.story__step { display: grid; padding: 18px 0 18px 20px; border-left: 2px solid var(--line); transition: border-color .4s; }
.story__step h3 { font-weight: 500; font-stretch: 110%; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.1; letter-spacing: -.025em; color: var(--muted); transition: color .4s; }
.story__step p { color: rgba(241, 239, 233, .82); overflow: hidden; max-height: 0; opacity: 0; margin-top: 0; }
.story__step.is-on { border-left-color: var(--accent); }
.story__step.is-on h3 { color: var(--ink); }
.story__step.is-on p { opacity: 1; max-height: 12em; margin-top: 10px; }
.story__step p { transition: max-height .45s var(--ease), opacity .4s var(--ease), margin .45s var(--ease); }
.story__bar { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.story__bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* prices */
.prices { background: var(--bg); min-height: 100svh; display: grid; align-content: center; }
.calc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 3vw, 48px); align-items: stretch; }
.calc__form { display: grid; gap: 28px; align-content: start; }
.calc__form legend { margin-bottom: 14px; }
.seg { display: grid; gap: 10px; }
.seg label { position: relative; display: block; cursor: pointer; }
.seg input, .toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 20px 22px; border: 1px solid var(--line-2); border-radius: 16px; transition: border-color .25s, background-color .25s; }
.seg b { font-weight: 500; font-stretch: 110%; font-size: 21px; letter-spacing: -.02em; }
.seg small { font-size: 14px; color: var(--muted); }
.seg label:hover span { border-color: var(--muted); }
.seg input:checked + span { border-color: var(--accent); background: rgba(255, 90, 31, .08); }
.seg input:focus-visible + span, .toggle input:focus-visible + .toggle__ui { outline: 2px solid var(--accent); outline-offset: 3px; }
.toggle { display: flex; gap: 16px; align-items: flex-start; cursor: pointer; font-size: 16px; }
.toggle small { display: block; font-size: 14px; line-height: 1.45; color: var(--muted); margin-top: 4px; }
.toggle__ui { flex: none; width: 48px; height: 28px; border-radius: 999px; border: 1px solid var(--line-2); position: relative; transition: background-color .25s, border-color .25s; }
.toggle__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); transition: transform .3s var(--ease-out); }
.toggle input:checked + .toggle__ui { background: var(--accent); border-color: var(--accent); }
.toggle input:checked + .toggle__ui::after { transform: translateX(20px); background: var(--accent-ink); }
.calc__out { position: relative; overflow: hidden; display: grid; align-content: start; gap: 8px; padding: clamp(28px, 3.4vw, 52px); border-radius: 28px; background: var(--panel); border: 1px solid var(--line); }
.calc__out { container-type: inline-size; }
/* sized to its panel: the longest price, 11 000, always fits */
.calc__price { font-weight: 600; font-stretch: 118%; font-size: min(144px, 22cqi); line-height: .95; letter-spacing: -.05em; font-variant-numeric: tabular-nums; margin: 8px 0 28px; white-space: nowrap; }
.calc__price [data-calc-price] { display: inline-block; transition: transform .45s var(--ease-out), opacity .3s; }
.calc__price [data-calc-price].is-flip { transform: translateY(-14%); opacity: 0; transition: none; }
.calc__unit { font-size: .42em; font-weight: 500; letter-spacing: -.02em; margin-left: .14em; }
.calc__rows p { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 16px; }
.calc__rows p span { color: var(--muted); }
.calc__rows p b { font-weight: 500; text-align: right; }
.calc__note { margin-top: 20px; color: var(--muted); font-size: 15px; max-width: 40em; }

/* cars (horizontal) */
.cars { position: relative; background: var(--bg-2); height: var(--cars-h, 260svh); }
.cars__stage { position: sticky; top: 0; height: 100svh; overflow: clip; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; padding-top: calc(var(--top-h) + 24px); padding-bottom: 40px; row-gap: clamp(24px, 4vh, 48px); }
.cars__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.cars__aside { color: var(--muted); max-width: 26em; }
.cars__track { display: flex; gap: 20px; padding-inline: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); transform: translate3d(var(--x, 0px), 0, 0); will-change: transform; align-items: stretch; min-height: 0; }
.cars__track::after { content: ""; flex: none; width: 1px; margin-left: calc(var(--pad) - 21px); }
.cars__track li { flex: none; height: min(62svh, 560px); aspect-ratio: 5 / 4; border-radius: var(--r); overflow: hidden; background: var(--panel); }
.cars__track img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
@media (hover: hover) { .cars__track li:hover img { transform: scale(1.03); } }
.cars__more { aspect-ratio: 3 / 4 !important; }
.cars__more a { display: flex; flex-direction: column; justify-content: space-between; height: 100%; padding: 32px; border: 1px solid var(--line-2); border-radius: var(--r); transition: background-color .3s, border-color .3s; }
.cars__more b { font-weight: 500; font-stretch: 112%; font-size: clamp(30px, 3vw, 44px); line-height: 1; letter-spacing: -.03em; }
.cars__more i { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); position: relative; transition: transform .35s var(--ease-out); }
.cars__more i::before { content: "→"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent-ink); font-style: normal; font-size: 22px; }
@media (hover: hover) {
  .cars__more a:hover { background: rgba(255, 90, 31, .08); border-color: var(--accent); }
  .cars__more a:hover i { transform: translateX(6px); }
}

/* about */
.about { overflow: hidden; min-height: 100svh; display: grid; align-items: center; }
.about__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(32px, 6vw, 112px); align-items: center; }
.about__text { display: grid; gap: 22px; }
.about__text .h2 { margin-top: 0; }
.about__text > p:not(.lead) { color: var(--muted); max-width: 34em; }
.about__media { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: #000; }
.about__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transition: transform 1.2s var(--ease-out); }
@media (hover: hover) { .about__media:hover img { transform: scale(1.03); } }

/* contact */
.contact { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.contact__media { position: absolute; inset: 0 0 auto; height: 62%; z-index: -2; overflow: hidden; }
.contact__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transform: scale(var(--cs, 1.1)); }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, var(--bg) 0%, rgba(10, 10, 11, 0) 30%, rgba(10, 10, 11, .25) 45%, var(--bg) 62%); }
.contact__in { display: grid; gap: 28px; padding-top: 40vh; padding-bottom: clamp(64px, 12vh, 128px); }
.contact__h { font-weight: 500; font-stretch: 114%; font-size: clamp(44px, 7vw, 112px); line-height: .94; letter-spacing: -.05em; max-width: 11em; text-wrap: balance; }
.contact__in .lead { color: rgba(241, 239, 233, .82); }
.contact__direct { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px clamp(28px, 4vw, 64px); }
.contact__direct a { font-weight: 500; font-stretch: 108%; font-size: clamp(24px, 3.4vw, 44px); line-height: 1.15; letter-spacing: -.03em; overflow-wrap: anywhere; }
.contact__direct .contact__mail { color: var(--accent); }
@media (hover: hover) { .contact__direct .contact__mail:hover { color: var(--ink); } }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* footer */
.foot { border-top: 1px solid var(--line); }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; padding-block: 36px; }
.foot__in img { width: 84px; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-right: auto; }
.foot__nav a, .foot__credits { color: var(--muted); font-size: 15px; padding: 10px 0; transition: color .2s; }
.foot__nav a:hover, .foot__credits:hover { color: var(--ink); }
.foot__legal { font-size: 14px; color: var(--muted); }



/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .top__nav { gap: 22px; }
  .hero__h { grid-column: 1 / -1; }
  .hero__side { grid-column: 1 / span 8; }
}
@media (max-width: 1023px) {
  .top__nav { display: none; }
  .top__cta { margin-left: auto; }
  .top__menu { display: block; }
  .route__grid, .services__grid, .calc, .about__grid { grid-template-columns: minmax(0, 1fr); row-gap: 48px; }
  .map { justify-self: center; max-width: 560px; }
  .svc__stage { display: none; }
  .svc__img-m { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; margin-top: 10px; }
  .svc__item h3 { color: var(--ink); }
  
  .hero__side { grid-column: 1 / -1; max-width: 560px; }
  .hero__shade { background: linear-gradient(to top, var(--bg) 0%, rgba(10, 10, 11, .85) 34%, rgba(10, 10, 11, .3) 55%, rgba(10, 10, 11, .12) 70%, rgba(10, 10, 11, .5) 100%); }
}
@media (max-width: 767px) {
  :root { --top-h: 64px; --r: 18px; }
  .top__in { gap: 12px; }
  .top__logo img { width: 74px; }
  .top__cta { --h: 40px; padding: 0 16px; font-size: 14px; }
  .top__cta i { display: none; }
  .top__menu { width: 40px; height: 40px; }
  .top__menu i { left: 12px; right: 12px; }
  .top__menu i:nth-of-type(1) { top: 15px; }
  .top__menu i:nth-of-type(2) { top: 23px; }
  .top__menu[aria-expanded="true"] i:nth-of-type(1), .top__menu[aria-expanded="true"] i:nth-of-type(2) { top: 19px; }
  .hero { min-height: 100svh; }
  .hero__in { padding-bottom: 28px; row-gap: 22px; }
  .hero__h { font-size: clamp(38px, 11.2vw, 64px); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__pause { width: 44px; height: 44px; top: calc(var(--top-h) + 10px); }
  .hud { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; column-gap: 16px; padding-bottom: 28px; }
  .hud dd { font-size: 13px; }
  .sec { padding-block: 88px; }
  .countries__name { font-size: clamp(28px, 9vw, 40px); }
  .seg span { padding: 16px 18px; }
  .seg b { font-size: 18px; }
  .calc__rows p { flex-direction: column; gap: 4px; }
  .calc__rows p b { text-align: left; }
  .story__shade { background: linear-gradient(to top, rgba(10, 10, 11, .95) 0%, rgba(10, 10, 11, .8) 45%, rgba(10, 10, 11, .25) 75%), linear-gradient(to bottom, rgba(10, 10, 11, .92) 0%, rgba(10, 10, 11, .82) 26%, rgba(10, 10, 11, 0) 46%); }
  .story__steps { align-self: end; padding-bottom: 20px; display: grid; gap: 0; }
  .story__step, .story__step:last-child { grid-area: 1 / 1; border: 0; border-left: 2px solid var(--accent); padding: 4px 0 4px 18px; opacity: 0; transition: opacity .5s var(--ease); align-self: end; }
  .story__step.is-on { opacity: 1; }
  .story__step p, .story__step:not(.is-on) p { max-height: none; opacity: 1; margin-top: 10px; transition: none; }
  .cars { height: auto; }
  .cars__stage { position: relative; height: auto; padding-block: 88px; }
  .cars__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cars__track { transform: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; scroll-padding-inline: var(--pad); }
  .cars__track::-webkit-scrollbar { display: none; }
  .cars__track li { height: auto; width: 80vw; scroll-snap-align: start; }
  .cars__more { width: 60vw !important; }
  .contact__direct { flex-direction: column; align-items: flex-start; }
  .contact__direct a { font-size: clamp(20px, 5.4vw, 30px); }
  .contact__actions .btn { flex: 1 1 100%; }
  .contact { min-height: 0; }
  .contact__media { height: 46svh; }
  .contact::before { background: linear-gradient(to bottom, var(--bg) 0%, rgba(10, 10, 11, 0) 14%, rgba(10, 10, 11, .1) 30svh, var(--bg) 46svh); }
  .contact__in { padding-top: 40svh; padding-bottom: 72px; gap: 22px; }
  .about { min-height: 0; }
  .route { min-height: 0; padding-bottom: 32px; }
  .prices { min-height: 0; }
  .svc__item { padding: 26px 0; }
  .hero__shade { background: linear-gradient(to top, var(--bg) 0%, rgba(10, 10, 11, .86) 32%, rgba(10, 10, 11, .6) 52%, rgba(10, 10, 11, .18) 70%, rgba(10, 10, 11, .12) 84%, rgba(10, 10, 11, .5) 100%); }
  .foot__in { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767px) and (max-height: 720px) {
  .hud { display: none; }
  .hero__in { padding-bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-in], .js [data-reveal], .js .hero__h [data-in] { opacity: 1; transform: none; }
  .js .hero__media img { transform: none; filter: none; }
  .js .plate-layer { transform: none; filter: brightness(.74) saturate(.9); }
  .hero__pause { display: none !important; }
  .hero__media, .contact__media img { transform: none !important; }
  .cars { height: auto; }
  .cars__stage { position: relative; height: auto; padding-block: clamp(88px, 12vh, 140px); }
  .cars__track { transform: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; scroll-padding-inline: var(--pad); scrollbar-color: var(--line-2) transparent; }
  .cars__track li { scroll-snap-align: start; }
}

@media (prefers-contrast: more) {
  :root { --muted: #d9d7d1; --dim: #a3a19c; --line: rgba(241, 239, 233, .3); --line-2: rgba(241, 239, 233, .65); }
  .svc__item:not(.is-on) p { opacity: 1; }
  .story__step p, .contact__in .lead { color: var(--ink); }
}
@media (prefers-reduced-transparency: reduce) {
  .top.is-scrolled, .menu { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .btn--ghost, .top__menu { background: var(--bg-2); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* landscape screens narrower than the photo show more of its left side, so the plate moves right, clear of the headline */
@media (min-width: 641px) and (min-aspect-ratio: 6/5) and (max-aspect-ratio: 8/5) {
  .hero__media img { object-position: 25% 40%; }
}
/* the phone crop of the hero photo puts the plate near the top, above the headline */
@media (max-width: 640px) {
  .hero__media img { object-position: 50% 18%; }
}
