/* Confab Performance & Machine / T.R.F. Motorsports — styles */
:root {
  --bg: #f1ebdf;
  --bg-2: #e8e0d0;
  --panel: #faf6ee;
  --panel-2: #f4eee3;
  --line: #d8cdb9;
  --line-2: #c3b69f;
  --text: #221f1b;
  --muted: #5d564c;
  --dim: #82796c;
  --ink: #1e1c1a;
  --ink-2: #2a2724;
  --red: #8e2a22;
  --red-hot: #a8352b;
  --red-deep: #6e1f19;
  --gold: #c9963f;
  --accent: var(--red);
  --field: #fffdf8;
  --display: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 3px;
  --nav-h: 78px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* Dark bands: header, hero, page tops, quote band and footer */
.nav, .drawer, .hero, .page-hero, .quote-band, .footer, .lightbox {
  --text: #f3ede1;
  --muted: #c9bfad;
  --dim: #9a907f;
  --line: rgba(243, 237, 225, .14);
  --line-2: rgba(243, 237, 225, .28);
  --panel: var(--ink-2);
  --accent: var(--gold);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
html.menu-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0 0 .45em;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(2.7rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
::selection { background: var(--red); color: #fff; }

.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.section { padding: clamp(80px, 11vw, 132px) 0; position: relative; }
.section.tight { padding-top: 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 8px 14px; border-radius: var(--radius); z-index: 200; }
.skip:focus { left: 8px; }

.red { color: var(--accent); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 700 .8rem var(--body); letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.1em;
}
.eyebrow::before { content: ""; width: 26px; height: 0; border-top: 3px double currentColor; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 640px; }
.sub { color: var(--muted); font-size: 1.08rem; max-width: 620px; }
.center .sub { margin-left: auto; margin-right: auto; }
.fine { color: var(--dim); font-size: .92rem; }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.sec-head h2 { margin-bottom: .2em; }
.sec-head .sub { margin: 0; }

.checker-rule { height: 7px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 .92rem var(--body); letter-spacing: .14em; text-transform: uppercase; line-height: 1;
  padding: 17px 26px; border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap; color: var(--text); background: none;
  transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s;
}
.btn svg { transition: transform .2s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hot); }
.btn-line { border-color: var(--line-2); }
.btn-line:hover { border-color: var(--text); }
.btn-sm { padding: 11px 18px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font: 700 .92rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--text);
  border-bottom: 2px solid var(--accent); padding-bottom: 4px;
}
.text-link:hover { color: var(--accent); }

/* =========================================================
   HEADER
   ========================================================= */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 80; transition: background .3s, box-shadow .3s; }
.nav::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,16,.75), rgba(20,18,16,0)); pointer-events: none; transition: opacity .3s; }
.nav.is-scrolled, .nav.is-solid { background: rgba(30,28,26,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(201,150,63,.35); }
.nav.is-scrolled::before, .nav.is-solid::before { opacity: 0; }
.nav-inner { position: relative; display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.nav-logo { flex-shrink: 0; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 56px; width: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a {
  position: relative; text-decoration: none; color: var(--muted);
  font: 600 .86rem var(--body); letter-spacing: .14em; text-transform: uppercase; padding: 10px 11px;
  transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-call { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; padding: 9px 16px; border: 1px solid var(--line-2); border-radius: var(--radius); transition: border-color .2s; }
.nav-call:hover { border-color: var(--gold); }
.nav-call svg { color: var(--gold); }
.nav-call span { font: 700 1.05rem var(--display); }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: var(--radius); background: rgba(0,0,0,.3); color: var(--text); cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: currentColor; margin: 5px auto; transition: transform .25s var(--ease), opacity .2s; }
html.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
html.menu-open .burger span:nth-child(2) { opacity: 0; }
html.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  overflow-y: auto;
  position: fixed; inset: 0; z-index: 70; background: var(--ink); padding: calc(var(--nav-h) + 24px) 24px 32px;
  display: flex; flex-direction: column; gap: 4px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
html.menu-open .drawer { opacity: 1; visibility: visible; }
.drawer a.d-link {
  text-decoration: none; font: 700 1.8rem var(--display);
  padding: 9px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center;
}
.drawer a.d-link::after { content: "→"; font-size: 1.3rem; color: var(--gold); }
.drawer .drawer-foot { margin-top: auto; display: grid; gap: 12px; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: var(--ink); }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 60%; transform: scale(1.04); animation: heroIn 2.4s var(--ease) forwards; }
@keyframes heroIn { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(24,21,18,.93) 0%, rgba(24,21,18,.76) 34%, rgba(24,21,18,.2) 68%, rgba(24,21,18,.08) 100%),
    linear-gradient(0deg, rgba(24,21,18,.85) 0%, rgba(24,21,18,0) 30%);
}
.hero-content { padding-top: calc(var(--nav-h) + 60px); padding-bottom: clamp(110px, 13vw, 160px); }
.hero h1 { max-width: 760px; margin-bottom: .32em; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.05; }
.hero h1 .line { display: block; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-call { margin-top: 26px; color: var(--muted); font-size: .98rem; }
.hero-call a { color: var(--text); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--gold); }
.hero-in > * { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.hero-in > *:nth-child(2) { animation-delay: .08s; }
.hero-in > *:nth-child(3) { animation-delay: .16s; }
.hero-in > *:nth-child(4) { animation-delay: .24s; }
.hero-in > *:nth-child(5) { animation-delay: .32s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.page-hero { padding: calc(var(--nav-h) + 70px) 0 64px; position: relative; overflow: hidden; background: var(--ink); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); opacity: .7; }
.page-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.2rem); margin-bottom: .2em; }

/* ---------- Trust bar ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.trust li { display: flex; align-items: center; gap: 14px; padding: 24px 22px; font: 700 1.15rem var(--display); }
.trust li + li { border-left: 1px solid var(--line); }
.trust svg { color: var(--accent); flex-shrink: 0; }

/* =========================================================
   SERVICES
   ========================================================= */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service { position: relative; background: var(--panel); padding: 36px 32px 34px; transition: background .25s; }
.service::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--red); transition: width .4s var(--ease); }
.service:hover { background: #fff; }
.service:hover::before { width: 100%; }
a.service { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
a.service p { margin-bottom: 18px; }
.svc-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font: 700 .78rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.svc-more svg { width: 15px; height: 15px; margin: 0; transition: transform .25s var(--ease); }
a.service:hover .svc-more svg { transform: translateX(4px); }
.service svg { display: block; color: var(--accent); margin: 18px 0 18px; }
.service h3 { margin-bottom: .4em; }
.service p { color: var(--muted); margin: 0; font-size: 1rem; }
.services-note { margin-top: 26px; color: var(--muted); }
.services-note a { color: var(--text); font-weight: 700; }

/* =========================================================
   FEATURED BUILD
   ========================================================= */
.feature { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.feature-media { position: relative; display: grid; grid-template-columns: 1fr; gap: 14px; }
.feature-media .main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.feature-media .main img, .feature-media .inset img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feature-media .main:hover img, .feature-media .inset:hover img { transform: scale(1.03); }
.feature-media .inset {
  position: absolute; right: -18px; bottom: -34px; width: 46%; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden;
  border: 6px solid var(--bg-2); box-shadow: 0 24px 50px -24px rgba(40,30,20,.5);
}
.feature-copy .tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 30px; }
.tag { display: inline-block; font: 600 .8rem var(--body); letter-spacing: .14em; text-transform: uppercase; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--muted); }

/* =========================================================
   LISTING CARDS
   ========================================================= */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 26px 50px -32px rgba(40,30,20,.45); }
.card-img { position: relative; aspect-ratio: 4 / 3; background: var(--bg-2); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-img img { transform: scale(1.05); }
.card-img .noimg { position: absolute; inset: 0; display: grid; place-items: center; }
.card-img .noimg img { width: 38%; height: auto; opacity: .35; object-fit: contain; }
.ribbon {
  position: absolute; left: 14px; top: 14px; z-index: 2; font: 700 .76rem var(--body); letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 10px; border-radius: var(--radius); background: var(--panel); color: var(--text);
}
.ribbon.sold { background: var(--red); color: #fff; }
.ribbon.pending { background: var(--gold); color: var(--ink); }
.card.is-sold .card-img img { filter: grayscale(.85) brightness(.85); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.5rem; margin-bottom: .25em; }
.card-body p { color: var(--muted); font-size: .98rem; margin: 0 0 18px; }
.card-meta { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.price { font: 700 1.55rem var(--display); }
.price small { font: 600 .78rem var(--body); color: var(--muted); letter-spacing: .12em; text-transform: uppercase; margin-left: 6px; }
.card-meta .miles { color: var(--muted); font: 600 .82rem var(--body); letter-spacing: .12em; text-transform: uppercase; }

.empty {
  border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 48px 28px; text-align: center; color: var(--muted);
}
.empty h3 { color: var(--text); }
.empty .btn { margin-top: 10px; }
.skeleton { background: linear-gradient(100deg, var(--panel-2) 30%, var(--panel) 50%, var(--panel-2) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; border-radius: var(--radius); min-height: 360px; }
@keyframes shimmer { to { background-position: -150% 0; } }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.chip {
  font: 600 .84rem var(--body); letter-spacing: .12em; text-transform: uppercase; padding: 10px 16px;
  border: 1px solid var(--line-2); border-radius: 999px; background: none; color: var(--muted); cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--text); color: var(--text); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #f3ede1; }
.chip b { font-weight: 700; opacity: .6; margin-left: 4px; }

/* Work gallery */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.work-tile { position: relative; grid-column: span 4; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); text-decoration: none; }
.work-tile.big { grid-column: span 8; grid-row: span 2; aspect-ratio: auto; }
.work-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work-tile:hover img { transform: scale(1.05); }
.work-tile .cap {
  position: absolute; inset: auto 0 0 0; padding: 50px 20px 18px; background: linear-gradient(0deg, rgba(24,21,18,.88), rgba(24,21,18,0));
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; color: #f3ede1;
}
.work-tile .cap strong { font: 700 1.3rem var(--display); line-height: 1.1; }
.work-tile .cap span { font: 600 .76rem var(--body); letter-spacing: .16em; text-transform: uppercase; color: #d9cfbd; }

/* =========================================================
   ABOUT
   ========================================================= */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.about-copy p { color: var(--muted); }
.about-badge { position: relative; display: grid; place-items: center; padding: 30px; }
.about-badge::before {
  content: ""; position: absolute; inset: 6% 6%; border-radius: 50%;
  border: 1px solid var(--line-2); box-shadow: inset 0 0 0 8px var(--bg), inset 0 0 0 9px var(--line-2);
}
.about-badge img { position: relative; width: min(100%, 420px); filter: drop-shadow(0 24px 40px rgba(40,30,20,.3)); }
.signoff { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.signoff div { display: grid; }
.signoff strong { font: 700 1.35rem var(--display); }
.signoff span { color: var(--muted); font-size: .95rem; }

.quote-band { position: relative; overflow: hidden; padding: clamp(70px, 9vw, 110px) 0; background: var(--red-deep); isolation: isolate; }
.quote-band::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(243,237,225,.22); z-index: -1; pointer-events: none; }
.quote-band p { margin: 0; font: 700 clamp(2.2rem, 6vw, 4.6rem) var(--display); line-height: 1.02; }
.quote-band span { display: block; margin-top: 18px; font: 600 .86rem var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }

/* =========================================================
   CONTACT / FORMS
   ========================================================= */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.big-phone {
  display: inline-block; font: 700 clamp(2.3rem, 5vw, 3.4rem) var(--display); text-decoration: none; margin: 8px 0 22px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease), color .2s;
}
.big-phone:hover { color: var(--accent); background-size: 100% 2px; }
.info-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--text); }
.info-list svg { color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.info-list a { text-decoration: none; border-bottom: 1px solid var(--line-2); }
.info-list a:hover { border-color: var(--accent); }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%;
  transition: background .2s, border-color .2s, color .2s;
}
.socials a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.socials[hidden] { display: none; }

.form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.form h3 { font-size: 1.8rem; margin-bottom: .2em; }
.form .fine { margin: 0 0 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font: 700 .76rem var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field label i { font-style: normal; color: var(--dim); letter-spacing: .04em; text-transform: none; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font: 500 1rem var(--body); color: var(--text); background: var(--field); border: 1px solid var(--line-2);
  border-radius: var(--radius); padding: 13px 14px; transition: border-color .2s, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2382796c' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; }
.form .btn { margin-top: 22px; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 16px 0 0; font-weight: 600; }
.form-msg.ok { color: #2f6b3a; }
.form-msg.err { color: var(--red); }
.form.sent .form-grid, .form.sent .btn, .form.sent > .fine { display: none; }
.sent-box { display: none; text-align: center; padding: 20px 0; }
.form.sent .sent-box { display: block; }
.sent-box svg { color: var(--accent); margin: 0 auto 14px; }

/* =========================================================
   VEHICLE PAGE
   ========================================================= */
.crumbs { display: flex; gap: 10px; align-items: center; font: 600 .8rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.vehicle { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 4vw, 52px); align-items: start; }
.gallery .stage { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); cursor: zoom-in; }
.gallery .stage img { width: 100%; height: 100%; object-fit: cover; }
.gallery .stage .count { position: absolute; right: 14px; bottom: 14px; background: rgba(24,21,18,.7); color: #f3ede1; padding: 6px 10px; border-radius: var(--radius); font: 600 .84rem var(--body); letter-spacing: .1em; }
.gallery .nav-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: rgba(24,21,18,.6); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s;
}
.gallery .nav-arrow:hover { background: var(--red); }
.gallery .prev { left: 12px; }
.gallery .next { right: 12px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; margin-top: 12px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; cursor: pointer; background: var(--bg-2); opacity: .65; transition: opacity .2s, border-color .2s; }
.thumbs button:hover { opacity: 1; }
.thumbs button.is-on { opacity: 1; border-color: var(--red); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.v-side { position: sticky; top: calc(var(--nav-h) + 20px); }
.v-side h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); margin-bottom: .25em; }
.v-status { display: inline-block; margin-bottom: 14px; font: 700 .76rem var(--body); letter-spacing: .16em; text-transform: uppercase; padding: 6px 10px; border-radius: var(--radius); background: var(--ink); color: #f3ede1; }
.v-status.sold { background: var(--red); color: #fff; }
.v-status.pending { background: var(--gold); color: var(--ink); }
.v-price { font: 700 2.5rem var(--display); margin: 6px 0 4px; }
.v-price small { font: 600 .82rem var(--body); color: var(--muted); letter-spacing: .12em; text-transform: uppercase; margin-left: 8px; }
.v-summary { color: var(--muted); font-size: 1.08rem; }
.v-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0; }
.v-actions .btn { padding: 15px 12px; }
.v-actions .wide { grid-column: 1 / -1; }
.specs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0; background: var(--panel); }
.specs div { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.specs div:nth-child(odd) { border-right: 1px solid var(--line); }
.specs dt { font: 700 .72rem var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.specs dd { margin: 2px 0 0; font-weight: 600; }
.v-detail { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 4vw, 52px); margin-top: 60px; }
.v-detail h2 { font-size: 2rem; }
.v-desc { color: var(--muted); white-space: pre-line; }
.highlights { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.highlights li { position: relative; padding-left: 24px; }
.highlights li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); }

.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(20,18,16,.96); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 86vh; object-fit: contain; border-radius: var(--radius); }
.lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.1); color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: var(--red); }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font: 600 .9rem var(--body); letter-spacing: .14em; color: var(--muted); }

/* =========================================================
   FOOTER
   ========================================================= */
.cta-band { padding: clamp(70px, 9vw, 110px) 0; text-align: center; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }

.footer { background: var(--ink); padding: 0 0 28px; color: var(--muted); }
.footer > .wrap { padding-top: 64px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand img { width: 150px; margin-bottom: 16px; }
.foot-brand p { max-width: 340px; font-size: .98rem; }
.footer h4 { font: 700 .78rem var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer a { text-decoration: none; color: var(--muted); transition: color .2s; }
.footer a:hover { color: var(--text); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--dim); }
.foot-bottom a { color: var(--dim); }

/* =========================================================
   SHOP ACCENTS
   ========================================================= */
.speed-stripe { height: 7px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); opacity: .7; }

/* Four ways in */
.paths { position: relative; z-index: 2; margin-top: -64px; padding-bottom: 20px; }
.path-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -36px rgba(40,30,20,.5); }
.path { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 28px 26px 26px; background: var(--panel); text-decoration: none; transition: background .25s; }
.path::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--red); transition: width .4s var(--ease); }
.path:hover { background: #fff; }
.path:hover::before { width: 100%; }
.path svg { color: var(--accent); margin-bottom: 6px; }
.path strong { font: 700 1.5rem var(--display); line-height: 1.1; }
.path span { color: var(--muted); font-size: .98rem; }
.path em { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font: 700 .82rem var(--body); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.path em svg { margin: 0; color: currentColor; transition: transform .2s var(--ease); }
.path:hover em svg { transform: translateX(4px); }

/* Split media + copy */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

/* Lists */
.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .4em; width: 14px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.ticks.cols { grid-template-columns: 1fr 1fr; column-gap: 28px; }
.ticks.muted li { color: var(--muted); }
.ticks.muted li::before { width: 7px; height: 7px; border: 0; background: var(--dim); transform: rotate(45deg); top: .6em; left: 4px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { position: relative; padding: 26px 22px 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 6px; align-content: start; }
.steps b { font: 700 2.4rem var(--display); color: var(--red); line-height: 1; }
.steps strong { font: 700 1.3rem var(--display); }
.steps span { color: var(--muted); font-size: .98rem; }
.steps-col { grid-template-columns: 1fr; }
.steps-col li { grid-template-columns: 56px 1fr; column-gap: 14px; }
.steps-col b { grid-row: span 2; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.values div { background: var(--panel); padding: 28px 24px; display: grid; gap: 8px; align-content: start; }
.values strong { font: 700 1.35rem var(--display); }
.values span { color: var(--muted); font-size: .98rem; }

.cta-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 32px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .25s, transform .3s var(--ease); }
.cta-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.cta-card > svg { color: var(--accent); margin-bottom: 12px; }
.cta-card .eyebrow { margin-bottom: .4em; }
.cta-card h3 { font-size: 1.8rem; margin-bottom: .2em; }
.cta-card p { color: var(--muted); }
.cta-card em { font: 700 .82rem var(--body); font-style: normal; letter-spacing: .14em; text-transform: uppercase; display: inline-flex; gap: 8px; align-items: center; color: var(--red); }

.services-4 { grid-template-columns: repeat(4, 1fr); }

/* Form pages */
.form-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.form-aside { position: sticky; top: calc(var(--nav-h) + 24px); }
.note { margin-top: 18px; padding: 16px 18px; border-left: 3px solid var(--red); background: var(--panel); color: var(--muted); font-size: .97rem; border-radius: 0 var(--radius) var(--radius) 0; }
.note a { color: var(--text); }
.quick-links { display: grid; margin: 0 0 26px; }
.quick-links a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 700 1.15rem var(--display); }
.quick-links a:hover { color: var(--red); }

.field .drop { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px; border: 2px dashed var(--line-2); border-radius: var(--radius); cursor: pointer; color: var(--muted); font: 700 .84rem var(--body); letter-spacing: .12em; text-transform: uppercase; transition: border-color .2s, color .2s; }
.field .drop:hover { border-color: var(--red); color: var(--text); }
.field .drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.thumb-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 10px; }
.thumb-row:empty { display: none; }
.thumb { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(24,21,18,.75); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.thumb button:hover { background: var(--red); }

/* Listing tags */
.ribbon.consign { left: auto; right: 14px; background: var(--ink); color: #f3ede1; }
.v-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.v-tag { display: inline-block; margin-bottom: 14px; font: 700 .76rem var(--body); letter-spacing: .16em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--radius); border: 1px solid var(--line-2); }
.v-tag[hidden] { display: none; }
.work-tile .noimg { position: absolute; inset: 0; display: grid; place-items: center; }
.work-tile .noimg img { width: 30%; height: auto; opacity: .35; }
.work-grid .skeleton { min-height: 0; }

@media (max-width: 1060px) {
  .path-grid, .steps, .values, .services-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .split, .two-col, .duo, .form-layout { grid-template-columns: 1fr; }
  .form-aside { position: static; }
  .paths { margin-top: -40px; }
}
@media (max-width: 620px) {
  .path-grid, .steps, .values, .services-4, .ticks.cols { grid-template-columns: 1fr; }
  .path { padding: 22px 20px; }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: .07s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: .14s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: .21s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: .28s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: .35s; }

/* 404 */
.lost { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 40px) 24px 60px; }
.lost img { width: 220px; margin: 0 auto 20px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1240px) {
  .nav-links, .nav-call { display: none; }
  .burger { display: block; }
}
@media (max-width: 1060px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .vehicle, .v-detail { grid-template-columns: 1fr; }
  .v-side { position: static; }
}
@media (max-width: 860px) {
  .feature, .about, .contact { grid-template-columns: 1fr; }
  .feature-media .inset { right: 12px; bottom: -26px; }
  .feature-copy { margin-top: 30px; }
  .about-badge { order: -1; padding: 0; }
  .about-badge img { width: 260px; }
  .trust ul { grid-template-columns: 1fr; }
  .trust li + li { border-left: 0; border-top: 1px solid var(--line); }
  .trust li { padding: 16px 4px; }
  .work-tile, .work-tile.big { grid-column: span 12; grid-row: auto; aspect-ratio: 4 / 3; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  :root { --nav-h: 68px; }
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .nav-logo img { height: 48px; }
  .hero { min-height: 92svh; }
  .hero::after { background: linear-gradient(0deg, rgba(24,21,18,.97) 0%, rgba(24,21,18,.82) 45%, rgba(24,21,18,.35) 100%); }
  .hero-bg img { object-position: 74% 62%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .services, .cards { grid-template-columns: 1fr; }
  .service { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
  .specs div:nth-child(odd) { border-right: 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .gallery .nav-arrow { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-stagger > *, .hero-in > * { opacity: 1; transform: none; }
}

/* Service detail pages */
.back-link { text-decoration: none; }
.back-link:hover { color: var(--text); }
.svc-icon { color: var(--accent); margin-bottom: 18px; }
.svc-icon svg { width: 52px; height: 52px; }
.svc-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.svc-links a { padding: 10px 16px; border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--text); text-decoration: none; font-weight: 600; transition: border-color .2s, color .2s; }
.svc-links a:hover { border-color: var(--accent); color: var(--accent); }
