/* =========================================================================
   ROUTE 66 AUTO LAB
   Retro-lab direction: charcoal garage base, historic shield red,
   cream/chrome highlights. Bebas Neue display + Source Sans 3 body.

   Contents
   01. Tokens
   02. Reset & base
   03. Typography
   04. Layout helpers
   05. Buttons
   06. Header & nav
   07. Hero
   08. Trust bar
   09. Problem
   10. Services
   11. Process
   12. Work / gallery
   13. Credentials
   14. Booking
   15. FAQ
   16. Service area
   17. Final CTA
   18. Footer
   19. Reveal animation & motion preferences
   ========================================================================= */

/* ---------- 01. Tokens ---------- */
:root {
  /* Surfaces */
  --ink:        #0F1115;
  --ink-1:      #14171D;
  --ink-2:      #1B1F27;
  --line:       #262B34;
  --line-soft:  #1F242C;

  /* Brand */
  --red:        #C8102E;   /* shield red - fills and accents */
  --red-hi:     #E01B39;   /* hover */
  --red-text:   #FF5468;   /* accessible red for small text on dark */

  /* Text */
  --cream:      #E8E2D6;   /* primary text  ~15:1 on --ink */
  --chrome:     #AEB6C0;   /* secondary     ~8:1  on --ink */
  --muted:      #8A929C;   /* tertiary      ~5.2:1 on --ink */

  /* Spacing */
  --gap:        clamp(1rem, 3vw, 1.75rem);
  --section-y:  clamp(3.5rem, 9vw, 7rem);
  --radius:     4px;
  --radius-lg:  8px;

  /* Type */
  --display: "Bebas Neue", "Haettenschweiler", "Impact", sans-serif;
  --body:    "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: dark;
}

/* ---------- 02. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem; /* clears the sticky header on anchor jumps */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }

a { color: inherit; text-decoration: none; }

/* Visible focus for keyboard users - never remove this */
:focus-visible {
  outline: 3px solid var(--red-text);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px; left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- 03. Typography ---------- */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.9rem, 9vw, 6.5rem); }
h2 { font-size: clamp(2rem, 5.2vw, 3.6rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); letter-spacing: 0.02em; }

h1 em, h2 em {
  font-style: normal;
  color: var(--red-text);
}

p { margin: 0 0 1rem; }

.lead {
  font-size: clamp(1.05rem, 1.9vw, 1.25rem);
  color: var(--chrome);
  max-width: 58ch;
}
.lead.center { margin-inline: auto; text-align: center; }

.eyebrow,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-text);
  margin: 0 0 1rem;
}

.eyebrow {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(200, 16, 46, 0.45);
  border-radius: 999px;
  /* Own dark backdrop, not just a 9% tint: this chip sits over a photo, and a
     bright frame behind it would otherwise drag the red text under 3:1. */
  background:
    linear-gradient(rgba(200, 16, 46, 0.14), rgba(200, 16, 46, 0.14)),
    rgba(15, 17, 21, 0.82);
  backdrop-filter: blur(3px);
}

.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red-text);
  flex: none;
}

/* ---------- 04. Layout helpers ---------- */
.wrap {
  width: min(1180px, 100% - 2.5rem);
  margin-inline: auto;
}
.wrap-narrow { width: min(760px, 100% - 2.5rem); }

.section { padding-block: var(--section-y); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 6vw, 4rem);
}
.section-head .section-eyebrow { justify-content: center; }

.grid-2 {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 1fr 1fr; align-items: center; }
}

/* ---------- 05. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;              /* >= 44px touch target */
  padding: 0.8rem 1.6rem;
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s var(--ease),
              border-color 0.2s var(--ease),
              color 0.2s var(--ease),
              transform 0.2s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary {
  background: var(--red);
  color: #fff;                   /* ~5:1 on --red */
}
.btn-primary:hover { background: var(--red-hi); transform: translateY(-2px); }

.btn-outline {
  border-color: var(--line);
  color: var(--cream);
  background: transparent;
}
.btn-outline:hover { border-color: var(--cream); background: rgba(232, 226, 214, 0.06); }

.btn-ghost {
  color: var(--cream);
  background: transparent;
  padding-inline: 0.75rem;
}
.btn-ghost:hover { color: var(--red-text); }

.btn-lg { min-height: 56px; padding: 1rem 2.1rem; font-size: 1rem; }
.btn-block { width: 100%; margin-top: auto; }

/* ---------- 06. Header & nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 17, 21, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(15, 17, 21, 0.96);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand { display: inline-flex; align-items: center; flex: none; }

/* Height drives the size; width follows the intrinsic 10:3 ratio of the lockup */
.brand-logo {
  height: 42px;
  width: auto;
  transition: opacity 0.2s var(--ease);
}
.brand:hover .brand-logo { opacity: 0.85; }

@media (min-width: 1120px) {
  .brand-logo { height: 50px; }
}

.brand-logo--footer { height: 58px; }

/* Mobile toggle */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--cream);
}
.nav-toggle-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 20px;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.primary-nav {
  position: fixed;
  inset: 72px 0 auto 0;
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 1.25rem 2rem;
  background: var(--ink-1);
  border-bottom: 1px solid var(--line);
  max-height: calc(100dvh - 72px);
  overflow-y: auto;
}
.primary-nav.is-open { display: flex; }

.nav-links { list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block;
  padding: 0.85rem 0.25rem;
  font-weight: 600;
  color: var(--chrome);
  border-bottom: 1px solid var(--line-soft);
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--cream); }

.nav-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* 1120px, not 1000px: the full wordmark lockup is wider than a bare icon, and
   below this the nav links wrap to two lines and push the header taller.
   js/main.js matches this value - change both together. */
@media (min-width: 1120px) {
  .nav-toggle { display: none; }
  .primary-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
    padding: 0;
    background: none;
    border: 0;
    max-height: none;
    overflow: visible;
  }
  .nav-links { display: flex; gap: 1.4rem; }
  .nav-links a {
    padding: 0.25rem 0;
    border-bottom: 0;
    font-size: 0.88rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;   /* never let a label break across lines */
  }
  .nav-actions { flex-direction: row; align-items: center; margin-top: 0; gap: 0.6rem; }
  .nav-actions .btn { white-space: nowrap; }
}

/* ---------- 07. Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(4rem, 12vw, 8.5rem) clamp(3.5rem, 9vw, 6rem);
  overflow: hidden;
}

/* Photo layer, slowly drifting in. Sits under the scrim so the copy stays
   readable no matter how bright the image is. */
.hero-photo {
  position: absolute;
  inset: 0;
  background: url("../assets/img/hero-car.webp") center right / cover no-repeat;
  transform: scale(1.06);
  animation: hero-drift 24s ease-in-out infinite alternate;
}
@keyframes hero-drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(-1.5%, -1%, 0); }
}

/* Scrim + neon glow + asphalt tint over the photo. The left side is nearly
   opaque so the headline keeps its contrast; the right stays open so the car
   reads. */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg,
      rgba(15, 17, 21, 0.96) 0%,
      rgba(15, 17, 21, 0.90) 36%,
      rgba(15, 17, 21, 0.44) 64%,
      rgba(15, 17, 21, 0.66) 100%),
    radial-gradient(60rem 32rem at 78% 8%,  rgba(200, 16, 46, 0.20), transparent 62%),
    radial-gradient(44rem 30rem at 8% 92%, rgba(174, 182, 192, 0.09), transparent 60%),
    linear-gradient(180deg, transparent 62%, var(--ink) 100%);
}

/* On phones the copy spans the full width, so the scrim has to go fully opaque */
@media (max-width: 760px) {
  .hero-bg {
    background:
      linear-gradient(180deg,
        rgba(15, 17, 21, 0.72) 0%,
        rgba(15, 17, 21, 0.90) 46%,
        var(--ink) 100%),
      radial-gradient(40rem 24rem at 80% 6%, rgba(200, 16, 46, 0.24), transparent 62%);
  }
}
/* Dashed centre line running up the right side. It travels one full dash
   period (74px), so the loop is seamless and reads as road moving past. */
.hero-bg::after {
  content: "";
  position: absolute;
  top: -120px; bottom: -120px; right: 14%;
  width: 3px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(232, 226, 214, 0.16) 0 34px,
    transparent 34px 74px
  );
  transform: rotate(9deg);
  transform-origin: top center;
  animation: road-run 2.6s linear infinite;
}
@keyframes road-run {
  from { transform: rotate(9deg) translateY(0); }
  to   { transform: rotate(9deg) translateY(74px); }
}

/* Slow breathing glow behind the headline */
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(46rem 26rem at 72% 14%, rgba(200, 16, 46, 0.26), transparent 62%);
  animation: glow-breathe 7s ease-in-out infinite;
}
@keyframes glow-breathe {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}

.hero-inner { position: relative; z-index: 1; max-width: 900px; }

.hero h1 { margin-bottom: 1.4rem; }

.hero-lead { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 56ch; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  list-style: none;
  margin: clamp(3rem, 7vw, 4.5rem) 0 0;
  padding: 2rem 0 0;
  border-top: 1px solid var(--line);
  max-width: 620px;
}
.stat-num {
  display: block;
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  color: var(--cream);
  line-height: 1;
}
/* A word rather than a figure - Bebas is very wide at display sizes, so ease it
   down and let the longer label wrap under it */
.stat-num--word { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }

.stat-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 08. Trust bar ---------- */
.trustbar {
  background: var(--ink-1);
  border-block: 1px solid var(--line);
}
.trustbar-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem 2rem;
  padding-block: 1.6rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--chrome);
}
.trust-item svg { width: 22px; height: 22px; color: var(--red-text); flex: none; }

/* ---------- 08b. Marquee band ---------- */
.marquee {
  overflow: hidden;
  padding-block: 0.9rem;
  background: var(--red);
  border-block: 1px solid rgba(0, 0, 0, 0.25);
  /* fade the ends instead of hard-cutting the words */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-half {
  display: flex;
  align-items: center;
  flex: none;
}
.marquee-half span {
  padding-inline: 1.5rem;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
/* route-shield style separator */
.marquee-half i {
  width: 9px; height: 9px;
  flex: none;
  background: rgba(255, 255, 255, 0.55);
  transform: rotate(45deg);
}

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ---------- 09. Problem ---------- */
.problem-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 560px) {
  .problem-list { grid-template-columns: 1fr 1fr; }
}
.problem-list li {
  background: var(--ink-1);
  padding: 1.6rem 1.4rem;
}
.problem-list h3 { color: var(--cream); margin-bottom: 0.45rem; }
.problem-list p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* ---------- 10. Services ---------- */
.services { background: var(--ink-1); }

.service-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  align-items: stretch;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.service-card:hover { transform: translateY(-4px); border-color: #39404c; }

/* Spotlight that tracks the cursor across the card. --mx/--my are set by
   js/main.js; with no JS the layer simply stays at 0 opacity. */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  background: radial-gradient(
    22rem 22rem at var(--mx, 50%) var(--my, 0%),
    rgba(200, 16, 46, 0.20),
    transparent 68%
  );
  pointer-events: none;
}
.service-card:hover::before { opacity: 1; }
/* keep real content above the glow */
.service-card > * { position: relative; z-index: 1; }

.service-card--featured {
  border-color: rgba(200, 16, 46, 0.55);
  box-shadow: 0 0 0 1px rgba(200, 16, 46, 0.25), 0 18px 50px -22px rgba(200, 16, 46, 0.5);
}

.service-flag {
  position: absolute;
  top: -0.75rem; left: 1.75rem;
  padding: 0.3rem 0.8rem;
  background: var(--red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  margin: 0;
}


/* Photo banner at the top of each service card. The aspect-ratio reserves the
   space before the image loads, so the card never jumps. */
.service-visual {
  margin: -0.6rem -0.5rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #12151B;
  aspect-ratio: 700 / 372;
}
.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.service-card:hover .service-visual img { transform: scale(1.04); }

.service-price {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.service-price strong {
  font-family: var(--display);
  font-size: 1.75rem;
  color: var(--cream);
  letter-spacing: 0.02em;
}

.service-card > p { color: var(--chrome); font-size: 0.96rem; }

.service-card ul {
  list-style: none;
  margin: 1.25rem 0 1.75rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.7rem;
}
.service-card ul li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.92rem;
  color: var(--chrome);
}
.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45rem;
  width: 8px; height: 8px;
  border-right: 2px solid var(--red-text);
  border-bottom: 2px solid var(--red-text);
  transform: rotate(45deg);
}

/* Package + price rows inside a service card */
.price-list {
  list-style: none;
  margin: 1.25rem 0 1.25rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.85rem;
}
.price-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--chrome);
  line-height: 1.35;
}
/* Outrank .service-card ul li - a price row reads as a menu line, not a feature */
.service-card .price-list li { padding-left: 0; }
.service-card .price-list li::before { content: none; }
.price-list li span { flex: 1; }
.price-list li em {
  display: block;
  font-style: normal;
  font-size: 0.82rem;
  color: var(--muted);
}
.price-list li b {
  flex: none;
  font-weight: 700;
  color: var(--cream);
  white-space: nowrap;
}

.price-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

/* "Read more" link at the foot of a service card, above the book button */
.service-more {
  display: inline-block;
  margin: 0 0 1rem;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red-text);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.service-more:hover { border-bottom-color: currentColor; }

.services-note {
  margin: 2.5rem auto 0;
  max-width: 60ch;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- 11. Process ---------- */
.process-steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.process-steps li {
  position: relative;
  padding: 2rem 1.5rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ink-1);
}
.step-num {
  display: block;
  font-family: var(--display);
  font-size: 2.6rem;
  line-height: 1;
  color: rgba(200, 16, 46, 0.85);
  margin-bottom: 0.85rem;
}
.process-steps h3 { margin-bottom: 0.5rem; }
.process-steps p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* ---------- 11b. Before / after comparison ---------- */
.compare-section { background: var(--ink-1); }

.compare {
  position: relative;
  margin: 0 auto;
  max-width: 1000px;
  aspect-ratio: 1000 / 640;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: ew-resize;
  touch-action: pan-y;          /* let the page still scroll vertically on touch */
  user-select: none;
}

.compare .cmp-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The "after" frame is clipped to the handle position. clip-path animates on the
   compositor, so dragging stays smooth. */
.cmp-clip {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.cmp-tag {
  position: absolute;
  top: 1rem;
  z-index: 3;
  padding: 0.4rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(15, 17, 21, 0.82);
  backdrop-filter: blur(4px);
  border: 1px solid var(--line);
}
.cmp-tag--before { left: 1rem;  color: var(--chrome); }
.cmp-tag--after  { right: 1rem; color: var(--red-text); border-color: rgba(200, 16, 46, 0.5); }

.cmp-illus {
  position: absolute;
  left: 1rem; bottom: 1rem;
  z-index: 3;
  padding: 0.3rem 0.7rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(15, 17, 21, 0.75);
  border-radius: 3px;
}

/* Divider line + grab handle, both driven by --pos */
.cmp-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  z-index: 4;
  width: 2px;
  margin-left: -1px;
  background: var(--cream);
  pointer-events: none;
}
.cmp-handle svg {
  position: absolute;
  top: 50%; left: 50%;
  width: 22px; height: 22px;
  transform: translate(-50%, -50%);
  padding: 9px;
  box-sizing: content-box;
  color: var(--ink);
  background: var(--cream);
  border-radius: 50%;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
}

/* The range input is the real control - invisible, but on top and focusable */
.cmp-range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}
.cmp-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 46px; height: 100%;
  cursor: ew-resize;
}
.cmp-range::-moz-range-thumb {
  width: 46px; height: 100%;
  border: 0; border-radius: 0;
  background: transparent;
  cursor: ew-resize;
}
/* Keyboard focus has to be visible even though the input itself is transparent */
.cmp-range:focus-visible ~ .cmp-handle {
  background: var(--red-text);
  box-shadow: 0 0 0 3px rgba(255, 84, 104, 0.35);
}
.cmp-range:focus-visible ~ .cmp-handle svg {
  color: #fff;
  background: var(--red);
}

@media (max-width: 620px) {
  .cmp-tag { top: 0.6rem; font-size: 0.64rem; padding: 0.32rem 0.6rem; }
  .cmp-tag--before { left: 0.6rem; }
  .cmp-tag--after  { right: 0.6rem; }
  .cmp-illus { left: 0.6rem; bottom: 0.6rem; }
}

/* ---------- 12. Work / gallery ---------- */
.work { background: var(--ink-1); }

.gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery-item--wide { grid-column: span 2; }
  .gallery-item { grid-column: span 2; }
}

.gallery-item {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-2);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.04); }

.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.5rem 1.1rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
  background: linear-gradient(to top, rgba(15, 17, 21, 0.92), transparent);
}

/* ---------- 13. Credentials ---------- */
.creds { background: var(--ink-1); }

.cred-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cred-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 1.4rem;
  background: var(--ink-2);
}
.cred-list h3 { margin-bottom: 0.35rem; color: var(--cream); }
.cred-list p  { margin: 0; color: var(--muted); font-size: 0.93rem; }

.cred-icon {
  flex: none;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(200, 16, 46, 0.4);
  border-radius: var(--radius);
  background: rgba(200, 16, 46, 0.1);
  color: var(--red-text);
}
.cred-icon svg { width: 22px; height: 22px; }

/* ---------- 14. Booking ---------- */
.book { background: var(--ink-1); }

.book-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 940px) {
  .book-layout { grid-template-columns: 1.6fr 1fr; }
}

.book-embed {
  /* Tall enough that the Urable widget scrolls internally as little as
     possible. Reserving the height also stops the page shifting as it loads. */
  min-height: 760px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.book-embed iframe { width: 100%; height: 100%; min-height: 760px; border: 0; display: block; }

@media (max-width: 700px) {
  .book-embed, .book-embed iframe { min-height: 620px; }
}

.embed-placeholder {
  min-height: 560px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.4rem;
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  background-image:
    repeating-linear-gradient(45deg,
      rgba(174, 182, 192, 0.035) 0 12px,
      transparent 12px 24px);
}
.embed-placeholder svg { width: 42px; height: 42px; margin-bottom: 0.75rem; color: var(--line); }
.embed-placeholder p { margin: 0; }
.embed-placeholder strong { color: var(--chrome); }
.embed-hint { font-size: 0.87rem; max-width: 34ch; }
.embed-placeholder code {
  font-size: 0.85em;
  padding: 0.1em 0.35em;
  background: rgba(174, 182, 192, 0.1);
  border-radius: 3px;
  color: var(--chrome);
}

.book-side {
  padding: 1.9rem 1.6rem;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.book-side h3 { margin-bottom: 1rem; }
.side-heading { margin-top: 2rem; }

/* Escape hatch if the embedded scheduler misbehaves in an iframe */
.book-external {
  margin: 0 0 1.75rem;
  font-size: 0.85rem;
}
.book-external svg { width: 15px; height: 15px; }

.side-note {
  margin: 0;
  color: var(--chrome);
  font-size: 0.94rem;
  line-height: 1.6;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 56px;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s var(--ease);
}
.contact-row:last-of-type { border-bottom: 0; }
.contact-row svg { width: 22px; height: 22px; color: var(--red-text); flex: none; }
.contact-row span { display: flex; flex-direction: column; line-height: 1.3; }
.contact-row strong { color: var(--cream); font-size: 1rem; }
.contact-row small { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.contact-row:hover strong { color: var(--red-text); }

.hours { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.hours th, .hours td { padding: 0.5rem 0; text-align: left; font-weight: 400; }
.hours th { color: var(--muted); font-weight: 600; }
.hours td { color: var(--cream); text-align: right; }
.hours tr + tr th, .hours tr + tr td { border-top: 1px solid var(--line-soft); }

address { font-style: normal; color: var(--chrome); line-height: 1.7; }
address a:hover { color: var(--red-text); }

/* ---------- 15. FAQ ---------- */
.faq-list { display: grid; gap: 0.75rem; }

.faq-item {
  background: var(--ink-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  padding: 1rem 1.4rem;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--cream);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 11px; height: 11px;
  flex: none;
  border-right: 2px solid var(--red-text);
  border-bottom: 2px solid var(--red-text);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq-item summary:hover { color: var(--red-text); }

.faq-body { padding: 0 1.4rem 1.4rem; }
.faq-body p { margin: 0; color: var(--chrome); }

/* ---------- 16. Service area ---------- */
.area { background: var(--ink-1); }

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin: 1.75rem 0 2rem;
  padding: 0;
}
.area-list li {
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--chrome);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.map-slot {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-2);
}

/* ---- Coverage strip map ---- */
.coverage-map { margin: 0; }
.coverage-map svg { width: 100%; height: auto; display: block; }

.map-grid path { stroke: #1D222B; stroke-width: 1; fill: none; }

.road-base { stroke: #232935; stroke-width: 20; stroke-linecap: round; fill: none; }
.road-top  { stroke: #333B49; stroke-width: 16; stroke-linecap: round; fill: none; }
.road-dash {
  stroke: var(--cream);
  stroke-width: 2;
  stroke-dasharray: 11 14;
  stroke-linecap: round;
  opacity: 0.32;
  fill: none;
}

.map-stops circle {
  fill: var(--ink);
  stroke: var(--chrome);
  stroke-width: 2.5;
}
.map-stops text {
  fill: var(--chrome);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  text-anchor: middle;
  letter-spacing: 0.02em;
}

.stop--home circle { fill: var(--red); stroke: var(--cream); stroke-width: 3; }
.stop--home text   { fill: var(--cream); font-size: 12.5px; font-weight: 700; }
.stop--home .stop-tag {
  fill: var(--red-text);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-tick { stroke: var(--red); stroke-width: 2; stroke-dasharray: 3 4; fill: none; opacity: 0.7; }

.map-shield { fill: var(--ink-2); stroke: var(--red-text); stroke-width: 2.5; stroke-linejoin: round; }
.map-shield-num {
  fill: var(--cream);
  font-family: var(--display);
  font-size: 17px;
  text-anchor: middle;
}

.map-note {
  fill: var(--muted);
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.map-slot iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(1) invert(0.9) hue-rotate(180deg); }
.embed-placeholder--map { min-height: 420px; }

/* ---------- 17. Final CTA ---------- */
.final-cta {
  position: relative;
  padding-block: clamp(4rem, 10vw, 6.5rem);
  text-align: center;
  background:
    radial-gradient(40rem 22rem at 50% 0%, rgba(200, 16, 46, 0.22), transparent 65%),
    var(--ink);
  border-top: 1px solid var(--line);
}
.cta-mark {
  height: 74px;
  width: auto;
  margin: 0 auto 1.5rem;
}

.final-cta h2 { margin-bottom: 0.75rem; }
.final-cta p { color: var(--chrome); margin-bottom: 0; }
.final-cta .hero-cta { justify-content: center; }

/* ---------- 18. Footer ---------- */
.site-footer {
  background: var(--ink-1);
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 7vw, 4.5rem);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  padding-bottom: 3rem;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
}
@media (min-width: 1000px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.3fr; }
}

.footer-tagline {
  margin: 0.85rem 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-blurb {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 38ch;
}

.footer-col h3 {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem; }
/* inline-block + padding gives these a real tap target (WCAG 2.5.8 wants 24px;
   these land near 36px) without changing how the column looks */
.footer-col a {
  display: inline-block;
  padding: 0.45rem 0;
  color: var(--chrome);
  font-size: 0.95rem;
}
.footer-col a:hover { color: var(--red-text); }

.footer-col address a,
.book-side address a { display: inline-block; padding: 0.3rem 0; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-bottom p { margin: 0; }

/* ---------- 18b. Sticky mobile action dock ---------- */
.dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 120;
  display: none;                       /* phones only, see media query */
  gap: 0.6rem;
  padding: 0.7rem 0.9rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(15, 17, 21, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
}
.dock.is-up { transform: translateY(0); }
.dock .btn { flex: 1; min-height: 50px; }
.dock .btn-outline { flex: 0 0 38%; }

@media (max-width: 760px) {
  .dock { display: flex; }
  /* keep the footer clear of the dock */
  .site-footer { padding-bottom: 5.5rem; }
}

/* ---------- 18c. Service subpages ---------- */
/* Compact header for inner pages - the big photo hero belongs to the home page */
.page-hero {
  position: relative;
  padding-block: clamp(2.5rem, 7vw, 4.5rem) clamp(2rem, 5vw, 3rem);
  background:
    radial-gradient(46rem 24rem at 74% 0%, rgba(200, 16, 46, 0.20), transparent 64%),
    linear-gradient(180deg, #141821 0%, var(--ink) 88%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.4rem, 6.5vw, 4.6rem); margin-bottom: 1rem; }
.page-hero .lead { max-width: 60ch; }
.page-hero .hero-cta { margin-top: 1.9rem; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
/* Padding gives these a 24px+ target (WCAG 2.5.8) - a breadcrumb is navigation,
   so it doesn't get the exemption inline sentence links do */
.breadcrumb a {
  display: inline-block;
  padding: 0.3rem 0;
  color: var(--chrome);
}
.breadcrumb a:hover { color: var(--red-text); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line); }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb [aria-current] { color: var(--muted); }

/* Readable long-form column */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.6rem; }
.prose h3 { margin-top: 2rem; color: var(--cream); }
.prose p, .prose li { color: var(--chrome); }
.prose > ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.prose > ul li {
  position: relative;
  padding-left: 1.6rem;
}
.prose > ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5rem;
  width: 8px; height: 8px;
  border-right: 2px solid var(--red-text);
  border-bottom: 2px solid var(--red-text);
  transform: rotate(45deg);
}
.prose strong { color: var(--cream); }

/* Links inside body copy must be visible as links. The global `a { color:
   inherit; text-decoration: none }` would otherwise render them identical to
   the surrounding text, which is both a WCAG failure and simply invisible. */
.prose p a,
.prose li a {
  color: var(--red-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prose p a:hover,
.prose li a:hover {
  color: var(--cream);
  text-decoration-thickness: 2px;
}

/* Pull-out note */
.callout {
  margin: 2rem 0;
  padding: 1.4rem 1.5rem;
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--ink-2);
}
.callout p { margin: 0; color: var(--chrome); }
.callout strong { color: var(--cream); }

/* Package comparison table - scrolls horizontally rather than squashing */
.table-scroll {
  overflow-x: auto;
  margin: 1.75rem 0 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.pkg-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.pkg-table th, .pkg-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.pkg-table thead th {
  background: var(--ink-2);
  color: var(--cream);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pkg-table tbody th {
  color: var(--cream);
  font-weight: 700;
}
.pkg-table td { color: var(--chrome); }
.pkg-table tbody tr:last-child th,
.pkg-table tbody tr:last-child td { border-bottom: 0; }
.pkg-table .price { color: var(--cream); font-weight: 700; white-space: nowrap; }

/* Related-services strip at the foot of each service page */
.next-up {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 1rem;
}
.next-up a {
  display: block;
  padding: 1.4rem 1.3rem;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.next-up a:hover { border-color: #39404c; transform: translateY(-3px); }
.next-up h3 { margin-bottom: 0.3rem; }
.next-up p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* ---------- 19. Reveal animation & motion preferences ---------- */
/* Only hide content when JS is confirmed running (the <html class="js"> flag is
   set by an inline script in <head>). Without it, nothing is ever hidden, so a
   blocked or failed script can't leave the page blank. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Stagger siblings inside a grid so rows arrive in sequence rather than
   snapping in all at once. */
.js .service-grid > .reveal:nth-child(2),
.js .process-steps > .reveal:nth-child(2),
.js .cred-list > .reveal:nth-child(2),
.js .gallery > .reveal:nth-child(2),
.js .faq-list > .reveal:nth-child(2)  { transition-delay: 0.09s; }

.js .service-grid > .reveal:nth-child(3),
.js .process-steps > .reveal:nth-child(3),
.js .cred-list > .reveal:nth-child(3),
.js .gallery > .reveal:nth-child(3),
.js .faq-list > .reveal:nth-child(3)  { transition-delay: 0.18s; }

.js .process-steps > .reveal:nth-child(4),
.js .gallery > .reveal:nth-child(4),
.js .faq-list > .reveal:nth-child(4)  { transition-delay: 0.27s; }

.js .faq-list > .reveal:nth-child(5)  { transition-delay: 0.34s; }
.js .faq-list > .reveal:nth-child(6)  { transition-delay: 0.40s; }
.js .faq-list > .reveal:nth-child(7)  { transition-delay: 0.46s; }

/* Light sweep across the primary button on hover */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: translateX(0);
  opacity: 0;
  pointer-events: none;
}
.btn-primary:hover::after { animation: btn-sweep 0.7s var(--ease) forwards; }
@keyframes btn-sweep {
  from { transform: translateX(0);    opacity: 1; }
  to   { transform: translateX(420%); opacity: 0; }
}

/* The coverage map's centre line drifts east, matching the hero road */
.road-dash { animation: map-run 3.2s linear infinite; }
@keyframes map-run {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -25px; }   /* one dash + gap */
}

/* Home-base pin gently pulses */
.stop--home circle { animation: pin-pulse 2.8s ease-in-out infinite; transform-origin: 203px 178px; }
@keyframes pin-pulse {
  0%, 100% { r: 7; }
  50%      { r: 8.4; }
}

/* Honour the OS "reduce motion" setting: show the final state, skip the travel */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; transition-delay: 0s !important; }
  .gallery-item:hover img { transform: none; }
  .btn-primary:hover, .service-card:hover { transform: none; }
  .service-card:hover .service-visual img { transform: none; }

  /* Stop the looping ambience outright rather than letting the blanket rule
     above freeze it mid-keyframe: road, glow, map line, pin, button sweep. */
  .hero-bg::after,
  .hero-bg::before,
  .hero-photo,
  .marquee-track,
  .road-dash,
  .stop--home circle,
  .btn-primary::after {
    animation: none !important;
  }
  .hero-photo { transform: scale(1.02); }
  /* The marquee can't scroll, so show the first half rather than a clipped loop */
  .marquee-track { transform: none; }
  .dock { transition: none; }
  .hero-bg::before   { opacity: 0.8; }
  .hero-bg::after    { transform: rotate(9deg); }
  .stop--home circle { r: 7; }
}
