/* Beaten By Design · When You're Gone
   Brand: Engine Charcoal #1B2326, Piston Orange #BD4219, Shop Paper #FAF5EA (see brand/BRAND-COLORS.md) */

:root {
  --charcoal: #1B2326;
  --charcoal-2: #232D31;
  --orange: #BD4219;
  --orange-hot: #D24E21;
  --peach: #F3A27F;
  --paper: #FAF5EA;
  --paper-soft: #D9D4C7;
  --steel: #D5D8DB;
  --steel-dark: #5F676E;
  --amber: #E9A11B;
  --ink: #111;
  --graphite: #3B3B3B;
  --card: #FFFDF7;

  --f-head: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;
  --f-label: "Barlow", system-ui, sans-serif;
  --f-body: "Literata", Georgia, serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;

  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 19px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: #fff; padding: 8px 14px; z-index: 99; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
h1, h2, h3 { font-family: var(--f-head); font-weight: 600; line-height: 1.05; margin: 0 0 .4em; letter-spacing: -.01em; }
h2 { font-size: clamp(34px, 4.6vw, 56px); }
h3 { font-size: 26px; }
p { margin: 0 0 1em; }
.kicker {
  font-family: var(--f-label); font-weight: 600; font-size: 15px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px;
}
.kicker-light { color: var(--peach); }
.h-light { color: var(--paper); }
.sub-light { color: var(--paper-soft); max-width: 640px; }
.source { font-family: var(--f-label); font-size: 14px; color: var(--steel-dark); margin-top: 18px; }
.source-light { color: #9AA3A8; text-align: center; }
.mono { font-family: var(--f-mono); }
.section-paper { background: var(--paper); padding: clamp(80px, 11vw, 140px) 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  font-family: var(--f-label); font-weight: 600; font-size: 18px; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; border-radius: 6px; padding: 18px 28px; min-height: 56px;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s;
  position: relative; overflow: hidden;
}
.btn-primary { background: var(--orange); color: var(--paper); box-shadow: 0 8px 24px -10px rgba(189, 66, 25, .7); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-primary:hover { background: var(--orange-hot); transform: translateY(-2px); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { color: var(--paper); border: 1.5px solid rgba(250,245,234,.6); }
.btn-ghost:hover { border-color: var(--paper); background: rgba(250,245,234,.08); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; min-height: 44px; font-size: 15px; }
.btn-xl { width: 100%; font-size: 20px; padding: 22px 28px; }
.btn:focus-visible, button:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px clamp(18px, 4vw, 48px);
  transition: background .35s, padding .35s, box-shadow .35s;
}
.nav.scrolled { background: rgba(27, 35, 38, .94); backdrop-filter: blur(10px); padding-block: 10px; box-shadow: 0 1px 0 rgba(189,66,25,.6); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--paper); }
.brand span { font-family: var(--f-label); font-weight: 600; font-size: 15px; letter-spacing: .22em; }
.brand img { width: 40px; height: 40px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--paper-soft); text-decoration: none; font-family: var(--f-label); font-size: 16px; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover { color: var(--paper); }
.nav-links a:hover::after { transform: scaleX(1); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; background: var(--charcoal); color: var(--paper); overflow: hidden; }
.hero-media { position: absolute; inset: -6% -2% -2% -2%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; animation: kenburns 24s var(--ease) both; will-change: transform; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(27,35,38,.15) 0%, rgba(27,35,38,.55) 42%, rgba(27,35,38,.94) 66%, #1B2326 100%),
    linear-gradient(0deg, rgba(27,35,38,.9) 0%, transparent 35%);
}
.hero-inner { position: relative; z-index: 2; width: min(var(--wrap), 100% - 40px); margin-inline: auto; padding: 140px 0 110px; display: grid; justify-items: start; }
.hero-inner > * { margin-left: auto; width: min(600px, 100%); }
.hero h1 { font-size: clamp(46px, 6.6vw, 88px); color: var(--paper); }
.lede { color: var(--paper-soft); font-size: clamp(19px, 1.7vw, 22px); }
.lede strong { color: var(--paper); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; margin-bottom: 26px; }
.hero-facts { list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-family: var(--f-label); font-size: 15px; color: #B8BEC2; }
.hero-facts li::before { content: "■"; color: var(--orange); margin-right: 8px; font-size: 11px; vertical-align: 2px; }
.pinstripe { height: 14px; display: grid; gap: 4px; margin-top: 4px; margin-bottom: 26px; }
.pinstripe i { display: block; background: var(--orange); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease) .2s; }
.pinstripe i:first-child { height: 5px; width: 190px; }
.pinstripe i:last-child { height: 2px; width: 140px; transition-delay: .45s; }
.pinstripe.in i { transform: scaleX(1); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; width: 28px; height: 46px; border: 2px solid rgba(250,245,234,.5); border-radius: 16px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: var(--orange); animation: cue 1.8s infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- odometer strip ---------- */
.numbers {
  background: var(--charcoal-2); color: var(--paper);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 42px clamp(20px, 5vw, 80px);
  border-top: 4px solid var(--orange); position: relative;
}
.numbers::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); opacity: .5; }
.odo-item { text-align: center; }
.odo-item p { font-family: var(--f-label); text-transform: uppercase; letter-spacing: .16em; font-size: 14px; color: var(--paper-soft); margin: 10px 0 0; }
.odo { display: inline-flex; gap: 5px; }
.odo .drum { width: 46px; height: 64px; background: #0F1416; border-radius: 6px; overflow: hidden; position: relative; box-shadow: inset 0 8px 10px -6px rgba(0,0,0,.8), inset 0 -8px 10px -6px rgba(0,0,0,.8); }
.odo .drum:last-child { background: var(--orange); }
.odo .reel { position: absolute; left: 0; right: 0; top: 0; transition: transform 2.2s cubic-bezier(.15,.8,.2,1); }
.odo .reel span { display: block; height: 64px; line-height: 64px; text-align: center; font-family: var(--f-mono); font-weight: 600; font-size: 38px; color: #fff; }

/* ---------- problem ---------- */
.problem h2 { max-width: 760px; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 34px; }
.stat { background: var(--card); border: 1px solid var(--paper-soft); border-top: 4px solid var(--orange); padding: 26px; border-radius: 6px; }
.stat b { display: block; font-family: var(--f-head); font-size: 54px; line-height: 1; color: var(--charcoal); margin-bottom: 8px; }
.stat span { color: var(--graphite); }

/* ---------- story cards ---------- */
.stories { background: var(--charcoal); padding: clamp(80px, 11vw, 140px) 0; }
.stories .h-light, .stories .kicker, .stories .sub-light { text-align: center; margin-inline: auto; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; perspective: 1400px; }
.flip { position: relative; height: 380px; border: 0; padding: 0; background: none; cursor: pointer; text-align: left; font: inherit; color: inherit; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.flip.is-flipped { transform: rotateY(180deg); }
.flip .face { position: absolute; inset: 0; border-radius: 10px; padding: 26px 22px; display: flex; flex-direction: column; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip .front { background: linear-gradient(160deg, #2A353A, #1F282C); border: 1px solid #36434A; transition: border-color .3s, box-shadow .3s; }
.flip:hover .front { border-color: var(--orange); box-shadow: 0 18px 40px -20px rgba(189,66,25,.6); }
.flip .back { background: var(--paper); color: var(--ink); transform: rotateY(180deg); border-top: 6px solid var(--orange); }
.plate-mini { align-self: flex-start; font-family: var(--f-head); font-weight: 700; font-size: 20px; color: var(--orange); background: #F3E9D2; border: 2px solid #111; border-radius: 6px; padding: 2px 12px; letter-spacing: .06em; }
.car { font-family: var(--f-head); font-size: 24px; color: var(--paper); margin: 16px 0 auto; line-height: 1.15; }
.offer-label { font-family: var(--f-label); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: var(--peach); }
.back .offer-label { color: var(--orange); }
.offer { font-family: var(--f-mono); font-weight: 600; font-size: 36px; color: var(--paper); line-height: 1.15; margin: 6px 0 14px; }
.offer-quote { font-family: var(--f-body); font-size: 24px; font-weight: 600; }
.back .offer { color: var(--charcoal); font-size: 30px; }
.tap { font-family: var(--f-label); font-size: 14px; color: #9AA3A8; border-top: 1px solid #36434A; padding-top: 12px; }
.tap::after { content: " →"; color: var(--orange); }
.story { font-size: 17px; line-height: 1.5; color: var(--graphite); }

/* ---------- quiz ---------- */
.grades { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 26px 0; }
.grade { font: inherit; border: 2px solid var(--charcoal); background: var(--card); border-radius: 8px; padding: 18px 10px; cursor: pointer; display: grid; gap: 2px; justify-items: center; transition: transform .2s var(--ease), background .2s, color .2s; min-height: 92px; }
.grade b { font-family: var(--f-head); font-size: 34px; line-height: 1; }
.grade span { font-family: var(--f-label); font-size: 15px; text-transform: uppercase; letter-spacing: .1em; }
.grade:hover { transform: translateY(-3px); }
.grade.picked { background: var(--charcoal); color: var(--paper); }
.quiz-out { animation: rise .6s var(--ease) both; }
.quiz-msg { font-size: 21px; }
.quiz-msg b { color: var(--orange); }
.mini-table { border: 1.5px solid var(--charcoal); border-radius: 8px; overflow: hidden; background: var(--card); }
.mt-head { display: flex; justify-content: space-between; background: var(--charcoal); color: var(--paper); padding: 12px 18px; font-family: var(--f-label); font-size: 15px; }
.mt-row { display: flex; justify-content: space-between; padding: 12px 18px; border-top: 1px solid var(--paper-soft); transition: background .3s; }
.mt-row b { font-family: var(--f-mono); }
.mt-row.hl { background: #F8E1D6; }
.mt-row.yours { box-shadow: inset 5px 0 0 var(--orange); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- VIN ---------- */
.vin-sec { background: radial-gradient(1200px 500px at 80% 0%, #2B373C 0%, var(--charcoal) 60%); padding: clamp(80px, 11vw, 140px) 0; }
.vin-sec .wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: center; }
.vin-plate {
  display: flex; background: linear-gradient(180deg, #E1E4E6, #C9CDD0); border: 2px solid var(--steel-dark); border-radius: 8px; padding: 14px; gap: 0;
  box-shadow: 0 20px 50px -25px #000, inset 0 1px 0 #fff; position: relative;
}
.vin-plate::before, .vin-plate::after { content: ""; position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #8F969C 60%); }
.vin-plate::before { left: 6px; } .vin-plate::after { right: 6px; }
.vin-plate button {
  flex: 1 1 auto; font-family: var(--f-mono); font-weight: 600; font-size: clamp(22px, 2.6vw, 34px); color: #111;
  background: transparent; border: 0; border-right: 1.5px solid #9AA1A6; padding: 14px 8px; cursor: pointer; transition: background .25s, color .25s;
}
.vin-plate button:last-child { border-right: 0; flex-grow: 3; }
.vin-plate button:hover, .vin-plate button.on { background: var(--orange); color: #fff; }
.vin-meaning { margin-top: 22px; font-family: var(--f-head); font-size: 30px; color: var(--paper); min-height: 1.3em; }
.vin-meaning b { color: var(--peach); font-family: var(--f-mono); margin-right: 12px; }
.vin-note { color: var(--paper-soft); }

/* ---------- inside ---------- */
.chapters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.chap { background: var(--card); border: 1px solid var(--paper-soft); border-radius: 8px; padding: 24px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.chap:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -24px rgba(27,35,38,.45); border-color: var(--orange); }
.lp { display: inline-block; font-family: var(--f-head); font-weight: 700; font-size: 22px; letter-spacing: .06em; color: var(--orange); background: #F3E9D2; border: 2px solid #111; border-radius: 7px; padding: 4px 14px; margin-bottom: 16px; box-shadow: inset 0 0 0 3px #F3E9D2, inset 0 0 0 4px #111; }
.chap h3 { margin-bottom: 8px; }
.chap p { font-size: 17px; color: var(--graphite); margin: 0; }

/* ---------- product ---------- */
.product { background: var(--charcoal-2); padding: clamp(80px, 10vw, 130px) 0; }
.product-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 50px; align-items: center; }
.product-shot { margin: 0; }
.product-shot img { border-radius: 10px; box-shadow: 0 40px 80px -40px #000; }
.product-shot figcaption { font-family: var(--f-label); font-size: 14px; color: #9AA3A8; margin-top: 12px; }
.workorder { background: var(--card); border: 2px solid var(--orange); border-radius: 6px; overflow: hidden; }
.wo-head { display: flex; justify-content: space-between; align-items: center; background: var(--orange); color: var(--paper); padding: 14px 22px; font-family: var(--f-label); font-weight: 600; letter-spacing: .1em; border-bottom: 2px dashed rgba(250,245,234,.6); }
.wo-head .mono { font-size: 13px; letter-spacing: .05em; }
.wo-list { list-style: none; margin: 0; padding: 22px 24px 6px; }
.wo-list li { position: relative; padding-left: 40px; margin-bottom: 16px; font-size: 18px; }
.wo-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 3px; background: #fff; }
.wo-list li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 7px; height: 13px; border: solid var(--orange); border-width: 0 3px 3px 0; transform: rotate(45deg) scale(0); transition: transform .4s var(--ease); }
.workorder.in .wo-list li::after { transform: rotate(45deg) scale(1); }
.workorder.in .wo-list li:nth-child(2)::after { transition-delay: .25s; }
.workorder.in .wo-list li:nth-child(3)::after { transition-delay: .5s; }
.workorder.in .wo-list li:nth-child(4)::after { transition-delay: .75s; }
.workorder.in .wo-list li:nth-child(5)::after { transition-delay: 1s; }
.wo-foot { margin: 0; padding: 16px 24px 22px; font-family: var(--f-label); font-size: 15px; color: var(--graphite); border-top: 1px solid var(--paper-soft); }

/* ---------- gallery ---------- */
.pages { padding-bottom: clamp(70px, 9vw, 120px); }
.gallery { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(20px, calc((100vw - var(--wrap)) / 2)); padding: 36px max(20px, calc((100vw - var(--wrap)) / 2)) 30px; scrollbar-color: var(--orange) transparent; }
.pg { flex: 0 0 auto; width: 260px; scroll-snap-align: start; border: 0; background: none; padding: 0; cursor: zoom-in; text-align: left; font: inherit; }
.pg img { width: 260px; aspect-ratio: 8.5 / 11; object-fit: cover; border-radius: 4px; box-shadow: 0 2px 0 var(--paper-soft), 0 24px 40px -24px rgba(0,0,0,.55); transition: transform .4s var(--ease), box-shadow .4s; background: #fff; }
.pg:hover img { transform: translateY(-8px) rotate(-.6deg); box-shadow: 0 34px 50px -26px rgba(0,0,0,.6); }
.pg span { display: block; margin-top: 12px; font-family: var(--f-label); font-weight: 600; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--graphite); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(860px, 94vw); max-height: 94vh; }
.lightbox::backdrop { background: rgba(15, 20, 22, .88); backdrop-filter: blur(4px); }
.lightbox img { max-height: 92vh; width: auto; margin: auto; border-radius: 4px; }
.lb-close { position: fixed; top: 16px; right: 20px; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--orange); color: #fff; font-size: 32px; line-height: 1; cursor: pointer; }

/* ---------- quote band ---------- */
.quote-band { background: var(--orange); color: var(--paper); padding: clamp(70px, 9vw, 110px) 0; position: relative; }
.quote-band::before, .quote-band::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--paper); opacity: .6; }
.quote-band::before { top: 10px; } .quote-band::after { bottom: 10px; }
.quote-band blockquote { margin: 0; font-family: var(--f-body); font-weight: 600; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.25; }
.quote-band figcaption { margin-top: 18px; font-family: var(--f-label); font-size: 16px; color: #FBE3D8; }

/* ---------- buy ---------- */
.buy { background: var(--charcoal); padding: clamp(80px, 11vw, 140px) 0; position: relative; overflow: hidden; }
.buy::before { content: ""; position: absolute; right: -180px; top: -120px; width: 620px; height: 620px; background: url("../img/logo.png") center / contain no-repeat; opacity: .06; }
.buy-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; position: relative; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; color: var(--paper); font-family: var(--f-label); font-size: 18px; }
.checks li::before { content: "✓"; color: var(--orange); font-weight: 700; margin-right: 10px; }
.buy-card { background: #232D31; border: 1px solid #36434A; border-radius: 14px; padding: 34px; box-shadow: 0 40px 80px -40px #000; }
.lp-price {
  display: grid; justify-items: center; margin: 0 auto 26px; width: min(300px, 100%);
  background: #F3E9D2; border: 3px solid #111; border-radius: 14px; padding: 12px 16px 10px;
  box-shadow: inset 0 0 0 5px #F3E9D2, inset 0 0 0 6.5px #111, 0 16px 30px -18px #000; position: relative;
}
.lp-price::before, .lp-price::after { content: ""; position: absolute; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 1.5px solid var(--steel-dark); }
.lp-price::before { left: 18px; } .lp-price::after { right: 18px; }
.lp-top, .lp-bot { font-family: var(--f-label); font-weight: 600; font-size: 12px; letter-spacing: .16em; color: var(--charcoal); }
.lp-main { font-family: var(--f-head); font-weight: 700; font-size: 84px; line-height: 1; color: var(--orange); }
.launch { text-align: center; margin-bottom: 22px; }
.launch-label { font-family: var(--f-label); text-transform: uppercase; letter-spacing: .14em; font-size: 14px; color: var(--peach); margin-bottom: 10px; }
.countdown { display: flex; justify-content: center; gap: 10px; }
.countdown div { display: grid; justify-items: center; }
.cd { font-family: var(--f-mono); font-weight: 600; font-size: 30px; color: #fff; background: #0F1416; border-radius: 6px; padding: 6px 10px; min-width: 62px; text-align: center; }
.countdown div:last-child .cd { background: var(--orange); }
.countdown small { font-family: var(--f-label); font-size: 12px; color: #9AA3A8; text-transform: uppercase; letter-spacing: .12em; margin-top: 6px; }
.launch-after { color: var(--paper-soft); font-family: var(--f-label); margin: 10px 0 0; }
.guarantee { color: var(--paper); font-family: var(--f-label); text-align: center; margin: 16px 0 0; }
.fine { color: #9AA3A8; font-family: var(--f-label); font-size: 14px; text-align: center; margin: 14px 0 0; }

.buy-error { color: var(--peach); font-family: var(--f-label); font-size: 15px; text-align: center; margin: 12px 0 0; }

/* ---------- faq ---------- */
.faq details { border-bottom: 1.5px solid var(--paper-soft); padding: 6px 0; }
.faq summary { list-style: none; cursor: pointer; font-family: var(--f-head); font-size: 26px; padding: 18px 50px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 34px; color: var(--orange); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--graphite); padding-right: 40px; animation: rise .4s var(--ease) both; }

/* ---------- footer ---------- */
.foot { background: #12181A; color: var(--paper-soft); padding: 60px 0 90px; border-top: 4px solid var(--orange); }
.foot-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }
.brand-foot { margin-bottom: 12px; }
.foot p { font-size: 16px; }
.foot-link { font-family: var(--f-label); color: var(--peach); }
.foot-small p { font-family: var(--f-label); font-size: 14px; color: #8F989D; }

/* ---------- sticky buy bar ---------- */
.buybar {
  position: fixed; left: 50%; bottom: 16px; z-index: 60; transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 18px; background: rgba(27,35,38,.96); color: var(--paper);
  border: 1px solid #36434A; border-radius: 999px; padding: 8px 8px 8px 24px; box-shadow: 0 20px 40px -18px #000;
  transition: transform .5s var(--ease); font-family: var(--f-label); white-space: nowrap;
}
.buybar.show { transform: translate(-50%, 0); }
.buybar .btn { border-radius: 999px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
.reveal[data-delay="4"] { transition-delay: .48s; }
.reveal[data-delay="5"] { transition-delay: .6s; }
.flip.reveal.in { transform: none; }
.flip.reveal.in.is-flipped { transform: rotateY(180deg); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cards, .chapters { grid-template-columns: repeat(2, 1fr); }
  .vin-sec .wrap, .product-grid, .buy-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 18px; }
  .hero-inner { padding-top: 120px; }
  .hero-shade { background: linear-gradient(0deg, #1B2326 10%, rgba(27,35,38,.75) 60%, rgba(27,35,38,.45) 100%); }
  .hero-media img { object-position: 22% 50%; }
  .numbers { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .odo .drum { width: 38px; height: 54px; }
  .odo .reel span { height: 54px; line-height: 54px; font-size: 32px; }
  .stat-row, .cards, .chapters, .checks { grid-template-columns: 1fr; }
  .grades { grid-template-columns: repeat(2, 1fr); }
  .flip { height: 340px; }
  .vin-plate { flex-wrap: wrap; }
  .vin-plate button { border-bottom: 1.5px solid #9AA1A6; }
  .brand span { display: none; }
  .nav .btn-sm { font-size: 13px; padding: 8px 12px; }
  .buybar { width: calc(100% - 24px); justify-content: space-between; padding-left: 18px; font-size: 15px; }
  .foot-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .pinstripe i { transform: scaleX(1); }
}
