/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #F7F2E6;
  --bg-2: #FFFDF6;
  --ink: #1C1A16;
  --ink-soft: #332E24;
  --ink-mute: #6B6354;
  --cream: #F7F2E6;
  --cream-2: #E6DCC4;
  --cream-3: #C9BE9F;
  --accent: #B8923E;
  --green: #1F4538;
  --line: rgba(28, 26, 22, 0.14);
  --line-on-dark: rgba(247, 242, 230, 0.14);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: "EB Garamond", Georgia, serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; line-height: 1.05; font-family: "Oswald", sans-serif; letter-spacing: 0.02em; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--cream); color: var(--ink);
  z-index: 9999; border-radius: 8px; font-weight: 600; font-family: "Oswald", sans-serif;
}
.skip-link:focus { top: 1rem; }
.container { max-width: 1320px; margin-inline: auto; padding-inline: 6vw; }
.display { font-family: "Oswald", sans-serif; letter-spacing: 0.04em; }
.serif { font-family: "EB Garamond", Georgia, serif; }
.quote { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; }
.eyebrow { font-size: 13px; letter-spacing: 0.25em; color: var(--accent); }

/* =============================================================
   4. Typography
   ============================================================= */
.section-title { font-size: clamp(1.9rem, 4vw, 2.4rem); font-weight: 600; color: var(--ink); margin: 0.6rem 0 0; }
.section-title.on-dark { color: #FFFDF6; }
.lede { font-size: 1.2rem; line-height: 1.75; color: var(--ink-soft); max-width: 46ch; }
.lede.on-dark { color: var(--cream-2); }

/* =============================================================
   5. Components
   ============================================================= */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 600;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(184,146,62,0.3); }
.btn-ghost { border: 1px solid var(--cream-2); color: var(--cream-2); }

.gal { position: relative; overflow: hidden; }
.gal img { transition: transform .7s cubic-bezier(.22,.61,.36,1); }
.gal:hover img { transform: scale(1.05); }

.spec-row { transition: background .25s var(--ease-out), transform .25s var(--ease-out); }
.spec-row:hover { background: rgba(184,146,62,0.08); transform: translateY(-2px); }

.ext-link:hover .ext-underline { border-color: currentColor; }

/* Floating nav */
.floatnav {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 50;
  display: flex; gap: 4px; align-items: center; padding: 8px; border-radius: 999px;
  background: rgba(28,26,22,0.88); backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  max-width: calc(100vw - 24px); overflow-x: auto; scrollbar-width: none;
}
.floatnav::-webkit-scrollbar { display: none; }
.floatnav a {
  flex: 0 0 auto; padding: 10px 16px; border-radius: 999px; font-size: 11px; color: var(--cream-2);
  letter-spacing: 0.1em; white-space: nowrap; transition: background .25s var(--ease-out), color .25s var(--ease-out);
}
.floatnav a.nav-active { background: var(--accent); color: var(--ink); font-weight: 600; }

/* =============================================================
   6. Sections
   ============================================================= */
.site { width: 100%; max-width: 100%; overflow-x: clip; position: relative; }

.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  background: #15130F; overflow: hidden;
}
.hero-bg {
  position: absolute; top: -8%; left: 0; width: 100%; height: 118%;
  object-fit: cover; filter: grayscale(0.2) contrast(1.08) brightness(0.9);
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(31,69,56,0.75), rgba(28,26,22,0.35), rgba(184,146,62,0.35));
  background-size: 240% 240%;
  animation: shimmer 14s ease-in-out infinite;
  mix-blend-mode: multiply;
}
.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 70%, rgba(21,19,15,0.1) 0%, rgba(21,19,15,0.75) 100%);
}
.hero-inner { position: relative; text-align: center; padding-inline: 6vw; }
.hero-title {
  margin: 0; font-size: clamp(2.8rem, 9vw, 6.8rem); line-height: 0.95; font-weight: 600;
  color: #FFFDF6; text-transform: uppercase; text-shadow: 0 10px 40px rgba(0,0,0,0.5);
  text-wrap: balance; max-width: 20ch; margin-inline: auto;
}
.hero-sub { font-size: clamp(1.1rem, 2vw, 1.5rem); color: #E7DDC2; margin-top: 22px; }
.hero-actions { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.marquee-wrap { overflow: hidden; white-space: nowrap; background: var(--green); padding: 13px 0; }
.marquee-track {
  display: inline-flex; width: max-content;
  font-family: "Oswald", sans-serif; font-size: 14px; color: #E9D9A8; font-weight: 500; letter-spacing: 0.14em;
  animation: marquee 24s linear infinite;
}

.section { padding: clamp(60px, 10vw, 100px) 6vw; position: relative; }
.section.on-dark { background: var(--ink); color: var(--cream); }
.section.on-green { background: var(--green); color: var(--cream); }

.cols-2 { display: flex; gap: 60px; flex-wrap: wrap; }
.cols-2 > * { flex: 1 1 320px; }

.specs-grid, .parts-grid, .stats-grid {
  display: grid; gap: 1px;
}
.specs-grid, .parts-grid { background: var(--line); border: 1px solid var(--line); grid-template-columns: repeat(4, 1fr); }
.section.on-dark .specs-grid, .section.on-dark .parts-grid { background: var(--line-on-dark); border-color: var(--line-on-dark); }
.stats-grid { grid-template-columns: repeat(4, 1fr); gap: 40px; background: none; border: none; }

.spec-cell { background: var(--bg-2); padding: 26px 22px; }
.section.on-dark .spec-cell { background: var(--ink); padding: 22px; }

.part-card { background: var(--ink); overflow: hidden; }
.part-card .part-body { padding: 20px 20px 24px; }

.stat { }
.stat-num { font-family: "Oswald", sans-serif; font-size: clamp(2.2rem, 4vw, 3rem); color: var(--accent); font-weight: 600; }
.stat-label { font-family: "EB Garamond", serif; font-size: 15px; color: var(--cream-2); margin-top: 6px; }

.podium-row {
  display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center;
}
.podium-row.is-chrysler { background: rgba(31,69,56,0.07); }
.podium-pos { font-family: "Oswald", sans-serif; font-weight: 600; width: 56px; }

.video-section {
  position: relative; min-height: 86vh; min-height: 86svh; display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: #0F0D0A;
}
.video-bg { position: absolute; top: -8%; left: 0; width: 100%; height: 118%; object-fit: cover; filter: grayscale(0.4) brightness(0.55); will-change: transform; }
.video-tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,13,10,0.2) 0%, rgba(15,13,10,0.75) 100%); }
.video-play {
  width: 92px; height: 92px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-top: 10px;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.video-play::after {
  content: ""; width: 0; height: 0;
  border-top: 17px solid transparent; border-bottom: 17px solid transparent; border-left: 26px solid var(--ink);
  margin-left: 6px;
}

.footer {
  border-top: 2px solid var(--ink); padding: 44px 6vw 110px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; background: var(--bg);
}

/* =============================================================
   7. Effects
   ============================================================= */
@keyframes shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-overlay { animation: none; }
  .marquee-track { animation-duration: 60s; }
}

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .floatnav a { padding: 10px 16px; font-size: 11px; }
}

@media (max-width: 760px) {
  .cols-2 { flex-direction: column; }
  .specs-grid, .parts-grid, .stats-grid { grid-template-columns: 1fr 1fr; }
  .floatnav a { padding: 9px 12px; font-size: 10px; }
}

@media (min-width: 960px) {
  .cols-2.cols-2-uneven > :first-child { flex: 1 1 420px; }
  .cols-2.cols-2-uneven > :last-child { flex: 1 1 320px; }
}

@media (min-width: 1280px) {
  .container { padding-inline: 4vw; }
}
