/* VANTA Garage — the night shift. Black workshop, studio white, one signal yellow.
   Archivo in two widths: expanded uppercase for the voice, normal width for reading. Zero radius, slanted cuts.
   Built from the Lamborghini DESIGN.md notes (awesome-design-md): darkness first, colour only where you act. */
:root {
  --black: #060607;
  --carbon: #101113;
  --carbon-2: #17191c;
  --carbon-3: #23262a;
  --white: #f4f5f6;
  --steel: #8d939b;
  --steel-2: #b9bec5;
  --orange: #f2c200;
  --orange-2: #ffd633;
  --line: rgba(244, 245, 246, .12);
  --line-2: rgba(244, 245, 246, .24);
  --paint: #d9dbde;
  --head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Archivo", system-ui, sans-serif;
  --g: clamp(16px, 4vw, 56px);
  --max: 1360px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html.lenis, html.lenis body { height: auto; }
body { margin: 0; background: var(--black); color: var(--white); font: 400 17px/1.55 var(--body); font-stretch: 100%; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--head); font-stretch: 125%; font-weight: 800; margin: 0; line-height: .95; letter-spacing: -.01em; text-transform: uppercase; }
h2 { font-size: clamp(32px, 4.4vw, 64px); }
h3 { font-size: 16px; font-weight: 700; letter-spacing: .01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--orange); color: var(--black); padding: 8px 12px; }
.skip:focus { left: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 24px; border: 1px solid transparent; font-weight: 700; font-stretch: 112%; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer; clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%); transition: background-color .2s, color .2s; }
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 15px; }
.btn--orange { background: var(--orange); color: var(--black); }
.btn--orange:hover { background: var(--orange-2); }
.btn--line { background: rgba(244, 245, 246, .1); color: var(--white); }
.btn--line:hover { background: var(--white); color: var(--black); }

/* Header: floats over the hero, goes solid after scroll */
.top { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; gap: 28px; padding: 16px var(--g); transition: background-color .3s, padding .3s; }
.top.is-solid { background: rgba(6, 6, 7, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding-top: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-stretch: 125%; font-weight: 800; font-size: 20px; letter-spacing: .14em; text-decoration: none; }
.logo svg { width: 30px; height: 18px; color: var(--orange); }
.nav { display: flex; gap: 26px; margin: 0 auto; font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.nav a { text-decoration: none; color: var(--steel-2); transition: color .2s; }
.nav a:hover { color: var(--white); }
.top__phone { font-weight: 600; text-decoration: none; font-size: 15px; font-variant-numeric: tabular-nums; }

/* Hero: full-bleed car, huge uppercase type, one light sweep */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; padding: 120px var(--g) 0; overflow: hidden; isolation: isolate; }
.hero__img { position: absolute; inset: 0; margin: 0; z-index: -1; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.hero__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 6, 7, .94) 0%, rgba(6, 6, 7, .72) 40%, rgba(6, 6, 7, .15) 72%), linear-gradient(0deg, var(--black) 0%, rgba(6, 6, 7, 0) 35%); }
.hero__scan { position: absolute; top: 0; bottom: 0; left: -20%; width: 12%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent); transform: skewX(-18deg); opacity: 0; }
.is-lit .hero__scan { animation: scan 1.8s cubic-bezier(.5, 0, .3, 1) .1s 1 forwards; }
@keyframes scan { 0% { left: -20%; opacity: 1; } 100% { left: 120%; opacity: 1; } }
.hero > * { min-width: 0; }
.hero__copy { align-self: center; max-width: 900px; }
.hero__where { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); font-weight: 600; margin-bottom: 18px; }
.hero h1 { font-size: clamp(48px, 8.4vw, 136px); line-height: .88; letter-spacing: -.02em; }
.hero h1 .shine { display: inline-block; background: linear-gradient(100deg, var(--white) 0%, var(--white) 40%, #8d939b 50%, var(--white) 60%, var(--white) 100%); background-size: 300% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; }
.is-lit .hero h1 .shine { animation: shine 1.8s cubic-bezier(.5, 0, .3, 1) 1 forwards; }
@keyframes shine { to { background-position: 0 0; } }
.hero__lead { margin-top: 26px; font-size: 18px; color: var(--steel-2); max-width: 36em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero__creds { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.hero__creds li { padding: 18px 18px 26px 0; display: grid; gap: 2px; font-size: 14px; color: var(--steel); }
.hero__creds li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.hero__creds b { font-stretch: 125%; font-weight: 800; font-size: 22px; color: var(--white); text-transform: uppercase; }

/* Configurator */
.build { background: var(--carbon); padding: clamp(64px, 9vw, 120px) var(--g) 0; }
.build__head { max-width: var(--max); margin: 0 auto 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 60px; align-items: end; }
.build__head p { color: var(--steel-2); }
.build__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }
.stage { position: sticky; top: 80px; background: var(--black); padding: 22px; border: 1px solid var(--line); background-image: radial-gradient(60% 50% at 50% 60%, rgba(242, 194, 0, .07), transparent 70%), repeating-linear-gradient(90deg, rgba(244, 245, 246, .025) 0 1px, transparent 1px 48px); }
.classes { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.classes button { flex: 1 1 160px; text-align: left; padding: 10px 14px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; }
.classes b { display: block; font-size: 14px; font-stretch: 112%; text-transform: uppercase; letter-spacing: .02em; }
.classes small { color: var(--steel); font-size: 13px; }
.classes button[aria-checked="true"] { background: var(--white); color: var(--black); border-color: var(--white); }
.classes button[aria-checked="true"] small { color: #555a60; }
.car { width: 100%; height: auto; display: block; margin: 10px 0; }
.car .shadow { fill: rgba(0, 0, 0, .6); }
.car .body { fill: var(--paint); stroke: var(--white); stroke-width: 2.5; transition: fill .6s ease; }
.car .glass { fill: #3a4048; stroke: var(--white); stroke-width: 2.5; transition: fill .5s ease; }
.car .pillar, .car .line { stroke: var(--black); stroke-width: 3; fill: none; }
.car .line { stroke-width: 1.5; opacity: .35; }
.car .tyre { fill: #000; stroke: var(--carbon-3); stroke-width: 2; }
.car .rim { fill: #7d838b; stroke: var(--white); stroke-width: 1.5; transition: fill .4s; }
.car .spokes path { stroke: #2a2e33; stroke-width: 5; stroke-linecap: round; }
.car .caliper { fill: var(--steel); transition: fill .4s; }
.car .light { fill: #fff; stroke: var(--black); stroke-width: 2; }
.car .z { opacity: 0; transition: opacity .5s ease; }
.car .z-front { fill: rgba(242, 194, 0, .35); }
.car .z-full { fill: rgba(242, 194, 0, .26); }
.car .z-sheen { fill: url(#sheen); }
.car .z-swirls path { stroke: #9aa0a7; stroke-width: 1.6; fill: none; }
.car .z-seat path { fill: #2a2e33; }
.car .z-hp { font: 800 26px var(--head); font-stretch: 125%; fill: var(--orange); }
.car.has-swirls .z-swirls { opacity: 1; }
.car.on-ppf-front .z-front, .car.on-ppf-full .z-full { opacity: 1; }
.car.on-coat .z-sheen { opacity: 1; animation: sheen 2.8s ease-in-out infinite; }
@keyframes sheen { from { transform: skewX(-20deg) translateX(0); } to { transform: skewX(-20deg) translateX(1100px); } }
.car.on-correct .z-swirls { opacity: 0; }
.car.on-tint .glass { fill: #0c0d0f; }
.car.on-wheels .rim { fill: #e6e8ea; }
.car.on-wheels .caliper { fill: var(--orange); }
.car.on-interior .z-seat { opacity: 1; }
.car.on-interior.on-tint .z-seat { opacity: .25; }
.car.on-tune .z-glow, .car.on-tune .z-hp { opacity: 1; }
.car.on-tune .z-glow { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.legend { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; min-height: 30px; }
.legend li { padding: 4px 10px; background: var(--orange); color: var(--black); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.legend .muted { background: none; color: var(--steel); padding-left: 0; text-transform: none; letter-spacing: 0; font-weight: 500; }
.opts { display: grid; gap: 8px; }
.grp { border: 1px solid var(--line); background: var(--carbon-2); }
.grp summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; }
.grp summary::-webkit-details-marker { display: none; }
.grp summary h3 { font-size: 14px; }
.grp summary small { display: block; color: var(--steel); font-size: 13px; font-family: var(--body); font-stretch: 100%; font-weight: 500; margin-top: 2px; letter-spacing: 0; text-transform: none; }
.grp summary .sel { font-weight: 700; font-size: 14px; color: var(--orange); white-space: nowrap; font-variant-numeric: tabular-nums; }
.grp[open] summary { border-bottom: 1px solid var(--line); }
.choices { padding: 10px 16px 14px; display: grid; gap: 6px; }
.choice { display: grid; grid-template-columns: 20px 1fr auto; gap: 10px; align-items: start; padding: 10px; border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, background-color .2s; }
.choice input { accent-color: var(--orange); width: 18px; height: 18px; margin-top: 2px; }
.choice b { font-size: 15px; font-weight: 600; }
.choice small { display: block; color: var(--steel); font-size: 13px; }
.choice span:last-child { font-weight: 700; font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.choice:has(input:checked) { border-color: var(--orange); background: rgba(242, 194, 0, .07); }
.swatches { display: flex; gap: 8px; padding: 4px 0 2px 30px; }
.swatches button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--carbon-2); box-shadow: 0 0 0 1px var(--line-2); cursor: pointer; }
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--orange); }
.total { position: static; max-width: var(--max); margin: 28px auto 0; padding: 18px 0 28px; color: var(--white); display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--line); }
.total span { display: block; font-size: 13px; color: var(--steel); text-transform: uppercase; letter-spacing: .08em; }
.total b { font-family: var(--head); font-stretch: 125%; font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; font-variant-numeric: tabular-nums; }
.total small { display: block; font-size: 14px; color: var(--steel); }
.stage__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.stage__total b { font-family: var(--head); font-stretch: 125%; font-weight: 800; font-size: 28px; font-variant-numeric: tabular-nums; color: var(--orange); }
.stage__total span { color: var(--steel); font-size: 14px; font-weight: 600; }

/* Tuning */
.tuning { background: var(--black); padding: clamp(64px, 9vw, 120px) var(--g); }
.tuning__head { max-width: var(--max); margin: 0 auto 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 60px; align-items: end; }
.tuning__head p { color: var(--steel-2); }
.model { max-width: var(--max); margin: 0 auto 26px; display: grid; gap: 6px; font-size: 12px; color: var(--steel); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.model select { max-width: 420px; min-height: 52px; padding: 0 14px; background: var(--carbon-2); border: 1px solid var(--line-2); color: var(--white); font-size: 17px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.gauges { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); }
.gauge { padding: 24px; }
.gauge + .gauge { border-left: 1px solid var(--line); }
.gauge h3 { font-size: 13px; color: var(--steel); margin-bottom: 10px; letter-spacing: .06em; }
.gauge.is-hl { background: rgba(242, 194, 0, .06); box-shadow: inset 0 3px 0 var(--orange); }
.gauge svg { width: 100%; height: auto; }
.gauge .arc-bg { fill: none; stroke: rgba(244, 245, 246, .08); stroke-width: 14; }
.gauge .arc { fill: none; stroke: var(--orange); stroke-width: 14; stroke-linecap: butt; transition: stroke-dashoffset 1s cubic-bezier(.2, .7, .2, 1); }
.gauge.is-stock .arc { stroke: var(--steel); }
.gauge .hp { font: 800 38px var(--head); font-stretch: 125%; fill: var(--white); }
.gauge .nm { font: 500 15px var(--body); fill: var(--steel); }
.gauge p { font-size: 14px; color: var(--steel); margin-top: 6px; }
.gauge p b { color: var(--orange); }
.gauge.is-na { opacity: .45; }
.fine { max-width: var(--max); margin: 18px auto 0; font-size: 13px; color: var(--steel); }

/* Builds */
.builds { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 9vw, 120px) var(--g); }
.builds h2 { margin-bottom: 30px; }
.gal { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.gal figure { margin: 0; }
.gal figure:first-child { grid-row: span 2; }
.gal figure:first-child img { aspect-ratio: auto; height: calc(100% - 64px); min-height: 320px; }
.gal img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%); filter: grayscale(.25) contrast(1.05); transition: filter .4s; }
.gal figure:hover img { filter: none; }
.gal figcaption { margin-top: 10px; }
.gal b { font-family: var(--head); font-stretch: 125%; font-weight: 800; font-size: 15px; display: block; text-transform: uppercase; }
.gal span { color: var(--steel); font-size: 15px; }

/* Process */
.process { background: var(--carbon); padding: clamp(64px, 9vw, 120px) var(--g); display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.process__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% 92%, 88% 100%, 0 100%); }
.steps { list-style: none; padding: 0; margin: 26px 0; counter-reset: s; display: grid; gap: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; gap: 2px 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font-family: var(--head); font-stretch: 125%; font-weight: 800; font-size: 26px; color: var(--orange); }
.steps b { font-family: var(--head); font-stretch: 112%; font-weight: 700; font-size: 16px; text-transform: uppercase; }
.steps span { color: var(--steel-2); font-size: 15px; }
.pickup { padding: 14px 16px; background: var(--carbon-2); font-weight: 600; font-size: 15px; border-left: 3px solid var(--orange); }

/* Booking */
.book { padding: clamp(64px, 9vw, 120px) var(--g); background: var(--black); }
.book__head { max-width: 960px; margin: 0 auto 24px; }
.book__head p { color: var(--steel-2); margin-top: 12px; }
.bform { max-width: 960px; margin: 0 auto; background: var(--carbon); padding: clamp(20px, 3vw, 36px); display: grid; gap: 18px; border: 1px solid var(--line); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f { display: grid; gap: 6px; min-width: 0; }
.f > span { font-size: 12px; font-weight: 600; color: var(--steel); text-transform: uppercase; letter-spacing: .08em; }
.f input { min-height: 50px; padding: 0 12px; border: 1px solid var(--line-2); background: var(--black); color: var(--white); }
.f input:focus { outline: none; border-color: var(--orange); }
.f.is-bad input { border-color: #ff6b5a; }
.err { color: #ff8b7d; font-size: 13px; font-style: normal; font-weight: 600; }
.days { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.day { flex: 0 0 64px; min-height: 62px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: 12px; font-weight: 600; text-transform: uppercase; }
.day b { display: block; font-family: var(--head); font-stretch: 125%; font-weight: 800; font-size: 20px; }
.day[aria-checked="true"], .time[aria-checked="true"] { background: var(--orange); color: var(--black); border-color: var(--orange); }
.day[disabled] { opacity: .3; cursor: not-allowed; }
.times { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.time { min-height: 44px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-weight: 600; font-variant-numeric: tabular-nums; }
.time[disabled] { color: #4d5157; text-decoration: line-through; cursor: not-allowed; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 15px; }
.check input { width: 18px; height: 18px; accent-color: var(--orange); }
.bform__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.bform__bar b { font-family: var(--head); font-stretch: 125%; font-size: 26px; font-weight: 800; display: block; }
.bform__bar small { color: var(--steel); }

.reviews { max-width: var(--max); margin: 0 auto; padding: 0 var(--g) clamp(64px, 9vw, 120px); background: var(--black); }
.reviews h2 { margin-bottom: 24px; }
.rev { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.rev blockquote { margin: 0; padding: 24px 24px 0 0; display: grid; gap: 14px; align-content: start; font-size: 17px; }
.rev blockquote + blockquote { padding-left: 24px; border-left: 1px solid var(--line); }
.rev cite { font-style: normal; font-weight: 700; font-size: 13px; color: var(--orange); text-transform: uppercase; letter-spacing: .06em; }

.visit { background: var(--carbon); display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.visit > div { padding: clamp(48px, 6vw, 88px) var(--g); align-self: center; }
.visit address { font-style: normal; font-family: var(--head); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: 22px; margin: 18px 0 12px; line-height: 1.25; }
.visit p { color: var(--steel-2); }
.visit__links { display: flex; gap: 10px; margin-top: 18px; }
.visit img { width: 100%; height: 100%; object-fit: cover; min-height: 400px; }
.foot { padding: 28px var(--g) 40px; font-size: 13px; color: var(--steel); display: grid; gap: 6px; border-top: 1px solid var(--line); }

.dlg { width: min(520px, calc(100vw - 32px)); border: 1px solid var(--line-2); padding: 0; background: var(--carbon); color: var(--white); }
.dlg::backdrop { background: rgba(0, 0, 0, .7); }
.dlg__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px 6px; }
.dlg > div:last-child { padding: 6px 24px 24px; }
.x { width: 40px; height: 40px; border: 1px solid var(--line-2); background: none; font-size: 22px; cursor: pointer; }
.ok__ref { font-family: var(--head); font-stretch: 125%; font-weight: 800; font-size: 36px; color: var(--orange); }
.ok__list { list-style: none; padding: 0; margin: 12px 0 16px; }
.ok__list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }

@media (max-width: 1080px) {
  .nav, .top__phone { display: none; }
  .top .btn { margin-left: auto; }
  .build__grid { grid-template-columns: 1fr; }
  .stage { position: sticky; top: 64px; z-index: 6; padding: 10px; }
  .classes button { flex: 1 1 0; padding: 8px; }
  .classes small { display: none; }
  .hero__creds { grid-template-columns: 1fr 1fr; }
  .hero__creds li:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__creds li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .hero { padding-top: 100px; }
  .hero__img::after { background: linear-gradient(0deg, var(--black) 10%, rgba(6, 6, 7, .75) 50%, rgba(6, 6, 7, .5) 100%); }
  .hero h1 { font-size: 11.2vw; }
  .build__head, .tuning__head, .process, .visit { grid-template-columns: 1fr; }
  .gauges { grid-template-columns: 1fr; }
  .gauge + .gauge { border-left: 0; border-top: 1px solid var(--line); }
  .gal, .rev { grid-template-columns: 1fr; }
  .gal figure:first-child { grid-row: auto; }
  .gal figure:first-child img { height: auto; aspect-ratio: 4 / 3; min-height: 0; }
  .rev blockquote + blockquote { padding-left: 0; border-left: 0; }
  .grid2 { grid-template-columns: 1fr; }
  .times { grid-template-columns: repeat(3, 1fr); }
  .total .btn { padding: 0 16px; }
  .bform__bar { flex-direction: column; align-items: stretch; }
  .car { margin: 2px 0; }
  .legend { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; } .hero h1 .shine { background: none; color: var(--white); } }
