/* ============================================================
   MIDNIGHT DIESEL PERFORMANCE — design system
   Midnight-highway aesthetic: near-black navy, ember amber glow,
   Anton display type, Barlow body, gauge + chevron motifs.
   ============================================================ */

:root {
  --bg: #06080f;
  --bg-2: #0a0e18;
  --panel: #0e1422;
  --panel-2: #131a2c;
  --line: rgba(150, 165, 200, 0.14);
  --line-strong: rgba(150, 165, 200, 0.28);

  --ink: #eef1f8;
  --body: #c2cadb;
  --mute: #8a93a9;

  --amber: #ff8c1f;
  --amber-2: #ffb15e;
  --ember: #ff5c1a;
  --moon: #a9c2ff;
  --danger: #ff4d4d;

  --grad-ember: linear-gradient(120deg, #ff5c1a 0%, #ff8c1f 55%, #ffb15e 100%);
  --glow-amber: 0 0 24px rgba(255, 140, 31, 0.35);

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", sans-serif;
  --font-cond: "Barlow Condensed", "Arial Narrow", sans-serif;

  --container: 1180px;
  --radius: 14px;
  --nav-h: 70px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

img, svg { max-width: 100%; display: block; }

a { color: var(--amber-2); text-decoration: none; }
a:hover { color: var(--ink); }

::selection { background: rgba(255, 140, 31, 0.35); color: #fff; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- typography ---------- */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.015em;
  line-height: 1.04;
}

h2 { font-size: clamp(30px, 4.4vw, 46px); }
h3 { font-size: 21px; letter-spacing: 0.03em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--amber);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--grad-ember);
  box-shadow: var(--glow-amber);
}

.lede { font-size: 18px; max-width: 640px; }

.amber-text {
  background: var(--grad-ember);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-cond);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #170a02;
  border: none;
  cursor: pointer;
  background: transparent;
  isolation: isolate;
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--grad-ember);
  transform: skewX(-10deg);
  box-shadow: 0 0 0 rgba(255, 140, 31, 0);
  transition: box-shadow 0.25s ease, transform 0.25s ease, filter 0.25s ease;
}
.btn:hover { color: #170a02; }
.btn:hover::before {
  box-shadow: 0 6px 30px rgba(255, 140, 31, 0.45);
  filter: brightness(1.08);
  transform: skewX(-10deg) translateY(-2px);
}
.btn:active::before { transform: skewX(-10deg) translateY(0); }

.btn-ghost { color: var(--ink); }
.btn-ghost::before {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { color: var(--amber-2); }
.btn-ghost:hover::before {
  border-color: var(--amber);
  box-shadow: 0 0 22px rgba(255, 140, 31, 0.18);
}

.btn-sm { padding: 10px 20px; font-size: 15px; }

/* ---------- nav ---------- */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.site-nav.scrolled,
.site-nav.solid {
  background: rgba(6, 8, 15, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 40px; height: 40px; flex: none; filter: drop-shadow(0 0 8px rgba(255, 140, 31, 0.4)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 21px;
  letter-spacing: 0.06em;
}
.brand-text small {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.34em;
  color: var(--amber);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.nav-links a {
  padding: 9px 14px;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--body);
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--grad-ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.cart-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cart-btn:hover { border-color: var(--amber); box-shadow: 0 0 16px rgba(255, 140, 31, 0.2); color: var(--amber-2); }
.cart-count[hidden] { display: none; }
.cart-count {
  position: absolute;
  top: -7px; right: -7px;
  min-width: 19px; height: 19px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  background: var(--grad-ember);
  color: #170a02;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 12px;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ink);
  cursor: pointer;
  place-items: center;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg) 0%, #04060b 100%);
  padding: 72px 0 0;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 140, 31, 0.6), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-grid h4 {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
}
.footer-grid p, .footer-grid a { font-size: 15px; color: var(--mute); }
.footer-grid a:hover { color: var(--amber-2); }
.footer-links { display: grid; gap: 10px; }
.footer-contact { display: grid; gap: 12px; }
.footer-contact a, .footer-contact span { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex: none; margin-top: 3px; color: var(--amber); }
.footer-disclaimer {
  font-size: 12.5px;
  line-height: 1.55;
  color: #5f677d;
  margin-top: 16px;
  max-width: 420px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #5f677d;
}

/* ---------- hero (home) ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(43, 62, 110, 0.35), transparent 60%),
    linear-gradient(180deg, #0a1020 0%, var(--bg) 70%);
}
.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-scene img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.8s ease, transform 1.8s ease;
}
.hero-scene img.active {
  opacity: 1;
  animation: heroZoom 9.5s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.045); }
}
.hero-slide-ford { object-position: 74% 42%; }
.hero-slide-ram { object-position: 55% 45%; }
.hero-slide-dmax { object-position: 70% 45%; }
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 8, 15, 0.55) 0%, transparent 22%, transparent 72%, var(--bg) 100%),
    linear-gradient(90deg, rgba(6, 8, 15, 0.92) 0%, rgba(6, 8, 15, 0.6) 40%, rgba(6, 8, 15, 0.12) 72%, rgba(6, 8, 15, 0) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  max-width: 660px;
}
.hero-content h1 {
  font-size: clamp(52px, 8.4vw, 108px);
  margin: 20px 0 22px;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}
.hero-content h1 .line { display: block; }
.hero-content .lede { font-size: 19px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 18px; flex-wrap: wrap; }

.hero-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 44px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(10, 14, 24, 0.6);
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--body);
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); }

.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--mute);
  font-family: var(--font-cond);
  font-size: 12.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, var(--amber), transparent);
  animation: drip 2.2s ease-in-out infinite;
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* hero scene animation bits */
.twinkle { animation: twinkle 3.4s ease-in-out infinite; }
.twinkle.t2 { animation-delay: 1.2s; }
.twinkle.t3 { animation-delay: 2.1s; }
@keyframes twinkle { 0%, 100% { opacity: 0.9; } 50% { opacity: 0.15; } }

.beam { animation: beamOn 2s ease-out 0.4s both; }
@keyframes beamOn { 0% { opacity: 0; } 60% { opacity: 0.25; } 100% { opacity: 1; } }

.stack-glow { animation: emberPulse 2.6s ease-in-out infinite; }
@keyframes emberPulse { 0%, 100% { opacity: 0.85; } 50% { opacity: 0.35; } }

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

.section { padding: 104px 0; position: relative; }
.section-tight { padding: 72px 0; }
.section-head { margin-bottom: 52px; }
.section-head h2 { margin: 16px 0 14px; }
.section-alt {
  background:
    radial-gradient(900px 400px at 15% 0%, rgba(43, 62, 110, 0.18), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-num {
  position: absolute;
  top: 64px;
  right: 24px;
  font-family: var(--font-display);
  font-size: clamp(70px, 10vw, 150px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(150, 165, 200, 0.1);
  pointer-events: none;
  line-height: 1;
}

/* reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="2"] { transition-delay: 0.12s; }
[data-reveal="3"] { transition-delay: 0.24s; }
[data-reveal="4"] { transition-delay: 0.36s; }

/* ---------- cards ---------- */

.card {
  background: linear-gradient(180deg, var(--panel-2) 0%, var(--panel) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  border-color: rgba(255, 140, 31, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

/* platform cards */
.platform-card {
  position: relative;
  overflow: hidden;
  padding: 34px 30px 30px;
  cursor: pointer;
  display: block;
  color: var(--body);
}
.platform-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--grad-ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.platform-card:hover::after { transform: scaleX(1); }
.platform-card .platform-engine {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--ink);
  text-transform: uppercase;
  margin: 14px 0 4px;
}
.platform-card .platform-brand {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}
.platform-card p { font-size: 15px; margin-top: 10px; color: var(--mute); }
.platform-card .platform-cta {
  margin-top: 18px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.platform-card:hover .platform-cta { color: var(--ink); }
.platform-icon { width: 54px; height: 54px; color: var(--amber); opacity: 0.9; }

/* tune type strip */
.type-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.type-pill {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(14, 20, 34, 0.6);
  padding: 18px 14px;
  text-align: center;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.type-pill:hover { border-color: rgba(255, 140, 31, 0.4); background: rgba(20, 27, 45, 0.8); }
.type-pill .t-name {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  display: block;
  margin-top: 10px;
}
.type-pill .t-sub { font-size: 12.5px; color: var(--mute); display: block; margin-top: 4px; }
.type-pill svg { margin-inline: auto; color: var(--amber); }

/* service grid */
.service-card { display: flex; flex-direction: column; gap: 14px; }
.service-card .svc-icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 140, 31, 0.09);
  border: 1px solid rgba(255, 140, 31, 0.25);
  color: var(--amber);
  flex: none;
}
.service-card p { font-size: 15px; color: var(--mute); }
.service-card .svc-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 6px; }
.svc-tag {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--body);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 9px;
}

/* install banner */
.install-banner {
  margin-top: 44px;
  border: 1px solid rgba(255, 140, 31, 0.35);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(-45deg, rgba(255, 140, 31, 0.05) 0 14px, transparent 14px 28px),
    linear-gradient(120deg, rgba(255, 92, 26, 0.12), rgba(14, 20, 34, 0.9) 55%);
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.install-banner h3 { font-size: clamp(24px, 3vw, 34px); }
.install-banner p { color: var(--body); max-width: 560px; margin-top: 8px; }

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 26px;
  align-items: stretch;
}
.contact-card { display: flex; flex-direction: column; gap: 20px; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; }
.contact-row .c-icon {
  width: 44px; height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 140, 31, 0.09);
  border: 1px solid rgba(255, 140, 31, 0.25);
  color: var(--amber);
}
.contact-row strong {
  display: block;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 3px;
}
.contact-row a, .contact-row span.val { color: var(--ink); font-size: 17px; }
.contact-row a:hover { color: var(--amber-2); }
.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 380px;
  filter: grayscale(0.6) invert(0.92) hue-rotate(185deg) saturate(0.6);
}
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- page hero (sub pages) ---------- */

.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 84px) 0 64px;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -20%, rgba(43, 62, 110, 0.4), transparent 65%),
    linear-gradient(180deg, #0a1020 0%, var(--bg) 90%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(42px, 6.5vw, 76px); margin: 16px 0 14px; }
.page-hero .lede { font-size: 18px; }
.page-hero-art {
  position: absolute;
  right: -40px;
  bottom: -30px;
  width: clamp(260px, 34vw, 480px);
  opacity: 0.5;
  pointer-events: none;
}

/* gauge */
.gauge-needle {
  transform-origin: 100px 100px;
  animation: revUp 1.6s cubic-bezier(0.6, 0, 0.3, 1.4) 0.3s both;
}
@keyframes revUp { from { transform: rotate(0deg); } to { transform: rotate(228deg); } }

/* ---------- tune finder ---------- */

.finder-steps {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--panel);
}
.finder-step {
  flex: 1;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-right: 1px solid var(--line);
  color: var(--mute);
  font-family: var(--font-cond);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 15px;
  cursor: default;
}
.finder-step:last-child { border-right: none; }
.finder-step .step-num {
  width: 30px; height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-size: 14px;
}
.finder-step.active { color: var(--ink); background: rgba(255, 140, 31, 0.06); }
.finder-step.active .step-num {
  background: var(--grad-ember);
  border-color: transparent;
  color: #170a02;
  font-weight: 700;
}
.finder-step.done { color: var(--amber-2); cursor: pointer; }
.finder-step.done .step-num { border-color: var(--amber); color: var(--amber); }
.finder-step .step-val { font-size: 12.5px; letter-spacing: 0.05em; color: var(--mute); display: block; text-transform: none; }

.brand-choice {
  text-align: left;
  width: 100%;
  cursor: pointer;
  font-family: inherit;
}

.gen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gen-card {
  text-align: left;
  cursor: pointer;
  padding: 22px 24px;
  font-family: inherit;
  color: var(--body);
  width: 100%;
}
.gen-card .gen-years {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.gen-card .gen-engine {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-top: 4px;
  display: block;
}
.gen-card .gen-trucks { font-size: 14px; color: var(--mute); margin-top: 8px; display: block; }

.finder-back {
  background: none;
  border: none;
  color: var(--mute);
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  margin-bottom: 22px;
}
.finder-back:hover { color: var(--amber-2); }

.results-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 30px;
}
.results-head h2 { font-size: clamp(26px, 3.6vw, 40px); }
.results-head .truck-label {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}

.tune-group { margin-bottom: 46px; }
.tune-group-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.tune-group-head svg { color: var(--amber); flex: none; }
.tune-group-head h3 { font-size: 22px; }
.tune-group-head .group-sub { font-size: 14px; color: var(--mute); }

.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tier-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.tier-card .tier-hp {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--ink);
  line-height: 1;
}
.tier-card .tier-hp em { font-style: normal; font-size: 17px; color: var(--amber); }
.tier-card .tier-name {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-2);
}
.tier-card p { font-size: 13.5px; color: var(--mute); line-height: 1.5; }
.tier-card .mini-gauge { position: absolute; top: 18px; right: 16px; width: 44px; height: 30px; }
.tier-request {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-2);
  display: inline-flex;
  gap: 7px;
  align-items: center;
}
.tier-card:hover .tier-request { color: var(--ink); }

.addon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.addon-card { padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.addon-card .svc-icon { width: 46px; height: 46px; }
.addon-card h4 {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.addon-card p { font-size: 14px; color: var(--mute); margin-top: 6px; }
.addon-badge {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(255, 140, 31, 0.4);
  border-radius: 5px;
  padding: 2px 8px;
  display: inline-block;
  margin-bottom: 8px;
}

.info-label {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-2);
  display: block;
}
.info-price {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--ink);
  line-height: 1.15;
  display: block;
}

.platform-notes {
  border-left: 3px solid var(--amber);
  background: rgba(255, 140, 31, 0.06);
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  margin-bottom: 40px;
}
.platform-notes li { margin-left: 18px; font-size: 15px; color: var(--body); }
.platform-notes li + li { margin-top: 6px; }

.finder-cta-strip {
  margin-top: 20px;
  text-align: center;
  padding: 40px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}
.finder-cta-strip p { margin-bottom: 18px; }

/* ---------- shop ---------- */

.shop-banner {
  display: flex;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(255, 140, 31, 0.4);
  background: rgba(255, 140, 31, 0.07);
  border-radius: 12px;
  padding: 16px 22px;
  margin-bottom: 34px;
  font-size: 15px;
  color: var(--body);
}
.shop-banner svg { color: var(--amber); flex: none; }
.shop-banner strong { color: var(--ink); }

.shop-controls {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.shop-search {
  flex: 1;
  min-width: 220px;
  position: relative;
}
.shop-search input {
  width: 100%;
  padding: 13px 16px 13px 44px;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15.5px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.shop-search input:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255, 140, 31, 0.15); }
.shop-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--mute); }
.shop-sort select {
  padding: 13px 38px 13px 16px;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  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' stroke='%238a93a9' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.cat-chips { display: flex; flex-direction: column; gap: 12px; margin-bottom: 34px; }
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; }
.cat-chip {
  padding: 9px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--body);
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cat-chip:hover { border-color: var(--amber); color: var(--ink); }
.cat-chip.active {
  background: var(--grad-ember);
  border-color: transparent;
  color: #170a02;
  font-weight: 700;
}

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-art {
  height: 150px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(320px 120px at 50% 120%, rgba(255, 140, 31, 0.12), transparent 70%),
    linear-gradient(180deg, #171f33 0%, #101728 100%);
  border-bottom: 1px solid var(--line);
  color: var(--amber);
  position: relative;
}
.product-art svg { width: 58px; height: 58px; opacity: 0.9; }
.product-art img { width: 100%; height: 100%; object-fit: cover; }
.product-art img.fit-white { object-fit: contain; background: #fff; padding: 8px; }
.cart-item-art img.fit-white { object-fit: contain; background: #fff; padding: 3px; }
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--grad-ember);
  color: #170a02;
  padding: 3px 10px;
  border-radius: 5px;
}
.product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-body h3 { font-family: var(--font-cond); font-weight: 700; font-size: 17.5px; letter-spacing: 0.04em; text-transform: none; color: var(--ink); line-height: 1.3; }
.product-fits { font-size: 13px; color: var(--amber-2); font-family: var(--font-cond); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.product-body p.blurb { font-size: 13.5px; color: var(--mute); line-height: 1.5; }
.product-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-price { font-family: var(--font-display); font-size: 22px; color: var(--ink); }
.product-price small { font-size: 11px; color: var(--mute); display: block; font-family: var(--font-cond); letter-spacing: 0.1em; text-transform: uppercase; }
.add-cart-btn {
  padding: 9px 16px;
  background: transparent;
  border: 1px solid var(--amber);
  border-radius: 8px;
  color: var(--amber-2);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}
.add-cart-btn:hover { background: var(--grad-ember); color: #170a02; border-color: transparent; }
.add-cart-btn.added { background: var(--grad-ember); color: #170a02; border-color: transparent; }

.shop-empty {
  text-align: center;
  padding: 70px 20px;
  color: var(--mute);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}

/* cart drawer */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 10, 0.7);
  backdrop-filter: blur(3px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(430px, 100%);
  background: var(--bg-2);
  border-left: 1px solid var(--line-strong);
  z-index: 95;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.3, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.cart-head h3 { font-size: 20px; }
.cart-close {
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  width: 38px; height: 38px;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.cart-close:hover { border-color: var(--amber); color: var(--amber-2); }
.cart-items { flex: 1; overflow-y: auto; padding: 18px 24px; display: flex; flex-direction: column; gap: 16px; }
.cart-item {
  display: flex;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: var(--panel);
}
.cart-item-art {
  width: 54px; height: 54px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #171f33;
  color: var(--amber);
}
.cart-item-art svg { width: 28px; height: 28px; }
.cart-item-art { overflow: hidden; }
.cart-item-art img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h4 { font-family: var(--font-cond); font-weight: 700; font-size: 15.5px; color: var(--ink); line-height: 1.3; }
.cart-item-info .ci-price { font-size: 14px; color: var(--amber-2); margin-top: 2px; }
.cart-qty { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.cart-qty button {
  width: 26px; height: 26px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
}
.cart-qty button:hover { border-color: var(--amber); color: var(--amber-2); }
.cart-qty span { font-family: var(--font-cond); font-weight: 600; min-width: 18px; text-align: center; }
.cart-remove {
  background: none;
  border: none;
  color: var(--mute);
  cursor: pointer;
  font-size: 12.5px;
  font-family: var(--font-cond);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0;
  margin-left: auto;
}
.cart-remove:hover { color: var(--danger); }
.cart-empty-msg { text-align: center; color: var(--mute); padding: 50px 10px; }
.cart-foot { border-top: 1px solid var(--line); padding: 20px 24px 26px; }
.cart-subtotal { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.cart-subtotal strong { font-family: var(--font-display); font-size: 26px; color: var(--ink); }
.cart-note { font-size: 12.5px; color: var(--mute); margin-bottom: 16px; }
.cart-foot .btn { width: 100%; }
.order-form { margin-top: 16px; display: grid; gap: 10px; }
.order-form h4, .order-success h4 {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 2px;
}
.field-input {
  width: 100%;
  padding: 11px 14px;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.2s ease;
}
.field-input:focus { border-color: var(--amber); }
select.field-input { appearance: none; cursor: pointer; }
.order-status { font-size: 13px; color: var(--amber-2); min-height: 18px; }
.order-success {
  margin-top: 16px;
  border: 1px solid rgba(255, 140, 31, 0.4);
  background: rgba(255, 140, 31, 0.08);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 14px;
  color: var(--body);
}

.checkout-notice {
  margin-top: 14px;
  border: 1px solid rgba(255, 140, 31, 0.4);
  background: rgba(255, 140, 31, 0.08);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--body);
  display: none;
}
.checkout-notice.show { display: block; }
.checkout-notice a { font-weight: 600; }

/* toast */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 80px);
  background: var(--panel-2);
  border: 1px solid rgba(255, 140, 31, 0.5);
  border-radius: 10px;
  padding: 13px 22px;
  font-family: var(--font-cond);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
  z-index: 120;
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- services page ---------- */

.process-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: proc;
}
.process-step {
  position: relative;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.process-step::before {
  counter-increment: proc;
  content: "0" counter(proc);
  font-family: var(--font-display);
  font-size: 44px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 140, 31, 0.5);
  display: block;
  line-height: 1;
  margin-bottom: 12px;
}
.process-step h4 {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 6px;
}
.process-step p { font-size: 14px; color: var(--mute); }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work-tile {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(-45deg, rgba(150, 165, 200, 0.04) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #131a2c 0%, #0c1220 100%);
}
.work-tile span {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  text-align: center;
  padding: 0 14px;
}
.work-tile svg { position: absolute; top: 14px; right: 14px; color: rgba(255, 140, 31, 0.4); }

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

@media (max-width: 1020px) {
  .grid-4, .product-grid { grid-template-columns: repeat(3, 1fr); }
  .tier-grid { grid-template-columns: repeat(3, 1fr); }
  .type-strip { grid-template-columns: repeat(3, 1fr); }
  .process-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .grid-3, .gen-grid, .addon-grid, .work-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 76px 0; }
  .finder-steps { flex-direction: column; }
  .finder-step { border-right: none; border-bottom: 1px solid var(--line); }
  .finder-step:last-child { border-bottom: none; }
  .section-num { display: none; }

  .hero-scene .hero-slide-ford, .hero-scene .hero-slide-dmax { object-position: 72% 50%; }
  .hero-scene .hero-slide-ram { object-position: 52% 50%; }
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(6, 8, 15, 0.92) 0%, rgba(6, 8, 15, 0.72) 45%, rgba(6, 8, 15, 0.45) 75%, var(--bg) 100%);
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    background: rgba(6, 8, 15, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 14px 24px 22px;
    display: none;
    z-index: 49;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 6px; font-size: 18px; border-bottom: 1px solid rgba(150, 165, 200, 0.08); }
  .nav-toggle { display: grid; }
  .nav-phone-label { display: none; }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .grid-4, .product-grid, .tier-grid, .grid-3, .gen-grid, .addon-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .type-strip { grid-template-columns: repeat(2, 1fr); }
  .process-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-content h1 { font-size: clamp(46px, 13vw, 64px); }
  .install-banner { padding: 30px 24px; }
  .container { width: calc(100% - 36px); }
  .brand { gap: 9px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-text strong { font-size: 16px; white-space: nowrap; }
  .brand-text small { font-size: 8.5px; letter-spacing: 0.28em; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
