/* Classic Automotive Repair — v4
   Black, logo red (#F01028 sampled from header_top_logo.jpg), and the logo's checkered flag as a structural motif.
   Type: Anton (display) + Archivo (text). */

@font-face { font-family: "Anton"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/anton-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/archivo-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/archivo-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/archivo-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/archivo-latin-700-normal.woff2) format("woff2"); }

:root {
  --black: #000;
  --coal: #161616;
  --coal-2: #222;
  --red: #e8102a;
  --red-btn: #d40e25;
  --red-dark: #b00c1f;
  --ink: #111;
  --ink-soft: #595959;
  --grey: #f2f2f2;
  --line: #dcdcdc;
  --line-dark: #333;
  --white: #fff;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --text: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
  --gutter: 24px;
  /* checkered flag: 2 rows of squares, built from the logo's black/white checks */
  --check-size: 14px;
  --checks: repeating-conic-gradient(var(--black) 0 25%, var(--white) 0 50%) 0 0 / calc(var(--check-size) * 2) calc(var(--check-size) * 2);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 var(--text); color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dark); text-underline-offset: 3px; }
a:hover { color: var(--black); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: .95; letter-spacing: .005em; margin: 0 0 .4em; color: var(--ink); text-transform: uppercase; }
h1 { font-size: clamp(3.2rem, 9vw, 7.5rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h3 { font-size: 1.5rem; letter-spacing: .02em; }
p { margin: 0 0 1em; max-width: 62ch; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--black); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--ink-soft); }
.intro { font-size: 1.2rem; line-height: 1.5; max-width: 54ch; }

/* The checkered strip */
.checkers { height: calc(var(--check-size) * 2); background: var(--checks); }
.checkers.thin { --check-size: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; font: 600 1rem/1 var(--text); text-decoration: none; border: 2px solid transparent; cursor: pointer; text-transform: uppercase; letter-spacing: .04em; font-size: .92rem; }
.btn-red { background: var(--red-btn); color: #fff; border-color: var(--red-btn); }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.1); }
.btn-black { background: var(--black); color: #fff; border-color: var(--black); }
.btn-black:hover { background: var(--coal-2); color: #fff; }
.btn-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: #fff; }
.btn-white { background: #fff; color: var(--black); border-color: #fff; }
.btn-white:hover { background: var(--grey); color: var(--black); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

/* Header */
.site-header { background: var(--black); color: #fff; position: sticky; top: 0; z-index: 40; border-bottom: 3px solid var(--red); }
.site-header .wrap { display: flex; align-items: stretch; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; text-decoration: none; background: #fff; padding: 8px 14px 8px 10px; margin-left: -10px; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { color: #fff; text-decoration: none; font: 600 .95rem/1 var(--text); text-transform: uppercase; letter-spacing: .05em; padding: 12px 14px; }
.nav a:hover { color: var(--red); }
.nav a[aria-current="page"] { color: var(--red); }
.nav .call { margin-left: 12px; background: var(--red-btn); color: #fff; font-family: var(--display); font-weight: 400; font-size: 1.3rem; letter-spacing: .03em; padding: 10px 18px; }
.nav .call:hover { background: var(--red-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 10px; cursor: pointer; align-self: center; }
.nav-toggle svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }

/* Status strip */
.status { background: var(--coal); color: #fff; font-size: .95rem; border-bottom: 1px solid var(--line-dark); }
.status .wrap { display: flex; flex-wrap: wrap; gap: 6px 28px; padding-top: 9px; padding-bottom: 9px; }
.status a { color: #fff; }
.status .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #777; margin-right: 8px; vertical-align: 1px; }
.status.is-open .dot { background: #22c55e; }
.status.is-closed .dot { background: var(--red); }

/* Hero */
.hero { position: relative; background: var(--black); color: #fff; overflow: hidden; }
.hero .photo { position: absolute; inset: 0; }
.hero .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; filter: grayscale(1) contrast(1.1); opacity: .55; }
.hero .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.8) 40%, rgba(0,0,0,.2) 100%); }
.hero .wrap { position: relative; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(56px, 7vw, 100px); }
.hero h1 { color: #fff; max-width: 12ch; margin-bottom: .3em; }
.hero h1 span { color: var(--red); white-space: nowrap; }
.hero .sub { font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.4; max-width: 38ch; margin: 0 0 32px; color: rgba(255,255,255,.9); font-weight: 500; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 8px 36px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.25); font-size: .98rem; color: rgba(255,255,255,.85); max-width: 760px; }
.hero .facts b { color: #fff; font-weight: 600; }

/* Page hero (inner pages) */
.page-hero { background: var(--black); color: #fff; }
.page-hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; padding-top: 56px; padding-bottom: 0; }
.page-hero h1 { color: #fff; font-size: clamp(3rem, 6.5vw, 5.5rem); margin-bottom: .3em; }
.page-hero p { color: rgba(255,255,255,.85); font-size: 1.15rem; }
.page-hero .copy { padding-bottom: 56px; }
.page-hero .pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; filter: grayscale(1) contrast(1.05); }

/* Sections */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section.grey { background: var(--grey); }
.section.black { background: var(--black); color: #fff; }
.section.black h2, .section.black h3 { color: #fff; }
.section.black p { color: rgba(255,255,255,.85); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px 64px; align-items: start; margin-bottom: 40px; }
.section-head h2 { margin: 0; padding-top: 14px; border-top: 4px solid var(--red); display: inline-block; }
.section-head p { margin: 0; }

/* Trust row */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust > div { padding: 28px 24px 28px 0; border-right: 1px solid var(--line); margin-right: 24px; }
.trust > div:last-child { border-right: 0; margin-right: 0; }
.trust strong { display: block; font-family: var(--display); font-size: 3rem; line-height: 1; color: var(--red); margin-bottom: 6px; }
.trust span { color: var(--ink-soft); font-size: .98rem; }

/* Service grid */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.svc-grid a { background: #fff; padding: 22px 20px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1.02rem; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 84px; }
.svc-grid a::after { content: ""; width: 9px; height: 9px; border-right: 3px solid var(--red); border-top: 3px solid var(--red); transform: rotate(45deg); flex: none; }
.svc-grid a:hover { background: var(--black); color: #fff; }

/* Services page: details list */
.svc-list { border-top: 2px solid var(--black); }
.svc-list details { border-bottom: 1px solid var(--line); }
.svc-list summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: var(--display); font-size: 1.7rem; text-transform: uppercase; letter-spacing: .02em; }
.svc-list summary::-webkit-details-marker { display: none; }
.svc-list summary::after { content: "+"; font-family: var(--text); font-weight: 400; font-size: 1.9rem; color: var(--red); line-height: 1; flex: none; width: 28px; text-align: center; }
.svc-list details[open] summary::after { content: "–"; }
.svc-list details[open] summary { color: var(--red-dark); }
.svc-list details p { padding: 0 0 24px; margin: 0; }

/* Two-column feature */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature.flip .pic { order: 2; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 7px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }
.checks.two { columns: 2; column-gap: 40px; }
.checks.two li { break-inside: avoid; }

/* Reviews / social row */
.social-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.social-row a { display: block; text-decoration: none; color: #fff; background: var(--coal); padding: 26px; border-top: 4px solid var(--red); }
.social-row a:hover { background: var(--coal-2); }
.social-row strong { display: block; font-family: var(--display); font-size: 1.6rem; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 6px; }
.social-row p { margin: 0; color: rgba(255,255,255,.75); font-size: .98rem; }

/* Contact / visit block */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.visit .map { aspect-ratio: 4 / 3; background: var(--grey); }
.visit .map iframe { width: 100%; height: 100%; border: 0; display: block; }
.hours { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 1rem; }
.hours td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 500; }
.hours tr.today td { color: var(--red-dark); font-weight: 700; }
.addr { font-style: normal; font-size: 1.1rem; line-height: 1.5; }
.addr a { color: var(--ink); }
.contact-lines { display: grid; gap: 14px; margin: 18px 0 26px; }
.contact-lines a { font-family: var(--display); font-size: 2.2rem; color: var(--ink); text-decoration: none; line-height: 1; letter-spacing: .01em; }
.contact-lines a:hover { color: var(--red-dark); }
.contact-lines small { display: block; font-family: var(--text); font-size: .9rem; color: var(--ink-soft); font-weight: 500; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .05em; }

/* Night drop callout */
.nightdrop { background: var(--black); color: #fff; padding: 36px; border-left: 10px solid var(--red); }
.nightdrop h3 { color: #fff; margin-bottom: .3em; }
.nightdrop p { color: rgba(255,255,255,.88); margin: 0; }
.nightdrop ol { margin: 14px 0 0; padding-left: 22px; color: rgba(255,255,255,.88); }
.nightdrop li { margin-bottom: 6px; }

/* CTA band */
.cta-band { background: var(--red); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 44px; padding-bottom: 44px; }
.cta-band h2 { color: #fff; margin: 0; font-size: clamp(2rem, 4vw, 3rem); }

/* Footer */
.site-footer { background: var(--black); color: rgba(255,255,255,.8); font-size: .98rem; }
.site-footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 56px 0 40px; }
.site-footer h3 { color: var(--red); font-size: 1.25rem; margin-bottom: 14px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer li { margin-bottom: 8px; }
.site-footer .fbrand { display: inline-block; background: #fff; padding: 8px 12px; margin-bottom: 18px; }
.site-footer .fbrand img { height: 52px; width: auto; }
.site-footer .bottom { border-top: 1px solid var(--line-dark); padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .88rem; color: rgba(255,255,255,.55); }

/* Mobile action bar */
.actionbar { display: none; }

/* Resources list */
.links li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.links li:first-child { border-top: 2px solid var(--black); }
.links strong { display: block; font-family: var(--display); font-size: 1.6rem; text-transform: uppercase; letter-spacing: .02em; }
.links strong a { color: var(--ink); text-decoration: none; }
.links strong a:hover { color: var(--red-dark); }
.links p { margin: 4px 0 0; color: var(--ink-soft); }

@media (prefers-reduced-motion: no-preference) {
  .svc-grid a, .social-row a, .btn { transition: background-color .15s, color .15s, border-color .15s; }
}

@media (max-width: 1000px) {
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust > div:nth-child(2) { border-right: 0; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head { grid-template-columns: 1fr; gap: 12px; }
  .page-hero .wrap { grid-template-columns: 1fr; gap: 0; }
  .page-hero .copy { padding-bottom: 36px; }
  .site-footer .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .site-header .wrap { min-height: 64px; }
  .brand img { height: 44px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--black); flex-direction: column; align-items: stretch; padding: 8px 16px 20px; gap: 0; border-top: 1px solid var(--line-dark); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--line-dark); font-size: 1.05rem; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--red); padding-left: 14px; }
  .nav .call { display: none; }
  .hero .photo img { opacity: .45; }
  .hero .photo::after { background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.95) 100%); }
  .hero .facts { gap: 10px 24px; }
  .feature, .visit { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .pic { order: 0; }
  .social-row { grid-template-columns: 1fr; }
  .checks.two { columns: 1; }
  .trust > div { padding: 18px 12px 18px 0; margin-right: 12px; }
  .trust strong { font-size: 2.2rem; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-grid a { min-height: 0; padding: 16px 18px; }
  .site-footer .top { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 28px; }
  .nightdrop { padding: 24px; }
  .checkers { --check-size: 10px; }
  .actionbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--black); border-top: 1px solid var(--line-dark); padding: 8px; gap: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .actionbar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; font: 600 .95rem/1 var(--text); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; color: #fff; }
  .actionbar .a-call { background: var(--red-btn); }
  .actionbar .a-dir { background: var(--coal-2); border: 1px solid var(--line-dark); }
  .actionbar svg { width: 18px; height: 18px; fill: currentColor; }
}
