/* ABOUTME: All styles for the Garber's site, ported from the Pit Lane canvas artboards (desktop and mobile). */
/* ABOUTME: Mobile first; 768 px switches content to the desktop layout, 1024 px switches the header and hero. */

/* Fonts (self-hosted, Latin subset, SIL OFL) */
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url(/assets/fonts/barlow-400.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url(/assets/fonts/barlow-500.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url(/assets/fonts/barlow-600.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-style: normal; font-display: swap; src: url(/assets/fonts/barlow-condensed-500.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url(/assets/fonts/barlow-condensed-700.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap; src: url(/assets/fonts/barlow-condensed-800.woff2) format("woff2"); }

:root {
  --bg: #0D0E10;
  --panel: #141619;
  --chip-on: #1E2024;
  --line: #23262B;
  --line-2: #3A3E45;
  --text: #F2F2F0;
  --soft: #C9CCD1;
  --muted: #A9ADB4;
  --accent: #FF6501;
  --hover: #FF8A3D;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  color-scheme: dark;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:has(dialog[open]) { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Barlow", Arial, sans-serif; font-size: 16px; line-height: 1.5; }
img, svg { display: block; max-width: 100%; }
a { color: var(--text); }
a:hover { color: var(--hover); }
h1, h2, h3, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
main:focus { outline: none; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.strong { color: var(--text); font-weight: 600; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.note { font-size: 15px; color: var(--muted); }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--accent); color: var(--bg); padding: 12px 18px; font-weight: 600; }
.skip:focus { top: 12px; color: var(--bg); }
/* Hide-only utilities: the element keeps its own display where it shows */
@media (max-width: 767px) { .d-only { display: none !important; } }

/* Type */
.eyebrow { margin: 0 0 14px; font-family: var(--cond); font-weight: 700; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.display { font-family: var(--cond); font-weight: 800; font-size: 52px; line-height: .92; text-transform: uppercase; overflow-wrap: break-word; }
.lead { margin-top: 16px; font-size: 17px; line-height: 1.55; color: var(--soft); }
.h2 { font-family: var(--cond); font-weight: 800; font-size: 36px; line-height: 1; text-transform: uppercase; }
.h2-lg { font-family: var(--cond); font-weight: 800; font-size: 40px; line-height: .98; text-transform: uppercase; }
.body-lg { margin-top: 16px; font-size: 17px; line-height: 1.65; color: var(--soft); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 28px; border: 2px solid transparent; font-family: var(--cond); font-weight: 700; font-size: 20px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; text-align: center; cursor: pointer; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.btn-accent:hover { background: var(--hover); border-color: var(--hover); color: var(--bg); }
.btn-outline { border-color: var(--text); color: var(--text); background: transparent; }
.btn-dark { background: var(--bg); border-color: var(--bg); color: var(--text); }
.btn-dark:hover { color: var(--hover); }
.btn-outline-dark { border-color: var(--bg); color: var(--bg); }
.btn-outline-dark:hover { color: var(--text); background: var(--bg); }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.actions { margin-top: 28px; display: grid; gap: 12px; }
.icon-btn { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: none; border: 0; padding: 0; color: var(--text); cursor: pointer; }
.icon-btn.accent { color: var(--accent); }
.arrow { color: var(--accent); }
.phone-icon { width: 18px; height: 18px; flex: none; }
.icon-btn .phone-icon { width: 22px; height: 22px; }
.call-icon .phone-icon { width: 26px; height: 26px; }

/* Header */
.utility { display: none; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.utility-in { padding-top: 10px; padding-bottom: 10px; display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; }
.utility-info { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.utility a { display: inline-block; padding: 12px 0; margin: -12px 0; text-decoration: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-in { height: 72px; padding: 0 12px 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo img { height: 48px; width: auto; }
.nav { display: none; }
.m-actions { display: flex; align-items: center; gap: 4px; }
html:not(.js) .menu-open { display: none; }

/* Mobile menu */
.menu { margin: 0; padding: 0; border: 0; width: 100%; max-width: none; height: 100%; max-height: none; overflow-y: auto; background: var(--bg); color: var(--text); }
.menu[open] { display: flex; flex-direction: column; }
.menu::backdrop { background: var(--bg); }
.menu-top { height: 72px; flex: none; padding: 0 12px 0 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.menu-nav { padding: 8px 16px 0; }
.menu-nav li { border-bottom: 1px solid var(--line); }
.menu-nav a { display: flex; justify-content: space-between; align-items: center; min-height: 64px; text-decoration: none; font-family: var(--cond); font-weight: 800; font-size: 34px; text-transform: uppercase; }
.menu-nav a[aria-current="page"] { color: var(--accent); }
.menu-nav .arrow { font-size: 22px; }
.menu-foot { margin-top: auto; padding: 24px 16px 28px; display: grid; gap: 12px; }
.menu-info { display: grid; gap: 2px; margin-bottom: 8px; font-size: 15px; line-height: 1.5; color: var(--muted); }

/* Heroes */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero-img { position: absolute; top: 0; left: 0; width: 100%; height: 380px; max-width: none; object-fit: cover; object-position: 66% 0; }
.hero::before { content: ""; position: absolute; z-index: 1; top: 0; left: 0; right: 0; height: 380px; background: linear-gradient(180deg, rgba(13,14,16,0) 0%, rgba(13,14,16,.3) 40%, rgba(13,14,16,.96) 72%, #0D0E10 100%); }
.hero-in { position: relative; z-index: 2; padding-top: 270px; padding-bottom: 40px; }
.hero-home .hero-img { height: 420px; object-position: 88% 0; }
.hero-home::before { height: 420px; background: linear-gradient(180deg, rgba(13,14,16,0) 0%, rgba(13,14,16,.35) 38%, rgba(13,14,16,.96) 70%, #0D0E10 100%); }
.hero-home .hero-in { padding-top: 300px; }
.hero-about .hero-img { object-position: 96% 0; }
.hero-services .hero-img { object-position: 85% 0; }
.hero-shop .hero-img { object-position: 100% 0; }
.page-head { border-bottom: 1px solid var(--line); }
.page-head-in { padding-top: 48px; padding-bottom: 32px; }

/* Sections */
.sec { padding-top: 56px; padding-bottom: 56px; }
.panel { background: var(--panel); }
.accent-top { border-top: 4px solid var(--accent); }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.more { font-weight: 600; font-size: 16px; padding: 10px 0; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; font-family: var(--cond); font-weight: 700; font-size: 19px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border-bottom: 3px solid var(--accent); }
.ph { background: var(--panel); border: 1px dashed var(--line-2); display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--muted); font-size: 15px; }
.stars { color: var(--accent); font-size: 18px; letter-spacing: 3px; }

/* Home: stats */
.stats { border-top: 4px solid var(--accent); background: var(--panel); }
.stats-in { padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat { padding: 24px 16px; }
.stat:nth-child(odd) { border-right: 1px solid var(--line); }
.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.stat-num { font-family: var(--cond); font-weight: 800; font-size: 44px; line-height: 1; }
.stat-text { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.4; }


/* Home: service list */
.svc-sec .h2 { margin-bottom: 16px; }
.svc-list { border-top: 1px solid var(--line); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc-list a { display: grid; grid-template-columns: 36px minmax(0, 1fr) 20px; gap: 12px; align-items: start; padding: 20px 0; text-decoration: none; }
.svc-num { font-family: var(--cond); font-weight: 700; font-size: 15px; color: var(--accent); padding-top: 4px; }
.svc-body { display: grid; gap: 4px; }
.svc-title { font-family: var(--cond); font-weight: 700; font-size: 24px; text-transform: uppercase; }
.svc-text { font-size: 15px; line-height: 1.5; color: var(--muted); }
.svc-list .arrow { font-size: 20px; padding-top: 2px; }

/* Feature (image + text) */
.feature { max-width: 1280px; margin: 0 auto; }
.feature-img { width: 100%; height: 300px; object-fit: cover; }
.feature-body { padding: 32px 16px 48px; }
.feature-body .eyebrow { margin-bottom: 12px; }

/* Carousels: swipe with scroll snap on mobile, grid from 768 px */
.carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px; scroll-padding: 0 16px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { scroll-snap-align: start; }
.review { flex: 0 0 min(300px, 82vw); background: var(--panel); padding: 24px; display: flex; flex-direction: column; gap: 14px; min-height: 240px; }
.review blockquote { font-size: 17px; line-height: 1.55; }
.review figcaption { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; color: var(--muted); font-size: 14px; }
.rv-link { flex-basis: 100%; display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-weight: 600; text-decoration: none; }

/* About */
.who { padding-top: 16px; }
.portrait { height: 420px; }
.caption-row { margin-top: 12px; display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.who-body .h2-lg { margin-top: 40px; }
.prose { margin-top: 20px; display: grid; gap: 16px; font-size: 17px; line-height: 1.65; color: var(--soft); }
.pull { margin-top: 32px; font-family: var(--cond); font-weight: 700; font-size: 28px; line-height: 1.15; text-transform: uppercase; }
.history { padding-top: 48px; padding-bottom: 48px; }
.history .h2 { margin-bottom: 24px; }
.timeline { padding-left: 20px; border-left: 2px solid var(--line-2); display: grid; gap: 28px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 10px; width: 12px; height: 12px; background: var(--text); }
.timeline li:last-child::before { background: var(--accent); }
.timeline li:last-child .tl-year { color: var(--accent); }
.tl-year { display: block; font-family: var(--cond); font-weight: 800; font-size: 32px; line-height: 1; }
.tl-text { display: block; margin-top: 6px; font-size: 16px; line-height: 1.5; color: var(--soft); }
.standard-head .h2-lg { margin-bottom: 28px; }
.standard-items { display: grid; gap: 24px; }
.std { border-top: 1px solid var(--line-2); padding-top: 16px; }
.std h3 { margin-bottom: 8px; font-family: var(--cond); font-weight: 700; font-size: 24px; text-transform: uppercase; }
.std p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.tags { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-family: var(--cond); font-weight: 700; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line-2); padding: 10px 14px; }

/* Services: accordion groups */
.groups-sec { padding-top: 24px; }
.groups-sec .h2 { margin-bottom: 16px; }
.groups { border-top: 1px solid var(--line-2); }
.group { border-bottom: 1px solid var(--line-2); }
.group summary { display: grid; grid-template-columns: 36px minmax(0, 1fr) 28px; gap: 12px; align-items: center; padding: 20px 0; min-height: 48px; list-style: none; cursor: pointer; }
.group summary::-webkit-details-marker { display: none; }
.g-num { font-family: var(--cond); font-weight: 700; font-size: 15px; color: var(--accent); }
.g-head { display: grid; gap: 2px; }
.g-title { font-family: var(--cond); font-weight: 800; font-size: 28px; line-height: 1; text-transform: uppercase; }
.g-count { font-size: 14px; color: var(--muted); }
.g-plus { color: var(--accent); transition: transform .2s; }
.group[open] .g-plus { transform: rotate(45deg); }
.g-text { grid-column: 2 / -1; font-size: 15px; line-height: 1.5; color: var(--muted); }
.group:not([open]) .g-text { display: none; }
.g-items { margin-bottom: 20px; display: grid; gap: 2px; background: var(--line); }
.g-items li { background: var(--panel); }
.g-items a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; text-decoration: none; font-size: 17px; font-weight: 600; }
.parts { padding-top: 48px; padding-bottom: 48px; }
.compare { margin-top: 28px; width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th { padding: 12px 0; border-bottom: 1px solid var(--line-2); font-family: var(--cond); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; text-align: left; color: var(--muted); }
.compare th + th { color: var(--accent); }
.compare td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.compare td + td { color: var(--text); font-weight: 600; }
.compare tr:last-child td { border-bottom: 0; }
.areas-sec { padding-top: 48px; padding-bottom: 56px; }
.areas-sec .eyebrow { margin-bottom: 16px; }
.areas { display: flex; flex-wrap: wrap; gap: 8px; }
.areas li { font-family: var(--cond); font-weight: 700; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; border: 1px solid var(--line-2); padding: 10px 14px; }

/* Shop */
.gallery-sec { padding-top: 24px; }
.gallery-sec .sec-head { margin-bottom: 16px; }
.gallery figure { flex: 0 0 min(320px, 82vw); }
.gallery img, .gallery .ph { width: 100%; height: 300px; object-fit: cover; }
.gallery figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.equip { padding-top: 48px; padding-bottom: 48px; display: grid; gap: 32px; }
.eq { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; }
.eq-num { font-family: var(--cond); font-weight: 800; font-size: 40px; line-height: 1; color: var(--accent); }
.eq h3 { margin-bottom: 6px; font-family: var(--cond); font-weight: 700; font-size: 24px; text-transform: uppercase; }
.eq p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.visit { display: flex; flex-direction: column; }
.visit-body { display: contents; }
.visit .h2 { order: -1; margin-bottom: 16px; }
.map { margin: 0; }
.map-link { position: relative; display: block; height: 220px; }
.map-link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.map-link:hover img { filter: brightness(1.15); }
.map-credit { margin-top: 6px; font-size: 12px; color: var(--muted); }
.map-credit a { display: inline-block; padding: 14px 0; margin: -14px 0; color: var(--muted); }
.visit address { margin-top: 16px; font-size: 17px; line-height: 1.6; }
.visit-hours { margin-top: 4px; font-size: 16px; color: var(--muted); }
.visit .btn { margin-top: 20px; }

/* Reviews */
.rv-list { padding-top: 32px; }
.review-grid { display: grid; gap: 12px; }
.review-card { background: var(--panel); border-top: 3px solid var(--line); padding: 24px 20px; display: flex; flex-direction: column; gap: 14px; }
.review-card:first-child { border-top-color: var(--accent); }
.review-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.review-top .stars { font-size: 16px; }
.source { font-family: var(--cond); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.review-card blockquote { font-size: 17px; line-height: 1.55; }
.review-card figcaption { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; color: var(--muted); font-size: 14px; }
.review-us { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.review-us p { font-size: 17px; color: var(--soft); }

/* Contact */
.call-card { margin-top: 28px; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; background: var(--panel); border-left: 4px solid var(--accent); padding: 20px 16px; text-decoration: none; }
.call-icon { width: 56px; height: 56px; background: var(--accent); color: var(--bg); display: flex; align-items: center; justify-content: center; }
.call-text { display: grid; gap: 2px; }
.call-label { font-size: 14px; color: var(--muted); }
.call-num { font-family: var(--cond); font-weight: 800; font-size: 34px; line-height: 1; }
.contact { padding-top: 24px; padding-bottom: 48px; }
.contact-form .h2 { font-size: 32px; margin-bottom: 20px; }
.form { display: grid; gap: 20px; }
.fields { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 14px; font-family: "Barlow", Arial, sans-serif; font-weight: 400; font-size: 17px; letter-spacing: 0; text-transform: none; color: var(--text); background: var(--panel); border: 1px solid var(--line-2); border-radius: 0; }
.field textarea { resize: vertical; }
.field ::placeholder { color: #7D828A; }
.needs { border: 0; margin: 0; padding: 0; min-width: 0; }
.needs legend { padding: 0; margin-bottom: 10px; font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border: 1px solid var(--line-2); font-size: 16px; font-weight: 600; cursor: pointer; }
.chip input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.chip:has(input:checked) { border-color: var(--accent); background: var(--chip-on); }
.chip:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.chip input:focus-visible { outline: none; }
.turnstile { min-height: 65px; }
.send { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.send .btn { width: 100%; }
.send-note { font-size: 14px; line-height: 1.5; color: var(--muted); }
html:not(.js) .send-btn { display: none; }
.form-status:empty { display: none; }
.form-status { padding: 16px; border-left: 4px solid var(--accent); background: var(--panel); font-size: 17px; font-weight: 600; }
.form-status.is-error { border-left-color: #FF4D4D; }
.details { margin-top: 48px; display: grid; gap: 2px; background: var(--line); }
.detail { background: var(--panel); padding: 18px 16px; display: grid; gap: 4px; text-decoration: none; }
.detail-key { font-family: var(--cond); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.detail-email { font-size: 18px; font-weight: 600; }
.detail address { font-size: 17px; line-height: 1.55; }
.hours { margin-top: 6px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; font-size: 16px; }
.hours .muted { color: var(--muted); }
.details .map { background: var(--panel); }
.details .map-link { height: 200px; }
.details .map-credit { margin: 0; padding: 8px 16px; }

/* Footer */
.cta { background: var(--accent); color: var(--bg); }
.cta :focus-visible { outline-color: var(--bg); }
.cta-in { padding-top: 40px; padding-bottom: 40px; }
.cta h2 { font-family: var(--cond); font-weight: 800; font-size: 40px; line-height: .95; text-transform: uppercase; }
.cta .actions { margin-top: 24px; }
.site-footer { padding: 40px 0 32px; }
.f-grid { display: grid; gap: 32px; }
.f-brand { display: grid; gap: 14px; }
.f-brand img { height: 64px; width: auto; justify-self: start; }
.f-brand p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.f-brand .f-tagline { font-family: var(--cond); font-weight: 700; font-size: 16px; letter-spacing: .08em; line-height: 1.2; color: var(--accent); }
.f-rows { display: grid; gap: 2px; background: var(--line); }
.f-row { background: var(--bg); padding: 16px 0; min-height: 56px; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-decoration: none; }
.f-key { font-family: var(--cond); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.f-val { font-size: 17px; font-weight: 600; text-align: right; }
.f-plain { font-weight: 400; }
.f-serving { font-size: 15px; line-height: 1.6; color: var(--muted); }
.f-bottom { margin-top: 32px; display: flex; flex-direction: column-reverse; gap: 20px; }
.f-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; font-size: 16px; }
.f-nav a { padding: 10px 0; text-decoration: none; }
.legal { padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.6; color: var(--muted); }

/* Mobile action bar */
body { padding-bottom: 78px; }
.mbar { position: fixed; z-index: 10; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 10px 12px 14px; background: var(--bg); border-top: 1px solid var(--line); }
.mbar .btn { min-height: 52px; padding: 0 12px; font-size: 18px; }

/* Very narrow phones: keep the 300 px Turnstile box inside the page */
@media (max-width: 339px) {
  .turnstile { transform: scale(.94); transform-origin: 0 0; }
}

/* Tablet and desktop content */
@media (min-width: 768px) {
  .wrap { padding: 0 24px; }
  .m-only { display: none !important; }
  body { padding-bottom: 0; }
  .mbar { display: none; }

  .eyebrow { margin-bottom: 20px; font-size: 18px; }
  .display { font-size: clamp(56px, 7.5vw, 104px); }
  .lead { margin-top: 24px; max-width: 560px; font-size: 20px; }
  .h2 { font-size: 48px; }
  .h2-lg { font-size: clamp(40px, 4.5vw, 60px); }
  .body-lg { margin-top: 24px; font-size: 18px; line-height: 1.7; }
  .actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; }
  .btn { padding: 0 32px; }
  .sec { padding-top: 96px; padding-bottom: 96px; }
  .sec-head { align-items: flex-end; margin-bottom: 36px; }
  .more { font-size: 17px; }
  .text-link { margin-top: 32px; font-size: 20px; }
  .page-head-in { padding-top: 80px; padding-bottom: 56px; }

  /* Home */
  .svc-sec .h2 { margin-bottom: 0; }
  .svc-list { border-top: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2px; background: var(--line); }
  .svc-list li { border-bottom: 0; background: var(--bg); }
  .svc-list a { height: 100%; display: flex; flex-direction: column; gap: 12px; min-height: 220px; padding: 32px; }
  .svc-num { font-size: 16px; padding-top: 0; }
  .svc-body { gap: 12px; }
  .svc-title { font-size: 30px; }
  .svc-text { font-size: 16px; }
  .feature { padding: 96px 24px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
  .feature-img { flex: 1 1 420px; min-width: 0; max-width: 560px; height: auto; aspect-ratio: 1 / 1; }
  .feature-body { flex: 999 1 420px; min-width: 0; padding: 0; }
  .feature-body .eyebrow { margin-bottom: 16px; font-size: 16px; }
  .carousel { max-width: 1280px; margin: 0 auto; padding: 0 24px; overflow: visible; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
  .review { background: none; border: 1px solid var(--line); padding: 32px; gap: 20px; min-height: 0; }
  .review blockquote { font-size: 18px; line-height: 1.6; }
  .review figcaption { font-size: 15px; }

  /* About */
  .who { padding-top: 96px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
  .who-side { flex: 1 1 360px; min-width: 0; max-width: 440px; }
  .portrait { height: auto; aspect-ratio: 4 / 5; }
  .caption-row { margin-top: 16px; font-size: 15px; }
  .who-body { flex: 999 1 480px; min-width: 0; }
  .who-body .eyebrow { margin-bottom: 16px; font-size: 16px; }
  .who-body .h2-lg { margin-top: 0; }
  .prose { margin-top: 28px; gap: 20px; font-size: 18px; line-height: 1.7; }
  .pull { margin-top: 40px; font-size: 32px; }
  .history { padding-top: 80px; padding-bottom: 80px; }
  .history .h2 { margin-bottom: 40px; }
  .timeline { padding-left: 0; border-left: 0; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2px; background: var(--line); }
  .timeline li { background: var(--panel); padding: 28px 24px; }
  .timeline li::before { display: none; }
  .tl-year { font-size: 40px; }
  .tl-text { margin-top: 10px; }
  .standard { display: flex; flex-wrap: wrap; gap: 40px 56px; }
  .standard-head { flex: 1 1 360px; min-width: 0; }
  .standard-head .eyebrow { margin-bottom: 16px; font-size: 16px; }
  .standard-head .h2-lg { margin-bottom: 0; }
  .standard-items { flex: 999 1 520px; min-width: 0; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
  .std { padding-top: 20px; }
  .std h3 { margin-bottom: 10px; font-size: 26px; }
  .tags { margin-top: 72px; gap: 12px; }
  .tags li { font-size: 20px; padding: 14px 22px; }

  /* Services */
  .groups-sec { padding-top: 96px; }
  .groups-sec .h2 { margin-bottom: 48px; }
  .groups { border-top: 0; display: grid; gap: 56px; }
  .group { border-bottom: 0; border-top: 1px solid var(--line-2); padding-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.15fr); gap: 0 56px; align-items: start; }
  .group summary { display: block; padding: 0; min-height: 0; cursor: default; }
  .g-num { font-size: 16px; }
  .g-title { display: block; margin: 8px 0 12px; font-size: 34px; }
  .g-count, .g-plus { display: none; }
  .g-text, .group:not([open]) .g-text { display: block; font-size: 16px; line-height: 1.6; }
  .g-items { margin: 0; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .g-items li { background: var(--bg); }
  .g-items a { padding: 22px 24px; font-size: 18px; }
  .parts { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
  .parts-body { flex: 999 1 460px; min-width: 0; }
  .compare { flex: 1 1 380px; width: auto; margin-top: 0; border-collapse: separate; border-spacing: 2px; background: var(--line); }
  .compare th, .compare td { background: var(--bg); border: 0; padding: 20px 24px; }
  .compare th { padding: 24px; font-size: 15px; letter-spacing: .14em; }
  .areas-sec { padding-top: 72px; padding-bottom: 88px; }
  .areas-sec .eyebrow { margin-bottom: 20px; font-size: 16px; }
  .areas { display: block; font-family: var(--cond); font-weight: 800; font-size: clamp(32px, 4vw, 52px); line-height: 1.1; text-transform: uppercase; }
  .areas li { display: inline; border: 0; padding: 0; font: inherit; letter-spacing: 0; }
  .areas li:not(:last-child)::after { content: " · "; }

  /* Shop */
  .gallery-sec { padding-top: 96px; padding-bottom: 72px; }
  .gallery-sec .sec-head { margin-bottom: 36px; }
  .gallery { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
  .gallery figure { min-width: 0; }
  .gallery .ph { height: 280px; }
  .gallery figure:nth-child(1) { grid-column: 1 / -1; }
  .gallery figure:nth-child(1) img { height: 480px; }
  .gallery figure:nth-child(2) img { height: 420px; }
  .gallery figcaption { margin-top: 10px; }
  .equip { padding-top: 88px; padding-bottom: 88px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
  .eq { display: block; }
  .eq-num { font-size: 56px; }
  .eq h3 { margin: 16px 0 10px; font-size: 28px; }
  .eq p { line-height: 1.6; }
  .visit { padding-top: 88px; padding-bottom: 88px; flex-direction: row; flex-wrap: wrap; gap: 40px; align-items: stretch; }
  .visit .map { flex: 999 1 520px; display: flex; flex-direction: column; }
  .visit .map-link { flex: 1; height: auto; min-height: 340px; }
  .visit-body { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; }
  .visit .h2 { order: 0; margin: 0; font-size: 40px; }
  .visit address { margin: 0; font-size: 18px; }
  .visit-hours { margin: 0; font-size: 17px; line-height: 1.6; }
  .visit .btn { margin-top: auto; align-self: flex-start; font-size: 18px; }

  /* Reviews */
  .rv-list { padding-top: 72px; }
  .review-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
  .review-card { padding: 32px; gap: 18px; min-height: 260px; }
  .review-top .stars { font-size: 18px; }
  .source { font-size: 14px; }
  .review-card blockquote { font-size: 18px; line-height: 1.6; }
  .review-card figcaption { font-size: 15px; }
  .review-us { margin-top: 56px; padding-top: 0; border-top: 0; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
  .review-us p { font-size: 18px; margin-right: 8px; }
  .review-us .btn { min-height: 52px; padding: 0 24px; font-size: 18px; }

  /* Contact */
  .contact { padding-top: 72px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
  .contact-form { flex: 999 1 560px; min-width: 0; }
  .form { gap: 24px; }
  .fields { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
  .field-wide { grid-column: 1 / -1; }
  .field, .needs legend { font-size: 16px; }
  .field input, .field textarea { padding: 14px 16px; }
  .needs legend { margin-bottom: 12px; }
  .chips { gap: 10px; }
  .chip { padding: 12px 18px; }
  .send .btn { width: auto; padding: 0 36px; }
  .send-note { font-size: 15px; }
  .details { flex: 1 1 340px; margin-top: 0; }
  .detail { padding: 28px; gap: 8px; }
  .detail-key { font-size: 15px; }
  .detail-call { font-family: var(--cond); font-weight: 800; font-size: 40px; line-height: 1.1; text-decoration: none; }
  .detail-email { font-size: 19px; }
  .detail address { font-size: 18px; line-height: 1.6; }
  .hours { margin-top: 12px; gap: 8px 16px; font-size: 17px; }
  .details .map-link { height: auto; min-height: 220px; }

  /* Footer */
  .cta-in { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
  .cta h2 { font-size: clamp(40px, 5vw, 64px); max-width: 720px; }
  .cta .actions { margin-top: 0; }
  .site-footer { padding: 64px 0 40px; }
  .f-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
  .f-brand { display: flex; flex-direction: column; gap: 16px; }
  .f-brand img { height: 72px; align-self: flex-start; }
  .f-col h3 { margin-bottom: 16px; font-family: var(--cond); font-weight: 700; font-size: 16px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
  .f-col address, .f-col p { font-size: 16px; line-height: 1.7; }
  .f-col p.muted { margin-top: 12px; }
  .f-col h3 + p.muted { margin-top: 0; }
  .f-links { display: grid; font-size: 16px; }
  .f-links a { justify-self: start; padding: 10px 0; text-decoration: none; }
  .f-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); flex-direction: row; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); }
  .legal { padding-top: 0; border-top: 0; font-size: 14px; }
  .f-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
  .f-nav a { color: var(--muted); padding: 12px 0; text-decoration: underline; }
}

/* Desktop header and heroes */
@media (min-width: 1024px) {
  .utility { display: block; }
  .site-header { border-bottom: 0; }
  .header-in { height: auto; padding: 18px 24px; flex-wrap: wrap; gap: 16px; }
  .logo img { height: 64px; }
  .m-actions { display: none; }
  .nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 30px; font-family: var(--cond); font-weight: 600; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; }
  .nav a { text-decoration: none; padding: 12px 0 8px; border-bottom: 3px solid transparent; }
  .nav a[aria-current="page"] { border-bottom-color: var(--accent); }
  .nav .nav-book { min-height: 44px; padding: 0 22px; font-size: 18px; font-weight: 600; border: 0; }

  .hero { min-height: 540px; display: flex; align-items: flex-end; }
  .hero-img, .hero-home .hero-img { height: 100%; object-position: 70% 55%; }
  .hero::before, .hero-home::before { height: 100%; background: linear-gradient(90deg, rgba(13,14,16,.92) 0%, rgba(13,14,16,.5) 45%, rgba(13,14,16,0) 72%); }
  .hero-in, .hero-home .hero-in { width: 100%; padding-top: 96px; padding-bottom: 80px; }
  .hero .display { max-width: 780px; }
  .hero-home { min-height: 680px; }
  .hero-home::before { background: linear-gradient(90deg, rgba(13,14,16,.92) 0%, rgba(13,14,16,.55) 42%, rgba(13,14,16,0) 70%); }
  .hero-home .hero-img { object-position: 70% 50%; }
  .hero-home .hero-in { padding-bottom: 88px; }
  .hero-home .display { max-width: 900px; font-size: clamp(56px, 8vw, 112px); letter-spacing: -.01em; }
  .hero-home .lead { margin-top: 28px; }
  .hero-home .actions { margin-top: 40px; }
  .hero-services::before { background: linear-gradient(90deg, rgba(13,14,16,.94) 0%, rgba(13,14,16,.6) 40%, rgba(13,14,16,0) 70%); }
  .hero-services .hero-img { object-position: 75% 50%; }
  .hero-about .hero-img { object-position: 70% 55%; }
  .hero-shop { min-height: 520px; }
  .hero-shop::before { background: linear-gradient(90deg, rgba(13,14,16,.92) 0%, rgba(13,14,16,.5) 40%, rgba(13,14,16,0) 70%); }
  .hero-shop .hero-img { object-position: 65% 60%; }

  .stats-in { padding: 0 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat, .stat:nth-child(odd), .stat:nth-child(-n+2) { padding: 36px 28px; border-bottom: 0; border-right: 1px solid var(--line); }
  .stat:first-child { padding-left: 0; }
  .stat:last-child { padding-right: 0; border-right: 0; }
  .stat-num { font-size: 64px; }
  .stat-text { margin-top: 8px; font-size: 16px; line-height: 1.5; }
}
