/* VAG Autolammutus — site stylesheet.
   Ported from the client's demo (R2/R4). Fonts are declared in partials/fonts.php
   (the editor wraps this file in @scope, where @font-face is not allowed). */


:root {
  --night: #0E0F11; --night-2: #1B1D21; --smoke: #A2A8AE; --line-d: rgba(255, 255, 255, .16);
  --ink: #16181B; --paper: #FFFFFF; --muted: #5C636A; --mist: #EEF0F1; --rule: #DADDE0; --field: #C3C9CE;
  /* from the logo: the orange A, the blue G */
  --or: #F25F00; --or-dk: #C24A00; --or-lt: #FF8A3D;
  --blue: #0A53BE; --blue-dk: #083F93; --blue-lt: #7DB5FF;
  --err: #C62118; --err-dk: #A51A12;
  --disp: "Archivo", "Switzer", sans-serif; --disp-w: 115%; --f: "Switzer", system-ui, sans-serif;
  --gut: clamp(1rem, 3.4vw, 3rem); --r: .375rem; --r-s: .25rem;
  --head-h: 5.25rem; --logo-h: 7rem;
  --glass: rgba(255, 255, 255, .62); --glass-fx: blur(20px) saturate(1.7);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { :root { --glass: rgba(255, 255, 255, .96); } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--f); }
body.locked { overflow: hidden; }
main { flex: 1; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
.ic { width: 1.1em; height: 1.1em; flex: none; }
.bm { width: 1.25em; height: 1.25em; flex: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--head-h) + 1rem); }
.pad { padding-inline: var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 60; background: var(--or); color: var(--ink); padding: .6rem 1rem; font-weight: 600; }
.skip:focus { top: 1rem; }
.muted { color: var(--muted); }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3rem; padding: 0 1.4rem; border: 0; border-radius: var(--r-s);
  background: var(--or); color: var(--ink); font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.btn:hover { background: var(--ink); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.more { display: inline-flex; gap: .5rem; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }
.more:hover { color: var(--blue); }

/* ------------------------------------------------------------------ header
   White bar: the logo is drawn on white with black lettering. It hangs below the bar on a white tab and
   tucks into the bar once the page scrolls. */
.top { position: sticky; top: 0; z-index: 30; margin-bottom: calc(-1 * var(--head-h)); color: var(--ink); }
.top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--glass); -webkit-backdrop-filter: var(--glass-fx); backdrop-filter: var(--glass-fx); transition: box-shadow .3s; }
.top.scrolled::before { box-shadow: 0 1px 0 rgba(0, 0, 0, .08); }
/* over a flat dark band there is nothing to frost: the same glass would read as a grey bar, so it thickens */
body:has(.intro-band) .top:not(.scrolled) { --glass: rgba(255, 255, 255, .9); }
.top-in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; min-height: var(--head-h); }
.top nav { display: flex; gap: 1.9rem; font-weight: 600; font-size: .95rem; }
.top nav a { text-decoration: none; padding: .4rem 0; }
.top nav a:hover { color: var(--blue); }
.top nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--or); }
.brand { position: relative; align-self: start; display: block; width: calc(var(--logo-h) * 2.41 + 1.5rem); height: var(--head-h); }
.brand::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 100%; height: calc(var(--logo-h) + 1.1rem - var(--head-h));
  background: var(--glass); -webkit-backdrop-filter: var(--glass-fx); backdrop-filter: var(--glass-fx); border-radius: 0 0 .5rem .5rem; transition: height .3s; }
.brand img { position: absolute; left: 50%; top: .5rem; height: var(--logo-h); width: auto; max-width: none; transform: translateX(-50%); transition: height .3s, top .3s; }
.top.scrolled .brand img { height: calc(var(--head-h) - .9rem); top: .45rem; }
.top.scrolled .brand::before { height: 0; }
.call { justify-self: end; display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.call small { display: block; color: #3A3F45; font-size: .8rem; line-height: 1.25; text-align: right; }
.call b { font-family: var(--disp); font-stretch: var(--disp-w); font-weight: 800; font-size: 1.25rem; letter-spacing: .02em; white-space: nowrap; }
.call:hover b { color: var(--blue); }
.call-ic { display: none; }
.menu-btn { display: none; background: none; border: 0; padding: .6rem 0; cursor: pointer; align-items: center; gap: .5rem; font-weight: 600; color: var(--ink); min-height: 44px; }

/* Mobile sheet: sibling of the header so its stacking context can't trap it (W23). */
.sheet { position: fixed; inset: 0; z-index: 50; background: #fff; color: var(--ink); display: grid; align-content: center; gap: .4rem; padding: 0 var(--gut);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.sheet.open { opacity: 1; visibility: visible; }
.sheet a { font-family: var(--disp); font-stretch: var(--disp-w); font-weight: 800; font-size: 2rem; line-height: 1.3; text-decoration: none; }
.sheet a:hover { color: var(--blue); }
.sheet .close { position: absolute; top: 1.2rem; right: var(--gut); background: none; border: 0; color: var(--ink); display: flex; gap: .5rem; align-items: center; cursor: pointer; font-weight: 600; min-height: 44px; }
.sheet .sheet-tel { margin-top: 1.5rem; font-family: var(--f); font-weight: 700; font-size: 1.1rem; display: inline-flex; gap: .6rem; align-items: center; min-height: 44px; }

/* ------------------------------------------------------------------ hero: one photo per marque + the marque bar */
.hero { position: relative; min-height: clamp(640px, 100svh, 980px); display: grid; grid-template-rows: minmax(0, 1fr) auto; overflow: hidden; isolation: isolate; background: var(--night); color: #fff; }
.shots { position: absolute; inset: 0; z-index: -2; }
.shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity 1.1s ease, transform 7s ease-out; }
.shots img.on { opacity: 1; transform: scale(1); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(14, 15, 17, 0) 0, rgba(14, 15, 17, 0) 25%, rgba(14, 15, 17, 0) 45%, rgba(14, 15, 17, .82) 88%, rgba(14, 15, 17, .92) 100%),
    linear-gradient(90deg, rgba(14, 15, 17, .78) 0, rgba(14, 15, 17, .4) 42%, rgba(14, 15, 17, 0) 66%); }
.hero-copy { align-self: end; padding-top: calc(var(--head-h) + 7rem); padding-bottom: clamp(2rem, 5vh, 3.25rem); max-width: 64rem; }
.hero h1 { font-family: var(--disp); font-stretch: var(--disp-w); font-weight: 800; font-size: clamp(2.5rem, 6vw, 5.6rem); line-height: 1.18; letter-spacing: -.015em; margin: 0 0 .9rem; text-wrap: balance; }
.hero .sub { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: #D7DADD; margin: 0 0 1.9rem; max-width: 40em; }
.finder { display: flex; flex-wrap: wrap; gap: .6rem; align-items: stretch; }
.finder label { display: grid; gap: .25rem; }
.finder .lbl { font-size: .8rem; color: #C9CDD1; }
.finder select, .finder input { height: 3.4rem; min-width: 0; border: 0; border-radius: var(--r-s); background: #fff; color: var(--ink); font-weight: 500; padding: 0 1rem; }
.finder select { width: 15rem; }
.finder select[name=mark] { width: 13.5rem; }
.finder input { width: 7.5rem; }
.finder button { align-self: end; height: 3.4rem; border: 0; border-radius: var(--r-s); background: var(--or); color: var(--ink); font-weight: 800; padding: 0 1.6rem; display: inline-flex; gap: .6rem; align-items: center; cursor: pointer; transition: background-color .2s, color .2s; }
.finder button:hover { background: #fff; }

.marques { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--night); }
.marques a { position: relative; display: flex; align-items: center; gap: 1rem; min-height: 5.75rem; padding: 1rem 1.5rem; text-decoration: none; color: #C9CDD1; transition: color .25s; }
.marques a + a { box-shadow: inset 1px 0 0 var(--line-d); }
.marques a:first-child { padding-left: 0; }
.marques .bm { width: 2.6rem; height: 2.6rem; color: #fff; opacity: .7; transition: opacity .25s, color .25s; }
.marques b { display: block; font-family: var(--disp); font-stretch: var(--disp-w); font-weight: 800; font-size: 1.2rem; line-height: 1.2; color: #fff; }
.marques a.on .bm, .marques a:hover .bm, .marques a:focus-visible .bm { opacity: 1; color: var(--or); }
.marques a:first-child .prog { left: 0; }
.prog { position: absolute; left: 1.5rem; right: 1.5rem; top: 0; height: 3px; background: var(--or); transform: scaleX(0); transform-origin: left; }
.marques a.on .prog { transform: scaleX(1); }
.marques.cycling a.on .prog { animation: prog 6s linear; }
@keyframes prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ------------------------------------------------------------------ dark page head (list pages) */
.intro-band { background: var(--night); color: #fff; padding-block: calc(var(--head-h) + 3.75rem) 3rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .875rem; color: var(--smoke); margin: 0 0 1rem; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }
.intro-band h1 { font-family: var(--disp); font-stretch: var(--disp-w); font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.18; margin: 0; text-wrap: balance; }
.intro-band p { margin: .8rem 0 0; color: #D0D4D7; max-width: 44em; }
.intro-band p a { color: #fff; }

/* light crumbs on detail pages: clear of the hanging logo tab */
.crumbs--light { color: var(--muted); padding-top: calc(var(--head-h) + 3.25rem); margin-bottom: 1.25rem; max-width: calc(50% - 9rem); }
.crumbs--light a:hover { color: var(--blue); }

/* ------------------------------------------------------------------ light bands */
.band { padding-block: 5.5rem; }
.band--tight { padding-block: 3.5rem; }
.band--follow { padding-top: 0; }
.band--latest { padding-top: 1rem; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 1.75rem; }
h2, .h2 { font-weight: 800; font-size: clamp(1.7rem, 2.6vw, 2.35rem); line-height: 1.18; letter-spacing: -.015em; margin: 0; }
h3 { line-height: 1.3; }

/* parts index (home): the heading and one photo hold a column; the categories are ruled rows beside it */
.pindex { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); padding-block: 5.5rem 4.5rem; align-items: start; }
.pindex-side { position: sticky; top: calc(var(--head-h) + 2rem); display: grid; gap: 1.5rem; }
.pindex h2 { font-family: var(--disp); font-stretch: var(--disp-w); font-size: clamp(2.2rem, 4vw, 3.4rem); }
.pindex-shot { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: #2A2D31; }
.pindex-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.pindex-shot img.on { opacity: 1; }
.pindex-list ul { margin: 0 0 1.25rem; padding: 0; list-style: none; border-bottom: 1px solid var(--rule); }
.pindex-list li { border-top: 1px solid var(--rule); }
.pindex-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; padding: 1.15rem 0; text-decoration: none; }
.pindex-list a img { display: none; }
.pindex-list b { display: block; font-family: var(--disp); font-stretch: var(--disp-w); font-weight: 700; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.25; transition: color .2s, transform .3s cubic-bezier(.2, .7, .2, 1); }
.pindex-list .t > span { display: block; color: var(--muted); font-size: .95rem; margin-top: .2rem; }
.pindex-list .go { width: 1.4rem; height: 1.4rem; color: var(--or); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.pindex-list a:hover b, .pindex-list a.on b { color: var(--blue); }
.pindex-list a:hover b, .pindex-list a:focus-visible b { transform: translateX(.35rem); }
.pindex-list a:hover .go, .pindex-list a:focus-visible .go { transform: translateX(.35rem); }

/* car cards: photo first, lot number as a plate tag, marque mark on the name */
.cars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.25rem 1.25rem; }
.cars--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lead { display: flex; flex-direction: column; align-items: flex-start; padding-top: .25rem; }
.lead h2 { font-family: var(--disp); font-stretch: var(--disp-w); }
.lead p { color: var(--muted); margin: .75rem 0 1rem; }
.car { text-decoration: none; display: grid; gap: .85rem; align-content: start; }
.car figure { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r-s); overflow: hidden; background: #2A2D31; }
.car figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.car:hover figure img { transform: scale(1.04); }
.nr { position: absolute; left: .6rem; top: .6rem; display: flex; align-items: center; gap: .45rem; height: 1.5rem; padding: 0 .5rem 0 0; background: #fff; color: var(--ink); font-size: .78rem; font-weight: 700; line-height: 1; border-radius: 3px; overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.nr i { align-self: stretch; width: .45rem; background: var(--blue); }
.demo-tag { position: absolute; right: .6rem; top: .6rem; height: 1.5rem; display: flex; align-items: center; padding: 0 .5rem; background: var(--or); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border-radius: 3px; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.dots { position: absolute; left: .6rem; right: .6rem; bottom: .6rem; display: flex; gap: .25rem; opacity: 0; transition: opacity .2s; }
.dots i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .5); }
.dots i.on { background: #fff; }
.car:hover .dots { opacity: 1; }
.car h3 { margin: 0; font-size: 1.1rem; font-weight: 700; display: flex; align-items: center; gap: .5rem; }
.car h3 .bm { width: 1.3rem; height: 1.3rem; }
.car:hover h3 { color: var(--blue); }
.car p { margin: .1rem 0 0; color: var(--muted); font-size: .95rem; }
.car .sib { color: var(--blue); font-weight: 600; font-size: .875rem; margin-top: .35rem; }
.nophoto { width: 100%; height: 100%; display: grid; place-items: center; color: #A2A8AE; font-size: .875rem; }

/* list view */
.cars--list { grid-template-columns: minmax(0, 1fr); gap: 0; }
.cars--list .car { grid-template-columns: 11rem minmax(0, 1fr); gap: 1.25rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); align-items: center; }
.cars--list .car:first-child { padding-top: 0; }
.cars--list .dots { display: none; }

/* terms row */
.terms { border-top: 1px solid var(--rule); }
.terms-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; padding-block: 2.75rem; margin: 0; }
.terms-in div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .25rem .9rem; align-items: start; }
.terms-in .ic { width: 1.6rem; height: 1.6rem; color: var(--or); grid-row: span 2; margin-top: .1rem; }
.terms-in dt { font-weight: 700; }
.terms-in dd { margin: 0; color: var(--muted); font-size: .95rem; }

/* ------------------------------------------------------------------ catalogue (W31 shape) */
.cat { display: grid; grid-template-columns: 17.5rem minmax(0, 1fr); gap: 2.5rem; padding-block: 2.5rem 5rem; align-items: start; }
.side { position: sticky; top: calc(var(--head-h) + 1rem); display: grid; gap: 1.6rem; }
.side details { display: contents; }
.side summary { display: none; }
.fg { display: grid; gap: .5rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.fg--form { gap: 1rem; }
.fg-t, .fg legend { font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: .25rem; }
.opts { display: grid; gap: .1rem; margin: 0; padding: 0; list-style: none; }
.opts a { display: flex; justify-content: space-between; align-items: center; gap: .75rem; min-height: 44px; padding: .45rem .7rem; border-radius: var(--r-s); text-decoration: none; font-weight: 500; }
.opts a:hover { background: var(--mist); }
.opts a[aria-current="true"] { background: var(--ink); color: #fff; }
.opts a small { color: var(--muted); font-weight: 500; }
.opts a[aria-current="true"] small { color: #C5CACE; }
.opts a.zero { color: #9AA0A6; }
.mk-n { display: inline-flex; align-items: center; gap: .6rem; }
.mk-n .bm { width: 1.3rem; height: 1.3rem; }
.field { display: grid; gap: .35rem; font-size: .875rem; font-weight: 600; color: var(--muted); min-width: 0; }
.field select, .field input, .field textarea { width: 100%; min-height: 2.9rem; border: 1px solid var(--field); border-radius: var(--r-s); background: #fff; color: var(--ink); padding: .55rem .8rem; font-size: 1rem; font-weight: 500; }
.field textarea { min-height: 6rem; resize: vertical; }
.field select:hover, .field input:hover, .field textarea:hover { border-color: #8E969D; }
.field select:focus, .field input:focus, .field textarea:focus { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--ink); }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .6rem; }
.side .btn { width: 100%; }
.clear { font-size: .9rem; font-weight: 600; color: var(--blue); text-decoration: none; }
.clear:hover { text-decoration: underline; }

.bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 1.25rem; padding-bottom: 1.25rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--rule); }
.bar .count { margin: 0; font-size: 1rem; }
.bar .count b { font-weight: 700; }
.bar form { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.bar .field { grid-auto-flow: column; align-items: center; gap: .5rem; }
.bar .field select { min-height: 2.6rem; width: auto; padding-block: .3rem; }
.views { display: inline-flex; gap: .25rem; }
.views a { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: var(--r-s); color: var(--muted); }
.views a:hover { background: var(--mist); color: var(--ink); }
.views a[aria-current="true"] { background: var(--ink); color: #fff; }
.pager { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; margin-top: 3rem; }
.pager a, .pager span { display: grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding: 0 .6rem; border-radius: var(--r-s); text-decoration: none; font-weight: 600; }
.pager a:hover { background: var(--mist); }
.pager [aria-current="page"] { background: var(--ink); color: #fff; }
.empty { padding: 3rem 0; max-width: 36rem; }
.empty h2 { font-size: 1.6rem; margin-bottom: .75rem; }
.notice { display: flex; gap: .6rem; align-items: flex-start; color: var(--or-dk); font-weight: 500; margin: 0 0 1.5rem; font-size: .95rem; max-width: 46em; }
.notice .ic { color: var(--or); margin-top: .15rem; }

/* parts: a ruled list of media rows (thumb + facts + price), two per row in grid view – not photo cards */
.parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; border-bottom: 1px solid var(--rule); }
.part { text-decoration: none; display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1.15rem; align-items: start; padding: 1.15rem 0; border-top: 1px solid var(--rule); }
.part figure { position: relative; margin: 0; aspect-ratio: 1; border-radius: var(--r-s); overflow: hidden; background: #2A2D31; }
.part figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.part:hover figure img { transform: scale(1.06); }
.part > div { display: flex; flex-direction: column; min-height: 100%; }
.part .kat { font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--or-dk); }
.part h3 { margin: .15rem 0 0; font-size: 1.1rem; font-weight: 700; }
.part:hover h3 { color: var(--blue); }
.part p { margin: .2rem 0 0; color: var(--muted); font-size: .925rem; }
.part .fits { display: flex; align-items: center; gap: .45rem; }
.part .fits .bm { width: 1.1rem; height: 1.1rem; color: var(--ink); }
.part .buy { margin-top: auto; padding-top: .6rem; display: flex; align-items: center; gap: .5rem; }
.part .go { margin-left: auto; width: 1.25rem; height: 1.25rem; color: var(--or); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.part:hover .go { transform: translateX(.3rem); }
.price { font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.price--ask { font-weight: 700; font-size: 1rem; color: var(--blue); }
.badge { display: inline-block; font-size: .78rem; font-weight: 700; padding: .15rem .55rem; border-radius: var(--r-s); background: var(--ink); color: #fff; vertical-align: middle; }
.parts--list { grid-template-columns: minmax(0, 1fr); }
.parts--list .part { grid-template-columns: 5.5rem minmax(0, 1fr); align-items: center; padding: .8rem 0; }
.parts--list .part > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.5rem; }
.parts--list .part > div > * { grid-column: 1; }
.parts--list .part .buy { grid-column: 2; grid-row: 1 / span 3; margin: 0; padding: 0; align-self: center; }

/* ------------------------------------------------------------------ detail pages */
.detail { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; padding-bottom: 4.5rem; }
.gal-main { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; background: #2A2D31; aspect-ratio: 4 / 3; }
.gal-main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gal-main .nr { font-size: .9rem; left: .9rem; top: .9rem; height: 1.8rem; }
.thumbs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: .4rem; margin-top: .5rem; }
.thumbs button { padding: 0; border: 0; background: none; cursor: pointer; border-radius: var(--r-s); overflow: hidden; opacity: .6; transition: opacity .15s; }
.thumbs button:hover, .thumbs button[aria-current="true"] { opacity: 1; }
.thumbs button[aria-current="true"] { outline: 3px solid var(--or); outline-offset: -3px; }
.thumbs img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.info h1 { font-weight: 800; font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.18; letter-spacing: -.02em; margin: 0 0 .4rem; }
.info .sub { color: var(--muted); font-size: 1.1rem; margin: 0 0 1.5rem; }
.lot { display: inline-flex; align-items: baseline; gap: .6rem; margin: 0 0 1rem; }
.lot b { background: var(--ink); color: #fff; font-weight: 700; padding: .2rem .7rem; border-radius: var(--r-s); font-size: .95rem; }
.lot span { color: var(--muted); font-size: .9rem; }
.spec { margin: 0 0 1.75rem; display: grid; grid-template-columns: auto minmax(0, 1fr); }
.spec dt, .spec dd { padding: .7rem 0; border-top: 1px solid var(--rule); margin: 0; }
.spec dt { color: var(--muted); padding-right: 1.5rem; }
.spec dd { font-weight: 600; }
.notes { color: var(--muted); margin: -.5rem 0 1.5rem; }
.notes > :first-child { margin-top: 0; }
.notes > :last-child { margin-bottom: 0; }
.notes p { margin: 0 0 .75rem; }
.notes ul, .notes ol { margin: 0 0 .75rem; padding-left: 1.25rem; }
.notes li { margin: .2rem 0; padding-left: .15rem; }
.notes li::marker { color: var(--or); }
.notes strong, .notes b { color: var(--ink); }
.notes h2, .notes h3, .notes h4 { font-size: 1.05rem; line-height: 1.35; color: var(--ink); margin: 1rem 0 .4rem; }
.notes a { color: var(--blue); }
.notes img { max-width: 100%; height: auto; }
.notes table { border-collapse: collapse; margin: 0 0 .75rem; }
.notes td, .notes th { border: 1px solid var(--rule); padding: .35rem .6rem; text-align: left; }
.acts { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; }
.tel { font-weight: 700; display: inline-flex; gap: .5rem; align-items: center; text-decoration: none; min-height: 44px; }
.tel:hover { color: var(--blue); }
.price-big { font-size: 2rem; font-weight: 800; margin: 0 0 1.25rem; }
.fine { font-size: .9rem; color: var(--muted); }

/* signature: same engine across marques */
.same { margin-bottom: 4.5rem; background: var(--ink); color: #fff; border-radius: var(--r); padding: clamp(1.5rem, 3.5vw, 2.75rem); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 3.5vw, 3rem); align-items: start; }
.same h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.mk { display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; margin: 1.1rem 0 1rem; padding: 0; list-style: none; }
.mk li { font-family: var(--disp); font-stretch: var(--disp-w); font-weight: 800; font-size: 1.4rem; line-height: 1.2; }
.same .fine { color: var(--smoke); margin: 0; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 12.5rem; gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .75rem; overscroll-behavior-x: contain; scrollbar-color: #4A4F55 transparent; }
.strip a { scroll-snap-align: start; text-decoration: none; display: grid; gap: .5rem; }
.strip img, .strip .ph { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: var(--r-s); background: #3A3F45; }
.strip b { display: block; font-weight: 700; }
.strip a:hover b { color: var(--or-lt); }
.strip span { color: var(--smoke); font-size: .875rem; }

/* ------------------------------------------------------------------ forms */
.form-band { border-top: 1px solid var(--rule); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.75rem, 4vw, 4rem); align-items: start; }
.split > div > p { color: var(--muted); }
.inq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.inq .wide { grid-column: 1 / -1; }
.inq .opt { font-weight: 500; color: #8B9298; }
.inq .req { color: var(--err); }
.inq .field.bad input, .inq .field.bad textarea { border-color: var(--err); box-shadow: 0 0 0 1px var(--err); }
.inq .err { color: var(--err-dk); font-size: .85rem; font-weight: 600; }
.inq .err:empty { display: none; }
.inq .note { margin: 0; font-size: .9rem; color: var(--muted); }
.inq .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { grid-column: 1 / -1; color: var(--err-dk); font-weight: 700; }
.form-error ul { margin: .4rem 0 0; padding-left: 1.2rem; font-weight: 500; }
.ok-box { padding-top: .25rem; }
.ok-box h2 { margin-bottom: .6rem; }

/* ------------------------------------------------------------------ R4 home: models band (the client's own cars)
   Marque names are the tabs; the car sits on white (multiply drops the photo's own white), the models flow beside it,
   set larger the more cars of that model are on the lot. Without JS the four panels simply stack. */
.models { padding-block: 1rem 5rem; overflow-x: clip; } /* the car drives in from the right */
.mtabs { display: flex; flex-wrap: wrap; gap: .25rem clamp(1.25rem, 3vw, 2.75rem); border-bottom: 1px solid var(--rule); }
.mtabs[hidden], .mpanel[hidden] { display: none; }
.mtabs button { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: .4rem 0 .9rem; border: 0; background: none; cursor: pointer;
  font-family: var(--disp); font-stretch: var(--disp-w); font-weight: 800; font-size: clamp(1.5rem, 3.4vw, 2.9rem); line-height: 1.18; color: #A9AFB5; transition: color .2s, box-shadow .2s; }
.mtabs button .bm { width: .8em; height: .8em; }
.mtabs button:hover { color: var(--ink); }
.mtabs button[aria-selected="true"] { color: var(--ink); box-shadow: inset 0 -4px 0 var(--or); }
.mtabs button[aria-selected="true"] .bm { color: var(--or); }
.mpanel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-top: 2.5rem; }
.mpanel + .mpanel { margin-top: 2rem; }
.mcar { margin: 0; aspect-ratio: 16 / 9; display: grid; place-items: center; }
.mcar img { width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
html.js .mpanel:not([hidden]) .mcar img { animation: drive-in .8s cubic-bezier(.2, .7, .2, 1) backwards; }
@keyframes drive-in { from { opacity: 0; transform: translateX(7%); } }
.mlist h3 { display: flex; align-items: center; gap: .6rem; margin: 0 0 .2rem; font-size: 1.3rem; font-weight: 800; }
.mlist h3 .bm { width: 1.3rem; height: 1.3rem; }
html.js .mlist h3 { display: none; } /* the tab already names the marque */
.mcount { margin: 0 0 1.1rem; color: var(--muted); }
.mlist ul { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem 1.5rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.mlist li a { font-family: var(--disp); font-stretch: var(--disp-w); text-decoration: none; line-height: 1.2; transition: color .2s; }
.mlist li a:hover, .mlist li a:focus-visible { color: var(--blue); }
.mlist .s1 a { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 800; }
.mlist .s2 a { font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 700; }
.mlist .s3 a { font-size: 1.1rem; font-weight: 600; color: #3A3F45; }

/* ------------------------------------------------------------------ home: tyre change, straight under the hero.
   A compact orange band: the word, the price and the actions on the left, the photo filling the right column's height.
   On entry the word slides in and the photo opens left to right, the way a wheel comes on. */
.tyres { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto 1fr; grid-template-areas: "h shot" "info shot";
  column-gap: clamp(2rem, 4vw, 4rem); padding-block: clamp(2.5rem, 4.5vw, 3.5rem); background: var(--or); color: var(--ink); overflow-x: clip; }
.ty-h { grid-area: h; margin: 0 0 .75rem; font-family: var(--disp); font-stretch: var(--disp-w); font-weight: 800;
  font-size: clamp(2.3rem, 6.6vw, 6.4rem); line-height: 1.18; letter-spacing: -.035em; overflow-wrap: anywhere; }
.ty-shot { grid-area: shot; position: relative; margin: 0; min-height: 15rem; border-radius: var(--r); overflow: hidden; background: var(--night-2); }
.ty-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ty-info { grid-area: info; display: flex; flex-direction: column; align-items: flex-start; }
.ty-price { margin: 0 0 .5rem; font-family: var(--disp); font-stretch: var(--disp-w); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.18; letter-spacing: -.02em; }
.ty-text p { margin: 0 0 .5rem; max-width: 32em; font-size: 1.05rem; }
.tyres .acts { margin-top: .75rem; }
.tyres .btn { background: var(--ink); color: #fff; }
.tyres .btn:hover { background: #fff; color: var(--ink); }
.tyres .more:hover { color: #fff; }
html.js .ty-h { transition: opacity .7s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
html.js .ty-shot img { transition: clip-path 1.1s cubic-bezier(.6, 0, .2, 1) .15s; }
html.js .tyres:not(.in) .ty-h { opacity: 0; transform: translateX(-6%); }
html.js .tyres:not(.in) .ty-shot img { clip-path: inset(0 100% 0 0); }

/* ------------------------------------------------------------------ R4 home: ask form (night) beside "sell your car" (orange) */
.ask { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.ask-form { background: var(--night); color: #fff; padding: 5rem clamp(2rem, 5vw, 4.5rem) 5rem var(--gut); }
.ask-sell { background: var(--or); color: var(--ink); padding: 5rem var(--gut) 5rem clamp(2rem, 4vw, 3.5rem); display: flex; flex-direction: column; align-items: flex-start; }
.ask h2 { font-family: var(--disp); font-stretch: var(--disp-w); font-size: clamp(1.7rem, 2.8vw, 2.5rem); }
.ask-form h2 { margin: .4rem 0 -.25rem; }
.ask-sell h2 { margin-bottom: 1rem; }
.ask-sell p { margin: 0 0 .9rem; max-width: 34em; }
.ask-sell p + p { font-size: .95rem; }
.ask-sell .acts { margin-top: 1rem; }
.ask-sell .btn { background: var(--ink); color: #fff; }
.ask-sell .btn:hover { background: #fff; color: var(--ink); }
.ask-sell .more:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.teema { display: flex; flex-wrap: wrap; gap: .5rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.teema label { position: relative; }
.teema input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.teema span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.15rem; border-radius: var(--r-s); font-weight: 600; color: #C9CDD1; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); transition: background-color .2s, color .2s; }
.teema input:hover + span { color: #fff; }
.teema input:checked + span { background: #fff; color: var(--ink); box-shadow: none; }
.teema input:focus-visible + span { outline: 3px solid var(--blue-lt); outline-offset: 3px; }
.ask-form .field { color: #C9CDD1; }
.ask-form .field textarea { min-height: 8.5rem; border-color: #fff; }
.ask-form .field input { border-color: #fff; }
.ask-form .field input:focus, .ask-form .field textarea:focus { outline-color: var(--blue-lt); }
.ask-form .inq .err { color: #FF9C8F; }
.ask-form .form-error { color: #FF9C8F; }
.ask-form .btn:hover { background: #fff; color: var(--ink); }

/* ------------------------------------------------------------------ R4 home: contact band (map first) */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.75rem, 4vw, 4rem); align-items: start; padding-block: 5.5rem; }
.contact .map iframe { height: 32rem; }
.contact h2 { font-family: var(--disp); font-stretch: var(--disp-w); margin-bottom: 1rem; }
.contact-info > p { margin: 0 0 1.5rem; }
.facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0; margin: 0 0 2rem; }
.facts dt, .facts dd { padding: .85rem 0; border-top: 1px solid var(--rule); margin: 0; }
.facts dt { color: var(--muted); padding-right: 1.75rem; }
.facts dd { font-weight: 500; }
.facts a { font-weight: 700; }
.big-tel { font-family: var(--disp); font-stretch: var(--disp-w); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.6rem); text-decoration: none; display: inline-block; margin: 0 0 .5rem; }
.big-tel:hover { color: var(--blue); }
.map iframe { display: block; width: 100%; height: 26rem; border: 0; border-radius: var(--r); }
.map a { display: inline-flex; gap: .5rem; align-items: center; min-height: 44px; margin-top: .4rem; font-weight: 600; text-decoration: none; }
.map a:hover { color: var(--blue); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 70; background: rgba(8, 9, 10, .94); display: grid; place-items: center; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; border-radius: 999px; width: 3rem; height: 3rem; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: var(--or); color: var(--ink); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-prev .ic { transform: rotate(180deg); }

/* ------------------------------------------------------------------ footer: light, so the full logo reads */
.foot { background: #fff; color: var(--muted); font-size: .95rem; border-top: 1px solid var(--rule); }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding-block: 3.5rem 3rem; }
.foot img { width: 16rem; height: auto; margin: -.5rem 0 1rem; }
.foot h2 { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin: 0 0 .9rem; }
.foot p { margin: 0 0 .6rem; }
.foot a { text-decoration: none; color: var(--ink); }
.foot a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.foot .tel-l { font-family: var(--disp); font-stretch: var(--disp-w); font-weight: 800; font-size: 1.15rem; }
.foot-nav { display: grid; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.foot-bot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; padding-block: 1.4rem 1.75rem; border-top: 1px solid var(--rule); font-size: .85rem; color: var(--muted); }
.footer-credit { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.15; text-decoration: none; text-align: right; }
.footer-credit:hover { text-decoration: none !important; }
.footer-credit-name { font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em;
  background-image: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .9) 50%, transparent 70%), linear-gradient(90deg, var(--or-dk) 0%, var(--blue) 100%);
  background-size: 200% 100%, 100% 100%; background-position: 150% 0, 0 0; background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-credit:hover .footer-credit-name { animation: glimmer 1.1s ease; }
@keyframes glimmer { from { background-position: 150% 0, 0 0; } to { background-position: -50% 0, 0 0; } }
.footer-credit-sub { font-size: .72rem; letter-spacing: .05em; color: var(--muted); }

/* ------------------------------------------------------------------ 404 */
.lost { padding-block: 4rem 6rem; display: grid; gap: 1rem; justify-items: start; }
.lost p { max-width: 36em; color: var(--muted); margin: 0; }
.lost .acts { margin-top: .5rem; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .cars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cars--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cars--list { grid-template-columns: minmax(0, 1fr); }
  .parts { grid-template-columns: minmax(0, 1fr); }
  .terms-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pindex { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .pindex-side { position: static; }
  .pindex-shot { display: none; }
  .pindex-list a { grid-template-columns: 4.75rem minmax(0, 1fr) auto; gap: 1.1rem; padding: .9rem 0; }
  .pindex-list a img { display: block; width: 4.75rem; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-s); }
  .marques a { padding-inline: 1rem; gap: .75rem; }
  .marques .bm { width: 2.1rem; height: 2.1rem; }
  .cat { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding-top: 1.5rem; }
  .side { position: static; }
  .side details { display: block; }
  .side summary { display: inline-flex; align-items: center; gap: .6rem; padding: 0 1.2rem; border-radius: var(--r-s); background: var(--ink); color: #fff; font-weight: 700; cursor: pointer; list-style: none; min-height: 44px; }
  .side summary::-webkit-details-marker { display: none; }
  .side .side-body { display: grid; gap: 1.4rem; padding: 1.25rem 0 .5rem; }
  .detail, .split, .same { grid-template-columns: minmax(0, 1fr); }
  .mpanel, .ask, .contact { grid-template-columns: minmax(0, 1fr); }
  .mpanel { gap: 1.25rem; }
  .ask-form, .ask-sell { padding: 4rem var(--gut); }
  .contact-info { order: -1; }
  .foot-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --head-h: 4.25rem; --logo-h: 4.6rem; }
  .top nav { display: none; }
  .menu-btn { display: inline-flex; justify-self: start; }
  .brand::before { border-radius: 0 0 .4rem .4rem; }
  .call span, .call b { display: none; }
  .call-ic { display: block; width: 22px; height: 22px; }
  .call { width: 44px; height: 44px; justify-content: center; background: var(--or); color: var(--ink); border-radius: 50%; }
  .hero { min-height: auto; }
  /* phone: the photo gets its own block on top (a 3:2 frame shows the whole car), copy sits on night below */
  .shots { bottom: auto; height: 19.5rem; }
  .hero::before { background: linear-gradient(to bottom, rgba(14, 15, 17, 0) 0, rgba(14, 15, 17, 0) 11.5rem, rgba(14, 15, 17, .85) 17.5rem, var(--night) 19.5rem); }
  .hero-copy { padding-top: 16rem; }
  .finder select, .finder select[name=mark] { width: 100%; }
  .finder label:nth-of-type(-n+2) { flex: 1 1 100%; }
  .finder input { width: 6.9rem; }
  .finder button { flex: 1; justify-content: center; }
  .marques { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .marques a, .marques a:first-child { flex-direction: column; justify-content: center; gap: .4rem; padding: .9rem .25rem 1rem; min-height: 0; text-align: center; }
  .marques a + a { box-shadow: inset 1px 0 0 var(--line-d); }
  .marques .bm { width: 1.9rem; height: 1.9rem; }
  .marques b { font-size: .8rem; font-family: var(--f); font-stretch: normal; font-weight: 700; }
  .prog, .marques a:first-child .prog { left: .5rem; right: .5rem; }
  .intro-band { padding-top: calc(var(--head-h) + 2.5rem); }
  .crumbs--light { padding-top: calc(var(--head-h) + 1.75rem); max-width: none; }
  .band { padding-block: 4rem; }
  .pindex { padding-block: 3.5rem 3rem; }
  .head { flex-direction: column; align-items: start; }
  .pindex-list a { grid-template-columns: 4rem minmax(0, 1fr) auto; gap: .9rem; }
  .pindex-list a img { width: 4rem; }
  .pindex-list .t > span { font-size: .875rem; }
  .cars, .cars--3 { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .cars--list .car { grid-template-columns: 7.5rem minmax(0, 1fr); gap: .9rem; }
  .cars--list .car h3 { font-size: 1rem; }
  .part { grid-template-columns: 6.5rem minmax(0, 1fr); gap: .9rem; }
  .parts--list .part { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .parts--list .part > div { grid-template-columns: minmax(0, 1fr); }
  .parts--list .part .buy { grid-column: 1; grid-row: auto; padding-top: .35rem; }
  .terms-in { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  .thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mk { grid-template-columns: repeat(2, auto); }
  .strip { grid-auto-columns: 62%; }
  .inq { grid-template-columns: minmax(0, 1fr); }
  .bar { flex-direction: column; align-items: stretch; }
  .bar form { justify-content: space-between; }
  .foot-in { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-block: 3rem 2rem; }
  .foot-bot { flex-direction: column; align-items: flex-start; }
  .footer-credit { align-items: flex-start; text-align: left; }
  .map iframe, .contact .map iframe { height: 18rem; }
  .models { padding-bottom: 3.5rem; }
  .mtabs { gap: .25rem .9rem; flex-wrap: nowrap; }
  .mtabs button { font-size: clamp(1rem, 4.6vw, 1.25rem); padding-bottom: .7rem; }
  .mtabs button .bm { display: none; }
  .mpanel { padding-top: 1.5rem; }
  .mlist ul { gap: .3rem 1.1rem; }
  .ask-form, .ask-sell { padding-block: 3.25rem; }
  .contact { padding-block: 3.5rem; }
  .tyres { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "h" "shot" "info"; row-gap: 1.25rem; }
  .ty-h { margin: 0; font-size: clamp(2.3rem, 11.4vw, 3rem); }
  .ty-shot { min-height: 0; aspect-ratio: 2 / 1; }
  .ty-text p { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .shots img { transform: none; }
}


/* ------------------------------------------------------------------ platform additions */

/* The CMS wraps every block in <section class="cms-block">; a sticky element only sticks within its parent,
   so the header's wrapper must not be a box. */
#sisu > .cms-block--vg-header { display: contents; }
#sisu > .cms-block--vg-catalog-copy { display: none; }
#sisu { display: block; }

/* enquiry forms (posted to the platform's api/custom-form.php) */
.inq .shield { min-height: 0; }
.inq .shield:empty { display: none; }
.inq .wide.shield .vg-captcha, .vg-captcha { margin: .25rem 0; }
.inq .btn[disabled] { opacity: .6; cursor: progress; }
.form-ok { grid-column: 1 / -1; margin: 0; padding: .9rem 1.1rem; border-radius: var(--r-s); background: #EAF6EE; color: #14532D; font-weight: 600; }
.form-ok[hidden], .form-error[hidden] { display: none; }
.ask-form .form-ok { background: rgba(255, 255, 255, .12); color: #fff; }
.inq .field.bad input, .inq .field.bad textarea, .inq .field.bad select { border-color: var(--err); box-shadow: 0 0 0 1px var(--err); }
.ask-form .inq { gap: 1rem; }
.ask-sell__text p { margin: 0 0 .9rem; max-width: 34em; }
.ask-sell__text p + p { font-size: .95rem; }
.ask-sell__text { display: block; }

/* catalogue-copy holder: only ever visible inside the editor */
.vg-holder { margin: 1rem var(--gut); padding: 1rem 1.25rem; border: 1px dashed var(--field); border-radius: var(--r); background: var(--mist); color: var(--ink); }
.vg-holder p { margin: 0 0 .4rem; }
.vg-holder ul { margin: .4rem 0 0; padding-left: 1.2rem; }

/* ------------------------------------------------------------------ editor canvas */
:is(.cms-edit-mode, :scope.cms-tpl-scope) .top { position: relative; margin-bottom: 0; }
:is(.cms-edit-mode, :scope.cms-tpl-scope) .top::before { background: #fff; }
:is(.cms-edit-mode, :scope.cms-tpl-scope) .brand { height: calc(var(--logo-h) + 1rem); }
:is(.cms-edit-mode, :scope.cms-tpl-scope) .brand::before { display: none; }
:is(.cms-edit-mode, :scope.cms-tpl-scope) .hero { min-height: 640px; }
:is(.cms-edit-mode, :scope.cms-tpl-scope) .hero-copy { padding-top: 6rem; }
:is(.cms-edit-mode, :scope.cms-tpl-scope) .sheet { display: none; }
:is(.cms-edit-mode, :scope.cms-tpl-scope) [contenteditable]:empty::before { content: "+ lisa"; opacity: .45; font-weight: 400; }
:is(.cms-edit-mode, :scope.cms-tpl-scope) .mtabs[hidden] { display: flex; }
