/* Precision Detail Co. (demo)
   Feeling: a black car under one round ceiling light at night, and not one swirl around the reflection.
   Color: cool near-black, bone text, hairlines. Accent caliper yellow (--acc). Its job: the action and the
   choice. Book buttons, the 50/50 tape, the selected size and package, covered zones on the drawing, the
   focus ring. Nothing decorative.
   Type: Unbounded (headings, wordmark, prices), Manrope (everything else). One radius, one gutter,
   one section padding, one easing. */

@font-face { font-family: 'Unbounded'; src: url('/demos/auto/fonts/unbounded-var.woff2') format('woff2'); font-weight: 200 900; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/demos/auto/fonts/manrope-var.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Unbounded-fb'; src: local('Arial Black'), local('Arial'); size-adjust: 112%; ascent-override: 88%; descent-override: 22%; line-gap-override: 0%; }
@font-face { font-family: 'Manrope-fb'; src: local('Arial'); size-adjust: 103%; ascent-override: 102%; descent-override: 29%; line-gap-override: 0%; }

:root {
  --bg: #0a0c0f;
  --bg-1: #111419;
  --bg-2: #181c22;
  --line: rgba(236, 235, 230, 0.14);
  --line-2: rgba(236, 235, 230, 0.28);
  --ink: #ecebe6;
  --mute: #a7acb3;
  --acc: #f4c21b;
  --acc-hi: #ffd54a;
  --acc-ink: #17130a;
  --gutter: clamp(20px, 4vw, 64px);
  --cgap: clamp(32px, 4vw, 64px);
  --sec: clamp(72px, 9vw, 136px);
  --max: 1360px;
  --r: 4px;
  --hd: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --f-d: 'Unbounded', 'Unbounded-fb', sans-serif;
  --f-b: 'Manrope', 'Manrope-fb', system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-b);
  font-kerning: normal; font-synthesis: none; -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
::selection { background: var(--acc); color: var(--acc-ink); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--acc); color: var(--acc-ink); padding: 12px 16px; border-radius: var(--r); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
a.num { white-space: nowrap; }

/* Type */
.h1, .h2, .h3, .mark, .price-big { font-family: var(--f-d); text-rendering: optimizeLegibility; }
.h1 { font-size: clamp(2.125rem, 1.3rem + 3.2vw, 4rem); font-weight: 600; line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.h2 { font-size: clamp(1.75rem, 1.15rem + 2.1vw, 2.9rem); font-weight: 600; line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.h3 { font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3rem); font-weight: 500; line-height: 1.25; letter-spacing: -0.015em; }
.lead { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.5; color: var(--mute); max-width: 46ch; text-wrap: pretty; }
.mute { color: var(--mute); }
.small { font-size: 0.9375rem; line-height: 1.55; }
.label { font: 600 0.8125rem/1.2 var(--f-b); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
p { text-wrap: pretty; }
.link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-color: rgba(236, 235, 230, 0.45); transition: text-decoration-color 0.25s var(--ease); }
.link:hover { text-decoration-color: var(--acc); }

/* Buttons: one radius, 52px tall, nothing is a pill */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: var(--r); border: 1px solid transparent;
  font: 700 1rem/1 var(--f-b); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-acc { background: var(--acc); color: var(--acc-ink); }
.btn-acc:hover { background: var(--acc-hi); }
.btn-line { border-color: var(--line-2); color: var(--ink); background: rgba(10, 12, 15, 0.35); }
.btn-line:hover { border-color: var(--ink); }
.btn:active { transform: translateY(1px); }

/* Header: open over the 50/50, frosted glass after it */
.hd { position: fixed; inset: 0 0 auto; z-index: 40; transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease); border-bottom: 1px solid transparent; }
.hd-row { height: var(--hd); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.hd.solid { background: rgba(10, 12, 15, 0.74); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); border-bottom-color: var(--line); }
.mark { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.mark span + span { margin-left: 0.4em; }
.mark b { font-weight: 300; margin-left: 0.4em; }
@media (max-width: 560px) { .hd .mark span + span, .menu .mark span + span { margin-left: 0; } }
.hd-nav { display: flex; gap: 4px; }
.hd-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 0.9375rem; font-weight: 500; text-decoration: none; color: rgba(236, 235, 230, 0.86); position: relative; }
.hd-nav a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 9px; height: 1px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.hd-nav a:hover { color: var(--ink); }
.hd-nav a:hover::after, .hd-nav a[aria-current='page']::after { transform: scaleX(1); }
.hd-end { justify-self: end; display: flex; align-items: center; gap: 8px; }
.hd-call { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; font-size: 0.9375rem; text-decoration: none; white-space: nowrap; }
.hd-call svg { width: 18px; height: 18px; color: var(--acc); }
.hd-call .t-short { display: none; }
.menu-btn { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: rgba(10, 12, 15, 0.4); font-weight: 700; font-size: 0.9375rem; cursor: pointer; }
.menu-btn i { width: 16px; height: 10px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }

@media (max-width: 1180px) {
  .hd-row { grid-template-columns: auto 1fr auto; }
  .hd-nav { justify-self: center; gap: 0; }
  .hd-nav a { padding: 0 9px; }
  .hd-nav a::after { left: 9px; right: 9px; }
}
@media (max-width: 960px) {
  .hd-nav { display: none; }
  .hd-row { grid-template-columns: 1fr auto; }
  .menu-btn { display: inline-flex; }
  .hd-call { min-height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: rgba(10, 12, 15, 0.4); }
}
@media (max-width: 560px) {
  :root { --hd: 64px; }
  .hd-row { gap: 8px; }
  .hd .mark, .menu .mark { flex-direction: column; align-items: flex-start; justify-content: center; font-size: 0.84375rem; line-height: 1.08; letter-spacing: 0.03em; }
  .hd .mark span, .menu .mark span { display: block; }
  .hd-call .t-long { display: none; }
  .hd-call .t-short { display: inline; }
  .hd-call, .menu-btn { padding: 0 12px; }
}
@media (max-width: 359px) { .hd .mark, .menu .mark { font-size: 0.78125rem; } .hd-call svg { display: none; } .sizes label b { white-space: normal; } }

/* Phone menu: a full screen of its own */
.menu { position: fixed; inset: 0; z-index: 60; background: var(--bg); display: flex; flex-direction: column; overflow-y: auto; }
.menu-top { height: var(--hd); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); flex: none; }
.menu-close { min-height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: none; font-weight: 700; cursor: pointer; }
.menu-list { padding: 12px 0 8px; }
.menu-list a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 600 clamp(1.375rem, 1rem + 2vw, 1.75rem)/1.15 var(--f-d); letter-spacing: -0.02em; }
.menu-list small { font: 500 0.9375rem/1.2 var(--f-b); letter-spacing: 0; color: var(--mute); white-space: nowrap; }
.menu-foot { margin-top: auto; padding-top: 24px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); display: grid; gap: 12px; }
.menu-foot p span { display: block; }
.menu-foot .btn { width: 100%; }
html.js .menu-list li { opacity: 0; transform: translateY(12px); }
html.js .menu.open .menu-list li { opacity: 1; transform: none; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.menu.open .menu-list li:nth-child(2) { transition-delay: 40ms; }
.menu.open .menu-list li:nth-child(3) { transition-delay: 80ms; }
.menu.open .menu-list li:nth-child(4) { transition-delay: 120ms; }
.menu.open .menu-list li:nth-child(n + 5) { transition-delay: 160ms; }

/* The 50/50: one panel, tape down the middle. Right of the tape is the paint as it came in. */
.hero { position: relative; }
.ff { position: relative; height: 100svh; min-height: 640px; max-height: 1080px; overflow: hidden; background: #050607; touch-action: pan-y; user-select: none; -webkit-user-select: none; --x: 0.73; cursor: ew-resize; }
.ff-img, .ff-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ff-img img { object-fit: cover; object-position: 50% 50%; -webkit-user-drag: none; }
.ff-before { clip-path: inset(0 0 0 calc(var(--x) * 100%)); }
.ff::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(10, 12, 15, 0.72) 0%, rgba(10, 12, 15, 0.42) 34%, rgba(10, 12, 15, 0) 56%), linear-gradient(180deg, rgba(10, 12, 15, 0.55) 0%, rgba(10, 12, 15, 0) 22%, rgba(10, 12, 15, 0) 78%, rgba(10, 12, 15, 0.7) 100%); }
.tape {
  position: absolute; top: var(--hd); bottom: -10px; left: calc(var(--x) * 100%); width: 30px; margin-left: -15px; z-index: 3;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0 2px, rgba(0, 0, 0, 0.03) 2px 5px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.18), rgba(255, 255, 255, 0.08) 30%, rgba(0, 0, 0, 0.06) 70%, rgba(0, 0, 0, 0.2)),
    var(--acc);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 6px 18px rgba(0, 0, 0, 0.45);
  cursor: ew-resize; touch-action: none; outline: none;
}
.tape:focus-visible { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--acc); }
.tape-grip { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; display: grid; place-items: center; }
.tape-grip svg { width: 22px; height: 22px; color: var(--acc-ink); }
.ff-tag { position: absolute; z-index: 2; bottom: calc(28px + env(safe-area-inset-bottom)); font: 600 0.8125rem/1 var(--f-b); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); padding: 9px 12px; border-radius: var(--r); background: rgba(10, 12, 15, 0.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); white-space: nowrap; pointer-events: none; transition: opacity 0.3s var(--ease); }
.ff-tag-l { right: calc((1 - var(--x)) * 100% + 30px); }
.ff-tag-r { left: calc(var(--x) * 100% + 30px); }
.ff-tag.off { opacity: 0; }
.hero-copy { position: absolute; inset: 0 0 auto; z-index: 2; padding-top: calc(var(--hd) + clamp(48px, 9vh, 120px)); pointer-events: none; }
.hero-copy .wrap > div { max-width: 620px; }
.hero-copy .h1 { max-width: 12.5em; }
.hero-copy .lead { margin-top: 24px; color: rgba(236, 235, 230, 0.86); max-width: 40ch; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; pointer-events: auto; }
.hero-hint { margin-top: 20px; font-size: 0.9375rem; color: rgba(236, 235, 230, 0.78); display: flex; align-items: center; gap: 10px; }
.hero-hint i { display: inline-block; width: 10px; height: 22px; background: var(--acc); border-radius: 1px; }

@media (max-width: 980px) {
  .ff { height: auto; min-height: 0; max-height: none; aspect-ratio: 1.6; }
  .ff::after { background: linear-gradient(180deg, rgba(10, 12, 15, 0.6) 0%, rgba(10, 12, 15, 0) 22%, rgba(10, 12, 15, 0) 72%, rgba(10, 12, 15, 0.75) 100%); }
  .hero-copy { position: relative; padding-top: 40px; pointer-events: auto; }
  .hero-copy .lead { margin-top: 16px; }
  .hero-actions { margin-top: 24px; }
  .hero-hint { display: none; }
  .hero .ff-cap { display: block; }
}
@media (max-width: 699px) {
  .ff { aspect-ratio: 0.66; }
  .hero-copy { padding-top: 32px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .tape { width: 20px; margin-left: -10px; }
  .ff-tag { bottom: 16px; font-size: 0.75rem; padding: 8px 10px; }
  .ff-tag-l { right: calc((1 - var(--x)) * 100% + 22px); }
  .ff-tag-r { left: calc(var(--x) * 100% + 22px); }
}
.ff-cap { display: none; margin-top: 16px; font-size: 0.9375rem; color: var(--mute); max-width: 46ch; }

/* Sections */
.sec { padding: var(--sec) 0; }
.sec + .sec { padding-top: 0; }
.sec-line { border-top: 1px solid var(--line); }
.head { display: grid; grid-template-columns: 7fr 5fr; gap: 24px var(--cgap); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.head .lead { justify-self: start; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; } }

/* Check-in sheet: the package builder */
.sheet { display: grid; grid-template-columns: 7fr 5fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-1); }
.sheet-car { padding: clamp(20px, 3vw, 40px); display: flex; flex-direction: column; gap: 28px; min-width: 0; position: sticky; top: calc(var(--hd) + 16px); align-self: start; }
.sheet-pick { padding: clamp(20px, 3vw, 40px); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sizes label { position: relative; display: flex; flex-direction: column; justify-content: flex-start; gap: 2px; min-height: 64px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: var(--r); cursor: pointer; transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease); }
.sizes label b { font-weight: 700; font-size: 1rem; line-height: 1.2; }
.sizes label > span { font-size: 0.8125rem; color: var(--mute); line-height: 1.3; }
.sizes input, .pk input, .adds input, .chips input { position: absolute; opacity: 0; pointer-events: none; }
.sizes input:checked + label { border-color: var(--acc); background: rgba(244, 194, 27, 0.08); box-shadow: inset 0 0 0 1px var(--acc); }
.sizes input:focus-visible + label, .pk input:focus-visible + label, .adds input:focus-visible + label, .chips input:focus-visible + label { outline: 2px solid var(--acc); outline-offset: 3px; }
.car { position: relative; }
.car svg { width: 100%; height: auto; overflow: visible; }
.car .v { opacity: 0; transition: opacity 0.45s var(--ease); }
.car .v.on { opacity: 1; }
.car .ground { stroke: var(--line-2); stroke-width: 1; }
.car .z { fill: none; stroke: rgba(236, 235, 230, 0.42); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; transition: stroke 0.4s var(--ease), fill 0.4s var(--ease); }
.car .z.fill { fill: rgba(236, 235, 230, 0.03); }
.car .z.thin { stroke-width: 1; }
.car .z.lit { stroke: var(--acc); }
.car .z.fill.lit { fill: rgba(244, 194, 27, 0.12); }
.zones { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.zones li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9375rem; color: var(--mute); transition: color 0.3s var(--ease); }
.zones li::before { content: ''; width: 10px; height: 10px; border: 1px solid currentColor; border-radius: 2px; transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease); }
.zones li.lit { color: var(--ink); }
.zones li.lit::before { background: var(--acc); border-color: var(--acc); }
.pk-group + .pk-group { margin-top: 20px; }
.sheet-pick legend.label { display: block; margin-bottom: 10px; }
.sizes b .sm { display: none; }
.sheet .total-pick { display: none; }
@media (max-width: 980px) { .sheet .total-car { display: none; } .sheet .total-pick { display: grid; } }
.pk { border-top: 1px solid var(--line); }
.pk li { position: relative; border-bottom: 1px solid var(--line); }
.pk label { display: grid; grid-template-columns: 20px 1fr auto; gap: 4px 14px; align-items: start; padding: 14px 4px; cursor: pointer; }
.pk-time { grid-column: 2; font-size: 0.875rem; color: var(--mute); line-height: 1.4; }
.pk label::before { content: ''; grid-row: 1 / span 3; width: 18px; height: 18px; margin-top: 3px; border: 1.5px solid var(--line-2); border-radius: 50%; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.pk input:checked + label::before { border-color: var(--acc); box-shadow: inset 0 0 0 4px var(--bg-1), inset 0 0 0 9px var(--acc); }
.pk-name { font-weight: 700; line-height: 1.35; }
.pk-desc { grid-column: 2; font-size: 0.9375rem; color: var(--mute); line-height: 1.45; }
.pk-price { grid-row: 1; grid-column: 3; font: 600 1rem/1.35 var(--f-d); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; text-align: right; }
.pk input:checked + label .pk-price { color: var(--acc); }
.adds { display: flex; flex-wrap: wrap; gap: 8px; }
.adds label, .chips label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r); font-size: 0.9375rem; font-weight: 600; cursor: pointer; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease); }
.adds label span { color: var(--mute); font-weight: 500; font-variant-numeric: tabular-nums; }
.adds input:checked + label, .chips input:checked + label { border-color: var(--acc); background: rgba(244, 194, 27, 0.08); box-shadow: inset 0 0 0 1px var(--acc); }
.total { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 16px 24px; align-items: end; }
.total-what { font-size: 0.9375rem; color: var(--mute); line-height: 1.5; }
.total-what b { display: block; color: var(--ink); font-size: 1rem; }
.price-big { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.75rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; text-align: right; }
.total .btn { grid-column: 1 / -1; width: 100%; }
.sheet-note { margin-top: 16px; }
@media (max-width: 980px) {
  .sheet { grid-template-columns: 1fr; }
  .sheet-car { position: static; border-bottom: 1px solid var(--line); }
  .sheet-pick { border-left: 0; }
}
@media (max-width: 520px) {
  .sizes label { padding: 12px 10px; min-height: 60px; }
  .sizes label > span { display: none; }
  .sizes b .lg { display: none; }
  .sizes b .sm { display: inline; }
  .sizes label b { font-size: 0.9375rem; white-space: nowrap; }
  .adds { display: grid; grid-template-columns: 1fr 1fr; }
  .adds label { justify-content: space-between; padding: 0 12px; }
  .form .chips { display: grid; grid-template-columns: 1fr 1fr; }
  .form .chips.three { grid-template-columns: repeat(3, 1fr); }
  .form .chips label { justify-content: center; text-align: center; padding: 0 10px; min-width: 0; }
  .form .chips:not(.three) label:last-of-type:nth-of-type(odd) { grid-column: span 2; }
  .form .chips.three label { flex-direction: column; gap: 0; line-height: 1.2; min-height: 56px; }
}

/* Studio services: three identical cards on the spine */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.svc a { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.svc-img { aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--bg-1); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc a:hover .svc-img img { transform: scale(1.04); }
.svc .h3 { margin-top: 20px; }
.svc p { margin-top: 8px; color: var(--mute); }
.svc-meta { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--line); margin-top: 20px; font-size: 0.9375rem; }
.svc-meta b { font-family: var(--f-d); font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.svc-meta span { color: var(--mute); }
.svc-body { display: flex; flex-direction: column; flex: 1; }
@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr; gap: 40px; }
  .svc a { display: grid; grid-template-columns: 5fr 7fr; gap: 0 20px; align-items: start; }
  .svc-img { grid-row: span 3; aspect-ratio: 4 / 3; }
  .svc .h3 { margin-top: 0; }
}
@media (max-width: 520px) {
  .svc a { display: flex; }
  .svc-img { aspect-ratio: 3 / 2; }
  .svc .h3 { margin-top: 18px; }
}

/* In your driveway */
.drive { display: grid; grid-template-columns: 7fr 5fr; gap: 40px var(--cgap); align-items: start; }
.drive-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-1); }
.drive-img picture { display: block; height: 100%; }
.drive-img img { width: 100%; height: 100%; object-fit: cover; }
.drive .facts { margin-top: 0; }
.facts { margin-top: 32px; border-top: 1px solid var(--line); }
.facts li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; font-size: 0.9375rem; }
.facts b { font-weight: 700; color: var(--ink); }
.facts span { color: var(--mute); }
.towns { margin-top: 24px; font-size: 0.9375rem; color: var(--mute); }
.towns b { color: var(--ink); font-weight: 700; }
.drive-cta { margin-top: 28px; }
@media (max-width: 900px) { .drive { grid-template-columns: 1fr; } .drive-img { aspect-ratio: 3 / 2; margin-top: 0; } }
@media (max-width: 520px) { .drive-img { aspect-ratio: 4 / 5; } }
@media (max-width: 420px) { .facts li { grid-template-columns: 1fr; gap: 2px; } }

/* Recent cars */
.work { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.work figure { position: relative; border-radius: var(--r); overflow: hidden; background: var(--bg-1); }
.work img { width: 100%; height: 100%; object-fit: cover; }
.work figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; font-size: 0.9375rem; line-height: 1.4; background: linear-gradient(180deg, rgba(10, 12, 15, 0), rgba(10, 12, 15, 0.82)); }
/* explicit rows: every tile shares one gutter and the right column meets the big tile's bottom */
.work { grid-auto-rows: clamp(150px, 20vw, 290px); }
.work figure { height: 100%; min-width: 0; }
.w-a { grid-column: span 8; grid-row: span 2; }
.w-a img { object-position: 50% 42%; }
.w-b, .w-c, .w-d, .w-e, .w-f { grid-column: span 4; }
@media (max-width: 900px) {
  .work { grid-auto-rows: auto; }
  .work figure { height: auto; }
  .w-a { grid-column: span 12; grid-row: auto; aspect-ratio: 3 / 2; }
  .w-b, .w-c, .w-d, .w-e { grid-column: span 6; aspect-ratio: 4 / 3; }
  .w-f { display: none; }
}
@media (max-width: 520px) {
  .work { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scrollbar-width: none; }
  .work::-webkit-scrollbar { display: none; }
  .work figure { flex: 0 0 82%; aspect-ratio: 4 / 5; scroll-snap-align: start; min-height: 0; }
  .w-f { display: block; }
  .work-hint { display: block; }
}
.work-hint { display: none; margin-top: 12px; font-size: 0.9375rem; color: var(--mute); }

/* Reviews */
.revs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 5vw, 80px); border-top: 1px solid var(--line); }
.revs li { padding: 32px 0; border-bottom: 1px solid var(--line); }
.revs blockquote p { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.5; text-indent: -0.42em; }
.revs footer { margin-top: 16px; font-size: 0.9375rem; color: var(--mute); }
.revs footer b { color: var(--ink); }
.rating { display: flex; align-items: baseline; gap: 14px; }
.rating .price-big { text-align: left; }
@media (max-width: 760px) { .revs { grid-template-columns: 1fr; } }

/* Questions */
.faq-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 40px clamp(32px, 5vw, 80px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px 0; font-weight: 700; font-size: 1.0625rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 12px; height: 12px; border-right: 1.5px solid var(--mute); border-bottom: 1.5px solid var(--mute); transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { padding: 0 0 20px; color: var(--mute); max-width: 62ch; }
.faq-wrap .lead { margin-top: 16px; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

/* Booking */
.book { display: grid; grid-template-columns: 5fr 7fr; gap: 48px clamp(32px, 5vw, 80px); align-items: start; }
.book-side .lead { margin-top: 16px; }
.info { margin-top: 40px; display: grid; gap: 28px; }
.info h3 { margin-bottom: 8px; }
.info p, .info td { font-size: 0.9375rem; }
.hours { border-collapse: collapse; width: 100%; max-width: 380px; font-variant-numeric: tabular-nums; }
.hours td { padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--mute); }
.hours td:last-child { text-align: right; }
.hours tr.today td { color: var(--ink); font-weight: 700; }
.status { margin-top: 10px; font-size: 0.9375rem; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--mute); }
.status.open::before { background: var(--acc); }
.maps { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.maps a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r); font-size: 0.9375rem; font-weight: 600; text-decoration: none; }
.maps a:hover { border-color: var(--ink); }
.big-phone { font: 600 clamp(1.375rem, 1.1rem + 1vw, 1.75rem)/1.2 var(--f-d); letter-spacing: -0.02em; text-decoration: none; font-variant-numeric: tabular-nums; }
.form { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-1); padding: clamp(20px, 3vw, 40px); display: grid; gap: 28px; }
.form legend, .field > label { display: block; font-weight: 700; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label small { color: var(--mute); font-weight: 500; font-variant-numeric: tabular-nums; }
.days label { flex-direction: column; justify-content: center; gap: 0; min-width: 72px; line-height: 1.15; padding: 8px 12px; min-height: 56px; }
.days label small { font-size: 0.8125rem; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--bg); font-size: 1rem; transition: border-color 0.2s var(--ease); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--acc); outline: none; box-shadow: 0 0 0 1px var(--acc); }
.field input::placeholder, .field textarea::placeholder { color: #8b9097; }
.field .hint { margin-top: 8px; font-size: 0.875rem; color: var(--mute); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.summary { font-size: 0.9375rem; color: var(--mute); max-width: 36ch; }
.form-error { color: #ffb4a8; font-weight: 600; font-size: 0.9375rem; }
.form-error:empty { display: none; }
.thanks { border: 1px solid var(--acc); border-radius: var(--r); background: var(--bg-1); padding: clamp(24px, 3vw, 40px); }
.thanks p { margin-top: 12px; color: var(--mute); }
@media (max-width: 980px) { .book { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } .form-foot .btn { width: 100%; } }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 64px 0 calc(120px + env(safe-area-inset-bottom)); }
.foot-grid { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 40px; }
.foot .mark { font-size: 1rem; }
.foot p, .foot li, .foot address { font-size: 0.9375rem; color: var(--mute); font-style: normal; line-height: 1.7; }
.foot h3 { font: 600 0.8125rem/1.2 var(--f-b); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); margin-bottom: 12px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 0.2em; }
.foot-links li a { display: inline-flex; min-height: 32px; align-items: center; }
.foot-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.875rem; color: var(--mute); }
.foot-base a { display: inline-flex; min-height: 32px; align-items: center; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Bottom bar: carries the builder's choice, appears after the hero, hides at the form */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 0 var(--gutter) calc(12px + env(safe-area-inset-bottom)); pointer-events: none; transform: translateY(110%); visibility: hidden; transition: transform 0.45s var(--ease), visibility 0s 0.45s; }
.dock.show { transform: none; visibility: visible; transition: transform 0.45s var(--ease), visibility 0s; }
.dock-in { pointer-events: auto; max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 20px; border: 1px solid var(--line-2); border-radius: var(--r); background: rgba(17, 20, 25, 0.82); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); }
.dock-what { flex: 1; min-width: 0; line-height: 1.3; }
.dock-what b { display: block; font-size: 0.9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-what span { display: block; font-size: 0.8125rem; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-price { font: 600 1.25rem/1 var(--f-d); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.dock .btn { min-height: 48px; }
@media (max-width: 420px) { .dock-what b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 0.875rem; line-height: 1.25; } .dock-what span { display: none; } }
@media (max-width: 520px) { .dock-in { padding-left: 14px; gap: 12px; } .dock-price { font-size: 1.0625rem; } .dock .btn { padding: 0 16px; } }

/* Service pages */
.page-hero { position: relative; padding-top: calc(var(--hd) + clamp(32px, 6vw, 80px)); }
.page-hero-grid { display: grid; grid-template-columns: 6fr 6fr; gap: 40px clamp(32px, 5vw, 80px); align-items: end; }
.crumbs { display: flex; gap: 8px; font-size: 0.9375rem; color: var(--mute); margin-bottom: 24px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.page-hero .lead { margin-top: 20px; }
.page-facts { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 0.9375rem; color: var(--mute); }
.page-facts b { color: var(--ink); font-family: var(--f-d); font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.page-hero .hero-actions { pointer-events: auto; }
.page-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-1); }
.page-img img { width: 100%; height: 100%; object-fit: cover; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 3vw, 48px); border-top: 1px solid var(--line); }
.steps li { padding: 24px 0 28px; border-bottom: 1px solid var(--line); }
.steps h3 { font-weight: 700; font-size: 1.0625rem; margin-bottom: 6px; }
.steps p { color: var(--mute); font-size: 0.9375rem; }
.pair { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(40px, 5vw, 64px); }
.pair figure { border-radius: var(--r); overflow: hidden; background: var(--bg-1); position: relative; height: clamp(320px, 34vw, 500px); }
.pair img { width: 100%; height: 100%; object-fit: cover; }
.pair.single { grid-template-columns: 1fr; }
.pair.single figure { height: clamp(320px, 42vw, 600px); }
.pair figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; font-size: 0.9375rem; background: linear-gradient(180deg, rgba(10, 12, 15, 0), rgba(10, 12, 15, 0.82)); }
.honest { display: grid; grid-template-columns: 5fr 7fr; gap: 32px clamp(32px, 5vw, 80px); }
.honest-body { display: grid; gap: 20px; }
.honest-body p { color: var(--mute); max-width: 62ch; }
.honest-body b { color: var(--ink); }
.table-wrap { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-1); overflow-x: auto; }
.ptable { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 560px; }
.ptable th, .ptable td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: top; }
.ptable tr:last-child td { border-bottom: 0; }
.ptable th { font: 600 0.8125rem/1.3 var(--f-b); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.ptable th:first-child, .ptable td:first-child { text-align: left; }
.ptable td:first-child b { display: block; font-weight: 700; }
.ptable td:first-child span { display: block; font-size: 0.9375rem; color: var(--mute); max-width: 40ch; }
.ptable td:not(:first-child) { font: 600 1rem/1.4 var(--f-d); letter-spacing: -0.01em; white-space: nowrap; }
@media (max-width: 640px) {
  .ptable { min-width: 0; }
  .ptable thead { display: none; }
  .ptable tr { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
  .ptable tr:last-child { border-bottom: 0; }
  .ptable td, .ptable td:not(:first-child) { padding: 0; border: 0; text-align: left; }
  .ptable td:first-child { grid-column: 1 / -1; }
  .ptable td:not(:first-child)::before { content: attr(data-l); display: block; margin-bottom: 2px; font: 500 0.8125rem/1.3 var(--f-b); letter-spacing: 0; color: var(--mute); white-space: normal; }
}
.table-note { margin-top: 16px; font-size: 0.9375rem; color: var(--mute); }
.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 3vw, 48px); border-top: 1px solid var(--line); }
.others a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.others a b { font: 600 1.0625rem/1.3 var(--f-d); letter-spacing: -0.015em; }
.others a span { color: var(--mute); font-size: 0.9375rem; white-space: nowrap; }
.others a:hover b { color: var(--acc); }
.cta-band { display: grid; grid-template-columns: 7fr 5fr; gap: 24px 48px; align-items: end; padding: clamp(28px, 4vw, 56px); border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-1); }
.cta-band .hero-actions { margin-top: 0; justify-content: flex-end; }
.ff-inline { height: auto; min-height: 0; max-height: none; aspect-ratio: 1.6; border-radius: var(--r); }
.ff-inline .tape { top: -10px; }
.ff-inline::after { background: linear-gradient(180deg, rgba(10, 12, 15, 0) 70%, rgba(10, 12, 15, 0.6) 100%); }
@media (max-width: 900px) {
  .page-hero-grid, .honest, .cta-band { grid-template-columns: 1fr; }
  .steps, .others { grid-template-columns: 1fr; }
  .pair { grid-template-columns: 1fr; }
  .pair figure, .pair.single figure { height: auto; aspect-ratio: 4 / 3; min-width: 0; }
  .cta-band .hero-actions { justify-content: flex-start; }
}
@media (max-width: 699px) { .ff-inline { aspect-ratio: 0.66; } .page-hero .hero-actions .btn, .cta-band .hero-actions .btn { flex: 1 1 100%; } }

/* Service page hero: a full-bleed photo with the copy over its dark lower edge */
.svc-hero { position: relative; height: min(86svh, 820px); min-height: 600px; display: flex; align-items: flex-end; overflow: hidden; background: #050607; }
.svc-hero picture, .svc-hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.svc-hero picture img { object-fit: cover; }
.svc-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10, 12, 15, 0.6) 0%, rgba(10, 12, 15, 0) 20%, rgba(10, 12, 15, 0) 38%, rgba(10, 12, 15, 0.78) 74%, rgba(10, 12, 15, 0.94) 100%), linear-gradient(90deg, rgba(10, 12, 15, 0.55) 0%, rgba(10, 12, 15, 0) 60%); }
.svc-hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(40px, 6vw, 72px); }
.svc-hero .crumbs { margin-bottom: 20px; }
.svc-hero .h1 { max-width: 12em; }
.svc-hero .lead { margin-top: 20px; color: rgba(236, 235, 230, 0.86); max-width: 50ch; }
.svc-hero .page-facts { color: rgba(236, 235, 230, 0.8); }
.hero-link { display: inline-flex; align-items: center; min-height: 52px; padding: 0 4px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; text-decoration-color: rgba(236, 235, 230, 0.45); transition: text-decoration-color 0.25s var(--ease); }
.hero-link:hover { text-decoration-color: var(--acc); }
@media (max-width: 699px) {
  .svc-hero { height: auto; min-height: 0; display: block; }
  .svc-hero picture { position: relative; display: block; aspect-ratio: 4 / 3; height: auto; }
  .svc-hero::after { bottom: auto; height: calc(100vw * 0.75); background: linear-gradient(180deg, rgba(10, 12, 15, 0.6) 0%, rgba(10, 12, 15, 0) 26%, rgba(10, 12, 15, 0) 70%, rgba(10, 12, 15, 0.9) 100%); }
  .svc-hero .wrap { padding-top: 28px; padding-bottom: 8px; }
  .svc-hero .hero-actions .btn { flex: 1 1 100%; }
  .hero-actions .hero-link { flex: 1 1 100%; justify-content: center; }
}

/* Credits */
.credits { border-top: 1px solid var(--line); }
.credits li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; font-size: 0.9375rem; }
.credits li span { color: var(--mute); }
@media (max-width: 640px) { .credits li { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  html.js .menu-list li { opacity: 1; transform: none; }
}
