/* Mike Auto Mech
   Layout: one dark site, like the shop at night. Car-lit hero, a service board in two bays,
   four promises, and a work-order ticket for getting in touch. Texting Mike is the main action. */
:root {
  --ink: #0b0b0c;          /* page ground, matches the black in Mike's logo files */
  --steel: #151517;        /* raised panels */
  --steel-2: #1c1c1f;      /* inputs */
  --rule: #2a2a2e;         /* hairlines, hex mesh */
  --chrome: #e9e9ec;       /* primary text, the silver in the wordmark */
  --dim: #a2a2a8;          /* secondary text */
  --red: #e3121b;          /* the red in MIKE */
  --red-deep: #9d0d13;
  --display: "Barlow Condensed", "Roboto Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --wrap: 1120px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--chrome);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--ink); }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.mesh {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48.5' viewBox='0 0 28 48.5'%3E%3Cpath d='M14 0 28 8.08v16.17L14 32.33 0 24.25V8.08z M14 32.33V48.5' fill='none' stroke='%23ffffff' stroke-opacity='.045' stroke-width='1'/%3E%3C/svg%3E");
}
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; }
.eyebrow {
  font: 600 13px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--red);
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.ico { width: 18px; height: 18px; flex: none; }

/* Top bar */
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: rgba(11, 11, 12, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand span { font: 700 italic 22px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.brand b { color: var(--red); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 26px; font: 600 15px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; }
.nav a:not(.btn) { text-decoration: none; color: var(--dim); padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { color: var(--chrome); }
.nav a[aria-current="page"] { color: var(--chrome); border-bottom-color: var(--red); }
@media (max-width: 760px) {
  .nav { gap: 16px; font-size: 13px; }
  .nav .btn .label-long { display: none; }
  .brand span { display: none; }
}
@media (max-width: 380px) { .nav a[href$="index.html"] { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; white-space: nowrap; cursor: pointer;
  font: 700 17px/1 var(--display); letter-spacing: .08em; text-transform: uppercase;
  padding: 14px 22px; border: 2px solid var(--red); color: #fff; background: var(--red);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background .2s, border-color .2s;
}
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn.ghost { background: transparent; border-color: #4a4a50; color: var(--chrome); }
.btn.ghost:hover { border-color: var(--chrome); }
.btn.sm { padding: 10px 16px; font-size: 15px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cta-note { font-size: 14px; color: var(--dim); }
.cta-note b { color: var(--chrome); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Home hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--rule); }
.hero-car {
  position: absolute; inset: 0 0 0 auto; width: min(58%, 720px); height: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 38%); mask-image: linear-gradient(to right, transparent 0%, #000 38%);
  opacity: .9;
}
.hero-car img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 30% 40%; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 32px; padding-block: 64px 84px; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.wordmark {
  position: relative;
  width: min(500px, 100%);
  -webkit-mask-image: radial-gradient(ellipse 72% 80% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 80% at 50% 50%, #000 62%, transparent 100%);
  margin-left: -14px;
}
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1; font-weight: 700; font-style: italic; text-transform: uppercase; }
.hero h1 em { font-style: italic; color: var(--red); }
.hero p { margin: 0; max-width: 34em; color: var(--dim); font-size: 19px; }
.where { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--dim); }
.where span { display: inline-flex; align-items: center; gap: 8px; }
.where .ico { width: 16px; height: 16px; color: var(--red); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 36px 56px; }
  .hero-car { width: 100%; opacity: .32; -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 100%); mask-image: linear-gradient(to bottom, #000 30%, transparent 100%); }
  .hero p { font-size: 17px; }
}

/* Inner page header */
.page-head { border-bottom: 1px solid var(--rule); }
.page-head .wrap { padding-block: 64px 56px; display: flex; flex-direction: column; gap: 18px; }
.page-head h1 { font-size: clamp(40px, 6vw, 68px); line-height: .98; font-weight: 700; font-style: italic; text-transform: uppercase; max-width: 16em; }
.page-head h1 em { font-style: italic; color: var(--red); }
.page-head p { margin: 0; color: var(--dim); max-width: 36em; font-size: 18px; }
@media (max-width: 600px) { .page-head .wrap { padding-block: 40px; } }

/* Sections */
section.block { padding-block: 96px; }
section.block.tight { padding-top: 64px; }
.head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 44px; max-width: 40em; }
.head h2 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.02; font-weight: 700; text-transform: uppercase; }
.head p { margin: 0; color: var(--dim); }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; margin-bottom: 44px; }
.head-row .head { margin-bottom: 0; }
@media (max-width: 600px) { section.block { padding-block: 64px; } }

/* Service board: two bays */
.bays { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.bay { background: var(--ink); padding: 32px clamp(20px, 3vw, 36px) 12px; min-width: 0; }
.bay-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 2px solid var(--red); padding-bottom: 12px; margin-bottom: 8px; }
.bay-label h3 { font-size: 26px; font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: .02em; }
.bay-label small { font: 600 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.svc { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.bay > .svc:last-child { border-bottom: 0; }
.svc > svg { width: 36px; height: 36px; color: var(--red); }
.svc h4 { margin: 0 0 2px; font: 700 22px/1.15 var(--display); letter-spacing: .01em; }
.svc p { margin: 0; color: var(--dim); font-size: 15.5px; line-height: 1.5; }
.svc .ask { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font: 600 13px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--chrome); text-decoration: none; border-bottom: 1px solid var(--red); padding-bottom: 3px; }
.svc .ask:hover { color: var(--red); }
.svc .ask .ico { width: 14px; height: 14px; color: var(--red); }
.mech-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.mech-list .svc:nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 960px) { .bays { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .mech-list { grid-template-columns: 1fr; } .mech-list .svc:nth-last-child(2) { border-bottom: 1px solid var(--rule); } }

/* Compact service chips on Home */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--rule); background: var(--steel); font: 600 19px/1 var(--display); letter-spacing: .02em; text-decoration: none; }
.chip svg { width: 20px; height: 20px; color: var(--red); flex: none; }
.chip:hover { border-color: #4a4a50; }

/* Promises */
.promises { border-block: 1px solid var(--rule); background: var(--steel); }
.promises .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.promise { padding: 36px 24px; display: flex; gap: 16px; align-items: flex-start; border-left: 1px solid var(--rule); min-width: 0; }
.promise:first-child { border-left: 0; padding-left: 0; }
.promise svg { width: 34px; height: 34px; color: var(--red); flex: none; }
.promise strong, .promise span { display: block; font: 700 20px/1.1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.promise span { color: var(--red); }
@media (max-width: 900px) {
  .promises .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise { padding: 28px 16px; }
  .promise:nth-child(odd) { border-left: 0; padding-left: 0; }
  .promise:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 460px) { .promises .wrap { grid-template-columns: 1fr; } .promise { border-left: 0; padding-left: 0; } .promise:nth-child(n+2) { border-top: 1px solid var(--rule); } }

/* How it works: a real sequence */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 1px solid var(--rule); }
.step { padding: 28px 28px 0 0; min-width: 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--rule); }
.step b { display: block; font: 800 italic 54px/1 var(--display); color: var(--red); margin-bottom: 10px; }
.step h3 { font-size: 24px; font-weight: 700; text-transform: uppercase; margin-bottom: 6px; }
.step p { margin: 0; color: var(--dim); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .step, .step + .step { padding: 24px 0; border-left: 0; } .step + .step { border-top: 1px solid var(--rule); } }

/* Work-order ticket */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.ticket { border: 1px solid var(--rule); background: var(--steel); min-width: 0; }
.ticket-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 24px; border-bottom: 1px dashed #3a3a40; font: 600 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.ticket-top b { color: var(--red); font-weight: 600; }
.ticket dl { margin: 0; padding: 8px 24px 24px; display: grid; grid-template-columns: 96px minmax(0, 1fr); }
.ticket dt, .ticket dd { padding: 16px 0; border-bottom: 1px solid var(--rule); margin: 0; }
.ticket dt { font: 600 12px/1.9 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.ticket dd { font: 600 22px/1.25 var(--display); letter-spacing: .01em; overflow-wrap: anywhere; }
.ticket dd.big { font-size: 34px; font-variant-numeric: tabular-nums; }
.ticket dt:last-of-type, .ticket dd:last-of-type { border-bottom: 0; }
.ticket .cta-row { padding: 0 24px 28px; }
.visit-badge { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.visit-badge img { width: min(340px, 80%); }
.visit-badge p { margin: 0; color: var(--dim); max-width: 26em; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; gap: 40px; } .visit-badge { order: -1; } .visit-badge img { width: min(220px, 60%); } }
@media (max-width: 420px) { .ticket dl { grid-template-columns: 1fr; } .ticket dt { padding-bottom: 0; border-bottom: 0; } .ticket dd { padding-top: 4px; } .ticket dd.big { font-size: 30px; } }

/* Text-Mike composer on Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.composer { border: 1px solid var(--rule); background: var(--steel); }
.composer form { padding: 24px; display: grid; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font: 600 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 17px/1.4 var(--body); color: var(--chrome); background: var(--steel-2);
  border: 1px solid #34343a; border-radius: 0; padding: 12px 14px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 520px) { .pair { grid-template-columns: 1fr; } }
.preview { border-top: 1px dashed #3a3a40; padding: 18px 24px 24px; display: grid; gap: 14px; }
.bubble { justify-self: end; max-width: 92%; background: #2b6df6; color: #fff; padding: 12px 16px; border-radius: 18px 18px 4px 18px; font-size: 16px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.preview small { color: var(--dim); font-size: 13px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* Closing strip */
.closer { border-top: 1px solid var(--rule); background: linear-gradient(90deg, rgba(227,18,27,.14), transparent 60%), var(--ink); }
.closer .wrap { padding-block: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.closer h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; font-style: italic; text-transform: uppercase; line-height: 1; }

footer { border-top: 1px solid var(--rule); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 28px; font-size: 14px; color: var(--dim); }
footer a { text-decoration: none; }
footer a:hover { color: var(--chrome); }


/* About: stats, prose and the technician spec sheet (no photo of Mike yet) */
.stats { border-bottom: 1px solid var(--rule); background: var(--steel); }
.stats .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { padding: 30px 24px; border-left: 1px solid var(--rule); display: flex; align-items: baseline; gap: 14px; min-width: 0; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { font: 800 italic 56px/1 var(--display); color: var(--red); font-variant-numeric: tabular-nums; }
.stat span { font: 600 13px/1.35 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
@media (max-width: 760px) { .stats .wrap { grid-template-columns: 1fr; } .stat { border-left: 0; padding: 20px 0; } .stat + .stat { border-top: 1px solid var(--rule); } .stat b { font-size: 46px; min-width: 2.3em; } }
.about { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.prose { display: flex; flex-direction: column; gap: 18px; max-width: 36em; }
.prose h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.05; font-weight: 700; text-transform: uppercase; margin-bottom: 6px; }
.prose p { margin: 0; color: #c9c9ce; font-size: 18px; line-height: 1.65; }
.prose .cta-row { margin-top: 10px; }
.plate { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 90px); overflow: hidden; }
.plate dl { grid-template-columns: 104px minmax(0, 1fr); padding-bottom: 8px; }
.plate dd { font-size: 19px; }
.plate img { display: block; width: 120px; height: auto; aspect-ratio: 1; object-fit: contain; margin: 4px 24px 22px auto; opacity: .9; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 40px; } .plate { position: static; } }
@media (max-width: 420px) { .plate dl { grid-template-columns: 1fr; } }
.meet { padding-block: 72px 0; }
.meet-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.meet-row .head { margin-bottom: 0; }
@media (max-width: 520px) { .nav a[href$="index.html"] { display: none; } .nav { gap: 14px; } }

/* ---------- Motion: the ignition, the living logo, the rev gauge ----------
   Every animation ends on the page's resting look, so the site reads the same with motion off. */
@view-transition { navigation: auto; }
.bar { view-transition-name: topbar; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

/* Ignition: headlights flicker on, then light runs across the chrome */
.hero-car .lit { animation: lights-on 1.5s .35s steps(1, end) backwards; }
@keyframes lights-on {
  0% { opacity: 0; } 18% { opacity: .85; } 24% { opacity: .1; } 34% { opacity: 1; } 40% { opacity: .35; } 52%, 100% { opacity: 1; }
}
.hero-car { transform: translate3d(var(--px, 0), var(--py, 0), 0); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }

.wordmark img { width: 100%; height: auto; }
.wordmark .glow, .wordmark .sheen { position: absolute; inset: 0; pointer-events: none; }
.wordmark .glow { width: 100%; height: 100%; mix-blend-mode: screen; opacity: .35; animation: red-pulse 1.6s 1s ease-out backwards; }
@keyframes red-pulse { 0% { opacity: 0; } 35% { opacity: 1; } 100% { opacity: .35; } }
.wordmark .sheen {
  /* overlay brightens the chrome and red lettering while the near-black ground stays dark, so no mask is needed */
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .9) 50%, transparent 60%) no-repeat;
  background-size: 300% 100%; background-position: 120% 0;
  mix-blend-mode: overlay;
  animation: sheen 1.4s 1.25s cubic-bezier(.4, 0, .2, 1) backwards;
}
.wordmark:hover .sheen { animation: sheen 1.1s cubic-bezier(.4, 0, .2, 1); }
@keyframes sheen { from { background-position: 120% 0; } to { background-position: -20% 0; } }
body.engine-on .wordmark .glow { animation: red-breathe 2.2s ease-in-out infinite; }
@keyframes red-breathe { 0%, 100% { opacity: .35; } 50% { opacity: .75; } }

.hero-copy > *:not(.wordmark) { animation: rise-in .7s cubic-bezier(.2, .7, .2, 1) backwards; }
.hero-copy > h1 { animation-delay: .9s; }
.hero-copy > p { animation-delay: 1.05s; }
.hero-copy > .cta-row { animation-delay: 1.2s; }
.hero-copy > .where { animation-delay: 1.35s; }
.wordmark { animation: rise-in .9s .15s cubic-bezier(.2, .7, .2, 1) backwards; }
@keyframes rise-in { from { opacity: .15; transform: translateY(16px); } }

/* Shop light that follows the pointer across the hex mesh */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .06), transparent 70%);
}
.hero:hover::after { opacity: 1; }

/* Badge spins in, and turns like a gear on hover */
.brand img { animation: badge-in .9s cubic-bezier(.2, .7, .2, 1) backwards; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.brand:hover img { transform: rotate(360deg); }
@keyframes badge-in { from { transform: rotate(-140deg) scale(.6); opacity: .2; } }

/* Buttons: a quick light pass on hover */
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%); transform: translateX(-120%); transition: transform .6s; }
.btn:hover::after { transform: translateX(120%); }

/* Service icons draw themselves in, rows rise as they scroll into view */
.svc > svg, .chip svg, .promise svg { transition: filter .3s, transform .3s; }
.svc:hover > svg, .chip:hover svg { filter: drop-shadow(0 0 8px rgba(227, 18, 27, .7)); transform: scale(1.06); }
.svc { transition: background .3s; }
.svc:hover { background: linear-gradient(90deg, rgba(227, 18, 27, .06), transparent 70%); }
@supports (animation-timeline: view()) {
  .svc, .chip, .step, .promise, .ticket:not(.plate), .composer, .stat { animation: scroll-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  @keyframes scroll-rise { from { opacity: .2; transform: translateY(26px); } }
  .svc > svg :is(path, circle, rect), .promise svg :is(path, circle) { stroke-dasharray: 100; animation: draw linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
  @keyframes draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
  .step b { animation: num-glow linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
  @keyframes num-glow { from { color: #3a3a40; text-shadow: none; } to { color: var(--red); text-shadow: 0 0 18px rgba(227, 18, 27, .55); } }
}

/* Rev gauge: the engine sound switch */
.gauge {
  position: fixed; z-index: 7; left: max(14px, env(safe-area-inset-left, 0px)); bottom: max(14px, env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; cursor: pointer;
  background: rgba(21, 21, 23, .92); border: 1px solid var(--rule); border-radius: 40px; color: var(--chrome);
  font: 600 11px/1.15 var(--body); letter-spacing: .14em; text-transform: uppercase; text-align: left;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: border-color .3s, box-shadow .3s;
}
.gauge:hover { border-color: #4a4a50; }
.gauge[aria-pressed="true"] { border-color: rgba(227, 18, 27, .6); box-shadow: 0 0 22px rgba(227, 18, 27, .25); }
.gauge svg { width: 52px; height: 52px; flex: none; }
.gauge .needle { transform-origin: 30px 30px; transition: transform .08s linear; }
.gauge small { display: block; color: var(--dim); font-size: 10px; letter-spacing: .16em; }
.gauge b { display: block; font: 700 15px/1 var(--display); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.gauge[aria-pressed="true"] b { color: var(--red); }
@media (max-width: 760px) { .gauge .gauge-text { display: none; } }

/* The wrench in the logo gives the bolt two quick turns after ignition, and again on hover */
.wordmark .wrench { position: absolute; left: 81.4167%; top: 30.4577%; width: 13.3333%; height: auto; transform-origin: 50% 50%; animation: wrench-turn 1.1s 1.6s cubic-bezier(.3, .7, .3, 1) backwards; pointer-events: none; }
.wordmark:hover .wrench { animation: wrench-turn 1.1s cubic-bezier(.3, .7, .3, 1); }
@keyframes wrench-turn { 0% { transform: rotate(0); } 22% { transform: rotate(-32deg); } 40% { transform: rotate(4deg); } 62% { transform: rotate(-32deg); } 80% { transform: rotate(3deg); } 100% { transform: rotate(0); } }

/* Tail-light streaks on the shop floor */
.streaks { position: absolute; inset: auto 0 0 0; height: 46%; pointer-events: none; overflow: hidden; -webkit-mask-image: linear-gradient(to top, #000, transparent); mask-image: linear-gradient(to top, #000, transparent); }
.streaks i { position: absolute; left: 0; width: 38%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(227, 18, 27, .0) 10%, rgba(227, 18, 27, .75) 70%, rgba(255, 120, 110, .9)); filter: blur(.4px); transform: translateX(-110%); animation: streak 7s linear infinite; opacity: .55; }
.streaks i:nth-child(1) { bottom: 18%; animation-delay: 2.2s; }
.streaks i:nth-child(2) { bottom: 9%; width: 52%; animation-duration: 9.5s; animation-delay: 4.6s; opacity: .35; }
.streaks i:nth-child(3) { bottom: 30%; width: 26%; height: 1px; animation-duration: 6s; animation-delay: 7.5s; opacity: .4; }
@keyframes streak { 0% { transform: translateX(-110%); } 30%, 100% { transform: translateX(290%); } }

/* Header tightens on scroll; a red line tracks how far down the page you are */
.bar .wrap, .brand img { transition: padding .3s, width .3s, height .3s, transform 1.2s cubic-bezier(.2, .7, .2, 1); }
body.scrolled .bar .wrap { padding-block: 6px; }
body.scrolled .brand img { width: 36px; height: 36px; }
.bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); }
@supports (animation-timeline: scroll()) {
  .bar::after { animation: progress linear both; animation-timeline: scroll(root); }
  @keyframes progress { to { transform: scaleX(1); } }
}

/* Page changes: old page settles back, new one rises in */
::view-transition-old(root) { animation: .28s ease-in both vt-out; }
::view-transition-new(root) { animation: .42s cubic-bezier(.2, .7, .2, 1) both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: scale(.985); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* Contact bubble flickers like a message being typed when it changes */
.bubble { transition: transform .2s; }
.bubble.typing { transform: scale(.985); }

/* Phones: a contact bar that stays in reach, with the rev gauge tucked at its left */
.dock { display: none; }
@media (max-width: 760px) {
  .dock {
    display: flex; gap: 10px; position: fixed; z-index: 6; left: 0; right: 0; bottom: 0;
    padding: 10px max(14px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) calc(max(14px, env(safe-area-inset-left, 0px)) + 62px);
    background: rgba(11, 11, 12, .94); border-top: 1px solid var(--rule); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    transform: translateY(110%); transition: transform .35s cubic-bezier(.2, .7, .2, 1);
  }
  body.scrolled .dock { transform: none; }
  .dock .btn { flex: 1; padding: 12px 10px; font-size: 15px; }
  .gauge { bottom: calc(9px + env(safe-area-inset-bottom, 0px)); padding: 3px; border-radius: 50%; }
  .gauge svg { width: 44px; height: 44px; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
  .nav .btn.sm { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .hero-car { transform: none; }
  .streaks { display: none; }
}

/* Social links */
.ticket dd.social { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 19px; }
.ticket dd a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--red); }
.ticket dd a:hover { color: var(--red); }

/* Google review card + footer social */
.reviews { padding-block: 0 96px; }
@media (max-width: 600px) { .reviews { padding-block: 0 64px; } }
.review-card {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px 32px;
  padding: 36px 40px; background: var(--steel); border: 1px solid var(--rule); border-left: 3px solid var(--red);
  background-image: linear-gradient(90deg, rgba(227,18,27,.10), transparent 55%);
}
.review-mark { width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid var(--rule); border-radius: 50%; background: var(--ink); color: var(--chrome); }
.review-mark .ico { width: 30px; height: 30px; }
.stars { display: flex; gap: 4px; margin-bottom: 10px; }
.stars svg { width: 20px; height: 20px; fill: #f5b82e; }
.review-copy h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; font-style: italic; text-transform: uppercase; line-height: 1; }
.review-copy p { margin: 12px 0 0; max-width: 52ch; color: var(--dim); }
.review-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.review-link { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--body); letter-spacing: .04em; color: var(--dim); text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 4px; }
.review-link:hover { color: var(--chrome); border-bottom-color: var(--red); }
@media (max-width: 900px) {
  .review-card { grid-template-columns: 1fr; padding: 28px 24px; }
  .review-mark { width: 52px; height: 52px; }
}
@media (max-width: 520px) { .review-actions, .review-actions .btn { width: 100%; } }

footer .social { display: inline-flex; align-items: center; gap: 10px; }
footer .soc { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; min-width: 38px; padding: 0 10px; border: 1px solid var(--rule); border-radius: 19px; color: var(--chrome); transition: border-color .2s, background .2s; }
footer .soc:hover { border-color: var(--red); background: rgba(227,18,27,.12); }
footer .soc.g { padding: 0 16px 0 12px; font: 600 13px/1 var(--body); letter-spacing: .04em; border-color: var(--red); }
footer .soc .ico { width: 17px; height: 17px; }

/* Polish: reveals, step line, stars, dash-light hovers, toast */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }

.steps { position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--red); transform-origin: left; transition: transform 1.3s cubic-bezier(.3, .6, .2, 1); }
.steps.pre::before { transform: scaleX(0); }
.steps.pre.go::before { transform: scaleX(1); }
.steps.pre .step b { opacity: .25; transition: opacity .5s ease; }
.steps.pre.go .step b { opacity: 1; }
.steps.pre.go .step:nth-child(1) b { transition-delay: .1s; }
.steps.pre.go .step:nth-child(2) b { transition-delay: .6s; }
.steps.pre.go .step:nth-child(3) b { transition-delay: 1.1s; }

.stars.pre svg { opacity: .15; transform: scale(.55) rotate(-18deg); transition: opacity .35s ease, transform .5s cubic-bezier(.3, 1.5, .5, 1); }
.stars.pre.go svg { opacity: 1; transform: none; }
.stars.pre.go svg:nth-child(2) { transition-delay: .12s; }
.stars.pre.go svg:nth-child(3) { transition-delay: .24s; }
.stars.pre.go svg:nth-child(4) { transition-delay: .36s; }
.stars.pre.go svg:nth-child(5) { transition-delay: .48s; }

/* Dash-light hover: the service icon lights up like a warning lamp */
.svc > svg, .chip svg { transition: filter .25s ease, transform .25s ease; }
.svc:hover > svg, .chip:hover svg { filter: drop-shadow(0 0 7px rgba(227, 18, 27, .85)); transform: scale(1.07); }

.btn:active { transform: scale(.97); }
.dock .btn.icon { flex: none; padding: 12px 16px; }
.dock .btn.icon .ico { width: 20px; height: 20px; }
@media (min-width: 761px) { .dock .btn.icon { display: none; } }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 20; transform: translate(-50%, 24px); opacity: 0; pointer-events: none; max-width: calc(100vw - 40px); padding: 14px 20px; background: var(--steel); color: var(--chrome); border: 1px solid var(--rule); border-left: 3px solid var(--red); font: 500 15px/1.4 var(--body); transition: opacity .25s ease, transform .3s cubic-bezier(.2, .7, .2, 1); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .rv, .steps::before, .stars svg, .toast { transition: none !important; } }
