/* Tiller Collision LLC — shared styles
   Seed 4-4-1-4-4-7-4: earthy, dusty body-shop colors (red-oxide primer, gunmetal, dusty paint blue, sand,
   booth grey) · saturated primer-red hero and section bands with white text over white content areas ·
   split hero · slab serif headings (Ledger Slab) with a sans body (Work Sans) · phone and hours strip above
   the header · two-column grouped list · pill buttons and tags · motif: orbital sander swirl */

@font-face { font-family: "Ledger Slab"; src: url("fonts/ledger-slab-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("fonts/work-sans-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("fonts/work-sans-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --red: #a8402c;
  --red-dark: #8a3222;
  --steel: #22262a;
  --blue: #4f6f88;
  --sand: #ece0c8;
  --white: #ffffff;
  --ink: #22262a;
  --muted: #555b61;
  --line: #dcd6cb;
  --slab: "Ledger Slab", "Roboto Slab", Rockwell, "Courier New", serif;
  --sans: "Work Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --swirl: url("assets/motif-swirl.svg");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--white); }
body { margin: 0; font-family: var(--sans); font-size: 1.03rem; line-height: 1.62; color: var(--ink); background: var(--white); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; }
strong { font-weight: 700; }
h1, h2, h3 { font-family: var(--slab); font-weight: 700; line-height: 1.12; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.45rem, 2.8vw, 2rem); }
h3 { font-family: var(--sans); font-size: 1.04rem; }
p { margin: 0 0 1em; }
a { color: var(--red); text-underline-offset: 0.18em; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding-inline: clamp(1rem, 3.6vw, 1.8rem); }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: 0.45rem 1rem; border-radius: 999px; background: var(--steel); color: var(--white); }
.skip-link:focus { top: 1rem; }

/* ---------- phone strip above the header ---------- */
.strip { background: var(--steel); color: #d8dbde; font-size: 0.9rem; }
.strip-inner { display: flex; flex-wrap: wrap; gap: 0.3rem 1.4rem; align-items: center; justify-content: space-between; padding-block: 0.45rem; }
.strip a { color: var(--white); font-weight: 700; }
.strip a:hover { color: var(--sand); }
.strip .addr { color: #c3c7cb; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem 1.6rem; padding-block: 0.8rem; }
.brand { display: flex; align-items: center; gap: 0.8rem; color: var(--ink); text-decoration: none; }
.brand img { width: 68px; height: auto; flex: none; border-radius: 14px; }
.brand-name { font-family: var(--slab); font-weight: 700; font-size: clamp(1.2rem, 2.4vw, 1.45rem); }
.brand:hover .brand-name { color: var(--red); }
.main-nav ul { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: inline-block; padding: 0.38rem 1.05rem; border-radius: 999px; color: var(--ink); font-weight: 700; font-size: 0.97rem; text-decoration: none; }
.main-nav a:hover { background: var(--sand); }
.main-nav a[aria-current="page"] { background: var(--red); color: var(--white); }

/* ---------- saturated bands over white content ---------- */
.band { background: var(--red) var(--swirl) 0 0 / 90px 90px repeat; color: var(--white); }
.band.hero { padding-block: clamp(2.2rem, 5.5vw, 4rem); }
.band.head { padding-block: clamp(1.2rem, 3vw, 1.7rem); }
.band.steel { background-color: var(--steel); }
.band h1, .band h2 { color: var(--white); }
.band.head h2 { margin: 0; }
.band p { color: #fbeee9; }
.band .tag { color: var(--red-dark); }
.band a { color: var(--white); }
.content { padding-block: clamp(1.8rem, 4.5vw, 3rem); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.4rem, 4vw, 3rem); align-items: center; }
.split.top { align-items: start; }
.hero-art { display: block; width: 100%; border-radius: 22px; border: 4px solid rgba(255, 255, 255, 0.85); }
.tag { display: inline-block; margin: 0 0 1rem; padding: 0.22rem 0.85rem; border-radius: 999px; background: var(--white); color: var(--red); font-weight: 700; font-size: 0.88rem; line-height: 1.45; max-width: 100%; }
.label { display: inline-block; margin: 0 0 0.5rem; padding: 0.12rem 0.7rem; border-radius: 999px; background: var(--sand); color: var(--red-dark); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.band .label { background: rgba(255, 255, 255, 0.16); color: var(--white); }
.lede { font-size: clamp(1.08rem, 1.9vw, 1.22rem); }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.62rem 1.35rem; border: 2px solid var(--red); border-radius: 999px; background: var(--red); color: var(--white); font-family: var(--sans); font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; max-width: 100%; overflow-wrap: anywhere; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.btn-line { background: transparent; color: var(--red); }
.btn-line:hover { background: var(--red); color: var(--white); }
.band .btn { background: var(--white); border-color: var(--white); color: var(--red-dark); }
.band .btn:hover { background: var(--sand); border-color: var(--sand); color: var(--red-dark); }
.band .btn-line { background: transparent; border-color: var(--white); color: var(--white); }
.band .btn-line:hover { background: var(--white); color: var(--red-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }

/* home */
.bays { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.bays a { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 0.9rem; align-items: center; padding: 0.7rem 1.1rem 0.7rem 0.7rem; border: 2px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; }
.bays a:hover { border-color: var(--red); }
.bays img { width: 60px; height: 60px; border-radius: 50%; background: var(--sand); padding: 6px; }
.bays .b-name { display: block; font-family: var(--slab); font-weight: 700; font-size: 1.12rem; }
.bays .b-meta { display: block; font-size: 0.9rem; color: var(--muted); }
.points { list-style: none; margin: 0; padding: 0; }
.points li { padding: 0.65rem 0 0.65rem 1.6rem; border-bottom: 1px solid var(--line); position: relative; color: var(--muted); }
.points li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--red); }
.points strong { color: var(--ink); }
.spot { padding: clamp(1.2rem, 3vw, 1.8rem); border-radius: 22px; background: var(--sand); }
.spot h2 { color: var(--ink); }
.deal { display: inline-block; padding: 0.15rem 0.8rem; border-radius: 999px; background: var(--steel); color: var(--white); font-weight: 700; }

/* ---------- catalog: two-column grouped list ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 1.2rem 0 0; padding: 0; }
.jump a { display: inline-block; padding: 0.25rem 0.9rem; border-radius: 999px; border: 2px solid rgba(255, 255, 255, 0.75); color: var(--white); font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.jump a:hover { background: var(--white); color: var(--red-dark); }
.groups { columns: 2 22rem; column-gap: clamp(1.6rem, 4vw, 3rem); }
.group { break-inside: avoid; margin-bottom: 2.2rem; scroll-margin-top: 1rem; }
.group-head { display: flex; align-items: center; gap: 0.8rem; padding-bottom: 0.6rem; border-bottom: 3px solid var(--red); }
.group-head img { width: 54px; height: 54px; flex: none; border-radius: 50%; background: var(--sand); padding: 5px; }
.group-head h2 { margin: 0; font-size: clamp(1.15rem, 2.2vw, 1.4rem); }
.items { list-style: none; margin: 0; padding: 0; }
.items li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.15rem 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.items h3 { margin: 0; }
.items p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 0.96rem; }
.items .price { grid-column: 2; grid-row: 1; font-weight: 700; color: var(--red-dark); white-space: nowrap; font-variant-numeric: tabular-nums; }
.items .price.quote { grid-column: 1 / -1; grid-row: auto; white-space: normal; }
.items .price.quote .pill { display: inline-block; padding: 0.08rem 0.7rem; border-radius: 999px; background: var(--sand); color: var(--red-dark); font-size: 0.9rem; }
.items .price.quote a { margin-left: 0.4rem; font-size: 0.92rem; white-space: nowrap; }
.offers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.offers li { padding: 1.1rem 1.2rem; border-radius: 22px; border: 2px solid var(--line); }
.offers h3 { font-family: var(--slab); font-size: 1.15rem; margin-bottom: 0.3rem; }
.offers p { margin: 0 0 0.6rem; color: var(--muted); }
.offers p:last-child { margin-bottom: 0; }

/* ---------- about / contact ---------- */
.story .first { font-size: 1.14rem; color: var(--ink); }
.story p { color: var(--muted); }
.facts, .details { margin: 0; }
.facts div, .details div { padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.facts div:last-child, .details div:last-child { border-bottom: 0; }
.facts dt, .details dt { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); }
.facts dd, .details dd { margin: 0.1rem 0 0; font-weight: 700; }
.details address { font-style: normal; }
.card { padding: clamp(1.1rem, 3vw, 1.6rem); border-radius: 22px; background: var(--sand); }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { caption-side: top; text-align: left; padding-bottom: 0.5rem; font-family: var(--slab); font-weight: 700; font-size: 1.45rem; }
.hours th, .hours td { padding: 0.55rem 0.5rem 0.55rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.hours thead th { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); }
.hours td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.hours td.closed { color: var(--red); font-weight: 700; }
.hours .note { display: block; white-space: normal; font-size: 0.88rem; color: var(--muted); }
.map-frame { display: block; width: 100%; height: 380px; border: 0; border-radius: 22px; background: var(--sand); }
.map-link { margin: 0.8rem 0 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--steel); color: #c3c7cb; font-size: 0.95rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--sand); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.2rem 2rem; padding-block: 2rem 1.2rem; }
.footer-name { margin: 0 0 0.2rem; font-family: var(--slab); font-weight: 700; font-size: 1.3rem; color: var(--white); }
.site-footer address { font-style: normal; }
.footer-title { margin: 0 0 0.3rem; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sand); }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-bottom { grid-column: 1 / -1; margin: 0.4rem 0 0; padding-top: 0.8rem; border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 0.86rem; }

@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .bays, .offers { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .strip .addr { display: none; }
  .brand img { width: 56px; }
  .main-nav a { padding: 0.3rem 0.85rem; font-size: 0.93rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .map-frame { height: 300px; }
}

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