/* ==========================================================================
   Dr. Auto Collision Center — styles
   Structure: fonts · tokens · base · utilities · nav · hero · sections ·
              services · estimate · process · call-to-action · faq ·
              visit · instagram · footer · dock · motion
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-var-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/plex-mono-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/plex-mono-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #0a0a0b;
  --bg-1: #0e0e10;
  --bg-2: #141416;
  --bg-3: #1b1b1e;
  --line: rgba(255, 255, 255, 0.085);
  --line-2: rgba(255, 255, 255, 0.16);
  --line-3: rgba(255, 255, 255, 0.26);
  --fg: #f4f3f0;
  --fg-2: #b3b2ae;
  --fg-3: #85847f;

  --red: #e01426;      /* fills behind white text (4.9:1) */
  --red-logo: #ee1226; /* exact logo red, large accents */
  --red-hi: #ff3747;   /* small red text on dark (5.3:1) */
  --red-deep: #b20d1c;
  --go: #39d47a;       /* "open" status */

  --paper: #efede9;
  --paper-2: #e4e1db;
  --ink: #0d0d0f;
  --ink-2: #4b4a46;
  --ink-3: #6f6d68;

  --font-sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --container: 1360px;
  --gutter: clamp(20px, 4vw, 48px);
  --nav-h: 76px;
  --section-y: clamp(88px, 11vw, 168px);
  --radius: 6px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  interpolate-size: allow-keywords;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* film grain over everything — very subtle */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.045;
  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='.9' 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 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; }
ul, ol { padding: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
address { font-style: normal; }
pre { margin: 0; }
::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 2px solid var(--red-hi);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 300;
  padding: 12px 18px;
  background: var(--fg);
  color: var(--ink);
  font-weight: 600;
  border-radius: 4px;
  transform: translateY(-150%);
  transition: transform 0.25s var(--ease-out);
}
.skip-link:focus { transform: none; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--red-hi);
}


/* ---------- Buttons ---------- */
.btn {
  --btn-h: 50px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--btn-h);
  padding: 0 22px;
  border-radius: 3px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 650;
  font-stretch: 112%;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), background-color 0.35s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.45s var(--ease-out); }
.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover .icon use[href="#i-arrow"],
.btn:hover .icon:has(use[href="#i-arrow"]) { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--sm { --btn-h: 42px; padding: 0 16px; font-size: 0.75rem; }
.btn--lg { --btn-h: 58px; padding: 0 28px; font-size: 0.8125rem; }

.btn--red { background: var(--red); color: #fff; }
.btn--red::before { background: #fff; }
.btn--red:hover { color: var(--ink); }

.btn--ghost { border-color: var(--line-3); color: var(--fg); }
.btn--ghost::before { background: var(--fg); }
.btn--ghost:hover { color: var(--ink); border-color: var(--fg); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark::before { background: var(--red); }

.btn--black { background: var(--ink); color: #fff; }
.btn--black::before { background: #fff; }
.btn--black:hover { color: var(--ink); }

.btn--line-light { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.btn--line-light::before { background: #fff; }
.btn--line-light:hover { color: var(--red-deep); border-color: #fff; }

.btn--quiet { color: var(--fg-2); padding: 0 12px; }
.btn--quiet::before { display: none; }
.btn--quiet:hover { color: var(--fg); }

.mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-2);
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}
.mini-btn .icon { width: 14px; height: 14px; }
.mini-btn:hover { color: var(--fg); border-color: var(--line-3); }
.mini-btn.is-done { color: var(--go); border-color: rgba(57, 212, 122, 0.5); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), transform 0.55s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(10, 10, 11, 0.78);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  backdrop-filter: saturate(150%) blur(16px);
  border-bottom-color: var(--line);
}
.nav.is-hidden { transform: translateY(-101%); }
.menu-open .nav { background: var(--bg); border-bottom-color: var(--line); transform: none; }

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__brand { flex: none; margin-left: -4px; }
.nav__brand img { width: 150px; height: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 32px);
  margin-left: auto;
}
.nav__links a {
  position: relative;
  padding: 8px 0;
  font-size: 0.75rem;
  font-weight: 600;
  font-stretch: 115%;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--fg-2);
  transition: color 0.25s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--red-hi);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.nav__links a:hover,
.nav__links a.is-current { color: var(--fg); }
.nav__links a:hover::after,
.nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }

.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__actions--end { margin-left: auto; }

.nav__toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
}
.nav__burger { position: relative; width: 22px; height: 12px; }
.nav__burger i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.45s var(--ease-out), top 0.45s var(--ease-out);
}
.nav__burger i:first-child { top: 0; }
.nav__burger i:last-child { top: 10.5px; }
.menu-open .nav__burger i:first-child { top: 5.25px; transform: rotate(45deg); }
.menu-open .nav__burger i:last-child { top: 5.25px; transform: rotate(-45deg); }

@media (max-width: 1079px) {
  .nav__links { display: none; }
  .nav__actions { margin-left: auto; }
  .nav__toggle { display: grid; }
}
@media (max-width: 520px) {
  :root { --nav-h: 66px; }
  .nav__brand img { width: 124px; }
  .nav__call { width: 44px; padding: 0; }
  .nav__call-label { display: none; }
}

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-h);
  background: var(--bg);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0s linear 0.35s;
}
.menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s var(--ease-out), visibility 0s;
}
.menu__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding-top: 24px;
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
}
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(2.4rem, 11vw, 3.6rem);
  font-weight: 800;
  font-stretch: 62%;
  line-height: 1;
  text-transform: uppercase;
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.6s var(--ease-out), opacity 0.6s var(--ease-out), color 0.2s;
}
.menu__links a span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--fg-3);
}
.menu__links a:hover { color: var(--red-hi); }
.menu.is-open .menu__links a { transform: none; opacity: 1; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: 0.04s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: 0.08s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: 0.12s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: 0.16s; }
.menu.is-open .menu__links a:nth-child(6) { transition-delay: 0.2s; }

.menu__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.menu__ctas .btn { --btn-h: 54px; }
.menu__addr { color: var(--fg-3); font-size: 0.9375rem; }
.menu-open { overflow: hidden; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--nav-h) + clamp(28px, 7vh, 88px));
  overflow: hidden;
  isolation: isolate;
}

/* ECG paper: fine 8px grid + heavier 40px grid, faded toward the edges */
.hero__paper {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(238, 18, 38, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 18, 38, 0.11) 1px, transparent 1px),
    linear-gradient(rgba(238, 18, 38, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 18, 38, 0.045) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 8px 8px, 8px 8px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(70% 60% at 62% 78%, #000 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
  mask-image: radial-gradient(70% 60% at 62% 78%, #000 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
}
.hero::before {
  /* low red glow behind the car */
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: 4%;
  width: 70vw;
  height: 40vh;
  transform: translateX(-10%);
  background: radial-gradient(closest-side, rgba(224, 20, 38, 0.16), transparent);
  filter: blur(10px);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
}
.hero__eyebrow { margin-bottom: clamp(18px, 3vh, 30px); }
.hero__eyebrow::before { display: none; }

.hero__title {
  font-size: clamp(3.1rem, min(15.6vw, 21vh), 11.75rem);
  font-weight: 800;
  font-stretch: 62%;
  line-height: 0.84;
  letter-spacing: -0.012em;
  text-transform: uppercase;
}
.hero__line { display: block; overflow: hidden; padding-bottom: 0.04em; margin-bottom: -0.04em; }
.hero__line > span { display: inline-block; }
.hero__title em {
  font-style: normal;
  color: var(--red-logo);
}

.hero__aside {
  display: grid;
  gap: 26px;
  max-width: 440px;
  margin-top: clamp(24px, 4vh, 40px);
}
.hero__lede {
  font-size: clamp(1.0625rem, 1.25vw, 1.1875rem);
  line-height: 1.55;
  color: var(--fg-2);
  text-wrap: pretty;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

@media (min-width: 1024px) {
  /* Title column hugs its longest line; the aside gets whatever is left, so they never collide */
  .hero__inner {
    grid-template-columns: max-content minmax(300px, 1fr);
    column-gap: clamp(28px, 3vw, 56px);
  }
  .hero__eyebrow { grid-column: 1 / -1; justify-self: start; }
  .hero__title {
    grid-column: 1;
    grid-row: 2;
    font-size: clamp(5rem, min(10.8vw, 20.5vh), 11rem);
  }
  .hero__aside {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    align-self: end;
    max-width: 520px;
    margin: 0;
    padding-bottom: 0.3rem;
  }
  .hero__lede { max-width: 440px; }
}

/* ---------- Pulse line (EKG that turns into a car) ---------- */
.pulse {
  --pulse-h: clamp(128px, min(19vw, 32vh), 300px);
  --car-at: 50%;
  position: relative;
  flex: 1 0 auto;
  min-height: calc(var(--pulse-h) + 24px);
  margin-top: clamp(4px, 2vh, 28px);
  overflow: hidden;
  pointer-events: none;
}
.pulse__svg {
  position: absolute;
  bottom: 0;
  left: var(--car-at);
  height: var(--pulse-h);
  width: auto;
  aspect-ratio: 16 / 1;
  max-width: none;
  transform: translateX(-62.5%);
  overflow: visible;
}
@media (min-width: 900px) {
  .pulse { --car-at: 64%; }
}
/* The dashed paths (line + beam) deliberately avoid vector-effect: non-scaling-stroke —
   WebKit measures dashes in screen space with it, which breaks the pathLength-based animation.
   --sw is the stroke width in SVG units, tuned per breakpoint to land around 1.4–2px. */
.pulse { --sw: 2; }
@media (max-width: 1199px) { .pulse { --sw: 2.5; } }
@media (max-width: 899px) { .pulse { --sw: 3.2; } }
@media (max-width: 599px) { .pulse { --sw: 3.6; } }
.pulse__line,
.pulse__beam,
.pulse__extras * {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pulse__extras * { vector-effect: non-scaling-stroke; }
.pulse__line { stroke: rgba(244, 243, 240, 0.92); stroke-width: var(--sw); }
.pulse__extras * { stroke: rgba(244, 243, 240, 0.34); stroke-width: 1.2; }
.pulse__extras .pulse__hub { stroke: rgba(244, 243, 240, 0.18); }
.pulse__beam {
  --len: 26;
  stroke: var(--red-hi);
  stroke-width: calc(var(--sw) * 1.7);
  stroke-dasharray: var(--len) 3000;
  stroke-dashoffset: 3000;
  filter: drop-shadow(0 0 5px rgba(255, 45, 62, 0.95)) drop-shadow(0 0 14px rgba(255, 45, 62, 0.55));
}
.pulse__beam--tail {
  --len: 110;
  stroke-width: calc(var(--sw) * 1.2);
  opacity: 0.45;
  filter: none;
}

/* ---------- Readout strip ---------- */
.readout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-2);
}
.readout__cell {
  padding: 18px 20px 26px 0;
  min-width: 0;
}
.readout__cell + .readout__cell { padding-left: 20px; border-left: 1px solid var(--line); }
.readout dt {
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.readout dd {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}
.readout dd a { transition: color 0.25s; }
.readout dd a:hover { color: var(--red-hi); }
.readout dd a { overflow-wrap: anywhere; }
.readout__sub { display: block; color: var(--fg-3); font-weight: 400; font-size: 0.9375rem; }
.readout__phone { font-weight: 600; font-size: 1.0625rem; }

@media (max-width: 899px) {
  .readout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .readout__cell:nth-child(3) { padding-left: 0; border-left: 0; }
  .readout__cell:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 420px) {
  .readout__cell { padding-right: 12px; }
  .readout__cell + .readout__cell { padding-left: 14px; }
  .readout__cell:nth-child(3) { padding-left: 0; }
  .readout dd { font-size: 0.9375rem; }
}

/* ==========================================================================
   SECTIONS (shared)
   ========================================================================== */
.section { position: relative; padding-block: var(--section-y); }

.section-head {
  display: grid;
  gap: 20px 48px;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
}
.section-head .eyebrow { margin-bottom: 4px; }
.section-title {
  font-size: clamp(2.9rem, 6.4vw, 6rem);
  font-weight: 800;
  font-stretch: 64%;
  line-height: 0.88;
  letter-spacing: -0.008em;
  text-transform: uppercase;
  text-wrap: balance;
}
.section-lede {
  max-width: 34em;
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  line-height: 1.6;
  color: var(--fg-2);
  text-wrap: pretty;
}
.section-lede a { color: var(--fg); border-bottom: 1px solid var(--line-3); transition: border-color 0.25s; }
.section-lede a:hover { border-color: var(--red-hi); }

.section-head > .eyebrow { justify-self: start; }
@media (min-width: 960px) {
  .section-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .section-head > .eyebrow { grid-column: 1 / -1; }
  .section-head > .section-title { grid-column: 1; }
  .section-head > :nth-child(3) { grid-column: 2; padding-bottom: 0.45rem; }
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services { border-top: 1px solid var(--line); }
.svc-list {
  list-style: none;
  margin-top: clamp(48px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}
.svc { border-top: 1px solid var(--line); }
.svc__link {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1.05fr) 52px;
  gap: 28px;
  align-items: center;
  padding: clamp(26px, 3vw, 38px) 0;
}
.svc__link::before {
  content: "";
  position: absolute;
  inset: 0 calc(-1 * var(--gutter));
  z-index: -1;
  background: linear-gradient(90deg, rgba(224, 20, 38, 0.16), rgba(224, 20, 38, 0.02) 65%, transparent);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}
.svc__link::after {
  content: "";
  position: absolute;
  left: calc(-1 * var(--gutter));
  top: -1px;
  width: 3px;
  height: calc(100% + 2px);
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s var(--ease-out);
}
.svc__link:hover::before,
.svc__link:focus-visible::before { opacity: 1; }
.svc__link:hover::after,
.svc__link:focus-visible::after { transform: scaleY(1); }

.svc__num {
  align-self: start;
  padding-top: 0.55em;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--fg-3);
}
.svc__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: clamp(1.9rem, 3.3vw, 3rem);
  font-weight: 750;
  font-stretch: 70%;
  line-height: 0.95;
  text-transform: uppercase;
  transition: transform 0.6s var(--ease-out);
}
.svc__link:hover .svc__title { transform: translateX(10px); }
.svc__tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border: 1px solid var(--red-hi);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  font-stretch: 100%;
  letter-spacing: 0.14em;
  color: var(--red-hi);
  transform: translateY(-2px);
}
.svc__desc { max-width: 44ch; color: var(--fg-2); font-size: 1rem; text-wrap: pretty; }
.svc__go {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), transform 0.6s var(--ease-out);
}
.svc__go .icon { width: 18px; height: 18px; }
.svc__link:hover .svc__go { background: var(--red); border-color: var(--red); transform: rotate(45deg); }

@media (max-width: 899px) {
  .svc__link {
    grid-template-columns: 44px minmax(0, 1fr) 40px;
    gap: 10px 14px;
  }
  .svc__desc { grid-column: 2 / 4; }
  .svc__go { width: 40px; height: 40px; grid-row: 1; grid-column: 3; }
  .svc__num { padding-top: 0.4em; }
}

/* ==========================================================================
   ESTIMATE
   ========================================================================== */
.estimate { border-top: 1px solid var(--line); }
.estimate__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  margin-top: clamp(40px, 6vw, 72px);
  align-items: start;
}
@media (min-width: 980px) {
  .estimate__body { grid-template-columns: minmax(340px, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); }
  .carmap { position: sticky; top: calc(var(--nav-h) + 20px); }
}

/* car map panel */
.carmap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px) -1px -1px / 24px 24px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px) -1px -1px / 24px 24px,
    var(--bg-1);
  padding: 18px 18px 16px;
}
.carmap__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.carmap__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.carmap__n,
.intake__n {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 20px;
  padding: 0 5px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  color: var(--fg-3);
}
.carmap__clear {
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-2);
  border: 1px solid var(--line-2);
  border-radius: 100px;
  transition: color 0.25s, border-color 0.25s, opacity 0.25s;
}
.carmap__clear:hover { color: var(--fg); border-color: var(--line-3); }
.carmap__clear:disabled { opacity: 0.35; cursor: default; }
.carmap__canvas { position: relative; padding: 10px 0 2px; }
.carmap__svg {
  width: 100%;
  max-width: 420px;
  height: auto;
  max-height: min(72vh, 720px);
  margin-inline: auto;
  overflow: visible;
  -webkit-tap-highlight-color: transparent;
}
.carmap__labels text {
  fill: var(--fg-3);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
}
.carmap__wheels rect { fill: #202124; }
.carmap__body { fill: #121315; }
.carmap__glass path { fill: url(#glassGrad); stroke: rgba(255, 255, 255, 0.2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.carmap__zone {
  fill: rgba(255, 255, 255, 0.025);
  stroke: rgba(255, 255, 255, 0.36);
  stroke-width: 1.15;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  cursor: pointer;
  transition: fill 0.25s, stroke 0.25s;
  outline: none;
}
@media (hover: hover) {
  .carmap__zone:hover { fill: rgba(238, 18, 38, 0.17); stroke: rgba(255, 85, 96, 0.95); }
}
.carmap__hit { fill: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.carmap__zone:focus-visible { stroke: #fff; stroke-width: 2.4; fill: rgba(255, 255, 255, 0.08); }
.carmap__zone[aria-checked="true"] { fill: url(#hatch); stroke: var(--red-hi); stroke-width: 1.8; }
.carmap__zone.is-pop { animation: zonepop 0.5s var(--ease-out); }
@keyframes zonepop { 0% { fill: rgba(255, 55, 71, 0.65); } }
.carmap__detail path { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 1; vector-effect: non-scaling-stroke; pointer-events: none; }
.carmap__detail .carmap__lamp { stroke: rgba(255, 255, 255, 0.7); stroke-width: 4; stroke-linecap: round; vector-effect: none; }
.carmap__detail .carmap__lamp--tail { stroke: var(--red-hi); }
.carmap__tip {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 3px;
  background: var(--fg);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, calc(-100% - 12px));
  transition: opacity 0.15s;
}
.carmap__tip.is-on { opacity: 1; }
.carmap__count {
  margin-top: 6px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.carmap__count.has-picks { color: var(--red-hi); }

/* intake form */
.intake { display: grid; gap: 34px; }
.intake__group { display: grid; gap: 14px; }
.intake__legend {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 1.0625rem;
  font-weight: 650;
  font-stretch: 90%;
  letter-spacing: 0.01em;
}
.intake__row { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 28px; }
@media (max-width: 640px) { .intake__row { grid-template-columns: 1fr; } }

.picked { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.picked:empty { display: none; }
.picked button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px 7px 12px;
  border-radius: 100px;
  background: rgba(224, 20, 38, 0.14);
  border: 1px solid rgba(255, 55, 71, 0.55);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s, border-color 0.2s;
  animation: pickin 0.4s var(--ease-out);
}
.picked button:hover { background: rgba(224, 20, 38, 0.28); }
.picked button .icon { width: 14px; height: 14px; transform: rotate(45deg); opacity: 0.75; }
@keyframes pickin { from { opacity: 0; transform: scale(0.9); } }
.picked__empty { color: var(--fg-3); font-size: 0.9375rem; }

.check {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--fg-2);
  cursor: pointer;
  width: fit-content;
}
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--line-3);
  border-radius: 3px;
  transition: background-color 0.2s, border-color 0.2s;
}
.check__box .icon { width: 14px; height: 14px; stroke-width: 2.4; opacity: 0; transition: opacity 0.2s; color: #fff; }
.check input:checked + .check__box { background: var(--red); border-color: var(--red); }
.check input:checked + .check__box .icon { opacity: 1; }
.check input:focus-visible + .check__box { outline: 2px solid var(--red-hi); outline-offset: 3px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--fg-2);
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
  user-select: none;
}
.chip:hover span { border-color: var(--line-3); color: var(--fg); }
.chip input:checked + span { background: var(--fg); border-color: var(--fg); color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--red-hi); outline-offset: 3px; }

.seg {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  width: 100%;
  max-width: 360px;
  padding: 4px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
}
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
  display: grid;
  place-items: center;
  height: 36px;
  padding: 0 12px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-2);
  transition: color 0.2s, background-color 0.2s;
  user-select: none;
  white-space: nowrap;
}
.seg label:hover span { color: var(--fg); }
.seg input:checked + span { background: var(--fg); color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--red-hi); outline-offset: 2px; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field--wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.field__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.field__input {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: var(--bg-2);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
textarea.field__input { resize: vertical; min-height: 104px; }
.field__input::placeholder { color: var(--fg-3); }
.field__input:hover { border-color: var(--line-3); }
.field__input:focus { outline: none; border-color: var(--red-hi); background: var(--bg-3); box-shadow: 0 0 0 4px rgba(255, 55, 71, 0.14); }

.send { display: grid; gap: 18px; padding-top: 6px; }
.ticket {
  position: relative;
  border-radius: 4px;
  background: #f3f1ec;
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.ticket::after {
  /* perforated edge */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 8px;
  background: radial-gradient(circle at 6px 8px, var(--bg) 4px, transparent 4.5px) 0 0 / 12px 8px repeat-x;
}
.ticket__head {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--ink);
  color: #f3f1ec;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ticket__head span:last-child { color: var(--red-hi); }
.ticket__body {
  min-height: 132px;
  max-height: 320px;
  overflow: auto;
  padding: 16px 16px 22px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}
.ticket__body .muted { color: var(--ink-3); }

.send__error {
  padding: 12px 14px;
  border-left: 2px solid var(--red-hi);
  background: rgba(224, 20, 38, 0.1);
  font-size: 0.9375rem;
}
.send__buttons { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.send__buttons.is-email-first [data-send="email"] { order: -1; }
.send__fine { font-size: 0.875rem; color: var(--fg-3); max-width: 60ch; }
.send__fine a { color: var(--fg-2); border-bottom: 1px solid var(--line-2); }
@media (max-width: 560px) {
  .send__buttons .btn--lg { width: 100%; }
}

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process { border-top: 1px solid var(--line); }
.process__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 56px;
}
.process__intro { display: grid; gap: 22px; justify-items: start; align-content: start; }
@media (min-width: 980px) {
  .process__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); }
  .process__intro { position: sticky; top: calc(var(--nav-h) + 48px); align-self: start; }
}

.steps { position: relative; padding-left: 76px; }
.steps__trace {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 100%;
  overflow: visible;
}
.steps__trace path { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.steps__trace-bg { stroke: var(--line-2); stroke-width: 1.4; }
.steps__trace-fg {
  stroke: var(--red-hi);
  stroke-width: 2;
  filter: drop-shadow(0 0 5px rgba(255, 45, 62, 0.7));
}
.no-trace .steps::before {
  /* fallback rail when the trace can't be drawn */
  content: "";
  position: absolute;
  left: 30px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line-2);
}
.steps__list { list-style: none; display: grid; }
.step { position: relative; padding-bottom: clamp(44px, 5.5vw, 72px); }
.step:last-child { padding-bottom: 0; }
.step__node {
  position: absolute;
  left: -52px;
  top: 3px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1.5px solid var(--line-3);
  background: var(--bg);
  transition: border-color 0.4s, background-color 0.4s, box-shadow 0.6s var(--ease-out);
}
.step.is-active .step__node {
  border-color: var(--red-hi);
  background: var(--red-hi);
  box-shadow: 0 0 0 7px rgba(255, 55, 71, 0.14), 0 0 18px rgba(255, 55, 71, 0.6);
}
.step__tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  transition: color 0.4s;
}
.step__tag span { color: var(--fg-2); }
.step.is-active .step__tag { color: var(--red-hi); }
.step__title {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 750;
  font-stretch: 72%;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.step__text { max-width: 46ch; color: var(--fg-2); }
@media (max-width: 560px) {
  .steps { padding-left: 56px; }
  .step__node { left: -42px; }
}

/* ==========================================================================
   CALL TO ACTION (red)
   ========================================================================== */
.hours {
  background:
    radial-gradient(80% 90% at 85% 50%, rgba(255, 255, 255, 0.08), transparent 60%),
    linear-gradient(180deg, #e01426 0%, #cf1122 100%);
  color: #fff;
  overflow: hidden;
  padding-bottom: 0;
}
.hours ::selection { background: var(--ink); color: #fff; }
.hours :focus-visible { outline-color: #fff; }
.eyebrow--on-red { color: #fff; }
.eyebrow--on-red::before { background: #fff; }
.hours .section-lede { color: #fff; }
.hours__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding-bottom: var(--section-y);
}
.hours__copy { display: grid; gap: 24px; justify-items: start; }
.hours__side { display: grid; gap: 24px; justify-items: start; }
.hours__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (min-width: 980px) {
  .hours__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 64px; align-items: end; }
  .hours__side { padding-bottom: 0.4rem; }
}


.hours__ticker {
  border-top: 1px solid rgba(0, 0, 0, 0.18);
  overflow: hidden;
  white-space: nowrap;
  padding: 18px 0;
}
.hours__ticker-track {
  display: inline-flex;
  animation: marquee 38s linear infinite;
}
.hours__ticker-track span {
  display: inline-flex;
  align-items: center;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  font-weight: 800;
  font-stretch: 64%;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}
.hours__ticker-track span::after {
  content: "";
  width: 46px;
  height: 18px;
  margin: 0 28px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 18'%3E%3Cpath d='M0 9h14l2.5-4 3 9 3.5-13 3 15 2.5-7H46' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E");
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.faq__intro { display: grid; gap: 22px; align-content: start; justify-items: start; }
@media (min-width: 980px) {
  .faq__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); }
  .faq__intro { position: sticky; top: calc(var(--nav-h) + 48px); align-self: start; }
}
.faq__list { border-bottom: 1px solid var(--line); }
.qa { border-top: 1px solid var(--line); }
.qa summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  font-weight: 650;
  font-stretch: 88%;
  line-height: 1.25;
  transition: color 0.25s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: #fff; }
.qa summary .icon {
  width: 22px;
  height: 22px;
  color: var(--fg-3);
  transition: transform 0.5s var(--ease-out), color 0.3s;
}
.qa summary:hover .icon { color: var(--fg); }
.qa[open] summary .icon { transform: rotate(135deg); color: var(--red-hi); }
.qa__a { padding: 0 48px 28px 0; color: var(--fg-2); max-width: 64ch; }
.qa__a a { color: var(--fg); border-bottom: 1px solid var(--line-3); transition: border-color 0.25s; }
.qa__a a:hover { border-color: var(--red-hi); }
.qa::details-content {
  block-size: 0;
  overflow-y: clip;
  transition: block-size 0.5s var(--ease-out), content-visibility 0.5s allow-discrete;
}
.qa[open]::details-content { block-size: auto; }

/* ==========================================================================
   VISIT
   ========================================================================== */
.visit { border-top: 1px solid var(--line); padding-bottom: clamp(64px, 8vw, 120px); }
.visit__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.visit__info { display: grid; gap: 22px; align-content: start; justify-items: start; }
@media (min-width: 980px) {
  .visit__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 88px); align-items: stretch; }
}
.visit__list { width: 100%; margin-top: 8px; border-bottom: 1px solid var(--line); }
.visit__row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.visit__row dt {
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.visit__row dd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  font-size: 1.0625rem;
  overflow-wrap: anywhere;
}
.visit__row dd a { display: inline-block; padding: 3px 0; transition: color 0.25s; }
.visit__row dd a:hover { color: var(--red-hi); }
.visit__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
@media (max-width: 420px) {
  .visit__row { grid-template-columns: 1fr; gap: 6px; }
}

.visit__map {
  position: relative;
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, rgba(224, 20, 38, 0.18), transparent 22%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) -1px -1px / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) -1px -1px / 32px 32px,
    var(--bg-2);
}
.visit__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.92) hue-rotate(180deg) saturate(0.55) brightness(0.95) contrast(0.92);
}
.visit__mapcard {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 28px);
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: rgba(10, 10, 11, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
}
.visit__mapcard .icon { width: 15px; height: 15px; color: var(--red-hi); }
.visit__muted { color: var(--fg-3); font-size: 0.9375rem; }
@media (max-width: 979px) { .visit__map { min-height: 360px; } }

.visit__areas {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--fg-3);
  font-size: 0.9375rem;
}

/* ==========================================================================
   INSTAGRAM BAND
   ========================================================================== */
.ig-band {
  display: block;
  padding: clamp(40px, 5vw, 64px) 0 clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
}
.ig-band__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.ig-band .eyebrow::before { display: none; }
.ig-band .eyebrow .icon { width: 18px; height: 18px; color: var(--fg); }
.ig-band__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 650;
  font-stretch: 112%;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-2);
  transition: color 0.3s;
}
.ig-band__cta .icon { width: 18px; height: 18px; transition: transform 0.45s var(--ease-out); }
.ig-band:hover .ig-band__cta { color: var(--fg); }
.ig-band:hover .ig-band__cta .icon { transform: translate(3px, -3px); }
.ig-band__marquee { display: block; margin-top: clamp(14px, 2vw, 24px); white-space: nowrap; }
.ig-band__track { display: inline-flex; animation: marquee 46s linear infinite; }
.ig-band__track span {
  padding-right: 0.45em;
  font-size: clamp(3.4rem, 10.5vw, 10rem);
  font-weight: 800;
  font-stretch: 62%;
  line-height: 1;
  letter-spacing: -0.01em;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(244, 243, 240, 0.32);
  transition: color 0.5s var(--ease-out), -webkit-text-stroke-color 0.5s;
}
.ig-band:hover .ig-band__track span { color: var(--fg); -webkit-text-stroke-color: transparent; }
.ig-band:hover .ig-band__track span:nth-child(even) { color: var(--red-logo); }
.ig-band:focus-visible { outline-offset: -6px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  position: relative;
  background: #060607;
  border-top: 1px solid var(--line);
  padding-top: clamp(56px, 7vw, 96px);
  overflow: hidden;
  font-size: 0.9375rem;
}
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
@media (min-width: 980px) { .footer__top { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; } }
.footer__brand { display: grid; gap: 20px; justify-items: start; align-content: start; }
.footer__brand img { width: 220px; }
.footer__brand p { max-width: 32ch; color: var(--fg-3); }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 760px) { .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.footer__h {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.footer ul { list-style: none; display: grid; gap: 2px; margin-top: -4px; }
.footer address, .footer li a, .footer__hours { color: var(--fg-2); }
.footer li a { display: inline-block; padding: 4px 0; transition: color 0.25s; }
.footer li a:hover { color: var(--fg); }
.footer__hours { line-height: 1.6; }
.footer__word {
  margin-top: clamp(40px, 6vw, 80px);
  text-align: center;
  white-space: nowrap;
  font-size: 26.5vw;
  font-weight: 900;
  font-stretch: 62%;
  line-height: 0.74;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  user-select: none;
  pointer-events: none;
}
.footer__word span {
  display: inline-block;
  background: linear-gradient(180deg, rgba(244, 243, 240, 0.12) 0%, rgba(244, 243, 240, 0.02) 78%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer__bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  padding-top: 22px;
  padding-bottom: 28px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--fg-3);
}
.footer__top-link { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; transition: color 0.25s; }
.footer__top-link .icon { width: 16px; height: 16px; transform: rotate(-90deg); }
.footer__top-link:hover { color: var(--fg); }

/* ==========================================================================
   MOBILE DOCK
   ========================================================================== */
.dock {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 50;
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: rgba(18, 18, 20, 0.86);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  backdrop-filter: saturate(150%) blur(16px);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.7);
  transform: translateY(calc(100% + 24px));
  transition: transform 0.55s var(--ease-out);
}
.dock.is-visible { transform: none; }
.dock a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 650;
  font-stretch: 112%;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  -webkit-tap-highlight-color: transparent;
}
.dock a:first-child { background: var(--red); }
.dock .icon { width: 17px; height: 17px; }
@media (max-width: 767px) {
  .dock { display: grid; }
  .footer__bottom { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
.menu-open .dock { transform: translateY(calc(100% + 24px)); }

/* ==========================================================================
   MOTION
   ========================================================================== */
/* Scroll reveals (JS adds .js to <html>) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Hero entrance — pure CSS so it never waits on JS */
.hero__eyebrow { animation: rise 0.9s var(--ease-out) 0.05s both; }
.hero__line > span { animation: lineUp 1.15s var(--ease-out) both; }
.hero__line:nth-child(1) > span { animation-delay: 0.12s; }
.hero__line:nth-child(2) > span { animation-delay: 0.22s; }
.hero__aside { animation: rise 1s var(--ease-out) 0.45s both; }
.readout__cell { animation: rise 0.9s var(--ease-out) both; }
.readout__cell:nth-child(1) { animation-delay: 0.7s; }
.readout__cell:nth-child(2) { animation-delay: 0.78s; }
.readout__cell:nth-child(3) { animation-delay: 0.86s; }
.readout__cell:nth-child(4) { animation-delay: 0.94s; }

/* Positions along the path (pathLength = 1000). The beam starts just before the visible stretch and
   runs until its tail has fully left the screen, at constant speed with no pause, so it never parks. */
.pulse { --draw-from: 290; --beam-from: 295; --beam-to: 935; --beam-dur: 7.6s; }
@media (max-width: 899px) {
  .pulse { --draw-from: 380; --beam-from: 380; --beam-to: 930; --beam-dur: 6.4s; }
}
@media (max-width: 599px) {
  .pulse { --draw-from: 490; --beam-from: 492; --beam-to: 830; --beam-dur: 4s; }
}
.pulse__line {
  stroke-dasharray: 1000 1000;
  animation: draw 2.6s var(--ease-in-out) 0.25s both;
}
.pulse__extras { animation: fadeIn 1.4s var(--ease-out) 1.5s both; }
.pulse__beam { animation: beam var(--beam-dur) linear 2.6s infinite; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lineUp { from { transform: translateY(104%); } to { transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes draw {
  from { stroke-dashoffset: calc(1000 - var(--draw-from)); }
  to { stroke-dashoffset: 0; }
}
@keyframes beam {
  from { stroke-dashoffset: calc(var(--len) - var(--beam-from)); }
  to { stroke-dashoffset: calc(var(--len) - var(--beam-to)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
  .pulse__beam { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hours__ticker-track, .ig-band__track { transform: none !important; }
}

@media print {
  body::after, .nav, .menu, .dock, .pulse, .ig-band, .hours__ticker, .visit__map { display: none !important; }
  body { background: #fff; color: #000; }
  .hero { min-height: 0; padding-top: 0; }
}

/* nudge the car map when someone tries to send an empty estimate */
.carmap.is-nudge { animation: nudge 0.9s var(--ease-out); }
@keyframes nudge {
  0%, 100% { transform: none; }
  0%, 60% { border-color: rgba(255, 55, 71, 0.75); }
  10% { transform: translateX(-7px); }
  22% { transform: translateX(6px); }
  34% { transform: translateX(-4px); }
  46% { transform: translateX(2px); }
}
.carmap__title .icon { width: 16px; height: 16px; color: var(--red-hi); }

/* ==========================================================================
   404 — "Flatline"
   ========================================================================== */
.lost {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) 0 64px;
  overflow: hidden;
  isolation: isolate;
}
.lost__inner { display: grid; gap: 24px; justify-items: start; position: relative; z-index: 1; }
.lost .eyebrow::before { display: none; }
.lost__title {
  font-size: clamp(4.5rem, 19vw, 15rem);
  font-weight: 800;
  font-stretch: 62%;
  line-height: 0.82;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.lost__lede { max-width: 32em; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--fg-2); }
.lost__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.lost__line {
  width: 100%;
  height: clamp(120px, 18vw, 200px);
  margin-top: clamp(32px, 6vh, 64px);
}
.lost__line path {
  fill: none;
  stroke: var(--red-hi);
  stroke-width: 2.2;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 1000 1000;
  filter: drop-shadow(0 0 5px rgba(255, 45, 62, 0.6));
  animation: draw-full 3.2s var(--ease-in-out) 0.3s both;
}
@keyframes draw-full { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
