/* ==========================================================================
   Ski Country — Opus refresh layer ("Field manual" direction)
   Loaded after site.css. Owns: tokens, shared shell (header, nav, menu,
   footer), homepage, towing overview, shared heading scale for all routes.
   Approved tokens only: navy/deep/gold/ink/slate/rule/white/paper, Poppins.
   ========================================================================== */

:root {
  /* Type scale (1.25 ratio, capped) */
  --t-cap: 0.75rem;      /* 12 — labels, uppercase */
  --t-sm: 0.875rem;      /* 14 — meta */
  --t-body: 1rem;        /* 16 */
  --t-lead: 1.125rem;    /* 18 */
  --t-h3: 1.375rem;      /* 22 */
  --t-h2: clamp(1.75rem, 2.4vw, 2.375rem);   /* 28–38 */
  --t-h1: clamp(2.125rem, 3.3vw, 3.25rem);   /* 34–52 */

  --chapter-pad: 96px;
  --header-h: 80px;

  /* Motion tokens (see README → Motion specification) */
  --ease-enter: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-move: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);
  --dur-press: 120ms;
  --dur-hover: 160ms;
  --dur-pop: 180ms;
  --dur-pop-exit: 120ms;
  --dur-menu: 220ms;
  --dur-menu-exit: 160ms;
  --dur-photo: 380ms;
  --dur-route: 240ms;

  --fs-display: var(--t-h1);
  --fs-900: var(--t-h2);
}

/* ------------------------------------------------------------ Base type */
h1 {
  font-size: var(--t-h1);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

h2 {
  font-size: var(--t-h2);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h3 {
  font-size: var(--t-h3);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.lead {
  font-size: var(--t-lead);
  line-height: 1.6;
}

/* Shared heading scale for every other route's hero (calmer, consistent). */
.page-hero h1,
.tow-split__copy h1,
.tow-paper__head h1,
.tow-recovery h1,
.mobile-open h1,
.fleet-hero h1,
.about-hero h1,
.contact-hero h1,
.article-hero h1,
.reviews-hero h1,
.service-head h1,
.not-found h1 {
  font-size: var(--t-h1);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.section {
  padding: var(--chapter-pad) 0;
}

/* ------------------------------------------------------------- Buttons */
.btn {
  min-height: 48px;
  transition:
    background-color var(--dur-hover) var(--ease-enter),
    color var(--dur-hover) var(--ease-enter),
    border-color var(--dur-hover) var(--ease-enter),
    transform var(--dur-press) var(--ease-enter);
  touch-action: manipulation;
}

.btn:hover {
  transform: none;
}

.btn:active {
  transform: scale(0.98);
  transition-duration: 0ms;
}

.text-action .od-icon-wrap {
  transition: transform var(--dur-hover) var(--ease-enter);
}

@media (hover: hover) and (pointer: fine) {
  .btn--gold:hover {
    background: #f6c94b;
    border-color: #f6c94b;
    color: var(--deep);
  }
  .text-action:hover {
    text-decoration: underline;
    text-underline-offset: 0.25em;
    text-decoration-thickness: 2px;
  }
}

/* ================================================================ SHELL */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}

.topline {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.86);
}

.topline__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 36px;
}

.topline__item {
  margin: 0;
  font-size: var(--t-cap);
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.topline__hours {
  display: flex;
  gap: 24px;
}

.topline__hours span + span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 24px;
  background: var(--gold);
  vertical-align: middle;
}

.topline__mail {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.topline__mail:hover {
  color: var(--gold);
}

.bar__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.bar .logo img {
  width: 132px;
  height: auto;
}

/* Primary nav on white */
.bar .primary-nav {
  margin-left: 8px;
}

.bar .nav__link {
  min-height: var(--header-h);
  padding: 0 12px;
  color: var(--ink);
  font-size: var(--t-sm);
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    color var(--dur-hover) var(--ease-enter),
    background-color var(--dur-hover) var(--ease-enter);
}

.bar .nav__link:hover,
.bar .nav__item.is-open > .nav__link {
  background: transparent;
  color: var(--navy);
}

.bar .nav__link.is-current {
  color: var(--navy);
}

.bar .nav__link::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 0;
  left: 12px;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-hover) var(--ease-enter);
}

.bar .nav__link.is-current::after,
.bar .nav__item.is-open > .nav__link::after {
  transform: scaleX(1);
}

@media (hover: hover) and (pointer: fine) {
  .bar .nav__link:hover::after {
    transform: scaleX(1);
  }
}

.bar .nav__trigger .od-icon-wrap {
  transition: transform var(--dur-pop) var(--ease-enter);
}

/* Dropdown: enter 180ms ease-out from the trigger; exit 120ms */
.bar .nav__dropdown {
  top: calc(100% + 1px);
  border-top: 3px solid var(--gold);
  transform-origin: top left;
  transform: translateY(-4px) scale(0.98);
  transition:
    opacity var(--dur-pop-exit) var(--ease-exit),
    transform var(--dur-pop-exit) var(--ease-exit),
    visibility 0s linear var(--dur-pop-exit);
}

.bar .nav__item.is-open .nav__dropdown {
  transform: none;
  transition:
    opacity var(--dur-pop) var(--ease-enter),
    transform var(--dur-pop) var(--ease-enter),
    visibility 0s linear 0s;
}

.bar .nav__sublist a {
  transition: color var(--dur-hover) var(--ease-enter);
}

.bar .nav__sublist a:hover {
  padding-left: 0;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.bar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.header-call {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 16px 0 8px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition:
    border-color var(--dur-hover) var(--ease-enter),
    background-color var(--dur-hover) var(--ease-enter);
  touch-action: manipulation;
}

.header-call__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--gold);
  color: var(--deep);
  font-size: 1rem;
}

.header-call__copy {
  display: grid;
}

.header-call__label {
  display: block;
  color: var(--slate);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.header-call__number {
  display: block;
  color: var(--ink);
  font-size: var(--t-sm);
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .header-call:hover {
    border-color: var(--navy);
  }
}

.header-call:active {
  background: var(--paper);
}

.header-book {
  white-space: nowrap;
}

.menu-toggle {
  min-width: 48px;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  color: var(--navy);
}

/* Mobile shortcuts: always visible when the full nav collapses */
.mobile-shortcuts {
  display: none;
}

/* ---------------------------------------------------------- Menu sheet */
.menu-dialog {
  width: min(440px, 100%);
  height: 100%;
  max-height: none;
  margin: 0 0 0 auto;
  padding: 0;
  background: var(--white);
  overflow: hidden;
}

.menu-dialog[open] {
  display: block;
}

.menu-dialog__panel {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.menu-dialog[open] .menu-dialog__panel {
  animation: sheet-in var(--dur-menu) var(--ease-enter) both;
}

.menu-dialog[open]::backdrop {
  background: rgba(9, 33, 78, 0.5);
  animation: fade-in var(--dur-menu) var(--ease-enter) both;
}

.menu-dialog.is-closing .menu-dialog__panel {
  animation: sheet-out var(--dur-menu-exit) var(--ease-exit) both;
}

.menu-dialog.is-closing::backdrop {
  animation: fade-out var(--dur-menu-exit) var(--ease-exit) both;
}

@keyframes sheet-in {
  from { transform: translateX(32px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@keyframes sheet-out {
  from { transform: none; opacity: 1; }
  to { transform: translateX(24px); opacity: 0; }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

.menu-dialog__top {
  min-height: 64px;
}

.menu-dialog .icon-btn {
  border-radius: var(--radius);
}

.menu-quick a {
  min-height: 88px;
}

.menu-sub {
  margin-left: 0;
}

/* -------------------------------------------------------------- Footer */
.site-footer {
  padding: 0 0 32px;
  background: var(--deep);
  color: rgba(255, 255, 255, 0.8);
}

.footer-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  padding: 56px 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-cta__label,
.footer-col__heading {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: var(--t-cap);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer-cta__phone {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--white);
  font-family: inherit;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  cursor: pointer;
}

.footer-cta__phone:hover {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.15em;
}

.footer-cta__note {
  max-width: 52ch;
  margin-top: 8px;
  font-size: var(--t-sm);
  line-height: 1.6;
}

.footer-cta__repair {
  align-self: end;
  justify-self: end;
  text-align: right;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr) 1.3fr;
  gap: 32px;
  padding: 48px 0;
}

.footer-brand__name {
  margin: 0;
  color: var(--white);
  font-size: var(--t-lead);
  font-weight: 700;
  line-height: 1.35;
}

.footer-brand__since {
  margin: 8px 0 16px;
  color: var(--gold);
  font-size: var(--t-sm);
}

.footer-brand__address {
  margin: 0 0 8px;
  font-size: var(--t-sm);
  line-height: 1.6;
}

.footer-brand__mail {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--white);
  font-size: var(--t-sm);
}

.footer-col ul {
  display: grid;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--t-sm);
  text-decoration: none;
  transition: color var(--dur-hover) var(--ease-enter);
}

.footer-col a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.footer-hours {
  display: grid;
  gap: 12px;
  margin: 0;
}

.footer-hours dt {
  color: var(--white);
  font-size: var(--t-sm);
  font-weight: 700;
}

.footer-hours dd {
  margin: 0;
  font-size: var(--t-sm);
  line-height: 1.5;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--t-cap);
}

/* Route change: short fade-up of the new view (user-triggered only) */
main.route-enter {
  animation: route-in var(--dur-route) var(--ease-enter) both;
}

@keyframes route-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ============================================================ CHAPTERS */
.chapter {
  padding: var(--chapter-pad) 0;
  background: var(--white);
}

.chapter--paper {
  background: var(--paper);
}

.chapter--navy {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.86);
}

.chapter-head {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) auto;
  gap: 32px;
  align-items: start;
  margin-bottom: 48px;
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}

.chapter--navy .chapter-head {
  border-top-color: var(--gold);
}

.chapter-head__num {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  color: var(--navy);
  font-size: var(--t-cap);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.chapter-head__num > span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 24px;
  padding: 0 6px;
  background: var(--gold);
  color: var(--deep);
  letter-spacing: 0.02em;
}

.chapter--navy .chapter-head__num {
  color: var(--white);
}

.chapter-head__main h2 {
  max-width: 22ch;
}

.chapter-head__lead {
  max-width: 58ch;
  margin-top: 16px;
  color: var(--slate);
  font-size: var(--t-lead);
  line-height: 1.6;
}

.chapter--navy .chapter-head__lead {
  color: rgba(255, 255, 255, 0.84);
}

.chapter-head__aside {
  align-self: end;
}

.chapter-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}

/* ============================================================ MASTHEAD */
.mast,
.tmast {
  padding: 48px 0 56px;
  background: var(--white);
}

.mast__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: center;
}

.mast__place {
  margin: 0 0 20px;
  color: var(--navy);
  font-size: var(--t-cap);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.mast h1,
.tmast h1 {
  max-width: 16ch;
  color: var(--ink);
}

.mast__lead {
  max-width: 44ch;
  margin-top: 20px;
  color: var(--slate);
  font-size: var(--t-lead);
  line-height: 1.6;
}

/* The decision: two equal, unmistakable service tiles */
.decide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}

.decide__tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 136px;
  padding: 20px 20px 20px;
  border: 0;
  border-radius: var(--radius);
  font-family: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--dur-hover) var(--ease-enter),
    transform var(--dur-press) var(--ease-enter);
  touch-action: manipulation;
}

.decide__tile:active {
  transform: scale(0.985);
  transition-duration: 0ms;
}

.decide__tile--tow {
  background: var(--gold);
  color: var(--deep);
}

.decide__tile--repair {
  background: var(--navy);
  color: var(--white);
}

@media (hover: hover) and (pointer: fine) {
  .decide__tile--tow:hover { background: #f6c94b; }
  .decide__tile--repair:hover { background: var(--deep); }
  .decide__tile:hover .decide__icon { transform: translateX(3px); }
}

.decide__label {
  display: block;
  padding-right: 32px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.decide__title {
  display: block;
  margin-top: auto;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.decide__meta {
  display: block;
  font-size: var(--t-sm);
  line-height: 1.4;
  white-space: nowrap;
}

.decide__tile--repair .decide__meta {
  color: rgba(255, 255, 255, 0.86);
}

.decide__icon {
  position: absolute;
  top: 18px;
  right: 18px;
  --od-icon-size: 1.25rem;
  font-size: 1.25rem;
  line-height: 0;
  transition: transform var(--dur-hover) var(--ease-enter);
}

.decide__tile--repair .decide__icon {
  color: var(--gold);
}

.decide__tile:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.mast__also {
  margin-top: 20px;
  color: var(--slate);
  font-size: var(--t-sm);
}

.mast__also a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--navy);
  font-weight: 700;
  text-underline-offset: 0.25em;
}

.mast__photo,
.tmast__photo {
  margin: 0;
}

.mast__frame {
  aspect-ratio: 2048 / 1536;
  overflow: hidden;
  background: var(--paper);
}

.mast__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mast__caption {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  color: var(--slate);
  font-size: var(--t-sm);
  line-height: 1.5;
}

.mast__seal {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 72px;
  height: 56px;
  padding: 0 10px;
  background: var(--deep);
  color: var(--white);
}

.mast__seal strong {
  display: block;
  order: 2;
  color: var(--gold);
  font-size: 1.25rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.mast__seal span {
  display: block;
  order: 1;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mast__seal--247 strong { order: 1; }
.mast__seal--247 span { order: 2; }

/* --------------------------------------------------------------- Ledger */
.ledger {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--white);
}

.ledger__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.ledger__item {
  padding: 24px 24px 24px 0;
}

.ledger__item + .ledger__item {
  padding-left: 24px;
  border-left: 1px solid var(--rule);
}

.ledger dt {
  margin-bottom: 4px;
  color: var(--slate);
  font-size: var(--t-cap);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ledger dd {
  margin: 0;
}

.ledger strong {
  display: block;
  color: var(--ink);
  font-size: var(--t-lead);
  line-height: 1.35;
}

.ledger dd span {
  display: block;
  margin-top: 4px;
  color: var(--slate);
  font-size: var(--t-sm);
  line-height: 1.5;
}

/* ============================================== TOWING CHOOSER (chapter 01) */
.chooser {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}

.chooser__prompt,
.chooser__ready-label {
  margin: 0 0 12px;
  color: var(--slate);
  font-size: var(--t-cap);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chooser__tabs {
  display: grid;
  border-top: 1px solid var(--rule);
}

.chooser__tab {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 72px;
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    background-color var(--dur-hover) var(--ease-enter),
    color var(--dur-hover) var(--ease-enter);
  touch-action: manipulation;
}

.chooser__tab-num {
  flex: 0 0 auto;
  color: var(--slate);
  font-size: var(--t-cap);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.chooser__tab-copy {
  display: grid;
}

.chooser__tab-label {
  display: block;
  font-size: var(--t-body);
  font-weight: 700;
  line-height: 1.35;
}

.chooser__tab-kicker {
  display: block;
  color: var(--slate);
  font-size: 0.8125rem;
  line-height: 1.4;
}

@media (hover: hover) and (pointer: fine) {
  .chooser__tab[aria-selected="false"]:hover {
    background: var(--paper);
  }
}

.chooser__tab[aria-selected="true"] {
  background: var(--navy);
  color: var(--white);
}

.chooser__tab[aria-selected="true"] .chooser__tab-num {
  color: var(--gold);
}

.chooser__tab[aria-selected="true"] .chooser__tab-kicker {
  color: rgba(255, 255, 255, 0.84);
}

.chooser__tab:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

/* The photo frame: all four genuine photos stacked; one visible. */
.chooser__frame {
  display: grid;
  margin: 0;
}

.chooser__frame > img {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.015);
  transition:
    opacity var(--dur-photo) var(--ease-enter),
    transform var(--dur-photo) var(--ease-enter);
}

.chooser__frame > img.is-active {
  opacity: 1;
  transform: none;
}

.chooser__caption {
  grid-area: 2 / 1;
  padding-top: 12px;
  color: var(--slate);
  font-size: var(--t-sm);
  line-height: 1.5;
}

.chooser__detail {
  padding-top: 4px;
}

.chooser__title {
  font-size: var(--t-h3);
}

.chooser__text {
  margin: 12px 0 24px;
  color: var(--slate);
  line-height: 1.6;
}

.chooser__ready {
  display: grid;
  gap: 0;
  margin: 0 0 24px;
  border-top: 1px solid var(--rule);
}

.chooser__ready li {
  position: relative;
  padding: 10px 0 10px 20px;
  border-bottom: 1px solid var(--rule);
  font-size: var(--t-sm);
  line-height: 1.5;
}

.chooser__ready li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--gold);
}

.chooser__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}

/* Static stacked alternative (small screens) */
.tow-stack {
  display: none;
}

/* ============================================== REPAIR ROWS (chapter 02) */
.repair-rows {
  display: grid;
  border-top: 1px solid var(--rule);
}

.repair-row {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}

.repair-row__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.repair-row__num {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: var(--t-cap);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.repair-row__body h3 {
  font-size: 1.25rem;
}

.repair-row__body p:last-child {
  max-width: 40ch;
  margin-top: 8px;
  color: var(--slate);
  font-size: var(--t-sm);
  line-height: 1.6;
}

.repair-row__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  padding-top: 20px;
}

.repair-row__links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  font-size: var(--t-sm);
  font-weight: 700;
  text-decoration: none;
  transition: color var(--dur-hover) var(--ease-enter);
}

.repair-row__links a:hover {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.repair-row__links .repair-row__more {
  color: var(--navy);
}

/* ======================================== MOBILE & FLEET (chapter 03) */
.work-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.work-split__media img {
  object-fit: cover;
}

.work-split__body {
  padding-top: 24px;
}

.work-split__label {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: var(--t-cap);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-split__body h3 {
  color: var(--white);
}

.work-split__body > p:not(.work-split__label) {
  max-width: 52ch;
  margin-top: 12px;
  line-height: 1.6;
}

.work-split__body .work-split__note {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.84);
  font-size: var(--t-sm);
}

.work-split__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  margin-top: 24px;
}

.chapter--navy :focus-visible {
  outline-color: var(--gold);
}

/* ============================================== FAMILY (chapter 04) */
.family {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}

.family__copy h2 {
  margin: 20px 0 20px;
  max-width: 16ch;
}

.family__copy > p {
  max-width: 48ch;
  margin-bottom: 16px;
  color: var(--slate);
  line-height: 1.65;
}

.family__timeline {
  display: grid;
  margin: 24px 0 32px;
  border-top: 1px solid var(--rule);
}

.family__timeline li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: var(--t-sm);
  line-height: 1.5;
}

.family__year {
  color: var(--navy);
  font-weight: 700;
}

.family__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.family__gallery figure {
  margin: 0;
}

.family__main {
  grid-column: 1 / -1;
}

.family__gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.family__gallery figcaption {
  padding-top: 8px;
  color: var(--slate);
  font-size: 0.8125rem;
}

/* ============================================================ VOICES */
.voices {
  padding: 64px 0;
  background: var(--gold);
  color: var(--deep);
}

.voices__grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.voices__label {
  margin: 0 0 8px;
  font-size: var(--t-cap);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.voices .text-action {
  color: var(--deep);
}

.voice {
  margin: 0;
  padding-top: 20px;
  border-top: 2px solid var(--deep);
}

.voice blockquote {
  margin: 0;
}

.voice p {
  font-size: clamp(1.25rem, 1.8vw, 1.625rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.voice figcaption {
  margin-top: 16px;
  font-size: var(--t-sm);
  font-weight: 700;
}

.voice figcaption span {
  font-weight: 400;
}

/* ============================================================= VISIT */
.visit__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px;
  align-items: center;
}

.visit__photo {
  margin: 0;
}

.visit__photo img {
  display: block;
  width: 100%;
  height: auto;
}

.visit__photo figcaption {
  padding-top: 12px;
  color: var(--slate);
  font-size: var(--t-sm);
}

.visit__panel h2 {
  margin: 20px 0 16px;
}

.visit__address {
  font-size: var(--t-lead);
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
}

.visit__hours {
  display: grid;
  margin: 24px 0;
  border-top: 1px solid var(--rule);
}

.visit__hours > div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-size: var(--t-sm);
}

.visit__hours dt {
  color: var(--slate);
  font-weight: 700;
}

.visit__hours dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.visit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

/* ===================================================== TOWING OVERVIEW */
.tmast .crumbs {
  margin-bottom: 24px;
}

.tmast__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: start;
}

.callcard {
  margin-top: 32px;
  padding: 24px;
  background: var(--deep);
  color: rgba(255, 255, 255, 0.86);
}

.callcard__label {
  margin: 0;
  color: var(--gold);
  font-size: var(--t-cap);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.callcard__number {
  margin: 4px 0 16px;
  color: var(--white);
  font-size: clamp(1.625rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

.callcard__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}

.callcard__note {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.8125rem;
  line-height: 1.55;
}

.callcard :focus-visible {
  outline-color: var(--gold);
}

/* Service rows */
.svc-rows {
  display: grid;
  border-top: 1px solid var(--rule);
}

.svc-row {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
}

.svc-row__media {
  display: block;
  overflow: hidden;
}

.svc-row__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--dur-photo) var(--ease-enter);
}

@media (hover: hover) and (pointer: fine) {
  .svc-row:hover .svc-row__media img {
    transform: scale(1.02);
  }
}

.svc-row__num {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: var(--t-cap);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.svc-row__num span {
  color: var(--slate);
}

.svc-row__head h3 a {
  color: var(--ink);
  text-decoration: none;
}

.svc-row__head h3 a:hover {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.svc-row__head > p:last-child {
  max-width: 48ch;
  margin-top: 12px;
  color: var(--slate);
  line-height: 1.6;
}

.svc-row__ready .chooser__ready {
  margin-bottom: 12px;
}

/* Compare */
.compare {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: start;
}

.compare__photo {
  margin: 0;
}

.compare__photo img {
  display: block;
  width: 100%;
  height: auto;
}

.compare__photo figcaption {
  padding-top: 12px;
  color: var(--slate);
  font-size: var(--t-sm);
}

.compare__table {
  border-top: 2px solid var(--ink);
}

.compare__row {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  line-height: 1.5;
}

.compare__row--head {
  color: var(--navy);
  font-size: var(--t-cap);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare__row [role="rowheader"] {
  color: var(--slate);
  font-size: var(--t-sm);
  font-weight: 700;
}

.compare__row strong {
  font-size: var(--t-lead);
}

.compare__row--actions {
  border-bottom: 0;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.steps__item {
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}

.steps__num {
  display: block;
  margin-bottom: 16px;
  color: var(--navy);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.steps__item h3 {
  font-size: 1.125rem;
}

.steps__item p {
  margin-top: 8px;
  color: var(--slate);
  font-size: var(--t-sm);
  line-height: 1.6;
}

/* FAQ split */
.faq-split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px;
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}

.faq-split h2 {
  margin-top: 20px;
}

.faq-split .faq-list {
  margin-top: 0;
}

/* Closer */
.closer {
  padding: 64px 0;
  background: var(--navy);
}

.closer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
}

.closer__label {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: var(--t-cap);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.closer h2 {
  max-width: 22ch;
}

.closer p:not(.closer__label) {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.86);
}

.closer__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}

/* =========================================== OTHER ROUTES: no faded heroes
   Recovery detail previously used a navy gradient over its photo. It is now
   a crisp split: copy on deep navy, full-colour photograph beside it. */
.tow-recovery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: 0;
}

.tow-recovery::before {
  display: none;
}

.tow-recovery__media {
  position: relative;
  inset: auto;
  order: 2;
  min-height: 420px;
  border-left: 6px solid var(--gold);
}

.tow-recovery__media img {
  position: absolute;
  inset: 0;
}

.tow-recovery__inner {
  order: 1;
  width: auto;
  margin: 0;
  padding: 64px 48px 64px max(var(--gutter), calc((100vw - var(--container)) / 2));
}

.tow-hero::before {
  display: none;
}

/* ========================================================== BREAKPOINTS */
@media (max-width: 1240px) {
  .bar .primary-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-shortcuts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--rule);
    background: var(--white);
  }

  .mobile-shortcuts a,
  .mobile-shortcuts button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 8px;
    border: 0;
    border-left: 1px solid var(--rule);
    background: var(--white);
    color: var(--navy);
    font-family: inherit;
    font-size: var(--t-cap);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    touch-action: manipulation;
  }

  .mobile-shortcuts > :first-child {
    border-left: 0;
  }

  .mobile-shortcuts .is-current {
    box-shadow: inset 0 -3px 0 var(--gold);
  }

  .mobile-shortcuts button {
    background: var(--gold);
    color: var(--deep);
  }

  .chooser {
    grid-template-columns: 248px minmax(0, 1fr);
  }

  .chooser__detail {
    grid-column: 2;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-brand,
  .footer-col--hours {
    grid-column: span 3;
  }

  .footer-col--hours .footer-hours {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  :root {
    --chapter-pad: 80px;
  }

  .mast__grid,
  .tmast__grid {
    gap: 40px;
  }

  .chapter-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .chapter-head__aside {
    align-self: start;
  }

  .repair-row {
    grid-template-columns: 176px minmax(0, 1fr);
    gap: 24px 32px;
  }

  .repair-row__links {
    grid-column: 2;
    padding-top: 0;
  }

  .svc-row {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px 32px;
  }

  .svc-row__ready {
    grid-column: 2;
  }

  .voices__grid {
    grid-template-columns: 1fr 1fr;
  }

  .voices__head {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .family {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .topline__mail {
    display: none;
  }

  .mast__grid,
  .tmast__grid,
  .family,
  .visit__grid,
  .compare,
  .faq-split,
  .closer__grid,
  .footer-cta {
    grid-template-columns: minmax(0, 1fr);
  }

  .mast__photo {
    order: -1;
  }

  .mast h1,
  .tmast h1 {
    max-width: 20ch;
  }

  .tmast__photo {
    order: -1;
  }

  .footer-cta__repair {
    justify-self: start;
    text-align: left;
  }

  .work-split {
    gap: 40px;
  }

  .tow-recovery {
    grid-template-columns: minmax(0, 1fr);
  }

  .tow-recovery__media {
    order: 0;
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-left: 0;
    border-bottom: 6px solid var(--gold);
  }

  .tow-recovery__inner {
    padding: 40px var(--gutter);
  }
}

@media (max-width: 760px) {
  :root {
    --chapter-pad: 64px;
    --header-h: 64px;
  }

  .topline {
    display: none;
  }

  .bar__inner {
    gap: 12px;
  }

  .bar .logo img {
    width: 108px;
  }

  .header-call__label {
    display: none;
  }

  .mast,
  .tmast {
    padding: 0 0 48px;
  }

  .mast__grid {
    gap: 24px;
  }

  .mast .wrap.mast__grid,
  .tmast__grid {
    width: 100%;
  }

  .mast__photo,
  .tmast__photo {
    margin: 0;
  }

  /* Keep both decisions inside the first mobile viewport. */
  .mast__frame {
    aspect-ratio: 16 / 9;
  }

  .mast__caption {
    display: none;
  }

  .mast__copy,
  .tmast__copy {
    padding: 0 var(--gutter);
  }

  .tmast .crumbs {
    width: min(var(--container), calc(100% - (var(--gutter) * 2)));
    margin: 16px auto 16px;
  }

  .tmast > .wrap {
    width: 100%;
  }

  .mast__place {
    margin-bottom: 12px;
  }

  .mast__lead {
    margin-top: 12px;
    font-size: var(--t-body);
  }

  .decide {
    margin-top: 24px;
    gap: 8px;
  }

  .decide__tile {
    min-height: 120px;
    padding: 16px;
  }

  .decide__title {
    font-size: 1.0625rem;
  }

  .decide__meta {
    font-size: 0.8125rem;
    white-space: normal;
  }

  .decide__icon {
    top: 14px;
    right: 14px;
  }

  .ledger__list {
    grid-template-columns: 1fr 1fr;
  }

  .ledger__item,
  .ledger__item + .ledger__item {
    padding: 16px 16px 16px 0;
    border-left: 0;
  }

  .ledger__item:nth-child(even) {
    padding-left: 16px;
    border-left: 1px solid var(--rule);
  }

  .ledger__item:nth-child(n + 3) {
    border-top: 1px solid var(--rule);
  }

  .ledger strong {
    font-size: var(--t-body);
  }

  .chapter-head {
    margin-bottom: 32px;
  }

  .chapter-head__lead {
    font-size: var(--t-body);
  }

  /* Chooser → static stacked list */
  .chooser {
    display: none;
  }

  .tow-stack {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--rule);
  }

  .tow-stack__link {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--rule);
    color: var(--ink);
    text-decoration: none;
  }

  .tow-stack__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .tow-stack__body {
    display: grid;
    align-content: start;
    gap: 4px;
  }

  .tow-stack__num {
    display: block;
    color: var(--navy);
    font-size: var(--t-cap);
    font-weight: 700;
  }

  .tow-stack__title {
    display: block;
    font-size: var(--t-body);
    font-weight: 700;
    line-height: 1.35;
  }

  .tow-stack__text {
    display: -webkit-box;
    overflow: hidden;
    color: var(--slate);
    font-size: 0.8125rem;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .tow-stack__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    color: var(--navy);
    font-size: 0.8125rem;
    font-weight: 700;
  }

  .tow-stack__link:active {
    background: var(--paper);
  }

  .repair-row {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
    padding: 20px 0;
  }

  .repair-row__body h3 {
    font-size: 1.0625rem;
  }

  .repair-row__body p:last-child {
    font-size: 0.8125rem;
  }

  .repair-row__links {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .work-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .family__gallery {
    gap: 12px;
  }

  .voices {
    padding: 48px 0;
  }

  .voices__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .voices__head {
    grid-column: auto;
  }

  .svc-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 24px 0;
  }

  .svc-row__media {
    display: none;
  }

  .svc-row__ready {
    grid-column: auto;
  }

  .svc-row:has(.svc-row__media) .svc-row__head::before {
    content: none;
  }

  .compare__row {
    grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    font-size: var(--t-sm);
  }

  .compare__row strong {
    font-size: var(--t-body);
  }

  .compare__row--actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .compare__row--actions > :first-child {
    display: none;
  }

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

  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .steps__item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 12px;
    padding: 16px 0;
  }

  .steps__num {
    grid-row: span 2;
    margin: 0;
    font-size: 1.5rem;
  }

  .callcard .btn {
    width: 100%;
  }

  .footer-cta {
    gap: 24px;
    padding: 40px 0 32px;
  }

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

  .footer-brand,
  .footer-col--hours {
    grid-column: 1 / -1;
  }

  .footer-col--hours .footer-hours {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .bar__actions {
    display: none;
  }

  .menu-toggle {
    margin-left: auto;
  }
}

@media (max-width: 380px) {
  .decide {
    grid-template-columns: minmax(0, 1fr);
  }

  .decide__tile {
    min-height: 96px;
  }

  .tow-stack__link {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 12px;
  }

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

  .compare__row [role="rowheader"],
  .compare__row--head > :first-child {
    grid-column: 1 / -1;
  }

  .compare__row--head > :first-child {
    display: none;
  }
}

/* ===================================================== REDUCED MOTION
   Remove travel and crossfades; state changes are instant. */
@media (prefers-reduced-motion: reduce) {
  .menu-dialog[open] .menu-dialog__panel,
  .menu-dialog[open]::backdrop,
  .menu-dialog.is-closing .menu-dialog__panel,
  .menu-dialog.is-closing::backdrop,
  main.route-enter {
    animation: none;
  }

  .chooser__frame > img,
  .chooser__frame > img.is-active {
    transform: none;
    transition: none;
  }

  .bar .nav__dropdown,
  .bar .nav__item.is-open .nav__dropdown {
    transform: none;
    transition: none;
  }

  .svc-row:hover .svc-row__media img,
  .decide__tile:hover .decide__icon,
  .decide__tile:active,
  .btn:active {
    transform: none;
  }
}
