/* A-Team Mobile Detailing
   Teal and burst yellow from the logo on the Yukon door. */
:root {
  --teal: #0B4F5C;
  --teal-2: #0A6B76;
  --aqua: #2BB5AE;
  --burst: #F7E22B;
  --ink: #0E1F24;
  --soft: #44575C;
  --mist: #E8F0EF;
  --pewter: #B5AC97;
  --line: #D3DCDB;
  --white: #FFFFFF;
  --head: "Exo 2", "Segoe UI", system-ui, sans-serif;
  --body: "Cabin", "Segoe UI", system-ui, sans-serif;
  --r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2 { font-family: var(--head); font-weight: 800; line-height: 1.06; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(32px, 3.6vw, 48px); }
p { margin: 0 0 1em; }
a { color: var(--teal-2); }
:focus-visible { outline: 3px solid var(--teal-2); outline-offset: 3px; border-radius: 3px; }
.hero :focus-visible, .contact :focus-visible, .footer :focus-visible, .sticky-book :focus-visible, .lightbox :focus-visible { outline-color: var(--burst); }
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--burst); color: var(--ink); padding: 12px 18px; font-weight: 700; }
.skip:focus { left: 12px; top: 12px; }
.stars { color: var(--burst); letter-spacing: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 12px 26px; border-radius: var(--r); border: 2px solid var(--ink); font-family: var(--head); font-weight: 700; font-size: 19px; line-height: 1.1; text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
.btn--main { background: var(--burst); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn--main:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn--light { background: transparent; color: #fff; border-color: #fff; }
.btn--light:hover { background: #fff; color: var(--teal); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--full { width: 100%; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand__burst { position: relative; display: none; }
.brand__name { position: relative; z-index: 0; font-family: var(--head); font-style: italic; font-weight: 800; font-size: 26px; line-height: 1; color: var(--teal); padding: 12px 20px; white-space: nowrap; }
.brand__name::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--burst); clip-path: polygon(3% 50%, 13% 37%, 7% 17%, 22% 23%, 23% 3%, 35% 18%, 43% 0, 52% 17%, 63% 2%, 67% 20%, 82% 8%, 80% 30%, 97% 27%, 87% 47%, 100% 60%, 85% 67%, 92% 90%, 75% 78%, 70% 100%, 58% 83%, 48% 100%, 40% 82%, 27% 97%, 25% 75%, 8% 83%, 15% 63%); }
.brand__sub { font-family: var(--head); font-weight: 700; font-size: 18px; line-height: 1.1; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--aqua); }
.top__phone { font-family: var(--head); font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; padding: 10px 16px; border: 2px solid var(--ink); border-radius: var(--r); white-space: nowrap; }
.top__phone:hover { background: var(--ink); color: #fff; }
.menu-btn { display: none; width: 52px; height: 52px; border: 2px solid var(--ink); border-radius: var(--r); background: #fff; padding: 0; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.menu-btn span { display: block; width: 24px; height: 2.5px; background: var(--ink); }

.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(14, 31, 36, .6); }
.mobile-menu { position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(340px, 88vw); padding: 80px 24px 24px; background: #fff; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.mobile-menu[hidden], .scrim[hidden] { display: none; }
.mobile-menu a:not(.btn) { color: var(--ink); text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 23px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 18px; }
.mobile-menu__close { position: absolute; top: 12px; right: 14px; width: 52px; height: 52px; border: 2px solid var(--ink); background: #fff; border-radius: var(--r); font-size: 30px; line-height: 1; color: var(--ink); cursor: pointer; }

/* Hero */
.hero { background: var(--teal); color: #fff; padding-top: clamp(36px, 4.6vw, 64px); }
.hero__in { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: end; padding-bottom: clamp(28px, 3.4vw, 44px); }
.hero h1 { font-size: clamp(38px, 4.5vw, 64px); }
.hero__lead { font-size: 20px; line-height: 1.5; margin-bottom: 22px; color: #E4F1F0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px 16px; margin-bottom: 18px; }
.hero__rating { margin: 0; font-size: 17px; color: #E4F1F0; }
.hero__photo { margin-bottom: -150px; position: relative; z-index: 1; border-radius: var(--r); overflow: hidden; border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); background: var(--ink); }
.hero__photo img { width: 100%; aspect-ratio: 16 / 6.4; object-fit: cover; object-position: 0 68%; }
.hero__cap { margin: 0 0 clamp(48px, 6vw, 80px); font-size: 16px; color: var(--soft); }

/* Lineup: the vehicle picker */
.lineup { background: var(--mist); padding: 176px 0 clamp(56px, 7vw, 96px); }
.lineup__lead { margin: 12px 0 0; color: var(--soft); }
.lineup__row { display: flex; align-items: flex-end; gap: 10px; margin-top: 36px; border-bottom: 8px solid var(--pewter); }
.lineup__item { position: relative; display: block; min-width: 0; text-decoration: none; color: var(--ink); }
.lineup__item img { width: 100%; object-fit: cover; border-radius: var(--r) var(--r) 0 0; border: 2px solid var(--ink); border-bottom: 0; }
.lineup__item span { position: absolute; left: 0; right: 0; top: calc(100% + 8px); padding: 12px 2px 0; font-family: var(--head); font-weight: 700; font-size: 20px; line-height: 1.15; text-decoration: underline; text-decoration-color: var(--aqua); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.lineup__item:hover span { text-decoration-color: var(--ink); }
.lineup__item:hover img { filter: brightness(1.06); }
.lineup__item--1 { flex: 2.4; } .lineup__item--1 img { height: 300px; }
.lineup__item--2 { flex: 2.1; } .lineup__item--2 img { height: 270px; object-position: 30% 50%; }
.lineup__item--3 { flex: 1.8; } .lineup__item--3 img { height: 220px; }
.lineup__item--4 { flex: 1.5; } .lineup__item--4 img { height: 190px; object-position: 25% 60%; }
.lineup__item--5 { flex: 1; } .lineup__item--5 img { height: 160px; object-position: 50% 40%; }
.lineup .wrap { padding-bottom: 64px; }

/* Vehicle type sections */
.kind { padding: clamp(60px, 7.5vw, 104px) 0; }
.kind--tint { background: var(--mist); }
.kind__top { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.kind__top--flip .kind__photo { order: 2; }
.kind__photo img { width: 100%; border-radius: var(--r); }
.kind__text h2 { margin-bottom: 16px; }
.kind__text > p { color: var(--soft); }
.kind__text .btn { margin-top: 10px; }
.textlink { font-family: var(--head); font-weight: 800; font-size: 26px; color: var(--teal); }
.ticks { list-style: none; margin: 18px 0 24px; padding: 0; border-top: 1px solid var(--line); }
.kind--tint .ticks, .kind--tint .ticks li { border-color: #C5D2D1; }
.ticks li { padding: 10px 0 10px 30px; border-bottom: 1px solid var(--line); position: relative; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 20px; width: 12px; height: 12px; background: var(--aqua); transform: rotate(45deg); }
.said { margin: 0; padding: 4px 0 4px 20px; border-left: 5px solid var(--burst); }
.said p { margin: 0 0 8px; font-size: 18px; }
.said footer, .quote footer { font-size: 16px; color: var(--soft); font-weight: 700; }

figcaption { font-size: 16px; color: var(--soft); padding-top: 8px; }
.kind__more { display: grid; gap: 20px; margin-top: clamp(28px, 3.5vw, 44px); align-items: start; }
.kind__more img, .kind__row3 img { width: 100%; border-radius: var(--r); }
.kind__more--rv { grid-template-columns: 1fr 1fr 1.25fr; }
.kind__more--rv .half img { aspect-ratio: 4 / 3; object-fit: cover; }
.kind__more--rv .pair img { aspect-ratio: 5 / 6; }
.kind__more--boat { grid-template-columns: 1.7fr 1fr; }
.kind__more--boat .half img { aspect-ratio: 16 / 9.2; object-fit: cover; }
.kind__more--car { grid-template-columns: 1fr 1.6fr; align-items: stretch; }
.kind__more--car .tall { display: flex; flex-direction: column; }
.kind__more--car .tall img { flex: 1; min-height: 0; height: 100%; object-fit: cover; }
.kind__stack { display: grid; gap: 20px; }
.kind__stack .half img { aspect-ratio: 16 / 8; object-fit: cover; object-position: 50% 60%; }
.kind__row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.kind__row3 img { aspect-ratio: 4 / 3; object-fit: cover; }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.pair figure { position: relative; }
.pair img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; }
.pair figure:first-of-type img { border-radius: var(--r) 0 0 var(--r); }
.pair figure:last-of-type img { border-radius: 0 var(--r) var(--r) 0; }
.pair--wide img { aspect-ratio: 16 / 10; }
.pair figcaption { position: absolute; left: 10px; top: 10px; padding: 0; }
.pair__cap { grid-column: 1 / -1; margin: 4px 0 0; font-size: 16px; color: var(--soft); }
.tag { display: inline-block; padding: 4px 10px; border-radius: 4px; font-family: var(--head); font-weight: 700; font-size: 15px; border: 2px solid var(--ink); }
.tag--before { background: var(--ink); color: #fff; }
.tag--after { background: var(--burst); color: var(--ink); }

.moto { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; max-width: 980px; }
.moto__photo img { width: 100%; border-radius: var(--r); }
.kind--moto { padding-bottom: clamp(48px, 6vw, 80px); }

/* Recent work */
.work { background: var(--ink); color: #fff; padding: clamp(60px, 7.5vw, 104px) 0; }
.work__lead { color: #C6D3D3; margin: 12px 0 32px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17.5vw, 228px); gap: 10px; }
.gallery__item { padding: 0; border: 0; background: #1B2D32; cursor: zoom-in; border-radius: var(--r); overflow: hidden; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--wide:first-child { grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.gallery__item:hover img { transform: scale(1.03); }

/* Reviews */
.reviews { padding: clamp(60px, 7.5vw, 104px) 0; }
.reviews__in { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.reviews__score { position: sticky; top: 104px; }
.score { display: flex; align-items: baseline; gap: 14px; margin: 22px 0 6px; }
.score__num { font-family: var(--head); font-weight: 800; font-size: 96px; line-height: .9; color: var(--teal); }
.score .stars { font-size: 24px; color: #C9A800; }
.score__note { color: var(--soft); }
.quote { margin: 0; }
.quote p { margin: 0 0 10px; }
.quote--lead { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.quote--lead p { font-family: var(--head); font-weight: 700; font-size: clamp(22px, 2.1vw, 28px); line-height: 1.32; letter-spacing: -0.005em; }
.reviews__cols { columns: 2; column-gap: 44px; }
.reviews__cols .quote { break-inside: avoid; padding: 0 0 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }

/* Service area and about */
.about { background: var(--mist); padding: clamp(60px, 7.5vw, 104px) 0; }
.about__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.about h2 { margin-bottom: 16px; }
.about p { color: var(--soft); }
.towns { list-style: none; margin: 22px 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 26px; font-family: var(--head); font-weight: 800; font-size: clamp(26px, 2.7vw, 38px); line-height: 1.2; color: var(--teal); }
.towns li:first-child { color: var(--ink); }
.about__note { margin: 0; }
.about__rich figure { margin-bottom: 26px; border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; box-shadow: 6px 6px 0 var(--ink); }
.about__rich img { width: 100%; }

/* Contact */
.contact { background: var(--teal); color: #fff; padding: clamp(60px, 7.5vw, 104px) 0; }
.contact__in { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact__text > p { color: #E4F1F0; }
.contact h2 { margin-bottom: 16px; }
.contact a { color: #fff; }
.contact__phone { margin: 20px 0 2px; }
.contact__phone a { font-family: var(--head); font-weight: 800; font-size: clamp(34px, 3.6vw, 48px); line-height: 1.1; color: var(--burst); text-decoration: none; }
.contact__phone a:hover { text-decoration: underline; }
.contact__mail { font-size: 20px; }
.hours { width: 100%; max-width: 400px; border-collapse: collapse; margin-top: 26px; }
.hours caption { text-align: left; font-family: var(--head); font-weight: 700; font-size: 22px; padding-bottom: 8px; }
.hours th, .hours td { text-align: left; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .22); font-weight: 400; }
.hours td { text-align: right; }
.hours .is-today th, .hours .is-today td { font-weight: 700; color: var(--burst); }
.form { background: #fff; color: var(--ink); padding: clamp(22px, 3vw, 36px); border-radius: var(--r); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 12px 14px; font: inherit; color: var(--ink); background: #fff; border: 2px solid #8FA3A6; border-radius: var(--r); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--teal-2); outline-offset: 1px; border-color: var(--teal-2); }
.form__err { color: #A1160A; font-weight: 700; }
.form__hint { margin: 14px 0 0; font-size: 16px; color: var(--soft); }

/* Footer */
.footer { background: var(--ink); color: #C6D3D3; padding: 44px 0 40px; font-size: 17px; }
.footer__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px 40px; }
.footer p { margin: 0; }
.footer a { color: #fff; }
.footer__name { font-family: var(--head); font-weight: 800; font-size: 24px; color: #fff; }
.footer__copy { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 16px; }

.sticky-book { display: none; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(8, 18, 21, .93); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { max-width: min(1200px, 92vw); text-align: center; }
.lightbox img { max-width: 100%; max-height: 82vh; margin: 0 auto; border-radius: var(--r); }
.lightbox figcaption { color: #fff; padding-top: 12px; font-size: 17px; }
.lightbox__close, .lightbox__nav { position: fixed; width: 54px; height: 54px; border: 2px solid #fff; border-radius: var(--r); background: rgba(14, 31, 36, .7); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Tablet */
@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .brand__sub { display: none; }
  .kind__more--rv { grid-template-columns: 1fr 1fr; }
  .kind__more--rv .pair { grid-column: 1 / -1; max-width: 640px; }
  .kind__more--rv .pair img { aspect-ratio: 4 / 3; }
  .reviews__in { grid-template-columns: 1fr; }
  .reviews__score { position: static; }
}

@media (max-width: 960px) {
  .nav, .top__phone { display: none; }
  .menu-btn { display: flex; }
  .brand__sub { display: block; }
  .hero__in { grid-template-columns: 1fr; align-items: start; gap: 20px; }
  .kind__top, .contact__in, .about__in { grid-template-columns: 1fr; }
  .kind__top--flip .kind__photo { order: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(120px, 34vw, 260px); }
  .lineup__item span { font-size: 17px; }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .footer__name { grid-column: 1 / -1; }
}

/* Phone */
@media (max-width: 700px) {
  .wrap { width: calc(100% - 32px); }
  body { padding-bottom: 0; }
  .top__in { min-height: 64px; gap: 12px; }
  .brand { gap: 8px; }
  .brand__name { font-size: 22px; padding: 10px 16px; }
  .brand__sub { font-size: 16px; }
  .menu-btn { width: 48px; height: 48px; }

  .hero { padding-top: 28px; }
  .hero h1 { font-size: clamp(33px, 9.4vw, 42px); }
  .hero__lead { font-size: 18px; margin-bottom: 18px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__photo { margin-bottom: -90px; box-shadow: 5px 5px 0 var(--ink); }
  .hero__photo img { aspect-ratio: 4 / 3; object-position: 0 50%; }
  .lineup { padding-top: 108px; }
  .hero__cap { margin-bottom: 40px; }

  .lineup__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-bottom: 0; margin-top: 24px; }
  .lineup .wrap { padding-bottom: 0; }
  .lineup__item { display: flex; flex-direction: column; background: #fff; border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; }
  .lineup__item img, .lineup__item--1 img, .lineup__item--2 img, .lineup__item--3 img, .lineup__item--4 img, .lineup__item--5 img { height: 112px; border: 0; border-radius: 0; }
  .lineup__item span { position: static; padding: 12px 12px 14px; min-height: 48px; text-decoration: none; }
  .lineup__item--1 { grid-column: 1 / -1; }
  .lineup__item--1 img { height: 170px; }

  .kind__more--rv, .kind__more--boat, .kind__more--car { grid-template-columns: 1fr; }
  .kind__more--car .tall img { aspect-ratio: 4 / 4.4; height: auto; }
  .kind__row3 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .kind__row3 figure:first-child { grid-column: 1 / -1; }
  .kind__more { gap: 16px; }
  .moto { grid-template-columns: 1fr; }
  .moto__photo img { aspect-ratio: 4 / 4.2; object-fit: cover; object-position: 50% 40%; }
  .kind__text .btn { width: 100%; }

  .gallery { gap: 8px; }
  .score__num { font-size: 76px; }
  .reviews__cols { columns: 1; }
  .towns { gap: 4px 20px; }
  .footer__in { grid-template-columns: 1fr; }
  .footer { padding-bottom: 104px; }

  .sticky-book { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--ink); transform: translateY(110%); transition: transform .2s ease; }
  .sticky-book.is-visible { transform: none; }
  .sticky-book .btn { flex: 1; min-height: 50px; padding: 10px 12px; }
  .sticky-book .btn--ink { border-color: #fff; }
  .sticky-book .btn--main { box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
