/* VIMETAL Race Trailers: site-wide v2 ("premium custom race builder").
   Loaded on every page right after site.css. Same tokens as the homepage (home-v2.css). */
:root {
  --bg: #0e0d0b; --bg-2: #161512; --panel: #1c1a17; --line: rgba(243,239,231,.12); --line-2: rgba(243,239,231,.22);
  --ink: #f3efe7; --muted: #aaa396; --dim: #8b8579;
  --accent: #e2561b; --accent-2: #f06a2f; --accent-ink: #160700;
  --accent-soft: rgba(226,86,27,.1); --accent-ring: rgba(226,86,27,.28);
  --sand: #ebe4d6; --sand-ink: #1a1814; --sand-muted: #5b554a; --sand-accent: #a8400f;
  --radius: 2px;
  --plate: none;
}
body { background: var(--bg); }
::selection { background: var(--accent); color: #fff; }

/* Type: upright and calmer everywhere */
.display { font-style: normal; font-weight: 700; letter-spacing: .01em; line-height: .95; }
h1.display { font-size: clamp(2.7rem, 6.5vw, 5.5rem); }
h2.display { font-size: clamp(2.2rem, 4.8vw, 4rem); }
.kicker { font: 600 .74rem/1.2 var(--font-body); letter-spacing: .24em; color: var(--muted); }
.kicker::before { width: 24px; height: 2px; transform: none; background: var(--accent); }
.brand span, .feat-list .num, .model-card .cap, .keyfacts b, .cap-switch a, .step legend, .step h2, .choice label b,
.range-row output, .cmp thead b, .video-card span, .card .big, .prose h2, .qb-bar b, .thanks .display, .faq summary .q,
.fam-card::before, .model-stage .bigcap, .ticker-track { font-style: normal; }
.feat-list .num, .model-card .cap, .keyfacts b, .cap-switch a, .step legend, .step h2, .choice label b,
.range-row output, .cmp thead b, .video-card span, .card .big, .prose h2 { font-weight: 700; }
.prose p, .prose li { color: #d6d0c4; }

/* Buttons and links */
.btn { clip-path: none; font-style: normal; font-weight: 700; letter-spacing: .14em; border-radius: var(--radius); min-height: 52px; padding: 0 28px; }
.btn-sm { min-height: 42px; padding: 0 18px; }
.btn-primary:hover { background: var(--accent-2); transform: none; }
.btn-ghost { border-color: var(--line-2); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.link-arrow { color: var(--ink); border-bottom: 1px solid var(--accent); padding-bottom: 4px; }
.step legend .n, .step h2 .n { clip-path: none; border-radius: var(--radius); color: #fff; }

/* Header and footer */
.nav > a { font-weight: 600; letter-spacing: .14em; }
.nav > a[aria-current]::after { transform: none; height: 2px; }
.ftr-cta { background: var(--bg-2); border-top: 1px solid var(--line); }
body.scrolled #site-header, body.nav-open #site-header, body.solid-header #site-header { background: rgba(14,13,11,.94); }

/* Inner page hero: quiet, editorial */
.page-hero { padding: 168px 0 64px; background: var(--bg); border-bottom: 1px solid var(--line); position: relative; }
.page-hero::after { content: ""; position: absolute; left: max(16px, calc((100% - var(--wrap)) / 2)); bottom: -1px; width: 64px; height: 2px; background: var(--accent); }
.page-hero p { color: var(--muted); }
.crumbs { font: 600 .72rem/1.2 var(--font-body); letter-spacing: .22em; color: var(--dim); margin-bottom: 20px; }
.crumbs a:hover { color: var(--ink); }

/* Surfaces */
.sec { padding: clamp(72px, 10vw, 128px) 0; }
.plate { background-color: var(--bg-2); background-image: none; }
.frame::after { width: 64px; height: 3px; }
.card, .model-card, .fam-card, .step, .info-card, .form-shell, .opt-grid li, .banner { border-radius: var(--radius); }
.card .big { color: var(--ink); }
.card { border-top: 2px solid var(--accent); }
.banner { border-left-width: 2px; }
.model-card:hover, .fam-card:hover { transform: none; border-color: var(--line-2); }
.model-card .cap small { letter-spacing: .08em; }
.model-stage { background: radial-gradient(ellipse at 50% 70%, #3a3630 0%, #1c1a17 70%); }
.cap-switch a[aria-current] { color: #fff; }
.keyfacts div { background: var(--bg); }
.chip { border-radius: var(--radius); }
.tabs button { font-style: normal; }
.tabs button[aria-selected="true"] { border-bottom-width: 2px; }

/* Configurator and forms */
.choice input:checked + label { background: var(--accent-soft); }
.summary { background: var(--accent-soft); }
.prefill-note { background: var(--accent-soft); }
select:focus, input:focus, textarea:focus { box-shadow: 0 0 0 3px var(--accent-ring); }
.cmp tr.diff td { background: rgba(226,86,27,.06); }
.form-progress span.on { border-color: var(--accent); }

/* Gallery, videos, FAQ */
.masonry img { filter: none; }
.video-card span::before { color: #fff; }
.faq summary { font-style: normal; }
.faq summary .q { font-weight: 700; }

/* Hotspots (model pages) */
.hotspot { background: var(--accent); color: #fff; box-shadow: 0 0 0 6px rgba(226,86,27,.2); animation: none; }
.hotspot-tip { background: var(--sand-ink); border: 0; border-top: 3px solid var(--accent); }
.hotspot-tip b { color: #fff; }

/* Quote bar (mobile) */
.qb-bar b { color: var(--ink); }
/* Design-critique fixes (2026-12-04) */
/* 1. Phone: one bottom bar, Start your build + WhatsApp, instead of two floating buttons over the text */
@media (max-width: 640px) {
  body:not(.no-sticky) .sticky-quote { left: 0; right: 56px; bottom: 0; min-height: 56px; border-radius: 0; box-shadow: none; transform: none; padding-bottom: env(safe-area-inset-bottom); }
  body:not(.no-sticky) .wa-float, body.scrolled:not(.no-sticky):not(.quote-page) .wa-float { left: auto; right: 0; bottom: 0; width: 56px; height: calc(56px + env(safe-area-inset-bottom)); border-radius: 0; box-shadow: none; }
  body:not(.no-sticky) { padding-bottom: 56px; }
  .kicker { font-size: .78rem; letter-spacing: .18em; }
  .crumbs { letter-spacing: .12em; }
}
/* 3. Tap targets of at least 44px */
.link-arrow, .crumbs a { position: relative; }
.link-arrow::before, .crumbs a::before { content: ""; position: absolute; inset: -12px -6px; }
.v2-caps a, .cap-switch a { min-height: 44px; display: inline-flex; align-items: center; }
/* 4. Teams section over a Baja racing photo */
#teams { background: linear-gradient(180deg, rgba(14,13,11,.94) 0%, rgba(14,13,11,.8) 45%, rgba(14,13,11,.95) 100%), url("https://static.wixstatic.com/media/125281_1f9cec6d625c448fab2c15334731afa4~mv2.png/v1/fill/w_1800,h_1000,q_75/img.png") center / cover no-repeat; }
/* 5. Model page: watermark fully inside the image box */
.model-stage .bigcap { left: 20px; bottom: 16px; font-size: clamp(3rem, 7vw, 5.5rem); line-height: .85; color: rgba(243,239,231,.06); }
