/* Tayar Laju 24 · loud black and hazard yellow. Phone first. */

:root {
  --k: #0a0a0a;
  --k2: #151515;
  --asph: #1c1c1c;
  --y: #ffd200;
  --y2: #f2c200;
  --w: #ffffff;
  --concrete: #ecebe6;
  --r: #e3261c;
  --mute: #b9b9b9;      /* on black: 10:1 */
  --mute-y: #2e2a14;    /* on yellow: 12:1 */
  --mute-w: #44443f;    /* on concrete: 8.5:1 */
  --display: 'Saira Extra Condensed', 'Arial Narrow', Impact, sans-serif;
  --cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --text: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --gut: 18px;
  --bar-h: 56px;
  --callbar-h: 64px;
  --hazard: repeating-linear-gradient(-45deg, var(--y) 0 18px, var(--k) 18px 36px);
  --skew: skewX(-8deg);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 8px); }
body {
  margin: 0;
  background: var(--k);
  color: var(--w);
  font: 400 17px/1.5 var(--text);
  overflow-x: clip;
  padding-bottom: calc(var(--callbar-h) + 46px + env(safe-area-inset-bottom));
}
img { display: block; max-width: 100%; height: auto; }
main > section, .foot { overflow-x: clip; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
mark { background: none; color: var(--y); }
.hero__title mark { display: block; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gut); }
.ico { width: 22px; height: 22px; fill: currentColor; flex: none; }

#stage { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 30; pointer-events: none; }

/* ------------------------------------------------------------ sample strip + bar */
.sample {
  display: block;
  padding: 7px var(--gut);
  background: #000;
  color: #d6d6d6;
  font: 500 13px/1.35 var(--text);
  text-align: center;
  text-decoration: none;
  border-bottom: 1px solid #262626;
}
.sample:hover { color: var(--y); }

.bar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 14px;
  height: var(--bar-h);
  padding: 0 var(--gut);
  background: rgba(10, 10, 10, 0.94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--y);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand__chip {
  width: 30px; height: 30px; border-radius: 50%;
  background:
    radial-gradient(circle, var(--y) 0 22%, #2a2a2a 23% 26%, #cfd3d6 27% 52%, var(--k) 53% 62%, transparent 63%),
    repeating-conic-gradient(#000 0 10deg, #333 10deg 20deg);
  box-shadow: 0 0 0 2px var(--y);
}
.brand__name {
  white-space: nowrap;
  font: 900 25px/1 var(--display); text-transform: uppercase; letter-spacing: 0.01em;
  transform: var(--skew); display: inline-block;
}
.brand__name b { color: var(--k); background: var(--y); padding: 0 5px; margin-left: 2px; }
.bar__nav { display: none; }
.live {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 7px;
  font: 700 14px/1 var(--cond); text-transform: uppercase; letter-spacing: 0.06em; color: var(--w);
}
@media (max-width: 760px) { .live { font-size: 13px; } .live__now { display: none; } }
.live i { width: 9px; height: 9px; border-radius: 50%; background: var(--r); box-shadow: 0 0 0 0 rgba(227, 38, 28, 0.7); animation: beacon 1.6s infinite; }
@keyframes beacon { 0% { box-shadow: 0 0 0 0 rgba(227, 38, 28, 0.75); } 80%, 100% { box-shadow: 0 0 0 9px rgba(227, 38, 28, 0); } }
.bar .bar__call { display: none; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px;
  font: 700 18px/1.1 var(--cond); text-transform: uppercase; letter-spacing: 0.04em;
  text-decoration: none; border: 0; border-radius: 4px; cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(2px); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--y); outline-offset: 3px; }
.btn--y { background: var(--y); color: var(--k); box-shadow: 0 4px 0 #b38f00; }
.btn--y:hover { background: #ffe04d; }
.btn--dark { background: var(--k); color: var(--y); box-shadow: 0 4px 0 #000; }
.btn--dark:hover { background: #222; }
.btn--ghost { background: transparent; color: var(--w); box-shadow: inset 0 0 0 2px var(--w); }
.btn--ghost:hover { background: var(--w); color: var(--k); }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: 16px; }
.btn--call {
  position: relative;
  background: var(--y); color: var(--k);
  min-height: 68px; padding: 12px 26px 12px 20px; justify-content: flex-start;
  box-shadow: 0 5px 0 #b38f00, 0 0 0 0 rgba(255, 210, 0, 0.5);
  animation: callPulse 2.2s infinite;
}
.btn--call .ico { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--k); fill: var(--y); box-sizing: content-box; }
.btn--call span { display: flex; flex-direction: column; text-align: left; }
.btn--call b { font: 900 28px/0.95 var(--display); letter-spacing: 0.02em; }
.btn--call small { font: 700 14px/1.2 var(--cond); letter-spacing: 0.08em; }
.btn--call:hover { background: #ffe04d; }
@keyframes callPulse { 0% { box-shadow: 0 5px 0 #b38f00, 0 0 0 0 rgba(255, 210, 0, 0.55); } 70%, 100% { box-shadow: 0 5px 0 #b38f00, 0 0 0 16px rgba(255, 210, 0, 0); } }

/* ------------------------------------------------------------ hazard bands */
.hazard { height: 14px; background: var(--hazard); background-size: 51px 51px; }

/* ------------------------------------------------------------ hero */
.hero { position: relative; background: var(--k); overflow: hidden; }
.hero__photo { position: relative; height: 31vh; min-height: 210px; max-height: 300px; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 34% 55%; }
.hero__shade {
  position: absolute; left: 0; right: 0; top: 0; height: max(31vh, 210px);
  max-height: 300px;
  background: linear-gradient(180deg, rgba(10,10,10,0) 45%, rgba(10,10,10,0.75) 80%, var(--k) 100%);
  pointer-events: none;
}
.hero__body { position: relative; margin-top: -58px; padding-bottom: 28px; }
.kicker {
  position: absolute; top: -128px; left: var(--gut);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px; background: rgba(10,10,10,0.82);
  font: 700 13px/1 var(--cond); letter-spacing: 0.08em; text-transform: uppercase; color: var(--w);
}
.kicker__dot { width: 8px; height: 8px; background: var(--y); transform: rotate(45deg); }
.wordmark {
  font: 900 clamp(76px, 23vw, 120px)/0.8 var(--display);
  text-transform: uppercase; color: var(--y);
  transform: var(--skew); transform-origin: left bottom;
  display: flex; flex-direction: column;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
  margin-left: 4px;
}
.wordmark em {
  font-style: normal; color: var(--k); background: var(--y);
  padding: 0 0.08em; margin-left: 0.06em; display: inline-block; line-height: 0.86;
}
.hero__title {
  margin-top: 14px;
  font: 800 clamp(28px, 8vw, 40px)/1.02 var(--display);
  text-transform: uppercase; letter-spacing: 0.01em;
}
.hero__row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.hero__copy { flex: 1 1 auto; min-width: 0; }
.hero__lede { color: #e8e8e8; font-size: 16px; line-height: 1.42; max-width: 34ch; }
.dock { position: relative; pointer-events: none; flex: none; }
.dock--hero { width: 118px; height: 118px; margin-bottom: 2px; }
.hero__cta { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px; margin-top: 16px; }
.hero__cta .btn { width: 100%; min-width: 0; }
.hero__cta .btn--call { min-height: 62px; padding: 8px 10px; gap: 8px; }
.hero__cta .btn--call b { font-size: 25px; }
.hero__cta .btn--call small { font-size: 12px; }
.hero__cta .btn--call .ico { width: 22px; height: 22px; padding: 6px; }
.hero__cta .btn--ghost { min-height: 62px; padding: 8px 10px; font-size: 15px; line-height: 1.1; text-align: left; gap: 8px; }
.hero__row { flex-wrap: wrap; }
.hero__row .hero__copy { flex-basis: calc(100% - 128px); }
.hero__cta { width: 100%; }
.hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 22px; }
.hero__facts li { border-top: 3px solid var(--y); padding-top: 8px; }
.hero__facts b { display: block; font: 800 21px/1 var(--display); text-transform: uppercase; color: var(--y); }
.hero__facts span { display: block; margin-top: 4px; font: 500 13px/1.25 var(--text); color: var(--mute); }

/* ------------------------------------------------------------ section heads */
.sec-head { padding-top: 64px; padding-bottom: 28px; }
.tag {
  display: inline-block; margin-bottom: 14px; padding: 6px 10px 5px;
  font: 700 14px/1 var(--cond); text-transform: uppercase; letter-spacing: 0.1em;
  background: var(--y); color: var(--k);
}
.tag--k { background: var(--k); color: var(--y); }
.h2 {
  font: 900 clamp(44px, 12.5vw, 64px)/0.9 var(--display); text-transform: uppercase;
  transform: var(--skew); transform-origin: left bottom;
}
.h3 { font: 800 clamp(34px, 9.5vw, 46px)/0.95 var(--display); text-transform: uppercase; }
.sec-head--dock { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.sec-head--dock > div:first-child { min-width: 0; }

/* ------------------------------------------------------------ services */
.services { background: var(--k); }
.svc { position: relative; padding: 18px 0 44px; }
.svc::before { content: ''; display: block; height: 12px; margin-bottom: 18px; background: var(--hazard); opacity: 0.9; }
.svc--y { background: var(--y); color: var(--k); }
.svc--y::before, .svc--w::before { background: repeating-linear-gradient(-45deg, var(--k) 0 18px, transparent 18px 36px); }
.svc--k { background: var(--k2); }
.svc--w { background: var(--concrete); color: var(--k); }
.svc--r { background: var(--k); }
.svc--r::before { background: repeating-linear-gradient(-45deg, var(--r) 0 18px, var(--k) 18px 36px); }
.svc__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.svc__num {
  font: 900 118px/0.78 var(--display);
  color: transparent; -webkit-text-stroke: 2.5px currentColor;
  transform: var(--skew); display: inline-block;
}
.svc--y .svc__num, .svc--w .svc__num { -webkit-text-stroke-color: var(--k); }
.svc--k .svc__num { -webkit-text-stroke-color: var(--y); }
.svc--r .svc__num { -webkit-text-stroke-color: var(--r); }
.svc__dockwrap { position: relative; display: flex; flex-direction: column; align-items: center; }
/* each service has its own small drawing (replaces the wheel) */
.art { display: block; width: 168px; height: 112px; overflow: visible; }
.gauge {
  margin-top: 6px; display: inline-flex; align-items: baseline; gap: 5px;
  padding: 4px 10px; background: var(--k); color: var(--y);
  font: 800 22px/1 var(--display); letter-spacing: 0.04em;
  border-radius: 3px; min-width: 86px; justify-content: center;
  transition: color 0.2s;
}
.gauge.is-low { color: var(--r); }
.gauge__unit { font: 700 13px/1 var(--cond); letter-spacing: 0.1em; color: var(--w); }
.svc__body { margin-top: 18px; }
.svc__body p:not(.price) { margin-top: 12px; max-width: 46ch; font-size: 17px; }
.svc--y .svc__body p:not(.price), .svc--w .svc__body p:not(.price) { color: var(--mute-y); }
.svc--k .svc__body p:not(.price), .svc--r .svc__body p:not(.price) { color: #dcdcdc; }
.price {
  margin-top: 18px;
  font: 900 52px/0.9 var(--display); text-transform: uppercase;
  transform: var(--skew); transform-origin: left bottom;
}
.price small { display: block; font: 700 15px/1.2 var(--cond); letter-spacing: 0.1em; margin-bottom: 4px; }
.price .price__and { display: block; margin: 8px 0 0; font: 700 16px/1.2 var(--cond); letter-spacing: 0.06em; }
.svc--k .price, .svc--r .price { color: var(--y); }
.svc--k .price small, .svc--r .price small { color: var(--w); }
.svc .btn { margin-top: 22px; width: 100%; }

/* ------------------------------------------------------------ how fast */
.fast {
  position: relative;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,0.035), transparent 40%),
    repeating-radial-gradient(circle at 30% 40%, rgba(255,255,255,0.025) 0 1px, transparent 1px 3px),
    var(--asph);
  padding-bottom: 56px;
}
.steps { position: relative; display: grid; gap: 0; margin-top: 8px; }
.steps::before {
  content: ''; position: absolute; left: 31px; top: 30px; bottom: 30px; width: 4px;
  background: repeating-linear-gradient(180deg, var(--y) 0 18px, transparent 18px 32px);
}
.steps li { position: relative; display: grid; grid-template-columns: 66px 1fr; gap: 14px; padding: 14px 0; align-items: start; }
.steps__n {
  width: 66px; height: 66px; display: grid; place-items: center;
  background: var(--y); color: var(--k);
  font: 900 46px/1 var(--display);
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
}
.steps h3 { font: 800 28px/1 var(--display); text-transform: uppercase; color: var(--y); margin-top: 4px; }
.steps p { margin-top: 6px; color: #dedede; font-size: 16.5px; }
.cover { margin-top: 36px; }
.cover__title { font: 800 30px/1 var(--display); text-transform: uppercase; }
.cover__list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cover__list li {
  padding: 9px 14px 8px; background: var(--y); color: var(--k);
  font: 700 18px/1 var(--cond); text-transform: uppercase; letter-spacing: 0.03em;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.cover__list li::before { content: '› '; font-weight: 700; }
.cover__list .cover__hw { flex-basis: 100%; background: var(--w); clip-path: none; border-radius: 2px; line-height: 1.25; }
.cover__note { margin-top: 14px; color: var(--mute); font-size: 15.5px; }

/* ------------------------------------------------------------ workshop */
.shop { background: var(--concrete); color: var(--k); padding-bottom: 56px; }
.shop__grid { display: grid; gap: 22px; }
.shop__photo { position: relative; padding: 10px; background: var(--hazard); }
.shop__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hours { background: var(--k); color: var(--w); padding: 20px; border-radius: 4px; }
.hours h3, .brands h3 { font: 800 26px/1 var(--display); text-transform: uppercase; }
.hours h3 { color: var(--y); }
.hours dl { margin-top: 12px; }
.hours dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #444; }
.hours dt { color: var(--mute); }
.hours dd { font-weight: 700; text-align: right; }
.hours__van dd { color: var(--y); }
.hours__addr { margin-top: 12px; font-size: 15px; color: var(--mute); }
.brands { margin-top: 18px; }
.brands h3 { font-size: 22px; margin-top: 16px; }
.brands p { margin-top: 6px; color: var(--mute-w); font-weight: 500; }

/* ------------------------------------------------------------ reviews */
.reviews { background: var(--y); color: var(--k); padding-bottom: 60px; }
.rating { display: flex; flex-direction: column; align-items: flex-end; flex: none; }
.rating__n { font: 900 96px/0.8 var(--display); transform: var(--skew); }
.rating__stars { font-size: 20px; letter-spacing: 2px; margin-top: 6px; }
.rating__src { font: 700 13px/1.2 var(--cond); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }
.quotes { display: grid; gap: 14px; }
.quote { background: var(--k); color: var(--w); padding: 22px 20px 18px; border-radius: 4px; position: relative; }
.quote::before { content: '“'; position: absolute; top: -6px; right: 14px; font: 900 90px/1 var(--display); color: var(--y); }
.quote blockquote { font: 500 17.5px/1.45 var(--text); padding-right: 26px; }
.quote figcaption { margin-top: 12px; font: 700 15px/1 var(--cond); text-transform: uppercase; letter-spacing: 0.08em; color: var(--y); }

/* ------------------------------------------------------------ close */
.close { position: relative; background: var(--k); padding-bottom: 64px; }
.close__in { display: flex; flex-direction: column; padding-top: 28px; }
.dock--close { order: -1; align-self: flex-end; width: 150px; height: 150px; margin-bottom: 6px; }
.close__title {
  font: 900 clamp(52px, 14vw, 84px)/0.86 var(--display); padding-right: 12px; text-transform: uppercase;
  transform: var(--skew); transform-origin: left bottom;
}
.plate {
  margin-top: 26px; display: inline-flex; flex-direction: column; align-items: center;
  padding: 10px 22px 12px; background: #000; border: 3px solid var(--w); border-radius: 6px;
}
.plate__lbl { font: 700 12px/1 var(--cond); letter-spacing: 0.2em; text-transform: uppercase; color: var(--y); }
.plate__num { margin-top: 6px; font: 800 clamp(40px, 12vw, 64px)/1 var(--display); letter-spacing: 0.06em; color: var(--w); }
.close__cta { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }

/* ------------------------------------------------------------ footer */
.foot { background: var(--k); padding-bottom: 30px; }
.road {
  height: 56px; background: var(--asph);
  background-image: repeating-linear-gradient(90deg, var(--y) 0 40px, transparent 40px 72px);
  background-size: 100% 5px; background-repeat: no-repeat; background-position: 0 50%;
  border-top: 4px solid var(--w); border-bottom: 4px solid var(--w);
}
.foot__mark {
  margin-top: 26px;
  font: 900 clamp(62px, 19vw, 280px)/0.8 var(--display); text-transform: uppercase; color: var(--y);
  transform: var(--skew); transform-origin: left bottom; white-space: nowrap;
}
.foot__mark em { font-style: normal; color: var(--k); background: var(--y); padding: 0 0.06em; display: inline-block; line-height: 0.86; }
.foot__row { display: grid; gap: 12px; margin-top: 22px; color: var(--mute); font-size: 15px; }
.foot__row a { color: var(--y); }

/* ------------------------------------------------------------ the call bar (part of the design) */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; gap: 0;
  height: calc(var(--callbar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--k);
  border-top: 6px solid transparent;
  border-image: repeating-linear-gradient(-45deg, var(--y) 0 10px, var(--k) 10px 20px) 6;
}
.callbar a { text-decoration: none; display: flex; align-items: center; }
.callbar__call {
  flex: 1; gap: 12px; padding: 0 16px;
  background: var(--y); color: var(--k);
}
.callbar__call .ico { width: 26px; height: 26px; padding: 7px; background: var(--k); fill: var(--y); border-radius: 50%; box-sizing: content-box; animation: ring 2.4s infinite; }
@keyframes ring { 0%, 70%, 100% { transform: rotate(0); } 74% { transform: rotate(-14deg); } 78% { transform: rotate(12deg); } 82% { transform: rotate(-10deg); } 86% { transform: rotate(6deg); } }
.callbar__call span { display: flex; flex-direction: column; }
.callbar__call b { font: 900 30px/0.9 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.callbar__call small { font: 700 13px/1.1 var(--cond); text-transform: uppercase; letter-spacing: 0.1em; }
.callbar__wa {
  flex: none; width: 92px; flex-direction: column; justify-content: center; gap: 2px;
  color: var(--y); font: 700 12px/1 var(--cond); text-transform: uppercase; letter-spacing: 0.08em;
}
.callbar__wa .ico { width: 26px; height: 26px; }

.pill {
  position: fixed; z-index: 50; left: 50%; transform: translateX(-50%);
  bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom) + 8px);
  display: inline-flex; align-items: center; white-space: nowrap;
  min-height: 34px; padding: 0 14px;
  background: var(--w); color: var(--k); border-radius: 999px;
  font: 600 13.5px/1 var(--text); text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
}
.pill::before { content: ''; position: absolute; inset: -5px -2px; } /* 44px tap area */
.pill::after { content: '→'; margin-left: 6px; font-weight: 700; }

/* ------------------------------------------------------------ reveals */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .sec-head[data-reveal] .h2 { transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }


/* ------------------------------------------------------------ the small drawings: once, on entering view */
/* Base styles are the FINAL state, so scripts off and reduced motion show the
   finished drawing. The start state only applies while .js and not yet .play. */

/* 02 battery: bars fill from empty to full, one spark at the terminal */
.bt-bar { transform-box: fill-box; transform-origin: 50% 100%; }
.bt-spark { opacity: 0; transform-box: fill-box; transform-origin: 50% 50%; }
.js .art--battery:not(.play) .bt-bar { transform: scaleY(0); }
.art--battery.play .bt-bar { animation: barUp 0.16s ease-out both; }
.art--battery.play .bt-bar:nth-child(1) { animation-delay: 0.05s; }
.art--battery.play .bt-bar:nth-child(2) { animation-delay: 0.21s; }
.art--battery.play .bt-bar:nth-child(3) { animation-delay: 0.37s; }
.art--battery.play .bt-bar:nth-child(4) { animation-delay: 0.53s; }
.art--battery.play .bt-spark { animation: spark 0.34s ease-out 0.72s both; }
@keyframes barUp { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes spark { 0% { opacity: 0; transform: scale(0.3); } 40% { opacity: 1; transform: scale(1.1); } 100% { opacity: 0; transform: scale(1); } }

/* 03 tyre change: the jack lifts the car a little, the old wheel comes off, the new one goes on */
.tc-post { transform-box: fill-box; transform-origin: 50% 100%; }
.tc-old { opacity: 0; }
.tc-new { transform-box: fill-box; transform-origin: 50% 50%; }
.js .art--jack:not(.play) .tc-old { opacity: 1; }
.js .art--jack:not(.play) .tc-new { opacity: 0; }
.art--jack.play .tc-car { animation: carLift 1.1s ease-in-out both; }
.art--jack.play .tc-post { animation: postUp 1.1s ease-in-out both; }
.art--jack.play .tc-old { animation: oldOff 1.1s ease-in-out both; }
.art--jack.play .tc-new { animation: newOn 1.1s ease-in-out both; }
@keyframes carLift { 0% { transform: translateY(0); } 25%, 75% { transform: translateY(-8px); } 100% { transform: translateY(0); } }
@keyframes postUp { 0% { transform: scaleY(1); } 25%, 75% { transform: scaleY(1.3); } 100% { transform: scaleY(1); } }
@keyframes oldOff { 0% { opacity: 1; transform: translate(0, 0); } 25% { opacity: 1; transform: translate(0, -8px); } 50%, 100% { opacity: 0; transform: translate(46px, -8px); } }
@keyframes newOn { 0%, 50% { opacity: 0; transform: translate(60px, -8px) rotate(200deg); } 54% { opacity: 1; } 75% { opacity: 1; transform: translate(0, -8px) rotate(0); } 100% { opacity: 1; transform: translate(0, 0) rotate(0); } }

/* 04 towing: the truck drives in along the dashed line and stops */
.tw-wheel { transform-box: fill-box; transform-origin: 50% 50%; }
.js .art--tow:not(.play) .tw-truck { transform: translateX(-280px); }
.art--tow.play .tw-truck { animation: driveIn 0.9s cubic-bezier(0.15, 0.7, 0.25, 1) both; }
.art--tow.play .tw-wheel { animation: wheelTurn 0.9s cubic-bezier(0.15, 0.7, 0.25, 1) both; }
@keyframes driveIn { from { transform: translateX(-280px); } to { transform: translateX(0); } }
@keyframes wheelTurn { from { transform: rotate(-900deg); } to { transform: rotate(0); } }

/* how fast: the three steps light up in turn (phone rings, pin drops, van leaves) */
.steps__ico { display: inline-block; width: 26px; height: 26px; margin-right: 8px; vertical-align: -3px; fill: var(--y); }
.js .steps.anim:not(.play) li { opacity: 0.28; }
.steps.play li { animation: lightUp 0.4s ease-out both; }
.steps.play li:nth-child(2), .steps.play li:nth-child(2) .steps__ico { animation-delay: 0.45s; }
.steps.play li:nth-child(3), .steps.play li:nth-child(3) .steps__ico { animation-delay: 0.9s; }
.steps.play .steps__ico--phone { animation: ringOnce 0.45s ease-in-out both; transform-origin: 50% 50%; }
.steps.play .steps__ico--pin { animation: pinDrop 0.4s cubic-bezier(0.3, 0.7, 0.3, 1) both; }
.steps.play .steps__ico--van { animation: vanGo 0.45s ease-out both; }
@keyframes lightUp { from { opacity: 0.28; } to { opacity: 1; } }
@keyframes ringOnce { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-16deg); } 45% { transform: rotate(14deg); } 70% { transform: rotate(-8deg); } }
@keyframes pinDrop { from { transform: translateY(-14px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes vanGo { from { transform: translateX(-12px); } to { transform: none; } }

/* ------------------------------------------------------------ no 3D: draw a flat wheel in each dock */
html:not(.js) .dock, .no-stage .dock {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='48' fill='%23111'/%3E%3Ccircle cx='50' cy='50' r='46' fill='none' stroke='%23333' stroke-width='4' stroke-dasharray='3 3'/%3E%3Ccircle cx='50' cy='50' r='31' fill='%23c9ced2'/%3E%3Ccircle cx='50' cy='50' r='27' fill='%23222'/%3E%3Cg fill='%23c9ced2'%3E%3Cpath d='M47 50 L45 24 L55 24 L53 50Z'/%3E%3Cpath d='M47 50 L45 24 L55 24 L53 50Z' transform='rotate(72 50 50)'/%3E%3Cpath d='M47 50 L45 24 L55 24 L53 50Z' transform='rotate(144 50 50)'/%3E%3Cpath d='M47 50 L45 24 L55 24 L53 50Z' transform='rotate(216 50 50)'/%3E%3Cpath d='M47 50 L45 24 L55 24 L53 50Z' transform='rotate(288 50 50)'/%3E%3C/g%3E%3Ccircle cx='50' cy='50' r='7' fill='%23ffd200'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ------------------------------------------------------------ small phones */
@media (max-width: 370px) {
  :root { --gut: 14px; }
  .dock--hero { width: 104px; height: 104px; }
  .hero__row .hero__copy { flex-basis: calc(100% - 114px); }
  .hero__lede { font-size: 15.5px; }
  .hero__facts b { font-size: 18px; }
  .art { width: 150px; height: 100px; }
  .svc__num { font-size: 104px; }
  .callbar__call b { font-size: 26px; }
  .callbar__wa { width: 80px; }
  .pill { font-size: 12.5px; padding: 0 12px; }
}
@media (max-height: 700px) and (max-width: 760px) {
  .hero__photo { height: 28vh; min-height: 180px; }
  .hero__shade { height: max(28vh, 180px); }
  .kicker { top: -120px; }
}

/* ------------------------------------------------------------ tablet and up */
@media (min-width: 761px) {
  :root { --gut: 40px; --bar-h: 68px; }
  body { padding-bottom: 0; font-size: 18px; }
  .bar { gap: 28px; }
  .brand__name { font-size: 30px; }
  .bar__nav { display: flex; gap: 4px; margin-left: 18px; }
  .bar__nav a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
    font: 700 17px/1 var(--cond); text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; color: #e6e6e6;
  }
  .bar__nav a:hover { color: var(--y); }
  .bar .bar__call { display: inline-flex; }

  .hero { min-height: calc(100vh - var(--bar-h) - 32px); display: flex; flex-direction: column; }
  .hero__photo { position: absolute; inset: 0; height: auto; max-height: none; }
  .hero__photo img { object-position: 60% 50%; }
  .hero__shade {
    height: auto; inset: 0; max-height: none;
    background:
      linear-gradient(90deg, rgba(10,10,10,0.97) 0%, rgba(10,10,10,0.9) 30%, rgba(10,10,10,0.35) 58%, rgba(10,10,10,0) 75%),
      linear-gradient(0deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0) 30%);
  }
  .hero__body { margin-top: 0; flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 48px; padding-bottom: 40px; }
  .kicker { position: static; align-self: flex-start; margin-bottom: 20px; font-size: 15px; background: none; padding: 0; }
  .wordmark { font-size: clamp(110px, 13.5vw, 196px); flex-direction: row; gap: 0.12em; flex-wrap: wrap; }
  .hero__title { font-size: clamp(40px, 4.2vw, 60px); margin-top: 22px; }
  .hero__row { flex-wrap: nowrap; align-items: flex-end; }
  .hero__row .hero__copy { flex: 0 1 560px; }
  .hero__cta { display: flex; width: auto; flex-direction: row; gap: 12px; margin-top: 22px; }
  .hero__cta .btn { width: auto; }
  .hero__cta .btn--call { min-height: 68px; padding: 12px 26px 12px 20px; gap: 10px; }
  .hero__cta .btn--call b { font-size: 28px; }
  .hero__cta .btn--call small { font-size: 14px; }
  .hero__cta .btn--call .ico { width: 30px; height: 30px; }
  .hero__cta .btn--ghost { min-height: 68px; padding: 12px 22px; font-size: 18px; }
  .hero__lede { font-size: 19px; }
  .dock--hero { position: absolute; right: 6vw; bottom: 15vh; width: min(40vh, 380px); height: min(40vh, 380px); margin: 0; }
  .hero__facts { max-width: 620px; gap: 22px; margin-top: 34px; }
  .hero__facts b { font-size: 30px; }
  .hero__facts span { font-size: 14.5px; }

  .sec-head { padding-top: 110px; padding-bottom: 44px; }
  .h2 { font-size: clamp(64px, 7vw, 110px); }
  .h3 { font-size: clamp(46px, 4.4vw, 66px); }

  .svc { padding: 0 0 80px; }
  .svc::before { height: 16px; margin-bottom: 70px; }
  .svc__in { display: grid; grid-template-columns: 0.75fr 1.35fr 1fr; grid-template-areas: 'num body dock'; align-items: center; gap: 40px; }
  .svc__in--flip { grid-template-areas: 'dock body num'; grid-template-columns: 1fr 1.35fr 0.75fr; }
  .svc__top { display: contents; }
  .svc__num { grid-area: num; font-size: clamp(150px, 15vw, 240px); justify-self: center; }
  .svc__dockwrap { grid-area: dock; }
  .svc__body { grid-area: body; margin-top: 0; }
  .art { width: min(27vw, 360px); height: min(18vw, 240px); }
  .gauge { font-size: 30px; padding: 6px 14px; margin-top: 12px; }
  .price { font-size: 72px; }
  .svc .btn { width: auto; }

  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 10px; }
  .steps::before { left: 0; right: 0; top: 44px; bottom: auto; width: auto; height: 5px; background: repeating-linear-gradient(90deg, var(--y) 0 36px, transparent 36px 60px); }
  .steps li { grid-template-columns: 1fr; padding: 0; }
  .steps__n { width: 92px; height: 92px; font-size: 64px; }
  .steps h3 { font-size: 36px; margin-top: 12px; }
  .cover { display: grid; grid-template-columns: 300px 1fr; gap: 10px 40px; margin-top: 70px; }
  .cover__title { font-size: 40px; }
  .cover__list { margin-top: 0; grid-row: span 2; }
  .cover__list li { font-size: 21px; padding: 12px 18px 11px; }

  .shop__grid { grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: start; }
  .hours { padding: 28px; }

  .rating__n { font-size: 170px; }
  .quotes { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .quote { padding: 30px 28px 24px; }
  .quote blockquote { font-size: 19px; }

  .close__in { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; padding-top: 80px; }
  .dock--close { order: 0; align-self: end; justify-self: center; width: min(46vh, 420px); height: min(46vh, 420px); margin-bottom: 30px; }
  .close__title { font-size: clamp(80px, 8.4vw, 136px); }
  .close__cta { flex-direction: row; flex-wrap: wrap; }

  .foot { padding-bottom: 140px; }
  .foot__row { grid-template-columns: 1fr 1fr; gap: 40px; max-width: 900px; }
  .svc__num { -webkit-text-stroke-width: 4px; }

  /* the call button never leaves the screen: a big floating sign on desktop */
  .callbar {
    left: auto; right: 28px; bottom: 26px; height: auto; padding: 0;
    border: 0; border-radius: 6px; overflow: hidden;
    box-shadow: 0 0 0 4px var(--k), 0 0 0 10px var(--y), 0 18px 40px rgba(0,0,0,0.55);
  }
  .callbar__call { padding: 14px 22px 14px 16px; }
  .callbar__wa { width: 96px; }
  .pill { left: 28px; transform: none; bottom: 30px; min-height: 44px; padding: 0 20px; font-size: 15px; }
  .pill::before { display: none; }
}

@media (min-width: 1200px) {
  .hero__row .hero__copy { flex-basis: 600px; }
}

/* ------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* orchestrator: phone pill is smaller so it covers less of the page */
@media (max-width: 760px) { .pill { font-size: 12px !important; padding: 8px 12px !important; opacity: .94; } }
