/* ============================================================
   Fresh Out Mobile Detailing
   Concept: "the shop wall and the work order."
   Warm paper, poster-weight condensed type, taped polaroids,
   handwritten notes, a work-order booking ticket, ink + signal red.

   Shape system (print-sharp): photos and cards 0 radius with
   2px ink borders + hard offset shadows; buttons 6px; inputs
   are underline-only paper-form fields.

   Type system: Big Shoulders Display (poster headlines),
   Archivo (body and UI), Caveat (handwritten annotations only).
   ============================================================ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --paper: #f4efe5;
  --paper-bright: #fdfaf2;
  --ink: #1a1916;
  --ink-2: #57544c;
  --ink-3: #8d887c;
  --line: rgba(26, 25, 22, 0.16);

  --red: #b73420;
  --red-dark: #962a19;

  --cream: #f4efe5;
  --cream-dim: #f7e9e2;     /* body text on red */
  --cream-faint: rgba(244, 239, 229, 0.28);

  --shadow-hard: 3px 3px 0 var(--ink);
  --shadow-soft: 0 14px 34px rgba(26, 25, 22, 0.16);

  --display: 'Big Shoulders Display', 'Archivo', sans-serif;
  --body: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
  --hand: 'Caveat', cursive;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  /* Fixed nav is 68px + 2px border; anchor jumps land flush beneath it. */
  scroll-padding-top: 70px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.04rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Paper grain: fixed, non-interactive */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
figure { margin: 0; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- Type ---- */
h1, h2 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

h1 { font-size: clamp(3.6rem, 9.5vw, 7.2rem); }
h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); }

h3 {
  font-family: var(--body);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.dot { color: var(--red); }
.dot-cream { color: var(--cream); }

.scrawl {
  font-family: var(--hand);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: 0;
}

.lede {
  color: var(--ink-2);
  max-width: 58ch;
  margin: 20px 0 56px;
}

.text-link {
  color: var(--red);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  transition: color 0.2s var(--ease);
}

.text-link:hover { color: var(--red-dark); }

.link-cream {
  color: var(--cream);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-cream:hover { color: #ffffff; }

/* ---- Section headers: poster rule + handwritten margin note ---- */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  border-top: 3px solid var(--ink);
  padding-top: 20px;
  flex-wrap: wrap;
}

.head-note { color: var(--ink-2); }

/* ---- Buttons: chunky print blocks ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--shadow-hard);
  transition: transform 0.12s var(--ease), box-shadow 0.12s var(--ease),
              background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.btn-primary {
  background: var(--red);
  color: var(--paper-bright);
}

.btn-primary:hover { background: var(--red-dark); }

.btn-ink {
  background: var(--ink);
  color: var(--paper-bright);
}

.btn-ink:hover { background: #000000; }

.btn-quiet {
  background: transparent;
  color: var(--ink);
}

.btn-full { width: 100%; }

.btn-nav {
  padding: 9px 20px;
  font-size: 0.92rem;
  box-shadow: 2px 2px 0 var(--ink);
}

.btn-big {
  padding: 18px 44px;
  font-size: 1.1rem;
}

/* ---- Focus ---- */
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* ============================================================
   POLAROIDS (taped photos)
   ============================================================ */
.polaroid {
  background: #ffffff;
  padding: 12px 12px 12px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.polaroid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.polaroid .scrawl {
  display: block;
  padding: 12px 4px 2px;
  text-align: center;
}

/* tape strip, top center */
.polaroid::before {
  content: '';
  position: absolute;
  top: -13px;
  left: 50%;
  width: 92px;
  height: 27px;
  transform: translateX(-50%) rotate(-2.5deg);
  background: linear-gradient(180deg, rgba(233, 222, 182, 0.85), rgba(224, 211, 168, 0.72));
  box-shadow: 0 1px 3px rgba(26, 25, 22, 0.12);
  z-index: 1;
}

.polaroid.tape-corner::before {
  left: 16%;
  transform: translateX(0) rotate(-36deg);
  width: 78px;
}

/* ============================================================
   BADGE (rotating shop stamp)
   ============================================================ */
.badge {
  position: absolute;
  right: -26px;
  bottom: -30px;
  width: 122px;
  height: 122px;
  z-index: 3;
  filter: drop-shadow(0 8px 18px rgba(26, 25, 22, 0.3));
}

.badge-ring {
  width: 100%;
  height: 100%;
  font-family: var(--body);
}

@media (prefers-reduced-motion: no-preference) {
  .badge-ring {
    animation: spin 26s linear infinite;
  }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.badge-core {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.7rem;
  color: var(--red);
  pointer-events: none;
}

/* ============================================================
   NAV
   ============================================================ */
#topSentinel {
  position: absolute;
  top: 0;
  height: 24px;
  width: 1px;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(244, 239, 229, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.nav.scrolled { border-bottom-color: var(--ink); }

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.65rem;
  letter-spacing: 0.02em;
  line-height: 1;
}

.brand span { color: var(--red); }

.brand-cream { color: var(--cream); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a:not(.btn) {
  padding: 8px 12px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 0.2s var(--ease);
}

.nav-links a:not(.btn):hover { color: var(--red); }

.nav-phone {
  color: var(--ink) !important;
  font-variant-numeric: tabular-nums;
}

.nav-links .btn { margin-left: 10px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
}

.nav-toggle span {
  width: 24px;
  height: 3px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 150px 0 110px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 11fr 9fr;
  gap: 72px;
  align-items: center;
}

.hero-sub {
  color: var(--ink-2);
  font-size: 1.13rem;
  max-width: 46ch;
  margin: 28px 0 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
  padding: 26px 26px 40px 44px;
}

.hero-main { position: relative; z-index: 1; }

.hero-main img { aspect-ratio: 1 / 1; }

.hero-snap {
  position: absolute;
  z-index: 2;
  width: 38%;
}

.hero-snap .scrawl { font-size: 1.1rem; }

.snap-a {
  left: 0;
  bottom: -14px;
  transform: rotate(-5deg);
}

.snap-b {
  top: -10px;
  right: -8px;
  width: 33%;
  transform: rotate(4deg);
}

/* ============================================================
   TICKER (single marquee: trust + range)
   ============================================================ */
.ticker {
  background: var(--ink);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  overflow: hidden;
  padding: 16px 0;
}

.ticker-track {
  display: flex;
  width: max-content;
}

.ticker-group {
  display: flex;
  align-items: baseline;
  gap: 30px;
  padding-right: 30px;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: var(--cream);
  white-space: nowrap;
}

.ticker .sep {
  color: var(--red);
  font-weight: 700;
}

@media (prefers-reduced-motion: no-preference) {
  .ticker-track {
    animation: ticker 30s linear infinite;
  }
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ============================================================
   BOOKING (red block + work-order ticket)
   ============================================================ */
.booking {
  background: var(--red);
  color: var(--cream);
  padding: 104px 0 112px;
}

.booking h2 { color: var(--cream); }

.booking-inner {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 72px;
  align-items: start;
}

.booking-intro > p {
  color: var(--cream-dim);
  max-width: 44ch;
  margin-top: 20px;
}

.booking-call {
  margin-top: 28px;
  font-size: 0.96rem;
  color: var(--cream-dim);
}

/* The work-order ticket */
.ticket {
  background: var(--paper-bright);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  color: var(--ink);
}

.ticket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px;
  border-bottom: 2px dashed var(--ink);
}

.ticket-title {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
}

.ticket-note { color: var(--ink-2); }

.ticket-body {
  padding: 30px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.form-group input {
  padding: 10px 2px;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  transition: border-color 0.2s var(--ease);
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
}

.form-group input:focus {
  outline: none;
  border-bottom-color: var(--red);
}

.form-group input::placeholder { color: var(--ink-3); }

.form-group select {
  padding: 10px 2px;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  transition: border-color 0.2s var(--ease);
  width: 100%;
  cursor: pointer;
}

.form-group select:focus {
  outline: none;
  border-bottom-color: var(--red);
}

/* The placeholder option reads quiet, like input placeholders. */
.form-group select:invalid,
.form-group select option[value=""] { color: var(--ink-3); }

/* Hero treatment for the phone field: the one thing the ticket asks for. */
.form-group-hero label { font-size: 1.05rem; }

.form-group-hero input {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 2px;
  border-bottom: 3px solid var(--ink);
}

.form-group-hero input:focus { border-bottom-color: var(--red); }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--ink-2);
  line-height: 1.5;
  cursor: pointer;
}

.consent input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--red);
}

.form-range-note {
  font-size: 0.85rem;
  color: var(--ink-3);
  text-align: center;
  line-height: 1.5;
}

.form-note {
  font-size: 0.9rem;
  color: var(--red-dark);
  text-align: center;
  font-weight: 600;
}

/* Honeypot: off-screen, invisible to humans, present for bots */
.hp {
  position: absolute;
  left: -6000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Out-of-range decline state inside the ticket */
.ticket-decline p {
  color: var(--ink-2);
  margin-bottom: 16px;
}

.decline-scrawl {
  font-size: 1.6rem;
  color: var(--ink) !important;
}

/* ============================================================
   THE WALL (gallery)
   ============================================================ */
.work {
  padding: 112px 0;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 36px;
  margin-top: 56px;
}

.work-grid .polaroid:nth-child(3n+2) { margin-top: 30px; }

@media (prefers-reduced-motion: no-preference) {
  .work-grid .polaroid {
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  }

  .work-grid .polaroid.in:hover {
    transform: translateY(0) rotate(0deg) scale(1.015);
    box-shadow: 0 20px 44px rgba(26, 25, 22, 0.22);
    z-index: 2;
  }
}

/* ============================================================
   RATE CARD (services): three-line ladder, thumb-scannable
   ============================================================ */
.services {
  padding: 0 0 112px;
}

.rate-lines {
  max-width: 720px;
}

.rate-line {
  font-size: clamp(1.4rem, 3.4vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.rate-line:last-child { border-bottom: 1px solid var(--line); }

.rate-line strong {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25em;
  letter-spacing: 0.02em;
}

.rate-sub {
  margin-top: 18px;
  color: var(--ink-2);
  max-width: 54ch;
}

.rate-big {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--paper-bright);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 26px 32px;
  margin: 40px 0 36px;
  max-width: 860px;
}

.rate-big p {
  font-size: 1.1rem;
  max-width: 48ch;
}

.rate-big strong {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35em;
  letter-spacing: 0.02em;
}

.rate-big .scrawl {
  color: var(--ink-2);
  white-space: nowrap;
}

/* In the Big rigs column the card is half-width, so it stacks. */
.fleet-copy .rate-big {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 26px;
  margin: 28px 0 0;
}

.rate-trust {
  font-weight: 700;
  color: var(--ink);
  max-width: 54ch;
}

.rate-aircraft {
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--ink-3);
}

.rate-cta { margin-top: 32px; }

/* ============================================================
   BIG RIGS (fleet)
   ============================================================ */
.fleet {
  padding: 0 0 112px;
}

.fleet-photo {
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.fleet-photo img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: 50% 18%;
}

.fleet-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 64px;
}

.fleet-copy p { color: var(--ink-2); margin-top: 14px; }

.aviation-title {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--red);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 0 0 112px;
}

.about-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  align-items: center;
}

.about-photo img { aspect-ratio: 4 / 5; }

.about-copy p {
  color: var(--ink-2);
  margin-bottom: 18px;
  max-width: 56ch;
}

.about-copy p:last-child {
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 0;
}

/* ============================================================
   WORD OF MOUTH (reviews)
   ============================================================ */
.reviews {
  padding: 0 0 112px;
}

.reviews-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  margin-top: 56px;
}

.review-card {
  background: var(--paper-bright);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  padding: 30px;
}

.review-card p {
  color: var(--ink);
  text-wrap: pretty;
}

.review-featured {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.review-featured p {
  font-size: clamp(1.25rem, 2.1vw, 1.55rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  font-weight: 500;
}

.reviews-side {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.reviews-side p {
  font-size: 0.98rem;
  color: var(--ink-2);
}

.review-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.35;
}

.review-card footer img {
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ink);
}

.review-card footer strong { color: var(--ink); }

.reviews-all { margin-top: 48px; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-final {
  border-top: 3px solid var(--ink);
  padding: 110px 0 120px;
  text-align: center;
}

.cta-final h2 {
  font-size: clamp(3rem, 8vw, 5.6rem);
  margin-bottom: 36px;
}

.cta-note {
  margin-top: 18px;
  color: var(--ink-2);
}

/* ============================================================
   FOOTER (ink block + watermark)
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0 0;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-blurb {
  margin-top: 16px;
  font-size: 0.93rem;
  color: rgba(244, 239, 229, 0.62);
  max-width: 38ch;
}

.footer-col h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--cream);
}

.footer-col li {
  font-size: 0.93rem;
  color: rgba(244, 239, 229, 0.62);
  margin-bottom: 9px;
}

.footer-col a:hover { color: var(--cream); }

.footer-mark {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(4.5rem, 16vw, 13rem);
  line-height: 0.78;
  text-align: center;
  color: rgba(244, 239, 229, 0.07);
  user-select: none;
  white-space: nowrap;
}

.footer-bottom {
  border-top: 1px solid rgba(244, 239, 229, 0.16);
  padding: 20px 28px;
  font-size: 0.82rem;
  color: rgba(244, 239, 229, 0.45);
}

/* ============================================================
   MOBILE CALL BAR
   ============================================================ */
.callbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--red);
  border-top: 2px solid var(--ink);
  text-align: center;
}

.callbar a {
  display: block;
  padding: 15px 15px calc(15px + env(safe-area-inset-bottom, 0px));
  color: var(--paper-bright);
  font-weight: 700;
  font-size: 1rem;
}

/* ============================================================
   REVEAL (JS adds .in; --rot preserves polaroid tilt)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(18px) rotate(var(--rot, 0deg));
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  }

  [data-reveal].in {
    opacity: 1;
    transform: translateY(0) rotate(var(--rot, 0deg));
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transform: rotate(var(--rot, 0deg)); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 72px;
  }

  .hero { padding: 136px 0 96px; }

  .hero-media {
    max-width: 560px;
    margin: 0 auto;
  }

  .booking-inner,
  .fleet-copy,
  .about-inner,
  .reviews-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .about-photo { max-width: 400px; }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 32px;
  }

  .work-grid .polaroid:nth-child(3n+2) { margin-top: 0; }
  .work-grid .polaroid:nth-child(2n) { margin-top: 26px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 28px 24px;
    gap: 2px;
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform 0.35s var(--ease), visibility 0.35s;
  }

  .nav-links.open {
    transform: translateY(0);
    visibility: visible;
  }

  .nav-links a:not(.btn) {
    padding: 13px 4px;
    font-size: 1.05rem;
  }

  .nav-links .btn {
    margin: 12px 0 0;
    text-align: center;
  }

  .booking { padding: 80px 0 88px; }

  .work { padding: 88px 0; }

  .services, .fleet, .about, .reviews { padding-bottom: 88px; }

  .fleet-copy { margin-top: 48px; }

  .rate-big {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 24px;
  }

  .form-row { grid-template-columns: 1fr; }

  .ticket { box-shadow: 6px 6px 0 var(--ink); }

  .ticket-body { padding: 24px 20px 22px; }

  .ticket-head { padding: 14px 20px; }

  .cta-final { padding: 88px 0 96px; }

  .callbar { display: block; }
  /* Reserve room so the fixed call bar (incl. iOS home-indicator inset) never hides content */

  .footer { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }

  .hero { padding: 124px 0 80px; }

  .hero-actions .btn { width: 100%; }

  .hero-media { padding: 16px 12px 28px 12px; }

  .hero-snap { display: none; }

  .badge {
    width: 96px;
    height: 96px;
    right: -8px;
    bottom: -24px;
  }

  .badge-core { font-size: 1.35rem; }

  .work-grid { grid-template-columns: 1fr; gap: 44px; }

  .work-grid .polaroid:nth-child(2n) { margin-top: 0; }

  .section-head { flex-direction: column; gap: 6px; }
}

/* ============================================================
   BOOKING FLOW PAGES (book.html, confirmed.html)
   Design preview of the cal.com step; same work-order language.
   ============================================================ */
.flow-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.flow-main {
  flex: 1;
  padding: 116px 0 96px;
}

.flow-strip {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-3);
}

.flow-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.flow-strip .done { color: var(--ink-2); }
.flow-strip .now { color: var(--red); }

.flow-strip .tick { font-weight: 700; }

.flow-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.flow-head h1 { font-size: clamp(2.8rem, 7vw, 4.8rem); }

.flow-head .scrawl { color: var(--ink-2); font-size: 1.5rem; }

.picker {
  background: var(--paper-bright);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}

.picker-row {
  padding: 24px 28px;
  border-bottom: 2px dashed var(--ink);
}

.picker-row:last-of-type { border-bottom: none; }

.picker-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.picker-label .scrawl {
  font-weight: 600;
  color: var(--ink-2);
  font-size: 1.15rem;
  margin-left: 8px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 9px 18px;
  background: transparent;
  border: 2px solid var(--ink);
  border-radius: 6px;
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease),
              transform 0.12s var(--ease), box-shadow 0.12s var(--ease);
}

.chip:hover {
  transform: translate(-1px, -1px);
  box-shadow: 2px 2px 0 var(--ink);
}

.chip.on {
  background: var(--ink);
  color: var(--paper-bright);
  box-shadow: 2px 2px 0 rgba(26, 25, 22, 0.35);
}

.chip-hint {
  font-size: 0.85rem;
  color: var(--ink-3);
  margin-top: 12px;
}

/* How-dirty-is-it: the 1-5 chips read as a scale, so make them equal-width
   and a touch larger than the type chips. */
.cond-chips {
  gap: 8px;
}

.cond-chip {
  min-width: 52px;
  padding: 10px 0;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-size: 1rem;
}

.cal {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.day h3 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  text-align: center;
}

.day-slots {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.slot {
  padding: 9px 6px;
  background: transparent;
  border: 2px solid var(--ink);
  border-radius: 6px;
  font-family: var(--body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}

.slot:hover { background: rgba(26, 25, 22, 0.07); }

.slot.on {
  background: var(--red);
  border-color: var(--ink);
  color: var(--paper-bright);
}

.slot.taken {
  border-color: var(--line);
  color: var(--ink-3);
  text-decoration: line-through;
  cursor: not-allowed;
  background: transparent;
}

.confirm-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 22px 28px;
  background: var(--ink);
}

.confirm-summary {
  color: var(--cream);
  font-family: var(--hand);
  font-weight: 600;
  font-size: 1.4rem;
}

.confirm-summary.empty { color: rgba(244, 239, 229, 0.55); }

.demo-note {
  margin-top: 22px;
  font-size: 0.85rem;
  color: var(--ink-3);
  text-align: center;
}

.next-list {
  margin: 36px 0;
  max-width: 560px;
}

.next-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0 14px;
  padding: 16px 0;
  color: var(--ink-2);
  font-size: 0.96rem;
  counter-increment: next;
}

.next-list { counter-reset: next; }

.next-list li + li { border-top: 1px solid var(--line); }

.next-list li::before {
  content: counter(next, decimal-leading-zero);
  grid-row: span 2;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--red);
  line-height: 1.1;
}

.next-list strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.04rem;
}

@media (max-width: 900px) {
  .cal { grid-template-columns: repeat(3, 1fr); gap: 18px 14px; }
}

@media (max-width: 480px) {
  .cal { grid-template-columns: repeat(2, 1fr); }

  .picker-row { padding: 20px 18px; }

  .confirm-bar { padding: 18px; }

  .confirm-bar .btn { width: 100%; }
}

/* ============================================================
   THANK YOU PAGE
   ============================================================ */
.thanks-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.thanks-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}

.thanks-inner {
  max-width: 620px;
}

.thanks-inner h1 {
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  margin-bottom: 24px;
}

.thanks-inner p {
  color: var(--ink-2);
  margin-bottom: 16px;
}

.thanks-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* "Need a different time?" reschedule block on confirmed.html — prominent,
   same shop-wall language. Sits above the quieter back/see-the-wall row. */
.reschedule-row {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 2px solid var(--ink);
  max-width: 560px;
}

.reschedule-row .scrawl {
  display: block;
  color: var(--ink-2);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.reschedule-note {
  margin: 12px 0 0;
  color: var(--ink-2);
  font-size: 0.92rem;
}

/* ============================================================
   BOOKING SYSTEM (BOOKING-SYSTEM-PLAN.md build, 2026-06-11)
   Phone-first ticket states, the garage, add-on line items,
   the live order total, promo row, and the cal.com embed shell.
   Same shop-wall language: paper, ink, signal red, hard offsets.
   ============================================================ */

/* ---- Ticket step states (front page + VIP) ---- */
.ticket-step { display: flex; flex-direction: column; gap: 24px; }

@media (prefers-reduced-motion: no-preference) {
  .ticket-step { animation: step-in 0.35s var(--ease); }
  @keyframes step-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

.consent-line {
  font-size: 0.85rem;
  color: var(--ink-2);
  line-height: 1.5;
}

.field-error {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--red-dark);
}

/* The welcome-back confirm */
.welcome-scrawl {
  font-size: 1.7rem;
  color: var(--ink);
}

.welcome-name {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 2.2rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.welcome-line { color: var(--ink-2); }

.ticket-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ticket-alt {
  background: none;
  border: none;
  padding: 4px 0;
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  align-self: center;
}

.ticket-alt:hover { color: var(--red); }

/* ---- The garage (vehicle cards) ---- */
.garage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 12px;
}

.garage-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  padding: 14px 16px;
  background: transparent;
  border: 2px solid var(--ink);
  border-radius: 6px;
  font-family: var(--body);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease),
              transform 0.12s var(--ease), box-shadow 0.12s var(--ease);
}

.garage-card:hover {
  transform: translate(-1px, -1px);
  box-shadow: 2px 2px 0 var(--ink);
}

.garage-card.on {
  background: var(--ink);
  color: var(--paper-bright);
  box-shadow: 2px 2px 0 rgba(26, 25, 22, 0.35);
}

.garage-card .veh-name {
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.garage-card .veh-meta {
  font-size: 0.82rem;
  color: var(--ink-3);
}

.garage-card.on .veh-meta { color: rgba(244, 239, 229, 0.65); }

.garage-card.add-card {
  border-style: dashed;
  justify-content: center;
  align-items: flex-start;
}

.garage-card.add-card .veh-name { color: var(--red); }

.garage-card.add-card.on { border-style: solid; }

/* ---- The address book (address cards), mirrors the garage ---- */
.addr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 12px;
}

.addr-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  padding: 14px 16px;
  background: transparent;
  border: 2px solid var(--ink);
  border-radius: 6px;
  font-family: var(--body);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease),
              transform 0.12s var(--ease), box-shadow 0.12s var(--ease);
}

.addr-card:hover {
  transform: translate(-1px, -1px);
  box-shadow: 2px 2px 0 var(--ink);
}

.addr-card.on {
  background: var(--ink);
  color: var(--paper-bright);
  box-shadow: 2px 2px 0 rgba(26, 25, 22, 0.35);
}

.addr-card .addr-line {
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.addr-card .addr-meta {
  font-size: 0.82rem;
  color: var(--ink-3);
}

.addr-card.on .addr-meta { color: rgba(244, 239, 229, 0.65); }

.addr-card.add-card {
  border-style: dashed;
  justify-content: center;
  align-items: flex-start;
}

.addr-card.add-card .addr-line { color: var(--red); }

.addr-card.add-card.on { border-style: solid; }

/* The add-an-address form, same dashed panel as the new-vehicle form */
.addr-form {
  margin-top: 16px;
  padding: 18px;
  border: 2px dashed var(--line);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* The add-a-vehicle form */
.veh-form {
  margin-top: 16px;
  padding: 18px;
  border: 2px dashed var(--line);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.veh-form .form-row { grid-template-columns: 90px 1fr 1fr; }

/* ---- Run it back ---- */
.runback {
  position: relative;
  background: var(--paper-bright);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 24px 28px;
  margin-bottom: 28px;
}

.runback::before {
  content: '';
  position: absolute;
  top: -13px;
  left: 28px;
  width: 84px;
  height: 26px;
  transform: rotate(-3deg);
  background: linear-gradient(180deg, rgba(233, 222, 182, 0.85), rgba(224, 211, 168, 0.72));
  box-shadow: 0 1px 3px rgba(26, 25, 22, 0.12);
}

.runback-scrawl {
  font-size: 1.55rem;
  color: var(--red);
  display: block;
  margin-bottom: 6px;
}

.runback p { color: var(--ink-2); max-width: 52ch; }

.runback strong { color: var(--ink); }

.runback-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* ---- Service cards ---- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
}

.svc-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  padding: 16px 18px;
  background: transparent;
  border: 2px solid var(--ink);
  border-radius: 6px;
  font-family: var(--body);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease),
              transform 0.12s var(--ease), box-shadow 0.12s var(--ease);
}

.svc-card:hover {
  transform: translate(-1px, -1px);
  box-shadow: 2px 2px 0 var(--ink);
}

.svc-card.on {
  background: var(--ink);
  color: var(--paper-bright);
}

.svc-card .svc-name { font-weight: 700; }

.svc-card .svc-price {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}

.svc-card .svc-desc {
  font-size: 0.82rem;
  color: var(--ink-3);
  line-height: 1.45;
}

.svc-card.on .svc-desc { color: rgba(244, 239, 229, 0.65); }

/* ---- Add-on line items (work-order voice) ---- */
.addon-list { display: flex; flex-direction: column; }

.addon-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 2px;
  cursor: pointer;
  border-bottom: 1px solid var(--line);
}

.addon-row:last-child { border-bottom: none; }

.addon-row input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--red);
  cursor: pointer;
}

.addon-row .addon-name { font-weight: 600; }

.addon-row .addon-desc {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-3);
  font-weight: 400;
}

.addon-row .addon-price {
  margin-left: auto;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ---- New-address confirm ---- */
.addr-confirm-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}

.addr-confirmed {
  color: #2c6e3f;
  font-size: 1.25rem;
}

/* ---- Promo row ---- */
.promo-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

.promo-row .form-group { flex: 1; }

.promo-row .btn { padding: 10px 22px; }

.promo-note { font-size: 0.88rem; font-weight: 600; margin-top: 10px; }
.promo-note.good { color: #2c6e3f; }
.promo-note.bad  { color: var(--red-dark); }

/* ---- The order total (slim sticky ink bar) ---- */
.order-bar {
  position: sticky;
  bottom: 0;
  z-index: 80;
  background: var(--ink);
  padding: 12px 28px calc(14px + env(safe-area-inset-bottom, 0px));
}

/* Failure state: impossible to miss. */
.order-alert {
  background: var(--red);
  color: var(--paper-bright);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  padding: 12px 16px;
  margin-bottom: 12px;
  border: 2px solid var(--paper-bright);
}

.order-alert a {
  color: var(--paper-bright);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

/* Itemized lines live in the form flow, receipt style. */
.order-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.92rem;
  color: var(--ink-2);
  border-top: 2px dashed var(--line);
  padding-top: 14px;
}

.order-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.order-line .li-price {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.order-line.discount { color: #2c6e3f; font-weight: 600; }

.order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.order-total {
  color: var(--cream);
  font-family: var(--hand);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.1;
}

.order-total small {
  display: block;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.78rem;
  color: rgba(244, 239, 229, 0.55);
  letter-spacing: 0.02em;
}

/* ---- The cal.com embed step ---- */
.embed-shell {
  background: var(--paper-bright);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}

.embed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 28px;
  border-bottom: 2px dashed var(--ink);
}

.embed-head .scrawl { color: var(--ink-2); font-size: 1.2rem; }

.embed-summary { font-weight: 700; }

.embed-back {
  background: none;
  border: none;
  font-family: var(--body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.embed-back:hover { color: var(--red); }

#calEmbed { min-height: 620px; }

.embed-wait {
  padding: 64px 28px;
  text-align: center;
  color: var(--ink-3);
}

/* ---- Page-level loading / error states ---- */
.page-wait {
  padding: 72px 0;
  text-align: center;
  color: var(--ink-2);
}

.page-wait .scrawl { font-size: 1.5rem; display: block; }

/* ---- Confirmed page order card ---- */
.confirm-card {
  background: var(--paper-bright);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  max-width: 560px;
  margin-bottom: 36px;
}

.confirm-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 2px dashed var(--ink);
}

.confirm-card-head .ticket-title { font-size: 1.3rem; }

.confirm-code {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--ink-2);
}

.confirm-card-body { padding: 20px 24px; }

.confirm-card-body .order-line {
  color: var(--ink-2);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.confirm-card-body .order-line:last-child { border-bottom: none; }

.confirm-card-body .order-line strong { color: var(--ink); }

.confirm-card-body .order-line.discount { color: var(--red-dark); }

.confirm-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 24px 18px;
  border-top: 2px dashed var(--ink);
}

.confirm-total .scrawl { font-size: 1.5rem; }

.confirm-total .amount {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .order-bar { padding: 16px 18px calc(18px + env(safe-area-inset-bottom, 0px)); }
  .order-row .btn { width: 100%; }
  .veh-form .form-row { grid-template-columns: 1fr 1fr; }
  .garage-grid, .addr-grid, .svc-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .garage-grid, .addr-grid, .svc-grid { grid-template-columns: 1fr; }
  .promo-row { flex-direction: column; align-items: stretch; }
  .confirm-bar { padding: 18px; }
}

/* Rate-card deep link (goes straight to a full-detail booking) */
.rate-deep { display: block; }
.rate-deep:hover strong { color: var(--red); }

/* The step-switcher's load-bearing rule: panels with display classes
   (flex grids, the ticket steps) were overriding the HTML hidden
   attribute, so every form step rendered stacked instead of swapping.
   hidden always wins. */
[hidden] { display: none !important; }
