/* =====================================================================
   VOLARE main site. Same identity as the QR page (brand.json v2.0):
   Nero / Ottone / Avorio / Cuoio, Libre Baskerville for headings and
   pulled quotes, Inter for everything else. Where the QR page is a
   single 660px column for one hand on a phone, this page also has to
   work on a desk, so grids open out above 900px and prose stays at 660.
   ===================================================================== */

@font-face{ font-family:'Libre Baskerville'; font-style:normal; font-weight:400; src:url('/fonts/libre-baskerville-400.woff2') format('woff2'); font-display:swap; }
@font-face{ font-family:'Libre Baskerville'; font-style:italic; font-weight:400; src:url('/fonts/libre-baskerville-400-italic.woff2') format('woff2'); font-display:swap; }
@font-face{ font-family:'Inter'; font-style:normal; font-weight:100 900; src:url('/fonts/inter-var.woff2') format('woff2'); font-display:swap; }

:root{
  --nero:#191917; --ottone:#B7A078; --avorio:#F2EBDD; --cuoio:#563C2D; --avorio-deep:#E7DFCC;
  --ink:#191917; --ink-muted:#54504A; --ink-faint:#5F5A50;
  --reverse:#F2EBDD; --reverse-muted:#C2BAA9; --rule:#D8CEB9; --rule-dark:#3A362F;
  --font-display:'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --font-body:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; scroll-padding-top:64px; }
@media (prefers-reduced-motion:reduce){ html{ scroll-behavior:auto; } }
body{ margin:0; background:var(--avorio); color:var(--ink); font-family:var(--font-body); font-size:18px; line-height:1.65; -webkit-font-smoothing:antialiased; }
.wrap{ width:100%; max-width:660px; margin:0 auto; padding-left:24px; padding-right:24px; }
.wrap.wide{ max-width:1120px; }
@media(min-width:760px){ .wrap{ padding-left:32px; padding-right:32px; } }
h1,h2,h3{ font-family:var(--font-display); font-weight:400; margin:0; line-height:1.15; }
p{ margin:0 0 20px; max-width:65ch; }
a{ color:inherit; }
.label{ font-family:var(--font-body); font-weight:500; font-size:12px; letter-spacing:0.2em; text-transform:uppercase; color:var(--ink-faint); margin:0 0 16px; }
.on-dark .label, .on-cuoio .label{ color:var(--ottone); }
.arrow{ color:var(--cuoio); }
.on-dark .arrow{ color:var(--ottone); }
.skip{ position:absolute; left:-9999px; }
.skip:focus{ left:12px; top:12px; z-index:60; background:var(--nero); color:var(--reverse); padding:12px 16px; }
:focus-visible{ outline:2px solid var(--cuoio); outline-offset:2px; }
.on-dark :focus-visible{ outline-color:var(--ottone); }

/* ---------- language offer -------------------------------------------- */
.langbar{ position:fixed; top:0; left:0; right:0; z-index:46; background:var(--cuoio); color:var(--reverse); font-size:15px; }
.has-langbar .top{ top:44px; }
.langbar .wrap{ display:flex; align-items:center; gap:14px; min-height:44px; padding-top:6px; padding-bottom:6px; }
.langbar a{ font-weight:500; color:var(--reverse); text-decoration:underline; text-underline-offset:3px; }
.langbar button{ margin-left:auto; background:none; border:0; color:var(--reverse-muted); font-size:22px; line-height:1; cursor:pointer; padding:4px 6px; }

/* ---------- header ------------------------------------------------------ */
/* ---------- the header that glides ----------------------------------------
   The signature with its tagline opens the page at 340px and shrinks to the
   132px wordmark as you scroll. --p runs 0 to 1 over the first
   --head-run pixels of scroll, set by home.js every frame. Everything
   below is a plain function of --p, and the header is FIXED (out of the
   document flow, with the page padded by its expanded height), so its
   shrinking never moves the page under the finger. That is what caused the
   judder before. */
:root{ --head-max:150px; --head-min:60px; --head-run:180px; }
@media(max-width:759px){ :root{ --head-max:200px; --head-run:220px; } }
body{ padding-top:var(--head-max); }
.has-langbar{ padding-top:calc(var(--head-max) + 44px); }
.top{ position:fixed; top:0; left:0; right:0; z-index:45; overflow:hidden;
      height:calc(var(--head-max) - (var(--head-max) - var(--head-min)) * var(--p, 0));
      background:rgba(242,235,221,.96); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); border-bottom:1px solid var(--rule); }
.top .wrap{ height:100%; position:relative; }
/* The two marks share a left edge; the signature shrinks, the wordmark fades in over the last stretch. */
.sig-block{ display:block; flex:0 0 auto; position:relative; width:calc(340px - 208px * var(--p, 0)); }
.sig-block .sig{ display:block; width:100%; height:auto; opacity:calc(1 - clamp(0, (var(--p, 0) - 0.55) / 0.45, 1)); }
.brand{ position:absolute; left:24px; top:50%; transform:translateY(-50%); width:132px; pointer-events:none; opacity:clamp(0, (var(--p, 0) - 0.55) / 0.45, 1); }
@media(min-width:760px){ .brand{ left:32px; } }
.brand .mark{ display:block; width:100%; height:auto; }
@media(max-width:759px){
  /* Two rows: the signature on its own line, then the bar. The whole block
     slides up by the first row's height as --p grows. */
  .top .wrap{ flex-wrap:wrap; align-content:flex-start; height:auto; transform:translateY(calc(-140px * var(--p, 0))); }
  .sig-block{ flex:1 1 100%; width:auto; min-height:140px; display:flex; align-items:center; padding:4px 0; }
  .sig-block .sig{ width:min(320px, 100%); }
  .brand{ position:static; transform:none; order:2; flex:0 0 132px; min-height:60px; display:flex; align-items:center; }
  .lang{ order:3; min-height:60px; display:flex; align-items:center; }
  .btn-top{ order:4; }
}
.top .wrap{ display:flex; align-items:center; gap:20px; min-width:0; }
.brand{ display:block; flex:0 0 auto; width:132px; }

.nav{ display:none; gap:20px; margin-left:4px; flex:0 1 auto; min-width:0; overflow:hidden; white-space:nowrap; }
.nav a{ white-space:nowrap; font-family:var(--font-body); font-weight:500; font-size:12.5px; letter-spacing:0.14em; text-transform:uppercase; text-decoration:none; color:var(--ink-muted); padding:6px 0; border-bottom:1px solid transparent; }
.nav a:hover{ color:var(--ink); border-color:var(--ottone); }
@media(min-width:1100px){ .nav{ display:flex; } }
.lang{ margin-left:auto; position:relative; flex-shrink:0; }
.lang summary{ white-space:nowrap; list-style:none; cursor:pointer; display:inline-flex; align-items:center; gap:8px; font-family:var(--font-body); font-weight:500; font-size:12.5px; letter-spacing:0.12em; text-transform:uppercase; color:var(--ink); padding:8px 0; }
.lang summary::-webkit-details-marker{ display:none; }
.lang summary .mk{ color:var(--ink-faint); }
.lang summary::after{ content:""; width:6px; height:6px; border-right:1px solid var(--ink); border-bottom:1px solid var(--ink); transform:rotate(45deg) translateY(-2px); }
.lang .menu{ position:absolute; right:0; top:calc(100% + 6px); background:var(--avorio); border:1px solid var(--rule); box-shadow:0 12px 30px rgba(25,25,23,.12); padding:16px 18px; min-width:230px; z-index:50; }
.menu-h{ font-family:var(--font-body); font-weight:500; font-size:11px; letter-spacing:0.18em; text-transform:uppercase; color:var(--ink-faint); margin:0 0 8px; }
.menu-h + .menu-h, .langs + .menu-h{ margin-top:14px; }
.langs{ display:flex; flex-direction:column; }
.langs a, .langs .cur{ font-size:15px; padding:6px 0; text-decoration:none; color:var(--ink); border-bottom:1px solid var(--rule); }
.langs .cur{ color:var(--ink-faint); }
.langs a:hover{ color:var(--cuoio); }
.markets{ display:flex; flex-wrap:wrap; gap:8px; }
[data-market]{ font-family:var(--font-body); font-weight:500; font-size:12px; letter-spacing:0.1em; text-transform:uppercase; background:none; border:1px solid var(--rule); color:var(--ink-muted); padding:8px 12px; cursor:pointer; min-height:38px; }
[data-market][aria-pressed="true"]{ background:var(--nero); color:var(--reverse); border-color:var(--nero); }
.btn-top{ flex-shrink:0; display:inline-flex; align-items:center; min-height:40px; padding:0 16px; background:var(--nero); color:var(--reverse); text-decoration:none; font-family:var(--font-body); font-weight:500; font-size:12px; letter-spacing:0.14em; text-transform:uppercase; }
@media(max-width:559px){ .btn-top{ display:none; } .top .wrap{ gap:14px; } }

/* ---------- hero -------------------------------------------------------- */
.hero{ position:relative; background:var(--nero); color:var(--reverse); }
.hero-img{ display:block; }
.hero-img img{ display:block; width:100%; height:84vh; height:84svh; min-height:520px; object-fit:cover; object-position:62% 50%; }
.hero-body{ position:absolute; left:0; right:0; bottom:0; padding:160px 0 60px; background:linear-gradient(to top, rgba(25,25,23,.94) 0%, rgba(25,25,23,.62) 45%, rgba(25,25,23,0) 100%); }
@media(max-width:759px){
  .hero-img img{ height:60vh; height:60svh; min-height:380px; object-position:60% 50%; }
  .hero-body{ position:static; padding:28px 0 40px; background:var(--nero); }
}
.kicker{ font-family:var(--font-body); font-weight:500; font-size:11.5px; letter-spacing:0.18em; text-transform:uppercase; color:var(--ottone); margin:0 0 18px; }
.kicker::before{ content:""; display:block; width:32px; height:1px; background:var(--ottone); margin-bottom:14px; }
.hero h1{ font-size:clamp(2.3rem,6.4vw,4.6rem); line-height:1.06; max-width:14ch; margin:0 0 16px; }
.hero .sub{ font-size:clamp(1.05rem,2vw,1.25rem); color:var(--reverse-muted); max-width:46ch; margin:0 0 22px; }
.price-line{ color:var(--reverse); font-weight:500; font-size:1rem; margin:0 0 28px; padding-left:14px; border-left:2px solid var(--ottone); max-width:40ch; }
.hero-actions{ display:flex; flex-wrap:wrap; align-items:center; gap:22px 28px; }
.btn-primary{ display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:54px; padding:0 24px; background:var(--avorio); color:var(--nero); text-decoration:none; font-family:var(--font-body); font-weight:500; font-size:13px; letter-spacing:0.14em; text-transform:uppercase; }
.btn-primary .arrow{ color:var(--cuoio); }
@media(max-width:559px){ .btn-primary{ width:100%; } }
.discover{ display:inline-flex; align-items:center; gap:10px; text-decoration:none; font-family:var(--font-body); font-weight:500; font-size:12.5px; letter-spacing:0.16em; text-transform:uppercase; color:var(--reverse); border-bottom:1px solid var(--rule-dark); padding-bottom:9px; }
.discover:hover{ border-color:var(--ottone); }
@media(min-width:900px){ .hero .sub{ max-width:52ch; } }

/* ---------- lead photo -------------------------------------------------- */
figure{ margin:0; }
figure img{ width:100%; height:auto; display:block; }
.lead-photo picture{ display:block; overflow:hidden; max-height:72vh; }
.lead-photo img{ object-fit:cover; max-height:72vh; }
.lead-photo figcaption{ font-size:14px; color:var(--ink-faint); padding-top:12px; padding-bottom:4px; }

/* ---------- bands ------------------------------------------------------- */
.band{ padding-top:64px; padding-bottom:64px; }
@media(max-width:759px){ .band{ padding-top:40px; padding-bottom:40px; } }
main .band + .band{ border-top:1px solid var(--rule); }
.band h2{ font-size:clamp(1.75rem,4.2vw,2.6rem); margin-bottom:18px; max-width:22ch; }
.band .intro, .band .lead{ color:var(--ink); font-size:clamp(1rem,1.6vw,1.15rem); max-width:60ch; }
.band p{ color:var(--ink-muted); }
.band .lead{ color:var(--ink); }
.deep{ background:var(--avorio-deep); }
.deep + .band{ border-top:0 !important; }
.keeps{ list-style:none; margin:0; padding:0; max-width:none; }
.keeps li{ position:relative; padding:14px 0 14px 26px; border-bottom:1px solid var(--rule); color:var(--ink); font-size:1rem; }
.keeps li:first-child{ border-top:1px solid var(--rule); }
.keeps li::before{ content:""; position:absolute; left:2px; top:24px; width:9px; height:1px; background:var(--ottone); }

/* ---------- the cars ---------------------------------------------------- */
.currency{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:6px 0 34px; }
.currency-h{ font-family:var(--font-body); font-weight:500; font-size:11.5px; letter-spacing:0.18em; text-transform:uppercase; color:var(--ink-faint); margin-right:6px; }
.tier{ display:grid; gap:26px; padding:44px 0 36px; border-top:1px solid var(--rule); }
.tier:first-of-type{ border-top:0; padding-top:10px; }
.tier-head h3{ font-size:clamp(1.45rem,2.6vw,1.9rem); margin-bottom:12px; }
.tier-head p{ font-size:1rem; margin-bottom:12px; }
.tier-head .warr{ font-family:var(--font-body); font-weight:500; font-size:12px; letter-spacing:0.14em; text-transform:uppercase; color:var(--cuoio); margin:0; }
.models{ display:grid; gap:18px; }
@media(min-width:600px){ .models{ grid-template-columns:1fr 1fr; } }
@media(min-width:900px){ .tier{ grid-template-columns:minmax(0,1fr) minmax(0,2fr); gap:48px; } }
.model{ position:relative; border-top:1px solid var(--ink); padding:22px 0 8px; display:flex; flex-direction:column; }
.model.featured{ border-top:2px solid var(--ottone); }
@media(min-width:600px){ .models{ gap:40px; } }
.model .drive{ font-family:var(--font-body); font-weight:500; font-size:12px; letter-spacing:0.18em; text-transform:uppercase; color:var(--ink); margin:0 0 20px; }
.model .from{ font-family:var(--font-body); font-weight:500; font-size:11px; letter-spacing:0.18em; text-transform:uppercase; color:var(--ink-faint); margin:0 0 4px; }
.model .fig{ font-family:var(--font-display); font-size:clamp(1.8rem,3.2vw,2.5rem); line-height:1.1; color:var(--ink); margin:0; }
.model .eur{ font-size:14px; color:var(--ink-faint); margin:6px 0 0; min-height:0; }
.model .eur:empty{ display:none; }
.model .freight{ font-size:13px; color:var(--ink-faint); margin:4px 0 16px; }
.model .blurb{ font-size:15.5px; line-height:1.55; color:var(--ink-muted); margin:0 0 20px; flex:1; }
.pick{ display:inline-flex; align-items:center; gap:8px; align-self:flex-start; text-decoration:none; font-family:var(--font-body); font-weight:500; font-size:12px; letter-spacing:0.14em; text-transform:uppercase; color:var(--ink); border-bottom:1px solid var(--rule); padding-bottom:6px; }
.pick:hover{ border-color:var(--ottone); }
.pnote{ font-size:14px; color:var(--ink-faint); margin:18px 0 0; max-width:70ch; }
.cars .options{ margin-top:44px; max-width:660px; }

/* ---------- electric ---------------------------------------------------- */
.electric{ padding-top:0 !important; }
.wide-photo{ margin:0 0 56px; }
.wide-photo picture{ display:block; overflow:hidden; }
.wide-photo img{ width:100%; height:auto; max-height:78vh; object-fit:cover; display:block; }
@media(max-width:759px){ .wide-photo{ margin-bottom:36px; } }
.electric .keeps{ margin-top:10px; }
.pull{ margin:30px 0 26px; padding:0 0 0 22px; border-left:2px solid var(--ottone); font-family:var(--font-display); font-size:clamp(1.25rem,2.4vw,1.6rem); line-height:1.35; color:var(--ink); max-width:26ch; }
.pull cite{ display:block; font-family:var(--font-body); font-style:normal; font-size:13px; letter-spacing:0.08em; color:var(--ink-faint); margin-top:12px; }
.more{ display:inline-flex; align-items:center; gap:10px; text-decoration:none; font-family:var(--font-body); font-weight:500; font-size:12.5px; letter-spacing:0.14em; text-transform:uppercase; color:var(--ink); border-bottom:1px solid var(--rule); padding-bottom:8px; }
.more:hover{ border-color:var(--ottone); }
.petrol{ margin-top:36px; padding-top:26px; border-top:1px solid var(--rule); }
.petrol h3{ font-size:1.25rem; margin-bottom:10px; }
.petrol p{ font-size:1rem; margin:0; }

/* ---------- how it works ------------------------------------------------ */
.steps{ list-style:none; margin:0; padding:0; counter-reset:step; }
.steps li{ counter-increment:step; position:relative; padding:16px 0 16px 46px; border-bottom:1px solid var(--rule); font-size:1rem; line-height:1.55; color:var(--ink); }
.steps li:first-child{ border-top:1px solid var(--rule); }
.steps li::before{ content:counter(step); position:absolute; left:0; top:14px; width:28px; height:28px; border:1px solid var(--ottone); border-radius:50%; color:var(--cuoio); font-family:var(--font-display); font-size:14px; line-height:26px; text-align:center; }
.finance{ margin:22px 0 0; font-size:1rem; color:var(--ink); padding-left:14px; border-left:2px solid var(--ottone); }
.warranty{ margin-top:44px; }
.warranty .fine{ font-size:14px; color:var(--ink-faint); margin:14px 0 0; }

/* ---------- where ------------------------------------------------------- */
section.where{ background:var(--cuoio); color:var(--reverse); padding:64px 0; }
@media(max-width:759px){ section.where{ padding:44px 0; } }
section.where .big{ font-family:var(--font-display); font-size:clamp(1.5rem,3.6vw,2.3rem); line-height:1.25; color:var(--reverse); max-width:24ch; margin:0 0 18px; }
section.where .sub{ color:var(--reverse-muted); font-size:1rem; max-width:52ch; margin:0; }

/* ---------- team -------------------------------------------------------- */
.people{ list-style:none; margin:10px 0 0; padding:0; }
.people li{ display:flex; flex-wrap:wrap; gap:6px 18px; align-items:baseline; padding:16px 0; border-bottom:1px solid var(--rule); }
.people li:first-child{ border-top:1px solid var(--rule); }
.people .who{ font-family:var(--font-display); font-size:1.35rem; color:var(--ink); min-width:110px; }
.people .role{ font-size:15px; color:var(--ink-muted); }
.team .ask{ margin:22px 0 0; font-size:1rem; color:var(--ink); }
.team .ask a{ color:var(--cuoio); }

/* ---------- faq --------------------------------------------------------- */
.faq details{ border-top:1px solid var(--rule); }
.faq details:last-of-type{ border-bottom:1px solid var(--rule); }
.faq summary{ list-style:none; cursor:pointer; position:relative; padding:14px 34px 14px 0; font-family:var(--font-display); font-size:1.12rem; line-height:1.35; color:var(--ink); }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; position:absolute; right:2px; top:50%; transform:translateY(-50%); font-family:var(--font-body); font-size:1.3rem; color:var(--cuoio); }
.faq details[open] summary::after{ content:"\2013"; }
.faq details p{ color:var(--ink-muted); margin:0 0 16px; font-size:1rem; max-width:none; }

/* ---------- enquiry ----------------------------------------------------- */
.register{ background:var(--avorio-deep); padding:64px 0 68px; }
@media(max-width:759px){ .register{ padding:40px 0 48px; } }
.register h2{ font-size:clamp(1.7rem,4vw,2.4rem); margin:0 0 16px; }
.register .intro{ color:var(--ink-muted); }
form{ margin-top:28px; }
fieldset{ border:0; margin:0 0 26px; padding:0; }
legend{ font-family:var(--font-body); font-weight:500; font-size:12px; letter-spacing:0.14em; text-transform:uppercase; color:var(--ink-muted); margin-bottom:12px; padding:0; }
.choices{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.choice{ display:block; position:relative; cursor:pointer; margin:0; font-size:1rem; color:var(--ink); text-transform:none; letter-spacing:0; font-weight:400; }
.choice input{ position:absolute; opacity:0; width:0; height:0; }
.choice span{ display:block; border:1px solid var(--rule); background:var(--avorio); padding:13px 12px 13px 42px; line-height:1.3; min-height:54px; font-size:15px; }
.choice small{ display:block; color:var(--ink-faint); font-size:13px; margin-top:3px; }
.choice span::before{ content:""; position:absolute; left:14px; top:50%; transform:translateY(-50%); width:17px; height:17px; border:1px solid var(--ink-faint); border-radius:50%; }
.choice input:checked + span{ border-color:var(--nero); background:#fff; }
.choice input:checked + span::before{ border-color:var(--nero); border-width:5px; }
.choice input:focus-visible + span{ outline:2px solid var(--cuoio); outline-offset:2px; }
.row{ display:grid; gap:16px; }
@media(min-width:560px){ .row.two{ grid-template-columns:1fr 1fr; } }
.field{ margin-bottom:18px; }
label{ display:block; font-family:var(--font-body); font-weight:500; font-size:12.5px; letter-spacing:0.12em; text-transform:uppercase; color:var(--ink-muted); margin-bottom:8px; }
.req{ color:var(--cuoio); }
.opt{ text-transform:none; letter-spacing:0; font-weight:400; color:var(--ink-faint); }
input[type=text],input[type=email],textarea{ width:100%; font-family:var(--font-body); font-size:16px; color:var(--ink); background:var(--avorio); border:1px solid var(--rule); padding:15px 14px; border-radius:0; min-height:54px; -webkit-appearance:none; }
textarea{ min-height:80px; resize:vertical; line-height:1.55; }
input:focus,textarea:focus{ outline:2px solid var(--cuoio); outline-offset:1px; border-color:var(--cuoio); }
.field.bad input{ border-color:#9B3B23; }
.err{ display:none; color:#8E3520; font-size:14px; margin:8px 0 0; }
.field.bad .err{ display:block; }
button[type=submit]{ width:100%; min-height:60px; background:var(--nero); color:var(--reverse); border:0; font-family:var(--font-body); font-weight:500; font-size:13.5px; letter-spacing:0.14em; text-transform:uppercase; cursor:pointer; margin-top:8px; }
button[type=submit]:disabled{ opacity:.55; cursor:default; }
.small{ font-size:14px; color:var(--ink-faint); margin:16px 0 0; line-height:1.6; }
.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.failed{ display:none; margin:18px 0 0; padding:16px 18px; border:1px solid #9B3B23; background:#F7E8E2; }
.failed.show{ display:block; }
.failed p{ margin:0; color:#7E2F1B; font-size:15px; }
.done{ display:none; text-align:center; padding:34px 0 12px; }
.done.show{ display:block; }
.done img{ width:40px; height:auto; margin:0 auto 20px; display:block; }
.done h2{ margin-bottom:14px; }
.done p{ color:var(--ink-muted); margin-left:auto; margin-right:auto; }

/* ---------- sticky enquiry bar (phones) --------------------------------- */
.sticky-cta{ position:fixed; left:0; right:0; bottom:0; z-index:40; background:rgba(25,25,23,.97); padding:12px 18px calc(12px + env(safe-area-inset-bottom, 0px)); transform:translateY(105%); transition:transform .38s cubic-bezier(.22,.61,.36,1); border-top:1px solid var(--rule-dark); }
.sticky-cta.show{ transform:none; }
.sticky-cta a{ display:flex; align-items:center; justify-content:center; gap:10px; min-height:54px; background:var(--avorio); color:var(--nero); text-decoration:none; font-family:var(--font-body); font-weight:500; font-size:13px; letter-spacing:0.14em; text-transform:uppercase; }
.sticky-cta .arrow{ color:var(--cuoio); }
@media (min-width:821px){ .sticky-cta{ display:none; } }
@media (prefers-reduced-motion:reduce){ .sticky-cta{ transition:none; } }

/* ---------- footer ------------------------------------------------------ */
.close{ background:var(--nero); color:var(--reverse); padding:64px 0 60px; text-align:center; }
@media(max-width:759px){ .close{ padding:44px 0; } }
.close picture{ display:block; margin:0 auto 34px; max-width:460px; }
.close .sig{ display:block; width:100%; height:auto; }
.close .fine{ font-size:14px; color:var(--reverse-muted); line-height:1.9; margin:0 auto 10px; max-width:44ch; }
.close a{ color:var(--reverse); }
.socials{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px 22px; margin:18px 0 6px; }
.socials a, .socials .soon{ font-family:var(--font-body); font-weight:500; font-size:12.5px; letter-spacing:0.14em; text-transform:uppercase; text-decoration:none; color:var(--reverse-muted); border-bottom:1px solid var(--rule-dark); padding-bottom:4px; }
.socials .soon{ border-bottom-style:dashed; }
.langs-foot{ margin-top:22px; }
.langs-foot a, .langs-foot .cur{ margin:0 6px; }
.langs-foot .cur{ color:var(--reverse); border-bottom:1px solid var(--ottone); }

/* ---------- motion. Nothing hidden by default. ------------------------- */
@media (prefers-reduced-motion:no-preference){
  @supports (animation-timeline: scroll()){
    .r{ animation:rise linear both; animation-timeline:view(block); animation-range:entry 5% cover 24%; }
    @keyframes rise{ from{ opacity:0; transform:translateY(22px); } to{ opacity:1; transform:none; } }
    .keeps li, .steps li, .people li{ animation:rise linear both; animation-timeline:view(block); animation-range:entry calc(2% + (var(--i,0) * 4%)) cover calc(18% + (var(--i,0) * 4%)); }
    .wide-photo img{ animation:drift linear both; animation-timeline:view(block); animation-range:cover 0% cover 100%; will-change:transform; }
    @keyframes drift{ from{ transform:scale(1.08) translateY(-2%); } to{ transform:scale(1.08) translateY(2%); } }
  }
  @supports not (animation-timeline: scroll()){
    .js .r{ opacity:0; transform:translateY(16px); transition:opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
    .js .r.in{ opacity:1; transform:none; }
  }
  .hero-img img{ animation:fadeIn 1.1s ease-out both; }
  .hero .kicker{ animation:fadeIn .7s ease-out .3s both; }
  .hero h1{ animation:revealUp 1s cubic-bezier(.22,.61,.36,1) .45s both; }
  .hero .sub{ animation:revealUp .9s cubic-bezier(.22,.61,.36,1) .7s both; }
  .hero .price-line{ animation:revealUp .9s cubic-bezier(.22,.61,.36,1) .9s both; }
  .hero .hero-actions{ animation:fadeIn .8s ease-out 1.1s both; }
  @keyframes fadeIn{ from{ opacity:0; } to{ opacity:1; } }
  @keyframes revealUp{ from{ opacity:0; transform:translateY(20px); } to{ opacity:1; transform:none; } }
}

/* ---------- available now ---------------------------------------------- */
.stock-head{ padding:56px 0 36px; }
@media(max-width:759px){ .stock-head{ padding-top:36px; padding-bottom:24px; } }
.stock-head h1{ font-size:clamp(2rem,5vw,3.4rem); margin:0 0 16px; max-width:16ch; }
.stock-head .intro{ color:var(--ink-muted); font-size:clamp(1rem,1.6vw,1.15rem); max-width:56ch; }
.countries{ display:flex; flex-wrap:wrap; gap:8px; margin:10px 0 0; }
.countries a{ font-family:var(--font-body); font-weight:500; font-size:12px; letter-spacing:0.1em; text-transform:uppercase; text-decoration:none; border:1px solid var(--rule); color:var(--ink-muted); padding:9px 12px; min-height:38px; display:inline-flex; align-items:center; }
.countries a[aria-current="true"]{ background:var(--nero); color:var(--reverse); border-color:var(--nero); }
.stock-group{ padding:44px 0 20px; border-top:1px solid var(--rule); }
.stock-group.first{ border-top:0; padding-top:10px; }
.stock-group h2{ font-size:clamp(1.5rem,3vw,2.1rem); margin:0 0 22px; }
.stock-group .empty{ color:var(--ink-muted); font-size:1.05rem; max-width:52ch; padding:26px 0 10px; border-top:1px solid var(--rule); }
.cars-grid{ display:grid; gap:40px 32px; }
@media(min-width:700px){ .cars-grid{ grid-template-columns:1fr 1fr; } }
@media(min-width:1100px){ .cars-grid{ grid-template-columns:1fr 1fr 1fr; } }
.car{ display:flex; flex-direction:column; border-top:1px solid var(--ink); padding-top:0; }
.car.sold, .car.reserved{ opacity:.72; }
.car picture{ display:block; overflow:hidden; aspect-ratio:3/2; background:var(--avorio-deep); }
.car img{ width:100%; height:100%; object-fit:cover; display:block; }
.car .noimg{ display:flex; align-items:center; justify-content:center; aspect-ratio:3/2; background:var(--avorio-deep); }
.car .noimg img{ width:54px; height:auto; opacity:.5; }
.car .meta{ display:flex; align-items:center; gap:12px; margin:18px 0 8px; }
.car .status{ font-family:var(--font-body); font-weight:500; font-size:11px; letter-spacing:0.16em; text-transform:uppercase; color:var(--cuoio); }
.car .status.sold, .car .status.reserved{ color:var(--ink-faint); }
.car .where{ font-size:13.5px; color:var(--ink-faint); }
.car h3{ font-size:1.3rem; margin:0 0 6px; }
.car .kind{ font-family:var(--font-body); font-weight:500; font-size:12px; letter-spacing:0.14em; text-transform:uppercase; color:var(--ink-muted); margin:0 0 14px; }
.car .fig{ font-family:var(--font-display); font-size:1.7rem; line-height:1.1; color:var(--ink); margin:0; }
.car .pnote{ margin:6px 0 0; font-size:14px; color:var(--ink-faint); }
.car dl{ display:grid; grid-template-columns:auto 1fr; gap:6px 16px; margin:16px 0 0; font-size:14.5px; }
.car dt{ color:var(--ink-faint); font-family:var(--font-body); font-weight:500; font-size:11.5px; letter-spacing:0.12em; text-transform:uppercase; padding-top:2px; }
.car dd{ margin:0; color:var(--ink); }
.car .notes{ font-size:15px; color:var(--ink-muted); margin:14px 0 0; }
.car .pick{ margin-top:18px; }
.ref-line{ font-size:14px; color:var(--ink-muted); margin:-6px 0 18px; }
.ref-line strong{ font-weight:500; color:var(--ink); }
.home-stock{ background:var(--avorio-deep); }
.home-stock .cars-grid{ margin-top:8px; }
.home-stock .more{ margin-top:30px; }

/* ---------- the builder ------------------------------------------------- */
.btn-dark{ display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:50px; padding:0 20px; background:var(--nero); color:var(--reverse); border:0; text-decoration:none; cursor:pointer; font-family:var(--font-body); font-weight:500; font-size:12.5px; letter-spacing:0.14em; text-transform:uppercase; }
.btn-dark .arrow{ color:var(--ottone); }
.builder .stock-head{ padding-bottom:20px; }
.picker{ padding:10px 0 60px; }
.pick-grid{ display:grid; gap:36px 28px; margin-top:8px; }
@media(min-width:760px){ .pick-grid{ grid-template-columns:repeat(3, minmax(0,1fr)); } }
.pick-model{ border-top:1px solid var(--ink); padding-top:10px; display:flex; flex-direction:column; }
.pick-model h2{ font-size:1.5rem; margin:6px 0 8px; }
.pick-model .blurb{ font-size:15.5px; color:var(--ink-muted); margin:0 0 6px; flex:1; }
.pick-model .years{ font-size:13.5px; color:var(--ink-faint); margin:0 0 12px; }
.pick-model .from{ font-family:var(--font-body); font-size:12px; letter-spacing:0.14em; text-transform:uppercase; color:var(--ink-faint); margin:0 0 16px; }
.pick-model .from strong{ display:block; font-family:var(--font-display); font-size:1.6rem; letter-spacing:0; text-transform:none; color:var(--ink); margin-top:4px; }
.stage{ display:block; }
.stage svg{ width:100%; height:auto; display:block; }
.stage.small{ padding:10px 0 4px; }
.configurator{ padding:0 0 60px; }
.cfg-grid{ display:grid; gap:40px; }
@media(min-width:900px){ .cfg-grid{ grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:56px; align-items:start; } .cfg-stage{ position:sticky; top:76px; } }
.back{ background:none; border:0; padding:0; cursor:pointer; font-family:var(--font-body); font-weight:500; font-size:12px; letter-spacing:0.14em; text-transform:uppercase; color:var(--ink-muted); margin:0 0 14px; }
.back:hover{ color:var(--ink); }
.cfg-stage h2{ font-size:clamp(1.6rem,3vw,2.2rem); margin:0 0 10px; }
.cfg-stage .stage{ background:#fff; border:1px solid var(--rule); padding:0; }
.stage img{ width:100%; height:auto; display:block; }
.stage.small{ background:#fff; border:1px solid var(--rule); padding:0; margin-bottom:14px; }
.sheet{ margin-top:22px; }
.sheet dl{ display:grid; grid-template-columns:auto 1fr; gap:8px 18px; margin:0; font-size:15px; }
.sheet .row-wrap{ display:contents; }
.sheet .row-wrap[hidden]{ display:none; }
.sheet dt{ font-family:var(--font-body); font-weight:500; font-size:11.5px; letter-spacing:0.14em; text-transform:uppercase; color:var(--ink-faint); padding-top:3px; }
.sheet dd{ margin:0; color:var(--ink); border-bottom:1px solid var(--rule); padding-bottom:8px; }
.sheet .total{ margin:18px 0 8px; font-size:15px; color:var(--ink-faint); }
.sheet .total strong{ font-family:var(--font-display); font-weight:400; font-size:2rem; color:var(--ink); display:block; line-height:1.1; margin:2px 0 4px; }
.sheet .fine{ font-size:13.5px; color:var(--ink-faint); margin:0 0 8px; line-height:1.55; }
.sheet-actions{ display:flex; flex-wrap:wrap; align-items:center; gap:14px 22px; margin-top:18px; }
.share{ background:none; border:0; padding:0 0 4px; cursor:pointer; font-family:var(--font-body); font-weight:500; font-size:12px; letter-spacing:0.12em; text-transform:uppercase; color:var(--ink-muted); border-bottom:1px solid var(--rule); }
.group{ margin-bottom:30px; }
.group .label{ margin-bottom:12px; }
.group .fine{ font-size:13.5px; color:var(--ink-faint); margin:10px 0 0; }
.opts{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.opt{ text-align:left; background:var(--avorio); border:1px solid var(--rule); padding:13px 14px; cursor:pointer; font-family:var(--font-body); font-size:15px; color:var(--ink); min-height:54px; }
.opt small{ display:block; color:var(--ink-faint); font-size:13px; margin-top:3px; }
.opt[aria-pressed="true"]{ border-color:var(--nero); background:#fff; box-shadow:inset 0 0 0 1px var(--nero); }
.opt:disabled{ opacity:.45; cursor:default; }
.swatches{ display:grid; grid-template-columns:repeat(auto-fill, minmax(104px, 1fr)); gap:10px; }
.swatch{ background:none; border:1px solid var(--rule); padding:10px 8px 8px; cursor:pointer; text-align:center; font-family:var(--font-body); color:var(--ink); }
.swatch .chip{ display:block; width:40px; height:40px; border-radius:50%; margin:0 auto 8px; border:1px solid rgba(25,25,23,.18); }
.swatch.other .chip{ background:conic-gradient(#C7382E, #E8C547, #9DB89A, #2E7E8B, #243B6B, #C7382E); }
.swatch .name{ display:block; font-size:12.5px; line-height:1.3; }
.swatch[aria-pressed="true"]{ border-color:var(--nero); background:#fff; box-shadow:inset 0 0 0 1px var(--nero); }
.group .field{ margin-top:12px; }
