/* K & J Auto Body Shop. "Primer to gloss" on a very dark base: near-black surfaces,
   masking-tape tan, one loud paint color (--paint) and gloss. */

:root {
  color-scheme: dark;
  --bg: #08090b;
  --bg-2: #0d0f12;
  --surface: #14161a;
  --surface-2: #1b1e23;
  --line: rgba(255, 255, 255, .08);
  --text: #eff1f4;
  --muted: #9ba1a9;
  --tape: #e6d29b;
  --paint: #d0142c;          /* TODO(client) Q9: switch to the logo/sign color once we have it */
  --paint-hi: #ff4d5e;
  --paint-deep: #860816;
  --caliper: #f2b705;
  --rim: #5d646d;
  --header-h: 68px;
  --sec-pad: clamp(56px, 7vw, 96px);
  --font-display: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --font-stencil: 'Big Shoulders Stencil Display', 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-marker: 'Permanent Marker', 'Marker Felt', 'Comic Sans MS', cursive;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --tape-texture: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, .05)),
    repeating-linear-gradient(90deg, rgba(120, 90, 30, .07) 0 1px, transparent 1px 4px);
  --torn: polygon(0 8%, 5px 0, calc(100% - 4px) 4%, 100% 0, calc(100% - 4px) 24%, 100% 44%, calc(100% - 3px) 63%, 100% 82%, calc(100% - 5px) 100%, 4px 96%, 0 100%, 4px 79%, 0 60%, 3px 40%, 0 21%);
}

*, *::before, *::after { box-sizing: border-box; }
/* clip on <html> too: on <body> alone it would be handed to the viewport and the body would stop clipping
   (the rotated tape strip and the car drawings would then widen the page on phones) */
html { overflow-x: hidden; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }
::selection { background: var(--paint); color: #fff; }
:focus-visible { outline: 3px solid var(--paint-hi); outline-offset: 3px; border-radius: 4px; }

.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 { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: #fff; color: #000; font-weight: 700; }
.skip:focus { top: 12px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }

.ic {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: var(--h); padding: 0 22px;
  border: 2px solid transparent; border-radius: 10px;
  font: 800 1.15rem/1 var(--font-display); letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--ease-out), box-shadow .2s, background-color .2s, color .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn .ic { width: 1.15em; height: 1.15em; }
.btn-sm { --h: 42px; padding: 0 16px; font-size: 1rem; }
.btn-paint {
  color: #fff;
  background: linear-gradient(180deg, #ff5a6a -30%, var(--paint) 45%, var(--paint-deep) 135%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 26px -10px rgba(208, 20, 44, .75);
}
/* clear-coat glint on hover */
.btn-paint::after {
  content: ''; position: absolute; z-index: -1; top: -20%; bottom: -20%; left: -40%; width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg) translateX(0);
}
.btn-paint:hover::after { transform: skewX(-20deg) translateX(560%); transition: transform .7s var(--ease-out); }
.btn-ghost { color: var(--text); background: transparent; border-color: rgba(255, 255, 255, .7); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .07); }

/* ---------- Masking tape ---------- */
.tape {
  display: inline-block;
  padding: .45em .95em .4em;
  font: 400 1rem/1.1 var(--font-marker); color: #2b2620; letter-spacing: .02em;
  background-color: var(--tape); background-image: var(--tape-texture);
  clip-path: var(--torn);
  transform: rotate(-2deg);
}

/* ---------- Sections ---------- */
section { position: relative; padding: var(--sec-pad) 0; }
.sec-head { max-width: 800px; margin-bottom: clamp(22px, 3vw, 36px); }
.sec-head .tape { margin-bottom: 12px; }
.sec-head h2 {
  font: 900 clamp(2.2rem, 4.4vw, 3.8rem)/.9 var(--font-display);
  text-transform: uppercase; letter-spacing: .005em; color: #fff;
}
.sec-lead { margin: 14px 0 0; max-width: 60ch; font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--muted); }
.sec-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 48px; max-width: none; }
.sec-head--row .sec-lead { margin: 0; max-width: 40ch; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60; color: #fff;
  transition: background-color .3s, box-shadow .3s;
}
.site-header.scrolled, .site-header.menu-open {
  background: rgba(8, 9, 11, .86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.header-in { height: var(--header-h); display: flex; align-items: center; gap: 26px; }
.brand { display: flex; flex-direction: column; margin-right: auto; line-height: 1; text-decoration: none; }
.brand-mark { font: 900 2rem/.9 var(--font-display); letter-spacing: .01em; }
.brand-mark .amp { margin: 0 .04em; color: var(--paint); }
.brand-sub { margin-top: 3px; font: 700 .66rem/1 var(--font-display); letter-spacing: .26em; text-transform: uppercase; opacity: .78; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  position: relative; padding: 8px 0;
  font: 700 1.02rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; opacity: .86;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--paint); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); }
.menu-btn { display: none; }

/* A | B version switch (both versions have it in the header) */
.ab { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; }
.ab-label { padding: 0 6px 0 9px; font: 600 .66rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.ab a {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  font: 900 1rem/1 var(--font-display); color: #fff; text-decoration: none; opacity: .7;
  transition: background-color .2s, color .2s, opacity .2s;
}
.ab a:hover { opacity: 1; background: rgba(255, 255, 255, .1); }
.ab a[aria-current="page"] { background: #fff; color: #0b0c0e; opacity: 1; }

@media (max-width: 1000px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; z-index: 59;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px clamp(16px, 4vw, 40px) 22px;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .3s var(--ease-out), visibility 0s .3s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease-out); }
  .nav a { padding: 16px 0; font-size: 1.45rem; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }
  .menu-btn {
    display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -8px;
    padding: 0; border: 0; background: none; color: inherit; cursor: pointer;
  }
  .ab-label { display: none; }
  .menu-btn .ic { grid-area: 1 / 1; width: 26px; height: 26px; }
  .menu-btn .ic-close, .menu-btn[aria-expanded="true"] .ic-menu { display: none; }
  .menu-btn[aria-expanded="true"] .ic-close { display: block; }
}
@media (max-width: 560px) {
  :root { --header-h: 60px; }
  .header-in { gap: 14px; }
  .brand-mark { font-size: 1.75rem; }
  .header-call { padding: 0 12px; }
  .header-call span { display: none; }
}

/* ---------- Hero: the paint booth ---------- */
.hero {
  overflow: hidden; color: #fff;
  padding: calc(var(--header-h) + clamp(44px, 6vh, 64px)) 0 0;
  background:
    radial-gradient(70% 45% at 50% 0%, rgba(205, 225, 255, .1), rgba(205, 225, 255, 0) 70%),
    radial-gradient(90% 60% at 50% 0%, #22262d 0%, #111316 50%, var(--bg) 100%);
}
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .025) 35%, rgba(0, 0, 0, .35));
}
.booth-lights {
  position: absolute; top: calc(var(--header-h) + 12px); left: 50%; z-index: 1;
  display: flex; gap: 3%; width: min(1180px, 94vw); transform: translateX(-50%); pointer-events: none;
}
.booth-lights span {
  flex: 1; height: 7px; border-radius: 6px; background: #eef4fa; opacity: .06;
  box-shadow: 0 0 14px 2px rgba(210, 230, 255, .55), 0 0 60px 12px rgba(200, 225, 255, .14);
}
.hero.lit .booth-lights span { animation: flick .9s steps(1, end) both; }
.hero.lit .booth-lights span:nth-child(2) { animation-delay: .12s; }
.hero.lit .booth-lights span:nth-child(3) { animation-delay: .05s; }
.hero.lit .booth-lights span:nth-child(4) { animation-delay: .2s; }
@keyframes flick {
  0% { opacity: .06; } 12% { opacity: .9; } 18% { opacity: .12; } 30% { opacity: 1; }
  38% { opacity: .35; } 48%, 100% { opacity: 1; }
}

.hero-in { position: relative; z-index: 2; }
.hero-eyebrow { margin-bottom: 16px; }
.hero-title {
  margin: 0 0 18px;
  font: 900 clamp(3rem, min(8.6vw, 11.5vh), 8.4rem)/.84 var(--font-display);
  letter-spacing: .003em; text-transform: uppercase;
}
.hero-title .line { display: block; }
.line-paint { position: relative; display: inline-block; }
.primer-text { color: #8e939a; }
.paint-text {
  --wipe: 100%;
  position: absolute; inset: 0; white-space: nowrap; color: transparent;
  background: linear-gradient(100deg, #8a0a1a 0%, var(--paint) 30%, #ff6b78 46%, var(--paint) 60%, #8a0a1a 100%);
  background-size: 220% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
  clip-path: inset(-10% calc(100% - var(--wipe)) -10% 0);
}
.js .paint-text { --wipe: 0%; }
.hero.painted .paint-text { animation: sheen 7s ease-in-out 1.2s infinite; }
@keyframes sheen { 0%, 72% { background-position: 100% 0; } 100% { background-position: -20% 0; } }
.hero-sub { max-width: 690px; margin-bottom: 26px; font-size: clamp(1.06rem, 1.35vw, 1.22rem); color: rgba(255, 255, 255, .74); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none;
  font: 700 .98rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .84);
}
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges li::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--paint); box-shadow: 0 0 0 3px rgba(208, 20, 44, .25);
}

.hero-stage { position: relative; z-index: 1; margin: clamp(18px, 3vh, 40px) auto 0; padding: 0 clamp(8px, 2vw, 24px); }
.hero-car {
  width: clamp(min(100%, 520px), calc((100svh - 480px) * 2.6), 1180px);
  max-width: 100%; height: auto; margin-inline: auto; overflow: visible;
}
.hero-tag {
  position: absolute; top: 3%; right: max(6%, calc(50% - 520px)); z-index: 2;
  font-size: clamp(.8rem, 1.3vw, 1.05rem);
  opacity: 0; transform: rotate(5deg) scale(1.35);
}
.hero.painted .hero-tag {
  opacity: 1; transform: rotate(5deg) scale(1);
  transition: opacity .15s .45s, transform .45s cubic-bezier(.3, 1.7, .5, 1) .45s;
}

/* Shared SVG bits */
.paint-fill { fill: var(--paint); }
.mist { fill: var(--paint); }
.spray-gun { opacity: 0; transition: opacity .25s; }
.spray-gun.on { opacity: 1; }
.hero-glint, .ba-glint { transform: translateX(0) skewX(-18deg); }
.hero.painted .hero-glint { animation: glint 8s cubic-bezier(.4, 0, .2, 1) .15s infinite; }
.hero.off .hero-glint, .hero.off .paint-text { animation-play-state: paused; }
@keyframes glint {
  0% { transform: translateX(0) skewX(-18deg); }
  16%, 100% { transform: translateX(1300px) skewX(-18deg); }
}

@media (max-width: 760px) {
  .hero-title { font-size: clamp(2.7rem, 13.4vw, 5.4rem); }
  .booth-lights span:nth-child(4) { display: none; }
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .hero-stage { margin-top: 44px; }
  .hero-tag { top: -36px; right: 4%; }
}

/* ---------- Tape strip divider ---------- */
.tape-strip {
  position: relative; z-index: 3; margin: -24px -2vw;
  transform: rotate(-1.4deg); pointer-events: none;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .6));
}
.tape-strip-in {
  overflow: hidden; white-space: nowrap; padding: 14px 2vw 12px;
  font: 400 clamp(1rem, 2vw, 1.45rem)/1 var(--font-marker); color: #2b2620;
  background-color: var(--tape); background-image: var(--tape-texture);
}
.js .tape-strip-in { clip-path: inset(0 100% 0 0); transition: clip-path 1.3s cubic-bezier(.5, 0, .15, 1); }
.js .tape-strip.in .tape-strip-in { clip-path: inset(0 0 0 0); }

/* ---------- Services: compact paint chips ---------- */
.services { padding-top: calc(var(--sec-pad) + 12px); }
.deck {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
  margin: 0; padding: 0; list-style: none;
}
.chip {
  position: relative; display: flex; overflow: hidden; min-height: 152px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .9);
  transition: transform .35s var(--ease-out), border-color .35s;
}
.js .deck:not(.dealt) .chip { opacity: 0; }
.chip:hover { transform: translateY(-4px) rotate(-.4deg); border-color: rgba(255, 255, 255, .16); }
.chip-swatch { position: relative; flex: none; width: 104px; overflow: hidden; background-color: var(--chip); color: var(--chip-ink); }
.chip-swatch::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, .36) 0%, rgba(255, 255, 255, .08) 30%, rgba(255, 255, 255, 0) 48%),
    linear-gradient(0deg, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, 0) 55%);
}
.chip-swatch::after {
  content: ''; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 50%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent);
  transform: skewX(-18deg) translateX(0);
}
.chip:hover .chip-swatch::after { transform: skewX(-18deg) translateX(420%); transition: transform .9s var(--ease-out); }
.chip-code { position: absolute; top: 10px; left: 10px; z-index: 1; font: 800 .92rem/1 var(--font-stencil); letter-spacing: .1em; }
.chip-hole {
  position: absolute; top: 9px; right: 9px; z-index: 1; width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); box-shadow: inset 0 2px 3px rgba(0, 0, 0, .5);
}
.chip-color { position: absolute; left: 10px; right: 8px; bottom: 9px; z-index: 1; font: 600 .6rem/1.25 var(--font-body); letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
.chip-ic { position: absolute; left: 50%; top: 50%; z-index: 1; width: 40px; height: 40px; stroke-width: 1.4; transform: translate(-50%, -58%); }
.chip--bedliner .chip-swatch {
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.6px), radial-gradient(rgba(0, 0, 0, .6) 1px, transparent 1.6px);
  background-size: 6px 6px, 5px 5px; background-position: 0 0, 2px 3px;
}
.chip--primer .chip-swatch::before { background: linear-gradient(0deg, rgba(0, 0, 0, .16), rgba(0, 0, 0, 0) 60%); }
.chip-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 14px; }
.chip-body h3 { font: 800 1.42rem/.95 var(--font-display); letter-spacing: .01em; text-transform: uppercase; color: #fff; }
.chip-body p { margin: 0; font-size: .95rem; line-height: 1.45; color: var(--muted); }
.chip-cta {
  align-self: flex-start; display: inline-flex; align-items: center; gap: .4em;
  margin-top: auto; padding: 6px 0 4px;
  font: 700 .9rem/1 var(--font-body); color: var(--text); text-decoration: none;
  border-bottom: 2px solid var(--chip);
}
.chip--bedliner .chip-cta { border-bottom-color: #6b7078; }
.chip-cta .ic { width: 1.05em; height: 1.05em; transition: transform .2s; }
.chip-cta:hover .ic { transform: translateX(3px); }
@media (max-width: 980px) { .deck { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .deck { grid-template-columns: 1fr; gap: 12px; }
  .chip { min-height: 0; }
  .chip-swatch { width: 96px; }
  .chip-body h3 { font-size: 1.35rem; }
}

/* ---------- Before / after ---------- */
.work { background: var(--bg-2); }
.work-in { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.5fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.work-head { margin: 0; }
.work-head .btn { margin-top: 6px; }
.ba {
  position: relative; overflow: hidden; aspect-ratio: 46 / 25;
  border: 1px solid var(--line); border-radius: 18px; background: #0c0e11;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
  -webkit-user-select: none; user-select: none; touch-action: pan-y;
}
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba.in .ba-glint { animation: glint 7s cubic-bezier(.4, 0, .2, 1) 1s infinite; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; width: 0; pointer-events: none; }
.ba-handle::before { content: ''; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: #fff; box-shadow: 0 0 12px rgba(255, 255, 255, .6); }
.ba-handle::after { content: ''; position: absolute; top: 0; bottom: 0; left: 1px; width: 80px; background: linear-gradient(90deg, rgba(208, 20, 44, .3), rgba(208, 20, 44, 0)); }
.ba-knob {
  position: absolute; top: 50%; left: 0; z-index: 1; display: grid; place-items: center;
  width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
  background: #fff; color: #0f1114; box-shadow: 0 8px 20px rgba(0, 0, 0, .5);
}
.ba-knob .ic { width: 30px; height: 30px; }
.ba-range {
  position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none;
}
.ba:has(.ba-range:focus-visible) { outline: 3px solid var(--paint-hi); outline-offset: 4px; }
.ba-label { position: absolute; top: 14px; z-index: 2; font-size: clamp(.8rem, 1.4vw, 1rem); }
.ba-label-before { left: 14px; }
.ba-label-after { right: 14px; transform: rotate(2deg); }
.ba-note { margin: 12px 0 18px; font-size: .9rem; color: #767c84; }
@media (max-width: 860px) {
  .work-in { grid-template-columns: 1fr; }
  .work-head .btn { display: none; }
  .ba-note { margin-bottom: 0; }
}
@media (max-width: 620px) {
  .ba { aspect-ratio: 4 / 3; }
  .ba-knob { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
  .ba-knob .ic { width: 26px; height: 26px; }
}

/* ---------- Why: notes with masking-tape titles ---------- */
.why {
  background-color: var(--bg);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(90% 70% at 15% 0%, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0));
}
.notes {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px clamp(18px, 2.4vw, 30px);
  margin: 0; padding: 16px 0 0; list-style: none;
}
.note {
  position: relative; padding: 38px 20px 22px;
  background: linear-gradient(180deg, #1c1f24, var(--surface));
  border: 1px solid var(--line); border-radius: 4px;
  box-shadow: 0 22px 40px -26px rgba(0, 0, 0, .95);
  transform: rotate(var(--r));
}
.note-tape {
  position: absolute; top: -18px; left: 50%; padding: .5em 1em .45em; white-space: nowrap;
  font: 400 1.12rem/1 var(--font-marker); color: #2b2620;
  background-color: var(--tape); background-image: var(--tape-texture); clip-path: var(--torn);
  transform: translateX(-50%) rotate(-3deg);
}
.note p { margin: 0; font-size: 1rem; color: #c3c7cd; }
.js .note {
  opacity: 0; transform: rotate(var(--r)) translateY(-14px) scale(1.08);
  transition: opacity .3s var(--d), transform .55s cubic-bezier(.3, 1.5, .5, 1) var(--d);
}
.js .notes.in .note { opacity: 1; transform: rotate(var(--r)); }
@media (max-width: 980px) { .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .notes { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Estimate ---------- */
.estimate {
  overflow: hidden;
  background: radial-gradient(70% 60% at 15% 0%, #1b1f25, var(--bg-2) 60%, #070809);
}
.est-in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.est-steps { display: grid; gap: 14px; margin: 0 0 24px; padding: 0; list-style: none; }
.est-steps li { display: flex; align-items: flex-start; gap: 14px; }
.est-ic {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(208, 20, 44, .14); border: 1.5px solid rgba(255, 107, 120, .4); color: #ff6b78;
}
.est-ic .ic { width: 20px; height: 20px; }
.est-steps strong { display: block; margin-bottom: 2px; font: 800 1.25rem/1.05 var(--font-display); letter-spacing: .03em; text-transform: uppercase; color: #fff; }
.est-steps span { color: var(--muted); font-size: 1rem; }
.est-direct { display: flex; flex-wrap: wrap; gap: 10px; }
.est-direct .btn { --h: 46px; }
.est-card {
  padding: clamp(18px, 2.6vw, 30px); border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .95);
}
.areas { margin: 0 0 16px; padding: 0; border: 0; }
.areas legend { margin-bottom: 12px; padding: 0; font: 800 1.25rem/1 var(--font-display); letter-spacing: .03em; text-transform: uppercase; color: #fff; }
.areas legend small { margin-left: 6px; font: 500 .85rem var(--font-body); letter-spacing: 0; text-transform: none; color: var(--muted); }
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.area {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px;
  border: 1.5px solid rgba(255, 255, 255, .1); border-radius: 999px; background: var(--surface-2); color: var(--text);
  font: 600 .93rem/1 var(--font-body); cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.area::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #4a4f56; transition: background-color .15s, box-shadow .15s; }
.area:hover { border-color: rgba(255, 255, 255, .3); }
.area[aria-pressed="true"] { background: var(--paint); border-color: var(--paint); color: #fff; }
.area[aria-pressed="true"]::before { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); }
.area:active { transform: scale(.97); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; min-width: 0; }
.field > span { font-size: .92rem; font-weight: 600; }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 11px 13px; border: 1.5px solid rgba(255, 255, 255, .12); border-radius: 10px;
  background: #0e1013; color: var(--text); font: inherit; font-size: 1rem;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.field input::placeholder, .field textarea::placeholder { color: #6b7179; }
.field textarea { resize: vertical; min-height: 64px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--paint-hi); background: #111317; box-shadow: 0 0 0 3px rgba(255, 77, 94, .2); }
.field [aria-invalid="true"] { border-color: var(--paint-hi); background: #1b0d10; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-file input { padding: 8px 10px; color: var(--muted); font-size: .9rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.form-status { min-height: 1.4em; margin: 10px 0 0; font-weight: 600; color: var(--paint-hi); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.est-done { padding: 22px 0; text-align: center; }
.est-done:focus { outline: none; }
.done-ic { width: 60px; height: 60px; margin: 0 auto 14px; padding: 13px; border-radius: 50%; background: #14804a; color: #fff; stroke-width: 2.6; }
.est-done h3 { margin-bottom: 10px; font: 900 2.1rem/1 var(--font-display); text-transform: uppercase; }
.est-done p { color: var(--muted); }
.est-done a { color: var(--paint-hi); font-weight: 600; }
@media (max-width: 900px) { .est-in { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-actions .btn { flex: 1 1 auto; }
}

/* ---------- Visit ---------- */
.visit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { padding: 22px 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font: 800 1.4rem/1 var(--font-display); text-transform: uppercase; color: #fff; }
.card h3 .ic { width: 22px; height: 22px; color: var(--paint-hi); }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 11px 8px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; font-weight: 700; color: #fff; }
.hours tr.closed td { color: var(--muted); font-weight: 500; }
.hours tr.is-today { background: linear-gradient(90deg, rgba(230, 210, 155, .14), rgba(230, 210, 155, 0)); }
.hours tr.is-today th { font-weight: 700; }
.hours tr.is-today th::after {
  content: 'Today'; display: inline-block; margin-left: 10px; padding: 3px 8px 2px;
  font: 400 .78rem/1 var(--font-marker); color: #2b2620; background: var(--tape); clip-path: var(--torn); transform: rotate(-3deg);
}
.small-note { margin: 12px 0 0; font-size: .9rem; color: var(--muted); }
.small-note a { color: var(--text); font-weight: 600; white-space: nowrap; }
.contact-list { display: grid; gap: 12px; margin: 0 0 18px; padding: 0; list-style: none; }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list .ic { width: 20px; height: 20px; color: var(--paint-hi); }
.contact-list a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }
.social { display: flex; gap: 10px; }
.social a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line); color: #fff;
  transition: background-color .2s, border-color .2s, transform .2s;
}
.social a:hover { background: var(--paint); border-color: var(--paint); transform: translateY(-2px); }
.social .ic { width: 20px; height: 20px; }
.map-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.map-art { width: 100%; height: 140px; }
.map-body { padding: 18px 24px 20px; }
.map-body h3 { margin-bottom: 8px; }
.map-body p { margin: 0; color: var(--muted); }
@media (max-width: 980px) {
  .visit-grid { grid-template-columns: 1fr 1fr; }
  .map-card { grid-column: 1 / -1; }
}
@media (max-width: 620px) { .visit-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { padding: 26px 0; background: #050607; border-top: 1px solid var(--line); color: var(--muted); }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; }
.footer-brand { margin-right: 0; color: #fff; }
.footer-tag { margin: 0; font: 400 1.05rem/1.2 var(--font-marker); color: var(--tape); }
.footer-meta { margin: 0; font-size: .9rem; }
.footer-meta a { color: var(--text); text-decoration: none; }
.footer-meta a:hover { text-decoration: underline; }

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    display: grid; grid-template-columns: repeat(3, 1fr);
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(8, 9, 11, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .action-bar a {
    display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px 9px;
    font: 700 .8rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase;
    color: #fff; text-decoration: none;
  }
  .action-bar a:first-child { background: var(--paint); }
  .action-bar .ic { width: 22px; height: 22px; }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
}

/* ---------- Reduced motion: every scene jumps straight to its end state ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; transition-delay: 0s !important;
  }
}
