/* =========================================================
   Car Craft Zone — styles
   Palette is built from the logo: signal red, graphite, and
   the warm off-white of the light logo version.
   ========================================================= */

:root {
  --ink: #111214;
  --ink-2: #16181b;
  --ink-3: #1e2125;
  --bone: #f4f1ec;
  --paper: #fbfaf7;
  --line: #e1dcd3;
  --line-d: rgba(255, 255, 255, .1);
  --text: #16181b;
  --muted: #5c6066;
  --muted-d: #a4a8ae;
  --steel: #8a8f95;
  --red: #e50e09;
  --red-deep: #c20c08;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(84px, 11vw, 152px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  background: var(--bone);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--red); color: #fff; padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.ic { width: 20px; height: 20px; flex: none; }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--f-display);
  font-stretch: 112%;
  font-weight: 640;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.eyebrow .idx { color: var(--red-deep); }
.eyebrow .idx::after { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; margin-left: 14px; vertical-align: middle; opacity: .6; }
.eyebrow--light { color: var(--muted-d); }
.eyebrow--light .idx { color: var(--red); }
.section-lede { color: var(--muted); font-size: clamp(1.02rem, 1.3vw, 1.15rem); max-width: 34em; margin-top: 22px; text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: inherit; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  border-radius: var(--radius);
  font-family: var(--f-body); font-weight: 600; font-size: 15.5px; letter-spacing: .005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn .ic { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .ic:last-child:not(:first-child) { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn--red { --bg: var(--red); --fg: #fff; }
.btn--red:hover { --bg: var(--red-deep); }
.btn--dark { --bg: var(--ink); --fg: #fff; }
.btn--dark:hover { --bg: #2a2d32; }
.btn--ghost-light { --fg: #fff; --bd: rgba(255,255,255,.28); }
.btn--ghost-light:hover { --bd: #fff; --bg: rgba(255,255,255,.06); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 4px;
}
.link-arrow .ic { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }
.link-arrow:hover { color: var(--red-deep); }
.link-arrow--light:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  color: #fff;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .45s var(--ease);
}
.site-header.is-solid { background: rgba(17, 18, 20, .92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); box-shadow: 0 1px 0 var(--line-d); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { flex: none; }
.brand img { width: 128px; height: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a {
  position: relative; display: block; padding: 10px 12px;
  font-size: 14.5px; font-weight: 500; text-decoration: none; color: rgba(255,255,255,.82);
  transition: color .25s;
}
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover, .nav a[aria-current="true"] { color: #fff; }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.header-phone .ic { width: 17px; height: 17px; color: var(--red); }
.header-phone:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

.menu-toggle { display: none; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; cursor: pointer; position: relative; }
.menu-bars, .menu-bars::before, .menu-bars::after { position: absolute; left: 11px; width: 22px; height: 1.6px; background: #fff; transition: transform .35s var(--ease), opacity .2s; }
.menu-bars { top: 21px; }
.menu-bars::before { content: ""; left: 0; top: -7px; }
.menu-bars::after { content: ""; left: 0; top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 51;
  background: var(--ink); color: #fff;
  padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu li { border-bottom: 1px solid var(--line-d); }
.mobile-menu nav a { display: block; padding: 16px 0; font-family: var(--f-display); font-stretch: 110%; font-weight: 600; font-size: 1.6rem; text-decoration: none; letter-spacing: -.01em; }
.mobile-menu.is-open nav li { animation: menuIn .5s var(--ease) both; }
.mobile-menu.is-open nav li:nth-child(2) { animation-delay: .04s; }
.mobile-menu.is-open nav li:nth-child(3) { animation-delay: .08s; }
.mobile-menu.is-open nav li:nth-child(4) { animation-delay: .12s; }
.mobile-menu.is-open nav li:nth-child(5) { animation-delay: .16s; }
.mobile-menu.is-open nav li:nth-child(6) { animation-delay: .2s; }
@keyframes menuIn { from { opacity: 0; transform: translateY(10px); } }
.mobile-menu-foot { display: grid; gap: 12px; margin-top: 32px; }
.mobile-menu-foot p { color: var(--muted-d); font-size: 14px; text-align: center; margin-top: 4px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: max(720px, 100svh);
  background:
    radial-gradient(1100px 600px at 82% 18%, rgba(255,255,255,.07), transparent 60%),
    radial-gradient(900px 500px at 70% 100%, rgba(229,14,9,.10), transparent 65%),
    var(--ink);
  color: #fff;
  display: flex; flex-direction: column;
  padding-top: calc(var(--header-h) + clamp(32px, 6vh, 72px));
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse 70% 70% at 60% 55%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 55%, #000 30%, transparent 80%);
}
.hero-photo { position: absolute; inset: 0; pointer-events: none; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; opacity: .3; filter: grayscale(.35) contrast(1.05); }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(17,18,20,.82) 38%, rgba(17,18,20,.35) 100%),
    linear-gradient(to top, var(--ink) 0%, transparent 45%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-copy { max-width: 980px; }
.hero-title {
  font-family: var(--f-display);
  font-stretch: 115%;
  font-weight: 660;
  font-size: clamp(2.6rem, 5.2vw, 4.7rem);
  line-height: .98;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { font-style: normal; color: var(--red); }
.hero-lede { margin-top: 28px; max-width: 30em; font-size: clamp(1.05rem, 1.45vw, 1.22rem); color: rgba(255,255,255,.74); max-width: 33em; text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 14px; color: var(--muted-d); }
.hero-note .ic { width: 18px; height: 18px; color: var(--red); }


.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--steel); box-shadow: 0 0 0 4px rgba(138,143,149,.18); }
.status.is-open .dot { background: #3ccf7a; box-shadow: 0 0 0 4px rgba(60,207,122,.16); }
.status.is-open { color: #fff; }

/* hero location panel */
.hero-loc { position: relative; z-index: 2; margin-top: auto; background: rgba(22, 24, 27, .86); border-top: 1px solid var(--line-d); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero-loc-inner {
  display: grid; grid-template-columns: 220px minmax(0, 1.5fr) minmax(0, 1fr) auto;
  grid-template-areas: "map addr hours actions";
  gap: 18px 36px; align-items: center; padding-top: 22px; padding-bottom: 22px;
}
.loc-map {
  grid-area: map; position: relative; display: block; height: 112px; overflow: hidden;
  border: 1px solid var(--line-d);
  background:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 16px 16px,
    var(--ink-3);
}
.loc-map iframe {
  position: absolute; top: -70px; left: -50px; width: calc(100% + 100px); height: calc(100% + 140px);
  border: 0; pointer-events: none; opacity: 0; transition: opacity .8s var(--ease), transform .8s var(--ease);
  filter: grayscale(1) invert(.92) contrast(.9);
}
.loc-map iframe.is-loaded { opacity: .9; }
.loc-map:hover iframe { transform: scale(1.06); }
.loc-map iframe.is-loaded + .loc-pin { opacity: 0; }
.loc-pin { transition: opacity .6s; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -88%); color: var(--red); filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
.loc-pin .ic { width: 28px; height: 28px; fill: var(--red); }
.loc-pin .ic circle { fill: #fff; stroke: #fff; }
.loc-addr { grid-area: addr; min-width: 0; }
.loc-eyebrow { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.loc-addr h2 { font-family: var(--f-display); font-stretch: 112%; font-weight: 640; font-size: clamp(1.3rem, 2vw, 1.65rem); letter-spacing: -.015em; line-height: 1.1; }
.loc-addr h2 a { text-decoration: none; }
.loc-addr h2 a:hover { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 5px; }
.loc-sub { margin-top: 6px; font-size: 14px; color: var(--muted-d); }
.loc-hours { grid-area: hours; display: grid; gap: 4px; font-size: 14px; color: var(--muted-d); }
.loc-hours .status { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 500; }
.loc-actions { grid-area: actions; }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--light:hover { --bg: #e8e4dd; }

/* hero entrance */
.hero-anim { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; animation-delay: calc(.12s + var(--d) * .09s); }
.hero-title .hero-anim { transform: translateY(105%); opacity: 1; animation-name: riseLine; animation-duration: 1s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes riseLine { to { transform: none; } }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes fade { to { opacity: 1; } }

/* ---------- Facts ---------- */
.facts { background: var(--ink-2); color: #fff; border-top: 1px solid var(--line-d); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: clamp(32px, 4vw, 52px) clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--line-d); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact-big { font-family: var(--f-display); font-stretch: 115%; font-weight: 640; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; letter-spacing: -.02em; }
.fact-big sup { font-size: .5em; color: var(--red); vertical-align: top; position: relative; top: .1em; margin-left: 2px; }
.fact-big .slash { color: var(--red); margin: 0 .08em; }
.fact-label { margin-top: 14px; font-size: 14.5px; line-height: 1.5; color: var(--muted-d); max-width: 22em; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-head { margin-bottom: clamp(44px, 6vw, 80px); }
.section-head--split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px 64px; align-items: end; }
.section-head--split .section-lede { margin-top: 0; justify-self: end; }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 24px); }
.svc {
  position: relative; background: var(--paper);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: border-color .4s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.svc:hover { border-color: #cfc8bc; box-shadow: 0 24px 50px -30px rgba(17,18,20,.35); transform: translateY(-3px); }
.svc-art { position: relative; height: clamp(220px, 23vw, 300px); background: var(--ink); overflow: hidden; color: var(--red); display: grid; place-items: center; }
.svc-body { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; flex: 1; }
.svc-num { font-family: var(--f-mono); font-size: 12px; color: var(--red-deep); letter-spacing: .1em; }
.svc h3 { font-family: var(--f-display); font-stretch: 110%; font-weight: 640; font-size: clamp(1.4rem, 2vw, 1.7rem); letter-spacing: -.015em; line-height: 1.1; margin: 10px 0 14px; }
.svc-body > p:not(.svc-num) { color: var(--muted); font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 24px; }
.tags li { font-size: 12.5px; font-weight: 500; padding: 5px 10px; border: 1px solid var(--line); border-radius: 2px; color: #3d4046; }

/* service photos */
.svc-art--photo { display: block; }
.svc-art--photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--y, 50%); transition: transform 1.2s var(--ease); }
.svc:hover .svc-art--photo img { transform: scale(1.03); }

/* also in the shop */
.more { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: 260px 1fr; gap: 24px 64px; }
.more-title { font-family: var(--f-display); font-stretch: 110%; font-weight: 620; font-size: 1.35rem; letter-spacing: -.01em; }
.more-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 1px solid var(--line); }
.more-list > div { padding: 20px 0 22px; border-bottom: 1px solid var(--line); }
.more-list dt { font-weight: 600; font-size: 16.5px; position: relative; padding-left: 18px; }
.more-list dt::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--red); }
.more-list dd { margin: 6px 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.not-us { grid-column: 2; font-size: 15px; color: var(--muted); padding: 18px 20px; background: rgba(17,18,20,.04); border-left: 2px solid var(--ink); }
.not-us strong { color: var(--text); }

/* ---------- Approach ---------- */
.approach { background: var(--paper); border-top: 1px solid var(--line); }
.approach-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(40px, 7vw, 120px); align-items: start; }
.approach-head { position: sticky; top: calc(var(--header-h) + 40px); }
.principles { counter-reset: p; border-top: 1px solid var(--line); }
.principles > li { counter-increment: p; position: relative; padding: 36px 0 40px 72px; border-bottom: 1px solid var(--line); }
.principles > li::before { content: "0" counter(p); position: absolute; left: 0; top: 40px; font-family: var(--f-mono); font-size: 13px; color: var(--red-deep); letter-spacing: .08em; }
.principles h3 { font-family: var(--f-display); font-stretch: 110%; font-weight: 640; font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -.015em; line-height: 1.15; margin-bottom: 12px; }
.principles p { color: var(--muted); }
.parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.part { padding: 18px 18px 20px; background: var(--bone); border: 1px solid var(--line); transition: border-color .3s, background-color .3s; }
.part:hover { border-color: var(--ink); background: #fff; }
.part-tag { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text) !important; margin-bottom: 8px; }
.part p:not(.part-tag) { font-size: 14.5px; line-height: 1.5; }
.aside { margin-top: 16px; font-size: 15px; font-style: italic; }

/* ---------- Insurance ---------- */
.insurance { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.insurance .section-lede { color: var(--muted-d); }
.ins-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px clamp(40px, 7vw, 120px); align-items: end; }
.ins-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); }
.ins-steps li { background: var(--ink); padding: 26px 24px 28px; display: grid; gap: 14px; align-content: start; transition: background-color .35s; }
.ins-steps li:hover { background: var(--ink-3); }
.ins-steps span { font-family: var(--f-mono); font-size: 12px; color: var(--red); letter-spacing: .1em; }
.ins-steps p { color: var(--muted-d); font-size: 15px; line-height: 1.5; }
.ins-steps strong { display: block; color: #fff; font-weight: 600; font-size: 17px; margin-bottom: 4px; }
.insurers { margin-top: clamp(56px, 7vw, 88px); padding: 32px 0; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.insurers-label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 20px; }
.ins-logos { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.ins-logos li { background: var(--bone); min-height: 84px; padding: 14px 16px; display: grid; place-items: center; transition: background-color .3s, transform .3s; }
.ins-logos li:hover { background: #fff; transform: translateY(-2px); }
.ins-logos img { display: block; height: var(--h, 28px); width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 1100px) { .ins-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .ins-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ins-logos li { min-height: 72px; }
  .ins-logos li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.ins-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; margin-top: 28px; color: var(--muted-d); font-size: 15px; }
.ins-foot strong { color: #fff; font-weight: 600; }
.ins-foot .pay span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-right: 10px; color: var(--steel); }

/* ---------- Before / after ---------- */
.work { background: var(--bone); }
.ba-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(20px, 3vw, 40px); align-items: start; }
.ba { margin: 0; }
.ba-stage {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: #d9d4cb; user-select: none; touch-action: pan-y;
  --pos: 50%;
}
.ba-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease); }
.ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px; border-radius: 50%; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .3s var(--ease); }
.ba-handle span::before, .ba-handle span::after { content: ""; position: absolute; top: 50%; width: 9px; height: 9px; border: solid var(--ink); border-width: 0 0 1.6px 1.6px; }
.ba-handle span::before { left: 13px; transform: translateY(-50%) rotate(45deg); }
.ba-handle span::after { right: 13px; transform: translateY(-50%) rotate(-135deg); }
.ba-stage:hover .ba-handle span, .ba-range:focus-visible ~ .ba-handle span { transform: scale(1.08); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba-range:focus-visible { opacity: 0; }
.ba-stage:has(.ba-range:focus-visible) { outline: 2px solid var(--red); outline-offset: 3px; }
/* Side-by-side mode: before and after taken from different angles */
.ba-stage.is-pair { cursor: default; }
.ba-stage.is-pair .ba-before-wrap { right: calc(50% + 2px); clip-path: none; }
.ba-stage.is-pair .ba-after { left: calc(50% + 2px); width: calc(50% - 2px); }
.ba-stage.is-pair .ba-handle, .ba-stage.is-pair .ba-range { display: none; }
.ba-tag { position: absolute; top: 16px; padding: 6px 10px; background: rgba(17,18,20,.78); color: #fff; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.ba-tag--before { left: 16px; }
.ba-tag--after { right: 16px; background: var(--red); }
.ba-caption { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: baseline; justify-content: space-between; padding-top: 18px; }
.ba-title { font-weight: 600; }
.ba-desc { color: var(--muted); font-size: 15px; }
.ba-list { display: grid; gap: 10px; }
.ba-item {
  display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center;
  padding: 10px; background: transparent; border: 1px solid var(--line); text-align: left; cursor: pointer;
  transition: border-color .3s, background-color .3s;
}
.ba-item img { width: 92px; aspect-ratio: 16/10; object-fit: cover; background: #d9d4cb; }
.ba-item strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.ba-item small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.ba-item:hover { border-color: #bfb8ab; background: var(--paper); }
.ba-item[aria-selected="true"] { border-color: var(--ink); background: var(--paper); box-shadow: inset 3px 0 0 var(--red); }
.ba-note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); padding: 12px 2px 0; line-height: 1.5; }

/* ---------- Restoration ---------- */
.restore { background: var(--ink-2); color: #fff; }
.restore-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px clamp(40px, 7vw, 112px); align-items: center; }
.restore-media { position: relative; }
.restore-media img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 78%; }
.restore-copy > p:not(.eyebrow) { color: var(--muted-d); margin-top: 22px; max-width: 32em; }
.restore-copy .eyebrow { color: var(--muted-d); }
.restore-copy .eyebrow .idx { color: var(--red); }
.restore-points { margin: 32px 0 36px; border-top: 1px solid var(--line-d); }
.restore-points li { padding: 14px 0 14px 26px; border-bottom: 1px solid var(--line-d); position: relative; font-size: 16px; }
.restore-points li::before { content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 1px; background: var(--red); }

/* ---------- Process ---------- */
.process { background: var(--bone); }
.process-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(40px, 7vw, 120px); align-items: start; }
.process-head { position: sticky; top: calc(var(--header-h) + 40px); }
.process-head .btn { margin-top: 32px; }
.steps { position: relative; --progress: 0; }
.steps::before, .steps::after { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 1px; background: var(--line); }
.steps::after { background: var(--red); transform-origin: top; transform: scaleY(var(--progress)); }
.step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 28px; padding: 0 0 clamp(36px, 5vw, 56px); }
.step:last-child { padding-bottom: 0; }
.step-num {
  position: relative; z-index: 1;
  width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--bone); border: 1px solid var(--line); border-radius: 50%;
  font-family: var(--f-mono); font-size: 13px; color: var(--muted);
  transition: background-color .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease);
}
.step.is-active .step-num { background: var(--ink); border-color: var(--ink); color: #fff; }
.step h3 { font-family: var(--f-display); font-stretch: 110%; font-weight: 640; font-size: clamp(1.3rem, 2vw, 1.55rem); letter-spacing: -.015em; line-height: 1.15; margin: 10px 0 10px; }
.step p { color: var(--muted); max-width: 34em; }

/* ---------- Reviews ---------- */
.reviews { background: var(--paper); border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 112px) 0; }
.reviews-card { display: grid; grid-template-columns: 1fr auto; gap: 32px 64px; align-items: end; }
.reviews-actions .ic--g { width: 20px; height: 20px; background: #fff; border-radius: 50%; padding: 2px; }
.reviews-actions { display: grid; gap: 18px; justify-items: start; }
.rating-badge { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.rating-badge strong { font-family: var(--f-display); font-stretch: 112%; font-weight: 640; font-size: 2.6rem; line-height: 1; letter-spacing: -.02em; }
.rating-stars, .quote-stars { color: var(--red); letter-spacing: .12em; }
.rating-badge span:last-child { color: var(--muted); font-size: 15px; }
.quotes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
@media (max-width: 1100px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.quote-stars { font-size: 15px; margin-bottom: -8px; }
.quote { padding: 28px; background: var(--bone); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; }
.quote blockquote { flex: 1; }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.55; }
.quote-note { font-size: 13px; color: var(--muted); margin-top: -8px; }
.quote-by { font-weight: 600; font-size: 15px; }
.quote-by span { display: block; margin-top: 2px; font-weight: 400; font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { background: var(--bone); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 7vw, 120px); align-items: start; }
.faq .section-lede a { color: var(--text); font-weight: 600; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding: 24px 0; font-weight: 600; font-size: clamp(1.02rem, 1.4vw, 1.12rem);
  transition: color .25s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--red-deep); }
.faq-list summary .ic { width: 20px; height: 20px; transition: transform .4s var(--ease); }
.faq-list details[open] summary .ic { transform: rotate(45deg); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 48px 26px 0; color: var(--muted); }

/* ---------- Estimate ---------- */
.estimate { background: var(--ink); color: #fff; }
.estimate .section-lede { color: var(--muted-d); }
.est-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px clamp(40px, 6vw, 96px); align-items: start; }
.est-head { margin-bottom: 44px; }
.est-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.est-form label, .est-form .label, .est-form legend { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.86); }
.req { color: var(--red); }
.est-form input[type="text"], .est-form input[type="tel"], .est-form input[type="email"], .est-form textarea {
  width: 100%; padding: 14px 16px;
  background: var(--ink-2); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius);
  color: #fff; font-size: 16px; line-height: 1.4;
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.est-form textarea { resize: vertical; min-height: 120px; }
.est-form input::placeholder, .est-form textarea::placeholder { color: rgba(255,255,255,.32); }
.est-form input:hover, .est-form textarea:hover { border-color: rgba(255,255,255,.28); }
.est-form input:focus, .est-form textarea:focus { outline: none; border-color: #fff; background: var(--ink-3); box-shadow: 0 0 0 3px rgba(255,255,255,.08); }
.est-form [aria-invalid="true"] { border-color: var(--red) !important; }
.hint { font-size: 13.5px; color: var(--muted-d); margin-top: -10px; }
.hint.is-error { color: #ff6b66; }
.err { font-size: 13.5px; color: #ff6b66; min-height: 0; }
.err:empty { display: none; }
.vehicle { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr 120px; gap: 12px 20px; }
.vehicle legend { padding: 0; margin-bottom: 10px; }
.vehicle .field label { font-size: 12.5px; color: var(--muted-d); font-weight: 400; }
.vehicle .err { grid-column: 1 / -1; }

.drop {
  position: relative; display: grid; justify-items: center; gap: 6px; text-align: center;
  padding: 28px 20px; border: 1px dashed rgba(255,255,255,.26); border-radius: var(--radius);
  background: rgba(255,255,255,.02); cursor: pointer; color: var(--muted-d); font-size: 15px;
  transition: border-color .25s, background-color .25s;
}
.drop strong { color: #fff; font-weight: 600; }
.drop .ic { width: 26px; height: 26px; color: var(--red); margin-bottom: 4px; }
.drop:hover, .drop.is-over { border-color: #fff; background: rgba(255,255,255,.05); }
.drop:focus-within { border-color: #fff; outline: 2px solid var(--red); outline-offset: 3px; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop-hint { font-size: 13px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.thumbs:empty { display: none; }
.thumbs li { position: relative; aspect-ratio: 1; background: var(--ink-3); overflow: hidden; animation: fade .4s var(--ease) both; opacity: 0; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button {
  position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border: 0; border-radius: 50%;
  background: rgba(17,18,20,.85); color: #fff; cursor: pointer; display: grid; place-items: center; font-size: 16px; line-height: 1;
}
.thumbs button:hover { background: var(--red); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 6px; }
.privacy { font-size: 13.5px; color: var(--muted-d); }
.form-status { font-size: 15px; color: var(--muted-d); }
.form-status.is-error { color: #ff6b66; }
.form-status a { color: #fff; }
.btn[disabled] { opacity: .65; cursor: progress; }
.form-done { padding: 40px; border: 1px solid var(--line-d); background: var(--ink-2); }
.form-done:focus { outline: none; }
.form-done .ic { width: 40px; height: 40px; color: #fff; background: var(--red); border-radius: 50%; padding: 9px; margin-bottom: 20px; }
.form-done h3 { font-family: var(--f-display); font-stretch: 110%; font-weight: 640; font-size: 1.7rem; letter-spacing: -.015em; margin-bottom: 10px; }
.form-done p { color: var(--muted-d); }
.form-done a { color: #fff; }

.contact-col { position: sticky; top: calc(var(--header-h) + 32px); }
.contact-card { border: 1px solid var(--line-d); background: var(--ink-2); padding: clamp(24px, 3vw, 36px); }
.contact-card h3 { font-size: 15px; font-weight: 500; color: var(--muted-d); }
.contact-phone { display: block; margin: 6px 0 24px; font-family: var(--f-display); font-stretch: 112%; font-weight: 640; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.02em; text-decoration: none; font-variant-numeric: tabular-nums; }
.contact-phone:hover { color: var(--red); }
.contact-list { border-top: 1px solid var(--line-d); }
.contact-list > li { display: grid; grid-template-columns: 20px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-d); font-size: 15px; }
.contact-list .ic { color: var(--red); width: 19px; height: 19px; margin-top: 2px; }
.contact-list a { display: block; text-decoration: none; color: rgba(255,255,255,.9); overflow-wrap: anywhere; }
.contact-list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hours { border-collapse: collapse; width: 100%; }
.hours th, .hours td { padding: 2px 0; text-align: left; font-weight: 400; color: var(--muted-d); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: #fff; font-weight: 600; }
.map { margin: 22px 0 18px; aspect-ratio: 16/10; background: var(--ink-3); overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

/* ---------- Footer ---------- */
.site-footer { background: #0b0c0d; color: var(--muted-d); padding: clamp(64px, 8vw, 104px) 0 calc(28px + env(safe-area-inset-bottom)); font-size: 15px; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-d); }
.foot-brand img { width: 168px; height: auto; margin-bottom: 22px; }
.foot-brand p { max-width: 26em; }
.social { display: flex; gap: 8px; margin-top: 24px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-d); border-radius: 50%; color: #fff; transition: background-color .3s, border-color .3s; }
.social a:hover { background: var(--red); border-color: var(--red); }
.social .ic { width: 18px; height: 18px; }
.foot-col h3 { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.foot-col li + li { margin-top: 10px; }
.foot-col a { text-decoration: none; }
.foot-col a:hover { color: #fff; }
.foot-col address { font-style: normal; line-height: 1.8; }
.foot-hours { margin-top: 14px; font-size: 14px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 24px; font-size: 13.5px; }

/* ---------- Quick bar (mobile) ---------- */
.quickbar { display: none; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1120px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .ba-layout { grid-template-columns: 1fr; }
  .hero-loc-inner { grid-template-columns: 150px minmax(0, 1fr) auto; grid-template-areas: "map addr actions" "map hours actions"; }
  .ba-list { grid-template-columns: repeat(3, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line-d); }
  .section-head--split { grid-template-columns: 1fr; }
  .section-head--split .section-lede { justify-self: start; }
  .svc-grid { grid-template-columns: 1fr; }
  .more { grid-template-columns: 1fr; }
  .not-us { grid-column: auto; }
  .approach-grid, .process-grid, .faq-grid, .ins-grid, .restore-grid, .est-grid { grid-template-columns: 1fr; }
  .approach-head, .process-head, .contact-col { position: static; }
  .reviews-card { grid-template-columns: 1fr; align-items: start; }
  .quotes { grid-template-columns: 1fr; }
  .restore-media { order: 2; }
  .hero-loc { order: 2; margin-top: 48px; }
}

@media (max-width: 680px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .brand img { width: 108px; }
  .header-phone, .header-actions .btn { display: none; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 44px); }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-title { font-size: clamp(2.3rem, 10.6vw, 3rem); opacity: 0; animation: rise .9s var(--ease) .2s forwards; transform: translateY(14px); }
  .hero-title .line { display: inline; overflow: visible; }
  .hero-title .line > span { display: inline; transform: none; animation: none; }
  .hero-loc-inner { grid-template-columns: 1fr; grid-template-areas: "map" "addr" "hours" "actions"; padding-top: 0; }
  .hero-loc .wrap { padding: 0; }
  .loc-map { height: 150px; border-left: 0; border-right: 0; border-top: 0; }
  .loc-addr, .loc-hours, .loc-actions { padding: 0 var(--gutter); }
  .loc-actions .btn { width: 100%; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact { border-left: 0 !important; padding: 26px 0 !important; border-top: 1px solid var(--line-d); }
  .fact:first-child { border-top: 0; }
  .more-list { grid-template-columns: 1fr; }
  .parts { grid-template-columns: 1fr; }
  .principles > li { padding-left: 0; padding-top: 56px; }
  .principles > li::before { top: 30px; }
  .ins-steps { grid-template-columns: 1fr; }
  .ba-list { grid-template-columns: 1fr; }
  .ba-handle span { width: 44px; height: 44px; margin: -22px; }
  .ba-handle span::before { left: 10px; }
  .ba-handle span::after { right: 10px; }
  .est-form { grid-template-columns: 1fr; }
  .vehicle { grid-template-columns: 1fr 1fr; }
  .vehicle .field--year { grid-column: 1 / -1; }
  .form-foot .btn { width: 100%; }
  .faq-a p { padding-right: 0; }
  .foot-top { grid-template-columns: 1fr; }
  .quickbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: 1fr 1.6fr; gap: 1px;
    background: var(--line-d);
    padding-bottom: env(safe-area-inset-bottom);
    background-color: var(--ink);
    border-top: 1px solid var(--line-d);
    transform: translateY(110%); transition: transform .45s var(--ease);
  }
  .quickbar.is-visible { transform: none; }
  .quickbar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 60px; color: #fff; text-decoration: none; font-weight: 600; background: var(--ink); }
  .quickbar .ic { width: 18px; height: 18px; color: var(--red); }
  .quickbar .qb-main { background: var(--red); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .hero-anim, .hero-title .hero-anim { opacity: 1; transform: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* =========================================================
   Homepage → portfolio link
   ========================================================= */
.work-head-side { justify-self: end; display: grid; gap: 20px; justify-items: start; max-width: 34em; }
.work-head-side .section-lede { margin-top: 0; }
.ba-desc a { color: var(--text); font-weight: 600; text-underline-offset: 4px; }
.ba-desc a:hover { color: var(--red-deep); }
@media (max-width: 920px) { .work-head-side { justify-self: start; } }

/* =========================================================
   Portfolio page
   ========================================================= */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(700px 400px at 90% 100%, rgba(229,14,9,.12), transparent 65%),
    var(--ink);
  padding: calc(var(--header-h) + clamp(48px, 8vw, 104px)) 0 clamp(56px, 7vw, 96px);
}
.page-hero-inner { position: relative; z-index: 1; }
.crumbs ol { display: flex; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-d); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--red); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }
.page-title { margin-top: 24px; font-family: var(--f-display); font-stretch: 115%; font-weight: 660; font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: .96; letter-spacing: -.035em; }
.page-lede { margin-top: 22px; max-width: 34em; color: rgba(255,255,255,.74); font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.page-hero-car { position: absolute; right: -4%; bottom: -14%; width: min(46%, 620px); height: auto; color: var(--red); opacity: .9; pointer-events: none; clip-path: inset(0 100% 0 0); animation: wipe 1.6s cubic-bezier(.65,0,.2,1) .4s forwards; }

.pf { padding: clamp(40px, 5vw, 64px) 0 var(--section); background: var(--bone); }
.pf-notice { margin-bottom: 28px; padding: 14px 18px; border-left: 2px solid var(--red); background: rgba(229,14,9,.05); font-size: 15px; color: #3d4046; }
.pf-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; margin-bottom: 32px; }
.pf-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--line); background: var(--paper); border-radius: 2px; cursor: pointer;
  font-size: 14.5px; font-weight: 500; color: var(--text);
  transition: border-color .25s, background-color .25s, color .25s;
}
.chip small { font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.chip:hover { border-color: #bfb8ab; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed="true"] small { color: var(--red); }
.pf-count { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.pf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.pf-card { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; scroll-margin-top: calc(var(--header-h) + 24px); transition: border-color .35s var(--ease), box-shadow .5s var(--ease); }
.pf-card:hover { border-color: #cfc8bc; box-shadow: 0 24px 50px -32px rgba(17,18,20,.35); }
.pf-card .ba-stage { aspect-ratio: 16 / 10; }
.pf-card .ba-tag { top: 12px; font-size: 10.5px; padding: 5px 8px; }
.pf-card .ba-tag--before { left: 12px; }
.pf-card .ba-tag--after { right: 12px; }
.pf-card .ba-handle span { width: 44px; height: 44px; margin: -22px; }
.pf-card .ba-handle span::before { left: 10px; }
.pf-card .ba-handle span::after { right: 10px; }
.pf-body { padding: 22px 24px 26px; display: grid; gap: 6px; justify-items: start; }
.pf-meta { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--red-deep); }
.pf-title { font-family: var(--f-display); font-stretch: 110%; font-weight: 640; font-size: clamp(1.25rem, 1.8vw, 1.5rem); letter-spacing: -.015em; line-height: 1.15; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pf-sample { font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 3px 7px; border: 1px solid var(--line); color: var(--muted); }
.pf-vehicle { color: var(--muted); font-size: 15px; }
.pf-open { margin-top: 12px; background: none; border: 0; border-bottom: 1px solid currentColor; padding: 0 0 4px; cursor: pointer; font-size: 15.5px; color: var(--text); }
.js .pf-card { opacity: 0; transform: translateY(14px); }
.js .pf-card.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease), border-color .35s var(--ease), box-shadow .5s var(--ease); }

.pf-cta { background: var(--ink); color: #fff; padding: clamp(72px, 9vw, 120px) 0; }
.pf-cta .section-lede { color: var(--muted-d); }
.pf-cta-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px clamp(40px, 6vw, 96px); align-items: end; }
.pf-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pf-cta-addr { flex-basis: 100%; display: flex; gap: 10px; align-items: center; margin-top: 10px; font-size: 14.5px; color: var(--muted-d); }
.pf-cta-addr .ic { width: 18px; height: 18px; color: var(--red); }
.pf-cta-addr a { color: #fff; }

/* project dialog */
.pfd {
  width: min(1240px, calc(100vw - 32px)); max-height: calc(100svh - 32px);
  padding: 0; border: 0; background: var(--paper); color: var(--text);
  box-shadow: 0 40px 120px rgba(0,0,0,.5);
}
.pfd::backdrop { background: rgba(11, 12, 13, .78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.pfd[open] { animation: pfdIn .45s var(--ease); }
@keyframes pfdIn { from { opacity: 0; transform: translateY(16px) scale(.985); } }
.pfd-scroll { max-height: calc(100svh - 32px); overflow-y: auto; overscroll-behavior: contain; }
.pfd-top { position: sticky; top: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px 12px 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
.pfd-pos { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.pfd-nav { display: flex; gap: 6px; }
.pfd-btn { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; color: var(--text); transition: background-color .25s, border-color .25s, color .25s; }
.pfd-btn:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; }
.pfd-btn:disabled { opacity: .35; cursor: default; }
.pfd-btn .ic { width: 18px; height: 18px; }
.pfd-btn .flip { transform: scaleX(-1); }
.pfd-close .ic { transform: rotate(45deg); width: 22px; height: 22px; }
.pfd-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px 40px; padding: 24px; }
.pfd-main, .pfd-info { min-width: 0; }
.pfd-media .ba-stage { aspect-ratio: 16 / 10; }
.pfd-photo { margin: 0; }
.pfd-photo img { width: 100%; height: auto; max-height: min(72vh, 900px); object-fit: contain; background: #d9d4cb; animation: fade .4s var(--ease); }
.pfd-photo figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.pfd-thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding-bottom: 4px; }
.pfd-thumbs button { flex: none; width: 120px; padding: 0; background: none; border: 1px solid var(--line); cursor: pointer; text-align: left; transition: border-color .25s; }
.pfd-thumbs img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #d9d4cb; }
.pfd-thumbs span { display: block; padding: 6px 8px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pfd-thumbs button:hover { border-color: #bfb8ab; }
.pfd-thumbs button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 -3px 0 var(--red); }
.pfd-info { display: grid; gap: 10px; align-content: start; justify-items: start; }
.pfd-title { font-family: var(--f-display); font-stretch: 112%; font-weight: 650; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.02em; line-height: 1.05; }
.pfd-vehicle { font-weight: 600; }
.pfd-summary { color: var(--muted); }
.pfd-info h3 { margin-top: 12px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pfd-work { margin-top: 8px; border-top: 1px solid var(--line); width: 100%; }
.pfd-work li { padding: 10px 0 10px 20px; border-bottom: 1px solid var(--line); position: relative; font-size: 15px; }
.pfd-work li::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 1px; background: var(--red); }
.pfd-info .btn { margin-top: 16px; }

@media (max-width: 920px) {
  .pf-grid { grid-template-columns: 1fr; }
  .pf-cta-inner { grid-template-columns: 1fr; }
  .pfd-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero-car { width: 70%; bottom: -8%; opacity: .5; }
}
@media (max-width: 680px) {
  .pf-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .pf-filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .pf-cta-actions .btn { flex: 1 1 100%; }
  .pfd { width: 100vw; max-width: 100vw; max-height: 100svh; height: 100svh; margin: 0; }
  .pfd-scroll { max-height: 100svh; height: 100%; }
  .pfd-grid { padding: 16px; }
  .pfd-top { padding-left: 16px; }
  .pfd-info .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero-car { clip-path: none; }
  .js .pf-card { opacity: 1; transform: none; }
}

/* VIN field */
.est-form .opt { font-weight: 400; color: var(--muted-d); }
.hint--below { margin-top: 0; }
#f-vin { text-transform: uppercase; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
#f-vin::placeholder { text-transform: none; letter-spacing: 0; }

/* ---------- Photo gallery ---------- */
.gallery { margin-top: clamp(56px, 7vw, 96px); }
.gallery-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: 20px; }
.gallery-title { font-family: var(--f-display); font-stretch: 110%; font-weight: 620; font-size: 1.35rem; letter-spacing: -.01em; }
.gallery-head p { color: var(--muted); font-size: 15px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 16px); }
.gallery-item { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #d9d4cb; cursor: zoom-in; overflow: hidden; text-align: left; }
.gallery-item img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-size: 14px; font-weight: 600; color: #fff; background: linear-gradient(to top, rgba(11,12,13,.78), transparent); }
.gallery-item:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
@media (max-width: 920px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* lightbox */
.lb { width: min(96vw, 1100px); max-width: none; max-height: none; padding: 0; border: 0; background: transparent; color: #fff; overflow: visible; }
.lb::backdrop { background: rgba(11, 12, 13, .92); }
.lb[open] { animation: pfdIn .35s var(--ease); }
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 10px; }
.lb-pos { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: rgba(255,255,255,.7); }
.lb-nav { display: flex; gap: 6px; }
.lb-btn { width: 44px; height: 44px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #fff; cursor: pointer; transition: background-color .25s, border-color .25s; }
.lb-btn:hover { background: var(--red); border-color: var(--red); }
.lb-btn .ic { width: 18px; height: 18px; }
.lb-btn .flip { transform: scaleX(-1); }
.lb-close .ic { width: 22px; height: 22px; transform: rotate(45deg); }
.lb-fig { margin: 0; text-align: center; }
.lb-fig img { display: block; margin: 0 auto; width: auto; max-width: 100%; height: auto; max-height: calc(100svh - 130px); object-fit: contain; animation: fade .35s var(--ease); }
.lb-fig figcaption { margin-top: 10px; font-size: 15px; color: rgba(255,255,255,.8); }
html.lb-open { overflow: hidden; }

/* ---------- "Also in the shop" list: links to service pages ---------- */
.more-list > div { position: relative; transition: background-color .3s; }
.more-list dt a { text-decoration: none; color: inherit; display: inline-flex; align-items: center; gap: 8px; }
.more-list dt a::after { content: ""; position: absolute; inset: 0; }
.more-list dt a .ic { width: 16px; height: 16px; color: var(--red); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s var(--ease); }
.more-list > div:hover dt a, .more-list dt a:focus-visible { color: var(--red-deep); }
.more-list > div:hover dt a .ic, .more-list dt a:focus-visible .ic { opacity: 1; transform: none; }
.more-list dt a:focus-visible { outline: none; }
.more-list > div:has(a:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
@media (hover: none) { .more-list dt a .ic { opacity: 1; transform: none; } }

/* ---------- Footer: five columns ---------- */
.foot-top { grid-template-columns: 1.5fr 1fr 1.1fr 1fr 1.2fr; }

/* ---------- Service pages ---------- */
.svcp-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.svcp { background: var(--paper); }
.svcp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.svcp-body { min-width: 0; max-width: 760px; }
.svcp-sec + .svcp-sec { margin-top: clamp(48px, 6vw, 72px); }
.svcp-sec h2 { font-family: var(--f-display); font-stretch: 110%; font-weight: 650; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.02em; line-height: 1.12; margin-bottom: 16px; }
.svcp-sec > p { color: #3d4046; font-size: 17px; line-height: 1.7; max-width: 40em; }
.svcp-sec > p + p, .svcp-list + p, .parts + p { margin-top: 14px; }
.svcp-sec a:not(.btn):not(.link-arrow) { color: var(--text); text-decoration-color: var(--red); text-underline-offset: 3px; }
.svcp-list { margin-top: 16px; display: grid; gap: 12px; }
.svcp-list li { position: relative; padding-left: 22px; color: #3d4046; font-size: 16.5px; line-height: 1.6; }
.svcp-list li::before { content: ""; position: absolute; left: 0; top: .66em; width: 7px; height: 7px; background: var(--red); }
.svcp-list li strong { color: var(--text); }
.svcp-sec .parts { margin-top: 4px; }

/* figures */
.svcp-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.svcp-figs--ba { grid-template-columns: 1fr; gap: 28px; }
.svcp-figs figure { margin: 0; }
.svcp-ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.svcp-ba-pair > div { position: relative; }
.svcp-ba-pair img, .svcp-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: #d9d4cb; }
.svcp-figs figcaption { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.svcp-figs figcaption a { color: var(--text); font-weight: 600; }
.svcp-more-link { margin-top: 20px; }

/* steps */
.svcp-steps { counter-reset: s; border-top: 1px solid var(--line); }
.svcp-steps li { counter-increment: s; position: relative; padding: 22px 0 22px 60px; border-bottom: 1px solid var(--line); }
.svcp-steps li::before { content: "0" counter(s); position: absolute; left: 0; top: 25px; font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; color: var(--red-deep); }
.svcp-steps h3 { font-weight: 600; font-size: 17px; margin-bottom: 4px; }
.svcp-steps p { color: var(--muted); font-size: 16px; line-height: 1.6; }
.svcp-steps a { color: var(--text); font-weight: 600; }

/* why */
.svcp-why { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.svcp-why li { padding: 18px 18px 20px; background: var(--bone); border: 1px solid var(--line); }
.svcp-why strong { display: block; font-family: var(--f-display); font-stretch: 110%; font-weight: 650; font-size: 1.35rem; letter-spacing: -.01em; margin-bottom: 4px; }
.svcp-why span { color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* aside */
.svcp-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.svcp-card-box { background: #fff; border: 1px solid var(--line); padding: 28px; }
.svcp-aside-title { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--red-deep); margin-bottom: 16px; }
.svcp-glance { display: grid; gap: 12px; }
.svcp-glance li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15.5px; line-height: 1.45; }
.svcp-glance .ic { width: 18px; height: 18px; color: var(--red); margin-top: 1px; }
.svcp-aside-cta { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.svcp-aside-cta p { color: var(--muted); font-size: 14.5px; margin-bottom: 6px; }
.svcp-aside-cta .btn { width: 100%; justify-content: center; }
.svcp-visit { margin: 22px 0 0; display: grid; gap: 12px; font-size: 14.5px; }
.svcp-visit dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.svcp-visit dd { margin: 2px 0 0; }
.svcp-visit a { color: var(--text); }

/* other services */
.svcp-others { background: var(--bone); }
.svcp-others .section-head--split .link-arrow { justify-self: end; }
.svcp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.svcp-card { position: relative; display: block; height: 100%; padding: 22px 52px 24px 22px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: border-color .3s, background-color .3s, transform .4s var(--ease); }
.svcp-card strong { display: block; font-weight: 600; font-size: 17px; margin-bottom: 6px; }
.svcp-card span { display: block; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.svcp-card .ic { position: absolute; right: 20px; top: 24px; width: 18px; height: 18px; color: var(--red); transition: transform .3s var(--ease); }
.svcp-card:hover { border-color: var(--ink); background: #fff; }
.svcp-card:hover .ic { transform: translateX(4px); }

@media (max-width: 1100px) {
  .foot-top { grid-template-columns: 1fr 1fr 1fr; }
  .foot-top .foot-brand { grid-column: 1 / -1; }
  .svcp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .svcp-grid { grid-template-columns: 1fr; }
  .svcp-aside { position: static; order: -1; }
  .svcp-aside-cta { display: none; }
  .svcp-visit { padding-top: 20px; border-top: 1px solid var(--line); }
  .svcp-others .section-head--split .link-arrow { justify-self: start; }
}
@media (max-width: 680px) {
  .foot-top { grid-template-columns: 1fr; }
  .svcp-hero-ctas .btn { flex: 1 1 100%; }
  .svcp-figs, .svcp-why, .svcp-cards { grid-template-columns: 1fr; }
  .svcp-sec .parts { grid-template-columns: 1fr; }
  .svcp-steps li { padding-left: 44px; }
}
.svcp-figs--one { grid-template-columns: minmax(0, 440px); }
