/* Bilfleks — luxury car rental */

:root {
  --bg: #0c0a09;
  --bg-2: #14110f;
  --bg-3: #1c1816;
  --fg: #ece8df;
  --fg-dim: #a39a8a;
  --fg-mute: #6a6358;
  --line: #2a2521;
  --line-2: #3a342e;
  --brass: #b8945f;
  --brass-2: #d6b787;
  --ember: #c14a3a;
  --on-brass: #1c1408;
  --serif: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  --sans: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --pad-x: clamp(20px, 4vw, 64px);
  --row: 88px;
}

/* palette variants */
.pal-obsidian { --bg:#0c0a09; --bg-2:#14110f; --bg-3:#1c1816; --fg:#ece8df; --fg-dim:#a39a8a; --line:#2a2521; --line-2:#3a342e; --brass:#b8945f; --brass-2:#d6b787; --ember:#c14a3a; --on-brass:#1c1408; }
.pal-midnight { --bg:#0a0f1a; --bg-2:#10172a; --bg-3:#172238; --fg:#e6ebf3; --fg-dim:#94a0b8; --line:#1f2a44; --line-2:#2f3e5f; --brass:#c4a875; --brass-2:#e0c79a; --ember:#d96846; --on-brass:#1c1408; }
.pal-camel    { --bg:#1a1612; --bg-2:#221c17; --bg-3:#2c241d; --fg:#f3ead9; --fg-dim:#b39e7e; --line:#3a2f24; --line-2:#4d3f30; --brass:#d4a866; --brass-2:#ecc78a; --ember:#c8553a; --on-brass:#1c1408; }
.pal-bone     { --bg:#efeae0; --bg-2:#e7e1d4; --bg-3:#ddd5c4; --fg:#1c1816; --fg-dim:#6b6356; --line:#cdc4b3; --line-2:#b8ad97; --brass:#7a5e2c; --brass-2:#a07e3f; --ember:#a83a2a; --on-brass:#f6f1e6; }
.pal-noir     { --bg:#1D1D20; --bg-2:#26262a; --bg-3:#2f2f34; --fg:#FFF9FB; --fg-dim:#a8a3a5; --fg-mute:#6e696b; --line:#34343a; --line-2:#46464d; --brass:#BA2537; --brass-2:#d94656; --ember:#BA2537; --on-brass:#FFF9FB; }
.pal-porcelain{ --bg:#FFF9FB; --bg-2:#f5eef0; --bg-3:#ebe3e6; --fg:#1D1D20; --fg-dim:#5e5a5c; --fg-mute:#8a8588; --line:#e2d8db; --line-2:#cabec2; --brass:#BA2537; --brass-2:#9a1d2c; --ember:#BA2537; --on-brass:#FFF9FB; }

/* density */
.den-compact { --row: 64px; }
.den-regular { --row: 88px; }
.den-roomy   { --row: 120px; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.mono  { font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--fg-dim); }
.italic { font-style: italic; }

/* Grain overlay */
.grain::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ── nav ─────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad-x);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: opacity 0.25s ease;
}
/* Hide nav completely while intro overlay is covering it — prevents
   it from bleeding through the semi-transparent intro as you scroll. */
body.intro-active .nav {
  opacity: 0;
  pointer-events: none;
}
.nav-brand { display: flex; align-items: center; gap: 14px; }
.nav-mark { width: 22px; height: 22px; }
.nav-logo { height: 52px; width: auto; display: block; }
.pal-porcelain .nav-logo, .pal-bone .nav-logo { filter: invert(1) brightness(0.2); }
.nav-name { font-family: var(--sans); font-weight: 600; letter-spacing: 0.22em; font-size: 13px; }
.nav-links { display: flex; gap: 36px; font-size: 13.5px; color: var(--fg-dim); letter-spacing: 0.01em; }
.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color .35s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--brass);
  transform: translate(-50%, 6px) scale(0);
  transition: transform .35s ease;
}
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after { transform: translate(-50%, 6px) scale(1); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.btn-ghost {
  font-size: 13px; padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 999px;
  letter-spacing: 0.02em;
  transition: all .35s ease;
}
.btn-ghost:hover { border-color: var(--brass); color: var(--brass-2); }
.btn-brass {
  font-size: 13px; padding: 11px 22px; border-radius: 999px;
  background: var(--brass); color: var(--on-brass);
  font-weight: 500; letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all .35s ease;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 6px 20px -8px rgba(186,37,55,.4);
}
.btn-brass:hover { background: var(--brass-2); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 12px 28px -10px rgba(186,37,55,.55); }

/* ── hero ────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(40px, 8vh, 96px) var(--pad-x) clamp(40px, 6vh, 64px);
  min-height: 88vh;
  display: flex; flex-direction: column; justify-content: space-between;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-eyebrow {
  display: flex; gap: 24px; align-items: baseline;
  color: var(--fg-dim);
  flex-wrap: wrap;
}
.hero-eyebrow-sep { color: var(--fg-mute); }
.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 9vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.028em;
  margin: 8vh 0 0;
  max-width: 16ch;
  font-weight: 400;
}
.hero-h1 .em { font-style: italic; color: var(--brass-2); font-weight: 400; }
.hero-sub {
  margin-top: 28px;
  font-family: var(--sans);
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--fg-dim);
  max-width: 46ch;
  line-height: 1.55;
}
.hero-meta {
  margin-top: clamp(40px, 6vh, 64px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  position: relative;
}
.hero-meta::before {
  content: "";
  position: absolute; top: -1px; left: 0;
  width: 96px; height: 1px;
  background: var(--brass);
}
.hero-meta-cell .k { font-family: var(--mono); font-size: 10.5px; color: var(--fg-mute); letter-spacing: 0.1em; text-transform: uppercase; }
.hero-meta-cell .v { font-family: var(--serif); font-size: 36px; margin-top: 8px; line-height: 1; letter-spacing: -0.01em; }

/* hero image variant */
.hero-image-wrap {
  position: absolute;
  right: -14vw; top: 16%;
  width: 92vw; max-width: 1600px;
  aspect-ratio: 16/9;
  pointer-events: none;
}
.hero-image {
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(184,148,95,.10) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--line-2);
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.hero-image .label { font-family: var(--mono); font-size: 10px; color: var(--fg-dim); position: relative; z-index: 2; }
.hero-image-photo + .label { display: none; }
.hero-image.img-failed .label { display: block; }

/* ── booking strip ───────────────────── */
.booking {
  margin: 0 var(--pad-x);
  transform: translateY(-44px);
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  box-shadow: 0 28px 80px rgba(0,0,0,.6), 0 0 0 1px var(--brass) inset;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr auto;
  align-items: stretch;
  position: relative; z-index: 5;
}
.booking::before {
  content: "";
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 1px;
  background: var(--brass);
}
.book-field {
  padding: 18px 22px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
  min-width: 0;
}
.book-field:last-of-type { border-right: 0; }
.book-field .lbl { font-family: var(--mono); font-size: 10px; color: var(--fg-mute); letter-spacing: 0.1em; text-transform: uppercase; }
.book-field .val { font-family: var(--serif); font-size: 24px; color: var(--fg); line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -0.005em; }
.book-field select, .book-field input {
  background: transparent; border: 0; color: inherit; font: inherit; padding: 0; outline: none;
  font-family: var(--serif); font-size: 24px;
}
.book-field select { appearance: none; cursor: pointer; }
.book-field select option { background: var(--bg-2); color: var(--fg); font-family: var(--sans); font-size: 14px; }
.book-cta {
  display: flex; align-items: stretch;
}
.book-cta button {
  padding: 0 32px;
  background: var(--brass);
  color: var(--on-brass);
  font-weight: 500;
  letter-spacing: 0.01em;
  font-size: 14px;
  transition: background .2s;
}
.book-cta button:hover { background: var(--brass-2); }

/* ── section heading ─────────────────── */
.section { padding: clamp(80px, 12vh, 160px) var(--pad-x); border-bottom: 1px solid var(--line); background: var(--bg); position: relative; z-index: 1; }
.sec-head {
  display: grid; grid-template-columns: 1fr 2fr; gap: 64px;
  align-items: end; margin-bottom: 64px;
  position: relative;
}
.sec-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--brass-2);
  letter-spacing: 0.04em;
  display: inline-flex; align-items: baseline; gap: 8px;
  margin-bottom: 14px;
}
.sec-num::before { content: ""; display: inline-block; width: 36px; height: 1px; background: var(--brass-2); position: relative; top: -4px; }
.sec-tag { font-family: var(--mono); font-size: 11px; color: var(--brass); letter-spacing: 0.18em; text-transform: uppercase; display: flex; align-items: center; gap: 12px; }
.sec-tag::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--brass); }
.sec-title { font-family: var(--serif); font-size: clamp(40px, 5.4vw, 84px); line-height: 0.98; letter-spacing: -0.02em; margin: 16px 0 0; max-width: 18ch; }
.sec-title .em { font-style: italic; color: var(--brass-2); }
.sec-blurb { font-size: 16px; color: var(--fg-dim); max-width: 52ch; line-height: 1.65; }

/* ── fleet grid ──────────────────────── */
.fleet-filters {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 56px;
  padding-bottom: 28px; border-bottom: 1px solid var(--line);
  align-items: center;
}
.chip {
  font-size: 11px;
  font-weight: 500;
  padding: 9px 20px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--fg-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all .3s ease;
}
.chip:hover { color: var(--fg); border-color: var(--brass); color: var(--brass); }
.chip.on {
  background: var(--brass); color: var(--on-brass); border-color: var(--brass);
  box-shadow: 0 4px 20px -6px rgba(186,37,55,.5);
}
.fleet-count { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--fg-mute); align-self: center; }

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.car {
  background: var(--bg);
  padding: 0;
  display: flex; flex-direction: column;
  transition: background .4s ease, box-shadow .4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.car:hover {
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--brass);
  z-index: 2;
}
.car-img {
  aspect-ratio: 3/2;
  background:
    linear-gradient(180deg, var(--bg-2), var(--bg-3));
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}
/* Cinematic gradient overlay at bottom of image */
.car-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    transparent 40%,
    rgba(0,0,0,.15) 70%,
    rgba(0,0,0,.55) 100%);
  z-index: 2;
  pointer-events: none;
}
.car-img-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
  transition: transform .7s cubic-bezier(.2,.65,.2,1);
}
.car:hover .car-img-photo { transform: scale(1.04); }

.car-img .placeholder { position: absolute; bottom: 12px; left: 16px; font-family: var(--mono); font-size: 9.5px; color: var(--fg-mute); z-index: 3; }
.hero-image-photo, .feature-img-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
}
.car-img .badge, .car-img .placeholder { z-index: 3; }
.car-img .badge {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--mono); font-size: 9px; font-weight: 600;
  color: var(--on-brass);
  background: var(--brass);
  padding: 4px 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 3;
}

/* Card body */
.car-body {
  padding: 24px 28px 22px;
  display: flex; flex-direction: column; flex: 1;
}
.car-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.car-class {
  font-family: var(--mono); font-size: 9.5px; color: var(--brass);
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 6px;
  display: flex; align-items: center; gap: 8px;
}
.car-class::before {
  content: ""; display: inline-block;
  width: 18px; height: 1px; background: var(--brass);
}
.car-name {
  font-family: var(--serif); font-size: 26px; line-height: 1.08;
  letter-spacing: -0.01em; font-weight: 600;
}
.car-specs {
  display: flex; gap: 0; margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.car-specs span {
  display: flex; flex-direction: column; align-items: flex-start;
  flex: 1; padding-right: 12px;
  border-right: 1px solid var(--line);
  gap: 3px;
}
.car-specs span:last-child { border-right: 0; padding-right: 0; padding-left: 12px; }
.car-specs span:first-child { padding-left: 0; }
.car-specs .spec-label {
  font-family: var(--mono); font-size: 8.5px;
  color: var(--fg-mute); letter-spacing: 0.12em; text-transform: uppercase;
}
.car-specs .spec-val { font-size: 13px; font-weight: 500; color: var(--fg); }

.car-foot {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.car-price {
  font-family: var(--serif); font-size: 28px; line-height: 1;
  letter-spacing: -0.01em; font-weight: 700;
}
.car-price small {
  font-family: var(--sans); font-size: 11px; color: var(--fg-mute);
  font-weight: 400; letter-spacing: 0; text-transform: none; margin-left: 3px;
}
.car-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-2);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: all .3s ease;
  flex-shrink: 0;
}
.car:hover .car-arrow {
  background: var(--brass); border-color: var(--brass);
  color: var(--on-brass);
  transform: translateX(3px);
  box-shadow: 0 4px 16px -4px rgba(186,37,55,.5);
}

/* ── value props ─────────────────────── */
.values {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.value {
  padding: 56px 36px;
  border-right: 1px solid var(--line);
  position: relative;
}
.value:last-child { border-right: 0; }
.value .num { font-family: var(--serif); font-size: 16px; color: var(--brass); font-style: italic; }
.value h4 { font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1.1; margin: 16px 0 14px; letter-spacing: -0.01em; }
.value p { color: var(--fg-dim); font-size: 14px; line-height: 1.6; margin: 0; }

/* ── feature ─────────────────────────── */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: stretch; }
.feature-img {
  aspect-ratio: 4/5;
  background:
    repeating-linear-gradient(135deg, rgba(184,148,95,.08) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--line-2);
  position: relative;
  overflow: hidden;
}
.feature-corners .corner {
  position: absolute;
  width: 28px; height: 28px;
  border-color: var(--brass);
  pointer-events: none;
  z-index: 5;
}
.feature-corners .corner-tl { top: 14px; left: 14px;  border-top: 1px solid var(--brass); border-left: 1px solid var(--brass); }
.feature-corners .corner-tr { top: 14px; right: 14px; border-top: 1px solid var(--brass); border-right: 1px solid var(--brass); }
.feature-corners .corner-bl { bottom: 14px; left: 14px; border-bottom: 1px solid var(--brass); border-left: 1px solid var(--brass); }
.feature-corners .corner-br { bottom: 14px; right: 14px; border-bottom: 1px solid var(--brass); border-right: 1px solid var(--brass); }
.feature-img .placeholder { position: absolute; bottom: 16px; left: 18px; font-family: var(--mono); font-size: 10px; color: var(--fg-mute); z-index: 2; }
.feature-img-photo ~ .placeholder { display: none; }
.feature-img.img-failed .placeholder { display: block; }
.car-img-photo ~ .placeholder { display: none; }
.car-img.img-failed .placeholder { display: block; }
.feature-body { display: flex; flex-direction: column; justify-content: center; }
.feature h2 { font-family: var(--serif); font-size: clamp(40px, 4.5vw, 64px); line-height: 1.0; margin: 18px 0 24px; letter-spacing: -0.02em; }
.feature h2 .em { font-style: italic; color: var(--brass-2); }
.feature p.lead { font-size: 17px; color: var(--fg); line-height: 1.6; margin: 0 0 18px; max-width: 50ch; }
.feature p.body { font-size: 15px; color: var(--fg-dim); line-height: 1.65; margin: 0 0 28px; max-width: 52ch; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 32px 0; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec-cell .k { font-family: var(--mono); font-size: 10px; color: var(--fg-mute); letter-spacing: 0.1em; text-transform: uppercase; }
.spec-cell .v { font-family: var(--serif); font-size: 26px; line-height: 1; margin-top: 6px; }
.spec-cell .v small { font-family: var(--sans); font-size: 12px; color: var(--fg-mute); margin-left: 2px; }

/* ── map section ─────────────────────── */
.map-overlay {
  position: absolute;
  top: 50%; left: var(--pad-x);
  transform: translateY(-50%);
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--line-2);
  border-top: 2px solid var(--brass);
  padding: 36px 40px;
  min-width: 260px;
  z-index: 10;
}
.map-address { margin-top: 4px; }
.map-address-line {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.leaflet-attribution-flag { display: none !important; }
.leaflet-control-attribution { display: none !important; }

/* ── concept (3-step) ────────────────── */
.concept-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { background: var(--bg); padding: 48px 36px; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; }
.step-num { font-family: var(--serif); font-size: 80px; font-style: italic; color: var(--brass); line-height: 1; }
.step h3 { font-family: var(--serif); font-size: 28px; font-weight: 400; margin: 0 0 10px; letter-spacing: -0.01em; }
.step p { color: var(--fg-dim); font-size: 14px; line-height: 1.6; margin: 0; }

/* ── testimonial ─────────────────────── */
.testimonial { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.quote { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 48px); line-height: 1.18; letter-spacing: -0.012em; }
.quote .mark { font-size: 1.4em; color: var(--brass); font-style: italic; margin-right: 4px; }
.quote .em { font-style: italic; color: var(--brass-2); }
.attrib { margin-top: 32px; display: flex; align-items: center; gap: 14px; }
.attrib .av { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-3); border: 1px solid var(--line-2); }
.attrib .name { font-size: 14px; }
.attrib .role { font-size: 12px; color: var(--fg-mute); }
.t-stack { display: flex; flex-direction: column; gap: 32px; }
.t-card { padding: 32px; border: 1px solid var(--line); background: var(--bg-2); position: relative; }
.t-card::before {
  content: "";
  position: absolute; top: -1px; left: 0;
  width: 64px; height: 1px;
  background: var(--brass);
}
.t-card .q { font-family: var(--serif); font-size: 21px; line-height: 1.4; letter-spacing: -0.005em; }
.t-card .meta { margin-top: 16px; font-size: 12px; color: var(--fg-dim); font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }

/* ── final cta ───────────────────────── */
.final-cta {
  padding: clamp(120px, 18vh, 220px) var(--pad-x);
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, color-mix(in oklab, var(--brass) 12%, transparent) 0%, transparent 70%),
    var(--bg-2);
  text-align: center;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.final-cta::before, .final-cta::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  width: 140px; height: 1px; background: var(--brass);
}
.final-cta::before { top: 64px; }
.final-cta::after  { bottom: 64px; }
.final-cta h2 {
  font-family: var(--serif);
  font-size: clamp(64px, 10vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.028em;
  margin: 0 auto;
  max-width: 14ch;
  font-weight: 400;
}
.final-cta h2 .em { font-style: italic; color: var(--brass-2); }
.final-cta p { margin: 24px auto 40px; max-width: 50ch; font-size: 16px; color: var(--fg-dim); }
.final-cta .ctas { display: inline-flex; gap: 14px; }

/* ── footer ──────────────────────────── */
.footer { padding: 80px var(--pad-x) 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.footer-brand .name { font-family: var(--sans); font-weight: 600; letter-spacing: 0.22em; font-size: 14px; margin-bottom: 16px; }
.footer-logo { height: 96px; width: auto; display: block; margin-bottom: 24px; }
.pal-porcelain .footer-logo, .pal-bone .footer-logo { filter: invert(1) brightness(0.2); }
.footer-brand p { color: var(--fg-dim); font-size: 14px; max-width: 34ch; line-height: 1.6; }
.footer-col h5 { font-family: var(--mono); font-size: 10px; color: var(--fg-mute); letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 18px; font-weight: 500; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--fg-dim); transition: color .2s; }
.footer-col a:hover { color: var(--brass-2); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--fg-mute);
}
.footer-mono { font-family: var(--mono); letter-spacing: 0.06em; }

/* ── intro overlay ───────────────────── */
.intro {
  position: fixed; inset: 0; z-index: 99999;
  background: #000;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  color: #FFF9FB;
  font-family: var(--sans);
  will-change: opacity;
}
/* Spacer sits at the top of the document so there is room to scroll past the fixed intro. */
.intro-spacer {
  height: 100vh;
  pointer-events: none;
}
.intro-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: contrast(1.06) saturate(0.65) brightness(0.85);
  z-index: 1;
  will-change: transform;
}
/* CSS fallback — night-driving streaks if no video can play. */
.intro-fallback {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 80% 50% at 50% 40%, rgba(186,37,55,0.18) 0%, transparent 60%),
    linear-gradient(180deg, #0a0809 0%, #14110f 50%, #1c1816 100%);
  overflow: hidden;
  perspective: 600px;
}
.intro-fallback-road {
  position: absolute;
  left: 50%; bottom: 0;
  width: 240%; height: 70%;
  transform: translateX(-50%) rotateX(62deg);
  transform-origin: center bottom;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(50% - 1px), rgba(255,249,251,0.04) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px) 100%),
    repeating-linear-gradient(180deg, transparent 0 30px, rgba(186,37,55,0.55) 30px 90px, transparent 90px 240px);
  animation: introRoad 1.8s linear infinite;
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 100%);
}
.intro-fallback-streak {
  position: absolute;
  width: 2px; height: 36vh;
  background: linear-gradient(180deg, transparent, rgba(255,249,251,0.65), transparent);
  filter: blur(1px);
  opacity: 0;
  animation: introStreak 2.4s linear infinite;
}
.intro-fallback-streak-1 { left: 18%; animation-delay: 0s;   animation-duration: 2.2s; }
.intro-fallback-streak-2 { left: 32%; animation-delay: 0.7s; animation-duration: 2.6s; background: linear-gradient(180deg, transparent, rgba(186,37,55,0.55), transparent); }
.intro-fallback-streak-3 { left: 64%; animation-delay: 1.1s; animation-duration: 2.0s; }
.intro-fallback-streak-4 { left: 80%; animation-delay: 1.6s; animation-duration: 2.8s; background: linear-gradient(180deg, transparent, rgba(186,37,55,0.55), transparent); }
@keyframes introRoad {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 0 0, 0 240px; }
}
@keyframes introStreak {
  0%   { opacity: 0; transform: translateY(-50vh); }
  12%  { opacity: 0.85; }
  60%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(110vh); }
}
.intro-vignette {
  position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.55) 70%, rgba(0,0,0,0.9) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.5), rgba(0,0,0,0.2) 30%, rgba(0,0,0,0.2) 70%, rgba(0,0,0,0.7));
  pointer-events: none;
}
.intro-top, .intro-bottom {
  position: relative; z-index: 3;
  padding: clamp(20px, 3.5vh, 40px) clamp(20px, 4vw, 56px);
  display: flex; justify-content: space-between; align-items: center;
}
.intro-mark { display: flex; align-items: center; gap: 16px; color: #BA2537; }
.intro-mark svg { width: 28px; height: 28px; }
.intro-mark span { font-weight: 600; letter-spacing: 0.28em; font-size: 15px; color: #FFF9FB; }
.intro-logo { height: 84px; width: auto; display: block; }
.intro-meta {
  color: rgba(255, 249, 251, 0.55);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.intro-skip {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 249, 251, 0.7);
  padding: 10px 18px;
  border: 1px solid rgba(255, 249, 251, 0.25);
  border-radius: 999px;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  transition: all 0.25s;
  display: inline-flex; align-items: center; gap: 8px;
}
.intro-skip:hover { color: #FFF9FB; border-color: #FFF9FB; }
.intro-skip-arrow { transition: transform 0.25s; }
.intro-skip:hover .intro-skip-arrow { transform: translateX(3px); }
.intro-center {
  position: relative; z-index: 3;
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 0 24px;
  pointer-events: none;
}
.intro-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #BA2537;
  margin-bottom: clamp(24px, 4vh, 40px);
  animation: introFadeUp 0.9s 0.2s both ease;
}
.intro-h1 {
  font-family: var(--serif);
  font-size: clamp(56px, 11vw, 168px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0;
  font-weight: 400;
  animation: introFadeUp 1s 0.4s both ease;
}
.intro-h1 em { color: #BA2537; font-style: italic; }
.intro-sub {
  margin-top: clamp(24px, 4vh, 40px);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 249, 251, 0.6);
  animation: introFadeUp 1s 0.7s both ease;
}
.intro-progress {
  flex: 1;
  height: 1px;
  background: rgba(255, 249, 251, 0.18);
  margin-right: 32px;
  overflow: hidden;
}
.intro-progress-fill {
  height: 100%;
  background: #BA2537;
  transition: width 0.1s linear;
}
.intro-counter {
  display: flex; align-items: baseline; gap: 6px;
  min-width: 64px; justify-content: flex-end;
}
.intro-counter-num {
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  color: #FFF9FB;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.intro-counter-unit {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255, 249, 251, 0.5);
}

/* Scroll prompt + runtime ticker */
.intro-scroll-prompt {
  display: inline-flex; align-items: center; gap: 14px;
  background: transparent;
  color: rgba(255, 249, 251, 0.85);
  padding: 0;
  cursor: pointer;
  transition: color 0.25s;
}
.intro-scroll-prompt:hover { color: #FFF9FB; }
.intro-scroll-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.intro-scroll-line {
  display: inline-block;
  width: 56px; height: 1px;
  background: linear-gradient(90deg, rgba(255,249,251,0.5), rgba(255,249,251,0));
  position: relative;
  overflow: hidden;
}
.intro-scroll-line::after {
  content: ""; position: absolute;
  top: 0; left: -30%;
  width: 30%; height: 100%;
  background: #BA2537;
  animation: introScrollSweep 2.2s ease-in-out infinite;
}
.intro-scroll-arrow {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: #BA2537;
  animation: introBob 2.2s ease-in-out infinite;
}
@keyframes introScrollSweep {
  0%   { left: -30%; }
  60%  { left: 100%; }
  100% { left: 100%; }
}
@keyframes introBob {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50%      { transform: translateY(4px); opacity: 1; }
}
.intro-runtime {
  display: inline-flex; align-items: center; gap: 10px;
  color: rgba(255, 249, 251, 0.5);
  font-size: 11px;
  letter-spacing: 0.18em;
}
.intro-runtime-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #BA2537;
  box-shadow: 0 0 0 0 rgba(186,37,55,0.6);
  animation: introPulse 2s ease-in-out infinite;
}
@keyframes introPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(186,37,55,0.6); opacity: 1; }
  50%      { box-shadow: 0 0 0 8px rgba(186,37,55,0); opacity: 0.55; }
}
@keyframes introFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 700px) {
  /* ── intro ─────────────────────────── */
  .intro-h1   { font-size: clamp(36px, 11vw, 72px); }
  .intro-logo { height: 56px; }
  /* hide the right-side meta ("Greater Oslo · Est. 2014") — too cramped */
  .intro-meta { display: none; }

  /* ── nav ───────────────────────────── */
  .nav { padding: 14px var(--pad-x); }
  /* "My bookings" ghost button disappears — leaves only Book a Car */
  .nav-right .btn-ghost { display: none; }
  /* Book a Car pill: compact, never wraps */
  .nav .btn-brass { font-size: 12px; padding: 9px 15px; white-space: nowrap; }

  /* ── hero ──────────────────────────── */
  .hero { min-height: 65vh; }
  .hero-h1 { font-size: clamp(40px, 11vw, 80px); margin-top: 4vh; }
  .hero-sub { font-size: 14px; margin-top: 16px; }
  .hero-meta { gap: 16px; padding-top: 24px; margin-top: clamp(28px, 5vh, 48px); }
  .hero-meta-cell .v { font-size: 26px; }

  /* ── sections ──────────────────────── */
  .section { padding: clamp(48px, 8vh, 96px) var(--pad-x); }
  .sec-title { font-size: clamp(28px, 8.5vw, 52px); }

  /* ── booking strip ─────────────────── */
  .book-field .val,
  .book-field select,
  .book-field input { font-size: 20px; }
  /* Search button spans full width on mobile */
  .book-cta { display: block; }
  .book-cta button { width: 100%; padding: 18px 22px; font-size: 15px; }

  /* ── fleet grid ────────────────────── */
  /* minmax(420px,1fr) overflows phone — force single column */
  .fleet-grid { grid-template-columns: 1fr; }

  /* ── values ────────────────────────── */
  .values { grid-template-columns: 1fr; }
  .value   { padding: 36px 24px; }

  /* ── concept steps ─────────────────── */
  .step     { padding: 32px 24px; min-height: auto; }
  .step-num { font-size: 56px; }

  /* ── final cta ─────────────────────── */
  .final-cta { padding: clamp(72px, 10vh, 120px) var(--pad-x); }
  .final-cta h2 { font-size: clamp(40px, 11vw, 80px); }
  .final-cta .ctas { display: flex; flex-direction: column; gap: 12px; width: 100%; }
  .final-cta .ctas .btn-brass,
  .final-cta .ctas .btn-ghost { width: 100%; text-align: center; padding: 16px 24px; }

  /* ── footer ────────────────────────── */
  .footer        { padding: 48px var(--pad-x) 24px; }
  .footer-grid   { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
}

/* ── 3D effects ──────────────────────── */
/* Reveal: elements with [data-reveal] start translated down + scaled
   back, and rotate flat as they enter the viewport. */
[data-reveal],
[data-reveal].fx-revealed {
  opacity: 1;
  transform: none;
}

/* Car cards — grow + mouse-follow via JS, no perspective rotation. */
.car {
  will-change: transform;
  transition: background .4s ease, box-shadow .4s ease;
}
.car:hover {
  box-shadow: 0 20px 60px -16px rgba(0,0,0,.7), inset 0 0 0 1px var(--brass);
  z-index: 3;
}

/* Featured car image — gentle continuous breathing motion, layered with tilt. */
.feature-float {
  transform-style: preserve-3d;
  animation: featFloat 7s ease-in-out infinite;
  will-change: transform;
}
@keyframes featFloat {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}

/* Hero headline gets a depth-aware text shadow when 3D is on. */
.hero-h1 {
  will-change: transform;
  transform-style: preserve-3d;
}

/* ── RTL (Arabic) ────────────────────── */
html[dir="rtl"] body { font-family: "Montserrat", "Noto Sans Arabic", "Cairo", sans-serif; }
html[dir="rtl"] .nav { flex-direction: row-reverse; }
html[dir="rtl"] .nav-links { flex-direction: row-reverse; }
html[dir="rtl"] .nav-right { flex-direction: row-reverse; }
html[dir="rtl"] .hero-image-wrap { right: auto; left: -14vw; }
html[dir="rtl"] .hero-meta::before { left: auto; right: 0; }
html[dir="rtl"] .sec-head { direction: rtl; }
html[dir="rtl"] .sec-tag::before { display: none; }
html[dir="rtl"] .sec-num::before { display: none; }
html[dir="rtl"] .values { direction: rtl; }
html[dir="rtl"] .feature { direction: rtl; }
html[dir="rtl"] .concept-steps { direction: rtl; }
html[dir="rtl"] .footer-grid { direction: rtl; }
html[dir="rtl"] .footer-bottom { flex-direction: row-reverse; }
html[dir="rtl"] .car-body { direction: rtl; }
html[dir="rtl"] .car-class::before { display: none; }
html[dir="rtl"] .booking { direction: rtl; }
html[dir="rtl"] .book-field { border-right: none; border-left: 1px solid var(--line); }
html[dir="rtl"] .book-field:last-of-type { border-left: 0; }
html[dir="rtl"] .map-overlay { left: auto; right: var(--pad-x); }
html[dir="rtl"] .final-cta { direction: rtl; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero-image-wrap { display: none; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
  .booking { grid-template-columns: 1fr; transform: none; margin-top: -24px; }
  .book-field { border-right: 0; border-bottom: 1px solid var(--line); }
  .sec-head { grid-template-columns: 1fr; gap: 24px; }
  .values { grid-template-columns: 1fr 1fr; }
  .value { border-bottom: 1px solid var(--line); }
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .concept-steps { grid-template-columns: 1fr; }
  .testimonial { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
