/* Flagship Industries — light showroom */

:root {
  --bg: #f7f3ee;          /* warm paper */
  --bg-2: #efe8df;
  --surface: #ffffff;
  --surface-2: #f3ede5;
  --line: rgba(31, 23, 18, 0.09);
  --line-2: rgba(31, 23, 18, 0.18);

  --text: #1f1712;        /* chocolate */
  --muted: #6f6056;
  --dim: #a09186;
  --copper: #b45c22;      /* AA on white for text & buttons */
  --copper-hi: #d4793a;
  --copper-lo: #8e4517;
  --tan: #cfae84;
  --sand: #ebe1d3;
  --night: #16100c;
  --green: #4f7a34;

  --sans: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --r: 6px;
  --wrap: 1360px;
  --nav-h: 68px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); font-size: 15.5px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--copper-hi); color: #fff; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* ---------- type ---------- */
.display { font-stretch: 125%; font-weight: 800; text-transform: uppercase; line-height: 0.92; letter-spacing: -0.015em; }
.display em { font-style: normal; color: var(--copper); }
h1.display { font-size: clamp(40px, 7vw, 100px); }
h2.display { font-size: clamp(28px, 4.2vw, 56px); }
.eyebrow { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 22px; height: 4px; background: currentColor; transform: skewX(-40deg); }
.lede { color: var(--muted); font-size: 17px; max-width: 52ch; }
.mono { font-family: var(--mono); }
.num { font-stretch: 112%; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.hint { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(247, 243, 238, 0.86); backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; height: var(--nav-h); gap: 28px; }
.logo img { height: 34px; width: auto; }
.nav ul { display: flex; list-style: none; height: 100%; }
.nav ul a { display: flex; align-items: center; height: 100%; padding: 0 14px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); position: relative; transition: color .2s; }
.nav ul a:hover, .nav ul a.on { color: var(--text); }
.nav ul a.on::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; background: var(--copper); transform: skewX(-40deg); }
.nav .right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang { font-family: var(--mono); font-size: 11.5px; color: var(--dim); padding: 0 8px; display: flex; gap: 6px; }
.lang a.on { color: var(--text); font-weight: 700; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); position: relative; }
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn .badge { position: absolute; top: -4px; right: -4px; background: var(--copper); color: #fff; font-size: 10px; font-weight: 800; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.burger { display: none; }
@media (max-width: 1060px) {
  .nav ul { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; height: auto; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav.open ul { display: flex; }
  .nav ul a { padding: 14px 0; height: auto; }
  .nav ul a.on::after { display: none; }
  .burger { display: grid; }
  .nav .right .btn { display: none; }
}

/* ---------- buttons (blade-cut, from the logo) ---------- */
.btn { --cut: 12px; clip-path: polygon(var(--cut) 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%); display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 30px; font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; transition: background .2s, color .2s; white-space: nowrap; }
.btn-primary { background: var(--copper); color: #fff; }
.btn-primary:hover { background: var(--copper-lo); }
.btn-dark { background: var(--text); color: var(--bg); }
.btn-dark:hover { background: #3a2b21; }
.btn-ghost { background: var(--surface-2); color: var(--text); }
.btn-ghost:hover { background: var(--sand); }
.btn-sm { --cut: 9px; height: 38px; padding: 0 22px; font-size: 11.5px; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 2px; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.chip.ev { background: #e8efe0; color: var(--green); }
.chip.phev { background: #f6e5d6; color: var(--copper-lo); }
.chip.erev { background: #efe6da; color: #7a5a3c; }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- studio stage (light) ---------- */
.stage { position: relative; aspect-ratio: 16 / 10; overflow: hidden; display: grid; place-items: end center;
  background: radial-gradient(60% 55% at 50% 0%, #ffffff, transparent 75%), linear-gradient(180deg, #efe8de 0%, #e6dccf 60%, #dcd0bf 60.2%, #e9e1d6 100%); }
.stage svg.car { position: relative; z-index: 1; width: 84%; height: auto; margin-bottom: 8%; filter: drop-shadow(0 14px 14px rgba(60, 38, 22, .22)); }
.stage img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- model cards ---------- */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.mcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: border-color .25s, transform .25s, box-shadow .25s; }
.mcard:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: 0 18px 36px -24px rgba(60, 38, 22, .45); }
.mcard .stage svg.car { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.mcard:hover .stage svg.car { transform: translateX(6px); }
.mcard .cmp { position: absolute; top: 10px; right: 10px; z-index: 3; display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: rgba(255,255,255,.75); backdrop-filter: blur(6px); padding: 5px 8px; border-radius: 2px; cursor: pointer; }
.mcard .cmp input { accent-color: var(--copper); }
.mcard .badge-av { position: absolute; top: 10px; left: 10px; z-index: 3; background: rgba(255,255,255,.8); }
.mcard .badge-av.ev { background: #e8efe0; }
.mcard .body { padding: 16px 18px 0; display: flex; flex-direction: column; gap: 4px; }
.mcard .brand { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.mcard .name { font-stretch: 118%; font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: -0.01em; }
.mcard .specs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 14px 18px 0; border-top: 1px solid var(--line); }
.mcard .specs div { padding: 10px 0; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.mcard .specs div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.mcard .specs b { display: block; font-family: var(--sans); font-stretch: 112%; font-weight: 700; font-size: 19px; color: var(--text); letter-spacing: -0.02em; text-transform: none; }
.mcard .foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; margin-top: auto; border-top: 1px solid var(--line); background: var(--bg); }
.mcard .go { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--copper); letter-spacing: .08em; text-transform: uppercase; }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 340px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: var(--sand) transparent; }
.rail > * { scroll-snap-align: start; }

/* ---------- sections ---------- */
section { padding: 96px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 36px; flex-wrap: wrap; }
.sec-head .left { display: flex; flex-direction: column; gap: 14px; }
.blades { display: inline-flex; gap: 5px; }
.blades i { width: 26px; height: 5px; background: var(--text); transform: skewX(-40deg); }
.blades i:nth-child(2) { background: var(--copper-hi); margin-left: -6px; }
.blades i:nth-child(3) { width: 14px; margin-left: -10px; }

/* ---------- compare tray ---------- */
.tray { position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 160%); z-index: 60; background: var(--night); color: #f4ebe0; border-radius: 6px; padding: 10px 10px 10px 18px; display: flex; align-items: center; gap: 16px; box-shadow: 0 20px 50px -14px rgba(31,23,18,.6); transition: transform .35s cubic-bezier(.2,.8,.2,1); max-width: calc(100vw - 24px); }
.tray.show { transform: translate(-50%, 0); }
.tray .slots { display: flex; gap: 6px; overflow: hidden; }
.tray .slot { font-size: 12px; font-weight: 700; text-transform: uppercase; background: #2a1f18; padding: 8px 10px; border-radius: 3px; white-space: nowrap; display: flex; gap: 8px; align-items: center; }
.tray .slot button { color: var(--dim); }
.tray .slot.empty { background: transparent; border: 1px dashed #4a3a2f; color: #8d7765; font-weight: 500; }
.tray .btn { height: 40px; }
body.has-buildbar .tray { bottom: 100px; }

/* ---------- footer ---------- */
footer { background: var(--night); color: #a8968a; padding: 64px 0 28px; font-size: 14px; }
footer .cols { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
footer h4 { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: #f4ebe0; margin-bottom: 14px; font-weight: 500; }
footer li { list-style: none; margin-bottom: 8px; }
footer a:hover { color: var(--copper-hi); }
footer .logo img { height: 46px; margin-bottom: 18px; }
footer .base { margin-top: 56px; padding-top: 20px; border-top: 1px solid rgba(255,228,200,.1); display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { footer .cols { grid-template-columns: 1fr 1fr; } }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { background: var(--surface); border: 1px solid var(--line-2); border-radius: 3px; padding: 13px 14px; outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--copper); }
.form-msg { font-size: 14px; padding: 12px 14px; border-radius: 3px; display: none; }
.form-msg.ok { display: block; background: #e8efe0; color: var(--green); }
.form-msg.err { display: block; background: #f8e3dc; color: #9b3a1c; }
.hp { position: absolute; left: -9999px; }

.fade-in { animation: fade .5s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* =========================================================
   Pages
   ========================================================= */

/* ---------- home: showroom hero ---------- */
.hero { position: relative; min-height: calc(100vh - var(--nav-h)); min-height: calc(100svh - var(--nav-h)); display: flex; flex-direction: column; overflow: hidden;
  background: radial-gradient(50% 60% at 50% 15%, #ffffff, transparent 72%), linear-gradient(180deg, #efe7dc 0%, #e7ddd0 63%, #dbcfbe 63.2%, #e8e0d4 100%); }
.hero .wrap { width: 100%; }
.hero .ghost { position: absolute; top: 10%; left: 50%; transform: translateX(-50%); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 21vw; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(31,23,18,.07); white-space: nowrap; pointer-events: none; }
.hero .car-slot { position: absolute; left: 50%; top: 67%; transform: translate(-50%, -78%); width: min(1040px, 86vw); z-index: 1; }
.hero .car-slot svg.car { width: 100%; height: auto; filter: drop-shadow(0 26px 22px rgba(60,38,22,.25)); }
.hero .car-slot.swap { animation: drive .7s cubic-bezier(.2,.8,.2,1); }
@keyframes drive { from { transform: translate(-30%, -78%); opacity: 0; } to { transform: translate(-50%, -78%); opacity: 1; } }
.hero .top { position: relative; z-index: 2; padding-top: 36px; display: flex; justify-content: space-between; gap: 24px; }
.hero .title .brand { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: var(--copper); text-transform: uppercase; }
.hero .title h1 { font-size: clamp(40px, 6vw, 92px); margin-top: 8px; }
.hero .title .tag { color: var(--muted); margin-top: 10px; font-size: 15px; }
.hero .pricebox { text-align: right; }
.hero .pricebox .from { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.hero .pricebox .btns { display: flex; gap: 8px; margin-top: 14px; justify-content: flex-end; }
.hero .bottom { position: relative; z-index: 2; margin-top: auto; padding-bottom: 28px; display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: end; }
.hero .stats { display: flex; }
.hero .stats div { padding-right: 32px; margin-right: 32px; border-right: 1px solid var(--line-2); }
.hero .stats div:last-child { border: 0; margin: 0; padding: 0; }
.hero .stats b { display: block; font-size: 46px; line-height: 1; }
.hero .stats span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.picker { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.picker button { text-align: left; padding: 10px 12px 12px; background: rgba(255,255,255,.6); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 4px; position: relative; overflow: hidden; }
.picker .b { font-family: var(--mono); font-size: 9.5px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; display: block; }
.picker .n { font-stretch: 115%; font-weight: 800; font-size: 14px; text-transform: uppercase; display: block; }
.picker button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--copper); }
.picker button.on { background: var(--surface); border-color: var(--line-2); }
.picker button.on::after { animation: prog 6s linear forwards; }
@keyframes prog { to { width: 100%; } }
@media (max-width: 1000px) { .hero .bottom { grid-template-columns: 1fr; } .picker { grid-template-columns: repeat(3, 1fr); } .hero .top { flex-direction: column; } .hero .pricebox { text-align: left; } .hero .pricebox .btns { justify-content: flex-start; } .hero .car-slot { top: 64%; } }
@media (max-width: 600px) { .hero .stats b { font-size: 32px; } .hero .stats div { padding-right: 16px; margin-right: 16px; } .hero { min-height: 760px; } }

.brandbar { border-bottom: 1px solid var(--line); background: var(--surface); }
.brandbar .wrap { display: grid; grid-template-columns: repeat(7, 1fr); }
.brandbar a { padding: 22px 16px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; transition: background .2s; }
.brandbar a:nth-child(7n) { border-right: 0; }
.brandbar a:nth-child(-n+7) { border-bottom: 1px solid var(--line); }
.brandbar a:hover { background: var(--bg); }
.brandbar a:hover .bn { color: var(--copper); }
.brandbar .bn { font-stretch: 125%; font-weight: 900; font-size: 16px; text-transform: uppercase; letter-spacing: .02em; transition: color .2s; }
.brandbar .bc { font-family: var(--mono); font-size: 10px; color: var(--dim); letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 900px) { .brandbar .wrap { grid-template-columns: repeat(2, 1fr); } .brandbar a { border-bottom: 1px solid var(--line); } .brandbar a:nth-child(2n) { border-right: 0; } }

.bodies { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.bodies a { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 14px 16px; transition: border-color .2s, box-shadow .2s; }
.bodies a:hover { border-color: var(--copper); box-shadow: 0 10px 24px -18px rgba(60,38,22,.5); }
.bodies svg.car { width: 100%; height: auto; margin: 6px 0 10px; }
.bodies .t { font-stretch: 118%; font-weight: 800; text-transform: uppercase; font-size: 14px; }
.bodies .c { font-family: var(--mono); font-size: 10px; color: var(--muted); }
@media (max-width: 1000px) { .bodies { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .bodies { grid-template-columns: repeat(2, 1fr); } }

.boards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.board { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.board h3 { font-stretch: 120%; font-weight: 800; text-transform: uppercase; font-size: 18px; display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.board h3 span { font-family: var(--mono); font-weight: 400; font-size: 10.5px; color: var(--muted); letter-spacing: .1em; }
.board ol { list-style: none; }
.board li a { display: grid; grid-template-columns: 26px 1fr auto; gap: 4px 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.board li a:hover .nm { color: var(--copper); }
.board .rk { font-family: var(--mono); font-size: 11px; color: var(--dim); }
.board li:first-child .rk { color: var(--copper); font-weight: 700; }
.board .nm { font-weight: 700; font-size: 14px; transition: color .2s; }
.board .nm small { display: block; font-family: var(--mono); font-weight: 400; font-size: 10px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.board .val { font-stretch: 112%; font-weight: 800; font-size: 20px; font-variant-numeric: tabular-nums; }
.board .bar { grid-column: 2 / 4; height: 3px; background: var(--surface-2); border-radius: 2px; overflow: hidden; }
.board .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--copper-lo), var(--copper-hi)); }
@media (max-width: 1000px) { .boards { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.3fr 1fr; min-height: 540px; }
.split .vis { position: relative; background: radial-gradient(60% 60% at 50% 20%, #fff, transparent 70%), linear-gradient(180deg, #ece4d8, #ddd1c0); display: grid; place-items: center; overflow: hidden; }
.split .vis svg.car { width: 88%; height: auto; filter: drop-shadow(0 22px 20px rgba(60,38,22,.25)); }
.split .vis .lbl { position: absolute; top: 24px; left: 28px; font-stretch: 125%; font-weight: 900; font-size: 120px; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(31,23,18,.08); }
.split .txt { padding: 72px 56px; display: flex; flex-direction: column; justify-content: center; gap: 20px; background: var(--surface); }
.split .txt ul { list-style: none; }
.split .txt li a { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.split .txt li a:hover { color: var(--copper); }
.split .txt li span:last-child { font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--muted); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split .vis { min-height: 300px; } .split .txt { padding: 40px 20px; } }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.trust div { padding: 32px 24px 0 0; }
.trust b { font-stretch: 118%; font-weight: 800; text-transform: uppercase; display: block; margin-bottom: 6px; }
.trust p { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr 1fr; } }

/* ---------- catalog ---------- */
.cat-head { padding: 48px 0 28px; }
.cat-head .wrap { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.cat-head h1 { font-size: clamp(40px, 6vw, 84px); }
.view { display: flex; border: 1px solid var(--line-2); border-radius: 3px; overflow: hidden; background: var(--surface); }
.view a { height: 40px; padding: 0 16px; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.view a.on { background: var(--text); color: var(--bg); }
.brandchips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.brandchips a { flex: none; height: 44px; padding: 0 16px; border: 1px solid var(--line); background: var(--surface); border-radius: 3px; font-stretch: 122%; font-weight: 800; text-transform: uppercase; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; transition: all .2s; }
.brandchips a span { font-family: var(--mono); font-weight: 400; font-size: 10px; color: var(--dim); }
.brandchips a:hover { color: var(--text); border-color: var(--line-2); }
.brandchips a.on { background: var(--copper); border-color: var(--copper); color: #fff; }
.brandchips a.on span { color: #f6d9c3; }
.fbar { position: sticky; top: var(--nav-h); z-index: 30; background: rgba(247,243,238,.94); backdrop-filter: blur(14px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 20px; }
.fbar .wrap { display: flex; align-items: stretch; min-height: 66px; overflow-x: auto; scrollbar-width: none; }
.fbar .grp { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 8px 16px; border-right: 1px solid var(--line); flex: none; }
.fbar .grp:first-child { padding-left: 0; }
.fbar .l { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; color: var(--dim); text-transform: uppercase; display: flex; justify-content: space-between; gap: 12px; }
.fbar .l b { color: var(--copper); font-weight: 700; }
.seg { display: flex; gap: 2px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; height: 26px; line-height: 26px; padding: 0 7px; border-radius: 2px; font-size: 12px; font-weight: 700; color: var(--muted); }
.seg span:hover { color: var(--text); }
.seg input:checked + span { background: var(--surface); color: var(--text); box-shadow: inset 0 -3px 0 var(--copper), 0 1px 2px rgba(0,0,0,.06); }
.seg input:focus-visible + span { outline: 2px solid var(--copper); }
.fbar input[type=range] { width: 120px; accent-color: var(--copper); }
.fbar select { background: transparent; border: 0; font-weight: 700; font-size: 13px; outline: none; }
.toggle { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; cursor: pointer; }
.toggle input { accent-color: var(--copper); width: 16px; height: 16px; }
.fbar noscript .btn, .fbar .apply { margin: auto 0 auto 16px; }
.results { padding-top: 24px; padding-bottom: 120px; }
.meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 16px; flex-wrap: wrap; }
.meta .count { font-stretch: 118%; font-weight: 800; text-transform: uppercase; font-size: 18px; }
.meta .reset { font-family: var(--mono); font-size: 11px; color: var(--copper); text-transform: uppercase; letter-spacing: .08em; margin-left: 14px; }
.meta .api { font-family: var(--mono); font-size: 10.5px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; }
.meta .api b { color: var(--green); font-weight: 500; }
.tablewrap { overflow-x: auto; }
table.list { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
table.list th { text-align: left; font-family: var(--mono); font-size: 9.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); padding: 12px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
table.list th a:hover { color: var(--text); }
table.list th.r, table.list td.r { text-align: right; }
table.list td { padding: 6px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.list tr:hover td { background: var(--bg); }
table.list .thumb { width: 130px; }
table.list .thumb svg.car { width: 120px; height: auto; }
table.list .nm a { font-stretch: 118%; font-weight: 800; text-transform: uppercase; font-size: 15px; }
table.list .nm small { display: block; font-family: var(--mono); font-weight: 400; font-size: 10px; color: var(--muted); letter-spacing: .1em; }
table.list .v { font-stretch: 112%; font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.list .best { color: var(--copper); }
table.list input { accent-color: var(--copper); width: 16px; height: 16px; }
.empty { padding: 100px 0; text-align: center; color: var(--muted); }
.empty a { color: var(--copper); font-weight: 700; }

/* ---------- model ---------- */
body.has-buildbar { padding-bottom: 84px; }
.studio { position: relative; height: min(76vh, 740px); min-height: 560px; overflow: hidden;
  background: radial-gradient(45% 55% at 50% 12%, #ffffff, transparent 72%), linear-gradient(180deg, #efe7dc 0%, #e6dccf 64%, #dacdbb 64.2%, #e8e0d4 100%); }
.studio .ghost { position: absolute; top: 13%; left: 50%; transform: translateX(-50%); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 19vw; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(31,23,18,.07); white-space: nowrap; }
.studio .car-slot { position: absolute; left: 50%; top: 66%; transform: translate(-50%, -80%); width: min(960px, 82vw); }
.studio .car-slot svg.car { width: 100%; height: auto; filter: drop-shadow(0 26px 22px rgba(60,38,22,.25)); }
.studio .ov { position: absolute; inset: 0; pointer-events: none; }
.studio .ov .wrap { height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; }
.studio .ov a, .studio .ov button { pointer-events: auto; }
.crumbs { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .06em; }
.crumbs a:hover { color: var(--copper); }
.studio h1 { font-size: clamp(44px, 7vw, 100px); margin-top: 10px; }
.studio .sub { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.studio .sub .chip { background: rgba(255,255,255,.7); }
.studio .low { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.views { display: flex; gap: 4px; }
.views button { height: 34px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 2px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: rgba(255,255,255,.55); }
.views button.on { color: var(--text); border-color: var(--copper); background: #fff; }
.views button[disabled] { opacity: .5; cursor: not-allowed; }
.paint { text-align: right; }
.paint .lbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; margin-bottom: 10px; }
.paint .lbl b { color: var(--text); font-weight: 700; }
.sw { display: flex; gap: 8px; justify-content: flex-end; }
.sw button { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line-2), 0 2px 6px rgba(0,0,0,.12); transition: transform .2s, box-shadow .2s; }
.sw button:hover { transform: scale(1.1); }
.sw button[aria-pressed=true] { box-shadow: 0 0 0 2px var(--copper); }
.perf { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border-bottom: 1px solid var(--line); }
.perf > div { padding: 32px 28px; border-right: 1px solid var(--line); display: flex; gap: 18px; align-items: center; }
.perf > div:last-child { border-right: 0; }
.gauge { width: 80px; height: 80px; flex: none; }
.gauge .track { fill: none; stroke: var(--surface-2); stroke-width: 6; }
.gauge .val { fill: none; stroke: var(--copper-hi); stroke-width: 6; stroke-linecap: round; transition: stroke-dashoffset 1s cubic-bezier(.2,.8,.2,1); }
.perf b { display: block; font-size: 42px; line-height: 1; }
.perf span { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.perf small { display: block; font-size: 11.5px; color: var(--dim); margin-top: 6px; font-family: var(--mono); }
@media (max-width: 1000px) { .perf { grid-template-columns: 1fr 1fr; } .perf > div { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .perf { grid-template-columns: 1fr; } }
.trims { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.trim { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; text-align: left; display: flex; flex-direction: column; gap: 16px; transition: border-color .2s, box-shadow .2s; position: relative; }
.trim:hover { border-color: var(--line-2); }
.trim[aria-pressed=true] { border-color: var(--copper); box-shadow: 0 0 0 1px var(--copper), 0 16px 30px -22px rgba(180,92,34,.6); }
.trim .sel { position: absolute; top: 16px; right: 16px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; color: var(--copper); text-transform: uppercase; display: none; }
.trim[aria-pressed=true] .sel { display: block; }
.trim h3 { font-stretch: 120%; font-weight: 800; text-transform: uppercase; font-size: 19px; line-height: 1.05; padding-right: 70px; }
.trim .rows { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.trim .rows div { font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; color: var(--dim); text-transform: uppercase; }
.trim .rows b { display: block; font-family: var(--sans); font-stretch: 112%; font-weight: 700; font-size: 20px; color: var(--text); letter-spacing: -0.02em; text-transform: none; }
.trim .pr { border-top: 1px solid var(--line); padding-top: 14px; font-stretch: 112%; font-weight: 800; font-size: 22px; display: flex; justify-content: space-between; align-items: baseline; }
.trim .pr small { font-family: var(--mono); font-weight: 400; font-size: 10.5px; color: var(--muted); }
.specgrid { columns: 2; column-gap: 40px; }
.sg { break-inside: avoid; margin-bottom: 28px; }
.sg h3 { font-stretch: 120%; font-weight: 800; text-transform: uppercase; font-size: 15px; padding-bottom: 10px; border-bottom: 3px solid var(--copper-hi); }
.sg table { width: 100%; border-collapse: collapse; }
.sg td { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.sg td:first-child { color: var(--muted); }
.sg td:first-child small { font-size: 11px; color: var(--dim); margin-left: 6px; }
.sg td:last-child { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .specgrid { columns: 1; } }
.buildbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: rgba(255,255,255,.94); backdrop-filter: blur(16px); border-top: 1px solid var(--line-2); box-shadow: 0 -10px 30px -20px rgba(31,23,18,.35); }
.buildbar .wrap { display: flex; align-items: center; gap: 24px; height: 84px; }
.buildbar .car-mini svg.car { width: 110px; height: auto; }
.buildbar .what { display: flex; flex-direction: column; min-width: 0; }
.buildbar .what b { font-stretch: 118%; font-weight: 800; text-transform: uppercase; font-size: 15px; }
.buildbar .what span { font-family: var(--mono); font-size: 10.5px; color: var(--muted); letter-spacing: .06em; }
.buildbar .money { margin-left: auto; text-align: right; }
.buildbar .money b { font-stretch: 112%; font-weight: 800; font-size: 26px; display: block; line-height: 1; }
.buildbar .money span { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.buildbar .btns { display: flex; gap: 8px; }
@media (max-width: 800px) { .buildbar .car-mini, .buildbar .what, .buildbar .btns .btn-ghost { display: none; } .buildbar .wrap { gap: 12px; } .buildbar .money b { font-size: 20px; } }
.quote { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 48px; }
.quote form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; }
.quote .full { grid-column: span 2; }
@media (max-width: 900px) { .quote { grid-template-columns: 1fr; padding: 24px; gap: 28px; } }

/* ---------- brands ---------- */
.page-head { padding: 56px 0 36px; }
.page-head h1 { font-size: clamp(44px, 7vw, 100px); margin-top: 14px; }
.bgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding-bottom: 96px; }
.btile { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); min-height: 290px; display: flex; flex-direction: column; justify-content: space-between; padding: 26px 28px;
  background: radial-gradient(60% 70% at 75% 25%, #fff, transparent 72%), linear-gradient(180deg, #f1ebe2 0%, #e8dfd2 72%, #ddd2c2 72.2%); transition: border-color .25s, box-shadow .25s; }
.btile:hover { border-color: var(--copper); box-shadow: 0 20px 40px -28px rgba(60,38,22,.5); }
.btile:hover svg.car { transform: translateX(-12px); }
.btile svg.car { position: absolute; right: -4%; bottom: 16%; width: 54%; height: auto; transition: transform .6s cubic-bezier(.2,.8,.2,1); filter: drop-shadow(0 14px 14px rgba(60,38,22,.22)); }
.btile .n { font-stretch: 125%; font-weight: 900; font-size: 42px; text-transform: uppercase; line-height: .9; position: relative; }
.btile .o { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: var(--copper); text-transform: uppercase; margin-top: 8px; }
.btile .st { display: flex; gap: 24px; position: relative; flex-wrap: wrap; }
.btile .st b { display: block; font-stretch: 112%; font-weight: 800; font-size: 19px; }
.btile .st span { font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.btile.byd { background: var(--night); color: #f4ebe0; }
.btile.byd .o { color: var(--copper-hi); }
.btile.byd .st span { color: #a8968a; }
@media (max-width: 900px) { .bgrid { grid-template-columns: 1fr; } .btile svg.car { width: 70%; opacity: .45; } }
.bhero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background: radial-gradient(40% 60% at 72% 25%, #fff, transparent 72%), linear-gradient(180deg, #efe7dc 0%, #e6dccf 70%, #dacdbb 70.2%, #e8e0d4 100%); }
.bhero .wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; min-height: 540px; align-items: center; }
.bhero h1 { font-size: clamp(52px, 9vw, 136px); margin-top: 18px; }
.bhero .origin { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--copper); text-transform: uppercase; margin-top: 14px; }
.bhero .facts { display: flex; gap: 32px; margin-top: 36px; flex-wrap: wrap; }
.bhero .facts b { display: block; font-size: 34px; line-height: 1; }
.bhero .facts span { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.bhero .hero-car { position: relative; }
.bhero .hero-car svg.car { width: 100%; height: auto; filter: drop-shadow(0 26px 22px rgba(60,38,22,.25)); }
.bhero .hero-car .cap { position: absolute; z-index: 2; right: 0; top: -40px; text-align: right; }
.bhero .hero-car .cap span { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.bhero .hero-car .cap a { display: block; font-stretch: 120%; font-weight: 800; text-transform: uppercase; font-size: 20px; }
.bhero .hero-car .cap a:hover { color: var(--copper); }
@media (max-width: 900px) { .bhero .wrap { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 40px; } }
.tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 28px; overflow-x: auto; }
.tabs a { padding: 14px 20px; font-stretch: 118%; font-weight: 800; font-size: 13px; text-transform: uppercase; color: var(--muted); position: relative; white-space: nowrap; }
.tabs a span { font-family: var(--mono); font-weight: 400; font-size: 10px; color: var(--dim); margin-left: 6px; }
.tabs a.on { color: var(--text); }
.tabs a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--copper); }
.others { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.others a { padding: 16px; border: 1px solid var(--line); background: var(--surface); border-radius: 3px; font-stretch: 122%; font-weight: 800; text-transform: uppercase; font-size: 13px; transition: all .2s; }
.others a:hover { border-color: var(--copper); color: var(--copper); }
@media (max-width: 900px) { .others { grid-template-columns: repeat(2, 1fr); } }

/* ---------- compare ---------- */
.cmp-grid { display: grid; grid-template-columns: 200px repeat(var(--n), 1fr); }
.cmp-grid > div { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.cmp-grid .lab { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; padding-left: 0; }
.cmp-grid .car { padding: 0 8px 18px; border-bottom: 0; }
.cmp-grid .car .stage { border-radius: var(--r); }
.cmp-grid .car .nm { margin-top: 14px; }
.cmp-grid .car .nm small { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.cmp-grid .car .nm b { font-stretch: 120%; font-weight: 800; text-transform: uppercase; font-size: 24px; display: block; }
.cmp-grid .car .nm a { font-family: var(--mono); font-size: 10.5px; font-weight: 700; color: var(--copper); letter-spacing: .1em; text-transform: uppercase; }
.cmp-grid .v { font-stretch: 112%; font-weight: 700; font-size: 22px; font-variant-numeric: tabular-nums; display: flex; flex-direction: column; gap: 8px; }
.cmp-grid .v .bar { height: 4px; background: var(--surface-2); border-radius: 2px; overflow: hidden; }
.cmp-grid .v .bar i { display: block; height: 100%; background: var(--dim); }
.cmp-grid .v.win { color: var(--copper); }
.cmp-grid .v.win .bar i { background: linear-gradient(90deg, var(--copper-lo), var(--copper-hi)); }
.cmp-grid .v .w { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; font-weight: 700; }
.cmp-grid .sec { grid-column: 1 / -1; font-stretch: 120%; font-weight: 800; text-transform: uppercase; font-size: 14px; padding: 36px 0 10px; border-bottom: 3px solid var(--copper-hi); }
.verdict { margin: 56px 0 96px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.verdict b { font-stretch: 120%; font-weight: 800; text-transform: uppercase; font-size: 18px; display: block; margin: 8px 0 4px; }
.verdict p { color: var(--muted); font-size: 14px; }
@media (max-width: 800px) { .cmp-grid { grid-template-columns: 90px repeat(var(--n), 1fr); } .cmp-grid > div { padding: 10px 6px; } .cmp-grid .v { font-size: 16px; } .cmp-grid .car .nm b { font-size: 16px; } .verdict { grid-template-columns: 1fr; } }

/* ---------- error ---------- */
.err { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.err .code { font-stretch: 125%; font-weight: 900; font-size: clamp(120px, 24vw, 300px); line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--copper-hi); }
.err h1 { margin: 20px 0 10px; }
.err .lede { margin: 0 auto 28px; }

/* ---------- small screens ---------- */
@media (max-width: 700px) {
  .hero { min-height: 0; }
  .hero .car-slot { position: relative; left: auto; top: auto; transform: none; width: 100%; margin: 8px 0 -8px; order: 2; }
  .hero .car-slot.swap { animation: none; }
  .hero .top { order: 1; }
  .hero .bottom { order: 3; margin-top: 0; padding-top: 12px; }
  .hero .ghost { top: 4%; font-size: 30vw; }
  .hero .title h1 { font-size: 48px; }
  .hero .pricebox .p { font-size: 32px; }
  .hero .stats span { font-size: 9px; }
  .picker { grid-template-columns: repeat(5, minmax(110px, 1fr)); overflow-x: auto; }
  .tray { left: 12px; right: 12px; transform: translateY(160%); padding: 8px 8px 8px 14px; justify-content: space-between; }
  .tray.show { transform: none; }
  .tray .slots { display: none; }
  body.has-buildbar .tray { bottom: 96px; }
  .studio { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .studio .ov { position: relative; inset: auto; order: 1; }
  .studio .ov .wrap { padding-bottom: 12px; }
  .studio .low { position: relative; margin-top: 52vw; }
  .studio .car-slot { position: absolute; top: 150px; left: 50%; transform: translateX(-50%); width: 92vw; }
  .studio .ghost { font-size: 30vw; top: 90px; }
  .views { display: none; }
  .paint { text-align: left; }
  .sw { justify-content: flex-start; }
  .studio h1 { font-size: 46px; }
  .buildbar .money span { display: none; }
  .bhero h1 { font-size: 56px; }
  section { padding: 64px 0; }
}

/* ---------- quote buttons + modal (prices are never shown; quotes go by email) ---------- */
.quote-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--copper); cursor: pointer; padding: 0; }
.quote-btn::before { content: ""; width: 14px; height: 4px; background: currentColor; transform: skewX(-40deg); }
.quote-btn:hover { color: var(--copper-lo); }
.mcard .foot .go { color: var(--muted); }
.mcard .foot .go:hover { color: var(--text); }
.trim .pr .quote-btn { font-size: 11.5px; }
.qmodal { margin: auto; border: 0; padding: 0; width: min(520px, calc(100vw - 24px)); border-radius: var(--r); background: var(--surface); color: var(--text); box-shadow: 0 40px 80px -30px rgba(31,23,18,.6); }
.qmodal::backdrop { background: rgba(22,16,12,.55); backdrop-filter: blur(4px); }
.qmodal[open] { animation: fade .25s ease both; }
.qmodal form { padding: 36px 32px 30px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.qmodal h2 { font-size: clamp(20px, 5.4vw, 26px); font-stretch: 112%; overflow-wrap: anywhere; padding-right: 28px; }
.qmodal .lede { font-size: 15px; }
.qm-close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; font-size: 24px; color: var(--muted); }
.qm-sel { background: var(--bg); border-left: 4px solid var(--copper-hi); padding: 10px 14px; font-size: 14px; }
.qm-sel span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.qm-sel b { font-stretch: 115%; text-transform: uppercase; }
.qm-sel b:empty::after { content: "—"; }
