/* Theme tokens are shared by every page. */
:root {
  --accent: #c92f1a;
  --accent-text: #fff;
  --bg: #f6f5f2;
  --surface: #fff;
  --line: #e3e0d9;
  --strong-line: #c9c6bf;
  --text: #16181b;
  --muted: #5a5f66;
  --tint: #f2e8e3;
  --shadow: 0 12px 28px #16181b12;
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
:root[data-theme=dark] {
  --accent: #ff8a4c;
  --accent-text: #0f1b2d;
  --bg: #0f1b2d;
  --surface: #16263b;
  --line: #2a3d57;
  --strong-line: #3c5372;
  --text: #f5f7fa;
  --muted: #b4c2d6;
  --tint: #253344;
  --shadow: 0 12px 28px #0003;
  color-scheme: dark;
}

/* Common typography, spacing, and controls. */
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { line-height: 1.25; font-weight: 800; }
h1 { font-size: clamp(30px, 2.8vw, 38px); letter-spacing: -.035em; }
h1 span { color: var(--accent); }
h2 { font-size: 26px; letter-spacing: -.025em; }
h3 { font-size: 18px; }
.wrap { max-width: 1480px; margin-inline: auto; padding-inline: 32px; }
.sec { padding-block: 28px; }
.head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.lead { color: var(--muted); font-size: 17px; line-height: 1.65; margin-block: 14px 20px; }
.section-copy { color: var(--muted); font-size: 16px; line-height: 1.7; margin-top: 14px; }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .08em; margin-bottom: 10px; }
.head .eyebrow { margin-bottom: 6px; }
.icon { display: inline-block; width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 50; padding: 12px 20px; background: var(--surface); border: 2px solid var(--accent); }
.skip-link:focus { top: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 18px; border: 1px solid transparent; border-radius: 6px; background: var(--accent); color: var(--accent-text); font-size: 15px; font-weight: 800; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn.ghost { border-color: var(--strong-line); color: var(--text); background: transparent; }
.btn .icon { width: 19px; height: 19px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.more { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 3px; border-bottom: 2px solid var(--accent); font-size: 14px; font-weight: 800; }
.more:hover { color: var(--accent); }
.more .icon { width: 18px; height: 18px; }
.round-link { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--strong-line); border-radius: 50%; flex-shrink: 0; }
.round-link:hover { background: var(--tint); }
.round-link .icon { width: 20px; height: 20px; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--accent); }

/* Header and the progressive-enhancement mobile menu. */
.strip { border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 8px; }
.strip-inner a, .strip-inner > span { display: flex; align-items: center; gap: 8px; }
.strip .icon { width: 16px; height: 16px; color: var(--accent); }
.top { position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.logo { display: flex; align-items: center; gap: 9px; flex-shrink: 0; font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: -.04em; }
.logo img { border-radius: 8px; }
.top .logo img { width: 42px; height: 42px; }
.logo small { display: block; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; margin-top: 5px; }
.links { display: flex; flex: 1; justify-content: space-between; gap: 2px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-size: 16px; font-weight: 700; }
.links a { flex: 1; text-align: center; padding: 10px 13px; border-radius: 999px; white-space: nowrap; transition: background .15s; }
.links a:hover { background: var(--line); }
.links a.on { background: var(--text); color: var(--bg); }
.nav-actions { display: flex; align-items: center; flex-shrink: 0; gap: 12px; margin-left: auto; }
.nav-cta { border-radius: 999px; white-space: nowrap; }
.menu-toggle { display: none; }
.theme-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 11px; flex-shrink: 0; border: 1px solid var(--strong-line); border-radius: 50%; background: var(--bg); color: var(--text); }
.js .theme-toggle { display: inline-flex; }
.theme-toggle:hover { background: var(--line); }
.theme-toggle .theme-sun { display: none; }
:root[data-theme=dark] .theme-toggle .theme-moon { display: none; }
:root[data-theme=dark] .theme-toggle .theme-sun { display: block; }

/* The first screen combines a concise introduction with a real workshop photo. */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; gap: 32px; padding-block: 24px 28px; }
.hero-copy .lead { max-width: 65ch; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.facts > div { display: flex; flex-direction: column; gap: 4px; }
.facts b { font-size: 24px; line-height: 1.2; letter-spacing: -.035em; }
.facts div > span { font-size: 13px; line-height: 1.45; color: var(--muted); }
.hero-visual { position: relative; padding-bottom: 24px; }
.hero-photo { width: 100%; height: 300px; object-fit: cover; object-position: 50% 55%; border-radius: 8px; }
.photo-label { position: absolute; top: 12px; left: 12px; padding: 6px 10px; border: 1px solid #ffffff24; border-radius: 4px; background: #0f1b2de8; color: #fff; font-size: 12px; font-weight: 700; }
.photo-label .status-dot { background: #ff8a4c; }
.appointment { position: absolute; bottom: 0; left: 14px; right: 14px; display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); }
.appointment-icon { display: grid; place-items: center; width: 42px; height: 44px; flex-shrink: 0; border-radius: 7px; color: var(--accent); background: var(--tint); }
.appointment > div { min-width: 0; flex: 1; }
.appointment p { color: var(--muted); font-size: 12px; line-height: 1.4; margin-bottom: 3px; }
.appointment a:not(.round-link) { font-size: 20px; line-height: 1.25; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }

/* Services use the same data and cards on the home and services pages. */
.home-services { padding-top: 12px; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.services li { border-bottom: 1px solid var(--line); }
.services a { display: flex; align-items: center; gap: 14px; min-height: 96px; padding-block: 16px; }
.services a > div { min-width: 0; }
.services h2, .services h3 { font-size: 18px; letter-spacing: -.015em; margin-bottom: 4px; }
.services p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.service-icon { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--accent); }
.service-icon .icon { width: 26px; height: 26px; }
.service-arrow { width: 18px; height: 18px; margin-left: auto; color: var(--muted); }
.services a:hover h2, .services a:hover h3, .services a:hover .service-arrow { color: var(--accent); }

/* Recent work and practical information on the homepage. */
.home-overview { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; gap: 24px; }
.work-previews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.work-preview { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.work-preview > img { width: 100px; height: 100px; flex-shrink: 0; object-fit: cover; border-radius: 5px; }
.work-preview > div { min-width: 0; }
.work-preview h3 { font-size: 18px; margin-bottom: 6px; }
.work-preview p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.work-preview .work-meta { font-size: 12px; margin-bottom: 6px; }
.work-preview:hover { border-color: var(--accent); }
.work-preview:hover h3 { color: var(--accent); }
.visit-card { padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.visit-card h2 { font-size: 24px; margin-bottom: 14px; }
.visit-card p, .visit-card a { font-size: 16px; }
.visit-details { display: grid; gap: 12px; margin-bottom: 16px; }
.visit-details > * { display: flex; align-items: flex-start; gap: 10px; }
.visit-details .icon { color: var(--accent); margin-top: 2px; }
.visit-details a { overflow-wrap: anywhere; }

/* Shared page introductions, workshop information, and process. */
.breadcrumb { display: flex; align-items: center; gap: 10px; padding-top: 16px; font-size: 13px; color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.page-intro { padding-block: 12px 20px; }
.page-intro h1 { font-size: clamp(28px, 2.5vw, 34px); }
.page-intro .lead { max-width: 75ch; font-size: 16px; margin: 8px 0 0; }
.page-content { padding-block: 4px 28px; }
.about, .contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 32px; }
.about-visual > img, .location > img { width: 100%; height: 340px; object-fit: cover; border-radius: 8px; }
.about-visual > img { object-position: center 40%; }
.about-copy h2, .contact h2 { font-size: 26px; }
.qualities { display: grid; gap: 14px; margin: 20px 0; padding: 0; list-style: none; }
.qualities li { display: flex; align-items: flex-start; gap: 12px; }
.qualities > li > .icon { color: var(--accent); margin-top: 2px; }
.qualities h3 { font-size: 17px; margin-bottom: 4px; }
.qualities p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.steps li { border-top: 1px solid var(--strong-line); padding-top: 14px; }
.step-number { display: flex; align-items: center; justify-content: space-between; color: var(--accent); font-size: 14px; font-weight: 800; margin-bottom: 12px; }
.step-number .icon { color: var(--muted); }
.steps h3 { font-size: 17px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* Photographs and work descriptions. Full-size viewing remains available. */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gallery-item { position: relative; display: block; overflow: hidden; border-radius: 7px; background: var(--bg); }
.gallery-item > img { width: 100%; height: 260px; object-fit: cover; transition: transform .3s; }
.gallery-item:hover > img { transform: scale(1.04); }
.gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 40px 14px 14px; background: linear-gradient(transparent, #0f1b2df2); color: #fff; font-size: 14px; font-weight: 700; }
.gallery-caption .icon { width: 18px; height: 18px; }
.gallery-foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-top: 20px; color: var(--muted); font-size: 14px; }
.gallery-foot > div { display: flex; gap: 20px; }
.gallery-foot a:hover { color: var(--accent); }
.works-section { padding-top: 0; }
.works-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.work-card { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(0, 1.2fr); border: 1px solid var(--line); border-radius: 8px; background: var(--surface); overflow: hidden; }
.work-photo { min-height: 240px; border-radius: 0; border-right: 1px solid var(--line); }
.work-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0f1b2d; }
.work-photo:hover > img { transform: none; }
.work-zoom { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #ffffff50; border-radius: 50%; background: #0f1b2de8; color: #fff; }
.work-zoom .icon { width: 18px; height: 18px; }
.work-body { display: flex; flex-direction: column; min-width: 0; padding: 20px; }
.work-meta { color: var(--accent); font-size: 12px; line-height: 1.4; letter-spacing: .04em; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; }
.work-body h2 { font-size: 21px; line-height: 1.3; }
.work-spec { color: var(--muted); font-size: 14px; margin-top: 6px; }
.work-description { color: var(--muted); font-size: 15px; line-height: 1.65; margin-block: 12px; }
.work-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; }
.work-tags li { padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--muted); font-size: 12px; }
.work-body > .more { align-self: flex-start; margin-top: auto; }

/* Reviews and the compact shared booking strip. */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review { display: flex; flex-direction: column; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.review-top { display: flex; align-items: center; justify-content: space-between; }
.stars { color: var(--accent); font-size: 13px; font-weight: 700; }
.review-top .icon { color: var(--strong-line); width: 26px; height: 26px; }
blockquote { flex: 1; margin: 0; font-size: 16px; line-height: 1.7; }
.review figcaption { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.review figcaption b, .review figcaption small { display: block; }
.review figcaption small { color: var(--muted); font-size: 12px; margin-top: 2px; }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: var(--tint); color: var(--accent); font-size: 13px; font-weight: 800; }
.cta-wrap { padding-block: 12px 28px; }
.cta { display: grid; grid-template-columns: minmax(0, 1fr) 160px auto; align-items: center; gap: 24px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.cta h2 { font-size: 24px; }
.cta p { color: var(--muted); font-size: 15px; line-height: 1.6; margin-top: 6px; }
.car-graphic img { width: 100%; height: auto; }

/* Contact and footer. */
.contact-details { display: grid; gap: 18px; margin-block: 20px; }
.contact-details > a, .contact-details > div { display: flex; align-items: flex-start; gap: 14px; }
.contact-details .icon { color: var(--accent); margin-top: 3px; }
.contact-details small, .contact-details b { display: block; }
.contact-details small { color: var(--muted); font-size: 13px; }
.contact-details b { font-size: 18px; font-weight: 700; margin-block: 3px; overflow-wrap: anywhere; }
.contact-details a:hover b { color: var(--accent); }
.location { position: relative; padding-bottom: 24px; }
.location-card { position: absolute; bottom: 0; left: 16px; right: 16px; display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); }
.location-card > .icon { color: var(--accent); width: 26px; height: 26px; }
.location-card > div { min-width: 0; flex: 1; }
.location-card b { font-size: 16px; }
.location-card p { color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: 3px; }
.foot { padding-block: 24px 20px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { padding: 10px 14px; border-radius: 6px; background: #0f1b2d; }
.footer-row .footer-brand img { width: 160px; height: auto; border-radius: 0; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 14px 20px; color: var(--muted); font-size: 14px; }
.footer-row nav a:hover { color: var(--accent); }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; }
.socials .icon { width: 18px; height: 18px; }
.legal { display: flex; justify-content: space-between; gap: 20px; padding-top: 16px; margin-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

/* Accessible full-size image viewer. */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; padding: 64px 70px 30px; border: 0; background: #09111af7; color: #fff; overflow: auto; }
.lightbox:not([open]) { display: none; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: #09111a; }
.lightbox figure { max-width: 100%; text-align: center; }
.lightbox img { max-height: calc(100dvh - 160px); max-width: 100%; width: auto; margin: auto; object-fit: contain; }
.lightbox figcaption { font-size: 14px; line-height: 1.5; margin-top: 16px; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #ffffff50; border-radius: 50%; background: #ffffff15; color: #fff; font-size: 20px; }
.lightbox-close { right: 20px; top: 16px; }
.lightbox-prev { left: 14px; top: 50%; }
.lightbox-next { right: 14px; top: 50%; }
.gallery-open { overflow: hidden; }

/* Layout changes never shrink the main text or restore oversized hero elements. */
@media (max-width: 1200px) {
  .nav { position: relative; min-height: 76px; flex-wrap: wrap; gap: 12px; padding-block: 12px; }
  .nav-actions { order: 2; }
  .links { flex: none; width: 100%; order: 4; justify-content: center; flex-wrap: wrap; border-radius: 8px; font-size: 15px; }
  .links a { flex: none; padding: 10px 12px; }
  .js .links { display: none; }
  .js .links.is-open { display: flex; }
  .js .menu-toggle { display: flex; align-items: center; gap: 8px; order: 3; min-height: 44px; padding: 8px 10px; border: 1px solid var(--strong-line); border-radius: 5px; background: transparent; color: var(--text); font-size: 14px; }
  .works-grid { grid-template-columns: 1fr; }
  .work-previews { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-overview { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .cta { grid-template-columns: minmax(0, 1fr) auto; }
  .car-graphic { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews { grid-template-columns: 1fr; }
  .footer-row { flex-wrap: wrap; }
  .footer-row nav { order: 3; width: 100%; }
}
@media (max-width: 760px) {
  .strip-inner > span { display: none; }
  .hero { grid-template-columns: 1fr; gap: 24px; }
  .hero-photo { height: 250px; }
  .hero-visual { width: 100%; }
  .home-overview, .about, .contact { grid-template-columns: 1fr; }
  .work-previews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-preview { flex-direction: column; align-items: flex-start; }
  .work-preview > img { width: 100%; height: 140px; }
  .about-visual > img, .location > img { height: 280px; }
  .gallery-foot { flex-direction: column; gap: 12px; }
  .legal { flex-direction: column; gap: 6px; }
}
@media (max-width: 640px) {
  .nav-cta { display: none; }
  .head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .services { grid-template-columns: 1fr; }
  .work-previews { grid-template-columns: 1fr; }
  .work-preview { flex-direction: row; align-items: center; }
  .work-preview > img { width: 100px; height: 100px; }
  .work-card { grid-template-columns: 1fr; }
  .work-photo { min-height: 0; height: 240px; border-right: 0; border-bottom: 1px solid var(--line); }
  .gallery-item > img { height: 220px; }
  .work-photo > img { height: 100%; }
  .gallery-caption { padding: 36px 12px 12px; font-size: 13px; }
  .gallery-caption .icon { display: none; }
}
@media (max-width: 480px) {
  .wrap { padding-inline: 20px; }
  .strip-inner { gap: 10px; }
  .strip-inner a { gap: 5px; }
  .strip-inner a:first-child { min-width: 0; }
  .strip-inner a:last-child { flex-shrink: 0; white-space: nowrap; }
  .nav { gap: 8px; }
  .logo { font-size: 17px; }
  .logo small { font-size: 9px; letter-spacing: .04em; }
  .top .logo img { width: 32px; height: 32px; }
  .nav-actions { gap: 8px; }
  .theme-toggle { width: 44px; height: 44px; padding: 10px; }
  .js .menu-toggle { min-width: 44px; min-height: 44px; padding: 10px 8px; gap: 0; }
  .menu-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); }
  .links { gap: 3px; justify-content: flex-start; }
  .links a { font-size: 15px; }
  .facts { gap: 12px; }
  .appointment { left: 10px; right: 10px; gap: 10px; padding: 12px; }
  .appointment-icon { display: none; }
  .appointment a:not(.round-link) { font-size: 20px; }
  .photo-label { font-size: 12px; }
  .work-preview { gap: 12px; padding: 14px; }
  .work-preview > img { width: 88px; height: 100px; }
  .work-preview h3 { font-size: 17px; }
  .work-body { padding: 18px; }
  .cta { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .cta > .btn { justify-self: start; }
  .location-card { left: 10px; right: 10px; gap: 10px; padding: 14px; }
  .location-card > .icon { display: none; }
  .lightbox { padding: 64px 50px 30px; }
  .lightbox-prev { left: 3px; }
  .lightbox-next { right: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
