/* Jev's Auto — layout measured from the reference design at a 1440px viewport.
   Odd decimals (e.g. 86.6px) are intentional: they reproduce the reference spacing. */

:root {
  --bg: #0d0d14;
  --mid: #19191e;
  --accent: #e3262b;
  --accent-hover: #c81e24;
  --accent-text: #ff5a5f;   /* red for text on dark surfaces: 6.3:1 on --bg */
  --muted-strong: #8a8a90;  /* quiet labels that still pass AA on --bg */
  --line: #292a32;
  --line-mid: #35353a;
  --text: #ceced1;
  --muted: #c0bfbf;
  --white: #ffffff;
  --head: "Chakra Petch", system-ui, sans-serif;
  --body: "Mulish", system-ui, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 13.7px/21px var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: var(--wrap); max-width: calc(100% - 40px); margin: 0 auto; position: relative; }

/* ---------- type ---------- */
.tag {
  position: relative;
  display: block;
  width: fit-content;
  padding-left: 10.5px;
  font: 600 11.7px/16px var(--head);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
}
.tag::before {
  content: "";
  position: absolute;
  left: 0; top: 1px; bottom: 1px;
  width: 2px;
  background: var(--accent);
}
.h1 {
  margin-top: 21.4px;
  font: 600 66.4px/67.4px var(--head);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
}
.h2 {
  margin-top: 19.7px;
  font: 600 48.5px/51px var(--head);
  text-transform: uppercase;
  color: var(--white);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 37px;
  padding: 0 26px;
  border: 0;
  background: var(--accent);
  color: var(--white);
  font: 600 10.7px/1 var(--head);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.btn:hover { background: var(--accent-hover); }
.btn--light { background: var(--white); color: var(--accent); }
.btn--light:hover { background: #fbe9ea; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- hero ---------- */
.hero { position: relative; height: 625px; background: var(--mid); overflow: hidden; }
.hero__photo {
  position: absolute;
  top: 0; bottom: 0; right: 0;
  left: calc(50% - var(--wrap) / 2 + 301.5px);
  background: url(assets/photos/hero.jpg) center 52% / cover no-repeat;
}
/* soft extension past the photo's right edge on very wide screens */
.hero__photo::before {
  content: "";
  position: absolute;
  inset: 0 0 0 977px;
  z-index: -1;
  background: none;
  filter: blur(24px);
}
.hero__photo { isolation: isolate; }

.nav { z-index: 3; display: flex; align-items: center; justify-content: space-between; height: 69.5px; }
.nav__logo { display: block; width: 136px; height: 66px; }
.nav__logo svg { width: 100%; height: 100%; display: block; }
.nav__menu { display: flex; align-items: center; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a {
  display: inline-flex;
  align-items: center;
  font: 600 10.7px/14px var(--head);
  text-transform: uppercase;
  text-decoration: none;
  color: #d8d8d6;
  transition: color .2s ease;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--white); }
.nav__chev { width: 8px; height: 5px; margin-left: 5px; color: var(--accent); }
.btn--nav { height: 35.5px; padding: 0 21.4px; margin-left: 22px; }
.nav__toggle { display: none; }

.hero__content { z-index: 1; padding-top: 108.8px; }
.hero__lead { margin-top: 19.6px; }
.hero .btn-row { margin-top: 21.5px; }

.hero__card-wrap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: 0; }
.hero__card {
  position: absolute;
  right: 2px; bottom: 0;
  display: flex;
  height: 115px;
  text-decoration: none;
}
.hero__card-text { width: 235.6px; padding: 34px 18px 0; background: #1a1b21; }
.hero__card-text strong {
  display: block;
  font: 600 16px/20px var(--head);
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--white);
}
.hero__card-text span { display: block; margin-top: 9.5px; }
.hero__thumb {
  position: relative;
  width: 144.4px;
  background: url(assets/photos/thumb-rsx.jpg) center / cover;
}
.play {
  position: absolute;
  left: 50%; top: 50%;
  width: 40px; height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 50%;
  background: var(--white);
  transition: transform .2s ease;
}
.play::after {
  content: "";
  position: absolute;
  left: 16px; top: 13px;
  width: 11px; height: 14px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.hero__card:hover .play { transform: scale(1.08); }

/* ---------- shared sections ---------- */
.sec { position: relative; }
.sec--dark { background: var(--bg); }
.sec--mid { background: var(--mid); }
.sec__head--center { text-align: center; }
.sec__head--center .tag { margin: 0 auto; }
.sec__head--row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17.2px 16px; }
.split { display: grid; grid-template-columns: 517px minmax(0, 1fr); column-gap: 86.5px; }

/* ---------- partners + about + pillars ---------- */
.sec--intro { padding: 41px 0 87.5px; }
.partners img { width: 100%; height: auto; opacity: .3; }
.about { margin-top: 132px; }

.about__body { padding-top: 81.5px; }
.about .h2 { margin-top: 18.8px; }
.about p { margin-top: 17.5px; max-width: 410px; }
.btn--about { margin-top: 43px; padding: 0 26.4px; }


/* ---------- services ---------- */
#services { padding: 86px 0 84.7px; }
.services { margin-top: 74.7px; }
.svc {
  position: relative;
  height: 473px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 28px 27.8px;
  background: var(--mid) center / cover;
  background-image: var(--img);
  overflow: hidden;
}
.svc::after { content: ""; position: absolute; inset: 0; background: rgba(13, 13, 20, 0); transition: background-color .3s ease; }
.svc:hover::after { background: rgba(227, 38, 43, .08); }

.svc__body { position: relative; z-index: 1; }
.svc h3 { font: 600 24.6px/30px var(--head); text-transform: uppercase; color: var(--white); }
.svc p { margin-top: 6.5px; max-width: 270px; line-height: 20px; color: #d0cfd0; }
.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 23px;
  font: 600 10.7px/14px var(--head);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
}
.more svg { width: 13px; height: 7px; color: var(--accent); transition: transform .2s ease; }
.more:hover svg { transform: translateX(4px); }

/* ---------- half photo sections ---------- */
.half { overflow: hidden; }
.half__photo { position: absolute; top: 0; bottom: 0; background: var(--bg) center / cover; background-image: var(--img); }
.half--why { min-height: 605.4px; padding: 86.6px 0 88.4px; }
.half--why .half__photo { left: calc(50% + 1px); right: 0; background-position: left center; }
.half--why .half__text { width: 472px; }
.half--drive { min-height: 685.5px; padding: 86.6px 0 87.6px; }
.half--drive .half__photo { left: 0; right: calc(50% - 1px); background-position: right center; }
.half--drive .half__text { margin-left: 646.5px; width: 470px; }
.half p { margin-top: 14.5px; }
.half--drive p { margin-top: 14.2px; }


/* ---------- how it works ---------- */
.sec--mid .how { padding: 86.6px 0 84.3px; }
.how .h2 { margin-top: 19.2px; }
.how .btn-row { margin-top: 23.7px; }
.steps { display: grid; grid-template-columns: repeat(2, 248px); gap: 18px; justify-content: start; }
.steps li { padding: 24px 24px 26px; border: 1px solid var(--line-mid); transition: border-color .2s ease; }
.steps li:hover { border-color: var(--accent); }
.steps h3 { display: flex; align-items: baseline; gap: 10px; font: 600 16px/20px var(--head); text-transform: uppercase; color: var(--white); }
.steps__n { color: var(--accent-text); font-variant-numeric: tabular-nums; }
.steps p { margin-top: 10px; }
.steps p { margin-top: 7.3px; line-height: 20.3px; }

/* ---------- locations ---------- */
#contact { padding: 85.6px 0 87.1px; }
.locations { margin-top: 76.2px; }
.loc {
  height: 513.2px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 26px 26px 27px;
  background: var(--mid) center / cover;
  background-image: var(--img);
}
.loc h3 { font: 600 24.6px/30px var(--head); text-transform: uppercase; color: var(--white); }
.loc p { margin-top: 1.6px; color: #d0cfd0; }
.loc ul { margin-top: 16px; }
.loc li { display: flex; align-items: center; gap: 14.8px; font: 500 14.75px/20.5px var(--head); color: var(--white); }
.loc li + li { margin-top: 18px; }
.loc li svg { flex: 0 0 29px; height: 28px; padding: 6px; background: var(--accent); color: var(--white); }
.loc li a { text-decoration: none; }
.loc li a:hover { text-decoration: underline; }

/* ---------- faq ---------- */
.sec--faq .faq { padding: 85.8px 0 87.9px; }

.faq__body { padding-top: 43px; }
.faq .h2 { margin-top: 18.7px; }
.acc { margin-top: 34.2px; }
.acc details { border: 1px solid var(--line-mid); }
.acc details + details { margin-top: 5.3px; }
.acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 54.2px;
  padding: 0 18px 0 21.7px;
  font: 500 14.8px/20px var(--head);
  color: #f9f9f8;
  cursor: pointer;
  list-style: none;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary svg { flex: 0 0 12px; height: 12px; color: var(--accent); transition: transform .25s ease; }
.acc details[open] summary svg { transform: rotate(45deg); }
.acc details p { padding: 0 21.7px 18px; }

/* ---------- pricing ---------- */

/* ---------- testimonials ---------- */

/* ---------- blog ---------- */

/* ---------- cta ---------- */
.cta { position: relative; height: 568px; padding-top: 93.2px; overflow: hidden; background: var(--bg); isolation: isolate; }
.cta::before { content: none; }
.cta__photo { position: absolute; inset: 0; z-index: -1; background: url(assets/photos/cta.jpg) 30% 62% / cover no-repeat; }
.cta__box { width: 603.4px; height: 387.6px; margin-left: auto; margin-right: 2.6px; padding: 52.9px 61.7px 0; background: #16161f; }
.cta .h2 { margin-top: 20.8px; }
.cta p { margin-top: 13.8px; line-height: 20px; }
.cta .btn-row { margin-top: 24.3px; }

/* ---------- footer ---------- */
.foot { background: var(--bg); }
.foot__top { display: grid; grid-template-columns: minmax(0, 1fr) 603.4px; align-items: start; column-gap: 24px; }
.foot__brand { padding-top: 14px; }
.foot__logo { display: block; width: 160px; height: 78px; }
.foot__logo svg { display: block; width: 100%; height: 100%; }
.foot small, .foot__bar a { font: 600 10.7px/14px var(--head); text-transform: uppercase; color: var(--white); }
.foot__brand small { display: block; margin-top: 2.7px; }
.foot__claim { margin-top: 127.3px; font: 600 19.5px/23px var(--head); text-transform: uppercase; color: var(--white); }
.news { display: flex; margin: 85.8px 2.6px 0 0; height: 194.5px; padding: 7px 9px 9.5px 26.5px; background: var(--accent); }
.news__form { flex: 1; min-width: 0; }
.news h3 { margin-top: 17.6px; font: 600 16px/20px var(--head); text-transform: uppercase; color: var(--white); }
.news__row { display: flex; align-items: center; gap: 0; margin-top: 52px; }

.news .btn { height: 37.5px; padding: 0 20px; width: 101.5px; }
.news img { width: 178px; height: 178px; object-fit: cover; margin-left: auto; }

.foot__cols { display: grid; grid-template-columns: 300px 301px 300px 1fr; margin-top: 85px; padding-top: 85.3px; border-top: 1px solid var(--line); }
.foot h4 { font: 600 19px/24px var(--head); text-transform: uppercase; color: var(--white); }
.foot__cols ul { margin-top: 11.6px; color: var(--muted); }
.foot__cols li { line-height: 29px; }
.foot__cols a { text-decoration: none; transition: color .2s ease; }
.foot__cols a:hover { color: var(--white); }
.foot__contact { margin-top: 16px !important; }
.foot__contact li { line-height: 20.2px; }
.foot__contact li + li { margin-top: 8.7px; }
.foot__bar { display: flex; justify-content: space-between; align-items: center; margin-top: 66px; padding: 43.9px 0 46px; border-top: 1px solid var(--line); }
.foot__bar nav { display: flex; gap: 14px; }
.foot__bar a { text-decoration: none; }
.foot__bar a:hover { color: var(--accent-hover); }

/* ---------- reference overlay (debug: add ?overlay to the URL) ---------- */

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1199px) {
  :root { --wrap: calc(100vw - 48px); }
  .container { max-width: none; }
  .hero__photo { left: 38%; background-size: cover; background-position: 30% center; }
  .split { grid-template-columns: minmax(0, 46%) minmax(0, 1fr); column-gap: 56px; }
  
  .half--drive .half__text { margin-left: calc(50% + 40px); width: auto; }
  .half--why .half__text { width: calc(50% - 40px); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta__photo { background-size: cover; }
  .foot__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  .h1 { font-size: 52px; line-height: 54px; }
  .h2 { font-size: 38px; line-height: 41px; }
  .h2 br, .h1 br { display: none; }

  /* nav becomes a drawer */
  .nav__toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 10px;
    border: 1px solid var(--line-mid); background: rgba(13, 13, 20, .6); cursor: pointer;
  }
  .nav__toggle span { height: 2px; background: var(--white); transition: transform .25s ease, opacity .2s ease; }
  .nav[data-open] .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav[data-open] .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav[data-open] .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 20px 20px; background: var(--bg); border: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .nav[data-open] .nav__menu { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links a { padding: 13px 0; font-size: 13px; border-bottom: 1px solid var(--line); }
  .btn--nav { margin: 16px 0 0; }

  .hero { height: auto; padding-bottom: 150px; }
  .hero__photo { left: 0; }
  .hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25, 25, 30, .92) 0%, rgba(25, 25, 30, .6) 60%, rgba(25, 25, 30, .2) 100%); }
  .hero__content { padding-top: 80px; }
  .hero__card { right: 0; }

  .split, .how { grid-template-columns: 1fr; row-gap: 48px; }
  
  .about__body, .faq__body { padding-top: 0; }
  .about p { max-width: none; }

  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .half { min-height: 0 !important; padding-top: 380px !important; }
  .half__photo { left: 0 !important; right: 0 !important; bottom: auto; height: 320px; }
  .half--drive .half__text, .half--why .half__text { margin-left: 0; width: auto; }

  .steps { justify-content: stretch; }
  
  .cta { height: auto; padding: 80px 0; }
  .cta__box { width: auto; height: auto; margin: 0; padding: 48px 32px; background: rgba(22, 22, 31, .94); }
  .foot__top { grid-template-columns: 1fr; }
  .foot__claim { margin-top: 32px; }
  .news { margin: 40px 0 0; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; margin-top: 56px; padding-top: 56px; }
  .foot__bar { margin-top: 48px; padding: 28px 0; }
}

@media (max-width: 639px) {
  :root { --wrap: calc(100vw - 32px); }
  .h1 { font-size: 38px; line-height: 41px; }
  .h2 { font-size: 30px; line-height: 33px; }
  .hero__lead br { display: none; }
  .hero { padding-bottom: 0; }
  .hero__card-wrap { position: relative; height: auto; margin-top: 48px; }
  .hero__card { position: relative; right: auto; width: 100%; }
  .hero__card-text { flex: 1; width: auto; }
  .grid3 { grid-template-columns: 1fr; }
  .svc { height: 420px; }
  .steps { grid-template-columns: 1fr; }
  .sec__head--row { flex-direction: column; align-items: flex-start; }
  .half { padding-top: 300px !important; }
  .half__photo { height: 260px; }
  .news { flex-direction: column; height: auto; padding: 24px; }
  .news img { display: none; }
  .news__row { margin-top: 20px; }
  
  .foot__bar { flex-direction: column; gap: 14px; align-items: flex-start; }
}

/* =========================================================
   Jev's Auto content components (real shop info)
   ========================================================= */

/* partners: text wordmarks instead of logos */
.partners { display: flex; align-items: center; gap: 40px; height: 36px; }
.partners__label { flex: none; font: 600 10.7px/14px var(--head); letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); }
.partners ul { flex: 1; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.partners li { font: 600 17px/1 var(--head); letter-spacing: .5px; text-transform: uppercase; color: rgba(255, 255, 255, .32); white-space: nowrap; }
.partners a { text-decoration: none; transition: color .2s ease; }
.partners a:hover { color: var(--white); }

/* about: two portrait shop photos */
.about__media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; height: 688px; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__media img:last-child { margin-top: 48px; height: calc(100% - 48px); }



/* half sections: portrait reel shown sharp over a blurred fill of itself */
.half__photo--reel { overflow: hidden; display: grid; place-items: center; background: var(--bg); }
.half__photo--reel::before { content: ""; position: absolute; inset: -40px; background: var(--img) center / cover; filter: blur(28px) brightness(.45) saturate(1.2); }
.half__photo--reel span {
  position: relative;
  height: calc(100% - 96px);
  aspect-ratio: 9 / 16;
  background: var(--img) center / cover;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55);
  outline: 1px solid rgba(255, 255, 255, .12);
  outline-offset: 8px;
}

.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-top: 32px; }
.checks li { position: relative; padding-left: 22px; font: 500 13.5px/18px var(--head); color: var(--white); }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 10px; height: 10px; border: 2px solid var(--accent); transform: rotate(45deg); }


/* recent builds: reel-shaped cards */
.sec--builds { padding: 86px 0 88px; }
.builds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 60px; }
.build { position: relative; display: block; aspect-ratio: 9 / 14; overflow: hidden; background: var(--bg); text-decoration: none; }
.build img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.build::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 13, 20, 0) 40%, rgba(13, 13, 20, .92) 100%); }
.build__info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 20px; }
.build time { display: block; font: 600 10.7px/14px var(--head); letter-spacing: 1px; text-transform: uppercase; color: var(--accent); }
.build b { display: block; margin-top: 6px; font: 600 17px/21px var(--head); text-transform: uppercase; color: var(--white); }
.build__info > span { display: block; margin-top: 6px; font-size: 13px; line-height: 19px; color: var(--text); }
.build:hover img { transform: scale(1.05); }
.build:focus-visible { outline-offset: -3px; }

/* shop policy panel (replaces the FAQ photo) */
.sec--faq.sec--dark { background: var(--bg); }
.policy { align-self: start; padding: 40px 36px 36px; border: 1px solid var(--line); background: linear-gradient(160deg, #15151d 0%, #0d0d14 70%); }
.policy__logo { display: block; width: 164px; height: 80px; margin-bottom: 28px; }
.policy__title { margin-top: 14px; font: 600 26px/30px var(--head); text-transform: uppercase; color: var(--white); }
.policy ul { margin-top: 24px; }
.policy li { padding: 16px 0; border-top: 1px solid var(--line); }
.policy li b { display: block; margin-bottom: 4px; font: 600 13.5px/18px var(--head); text-transform: uppercase; color: var(--white); }
.faq__body { padding-top: 0; }
.acc details p a { color: var(--white); }

/* contact cards: darker scrim so text reads over shop photos */
.loc { position: relative; overflow: hidden; }
.loc::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 13, 20, .15) 0%, rgba(13, 13, 20, .55) 45%, rgba(13, 13, 20, .96) 100%); }
.loc > * { position: relative; }

/* footer booking box (replaces newsletter) */
.news__note { margin-top: 8px; color: rgba(255, 255, 255, .85); }
.news__row { margin-top: 34px; gap: 14px; }
.news__phone { font: 600 26px/1 var(--head); color: var(--white); text-decoration: none; }
.news__phone:hover { text-decoration: underline; }
.news .btn { width: auto; }
.news img { object-position: center 60%; }

@media (max-width: 1199px) {
  .partners li { font-size: 14px; }
  .about__media { height: 560px; }
  .builds { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .build__info { padding: 14px; }
  .build__info > span { display: none; }
}
@media (max-width: 1023px) {
  .partners { height: auto; flex-direction: column; align-items: flex-start; gap: 14px; }
  .partners ul { flex-wrap: wrap; justify-content: flex-start; gap: 12px 28px; }
  .about__media { height: 460px; }
  .builds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .build__info > span { display: block; }
  .half__photo--reel span { height: calc(100% - 48px); }
}
@media (max-width: 639px) {
  .about__media { height: 380px; }
  .checks { grid-template-columns: 1fr; }
  .builds { gap: 10px; margin-top: 36px; }
  .build b { font-size: 14px; line-height: 18px; }
  .build__info > span { display: none; }
  .policy { padding: 28px 22px; }
  .news__row { flex-wrap: wrap; }
}

/* real shop photos are brighter than the template's: add a scrim behind card text */
.svc::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 13, 20, .55) 0%, rgba(13, 13, 20, 0) 22%, rgba(13, 13, 20, .25) 45%, rgba(13, 13, 20, .94) 82%); }

.svc p { color: #e2e2e5; }
/* the BMW reel frame has a caption word near the top; frame lower */
img[src$="bmw.jpg"] { object-position: center 80%; }
@media (min-width: 1024px) { .how > div:first-child { position: sticky; top: 40px; align-self: start; } }

/* =========================================================
   Motion + 3D (logo gauge theme)
   ========================================================= */
:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* hero photo sits back a little so the logo reads cleanly over it */
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(560px 360px at 60% 46%, rgba(13, 13, 20, .5), rgba(13, 13, 20, 0) 100%),
    linear-gradient(90deg, rgba(25, 25, 30, .92) 0%, rgba(13, 13, 20, .55) 45%, rgba(13, 13, 20, .62) 100%);
}

/* ---------- 3D gauge ---------- */
.gauge-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.gauge-pos { position: absolute; left: 50%; top: 120px; width: 560px; height: 285px; perspective: 1100px; perspective-origin: 280px 180px; }
.gauge {
  position: absolute;
  inset: 0;
  pointer-events: auto;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
/* hero logo: outline, dial, needle and lettering stacked flat, so nothing shifts or casts a shadow */
.gauge__layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gauge__front { opacity: 0; transition: opacity .8s var(--ease-out) .3s; }
.gauge.is-lit .gauge__front { opacity: 1; }
.gauge__glow {
  position: absolute;
  width: 260px; height: 260px;
  margin: -130px 0 0 -130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 38, 43, .42) 0%, rgba(227, 38, 43, 0) 65%);
  opacity: 0;
  pointer-events: none;
}
.gauge__needle {
  position: absolute;
  width: 5px;
  transform-origin: 50% 100%;
  transform: translate(-50%, -100%) rotate(-57deg);
}
.gauge__needle::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 30%;
  border-radius: 3px;
  background: linear-gradient(180deg, #ff6b6e, var(--accent) 40%, #8f161a);
}
.gauge__hub { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #5a5a62, #16161a 70%); box-shadow: 0 1px 3px rgba(0, 0, 0, .6); }

/* ---------- inlined logos: the arc fills and the ticks pop as the sweep passes ---------- */
.logo-live .lg-arc--dim { opacity: .22; }
.logo-live .lg-tick { opacity: .25; transform-box: fill-box; transform-origin: 50% 50%; transition: opacity .25s var(--ease-out); }
.logo-live .lg-tick.is-on { opacity: 1; animation: lg-pop .5s var(--ease-out); }
@keyframes lg-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.18); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .logo-live .lg-tick.is-on { animation: none; } }

/* ---------- scroll reveal ---------- */
.rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.rv.is-in { opacity: 1; transform: none; }

.half__photo--reel span { transition: transform .5s var(--ease-out); }


@media (max-width: 1199px) {
  .gauge-pos { left: auto; right: -60px; transform: scale(.82); transform-origin: 100% 0; }
}
@media (max-width: 1023px) {
  .gauge-pos { right: auto; left: 50%; top: 40px; margin-left: -280px; transform: scale(.9); transform-origin: 50% 0; opacity: .32; }
  .gauge { pointer-events: none; }
}
@media (max-width: 639px) {
  .gauge-pos { top: 70px; transform: scale(.68); }
}

/* reduced motion: keep fades and direct cursor feedback, drop travel */
@media (prefers-reduced-motion: reduce) {
  .rv { transform: none; transition: opacity .5s ease; transition-delay: calc(var(--i, 0) * 40ms); }
}
.is-still *, .is-still *::before, .is-still *::after { transition: none !important; }

/* =========================================================
   Polish pass (Impeccable audit): contrast, legibility, targets, browser surfaces
   ========================================================= */
.btn--light:hover { background: #f2f2f4; color: var(--accent-hover); }
.partners__label, .build time { color: var(--accent-text); }
.partners li { color: var(--muted-strong); }
.news__note { color: var(--white); }

/* functional labels: 12px floor */
.btn, .nav__links a, .more, .build time, .partners__label,
.foot small, .foot__bar a { font-size: 12px; }
.tag { font-size: 12px; }

/* the heading carries the section now that the eyebrows are gone */
.hero__content { padding-top: 140px; }
.policy__title { margin-top: 0; }
.policy__lead { margin-top: 8px; }



/* browser surfaces */
::selection { background: var(--accent); color: var(--white); }
html { scrollbar-color: #3a3a42 var(--bg); accent-color: var(--accent); caret-color: var(--accent); }
:focus-visible { outline-color: var(--accent-text); }

/* skip link */
.skip {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 10;
  padding: 12px 18px;
  background: var(--white);
  color: var(--bg);
  font: 600 13px/1 var(--head);
  text-transform: uppercase;
  text-decoration: none;
  transition: top .2s var(--ease-out);
}
.skip:focus { top: 16px; }

/* touch targets on phones and tablets */
@media (max-width: 1023px) {
  .btn { min-height: 44px; }
  .btn--nav { height: 44px; }
  .foot__cols a, .foot__bar a { display: inline-block; padding: 8px 0; }
  .foot__cols li { line-height: 20px; }
  .partners a { display: inline-block; padding: 10px 0; }
}
.foot__brand { padding-top: 64px; }
.foot__claim { margin-top: 72px; }
@media (max-width: 1023px) { .foot__brand { padding-top: 48px; } .foot__claim { margin-top: 28px; } }
@media (max-width: 1023px) {
  .foot__cols a, .foot__bar a, .partners a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
}
@media (max-width: 1023px) {
  .nav__links a { padding: 15px 0; }
  .more, .loc li a, .news__phone { display: inline-flex; align-items: center; min-height: 44px; }
  .loc li + li { margin-top: 6px; }
}

/* =========================================================
   Real photography from @jevsauto / @jevz_s58 (no baked overlays, so plain cover crops)
   ========================================================= */
.hero__photo { background: url(assets/photos/hero.jpg) center 52% / cover no-repeat; }
.hero__photo::before { content: none; }
.hero__thumb { background: url(assets/photos/thumb-rsx.jpg) center / cover; }
.cta::before { content: none; }
.cta__photo { background: url(assets/photos/cta.jpg) 30% 62% / cover no-repeat; }
.cta__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 13, 20, .15) 0%, rgba(13, 13, 20, .35) 55%, rgba(13, 13, 20, .7) 100%); }
.half--why .half__photo { background-position: 58% center; }
.news img { object-position: center; }

/* =========================================================
   Viral build (home) + Builds page
   ========================================================= */
/* vertical video in a framed 9:16 card */
.reel { position: relative; aspect-ratio: 9 / 16; background: #000; outline: 1px solid rgba(255, 255, 255, .12); outline-offset: 8px; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.reel__video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.reel__sound {
  position: absolute; right: 14px; bottom: 14px;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%;
  background: rgba(13, 13, 20, .6); color: var(--white);
  cursor: pointer; transition: background-color .2s ease, transform .16s var(--ease-out);
}
.reel__sound svg { width: 20px; height: 20px; }
.reel__sound .snd-on { display: none; }
.reel__sound[aria-pressed="true"] .snd-on { display: inline; }
.reel__sound[aria-pressed="true"] .snd-off { display: none; }
.reel__sound:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .reel__sound:hover { background: var(--accent); border-color: var(--accent); } }

/* home: viral section */
.viral { padding: 96px 0; }
.viral__grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); column-gap: 96px; align-items: center; }
.viral .h2 { margin-top: 18px; }
.viral__body > p { margin-top: 16px; max-width: 520px; }
.minis { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 16px; margin-top: 32px; }
.mini { display: flex; gap: 14px; align-items: center; padding: 10px; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s ease; }
.mini img { flex: 0 0 56px; width: 56px; height: 84px; object-fit: cover; }
.mini span { font-size: 13px; line-height: 18px; color: var(--text); }
.mini b { display: block; margin-bottom: 2px; font: 600 15px/19px var(--head); text-transform: uppercase; color: var(--white); }
@media (hover: hover) and (pointer: fine) { .mini:hover { border-color: var(--accent); } }
.viral .btn-row { margin-top: 32px; }
.sec__head--row .btn-row { flex-wrap: nowrap; }

/* builds page */
.page-head { position: relative; background: var(--mid); padding-bottom: 72px; border-bottom: 1px solid var(--line); }
.page-head__body { padding-top: 72px; }
.page-head__body .h1 { margin-top: 0; }
.page-head__body p { margin-top: 18px; max-width: 560px; font-size: 15px; line-height: 24px; }
.bindex { padding: 40px 0 0; }
.bindex__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: b; }
.bindex__list a {
  display: block; height: 100%; padding: 14px 16px;
  background: var(--bg); text-decoration: none;
  font: 600 13px/17px var(--head); text-transform: uppercase; color: var(--white);
  transition: background-color .2s ease;
}
.bindex__list a span { display: block; margin-top: 4px; font: 400 12px/16px var(--body); text-transform: none; color: var(--text); }
@media (hover: hover) and (pointer: fine) { .bindex__list a:hover { background: #15151d; } }

.bcases { padding: 24px 0 72px; }
.bcase { display: grid; grid-template-columns: 320px minmax(0, 1fr); column-gap: 80px; align-items: center; padding: 72px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.bcase:last-child { border-bottom: 0; }
.bcase--flip { grid-template-columns: minmax(0, 1fr) 320px; }
.bcase--flip .bcase__media { order: 2; }
.bcase--gallery { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.bcase--gallery .bcase__media { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; align-items: stretch; }
.gallery { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; }
.gallery img { flex: 0 0 78%; height: 100%; max-height: 390px; object-fit: cover; scroll-snap-align: start; }
.gallery:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 4px; }
.bcase__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font: 600 12px/16px var(--head); text-transform: uppercase; letter-spacing: 1px; color: var(--muted-strong); }
.bcase__meta span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 16px; vertical-align: middle; background: var(--accent); }
.bcase__badge { padding: 5px 9px; background: var(--accent); color: var(--white); letter-spacing: .5px; }
.bcase__title { margin-top: 14px; font: 600 34px/38px var(--head); text-transform: uppercase; color: var(--white); text-wrap: balance; }
.bcase__body > p { margin-top: 14px; max-width: 560px; }
.bcase .checks { margin-top: 22px; }
.bcase__credit { margin-top: 18px; font-size: 13px; color: var(--muted-strong); }
.bcase .more { margin-top: 24px; }
.bcta { padding: 88px 0; }
.bcta__inner { text-align: center; }
.bcta__inner p { margin: 16px auto 0; max-width: 480px; }
.bcta .btn-row { justify-content: center; margin-top: 28px; }

@media (max-width: 1199px) {
  .viral__grid { grid-template-columns: 300px minmax(0, 1fr); column-gap: 56px; }
  .bindex__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bcase, .bcase--flip { grid-template-columns: 280px minmax(0, 1fr); column-gap: 48px; }
  .bcase--flip .bcase__media { order: 0; }
  .bcase--gallery { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
}
@media (max-width: 1023px) {
  .viral__grid { grid-template-columns: 1fr; row-gap: 48px; }
  .viral .reel { width: min(340px, 100%); margin: 0 auto; }
  .minis { grid-template-columns: 1fr 1fr; }
  .bcase, .bcase--flip { grid-template-columns: 1fr; row-gap: 32px; padding: 56px 0; }
  .bcase .reel { width: min(320px, 100%); }
  .bindex__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .minis { grid-template-columns: 1fr; }
  .bcase__title { font-size: 26px; line-height: 30px; }
  .bcase--gallery .bcase__media { grid-template-columns: 1fr; }
  .bcase--gallery .reel { width: min(320px, 100%); }
  .gallery img { flex-basis: 85%; max-height: 360px; }
  .sec__head--row .btn-row { flex-wrap: wrap; }
}

/* ---------- road calls (inside services) ---------- */
.roadcall { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 16px; border: 1px solid var(--line); background: var(--bg); }
.roadcall__photo { position: relative; min-height: 460px; overflow: hidden; }
.roadcall__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.roadcall__body { padding: 48px 52px 50px; }
.roadcall__title { font: 600 34px/38px var(--head); text-transform: uppercase; color: var(--white); }
.roadcall__body > p { margin-top: 12px; max-width: 470px; }
.roadcall__cases { display: grid; gap: 12px; margin-top: 26px; max-width: 470px; }
.roadcall__cases .mini img { height: 70px; width: 56px; }
.roadcall__body > .roadcall__note { margin-top: 18px; font-size: 13px; color: var(--muted-strong); }
.roadcall .btn-row { margin-top: 18px; }

/* ---------- merch ---------- */
.merch { padding: 86px 0 88px; }
.merch__lead { margin-top: 14px; max-width: 560px; }
.merch__grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 16px; margin-top: 44px; align-items: start; }
.merch__view {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: radial-gradient(110% 85% at 50% 38%, #262630 0%, #15151c 58%, #0d0d14 100%);
}
.merch__stage { position: relative; height: 520px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.merch__stage:focus-visible { outline: 2px solid var(--white); outline-offset: -4px; }
.merch__stage.is-grabbing { cursor: grabbing; }
.merch__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.merch__fallback { position: absolute; left: 50%; top: 50%; width: min(60%, 420px); height: auto; transform: translate(-50%, -50%); }
.merch--ready .merch__fallback { display: none; }
.merch__hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 13px; color: var(--muted-strong); pointer-events: none; }
.merch__hint svg { width: 22px; height: 11px; }
.merch--no3d .merch__hint, .merch--no3d .merch__thumb { display: none; }
.merch__info { display: flex; align-items: center; gap: 22px; padding: 20px 24px 22px; border-top: 1px solid var(--line); }
.merch__text { flex: 1; min-width: 0; }
.merch__name { font: 600 24.6px/30px var(--head); text-transform: uppercase; color: var(--white); }
.merch__blurb { margin-top: 4px; max-width: 440px; }
.merch__swatches { display: flex; gap: 2px; }
.swatch { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.swatch::before { content: ""; width: 26px; height: 26px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); transition: box-shadow .2s ease; }
.swatch[aria-pressed="true"]::before { outline: 2px solid var(--accent); outline-offset: 3px; }
.swatch:focus-visible { outline: 2px solid var(--white); outline-offset: 0; }
.merch__list { display: grid; gap: 10px; }
.merch__item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 92px;
  padding: 7px 14px 7px 7px;
  border: 1px solid var(--line);
  background: #121218;
  color: var(--text);
  font: 400 13px/18px var(--body);
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.merch__thumb { flex: 0 0 76px; width: 76px; height: 76px; background: radial-gradient(circle at 50% 42%, #2a2a33, #15151b 72%); }
.merch__thumb img { width: 100%; height: 100%; }
.merch__item b { display: block; margin-bottom: 2px; font: 600 15px/19px var(--head); text-transform: uppercase; color: var(--white); }
.merch__item[aria-pressed="true"] { border-color: var(--accent); background: #18181f; }
.merch__item:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .merch__item:hover { border-color: var(--accent); } }

@media (max-width: 1023px) {
  .roadcall { grid-template-columns: 1fr; }
  .roadcall__photo { min-height: 0; aspect-ratio: 16 / 11; }
  .roadcall__body { padding: 32px 24px 34px; }
  .merch__grid { grid-template-columns: 1fr; }
  .merch__stage { height: 460px; }
  .merch__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .roadcall__title { font-size: 28px; line-height: 32px; }
  .roadcall__photo { aspect-ratio: 4 / 3.4; }
  .merch { padding: 64px 0 66px; }
  .merch__stage { height: 380px; }
  .merch__info { flex-wrap: wrap; gap: 12px; padding: 18px 16px 20px; }
  .merch__text { flex-basis: 100%; }
  .merch__order { flex: 1; }
  .merch__list { grid-template-columns: 1fr; }
}
.merch__stage::after { content: "Loading"; position: absolute; right: 22px; top: 18px; font: 600 12px/16px var(--head); letter-spacing: 1px; text-transform: uppercase; color: var(--muted-strong); opacity: 0; transition: opacity .2s ease; }
.merch__stage.is-loading::after { opacity: 1; }

/* ---------- online booking (book.html) ---------- */
.book { padding: 64px 0 96px; }
.book__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.book__form { display: grid; gap: 16px; }
.book__step { margin: 0; padding: 28px 28px 30px; border: 1px solid var(--line); background: #121218; min-width: 0; }
.book__step legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding: 0; font: 600 20px/26px var(--head); text-transform: uppercase; color: var(--white); }
.book__step legend + * { clear: both; }
.book__num { display: grid; place-items: center; flex: 0 0 30px; height: 30px; background: var(--accent); color: var(--white); font-size: 15px; }
.book__err { display: block; min-height: 0; margin-top: 8px; font-size: 13px; line-height: 18px; color: var(--accent-text); }
.book__err:empty { display: none; }
.book__err--form { margin-top: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-mid); background: var(--bg); color: var(--text); font: 600 13px/1 var(--head); text-transform: uppercase; letter-spacing: .3px; transition: border-color .15s ease, background-color .15s ease, color .15s ease; }
.chip input:checked + span { border-color: var(--accent); background: rgba(227, 38, 43, .14); color: var(--white); }
.chip input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .chip:hover span { border-color: #5a5a62; } }

.fld { display: block; margin-top: 16px; }
.fld:first-of-type { margin-top: 0; }
.fld__label { display: block; margin-bottom: 7px; font: 600 12px/16px var(--head); letter-spacing: 1px; text-transform: uppercase; color: var(--white); }
.fld__label i { font-style: normal; color: var(--muted-strong); letter-spacing: .5px; text-transform: none; font-family: var(--body); }
.fld input, .fld textarea, .set input, .set textarea {
  display: block; width: 100%; min-height: 46px; padding: 11px 14px;
  border: 1px solid var(--line-mid); border-radius: 0; background: var(--bg); color: var(--white);
  font: 400 16px/22px var(--body);
}
.fld textarea { resize: vertical; min-height: 104px; }
.fld input::placeholder, .fld textarea::placeholder { color: var(--muted-strong); }
.fld input:focus, .fld textarea:focus, .set input:focus, .set textarea:focus { outline: none; border-color: var(--white); }
.fld [aria-invalid="true"] { border-color: var(--accent-text); }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.fld-row .fld { margin-top: 0; }

.cal { max-width: 460px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal__month { margin: 0; font: 600 17px/22px var(--head); text-transform: uppercase; color: var(--white); }
.cal__nav { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-mid); background: var(--bg); color: var(--white); cursor: pointer; }
.cal__nav svg { width: 12px; height: 8px; transform: rotate(90deg); }
.cal__nav--next svg { transform: rotate(-90deg); }
.cal__nav:disabled { opacity: .3; cursor: default; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal__dow span { padding: 4px 0; text-align: center; font: 600 11.5px/16px var(--head); letter-spacing: .8px; text-transform: uppercase; color: var(--muted-strong); }
.cal__day { aspect-ratio: 1; min-height: 44px; border: 1px solid var(--line-mid); background: var(--bg); color: var(--white); font: 600 15px/1 var(--head); cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.cal__day.is-off { border-color: transparent; background: transparent; color: #4a4a52; cursor: default; text-decoration: line-through; text-decoration-color: #3a3a42; }
.cal__day.is-sel { border-color: var(--accent); background: var(--accent); }
.cal__day:focus-visible, .cal__nav:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .cal__day:not(.is-off):not(.is-sel):hover { border-color: var(--accent); } }

.slots { margin-top: 22px; }
.slots__hint { color: var(--muted-strong); }
.slots__label { margin-bottom: 10px; font: 600 13px/18px var(--head); letter-spacing: 1px; text-transform: uppercase; color: var(--white); }
.slots__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; max-width: 560px; }
.chip--time span { justify-content: center; width: 100%; }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; max-width: 620px; }
.check input { flex: 0 0 22px; width: 22px; height: 22px; margin: 0; accent-color: var(--accent); }
.book__pay { height: 52px; margin-top: 22px; padding: 0 34px; font-size: 13px; }
.book__pay:disabled { opacity: .6; cursor: progress; }
.book__fine { margin-top: 12px; font-size: 13px; color: var(--muted-strong); }

.book__summary { position: sticky; top: 24px; padding: 26px 26px 24px; border: 1px solid var(--line); background: var(--mid); }
.book__sumtitle { font: 600 20px/26px var(--head); text-transform: uppercase; color: var(--white); }
.sum { margin: 16px 0 0; }
.sum > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.sum dt { font: 600 12px/18px var(--head); letter-spacing: 1px; text-transform: uppercase; color: var(--muted-strong); }
.sum dd { margin: 0; text-align: right; color: var(--white); }
.sum__due dd { font: 600 15px/18px var(--head); color: var(--accent-text); }
.sum__notes { margin-top: 18px; display: grid; gap: 8px; }
.sum__notes li { position: relative; padding-left: 16px; font-size: 13px; line-height: 19px; }
.sum__notes li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; background: var(--accent); }
.sum__call { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }

.book__result .result { max-width: 640px; padding: 40px; border: 1px solid var(--line); border-top: 3px solid var(--accent); background: #121218; }
.result .h2 { margin-top: 0; font-size: 38px; line-height: 42px; }
.result > p { margin-top: 14px; max-width: 520px; }
.book__result .result--ok { border-top-color: #2fa36b; }
.sum--result { margin-top: 24px; }
.result__next { margin-top: 24px; padding-left: 20px; list-style: decimal; display: grid; gap: 6px; }
.result .btn-row { margin-top: 24px; }
.book__call { margin-top: 22px; font-size: 13px; color: var(--muted-strong); }

@media (max-width: 1023px) {
  .book__grid { grid-template-columns: 1fr; }
  .book__summary { position: static; }
}
@media (max-width: 639px) {
  .book { padding: 32px 0 64px; }
  .book__step { padding: 22px 16px 24px; }
  .fld-row { grid-template-columns: 1fr; }
  .book__pay { width: 100%; }
  .book__result .result { padding: 28px 18px; }
  .result .h2 { font-size: 30px; line-height: 34px; }
}

/* ---------- Jev's dashboard (admin.html) ---------- */
.page-admin { min-height: 100vh; background: var(--bg); }
.adm { width: min(920px, calc(100% - 32px)); margin: 0 auto; padding: 40px 0 80px; }
.adm__login { min-height: 80vh; display: grid; place-items: center; }
.adm__card { width: min(380px, 100%); padding: 32px 28px; border: 1px solid var(--line); background: #121218; }
.adm__title { font: 600 30px/34px var(--head); text-transform: uppercase; color: var(--white); }
.adm__card .adm__title { margin-bottom: 22px; font-size: 24px; line-height: 28px; }
.adm__btn-wide { width: 100%; height: 46px; margin-top: 18px; }
.adm__bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.adm__sub { margin-top: 6px; color: var(--muted-strong); }
.adm__link { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--accent-text); font: 600 13px/1 var(--head); text-transform: uppercase; letter-spacing: .5px; cursor: pointer; }
.adm__banner { margin-top: 20px; padding: 12px 14px; border: 1px solid #6b5a1e; background: #221d0c; color: #f1d98a; font-size: 13px; }
.adm__tabs { display: flex; gap: 4px; margin-top: 26px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.adm__tabs button { flex: none; min-height: 46px; padding: 0 16px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted-strong); font: 600 13px/1 var(--head); text-transform: uppercase; letter-spacing: .5px; cursor: pointer; }
.adm__tabs button[aria-selected="true"] { color: var(--white); border-bottom-color: var(--accent); }
.adm__list { margin-top: 8px; }
.adm__empty { padding: 28px 0; color: var(--muted-strong); }
.day { margin-top: 26px; }
.day__title { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; font: 600 16px/22px var(--head); text-transform: uppercase; color: var(--white); }
.day__title span { font-size: 12px; letter-spacing: 1px; color: var(--muted-strong); }
.bk { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 18px; margin-top: 10px; padding: 18px 20px; border: 1px solid var(--line); background: #121218; }
.bk--new { border-color: #4a2226; }
.bk__time { font: 600 20px/26px var(--head); color: var(--white); }
.bk__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.bk__top h3 { font: 600 18px/24px var(--head); color: var(--white); }
.pill { padding: 3px 8px; font: 600 11.5px/16px var(--head); letter-spacing: .6px; text-transform: uppercase; }
.pill--new { background: var(--accent); color: var(--white); }
.pill--ok { background: #1d4d36; color: #a6f0c9; }
.pill--warn { background: #4a3a12; color: #f1d98a; }
.pill--muted { background: #26262e; color: #b7b7bd; }
.bk__what { margin-top: 6px; color: var(--text); }
.bk__what b { color: var(--white); font-weight: 600; }
.bk__details { margin-top: 6px; padding: 8px 10px; background: var(--bg); font-size: 13px; line-height: 19px; white-space: pre-line; }
.bk__contact { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 8px; }
.bk__contact a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; color: var(--white); text-decoration: none; }
.bk__contact svg { width: 16px; height: 16px; color: var(--accent-text); }
.bk__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.bk__actions:empty { display: none; }
.bk__actions .btn { height: 44px; padding: 0 18px; }
.btn--ghost { background: transparent; color: var(--white); border: 1px solid var(--line-mid); }
.btn--ghost:hover { background: #1c1c24; }
.btn.is-armed { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--white); }
.bk__note { margin-top: 10px; }
.bk__note summary { width: fit-content; min-height: 32px; font: 600 12px/32px var(--head); letter-spacing: 1px; text-transform: uppercase; color: var(--muted-strong); cursor: pointer; }
.bk__note textarea { display: block; width: 100%; margin-top: 6px; padding: 9px 12px; border: 1px solid var(--line-mid); background: var(--bg); color: var(--white); font: 400 15px/21px var(--body); resize: vertical; }
.bk__meta { margin-top: 8px; font-size: 12px; color: var(--muted-strong); }

.adm__settings { margin-top: 26px; display: grid; gap: 20px; max-width: 640px; }
.set-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.set { display: block; margin: 0; padding: 0; border: 0; min-width: 0; }
.set small { display: block; margin-top: 6px; font-size: 12px; color: var(--muted-strong); }
.set legend { margin-bottom: 8px; }
.closed-add { display: flex; flex-wrap: wrap; gap: 8px; }
.closed-add input { flex: 1 1 180px; width: auto; color-scheme: dark; }
.closed-add .btn { height: 46px; }
.closed-list { margin-top: 10px; }
.closed-list li { display: flex; justify-content: space-between; align-items: center; padding: 2px 0; border-bottom: 1px solid var(--line); }
.adm__saved { align-self: center; color: #a6f0c9; font: 600 13px/1 var(--head); text-transform: uppercase; }

@media (max-width: 639px) {
  .adm { padding-top: 24px; }
  .bk { grid-template-columns: 1fr; gap: 6px; padding: 16px 14px; }
  .set-grid { grid-template-columns: 1fr; }
  .bk__actions .btn { flex: 1 1 auto; }
}

/* ---------- deslop pass (2026-10-20) ---------- */
/* the three things a visitor should remember, set as type rather than icon cards */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 85px; }
.pillars li { padding-top: 22px; border-top: 1px solid var(--line-mid); }
.pillars h3 { font: 600 20px/26px var(--head); text-transform: uppercase; color: var(--white); }
.pillars p { margin-top: 10px; max-width: 320px; }

/* plain facts in place of the big-number grid */
.facts { margin: 34px 0 0; max-width: 470px; }
.facts > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted-strong); }
.facts dd { margin: 0; color: var(--white); }
.facts a { color: var(--white); text-underline-offset: 3px; text-decoration-color: var(--accent); }
.facts a:hover { color: var(--accent-text); }

/* no one-word last lines */
p, li, dd, .svc p { text-wrap: pretty; }
.h1, .h2, h3 { text-wrap: balance; }

@media (max-width: 1023px) {
  .pillars { grid-template-columns: 1fr; gap: 24px; margin-top: 56px; }
}
@media (max-width: 639px) {
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  /* keep the gauge's wordmark clear of the headline on phones */
  .gauge-pos { top: 48px; transform: scale(.56); }
}

/* ---------- repair tracker (track.html) + repair code ---------- */
.fld select { display: block; width: 100%; min-height: 46px; padding: 11px 36px 11px 14px; border: 1px solid var(--line-mid); border-radius: 0; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%23ceced1' stroke-width='1.3'/%3E%3C/svg%3E") right 14px center / 10px 6px no-repeat; color: var(--white); font: 400 16px/22px var(--body); appearance: none; }
.fld select:focus { outline: none; border-color: var(--white); }
.fld-row--car { grid-template-columns: 120px 1fr 1fr; }

.code-card { margin-top: 22px; padding: 22px 22px 24px; border: 1px solid var(--line-mid); background: var(--bg); }
.code-card__label { font: 600 12px/16px var(--head); letter-spacing: 1px; text-transform: uppercase; color: var(--muted-strong); }
.code-card__code { margin-top: 4px; font: 600 40px/44px var(--head); letter-spacing: 8px; color: var(--white); font-variant-numeric: tabular-nums; }
.code-card p:not([class]) { margin-top: 8px; max-width: 440px; }
.code-card .btn { margin-top: 16px; }

.trk { padding: 48px 0 96px; }
.trk__find { max-width: 560px; }
.trk__find-row { display: flex; gap: 10px; }
.trk__code-input { flex: 1; min-width: 0; font: 600 22px/22px var(--head) !important; letter-spacing: 6px; text-transform: uppercase; }
.trk__find-row .btn { height: 46px; flex: none; }
.trk__help { margin-top: 8px; font-size: 13px; color: var(--muted-strong); }
.trk__find.is-compact { margin-bottom: 8px; }
.trk__view { margin-top: 40px; }

.trk__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.trk__car { margin: 0; }
.trk__car img { display: block; width: 100%; height: auto; }
.trk__car--photo img { aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--line); }
.trk__car--render { padding: 12px 0 28px; background: radial-gradient(60% 18% at 50% 88%, rgba(0, 0, 0, .55), transparent 70%), radial-gradient(80% 70% at 50% 45%, #1d1d25, transparent 75%); }
.trk__car--render img { object-fit: contain; }
.trk__car--none { display: grid; place-items: center; aspect-ratio: 3 / 2; border: 1px solid var(--line); background: #121218; color: #4a4a55; }
.trk__sil { width: 72%; height: auto; }
.trk__car figcaption { margin-top: 8px; font-size: 12px; color: var(--muted-strong); }
.trk__car figcaption a { color: inherit; text-underline-offset: 2px; }
.trk__title { margin-top: 0; }
.trk__meta { margin: 18px 0 0; }
.trk__meta > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.trk__meta dt { color: var(--muted-strong); }
.trk__meta dd { margin: 0; color: var(--white); }
.trk__code { font: 600 17px/22px var(--head); letter-spacing: 3px; }
.trk__now { margin-top: 22px; padding: 20px 22px; border: 1px solid var(--line-mid); background: #121218; }
.trk__now--ready { border-color: #2fa36b; }
.trk__now--warn { border-color: #4a2226; }
.trk__stage { font: 600 26px/30px var(--head); text-transform: uppercase; color: var(--white); }
.trk__now--ready .trk__stage { color: #a6f0c9; }
.trk__now > p:not(.trk__stage) { margin-top: 6px; }
.trk__note { margin: 14px 0 0; padding: 12px 14px; background: var(--bg); }
.trk__note p { color: var(--white); white-space: pre-line; }
.trk__note cite { display: block; margin-top: 6px; font-style: normal; font-size: 12px; color: var(--muted-strong); }

/* progress: five stops on one rail */
.prog { position: relative; margin-top: 48px; padding: 4px 0 0; }
.prog__track { position: absolute; left: 10%; right: 10%; top: 18px; height: 2px; background: var(--line-mid); }
.prog__fill { display: block; width: var(--pct); height: 100%; background: var(--accent); transition: width .9s var(--ease-out); }
.prog__steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.prog__step { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.prog__dot { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid var(--line-mid); border-radius: 50%; background: var(--bg); }
.prog__label { font: 600 13px/17px var(--head); letter-spacing: .4px; text-transform: uppercase; color: var(--muted-strong); max-width: 140px; }
.prog__note { margin-top: -6px; font-size: 12px; color: var(--muted-strong); }
.prog__step.is-done .prog__dot { border-color: var(--accent); background: var(--accent); }
.prog__step.is-done .prog__dot::after { content: ""; width: 12px; height: 9px; background: var(--white); clip-path: polygon(0 52%, 14% 38%, 38% 62%, 86% 0, 100% 14%, 38% 92%); }
.prog__step.is-done .prog__label { color: var(--text); }
.prog__step.is-now .prog__dot { border-color: var(--accent); }
.prog__step.is-now .prog__dot::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.prog__step.is-now .prog__dot::before { content: ""; position: absolute; inset: -7px; border: 2px solid var(--accent); border-radius: 50%; opacity: 0; animation: prog-ping 2.4s var(--ease-out) infinite; }
.prog__step.is-now .prog__label { color: var(--white); }
.prog__step.is-now .prog__note { color: var(--accent-text); font-weight: 600; }
.prog__step.is-skip .prog__dot { border-style: dashed; }
@keyframes prog-ping { 0% { transform: scale(.6); opacity: .9; } 70%, 100% { transform: scale(1.25); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .prog__step.is-now .prog__dot::before { animation: none; opacity: .5; transform: none; } .prog__fill { transition: none; } }

.trk__lower { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 44px; margin-top: 56px; }
.trk__lower h3 { font: 600 18px/24px var(--head); text-transform: uppercase; color: var(--white); }
.trk__log ol { margin-top: 10px; }
.trk__log li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 4px 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.trk__log time { grid-row: span 2; font-size: 13px; color: var(--muted-strong); font-variant-numeric: tabular-nums; }
.trk__log b { color: var(--white); font-weight: 600; }
.trk__log p { margin: 0; }
.trk__contact { align-self: start; padding: 22px; border: 1px solid var(--line); background: var(--mid); }
.trk__contact p { margin-top: 8px; }
.trk__contact .btn-row { margin-top: 16px; }
.trk__refresh { font-size: 12px; color: var(--muted-strong); }

@media (max-width: 1023px) {
  .trk__grid, .trk__lower { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 639px) {
  .fld-row--car { grid-template-columns: 1fr 1fr; }
  .fld-row--car .fld:first-child { grid-column: 1 / -1; }
  .trk { padding-top: 32px; }
  .trk__find-row { flex-direction: column; }
  .code-card__code { font-size: 32px; letter-spacing: 6px; }
  /* progress turns into a vertical list on phones */
  .prog { margin-top: 32px; }
  .prog__track { left: 14px; right: auto; top: 16px; bottom: 16px; width: 2px; height: auto; }
  .prog__fill { width: 100%; height: var(--pct); }
  .prog__steps { grid-template-columns: 1fr; gap: 18px; }
  .prog__step { flex-direction: row; text-align: left; gap: 14px; }
  .prog__label { max-width: none; }
  .prog__note { margin: 0 0 0 auto; }
  .trk__log li { grid-template-columns: 1fr; }
  .trk__log time { grid-row: auto; }
}

/* ---------- dashboard: repair status ---------- */
.rp { display: grid; gap: 12px; margin-top: 14px; padding: 14px; border: 1px solid var(--line); background: var(--bg); }
.rp__head { display: flex; align-items: center; gap: 14px; }
.rp__car { flex: none; width: 96px; height: 64px; object-fit: cover; background: #121218; }
.rp__code { color: var(--text); }
.rp__code b { font: 600 16px/20px var(--head); letter-spacing: 2px; color: var(--white); }
.rp__view { display: inline-block; margin-top: 2px; font-size: 13px; color: var(--accent-text); text-underline-offset: 2px; }
.rp__stages { margin: 0; padding: 0; border: 0; min-width: 0; }
.rp__stages legend { margin-bottom: 8px; }
.chip--stage span { min-height: 40px; padding: 0 12px; font-size: 12px; }
.rp__note { display: block; }
.rp__note textarea { display: block; width: 100%; padding: 9px 12px; border: 1px solid var(--line-mid); background: #121218; color: var(--white); font: 400 15px/21px var(--body); resize: vertical; }
.rp__note textarea:focus { outline: none; border-color: var(--white); }
.rp .btn { justify-self: start; height: 44px; }
.how__track { margin-top: 18px; font-size: 14px; }
.how__track a { color: var(--white); text-decoration-color: var(--accent); text-underline-offset: 3px; }
@media (max-width: 1023px) {
  /* on phones the status leads; the picture follows, smaller */
  .trk__car { order: 2; max-width: 520px; }
  .trk__car--photo img, .trk__car--none { aspect-ratio: 16 / 9; }
}

/* dashboard: Jev's Instagram logo */
.adm__logo { display: block; width: 132px; height: auto; flex: none; }
.adm__logo--login { width: 220px; margin: 0 auto 22px; }
.adm__card .adm__title { text-align: center; }
.adm__bar { align-items: center; justify-content: flex-start; }
.adm__head { flex: 1; min-width: 0; }
@media (max-width: 639px) { .adm__logo { width: 96px; } .adm__logo--login { width: 180px; } }

/* =========================================================
   Phones (2026-10-21): thumb-reach actions, swipe rows, tighter rhythm
   ========================================================= */

/* quick actions: call, text and book stay one tap away on every public page */
.mbar { display: none; }
@media (max-width: 1023px) {
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 8px; align-items: center;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line-mid);
    background: rgba(13, 13, 20, .96);
    box-shadow: 0 -10px 28px rgba(0, 0, 0, .45);
    transform: translateY(110%);
    transition: transform .32s var(--ease-out);
  }
  .mbar.is-on { transform: none; }
  .mbar__btn {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-width: 58px; height: 48px; padding: 0 8px;
    border: 1px solid var(--line-mid); background: var(--mid); color: var(--white);
    font: 600 11px/1 var(--head); letter-spacing: .4px; text-transform: uppercase; text-decoration: none;
  }
  .mbar__btn svg { width: 18px; height: 18px; color: var(--accent-text); }
  .mbar__btn:active { background: #23232b; }
  .mbar__book { height: 48px; font-size: 13px; letter-spacing: .4px; }
  .mbar__book:active { background: var(--accent-hover); }
  body:has(.mbar) .foot { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  body:has(.nav[data-open]) .mbar { transform: translateY(110%); }
}
@media (prefers-reduced-motion: reduce) { .mbar { transition: none; } }

/* about photos: keep the row at its set height so the photos never run into the heading */
@media (max-width: 1023px) {
  .about__media { grid-template-rows: minmax(0, 1fr); }
  .about__media img { min-height: 0; }
}

@media (max-width: 639px) {
  /* section rhythm sized for a phone, not a 1440px canvas */
  .sec--intro { padding: 32px 0 56px; }
  .about { margin-top: 56px; }
  .about__media { height: 320px; gap: 10px; }
  .about__media img:last-child { margin-top: 32px; height: calc(100% - 32px); }
  .btn--about { margin-top: 28px; }
  #services, .viral, .sec--builds, #contact { padding: 56px 0; }
  .sec--mid .how, .sec--faq .faq { padding: 56px 0; }
  .services, .locations { margin-top: 28px; }
  .pillars { margin-top: 40px; }
  .builds { margin-top: 28px; }
  .half--why, .half--drive { padding-bottom: 56px; }
  .cta { padding: 56px 0; }

  /* services and recent builds: swipe sideways instead of scrolling past six full-height cards */
  .services.grid3, .builds {
    display: flex; gap: 12px;
    margin-left: -16px; margin-right: -16px; padding: 0 16px 4px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding: 0 16px;
    scrollbar-width: none;
  }
  .services.grid3::-webkit-scrollbar, .builds::-webkit-scrollbar { display: none; }
  .services .svc { flex: 0 0 84%; height: 360px; padding: 0 22px 22px; scroll-snap-align: start; }
  .svc h3 { font-size: 22px; line-height: 27px; }
  .svc .more { margin-top: 12px; }
  .builds .build { flex: 0 0 58%; scroll-snap-align: start; }
  .swipe-hint { display: flex; align-items: center; gap: 8px; margin-top: 12px; font: 600 11.5px/16px var(--head); letter-spacing: 1px; text-transform: uppercase; color: var(--muted-strong); }
  .swipe-hint svg { width: 13px; height: 7px; color: var(--accent); }

  .roadcall__photo { min-height: 220px; }
  .roadcall__body { padding: 26px 20px 28px; }
  .roadcall__title { font-size: 26px; line-height: 30px; }

  /* six steps read as a compact numbered list */
  .steps { gap: 8px; }
  .steps li { padding: 14px 16px 16px; }
  .steps p { margin-top: 4px; }

  /* contact cards: shorter photo panels */
  .loc { height: 300px; padding: 0 20px 20px; }

  /* footer: wrap links into rows instead of a 44px-tall line each */
  .foot__cols { grid-template-columns: 1fr; row-gap: 28px; margin-top: 40px; padding-top: 40px; }
  .foot__cols ul { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 6px; }
  .foot__contact { display: grid !important; gap: 4px; }
  .foot__contact li + li { margin-top: 0; }
  .foot__claim { margin-top: 18px; }
  .news { margin-top: 28px; }
}
.swipe-hint { display: none; }

/* booking page: the summary and pay button follow the thumb */
.bookbar { display: none; }
@media (max-width: 1023px) {
  .bookbar:not([hidden]) {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line-mid);
    background: rgba(13, 13, 20, .97);
    box-shadow: 0 -10px 28px rgba(0, 0, 0, .45);
    transition: transform .32s var(--ease-out);
  }
  .bookbar.is-off { transform: translateY(110%); }
  .bookbar__sum { flex: 1; min-width: 0; margin: 0; }
  .bookbar__sum b, .bookbar__sum span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .bookbar__sum b { font: 600 14px/19px var(--head); text-transform: uppercase; color: var(--white); }
  .bookbar__sum span { font-size: 13px; line-height: 18px; color: var(--text); }
  .bookbar .btn { flex: none; height: 48px; padding: 0 18px; font-size: 13px; }
  .page-book .foot { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .book__step { scroll-margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) { .bookbar { transition: none; } }

@media (max-width: 1023px) { .slots { scroll-margin-bottom: 96px; } }

/* ---------- dashboard on a phone (2026-10-21) ---------- */
.adm__sticky { position: sticky; top: 0; z-index: 5; margin: 0 -16px; padding: 0 16px; background: var(--bg); }
.adm__filter { display: flex; gap: 8px; padding: 10px 0 12px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.adm__filter::-webkit-scrollbar { display: none; }
.adm__filter button {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--line-mid); background: var(--bg); color: var(--text);
  font: 600 12.5px/1 var(--head); letter-spacing: .4px; text-transform: uppercase; cursor: pointer;
}
.adm__filter button span { min-width: 20px; padding: 3px 6px; background: #26262e; color: var(--white); font-variant-numeric: tabular-nums; text-align: center; }
.adm__filter button[aria-pressed="true"] { border-color: var(--accent); background: rgba(227, 38, 43, .14); color: var(--white); }
.adm__filter button[aria-pressed="true"] span { background: var(--accent); }
.adm__filter button:focus-visible, .adm__tabs button:focus-visible { outline: 2px solid var(--white); outline-offset: -2px; }

.bk__contact svg { flex: none; }
.bk__lbl { display: none; }
.rp { gap: 0; padding: 0; }
.rp__sum { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; cursor: pointer; list-style: none; }
.rp__sum::-webkit-details-marker { display: none; }
.rp__sum::after { content: ""; flex: none; width: 8px; height: 8px; margin-left: 4px; border-right: 2px solid var(--muted-strong); border-bottom: 2px solid var(--muted-strong); transform: rotate(45deg) translateY(-2px); transition: transform .2s var(--ease-out); }
.rp[open] > .rp__sum::after { transform: rotate(-135deg) translateY(-2px); }
.rp__sumlabel { font: 600 12px/16px var(--head); letter-spacing: 1px; text-transform: uppercase; color: var(--muted-strong); }
.rp__sum b { flex: 1; min-width: 0; font: 600 14px/18px var(--head); text-transform: uppercase; color: var(--white); }
.rp__sumcode { font: 600 13px/1 var(--head); letter-spacing: 1.5px; color: var(--muted-strong); font-variant-numeric: tabular-nums; }
.rp__body { display: grid; gap: 12px; padding: 14px; border-top: 1px solid var(--line); }
.rp__sum:focus-visible, .bk__note summary:focus-visible { outline: 2px solid var(--white); outline-offset: -2px; }

@media (max-width: 639px) {
  .adm { padding: 16px 0 48px; }
  .adm__bar { gap: 12px; }
  .adm__logo { width: 72px; }
  .adm__title { font-size: 24px; line-height: 28px; }
  .adm__sub { margin-top: 2px; font-size: 13px; }
  .adm__banner { margin-top: 14px; }
  .adm__tabs { margin-top: 14px; }
  .adm__tabs button { flex: 1 1 0; padding: 0 8px; }
  .day { margin-top: 20px; }
  .bk { gap: 2px; padding: 14px; }
  .bk__time { font-size: 17px; line-height: 22px; color: var(--accent-text); }
  .bk__top h3 { font-size: 19px; }
  .bk__contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
  .bk__contact a { justify-content: center; min-height: 46px; border: 1px solid var(--line-mid); background: var(--bg); font: 600 12.5px/1 var(--head); letter-spacing: .4px; text-transform: uppercase; }
  .bk__contact a:active { background: #1c1c24; }
  .bk__lbl { display: inline; }
  .bk__val { display: none; }
  .bk__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bk__actions .btn { height: 48px; padding: 0 10px; font-size: 12.5px; }
  .bk__actions .btn:only-child, .bk__actions .btn:nth-child(3):last-child { grid-column: 1 / -1; }
  .rp { margin-top: 12px; }
  .chip--stage { flex: 1 1 calc(50% - 4px); }
  .chip--stage span { justify-content: center; width: 100%; min-height: 44px; }
  .rp .btn { justify-self: stretch; height: 48px; }
  .bk__note summary { min-height: 44px; line-height: 44px; }
  .closed-list li { min-height: 48px; }
  .adm__settings .btn-row .btn { flex: 1; height: 48px; }
}
@media (max-width: 639px) {
  .adm__filter { flex-wrap: wrap; gap: 6px; overflow: visible; }
  .adm__filter button { flex: 1 1 auto; justify-content: center; padding: 0 10px; font-size: 12px; }
  .rp__long { display: none; }
}
