/* Shared styles for In & Out Detailing pages (index.html, services.html). */
/* ------------------------------------------------------------------
   Tokens. Logo red, van-wrap blue, tire black. Neutrals lean blue.
   ------------------------------------------------------------------ */
:root {
  --ink-soft: oklch(0.3 0.015 260);
  --red: oklch(0.43 0.165 25);
  --red-deep: oklch(0.34 0.13 25);
  --red-hot: oklch(0.56 0.2 26);
  --paper: oklch(0.985 0.004 250);
  --rinse: oklch(0.925 0.035 255);
  --ink: oklch(0.19 0.012 260);
  --steel: oklch(0.45 0.02 260);
  --rule: oklch(0.19 0.012 260 / 0.16);
  --white: oklch(0.995 0.002 250);

  --serif: "Old Standard TT", "Times New Roman", serif;
  --sans: "Open Sans", system-ui, sans-serif;

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

  --gutter: 1.125rem;
  --bar: 3.75rem; /* mobile action bar */
  --head: 3.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--head);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom));
  overflow-x: clip;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
.wrap {
  width: 100%;
  max-width: 84rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.label {
  font: 800 0.75rem/1.2 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:not(:focus) {
  position: absolute;
  left: -999px;
}
.skip {
  position: fixed;
  z-index: 200;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--white);
}
:focus-visible {
  outline: 3px solid var(--red-hot);
  outline-offset: 3px;
}

/* Buttons: sharp, heavy, signage-like */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.4rem;
  border: 2px solid currentColor;
  font: 800 0.875rem/1 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.2s var(--ease),
    color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.btn--red {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.btn--red:hover {
  background: var(--ink);
  border-color: var(--ink);
}
.btn--ink {
  color: var(--ink);
}
.btn--ink:hover {
  background: var(--ink);
  color: var(--white);
}
.btn--white {
  background: var(--white);
  border-color: var(--white);
  color: var(--red);
}
.btn--white:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.btn--ghost {
  color: var(--white);
}
.btn--ghost:hover {
  background: var(--white);
  color: var(--red);
}
/* Long labels may wrap on small screens instead of overflowing. */
.btn--wrap {
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  padding-block: 0.6rem;
}
@media (max-width: 39.99rem) {
  .promo .btns .btn.btn--wrap {
    flex-basis: 100%;
  }
}
.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

/* ------------------------------------------------------------------
   Header
   ------------------------------------------------------------------ */
.head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--head);
}
.brand {
  display: block;
  color: var(--red);
  line-height: 0;
}
.brand svg {
  width: 8.5rem;
  height: auto;
}
.nav {
  display: none;
}
.head__cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.head__phone {
  display: none;
  font-weight: 800;
  text-decoration: none;
}
.head .btn {
  min-height: 2.75rem;
  padding: 0 1rem;
  font-size: 0.8125rem;
}

/* Mobile action bar */
.bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--white);
  border-top: 1px solid var(--rule);
}
.bar a {
  display: grid;
  place-items: center;
  height: var(--bar);
  font: 800 0.9375rem/1 var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.bar a + a {
  background: var(--red);
  color: var(--white);
}

/* ------------------------------------------------------------------
   Intro: red comes in from both sides, goes out, logo docks.
   ------------------------------------------------------------------ */
.intro-layer {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow: hidden;
  cursor: pointer;
}
.intro-layer .sheet {
  position: absolute;
  inset: 0;
  background: var(--paper);
}
.intro-layer .side {
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(50% + 12vmin);
  background: var(--red);
}
.intro-layer .side--l {
  left: 0;
  clip-path: polygon(0 0, calc(100% - 12vmin) 0, 100% 50%, calc(100% - 12vmin) 100%, 0 100%);
  transform: translateX(-102%);
}
.intro-layer .side--r {
  right: 0;
  clip-path: polygon(12vmin 0, 100% 0, 100% 100%, 12vmin 100%, 0 50%);
  transform: translateX(102%);
}
.intro-logo {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 101;
  width: min(86vw, 46rem);
  color: var(--white);
  transform: translate(-50%, -50%);
  transform-origin: 0 0;
  pointer-events: none;
  transition: color 0.3s var(--ease-io);
}
.intro-logo svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.intro .head .brand {
  opacity: 0;
}

/* Logo assembly */
.assemble .arrow-l,
.assemble .arrow-r,
.assemble .word,
.assemble .amp,
.assemble .llc {
  transform-box: fill-box;
}
.assemble .arrow-l {
  transform-origin: left center;
  animation: draw 0.4s var(--ease) 0.33s both;
}
.assemble .arrow-r {
  transform-origin: right center;
  animation: draw 0.4s var(--ease) 0.33s both;
}
.assemble .word {
  transform-origin: center bottom;
  animation: pop 0.34s var(--ease) both;
}
.assemble .amp {
  transform-origin: center;
  animation: seat 0.34s var(--ease) 0.67s both;
}
.assemble .llc {
  animation: fade 0.27s var(--ease) 0.77s both;
}
@keyframes draw {
  from {
    transform: scaleX(0);
  }
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(30%);
  }
}
@keyframes seat {
  from {
    opacity: 0;
    transform: scale(2.2) rotate(-10deg);
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
}

/* Elements that build in after the intro (or straight away). */
.js .build {
  opacity: 0;
  transform: translateY(1.5rem);
}
.js .build--l {
  transform: translateX(-12%);
}
.js .build--r {
  transform: translateX(12%);
}
.ready .build {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}

/* Generic scroll reveal */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(2rem);
  transition:
    opacity 0.7s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js [data-reveal].on {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------ */
.hero__top {
  padding: 1.75rem 0 2rem;
  /* Foamed BMW from Stephon's shop, washed back so the headline stays readable. */
  background:
    linear-gradient(oklch(0.985 0.004 250 / 0.8), oklch(0.985 0.004 250 / 0.8)),
    url("../img/web/foam-bmw.jpg") 70% center / cover no-repeat,
    var(--paper);
}
.hero__kicker {
  color: var(--steel);
}
.hero h1 {
  margin-top: 0.75rem;
  font-size: clamp(3.1rem, 15vw, 10.5rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
}
.hero h1 em {
  font-style: normal;
  color: var(--red);
}
.hero__row {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.hero__lede {
  max-width: 34ch;
  font-size: 1.125rem;
  color: var(--steel);
}
.hero__trust {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero__bbb {
  flex: none;
  height: 4.25rem;
  width: auto;
}
.hero__addr {
  display: block;
  margin-top: 0.4rem;
  font-weight: 800;
  color: var(--red);
  text-decoration: none;
}
.hero__addr:hover {
  text-decoration: underline;
}
.hero__lede strong {
  color: var(--ink);
}
.hero .btns .btn {
  flex: 1 1 10rem;
}

.doors {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-top: 1.25rem;
}
.door {
  position: relative;
  display: block;
  overflow: hidden;
  color: var(--white);
  text-decoration: none;
  aspect-ratio: 3 / 4.4;
  background: var(--ink);
}
.door img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.door:hover img {
  transform: scale(1.04);
}
.door__tag {
  position: absolute;
  inset: auto 0 0;
  padding: 3.5rem 0.875rem 0.875rem;
  background: linear-gradient(to top, oklch(0.15 0.01 260 / 0.9), transparent);
}
.door__tag b {
  display: block;
  font: 700 clamp(1.5rem, 6.4vw, 3.25rem)/1 var(--serif);
  letter-spacing: -0.01em;
}
.door__tag span {
  display: block;
  margin-top: 0.4rem;
  font: 800 0.75rem/1.2 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: oklch(0.9 0.02 255);
}
/* The ampersand at the seam, from the logo */
.doors__seam {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin: -1.625rem 0 0 -1.625rem;
  background: var(--red);
  color: var(--white);
  /* Same heavy ampersand as the logo. */
  font: 900 1.75rem/1 "Arial Black", "Arial Bold", Arial, sans-serif;
}

/* ------------------------------------------------------------------
   Promo. Type only, the one loud red block on the page.
   Set hidden on the section, or data-ends, when nothing runs.
   ------------------------------------------------------------------ */
.promo {
  margin-top: 3rem;
  background: var(--red);
  color: var(--white);
}
.promo[hidden] {
  display: none;
}
/* Carousel: one slide per offer, swipe or use the dots. */
.promo__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.promo__track::-webkit-scrollbar {
  display: none;
}
.promo__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.promo {
  position: relative;
}
.promo__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding-top: 1.5rem;
  padding-bottom: 1.25rem;
}
.promo__nav[hidden] {
  display: none;
}
.promo__dots {
  display: flex;
  gap: 0.25rem;
}
.promo__arrow {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 2px solid var(--white);
  background: none;
  color: var(--white);
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease),
    color 0.2s var(--ease);
}
.promo__arrow svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
}
.promo__arrow:hover {
  background: var(--white);
  color: var(--red);
}
.promo__dots button {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.promo__dots button::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border: 2px solid var(--white);
  border-radius: 50%;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.promo__dots button[aria-selected="true"]::before {
  background: var(--white);
  transform: scale(1.15);
}
/* No gap when the promo opens the page (services.html). */
main > .promo:first-child {
  margin-top: 0 !important;
}
.promo__in {
  display: grid;
  gap: 1.25rem;
  padding-block: 1.75rem 2rem;
}
/* Phones: headline, then flyer, then prices and buttons. */
.promo__in > div:last-child {
  order: 2;
}
/* Event flyer or promo visual. Remove the .promo__flyer link when an offer has no image. */
.promo__flyer {
  display: block;
  order: 1;
  justify-self: start;
  width: min(100%, 22rem);
  border: 3px solid var(--white);
  box-shadow: 0 18px 40px -16px oklch(0 0 0 / 0.5);
}
.promo__flyer img {
  width: 100%;
  height: auto;
}
.promo__head h2 {
  margin-top: 0.5rem;
  font-size: clamp(3.4rem, 16vw, 7.5rem);
  line-height: 0.95;
}
.promo__head .label {
  color: oklch(0.88 0.05 30);
}
.promo__prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-block: 1px solid oklch(1 0 0 / 0.3);
}
.promo__price {
  padding: 0.75rem 0;
}
.promo__price + .promo__price {
  padding-left: 1rem;
  border-left: 1px solid oklch(1 0 0 / 0.3);
}
.promo__price b {
  display: block;
  font: 700 clamp(3.25rem, 17vw, 6.5rem)/0.9 var(--serif);
  letter-spacing: -0.03em;
  font-variant-numeric: lining-nums;
}
.promo__price b sup {
  font-size: 0.45em;
  vertical-align: 0.9em;
  margin-right: 0.04em;
}
.promo__price span {
  display: block;
  margin-top: 0.35rem;
  font: 800 0.75rem/1.3 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.promo__incl {
  font-size: 0.9375rem;
  color: oklch(0.94 0.02 30);
}
.promo__incl b {
  color: var(--white);
}
.promo .btns {
  margin-top: 1.25rem;
}
.promo .btns .btn {
  flex: 1 1 9rem;
}

/* ------------------------------------------------------------------
   Section heads
   ------------------------------------------------------------------ */
.sec {
  padding-block: 4.5rem;
}
.sec__title {
  font-size: clamp(2.6rem, 11vw, 7rem);
  line-height: 0.92;
}
.sec__lede {
  margin-top: 1rem;
  max-width: 40ch;
  font-size: 1.125rem;
  color: var(--steel);
}
.kick {
  display: block;
  margin-bottom: 0.875rem;
  color: var(--red);
}

/* ------------------------------------------------------------------
   Proof: drag the red line to compare.
   ------------------------------------------------------------------ */
.cmp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  margin-top: 2rem;
}
.pair {
  margin: 0;
}
.pair figcaption {
  margin-top: 0.6rem;
}
.pair figcaption b {
  display: block;
  font: 700 1.25rem/1.1 var(--serif);
}
.pair figcaption span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--steel);
}
.cmp {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--ink);
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  --x: 50%;
}
.cmp img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.cmp .before {
  clip-path: inset(0 calc(100% - var(--x)) 0 0);
}
.cmp .line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--x);
  z-index: 2;
  width: 3px;
  margin-left: -1.5px;
  background: var(--red);
  pointer-events: none;
}
.cmp .knob {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 2.5rem;
  background: var(--red);
  box-shadow: 0 6px 16px oklch(0 0 0 / 0.35);
  transform: translate(-50%, -50%);
}
.cmp .knob svg {
  width: 2.6rem;
  height: 1.25rem;
  fill: var(--white);
}
.cmp .tag {
  position: absolute;
  top: 0.75rem;
  z-index: 1;
  padding: 0.4rem 0.6rem;
  font-size: 0.75rem;
  color: var(--white);
}
.cmp .tag--b {
  left: 0.75rem;
  background: var(--ink);
}
.cmp .tag--a {
  right: 0.75rem;
  background: var(--red);
}
.cmp input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.cmp:has(input:focus-visible) .knob {
  outline: 3px solid var(--white);
  outline-offset: 2px;
}

/* ------------------------------------------------------------------
   Price boards
   ------------------------------------------------------------------ */
.prices .sec__lede {
  color: var(--ink-soft);
}
.prices .sec__lede strong {
  font-weight: 700;
  color: var(--ink);
}
.prices {
  /* Stephon's bubble design, washed back so text stays readable. */
  background:
    linear-gradient(oklch(0.97 0.015 255 / 0.55), oklch(0.97 0.015 255 / 0.55)),
    url("../img/web/bubbles.jpg") center top / 1100px auto repeat,
    var(--rinse);
}
.boards {
  display: grid;
  gap: 3.5rem;
  margin-top: 2.5rem;
}
.board {
  display: flex;
  flex-direction: column;
  border-top: 6px solid var(--ink);
  padding: 1.25rem 1.25rem 1.5rem;
  /* Light backing so text stays readable over the bubble background. */
  background: oklch(0.985 0.004 250 / 0.82);
}
.board__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.board__head h3 {
  font-size: clamp(2rem, 8.5vw, 3.5rem);
  line-height: 1;
}
.board__head span {
  color: var(--steel);
  white-space: nowrap;
}
.menu {
  width: 100%;
  margin-top: 1.25rem;
  border-collapse: collapse;
}
.menu th,
.menu td {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}
.menu thead th {
  padding-block: 0.5rem;
  color: var(--steel);
}
.menu .num {
  width: 3.6rem;
  padding-left: 0.4rem;
  text-align: right;
  font: 700 1.125rem/1.2 var(--serif);
  font-variant-numeric: lining-nums tabular-nums;
}
.menu thead .num {
  font: 800 0.6875rem/1.2 var(--sans);
  letter-spacing: 0.1em;
}
.menu tbody th {
  font-weight: 700;
  padding-right: 0.75rem;
}
.menu tbody th small {
  display: block;
  margin-top: 0.25rem;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--steel);
}
.menu .hl th,
.menu .hl td {
  color: var(--red);
}
/* Auto board: one big starting price per package */
.from {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.from li {
  border-bottom: 1px solid var(--rule);
}
.from a,
.from__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  text-decoration: none;
}
.from__name b {
  display: block;
  font-weight: 700;
}
.from__name small {
  display: block;
  margin-top: 0.25rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.from__price {
  flex: none;
  text-align: right;
}
.from__price small {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.6875rem;
  color: var(--ink-soft);
}
.from__price b {
  display: block;
  font: 700 clamp(2rem, 9vw, 2.75rem)/1 var(--serif);
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums;
}
.from__unit {
  font: 700 1rem var(--sans);
  letter-spacing: 0;
}
.from .hl b,
.from .hl .from__price small {
  color: var(--red);
}
.from a:hover .from__name b {
  color: var(--red);
}
.board__note {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--ink-soft);
}
.board__note b {
  color: var(--ink);
}
.board .btns {
  margin-top: auto;
  padding-top: 1.5rem;
}
.board .btns .btn {
  flex: 1 1 10rem;
}
/* ------------------------------------------------------------------
   Lineup: cars drive across as you scroll.
   Without JS it is a swipeable row.
   ------------------------------------------------------------------ */
.lineup {
  background: var(--ink);
  color: var(--white);
  padding-block: 4.5rem 3rem;
}
.lineup .sec__lede {
  color: oklch(0.8 0.02 255);
}
.lineup .kick {
  color: var(--red-hot);
}
.chev.chev--light {
  border-color: var(--white);
  color: var(--white);
}
.chev.chev--light:hover:not(:disabled) {
  background: var(--white);
  color: var(--ink);
}
/* Same one-row pattern as the reviews. */
.lineup__row {
  display: flex;
  column-gap: 1.25rem;
  margin-top: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.lineup__row::-webkit-scrollbar {
  display: none;
}
.car {
  flex: 0 0 86%;
  margin: 0;
  scroll-snap-align: start;
}
.car img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
@media (min-width: 48rem) {
  .car {
    flex-basis: calc((100% - 1.25rem) / 2);
  }
}
@media (min-width: 64rem) {
  .lineup__row {
    column-gap: 2.5rem;
    margin-top: 3rem;
  }
  .car {
    flex-basis: calc((100% - 5rem) / 3);
  }
}
.car figcaption {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  margin-top: 0.75rem;
  font: 700 1.25rem/1.1 var(--serif);
}
.car figcaption span {
  color: var(--red-hot);
  font-size: 0.9375rem;
}

/* ------------------------------------------------------------------
   Commercial: ink panels sweep in from both sides, then a wall of
   the businesses we serve.
   ------------------------------------------------------------------ */
.biz {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  /* Same bubble design as Prices and Visit. */
  background:
    linear-gradient(oklch(0.97 0.015 255 / 0.55), oklch(0.97 0.015 255 / 0.55)),
    url("../img/web/bubbles.jpg") center top / 1100px auto repeat,
    var(--rinse);
}
.biz__side {
  display: none;
}
.biz__in {
  position: relative;
}
/* All copy sits on a light panel so it reads cleanly over the bubbles. */
.biz__grid {
  background: oklch(0.985 0.004 250 / 0.85);
  border-top: 6px solid var(--ink);
}
.biz__copy {
  padding: 1.5rem 1.25rem 1.75rem;
}
.js .biz__copy {
  opacity: 0;
  transform: translateX(-6%);
  transition:
    opacity 0.7s var(--ease) 0.1s,
    transform 0.9s var(--ease) 0.1s;
}
.js .biz.on .biz__copy {
  opacity: 1;
  transform: none;
}
.biz .kick {
  color: var(--red);
}
.js .biz .biz__more {
  opacity: 0;
  transition: opacity 0.6s var(--ease) 0.7s;
}
.js .biz.on .biz__more {
  opacity: 1;
}
.rot {
  display: flex;
  align-items: center;
  gap: 0.2em;
  font: 700 clamp(2.8rem, 12vw, 6rem)/1 var(--serif);
  letter-spacing: -0.03em;
}
.rot svg {
  flex: none;
  width: 0.9em;
  height: 0.34em;
  fill: var(--red);
  transform-origin: left center;
}
.js .rot svg {
  transform: scaleX(0);
  transition: transform 0.6s var(--ease) 0.35s;
}
.js .biz.on .rot svg {
  transform: none;
}
.wall {
  position: relative;
  flex: 1;
  height: 1.15em;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}
.wall li {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  color: var(--ink);
  transform: translateY(150%);
  transition: transform 0.7s var(--ease);
}
.wall li:nth-child(even) {
  color: var(--red);
}
.wall li.is-on {
  transform: none;
}
.wall li.was {
  transform: translateY(-150%);
}
.biz__photo {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.biz__photo[hidden] {
  display: none;
}
/* Photo wipes in from the right as the panels land, then settles. */
.js .biz__photo {
  clip-path: inset(0 0 0 100%);
  transition: clip-path 1s var(--ease) 0.6s;
}
.js .biz__photo img,
.js .biz__photo video {
  transform: scale(1.15);
  transition: transform 1.6s var(--ease) 0.6s;
}
.js .biz.on .biz__photo {
  clip-path: inset(0);
}
.js .biz.on .biz__photo img,
.js .biz.on .biz__photo video {
  transform: none;
}
.biz__grid:has(.biz__photo[hidden]) {
  grid-template-columns: 1fr;
}
.biz__photo img,
.biz__photo video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Portrait phone video: taller frame on phones so less is cropped. */
.biz__photo:has(video) {
  aspect-ratio: 4 / 5;
  background: var(--ink);
}
/* Tablet and small laptop: video beside the copy, smaller headline so it fits. */
@media (min-width: 48rem) and (max-width: 63.99rem) {
  .biz__grid:has(video) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34vw;
  }
  .biz__photo:has(video) {
    aspect-ratio: auto;
    height: 100%;
  }
  .biz__grid:has(video) .rot {
    font-size: 5.5vw;
  }
}
.biz__lede {
  margin-top: 1.75rem;
  max-width: 42ch;
  font-size: 1.125rem;
  color: var(--ink-soft);
}
.biz__list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: biz;
  border-top: 1px solid var(--rule);
}
.biz__list li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 0.25rem 0.75rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
  counter-increment: biz;
}
.biz__list li::before {
  content: "0" counter(biz);
  grid-row: span 2;
  font: 700 1.5rem/1 var(--serif);
  color: var(--red);
}
.biz__list b {
  font: 700 1.5rem/1.1 var(--serif);
}
.biz__list span {
  color: var(--ink-soft);
}
.biz__trust {
  margin-top: 1.5rem;
  color: var(--ink-soft);
}
.biz .btns {
  margin-top: 1.5rem;
}
.biz .btns .btn {
  flex: 1 1 12rem;
}

/* Commercial banner: sits on the section's own bubbles, above the panel. */
.bizlink {
  margin: 0 0 1.75rem;
  color: var(--ink);
}
.bizlink b {
  display: block;
  font: 700 clamp(2.25rem, 9vw, 4.5rem)/0.95 var(--serif);
  letter-spacing: -0.02em;
}

/* ------------------------------------------------------------------
   Visit
   ------------------------------------------------------------------ */
.visit {
  /* Stephon's bubble design, washed back so text stays readable. */
  background:
    linear-gradient(oklch(0.97 0.015 255 / 0.55), oklch(0.97 0.015 255 / 0.55)),
    url("../img/web/bubbles.jpg") center top / 1100px auto repeat,
    var(--rinse);
}
/* Shop and van side by side. */
.visit__img {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin: 2rem calc(var(--gutter) * -1) 0;
}
.visit__img figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.visit__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Keep the van, not the sky, in the frame. */
.visit__img .van {
  object-position: 50% 78%;
}
.visit__img figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 0.5rem 0.75rem;
  background: var(--ink);
  color: var(--white);
}
/* Address and actions on one row under the photos. */
.visit__row {
  margin-top: 1.5rem;
}
.visit address {
  font: 700 1.5rem/1.3 var(--serif);
  font-style: normal;
}
.visit .btns {
  margin-top: 1.25rem;
}
.visit .btns .btn {
  flex: 1 1 10rem;
}

/* ------------------------------------------------------------------
   Book
   ------------------------------------------------------------------ */
.book__phone {
  display: block;
  margin-top: 1.25rem;
  font: 700 clamp(2.9rem, 13.5vw, 9.5rem)/0.9 var(--serif);
  letter-spacing: -0.03em;
  color: var(--red);
  text-decoration: none;
  font-variant-numeric: lining-nums;
  white-space: nowrap;
}
.book__phone:hover {
  color: var(--ink);
}
.book .btns {
  margin-top: 1.75rem;
}
.book .btns .btn {
  flex: 1 1 10rem;
}
.contacts {
  margin: 2.5rem 0 0;
  border-top: 6px solid var(--ink);
}
.contacts div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--rule);
}
.contacts dt {
  color: var(--steel);
  align-self: center;
}
.contacts dd {
  margin: 0;
  font-weight: 700;
}
.contacts a {
  text-decoration: none;
}
.contacts a:hover {
  color: var(--red);
}
.bbb {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  color: var(--steel);
}
.bbb img {
  height: 4.5rem;
  width: auto;
}

.foot {
  background: var(--ink);
  color: oklch(0.78 0.02 255);
  font-size: 0.875rem;
}
.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 2rem;
}
.foot nav {
  display: flex;
  gap: 1.5rem;
  font-weight: 700;
}
.foot a {
  text-decoration: none;
}
.foot a:hover {
  color: var(--white);
}

/* ------------------------------------------------------------------
   Larger screens
   ------------------------------------------------------------------ */
@media (min-width: 40rem) {
  :root {
    --gutter: 2rem;
  }
  .cmp-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
  }
  .head__phone {
    display: inline;
  }
  .door__tag {
    padding: 5rem 1.5rem 1.5rem;
  }
  .menu .num {
    width: 5rem;
    font-size: 1.75rem;
  }
}

@media (min-width: 64rem) {
  :root {
    --bar: 0rem;
    --head: 4.5rem;
  }
  body {
    padding-bottom: 0;
  }
  .bar {
    display: none;
  }
  .brand svg {
    width: 11rem;
  }
  .nav {
    display: flex;
    gap: 1.75rem;
    font-weight: 700;
    font-size: 0.9375rem;
  }
  .nav a {
    text-decoration: none;
    white-space: nowrap;
    color: var(--steel);
    transition: color 0.2s var(--ease);
  }
  .head__phone {
    white-space: nowrap;
  }
  .nav a:hover {
    color: var(--red);
  }
  .head .btn {
    min-height: 3rem;
    padding: 0 1.4rem;
  }
  .hero__top {
    padding: 3rem 0;
    /* Text side stays light; the car shows through on the right. */
    background:
      linear-gradient(90deg, oklch(0.985 0.004 250 / 0.9) 30%, oklch(0.985 0.004 250 / 0.45)),
      url("../img/web/foam-bmw.jpg") right center / cover no-repeat,
      var(--paper);
  }
  .hero__row {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 3rem;
    margin-top: 2rem;
  }
  .hero .btns .btn {
    flex: none;
  }
  .doors {
    margin-top: 2rem;
  }
  .door {
    aspect-ratio: 4 / 3.1;
  }
  .doors__seam {
    top: 50%;
    width: 4.5rem;
    height: 4.5rem;
    margin: -2.25rem 0 0 -2.25rem;
    font-size: 2.25rem;
  }
  .promo {
    margin-top: 4rem;
  }
  .promo__in {
    grid-template-columns: 1.3fr 1fr;
  }
  .promo__in:has(.promo__flyer) {
    grid-template-columns: 22rem minmax(0, 1fr);
    grid-template-areas: "flyer head" "flyer body";
    row-gap: 2.25rem;
    padding-inline: calc(var(--gutter) + 3.5rem + 3.5rem);
  }
  .promo__in:has(.promo__flyer) .promo__flyer {
    grid-area: flyer;
    align-self: center;
  }
  .promo__in:has(.promo__flyer) .promo__head {
    grid-area: head;
    align-self: end;
  }
  .promo__in:has(.promo__flyer) > div:last-child {
    grid-area: body;
    align-self: start;
  }
  .promo__in:has(.promo__flyer) .promo__head h2 {
    font-size: clamp(2.6rem, 3.6vw, 4rem);
  }
  .promo__in:has(.promo__flyer) .promo__prices {
    display: flex;
    gap: 0;
  }
  .promo__in:has(.promo__flyer) .promo__price:first-child {
    padding-left: 0;
    border-left: 0;
  }
  .promo__in:has(.promo__flyer) .promo__price {
    padding-right: 2rem;
  }
  /* Center on the slide (flyer + text), not the section: leave out the dots row
     below (1.5rem + 2.75rem + 1.25rem = 5.5rem). */
  .promo__arrow--prev,
  .promo__arrow--next {
    position: absolute;
    top: calc((100% - 5.5rem) / 2 - 1.75rem);
    width: 3.5rem;
    height: 3.5rem;
  }
  .promo__arrow--prev {
    left: max(var(--gutter), calc((100vw - 84rem) / 2 + var(--gutter)));
  }
  .promo__arrow--next {
    right: max(var(--gutter), calc((100vw - 84rem) / 2 + var(--gutter)));
  }
  .promo__flyer {
    order: 0;
    width: 100%;
  }
  .promo__in > div:last-child {
    order: 0;
  }
  .promo__in {
    align-items: center;
    gap: 3rem;
    padding-block: 2.25rem;
  }
  .promo__prices {
    border-block: 0;
  }
  .promo__price {
    padding: 0 0 0 2rem;
    border-left: 1px solid oklch(1 0 0 / 0.3);
  }
  .promo__price + .promo__price {
    padding-left: 2rem;
  }
  .promo .btns .btn {
    flex: none;
  }
  .sec {
    padding-block: 7.5rem;
  }
  .cmp-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
    margin-top: 3rem;
  }
  .cmp .knob {
    width: 3.5rem;
    height: 2.5rem;
  }
  .cmp .knob svg {
    width: 2.6rem;
    height: 1.25rem;
  }
  .cmp .tag {
    top: 0.75rem;
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
  }
  .cmp .tag--b {
    left: 0.75rem;
  }
  .cmp .tag--a {
    right: 0.75rem;
  }
  .boards {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-top: 3.5rem;
  }
  .board {
    padding: 2rem 2rem 2.25rem;
  }
  .board .btns .btn {
    flex: none;
  }
  .biz__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
  }
  .biz__photo {
    aspect-ratio: auto;
    height: 100%;
    min-height: 32rem;
  }
  /* Flush to the panel's top, right and bottom; a narrow column keeps it laptop-sized. */
  .biz__grid:has(video) { grid-template-columns: minmax(0, 1fr) min(26rem, 32vw); }
  .biz__photo:has(video) { aspect-ratio: auto; height: 100%; min-height: 0; }
  .biz__copy {
    padding: 2.5rem;
  }
  .biz .btns .btn {
    flex: none;
  }
  .bizlink {
    margin-bottom: 2.5rem;
  }
  .visit__img {
    gap: 2rem;
    margin: 2.5rem 0 0;
  }
  .visit__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    margin-top: 2rem;
  }
  .visit .btns {
    margin-top: 0;
  }
  .visit .btns .btn,
  .book .btns .btn {
    flex: none;
  }
  .book .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: end;
  }
  /* Size the big number to its column, not the window, so it never pushes the contact list off screen. */
  .book .sec__title {
    font-size: clamp(3rem, 5.6vw, 5.75rem);
  }
  .book__phone {
    font-size: clamp(3rem, 6.2vw, 5.75rem);
  }
  .contacts {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .build,
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .js .biz__photo,
  .js .biz__photo img {
    clip-path: none;
    transform: none;
  }
  .js .biz__side,
  .js .rot svg {
    transform: none;
  }
  .js .biz__copy,
  .js .biz .biz__more {
    opacity: 1;
    transform: none;
  }
}

/* Small laptops: six nav links plus the phone need tighter spacing. */
@media (min-width: 64rem) and (max-width: 79.99rem) {
  .nav {
    gap: 1.1rem;
    font-size: 0.875rem;
  }
  .head__cta {
    gap: 0.4rem;
  }
}

/* ------------------------------------------------------------------
   Mobile menu
   ------------------------------------------------------------------ */
.menu-btn {
  display: grid;
  place-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 2px solid var(--ink);
  background: none;
  cursor: pointer;
}
.menu-btn i {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.head.menu-open .menu-btn i:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.head.menu-open .menu-btn i:nth-child(2) {
  opacity: 0;
}
.head.menu-open .menu-btn i:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (max-width: 63.99rem) {
  .head.menu-open .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    padding: 0.5rem var(--gutter) 1.5rem;
    background: var(--paper);
    border-bottom: 6px solid var(--ink);
    box-shadow: 0 30px 40px -20px oklch(0.19 0.012 260 / 0.35);
    max-height: calc(100svh - var(--head));
    overflow-y: auto;
  }
  .head.menu-open .nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--rule);
    font: 700 1.75rem/1.1 var(--serif);
    color: var(--ink);
    text-decoration: none;
  }
  .head.menu-open .nav a::after {
    content: "";
    width: 1.6rem;
    height: 0.6rem;
    background: var(--red);
    clip-path: polygon(0 30%, 60% 30%, 60% 0, 100% 50%, 60% 100%, 60% 70%, 0 70%);
  }
}
@media (min-width: 64rem) {
  .menu-btn {
    display: none;
  }
  .head__cta {
    gap: 1rem;
  }
}

/* ------------------------------------------------------------------
   Google reviews
   ------------------------------------------------------------------ */
.reviews {
  border-top: 1px solid var(--rule);
}
.reviews__head {
  display: grid;
  gap: 1.5rem;
}
.rating {
  display: inline-grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.15rem 0.9rem;
  justify-self: start;
  padding: 1rem 1.25rem;
  border: 2px solid var(--ink);
  text-decoration: none;
}
.rating b {
  grid-row: span 2;
  font: 700 3.25rem/1 var(--serif);
  font-variant-numeric: lining-nums;
}
.rating__stars,
.review__stars {
  color: var(--red);
  letter-spacing: 0.12em;
}
.rating__count {
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rating:hover {
  background: var(--ink);
  color: var(--white);
}
.rating:hover .rating__stars {
  color: var(--red-hot);
}
/* One row; swipe on phones, chevrons everywhere. */
.reviews__list {
  display: flex;
  column-gap: 1.25rem;
  margin-top: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.reviews__list::-webkit-scrollbar {
  display: none;
}
.review {
  flex: 0 0 86%;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 1.5rem 0 0.5rem;
  border-top: 6px solid var(--ink);
  scroll-snap-align: start;
}
.review__stars {
  font-size: 1rem;
}
.review blockquote {
  margin: 0.75rem 0 0;
  font: 700 1.3rem/1.35 var(--serif);
  letter-spacing: -0.005em;
}
.review figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.6rem;
  margin-top: auto;
  padding-top: 1rem;
}
.review figcaption b {
  font-weight: 800;
}
.review figcaption span {
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.review figcaption span::before {
  content: "· ";
}
.reviews__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
}
.reviews__nav {
  display: flex;
  gap: 0.5rem;
}
.chev {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 2px solid var(--ink);
  background: none;
  color: var(--ink);
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease),
    color 0.2s var(--ease);
}
.chev svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
}
.chev:hover:not(:disabled) {
  background: var(--ink);
  color: var(--white);
}
.chev:disabled {
  opacity: 0.3;
  cursor: default;
}
@media (min-width: 48rem) {
  .review {
    flex-basis: calc((100% - 1.25rem) / 2);
  }
}
@media (min-width: 64rem) {
  .reviews__head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
  .reviews__list {
    column-gap: 2.5rem;
    margin-top: 3rem;
  }
  .review {
    flex-basis: calc((100% - 5rem) / 3);
  }
}

/* ------------------------------------------------------------------
   Lightbox for promo flyers
   ------------------------------------------------------------------ */
.promo__flyer {
  cursor: zoom-in;
}
.lightbox {
  width: min(92vw, 40rem);
  max-height: 92svh;
  padding: 0;
  border: 0;
  background: none;
  overflow: visible;
}
.lightbox::backdrop {
  background: oklch(0.12 0.01 260 / 0.85);
}
.lightbox img {
  display: block;
  width: 100%;
  max-height: 88svh;
  height: auto;
  object-fit: contain;
  border: 3px solid var(--white);
}
.lightbox__close {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: var(--red);
  color: var(--white);
  font: 700 1.75rem/1 var(--sans);
  cursor: pointer;
}
.lightbox__close:hover {
  background: var(--ink);
}

/* ------------------------------------------------------------------
   Blog: index, post pages and the home teaser.
   ------------------------------------------------------------------ */
.blog-hero {
  padding-block: 2.5rem 2.75rem;
  background:
    linear-gradient(oklch(0.97 0.015 255 / 0.55), oklch(0.97 0.015 255 / 0.55)),
    url("../img/web/bubbles.jpg") center top / 1100px auto repeat,
    var(--rinse);
}
.blog-hero h1 {
  font-size: clamp(2.9rem, 13vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}
.blog-hero .sec__lede {
  color: var(--ink-soft);
}
.posts {
  display: grid;
  gap: 2.5rem;
  margin-top: 2rem;
}
.post-card a {
  display: block;
  text-decoration: none;
}
.post-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink);
}
.post-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.post-card a:hover .post-card__img img {
  transform: scale(1.04);
}
.post-card .label {
  display: block;
  margin-top: 1rem;
  color: var(--red);
}
.post-card h2,
.post-card h3 {
  margin-top: 0.5rem;
  font-size: clamp(1.6rem, 6vw, 2.25rem);
  line-height: 1.05;
}
.post-card a:hover h2,
.post-card a:hover h3 {
  color: var(--red);
}
.post-card p {
  margin-top: 0.6rem;
  max-width: 52ch;
  color: var(--steel);
}
.blog-teaser .btns {
  margin-top: 2.5rem;
}

/* Post page */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  color: var(--steel);
}
.crumbs li + li::before {
  content: "/";
  margin-right: 0.5rem;
}
.crumbs a {
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--red);
}
.post-meta {
  margin-top: 1.25rem;
  color: var(--ink-soft);
}
.prose {
  max-width: 44rem;
  padding-block: 2.5rem 1rem;
  font-size: 1.125rem;
  line-height: 1.7;
}
.prose > * + * {
  margin-top: 1.25rem;
}
.prose h2 {
  margin-top: 3rem;
  font-size: clamp(2rem, 7vw, 2.75rem);
  line-height: 1;
}
.prose h3 {
  margin-top: 2rem;
  font-size: 1.5rem;
  line-height: 1.15;
}
.prose h2 + *,
.prose h3 + * {
  margin-top: 0.75rem;
}
.prose ul,
.prose ol {
  padding: 0;
  list-style: none;
}
.prose ol {
  counter-reset: step;
}
.prose li {
  position: relative;
  padding-left: 1.75rem;
}
.prose li + li {
  margin-top: 0.6rem;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 1rem;
  height: 0.38rem;
  background: var(--red);
  clip-path: polygon(0 30%, 60% 30%, 60% 0, 100% 50%, 60% 100%, 60% 70%, 0 70%);
}
.prose ol li {
  counter-increment: step;
}
.prose ol li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  font: 700 1rem/1.7 var(--serif);
  color: var(--red);
}
.prose a {
  color: var(--red);
  font-weight: 700;
}
.prose strong {
  color: var(--ink);
}
.prose figure {
  margin-inline: 0;
}
.prose figure > img {
  width: 100%;
  height: auto;
}
.prose figcaption {
  margin-top: 0.6rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--steel);
}
.prose .pair,
.prose figure.tall {
  max-width: 30rem;
}
/* Quick-answer box: same blue callout as the services page. */
.tip {
  padding: 1rem 1.15rem;
  background: var(--rinse);
  border-left: 4px solid oklch(0.45 0.12 255);
  font-size: 1rem;
  line-height: 1.6;
}
.tip b:first-child {
  display: block;
  margin-bottom: 0.25rem;
  color: oklch(0.45 0.12 255);
}
.pkg {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}
.pkg th,
.pkg td {
  padding: 0.75rem 0.5rem 0.75rem 0;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}
.pkg th {
  font: 800 0.75rem/1.2 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}
.pkg td:last-child {
  font: 700 1.25rem/1.2 var(--serif);
  white-space: nowrap;
  text-align: right;
}
.pkg th:last-child {
  text-align: right;
}
.post-cta {
  margin-top: 3rem;
  padding: 1.75rem 1.25rem;
  background: var(--ink);
  color: var(--white);
}
.post-cta h2 {
  margin-top: 0;
  color: var(--white);
}
.post-cta p {
  margin-top: 0.75rem;
  color: oklch(0.82 0.02 255);
}
.post-cta .btns {
  margin-top: 1.5rem;
}
.post-cta a.btn {
  color: inherit;
}
.post-cta .btn--red {
  color: var(--white);
}
/* Post sections: bands of cards, so tips are easy to scan. */
.ic {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
}
.badge,
.soft {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
}
.badge {
  background: var(--red);
  color: var(--white);
}
.soft {
  background: var(--rinse);
  color: oklch(0.45 0.12 255);
}
.post-lead {
  display: grid;
  gap: 2rem;
  padding-block: 2.5rem 1rem;
}
.post-lead figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.post-lead figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-lead > div > p {
  font-size: 1.1875rem;
  line-height: 1.65;
}
.pc-short {
  display: grid;
  gap: 0.9rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.pc-short li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
}
.pc-short .ic {
  color: var(--red);
}
.band {
  padding-block: 3.5rem;
}
.band--rinse {
  background: var(--rinse);
}
/* Stephon's bubble design, washed back like the Prices section. */
.band--bubbles {
  background:
    linear-gradient(oklch(0.97 0.015 255 / 0.55), oklch(0.97 0.015 255 / 0.55)),
    url("../img/web/bubbles.jpg") center top / 1100px auto repeat,
    var(--rinse);
}
.band h2 {
  font-size: clamp(2.2rem, 8vw, 3.75rem);
  line-height: 0.95;
}
.band .lede {
  margin-top: 0.75rem;
  max-width: 50ch;
  font-size: 1.0625rem;
  color: var(--ink-soft);
}
.band .lede a,
.split a {
  color: var(--red);
  font-weight: 700;
}
.cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}
.card {
  position: relative;
  padding: 1.4rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--rule);
}
.card h3 {
  margin-top: 0.9rem;
  font-size: 1.4rem;
  line-height: 1.1;
}
.card p {
  margin-top: 0.4rem;
  font-size: 1rem;
  color: var(--ink-soft);
}
.card .n {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  font: 700 2.25rem/1 var(--serif);
  color: var(--rule);
}
/* Stain cards lead with an illustration of the spill. */
.card--stain {
  padding: 0 0 1.25rem;
  border-top: 5px solid var(--red);
}
.card--stain img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
}
.card--stain h3,
.card--stain ol {
  margin-inline: 1.25rem;
}
.card--stain ol {
  margin-top: 0.6rem;
  margin-bottom: 0;
  padding-left: 1.2rem;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.card--stain li + li {
  margin-top: 0.3rem;
}
.split {
  display: grid;
  gap: 2rem;
  margin-top: 1.75rem;
  align-items: start;
}
.split > p + p,
.split > div > p + p {
  margin-top: 1rem;
}
.split figure {
  margin: 0;
}
.split figure img {
  width: 100%;
  height: auto;
}
.split figcaption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--steel);
}
/* Two short topics beside one photo: each gets the same heading and a divider. */
.split--topics {
  margin-top: 0;
  align-items: center;
}
.topic + .topic {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}
.band .topic h2 {
  margin-top: 0.9rem;
  font-size: clamp(1.9rem, 6vw, 2.75rem);
}
/* Photo and copy side by side; the copy carries its own heading. */
.media {
  margin-top: 0;
  align-items: center;
}
.media__photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.media__text .lede + .lede,
.media__text .tip {
  margin-top: 1rem;
}
.media__text--panel {
  padding: 1.75rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--rule);
}
/* One photo with tip cards stacked beside it; the photo fills the stack's height. */
.stack {
  display: grid;
  gap: 1rem;
}
.split--stack figure img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 25%;
}
.checks {
  margin: 0;
  padding: 0;
  list-style: none;
}
.checks li {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
  font-weight: 600;
}
.checks .ic {
  color: var(--red);
}
.price-box {
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: var(--ink);
  color: var(--white);
}
.price-box b {
  display: block;
  font: 700 2.5rem/1 var(--serif);
}
.price-box p {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: oklch(0.82 0.02 255);
}
/* Brighter red: the deep brand red is too dark to read on the ink box. */
.price-box strong {
  color: var(--red-hot);
}
.split .tip,
.band .tip {
  margin-top: 1rem;
}
.tip a {
  color: var(--red);
  font-weight: 700;
}
.faq {
  max-width: 52rem;
  margin-top: 1.5rem;
}
.faq details {
  border-bottom: 1px solid var(--rule);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  cursor: pointer;
  list-style: none;
  font: 700 1.25rem/1.2 var(--serif);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font: 700 1.5rem/1 var(--sans);
  color: var(--red);
}
.faq details[open] summary::after {
  content: "\2013";
}
.faq details p {
  padding-bottom: 1.1rem;
  color: var(--ink-soft);
}
.faq details a {
  color: var(--red);
  font-weight: 700;
}
.pkg {
  margin-top: 1.5rem;
  background: var(--white);
}
.pkg th:first-child,
.pkg td:first-child {
  padding-left: 0.75rem;
}
.pkg th:last-child,
.pkg td:last-child {
  padding-right: 0.75rem;
}
.more-posts {
  padding-block: 3.5rem 4.5rem;
  border-top: 6px solid var(--ink);
  margin-top: 3rem;
}
.more-posts h2 {
  font-size: clamp(2rem, 7vw, 3rem);
  line-height: 1;
}

@media (min-width: 40rem) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .posts {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
  }
  .post-cta {
    padding: 2.25rem 2.5rem;
  }
}
@media (min-width: 64rem) {
  .blog-hero {
    padding-block: 4rem 4.5rem;
  }
  /* Same 4-column grid as the cards below, so the photo ends where card 2 ends. */
  .post-lead {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    align-items: center;
    padding-block: 3.5rem 1.5rem;
  }
  .post-lead > figure {
    grid-column: span 2;
  }
  .post-lead > div {
    grid-column: span 2;
    padding-left: 2.5rem;
  }
  .cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards--4 {
    grid-template-columns: repeat(4, 1fr);
  }
  /* Splits sit on the same 4-column grid as the cards, so edges line up down the page. */
  .split {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
  .split > * {
    grid-column: span 2;
  }
  .split > div:first-child {
    padding-right: 2.5rem;
  }
  .split > div:last-child {
    padding-left: 2.5rem;
  }
  .split > .stack {
    padding: 0;
  }
  /* The white panel matches the photo's height; copy centers inside it. */
  .media:has(.media__text--panel) {
    align-items: stretch;
  }
  .split > div.media__text--panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem;
  }
  .split--stack {
    align-items: stretch;
  }
  .split--stack figure {
    position: relative;
  }
  .split--stack figure img {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    height: 100%;
  }
  /* Two photos side by side: same height, cropped to fill. */
  .split > figure + figure img,
  .split > figure:has(+ figure) img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }
  .band {
    padding-block: 5rem;
  }
  .prose {
    padding-top: 3.5rem;
  }
  .prose .cmp-grid {
    grid-template-columns: 1fr 1fr;
  }
  .prose .cmp-grid .pair {
    max-width: none;
  }
}
