/* York Auto sample. Direction: "fleet livery": the black cabs, white lettering and red decks of their own trucks.
   Signature: the red/white hazard chevrons from the back of a tow truck, under the hero and atop the footer.
   Archivo's width axis does the work: expanded and heavy for headings, normal width for reading. */

:root {
  --ink: #111111;
  --coal: #1a1a1b;
  --char: #262628;
  --line: #3a3a3d;
  --paper: #f6f4f0;
  --white: #ffffff;
  --muted: #6b6b70;
  --muted-dark: #a5a5ab;
  --red: #e11d2a;
  --red-dark: #b5141f;
  --green: #2fbf71;
  --font: "Archivo", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.05rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-stretch: 112%; line-height: 1.02; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 850; text-transform: uppercase; }
h3 { font-size: 1.1rem; font-weight: 750; }
p { margin: 0 0 1rem; }
.mono { font-family: var(--mono); font-weight: 600; letter-spacing: 0; }
.small { font-size: .9rem; color: var(--muted); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  margin: 0 0 .9rem;
  font: 700 .78rem/1 var(--mono);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--red);
}

/* Confirm-with-client markers */
.tbc, .tbc-key, .tbc-inline {
  outline: 2px dashed #e0a526;
  outline-offset: 3px;
  background: rgb(224 165 38 / .12);
  border-radius: 2px;
}
p.tbc { padding: .6em .8em; font-size: .95rem; }
.tbc-inline { padding: 0 .3em; }

/* Hazard chevrons: the signature */
.chevrons {
  height: 22px;
  background: repeating-linear-gradient(-45deg, var(--red) 0 18px, var(--white) 18px 36px);
}
.chevrons-thin { height: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .95em 1.4em;
  font: 800 .95rem/1 var(--font); font-stretch: 115%;
  letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  border-radius: 3px; border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { border-color: currentColor; }
.btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-ghost-dark { border-color: var(--ink); color: var(--ink); }
.btn-ghost-dark:hover { background: var(--ink); color: var(--white); }
.btn-call { background: var(--red); color: var(--white); padding: .7em 1em; }
.btn-call:hover { background: var(--red-dark); }
.btn-call svg { width: 18px; height: 18px; fill: currentColor; }
.btn .mono { font-size: 1.02em; }

/* Utility */
.skip { position: absolute; left: -9999px; top: 0; z-index: 50; background: var(--white); color: var(--ink); padding: .6rem 1rem; }
.skip:focus { left: 16px; top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.h3 { font-size: 1.1rem; font-weight: 750; text-transform: uppercase; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* Top bar: towing line + live office status */
.topbar { background: var(--red); color: var(--white); font: 500 .8rem/1 var(--mono); letter-spacing: .04em; }
.topbar-row { display: flex; justify-content: space-between; gap: 1rem; padding-top: .55rem; padding-bottom: .55rem; }
.topbar b { font-weight: 600; text-transform: uppercase; }
.topbar-status { display: inline-flex; align-items: center; gap: .5rem; }
.topbar .dot { background: rgb(255 255 255 / .5); }
.topbar-status:has(.is-open) .dot { background: var(--white); box-shadow: 0 0 0 3px rgb(255 255 255 / .3); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--ink); color: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 2rem; height: 72px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand-name {
  font-weight: 900; font-style: italic; font-stretch: 125%;
  font-size: 1.55rem; text-transform: uppercase; color: var(--red);
  letter-spacing: -.01em;
}
.brand-sub { margin-top: .3rem; font: 500 .68rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); }
.nav { display: flex; gap: 1.8rem; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: #ddd; }
.nav a:hover { color: var(--white); }
.nav a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -3px 0 var(--red); padding-bottom: .35rem; }

/* Hero */
.hero { background: var(--ink); color: var(--white); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: center;
  padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(3rem, 6vw, 4.5rem);
}
.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 5.2rem);
  font-weight: 900; font-stretch: 118%; text-transform: uppercase;
  line-height: .95;
  margin-bottom: 1.5rem;
}
.hero h1 span { color: var(--red); font-style: italic; }
.lede { font-size: 1.15rem; color: #d4d4d8; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1.5rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.hero-photo { margin: 0; position: relative; }
.hero-photo img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 4px;
  box-shadow: 14px 14px 0 var(--red);
}

/* Inner page heading */
.page-head { background: var(--ink); color: var(--white); padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.page-head h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 900; font-stretch: 118%; text-transform: uppercase; line-height: .95; margin-bottom: 1.2rem; }
.page-head .lede a { color: var(--white); }

/* Call band at the bottom of inner pages */
.cta-band { background: var(--red); color: var(--white); padding: 2.6rem 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .4rem; }
.cta-band p { margin: 0; }
.cta-band .btn-primary { background: var(--ink); }
.cta-band .btn-primary:hover { background: var(--coal); }

/* Triage doors */
.triage { background: var(--white); border-bottom: 1px solid #e4e1db; }
.triage-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.door {
  display: grid; gap: .45rem; align-content: start;
  padding: 2rem 2rem 2.2rem;
  text-decoration: none;
  border-right: 1px solid #e4e1db;
  transition: background .15s;
}
.door:last-child { border-right: 0; }
.door:hover { background: var(--paper); }
.door strong { font-size: 1.35rem; font-weight: 850; font-stretch: 112%; text-transform: uppercase; line-height: 1.05; }
.door span:last-child { color: var(--muted); font-size: .97rem; }
.door-num { color: var(--red); font-size: .85rem; }
.door strong::after { content: " →"; color: var(--red); }
.door-alert { background: #fff6f6; }

/* Sections */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-head { max-width: 44rem; margin-bottom: 3rem; }
.section-head h2 { margin-bottom: 1rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split h2 { margin-bottom: 1.2rem; }

/* Towing */
.towing { background: var(--coal); color: var(--white); }
.towing p { color: #d4d4d8; }
.dispatch { margin: 1.5rem 0; padding-left: .9rem; border-left: 4px solid var(--red); font-size: 1.1rem; }
.towing .dispatch strong { color: var(--white); }
.checklist {
  list-style: none; padding: 0; margin: 1.8rem 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.5rem;
}
.checklist li { position: relative; padding-left: 1.6rem; font-weight: 600; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 12px; height: 8px;
  background: repeating-linear-gradient(-45deg, var(--red) 0 3px, transparent 3px 6px);
}
.photo-stack { display: grid; gap: 1rem; }
.photo-stack img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.photo-stack img:last-child { width: 82%; justify-self: end; margin-top: -3.5rem; border: 6px solid var(--coal); }

/* Trusted by */
.trusted { background: var(--ink); color: var(--white); padding: 3rem 0 3.2rem; border-top: 1px solid var(--line); }
.trusted-big {
  list-style: none; margin: 0 0 1.6rem; padding: 0;
  display: flex; flex-wrap: wrap; gap: .4rem 1.1rem;
  font-weight: 900; font-stretch: 120%; text-transform: uppercase;
  font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.15;
}
.trusted-big li + li::before { content: "/"; color: var(--red); margin-right: 1.1rem; }
.trusted-small {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .5rem 1.6rem;
  font: 500 .85rem/1.4 var(--mono); color: var(--muted-dark); text-transform: uppercase; letter-spacing: .06em;
}

/* Repairs */
.service-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  border-top: 2px solid var(--ink);
}
.service-grid li {
  padding: 1.4rem 1.2rem 1.5rem 0;
  border-bottom: 1px solid #dcd8d0;
}
.service-grid .mono { color: var(--red); font-size: .8rem; }
.service-grid h3 { margin: .5rem 0 .4rem; text-transform: uppercase; font-stretch: 110%; }
.service-grid p { margin: 0; color: var(--muted); font-size: .95rem; }
.repairs-note { margin: 2.2rem 0 0; font-weight: 700; font-size: 1.15rem; }
.repairs-note a { color: var(--red); text-decoration: none; }

/* Gallery strip */
.gallery { background: var(--ink); }
.gallery-row { display: grid; grid-template-columns: repeat(5, 1fr); }
.gallery-row img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* Impound */
.impound { background: var(--white); }
.impound-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.impound h2 { margin-bottom: 1.2rem; }
.impound a { color: var(--red); font-weight: 700; }
.slip {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 4px;
  box-shadow: 10px 10px 0 var(--ink);
  overflow: hidden;
}
.slip-head, .slip-foot {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: .9rem 1.3rem;
  background: var(--ink); color: var(--white);
  font-weight: 800; text-transform: uppercase; font-stretch: 115%; font-size: .9rem;
}
.slip-head .mono { color: var(--red); font-size: .8rem; }
.slip-foot { background: transparent; color: var(--ink); border-top: 2px dashed #bdb8ae; font-size: .82rem; }
.slip-foot a { color: var(--red); text-decoration: none; }
.slip-col { padding: 1.3rem 1.3rem .4rem; }
.slip-col + .slip-col { border-top: 1px solid #dcd8d0; }
.slip-col h3 { text-transform: uppercase; margin-bottom: .7rem; }
.slip-col ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.slip-col li { padding-left: 1.9rem; position: relative; margin-bottom: .45rem; font-weight: 600; }
.slip-col li::before {
  content: ""; position: absolute; left: 0; top: .15em;
  width: 1.1em; height: 1.1em; border: 2px solid var(--ink); border-radius: 2px;
}

.impound-info { display: grid; gap: 1.8rem; }
.info-block h2 { margin-bottom: .5rem; }
.info-block p { margin: 0 0 .6rem; }
.info-block .hero-actions { margin: 1rem 0 0; }
.impound .btn-primary { color: var(--white); }
.impound .btn-ghost-dark { color: var(--ink); }

/* About */
.about { background: var(--paper); }
.building { margin: 0; }
.building img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; box-shadow: -14px 14px 0 var(--red); }

.building-wide img { aspect-ratio: 21 / 8; box-shadow: none; }
.building-wide figcaption { margin-top: .8rem; }

/* Visit */
.visit { background: var(--ink); color: var(--white); }
.visit-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: start; }
.visit h2 { margin-bottom: .4rem; }
.addr { color: var(--muted-dark); font-size: 1.1rem; margin-bottom: 1.5rem; }
.visit .hero-actions { margin: 1.5rem 0 0; }
.contact-cards { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .8rem; }
.contact-cards a {
  display: flex; gap: 1rem; align-items: center;
  padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 4px;
  text-decoration: none; transition: border-color .15s, background .15s;
}
.contact-cards a:hover { border-color: var(--red); background: var(--coal); }
.contact-cards svg { width: 26px; height: 26px; fill: var(--red); flex: none; }
.contact-cards small { display: block; font: 500 .75rem/1.6 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted-dark); }
.contact-cards b { display: block; font-size: 1.2rem; }
.visit .small { color: var(--muted-dark); }
.visit .small a { color: var(--white); }
.hours-card { background: var(--char); border-radius: 4px; padding: 2rem; border-top: 6px solid var(--red); }
.hours-card h2, .hours-card h3 { text-transform: uppercase; font-size: 1.3rem; margin-bottom: .6rem; }
.open-now { font: 600 .9rem/1.3 var(--mono); margin-bottom: 1.2rem; }
.open-now.is-open { color: var(--green); }
.open-now.is-closed { color: #ff6b74; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 1.2rem; }
.hours th, .hours td { padding: .55rem .5rem; border-bottom: 1px solid var(--line); font-weight: 500; }
.hours th { text-align: left; }
.hours td { text-align: right; font-family: var(--mono); font-size: .92rem; }
.hours tr.is-today { background: rgb(225 29 42 / .16); }
.hours tr.is-today th { font-weight: 800; }
.hours-card .small { color: var(--muted-dark); margin: 0; }

/* Footer */
.site-footer { background: var(--ink); color: var(--muted-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-top: 3rem; padding-bottom: 2rem; }
.footer-grid h2 { font: 600 .75rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: .9rem; }
.footer-grid p { margin: 0; font-size: .95rem; }
.footer-grid a { color: var(--white); text-decoration: none; }
.footer-grid .brand-name { display: block; margin-bottom: .6rem; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.2rem; padding-bottom: 1.6rem; border-top: 1px solid var(--line); font-size: .85rem; }
.footer-base nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-base a { color: var(--white); text-decoration: none; }

.mobile-call { display: none; }
.narrow-only { display: none; }

/* Tablet */
@media (max-width: 960px) {
  .header-row { justify-content: space-between; flex-wrap: wrap; height: auto; padding-top: .7rem; gap: .7rem 1rem; }
  .nav {
    order: 3; flex: 1 1 100%; margin: 0 -24px; padding: 0 24px;
    gap: 1.4rem; overflow-x: auto; white-space: nowrap; scrollbar-width: none;
    border-top: 1px solid var(--line);
  }
  .nav a { padding: .75rem 0; font-size: .9rem; }
  .nav a[aria-current="page"] { padding-bottom: .75rem; }
  .hero-grid, .split, .impound-grid, .visit-grid { grid-template-columns: 1fr; gap: 2.8rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-row { grid-template-columns: repeat(3, 1fr); }
  .gallery-row img:nth-child(n+4) { display: none; }
}

/* Phone */
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  body { padding-bottom: 68px; }
  .nav { margin: 0 -16px; padding: 0 16px; gap: 1.1rem; }
  .wide-only { display: none; }
  .narrow-only { display: inline; }
  .brand-name { font-size: 1.3rem; }
  .btn-call span { display: none; }
  .hero-photo img { box-shadow: 8px 8px 0 var(--red); }
  .hero-actions .btn { flex: 1 1 100%; }
  .triage-grid { grid-template-columns: 1fr; }
  .door { border-right: 0; border-bottom: 1px solid #e4e1db; padding: 1.4rem 16px; }
  .checklist { grid-template-columns: 1fr; }
  .photo-stack img:last-child { width: 88%; margin-top: -2.5rem; }
  .trusted-big { flex-direction: column; gap: .2rem; }
  .trusted-big li + li::before { display: none; }
  .slip { box-shadow: 6px 6px 0 var(--ink); }
  .building img { box-shadow: -8px 8px 0 var(--red); }
  .topbar-row { font-size: .72rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band .btn { flex: 1 1 100%; }
  .hours-card { padding: 1.4rem; }
  .mobile-call {
    display: flex; align-items: center; justify-content: center; gap: .6rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    height: 60px;
    background: var(--red); color: var(--white);
    font: 850 1.05rem/1 var(--font); font-stretch: 115%; text-transform: uppercase; letter-spacing: .04em;
    text-decoration: none;
    border-top: 4px solid var(--ink);
  }
  .mobile-call svg { width: 20px; height: 20px; fill: currentColor; }
}

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