/* =========================================================
   Nexus Customs & Detailing — styles
   ========================================================= */

@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo.woff2") format("woff2");
  font-weight: 500 800;
  font-stretch: 100% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #080808;
  --bg-2: #121212;
  --bg-3: #181818;
  --gold: #C6A15B;
  --gold-dark: #94723C;
  --gold-hi: #D6B676;
  --white: #FFFFFF;
  --text: #E9E7E3;
  --muted: #A1A1A1;
  --line: rgba(255, 255, 255, 0.10);
  --line-2: rgba(255, 255, 255, 0.18);
  --error: #FF8A80;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --header-h: 84px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--gold);
  accent-color: var(--gold);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; }

::selection { background: var(--gold); color: #080808; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2a2a; border: 2px solid var(--bg); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }
html { scrollbar-color: #2a2a2a var(--bg); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: -100px; z-index: 100;
  background: var(--gold); color: #080808; padding: .75rem 1rem; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.icon {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Type ---------- */
.h2, .h3, .hero-title {
  font-family: var(--f-display);
  font-stretch: 125%;
  text-transform: uppercase;
  color: var(--white);
  text-wrap: balance;
}
.h2 {
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.h2-xl { font-size: clamp(2.1rem, 4.8vw, 4.25rem); line-height: 1; }
.h3 {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-stretch: 115%;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; color: var(--text); }
.fine-print { font-size: .9rem; color: var(--muted); max-width: 70ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: 0 1.75rem;
  border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--f-body); font-size: .8125rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; line-height: 1.2; text-align: center;
  transition: background-color .25s var(--ease-out), border-color .25s var(--ease-out), color .25s var(--ease-out), transform .25s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: #0b0906; }
.btn-gold:hover { background: var(--gold-hi); }
.btn-ghost { border-color: var(--line-2); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn-sm { min-height: 44px; padding: 0 1.2rem; font-size: .75rem; }
.btn-lg { min-height: 58px; padding: 0 2.25rem; }
.btn-block { width: 100%; }
.text-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); padding-block: .5rem; min-height: 44px;
}
.text-link .icon { transition: transform .3s var(--ease-out); }
.text-link:hover { color: var(--gold-hi); }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .35s var(--ease-out), border-color .35s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(8, 8, 8, 0.92);
  border-bottom-color: var(--line);
}
@supports (backdrop-filter: blur(12px)) {
  .site-header.is-scrolled { background: rgba(8, 8, 8, 0.78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 2rem; }
.brand img { height: 54px; width: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: clamp(1rem, 2vw, 2rem); }
.nav a {
  position: relative; display: inline-block; padding-block: .5rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #CFCCC6;
  transition: color .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
.nav a:hover, .nav a[aria-current="true"] { color: var(--white); }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.menu-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--white);
}
.menu-toggle .icon { width: 22px; height: 22px; }
.mobile-menu {
  border-top: 1px solid var(--line);
  padding: 1rem var(--gutter) 2rem;
  background: var(--bg);
  height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
  overflow-y: auto; overscroll-behavior: contain;
}
.site-header.is-open { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
body.menu-open { overflow: hidden; }
body.menu-open .mobile-bar { display: none; }
.mobile-menu li a {
  display: block; padding: .95rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-stretch: 115%; font-weight: 600; text-transform: uppercase; font-size: 1.05rem; color: var(--white);
}
.mobile-menu-actions { display: grid; gap: .75rem; margin-top: 1.5rem; }

@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand img { height: 46px; }
}
@media (min-width: 1081px) { .mobile-menu { display: none !important; } }

/* ---------- Hero (full-screen background video) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding-top: var(--header-h);
  text-align: center;
  background: var(--bg);
}
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
/* Large screens: two videos side by side, 50% / 50%, each filling its half. */
.hero-split { display: flex; }
.hero-pane { position: relative; flex: 1 1 50%; min-width: 0; overflow: hidden; background: var(--bg); }
.hero-poster, .hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
}
/* Clean seam between the two videos: a hairline that fades out at the top and bottom. */
.hero-pane-b::before {
  content: ""; position: absolute; z-index: 1; left: 0; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, rgba(198,161,91,0), rgba(198,161,91,.45) 30%, rgba(198,161,91,.45) 70%, rgba(198,161,91,0));
}
/* Once a video plays, its still image is hidden: no second image behind it. */
.js .hero-pane.is-playing .hero-poster { visibility: hidden; transition: visibility 0s 1.2s; }
.hero-video { transition: opacity 1.2s var(--ease-out); }
.js .hero-video { opacity: 0; }
.js .hero-pane.is-playing .hero-video { opacity: 1; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(8,8,8,.7) 0, rgba(8,8,8,0) 26%),
    linear-gradient(to top, var(--bg) 0, rgba(8,8,8,0) 30%),
    rgba(0,0,0,.42);
}
.hero-pillars, .hero-lede, .hero-area { text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.hero-inner { padding-block: 4rem 6rem; }
.hero-copy { max-width: 980px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
.hero-title {
  font-size: clamp(2.2rem, 5.6vw, 5rem);
  font-weight: 600; line-height: 1.02; letter-spacing: .01em;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.hero-title .amp { color: var(--gold); }
.hero-pillars {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .35rem 1.1rem;
  margin-top: 1.6rem;
  font-size: clamp(.78rem, 1.1vw, .92rem); font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--white);
}
.hero-pillars span { color: var(--gold); letter-spacing: 0; }
.hero-copy .hero-pillars { position: relative; padding-top: 1.6rem; }
.hero-copy .hero-pillars::after {
  content: ""; position: absolute; top: 0; left: 50%; width: 72px; height: 1px; margin-left: -36px;
  background: var(--gold); transform-origin: center; animation: drawRule 1.1s .45s var(--ease-out) both;
}
@keyframes drawRule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-lede { margin-top: 1.25rem; font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: #E4E1DB; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; margin-top: 2.5rem; }
.hero-area { margin-top: 2rem; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #BDBAB4; }
.hero-copy > * { animation: rise .9s var(--ease-out) both; }
.hero-copy > :nth-child(2) { animation-delay: .1s; }
.hero-copy > :nth-child(3) { animation-delay: .18s; }
.hero-copy > :nth-child(4) { animation-delay: .26s; }
.hero-copy > :nth-child(5) { animation-delay: .34s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.btn-hero { border-color: rgba(255,255,255,.4); color: var(--white); background: rgba(8,8,8,.35); }
.btn-hero:hover { border-color: var(--gold); color: var(--gold-hi); background: rgba(8,8,8,.55); }
.btn-outline-gold { border-color: var(--gold); color: var(--gold-hi); background: rgba(198,161,91,.12); }
.btn-outline-gold:hover { background: rgba(198,161,91,.22); color: var(--white); }

.hero-toggle {
  position: absolute; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: rgba(8,8,8,.4); color: #CFCCC6;
  transition: border-color .25s, color .25s;
}
.hero-toggle[hidden] { display: none; }
.hero-toggle:hover { border-color: var(--gold); color: var(--gold-hi); }
.hero-toggle .icon { width: 16px; height: 16px; }

@media (max-width: 767px), (orientation: portrait) and (max-width: 1100px) {
  /* Phone / upright tablet: only the Lamborghini video, filling the whole hero. */
  .hero { align-items: flex-end; }
  .hero-pane-b { display: none; }
  .hero-pane-a { flex-basis: 100%; }
  .hero-media::after {
    background:
      linear-gradient(to bottom, rgba(8,8,8,.65) 0, rgba(8,8,8,0) 18%),
      linear-gradient(to top, var(--bg) 0, rgba(8,8,8,.82) 22%, rgba(8,8,8,.35) 46%, rgba(8,8,8,0) 62%);
  }
  .hero-inner { padding-block: 3rem 4.5rem; }
  .hero-pillars { flex-wrap: nowrap; white-space: nowrap; font-size: .7rem; letter-spacing: .14em; gap: .55rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 9vw, 8.5rem); position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head p { margin-top: 1.25rem; color: var(--muted); font-size: 1.125rem; max-width: 60ch; }
.section-head-wide { max-width: 980px; }
.section-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }

/* ticks list */
.ticks li {
  position: relative; padding: .42rem 0 .42rem 1.35rem; color: #D2CFC9; font-size: 1rem; line-height: 1.45;
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 1.02em; width: 9px; height: 1px; background: var(--gold);
}
.ticks.cols-2 { columns: 2; column-gap: 2rem; }
.ticks.cols-2 li { break-inside: avoid; }

/* reveal (JS adds .js on <html>) */
.js .reveal-media img { transform: scale(1.06); opacity: .35; transition: transform 1.4s var(--ease-out), opacity 1.1s var(--ease-out); }
.js .reveal-media.is-in img { transform: none; opacity: 1; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about-copy .lede { margin-top: 1.75rem; max-width: 52ch; }
.about-copy > p:not(.lede) { margin-top: 1rem; color: var(--muted); max-width: 60ch; }
.specialties { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.specialties a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 56px; padding: .9rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-stretch: 112%; font-weight: 600; text-transform: uppercase; font-size: 1rem; letter-spacing: .02em;
  color: var(--white); transition: color .25s, padding .35s var(--ease-out);
}
.specialties .icon { color: var(--gold); transition: transform .35s var(--ease-out); }
.specialties a:hover { color: var(--gold-hi); padding-left: .5rem; }
.specialties a:hover .icon { transform: translateX(4px); }
.about-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Packages ---------- */
.packages { background: var(--bg-2); }
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.75rem); }
.package { display: flex; flex-direction: column; padding-top: 1.25rem; border-top: 1px solid var(--line-2); }
.package-featured { border-top-color: var(--gold); }
.package-media { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 1.6rem; background: var(--bg-3); }
.package-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.package:hover .package-media img { transform: scale(1.04); }
.package-desc { margin-top: .7rem; color: var(--muted); min-height: 3.2em; }
.includes { margin-top: 1.3rem; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.package .ticks { margin-top: .9rem; margin-bottom: 2rem; flex: 1; }
.package > .includes + .ticks { margin-top: .5rem; }
.packages .fine-print { margin-top: 2.5rem; }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split-reverse .split-media { order: 2; }
.split-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media figcaption {
  position: absolute; left: 1rem; bottom: 1rem;
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: #E9E7E3;
  background: rgba(8,8,8,.7); padding: .4rem .65rem;
}
.split-copy .lede { margin-top: 1.25rem; color: var(--muted); max-width: 52ch; }
.service-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 2.75rem; }
.service { padding-top: 1.25rem; border-top: 1px solid var(--line-2); }
.service .ticks { margin: .9rem 0 1rem; }
.washes { padding-top: 0; }

/* ---------- Paint ---------- */
.paint { background: var(--bg-2); padding-block: 0; display: grid; grid-template-columns: 5fr 7fr; align-items: stretch; }
.paint-media { position: relative; min-height: 100%; overflow: hidden; }
.paint-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.paint-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, transparent 60%, var(--bg-2)); }
.ref-label {
  position: absolute; left: .75rem; bottom: .75rem; z-index: 1;
  font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: #E9E7E3; background: rgba(8,8,8,.72); padding: .35rem .6rem;
}
.paint-inner { max-width: none; margin: 0; padding-block: clamp(4.5rem, 9vw, 8.5rem); padding-left: clamp(2rem, 5vw, 5rem); }
.paint-copy { max-width: 820px; }
.paint-copy .lede { margin-top: 1.25rem; color: var(--muted); max-width: 54ch; }
.paint-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 2.75rem; }
.tiers { margin: 1rem 0 0; }
.tiers > div { padding: .95rem 0; border-top: 1px solid var(--line); }
.tiers dt { font-family: var(--f-display); font-stretch: 110%; font-weight: 600; text-transform: uppercase; font-size: .9rem; letter-spacing: .02em; color: var(--white); }
.tiers dd { margin: .3rem 0 0; color: var(--muted); font-size: .95rem; }
.beading { position: relative; margin-top: 1.5rem; aspect-ratio: 16 / 10; overflow: hidden; }
.beading img { width: 100%; height: 100%; object-fit: cover; }
.benefits {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin: 2.75rem 0 1.5rem; padding: 1.4rem 0;
  border-block: 1px solid var(--line);
}
.benefits li {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-display); font-stretch: 112%; font-weight: 600; text-transform: uppercase; font-size: .85rem; letter-spacing: .04em; color: var(--white);
}
.benefits li::before { content: ""; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }

/* ---------- Customization ---------- */
.custom-ui { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.custom-tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line); position: sticky; top: calc(var(--header-h) + 1.5rem); }
.custom-tabs [role="tab"] {
  display: flex; align-items: center; gap: 1rem; text-align: left;
  min-height: 60px; padding: 1rem 0; background: none; border: 0; border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-stretch: 115%; font-weight: 600; text-transform: uppercase; font-size: 1.02rem; letter-spacing: .01em;
  color: #8F8C87; transition: color .25s;
}
.custom-tabs [role="tab"]::before {
  content: ""; width: 0; height: 1px; background: var(--gold); transition: width .45s var(--ease-out);
}
.custom-tabs [role="tab"]:hover { color: var(--white); }
.custom-tabs [aria-selected="true"] { color: var(--white); }
.custom-tabs [aria-selected="true"]::before { width: 28px; }
.custom-panels { min-width: 0; }
.custom-panel { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(1.75rem, 3.5vw, 3rem); align-items: center; }
.custom-panel + .custom-panel { margin-top: 4rem; }
.js .custom-panel { margin-top: 0; }
.js .custom-panel:not(.is-active) { display: none; }
.js .custom-panel.is-active { animation: panelIn .6s var(--ease-out) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.custom-panel figure { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.custom-panel figure img { width: 100%; height: 100%; object-fit: cover; }
.custom-copy p { margin-top: 1rem; color: var(--muted); max-width: 48ch; }
.custom-copy .h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.custom-copy .ticks { margin: 1.5rem 0 2rem; }

/* ---------- Gallery ---------- */
.gallery { background: var(--bg); }
.gallery-head { margin-bottom: 2rem; }
.filters {
  display: flex; gap: .4rem 1.75rem; flex-wrap: wrap; margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.filters button {
  position: relative; background: none; border: 0; padding: .9rem 0; min-height: 48px;
  font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8F8C87;
  transition: color .25s;
}
.filters button::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--gold);
  transform: scaleX(0); transition: transform .35s var(--ease-out);
}
.filters button:hover { color: var(--white); }
.filters button[aria-pressed="true"] { color: var(--white); }
.filters button[aria-pressed="true"]::after { transform: scaleX(1); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  grid-auto-flow: dense;
}
.g-item { aspect-ratio: 3 / 4; }
.g-item.is-feature { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.g-item.is-hidden { display: none; }
.g-item a { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: var(--bg-2); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), filter .6s; }
.g-cap {
  position: absolute; inset: auto 0 0 0; padding: 2.5rem 1rem .9rem;
  background: linear-gradient(to top, rgba(8,8,8,.88), transparent);
  font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--white);
  opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.g-item a:hover img, .g-item a:focus-visible img { transform: scale(1.045); }
.g-item a:hover .g-cap, .g-item a:focus-visible .g-cap { opacity: 1; transform: none; }
.g-item a:focus-visible { outline-offset: -2px; }
@media (hover: none) { .g-cap { opacity: 1; transform: none; font-size: .72rem; padding: 2rem .75rem .65rem; } }
.gallery-more { display: flex; justify-content: center; margin-top: 2.5rem; }
.gallery-more[hidden] { display: none; }
.gallery-empty { padding: 3.5rem 0; border-top: 1px solid var(--line); max-width: 640px; }
.gallery-empty p:not(.h3) { margin: .75rem 0 1.75rem; color: var(--muted); }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(5, 5, 5, .96); color: var(--white);
}
.lightbox::backdrop { background: rgba(0,0,0,.7); }
.lightbox[open] { animation: fadeIn .35s var(--ease-out); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 4.5rem 5rem; }
.lightbox figure { display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 11rem); width: auto; height: auto; object-fit: contain; }
.lightbox figcaption { display: flex; gap: 1.25rem; align-items: baseline; margin-top: 1rem; font-size: .9rem; color: #D8D5CF; text-align: center; }
.lb-count { color: var(--muted); font-size: .8rem; letter-spacing: .1em; }
.lb-btn {
  position: absolute; width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: 50%; background: rgba(8,8,8,.6); color: var(--white);
  transition: border-color .25s, color .25s;
}
.lb-btn:hover { border-color: var(--gold); color: var(--gold-hi); }
.lb-btn .icon { width: 22px; height: 22px; }
.lb-close { top: 1.25rem; right: 1.25rem; }
.lb-prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) {
  .lightbox-inner { padding: 4.5rem .75rem 6rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1.25rem; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}

/* ---------- Contact ---------- */
.contact { background: var(--bg-2); }
.contact-grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact-form-col .lede { margin-top: 1.25rem; color: var(--muted); max-width: 52ch; }
.quote-form { margin-top: 2.5rem; display: grid; gap: 1.35rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; }
.form-row-3 { grid-template-columns: 1fr 1.4fr 1.4fr; }
.field { display: grid; gap: .5rem; align-content: start; }
.field label, .field .label {
  font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #CFCCC6;
}
.opt { color: var(--muted); font-weight: 500; letter-spacing: .04em; text-transform: none; }
.field input:not([type="file"]), .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem;
  background: var(--bg); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius);
  color: var(--white); font-size: 1rem; line-height: 1.4;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field ::placeholder { color: #8A8780; opacity: 1; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23C6A15B' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.field select option, .field select optgroup { background: #121212; color: #fff; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255,255,255,.3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198,161,91,.22);
}
.field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.75) sepia(.4) saturate(3) hue-rotate(5deg); cursor: pointer; }
.field.has-error input, .field.has-error select, .field.has-error textarea, .field.has-error .upload { border-color: var(--error); }
.field-error { font-size: .85rem; color: var(--error); min-height: 0; }
.field-error:empty { display: none; }
.upload {
  position: relative; display: flex; align-items: center; gap: .85rem; min-height: 64px; padding: 1rem 1.1rem;
  border: 1px dashed rgba(255,255,255,.24); border-radius: var(--radius); background: var(--bg);
  color: #CFCCC6; cursor: pointer; transition: border-color .2s, background-color .2s;
  font-size: .95rem; text-transform: none; letter-spacing: 0; font-weight: 400;
}
.upload strong { color: var(--white); font-weight: 600; }
.upload .icon { color: var(--gold); width: 22px; height: 22px; }
.upload:hover, .upload.is-drag { border-color: var(--gold); background: #0d0c0a; }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.upload:focus-within { outline: 2px solid var(--gold); outline-offset: 3px; }
.upload-list { display: grid; gap: .4rem; }
.upload-list li {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  font-size: .88rem; color: #D2CFC9; padding: .45rem .75rem; background: var(--bg); border: 1px solid var(--line);
}
.upload-list li span:last-child { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.upload-list button { background: none; border: 0; color: var(--muted); padding: .25rem .4rem; min-height: 32px; }
.upload-list button:hover { color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .5rem; }
.form-note { color: var(--muted); font-size: .9rem; }
.btn .spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(11,9,6,.25); border-top-color: #0b0906; animation: spin .8s linear infinite;
}
.is-loading .btn .spinner { display: inline-block; }
.is-loading [data-submit] { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-alert {
  padding: 1rem 1.15rem; border: 1px solid rgba(255,138,128,.45); background: rgba(255,138,128,.07);
  color: #FFD1CC; font-size: .95rem; border-radius: var(--radius);
}
.form-success { margin-top: 2.5rem; padding: 2.5rem; border: 1px solid rgba(198,161,91,.45); background: rgba(198,161,91,.06); }
.form-success .icon { width: 36px; height: 36px; color: var(--gold); margin-bottom: 1rem; }
.form-success p { margin: .75rem 0 1.75rem; color: #D2CFC9; max-width: 50ch; }
.form-success:focus { outline: none; }

.contact-side { position: sticky; top: calc(var(--header-h) + 2rem); display: grid; gap: 2.75rem; }
.contact-actions .h3 { margin-bottom: 1rem; }
.contact-link {
  display: flex; align-items: center; gap: 1rem; min-height: 60px; padding: .9rem 0;
  border-top: 1px solid var(--line);
  font-family: var(--f-display); font-stretch: 112%; font-weight: 600; text-transform: uppercase; font-size: .95rem; letter-spacing: .03em;
  color: var(--white); transition: color .25s, padding .35s var(--ease-out);
}
.contact-link:last-child { border-bottom: 1px solid var(--line); }
.contact-link[hidden] { display: none; }
.contact-link .icon { color: var(--gold); width: 22px; height: 22px; }
.contact-link:hover { color: var(--gold-hi); padding-left: .4rem; }
.contact-value { margin-left: auto; font-family: var(--f-body); font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.biz { margin: 0; display: grid; gap: 1.25rem; }
.biz dt { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.biz dd { margin: .3rem 0 0; color: #D2CFC9; }
.hours { display: flex; justify-content: space-between; gap: 1rem; max-width: 320px; font-variant-numeric: tabular-nums; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding-top: clamp(3.5rem, 7vw, 6rem); }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.3fr; gap: 2.5rem; }
.footer-brand img { width: 170px; height: auto; }
.footer-tagline { margin-top: 1.25rem; color: var(--muted); font-size: .95rem; }
.footer-h { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-col li { padding: .3rem 0; }
.footer-col a { color: #D2CFC9; font-size: .95rem; transition: color .2s; display: inline-block; padding-block: .15rem; }
.footer-col a:hover { color: var(--gold-hi); }
.footer-info li { color: #B9B6B0; font-size: .95rem; }
.social { display: flex; gap: .6rem; margin-top: 1.5rem; }
.social[hidden] { display: none; }
.social a {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: 50%; color: var(--white); transition: border-color .25s, color .25s;
}
.social a:hover { border-color: var(--gold); color: var(--gold-hi); }
.footer-sign { margin-top: clamp(3.5rem, 7vw, 6rem); padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.footer-sign p {
  font-family: var(--f-display); font-stretch: 125%; font-weight: 600; text-transform: uppercase;
  font-size: clamp(1.5rem, 4.2vw, 3.6rem); line-height: 1.04; letter-spacing: -0.01em; color: var(--white);
}
.footer-sign span { color: var(--gold); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem;
  padding-block: 1.75rem; border-top: 1px solid var(--line); font-size: .82rem; color: #8F8C87;
}

/* ---------- Mobile contact bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 759px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: 1fr 1fr 1.25fr;
    background: rgba(8,8,8,.96); border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
    transform: translateY(110%); transition: transform .45s var(--ease-out);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 58px;
    font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--white);
  }
  .mobile-bar a + a { border-left: 1px solid var(--line); }
  .mobile-bar .icon { color: var(--gold); }
  .mobile-bar .mobile-bar-quote { background: var(--gold); color: #0b0906; border-left: 0; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .package-grid { grid-template-columns: 1fr 1fr; }
  .package-grid .package:last-child { grid-column: 1 / -1; }
  .package-grid .package:last-child .package-media { aspect-ratio: 16 / 8; }
  .custom-ui { grid-template-columns: 1fr; }
  .custom-tabs {
    position: static; flex-direction: row; overflow-x: auto; overflow-y: hidden; border-top: 0; border-bottom: 1px solid var(--line);
    gap: 1.75rem; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  }
  .custom-tabs::-webkit-scrollbar { display: none; }
  .custom-tabs [role="tab"] { flex: none; border-bottom: 0; min-height: 52px; font-size: .85rem; position: relative; }
  .custom-tabs [role="tab"]::before { position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; transform: scaleX(0); transition: transform .35s var(--ease-out); }
  .custom-tabs [aria-selected="true"]::before { width: 100%; transform: scaleX(1); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 959px) {
  .about-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .about-media, .split-media { aspect-ratio: 4 / 3.4; }
  .paint { grid-template-columns: 1fr; }
  .paint-media { min-height: 0; aspect-ratio: 4 / 3; }
  .paint-media::after { background: linear-gradient(to bottom, transparent 60%, var(--bg-2)); }
  .paint-inner { padding: 2.5rem var(--gutter) clamp(4.5rem, 9vw, 8.5rem); }
  .contact-side { position: static; }
  .washes { padding-top: clamp(4.5rem, 9vw, 8.5rem); border-top: 1px solid var(--line); }
}
@media (max-width: 759px) {
  .package-grid { grid-template-columns: 1fr; }
  .package-grid .package:last-child .package-media { aspect-ratio: 4 / 3; }
  .package-desc { min-height: 0; }
  .service-pair, .paint-groups { grid-template-columns: 1fr; gap: 2rem; }
  .custom-panel { grid-template-columns: 1fr; }
  .custom-panel figure { aspect-ratio: 4 / 3.6; }
  .ticks.cols-2 { columns: 1; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .section-actions .btn { flex: 1 1 100%; }
  .form-submit .btn { width: 100%; }
}

@media (max-width: 480px) {
  .h2, .h2-xl { font-stretch: 108%; font-size: clamp(1.6rem, 7.4vw, 2rem); }
  .hero-title { font-stretch: 110%; font-size: clamp(1.85rem, 8.6vw, 2.3rem); }
  .footer-sign p { font-stretch: 108%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media print {
  .site-header, .mobile-bar, .lightbox { display: none !important; }
}

/* =========================================================
   Services: navigation dropdown, cards and dedicated pages
   ========================================================= */
.nav .caret { width: .9em; height: .9em; margin-left: .3em; vertical-align: -.12em; transition: transform .3s var(--ease-out); }
.nav .has-sub { position: relative; }
.subnav {
  position: absolute; top: 100%; left: 50%; z-index: 60;
  display: grid; grid-template-columns: repeat(3, minmax(170px, auto)); gap: 1.5rem 2.25rem;
  margin-top: .9rem; padding: 1.75rem 2rem 1.5rem;
  background: rgba(10,10,10,.98); border: 1px solid var(--line); border-top: 1px solid var(--gold);
  box-shadow: 0 24px 48px rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), visibility 0s .25s;
}
.subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -1rem; height: 1rem; }
.nav .has-sub:hover .subnav, .nav .has-sub:focus-within .subnav {
  opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s;
}
.nav .has-sub:hover .caret, .nav .has-sub:focus-within .caret { transform: rotate(180deg); }
.nav .subnav ul { display: block; }
.subnav-h { font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; }
.subnav li a {
  display: block; padding: .35rem 0; font-size: .92rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: #D8D5CF; white-space: nowrap;
}
.subnav li a::after { display: none; }
.subnav li a:hover, .subnav li a[aria-current="page"] { color: var(--white); }
.subnav-all {
  grid-column: 1 / -1; display: inline-flex; align-items: center; gap: .5rem; padding-top: 1rem; border-top: 1px solid var(--line);
  font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold) !important;
}
.subnav-all::after { display: none !important; }
.mobile-menu li.sub a {
  padding: .6rem 0 .6rem 1.1rem; font-family: var(--f-body); font-stretch: 100%; font-weight: 500; text-transform: none;
  font-size: .98rem; color: #CFCCC6; border-bottom-color: rgba(255,255,255,.05);
}
.site-header.is-solid { background: rgba(8,8,8,.94); border-bottom-color: var(--line); }

/* Learn-more links inside the existing home sections */
.learn-link { margin-top: 1.25rem; }
.learn-row { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; margin-top: 1.5rem; }
.custom-copy .learn-link { margin-left: 1.25rem; }

/* Service cards */
.home-services { background: var(--bg); padding-bottom: clamp(3rem, 6vw, 5rem); }
.svc-cat + .svc-cat { margin-top: clamp(3rem, 6vw, 4.5rem); }
.svc-cat-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem;
  padding-top: 1.25rem; border-top: 1px solid var(--line-2); margin-bottom: 1.75rem;
}
.svc-cat-title {
  font-family: var(--f-display); font-stretch: 120%; font-weight: 600; text-transform: uppercase;
  font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: .01em; color: var(--white);
}
.svc-cat-head p { color: var(--muted); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
.svc-card { display: flex; flex-direction: column; height: 100%; color: inherit; }
.svc-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); margin-bottom: 1.25rem; }
.svc-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), filter .6s var(--ease-out); filter: brightness(.92); }
.svc-card .h3 { transition: color .25s; }
.svc-card p { margin-top: .6rem; color: var(--muted); flex: 1; }
.svc-card .text-link { margin-top: .75rem; align-self: flex-start; }
.svc-card:hover .svc-card-media img, .svc-card:focus-visible .svc-card-media img { transform: scale(1.04); filter: brightness(1); }
.svc-card:hover .h3 { color: var(--gold-hi); }
.svc-card:hover .text-link .icon { transform: translateX(4px); }
.svc-card:focus-visible { outline-offset: 6px; }

/* Service pages */
.page-sub main { padding-top: var(--header-h); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.crumbs li { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: #5E5B57; }
.crumbs a:hover { color: var(--gold-hi); }
.svc-hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem); }
.svc-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.svc-title {
  font-family: var(--f-display); font-stretch: 125%; font-weight: 600; text-transform: uppercase; color: var(--white);
  font-size: clamp(2.1rem, 4.4vw, 3.9rem); line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance;
}
.svc-lead { margin-top: 1.4rem; max-width: 52ch; font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: #D2CFC9; line-height: 1.55; }
.svc-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }
.svc-actions .btn .icon { width: 1em; height: 1em; }
.svc-hero-media { position: relative; aspect-ratio: 4 / 5; max-height: 78vh; width: 100%; overflow: hidden; background: var(--bg-2); }
.svc-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); }
.prose { margin-top: 1.5rem; }
.prose p { color: #CFCCC6; max-width: 62ch; }
.prose p + p { margin-top: 1rem; }
.svc-intro { border-top: 1px solid var(--line); }
.svc-extra { background: var(--bg-2); }
.svc-extra .h2 { margin-bottom: 2.25rem; }
.section-intro { margin-top: 1.5rem; max-width: 75ch; color: var(--muted); font-size: .95rem; }
.block-h { margin: 3.5rem 0 1.25rem; }
.opt-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.75rem); }
.opt-grid.opt-1 { grid-template-columns: minmax(0, 640px); }
.opt-grid.opt-2 { grid-template-columns: repeat(2, 1fr); }
.opt-grid.opt-3 { grid-template-columns: repeat(3, 1fr); }
.opt { padding-top: 1.25rem; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; }
.opt-desc { margin-top: .6rem; color: var(--muted); }
.opt .ticks { margin: 1rem 0 1rem; flex: 1; }
.tiers-wide > div { display: grid; grid-template-columns: minmax(200px, 1fr) 2fr; gap: .5rem 2rem; align-items: baseline; }
.tiers-wide dd { margin: 0; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
.price { padding: 1.75rem 1.5rem; border: 1px solid var(--line-2); display: flex; flex-direction: column; background: var(--bg); }
.price-featured { border-color: var(--gold); }
.price-amount {
  margin-top: 1rem; font-family: var(--f-display); font-stretch: 110%; font-weight: 600; font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1; color: var(--white); font-variant-numeric: tabular-nums;
}
.price-desc { margin: .9rem 0 1.75rem; color: var(--muted); flex: 1; }

.ppf-zones { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.ppf-diagram { margin: 0; }
.ppf-diagram figcaption { margin-top: .75rem; font-size: .85rem; color: var(--muted); }
.car-svg { width: 100%; height: auto; display: block; }
.car-svg .car-line { fill: none; stroke: #CFCCC6; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.car-svg .car-line.thin { stroke: #6E6B66; stroke-width: 1.3; }
.car-svg .wheel { fill: var(--bg-2); stroke: #CFCCC6; stroke-width: 2; }
.car-svg .wheel.inner { fill: none; stroke: #6E6B66; stroke-width: 1.3; }
.car-svg .z { fill: var(--gold); opacity: 0; transition: opacity .35s var(--ease-out); }
.car-svg .car-mirror { stroke: #CFCCC6; stroke-width: 1.5; fill-opacity: 1; }
.car-svg path.car-mirror { fill: var(--gold); }
[data-zone-active="bumper"] .z-bumper, [data-zone-active="hood"] .z-hood, [data-zone-active="fenders"] .z-fenders,
[data-zone-active="mirrors"] .z-mirrors, [data-zone-active="doorcups"] .z-doorcups { opacity: .6; }
[data-zone-active="front"] .z-front { opacity: .5; }
[data-zone-active="full"] .z-full, [data-zone-active="full"] .z-mirrors, [data-zone-active="full"] .z-doorcups { opacity: .45; }
.zone-list { display: grid; }
.zone-btn {
  display: grid; gap: .2rem; text-align: left; padding: .9rem 0 .9rem 2.1rem; position: relative;
  background: none; border: 0; border-top: 1px solid var(--line); color: #8F8C87; min-height: 56px;
  transition: color .25s;
}
.zone-btn:last-child { border-bottom: 1px solid var(--line); }
.zone-btn span { font-family: var(--f-display); font-stretch: 112%; font-weight: 600; text-transform: uppercase; font-size: .95rem; color: inherit; }
.zone-btn small { font-size: .88rem; color: var(--muted); }
.zone-btn::before { content: ""; position: absolute; left: 0; top: 1.55rem; width: 18px; height: 1px; background: #4A4743; transition: background .25s, width .35s var(--ease-out); }
.zone-btn:hover, .zone-btn[aria-pressed="true"] { color: var(--white); }
.zone-btn[aria-pressed="true"]::before { background: var(--gold); width: 24px; }

.tint-table-wrap { overflow-x: auto; }
.tint-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.tint-table th, .tint-table td { padding: 1rem 1.25rem 1rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tint-table thead th {
  font-family: var(--f-display); font-stretch: 115%; font-weight: 600; text-transform: uppercase; font-size: 1rem; color: var(--white);
  border-bottom-color: var(--line-2);
}
.tint-table tbody th { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); width: 18%; }
.tint-table td { color: #D2CFC9; }
.tint-levels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.tint-levels li { display: grid; gap: .6rem; }
.tint-swatch { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg); }
.tint-swatch img { width: 100%; height: 100%; object-fit: cover; }
.tint-swatch::after { content: ""; position: absolute; inset: 0; background: rgba(4,4,4,var(--shade)); }
.tint-vlt { font-family: var(--f-display); font-stretch: 112%; font-weight: 600; font-size: 1rem; color: var(--white); font-variant-numeric: tabular-nums; }
.tint-vlt::after { content: " VLT"; font-family: var(--f-body); font-size: .72rem; letter-spacing: .12em; color: var(--muted); }
.law dt { color: var(--white); }

.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 980px; }
.ba figure { position: relative; margin: 0; }
.ba img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.ba figcaption { margin-top: .75rem; color: var(--muted); font-size: .92rem; }
.ba figcaption span { margin-right: .5rem; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(1.5rem, 3vw, 2.5rem); margin-top: 2rem; }
.benefit-grid li {
  position: relative; padding: 1.15rem 0 1.15rem 1.5rem; border-top: 1px solid var(--line);
  color: var(--white); font-size: 1.05rem; line-height: 1.45;
}
.benefit-grid li::before { content: ""; position: absolute; left: 0; top: 1.62rem; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }

.svc-process { background: var(--bg-2); }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem clamp(1.5rem, 3vw, 2.5rem); margin: 2.25rem 0 0; padding: 0; list-style: none; }
.steps li { counter-increment: step; padding-top: 1.25rem; border-top: 1px solid var(--line-2); }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block; margin-bottom: .9rem;
  font-family: var(--f-display); font-stretch: 110%; font-weight: 600; font-size: .95rem; color: var(--gold); font-variant-numeric: tabular-nums;
}
.step-h { font-family: var(--f-display); font-stretch: 112%; font-weight: 600; text-transform: uppercase; font-size: 1.02rem; color: var(--white); }
.steps p { margin-top: .5rem; color: var(--muted); }
.note { margin-top: 3rem; padding: 1.5rem 1.75rem; border: 1px solid rgba(198,161,91,.4); background: rgba(198,161,91,.05); max-width: 880px; }
.note-h { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }
.note p:last-child { color: #E4E1DB; }

.svc-photos .gallery-grid { margin-top: 2rem; grid-template-columns: repeat(3, 1fr); }
.svc-photos .g-item { aspect-ratio: 4 / 5; }

.svc-faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 60px; padding: 1rem 0;
  cursor: pointer; list-style: none; font-size: 1.08rem; font-weight: 600; color: var(--white);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--gold); transition: transform .3s var(--ease-out); }
.faq[open] summary .icon { transform: rotate(180deg); }
.faq summary:hover { color: var(--gold-hi); }
.faq p { padding: 0 0 1.25rem; color: #CFCCC6; max-width: 65ch; }

.cta-band { padding-block: clamp(4rem, 8vw, 6.5rem); background: var(--bg-2); border-block: 1px solid var(--line); text-align: center; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-inner p { margin-top: 1rem; color: var(--muted); font-size: 1.1rem; }
.cta-inner .svc-actions { justify-content: center; }

.svc-index-hero { padding-block: clamp(3rem, 7vw, 6rem) 1rem; }
.cat-jump { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin-top: 2.25rem; }
.cat-jump a {
  display: inline-flex; align-items: center; min-height: 44px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: #CFCCC6; border-bottom: 1px solid var(--line-2);
}
.cat-jump a:hover { color: var(--gold-hi); border-bottom-color: var(--gold); }
.svc-index { padding-top: clamp(2rem, 4vw, 3rem); }

@media (max-width: 1080px) {
  .svc-grid, .opt-grid.opt-3, .price-grid, .steps, .benefit-grid { grid-template-columns: 1fr 1fr; }
  .ppf-zones { grid-template-columns: 1fr; }
  .tint-levels { grid-template-columns: repeat(5, 1fr); gap: 6px; }
}
@media (max-width: 959px) {
  .svc-hero-grid, .svc-two, .svc-faq-grid { grid-template-columns: 1fr; }
  .svc-hero-media { aspect-ratio: 4 / 3.4; max-height: none; order: -1; }
  .svc-hero { padding-top: 1.25rem; }
}
@media (max-width: 700px) {
  .svc-grid, .opt-grid.opt-2, .opt-grid.opt-3, .price-grid, .steps, .benefit-grid, .ba { grid-template-columns: 1fr; }
  .svc-photos .gallery-grid { grid-template-columns: 1fr 1fr; }
  .tiers-wide > div { grid-template-columns: 1fr; }
  .tint-levels { grid-template-columns: repeat(3, 1fr); }
  .svc-actions .btn { flex: 1 1 100%; }
  .custom-copy .learn-link { margin-left: 0; }
}

/* Gallery videos */
.g-play {
  position: absolute; left: 50%; top: 50%; width: 3.5rem; height: 3.5rem; margin: -1.75rem 0 0 -1.75rem;
  border-radius: 50%; background: rgba(8,8,8,.55); border: 1px solid var(--gold);
  backdrop-filter: blur(4px); pointer-events: none; transition: transform .4s var(--ease-out), background .4s;
}
.g-play::after {
  content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%);
  border-style: solid; border-width: .55rem 0 .55rem .9rem; border-color: transparent transparent transparent var(--gold);
}
.g-item a:hover .g-play, .g-item a:focus-visible .g-play { transform: scale(1.08); background: rgba(8,8,8,.75); }
.lightbox video { max-width: 100%; max-height: calc(100dvh - 11rem); width: auto; height: auto; background: #000; }
.lightbox video[hidden], .lightbox img[hidden] { display: none; }

/* Text reveal on scroll (main.js adds .tr, then .tr-in when the text enters the screen) */
.js .tr {
  opacity: 0; translate: 0 26px;
  transition: opacity .8s var(--ease-out), translate .9s var(--ease-out);
  transition-delay: var(--tr-d, 0ms);
}
.js .tr.tr-in { opacity: 1; translate: none; }
@media (prefers-reduced-motion: reduce) { .js .tr { opacity: 1; translate: none; transition: none; } }
@media print { .js .tr { opacity: 1 !important; translate: none !important; } }

/* Service hero video (e.g. Headlight Restoration) */
.svc-hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--bg-2); }

/* Section titles: words slide up from behind a mask as the title scrolls into view (main.js adds .hr / .hr-in) */
.js .hr .hw { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .12em; margin-bottom: -.12em; }
.js .hr .hwi {
  display: inline-block; transform: translateY(110%); opacity: 0;
  transition: transform 1s var(--ease-out), opacity .6s var(--ease-out);
  transition-delay: calc(var(--wi, 0) * 75ms);
}
.js .hr.hr-in .hwi { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js .hr .hwi { transform: none; opacity: 1; transition: none; } }
@media print { .js .hr .hwi { transform: none !important; opacity: 1 !important; } }
