/* Beatty Brothers Garage - mobile-first stylesheet. System fonts only (no downloads). */
:root {
  --graphite: #1c1f24;
  --steel: #2b3038;
  --ink: #1c1f24;
  --muted: #565d66;
  --paper: #f5f3ef;
  --grey: #e7e5e0;
  --white: #fff;
  --line: #d4d1ca;
  --accent: #e0540f;
  --accent-dark: #b8420a;
  --focus: #0b63ce;
  --container: 1180px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--paper); overflow-x: hidden; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.12; font-weight: 800; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: inherit; text-underline-offset: .15em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.section--dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: #8ec2ff; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.narrow { max-width: 46rem; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: .5rem; top: -4rem; z-index: 100; background: var(--white); color: var(--ink); padding: .6rem 1rem; font-weight: 700; }
.skip-link:focus { top: .5rem; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.block { display: block; }
.placeholder { border-bottom: 2px dashed var(--accent); color: inherit; opacity: .85; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .75rem 1.25rem; border: 2px solid transparent; border-radius: 2px; font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn--lg { padding: .95rem 1.6rem; font-size: 1.05rem; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); }
.btn--dark { background: var(--graphite); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--outline { border-color: var(--graphite); color: var(--graphite); }
.btn--outline:hover { background: var(--graphite); color: #fff; }
.btn--outline-light { border-color: #fff; color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--graphite); }
.btn--outline-dark { border-color: var(--graphite); color: var(--graphite); }
.btn--outline-dark:hover { background: var(--graphite); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--accent-dark); text-decoration: none; }
.link-arrow .icon { transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.section--dark .link-arrow { color: #ffb48c; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--graphite); color: #fff; border-bottom: 3px solid var(--accent); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__mark { width: 38px; height: 38px; }
.brand__name { font-weight: 800; font-size: 1rem; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.brand__sub { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #ffb48c; white-space: nowrap; }
@media (min-width: 30rem) { .brand__name { font-size: 1.15rem; } .brand__sub { font-size: .72rem; letter-spacing: .14em; } }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.header-cta { display: none; padding: .55rem 1rem; }
.nav-toggle { display: none; align-items: center; gap: .5rem; background: transparent; color: #fff; border: 2px solid #5a616b; padding: .45rem .7rem; font: inherit; font-weight: 700; cursor: pointer; border-radius: 2px; }
.js .nav-toggle { display: inline-flex; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; content: ""; position: relative; }
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after { position: absolute; top: 6px; }
.site-nav { flex-basis: 100%; }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; max-height: calc(100vh - var(--header-h) - 1rem); overflow-y: auto; }
.site-nav ul { list-style: none; }
.site-nav > ul { padding-bottom: 1rem; }
.site-nav a, .sub-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: .8rem .25rem; color: #fff; text-decoration: none; font: inherit; font-weight: 600; background: none; border: 0; border-top: 1px solid #343a43; cursor: pointer; text-align: left; }
.site-nav a:hover, .sub-toggle:hover { color: #ffb48c; }
.site-nav a[aria-current="page"] { color: #ffb48c; box-shadow: inset 3px 0 0 var(--accent); padding-left: .75rem; }
.sub-nav { padding-left: 1rem; }
.js .sub-nav { display: none; }
.js .has-sub.is-open > .sub-nav { display: block; }
.sub-toggle .icon { transition: transform .15s; }
.has-sub.is-open > .sub-toggle .icon { transform: rotate(180deg); }

@media (min-width: 62rem) {
  .header-inner { flex-wrap: nowrap; }
  .header-cta { display: inline-flex; }
  .nav-toggle, .js .nav-toggle { display: none; }
  .site-nav, .js .site-nav, .js .site-nav.is-open { display: block; flex: 1; flex-basis: auto; order: 0; max-height: none; overflow: visible; }
  .header-actions { order: 2; }
  .site-nav > ul { display: flex; justify-content: center; gap: .25rem; padding: 0; }
  .site-nav a, .sub-toggle { width: auto; border: 0; padding: .55rem .9rem; justify-content: flex-start; gap: .35rem; }
  .site-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--accent); padding-left: .9rem; }
  .has-sub { position: relative; }
  .sub-nav, .js .sub-nav { display: none; position: absolute; left: 0; top: 100%; min-width: 17rem; padding: .4rem 0; background: var(--graphite); border: 1px solid #343a43; border-top: 3px solid var(--accent); box-shadow: 0 12px 28px rgb(0 0 0 / .35); }
  .has-sub:hover > .sub-nav, .has-sub:focus-within > .sub-nav, .js .has-sub.is-open > .sub-nav { display: block; }
  .sub-nav a { padding: .6rem 1rem; }
}

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--white { background: var(--white); }
.section--grey { background: var(--grey); }
.section--dark { background: var(--graphite); color: #f1efea; }
.section--dark .eyebrow { color: #ffb48c; }
.section__head { max-width: 44rem; margin-bottom: 2.25rem; }
.section__head p { color: var(--muted); font-size: 1.1rem; }
.section--dark .section__head p { color: #c9ccd1; }
.eyebrow { margin: 0 0 .6rem; font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-dark); }
.lead { font-size: 1.2rem; color: var(--muted); }
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } .grid--2 { grid-template-columns: repeat(2, 1fr); } }
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 62rem) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } .split--reverse > :first-child { order: 2; } }

/* Hero */
.hero { position: relative; background: var(--graphite); color: #fff; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero--full::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(20 22 26 / .74); }
.hero__inner { padding: clamp(3rem, 9vw, 6.5rem) 0 clamp(2.5rem, 6vw, 4rem); max-width: 46rem; }
.hero h1 { color: #fff; }
.hero__text { font-size: 1.15rem; color: #e1e3e6; max-width: 38rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero__facts { display: grid; gap: .75rem; list-style: none; border-top: 1px solid rgb(255 255 255 / .22); padding: 1.1rem 0 1.5rem; margin-top: 1rem; }
.hero__facts li { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.hero__facts .icon { color: #ffb48c; }
@media (min-width: 48rem) { .hero__facts { grid-template-columns: repeat(4, auto); justify-content: space-between; } }
.hero--split .hero__layout { display: grid; gap: 2rem; align-items: center; padding: clamp(2rem, 6vw, 4.5rem) 0; }
.hero--split .hero__inner { padding: 0; }
.hero--split .hero__media { border: 6px solid rgb(255 255 255 / .08); }
.hero--split .hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 62rem) { .hero--split .hero__layout { grid-template-columns: 1.1fr .9fr; gap: 3.5rem; } }
.hero--accent { border-bottom: 6px solid var(--accent); }
.hero .eyebrow { color: #ffb48c; }
.more-link { margin-top: 1.25rem; }
.selector { display: grid; gap: .6rem; margin-top: 2rem; padding: 1.35rem; background: var(--steel); border-left: 5px solid var(--accent); max-width: 40rem; }
.selector label { font-weight: 700; }
@media (min-width: 40rem) { .selector { grid-template-columns: 1fr auto; align-items: end; } .selector label { grid-column: 1 / -1; } }

/* Breadcrumbs */
.crumbs { padding: .85rem 0 0; font-size: .9rem; }
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; gap: .35rem; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .6; }
.hero .crumbs a { color: #ffb48c; }
.crumbs--light { background: var(--grey); padding: .75rem 0; }

/* Cards */
.card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--graphite); position: relative; display: flex; flex-direction: column; transition: border-top-color .15s, box-shadow .15s; }
.card:hover, .card:focus-within { border-top-color: var(--accent); box-shadow: 0 10px 24px rgb(28 31 36 / .12); }
.card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--grey); }
.card__body { display: flex; flex-direction: column; gap: .15rem; padding: 1.35rem; flex: 1; }
.card__body .link-arrow { margin-top: auto; padding-top: .75rem; }
.card__icon { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; background: var(--graphite); color: #ffb48c; margin-bottom: .75rem; }
.card__icon .icon { width: 1.4rem; height: 1.4rem; }
.card p { color: var(--muted); }
.card h3 { margin-bottom: .4rem; }
.card .link-arrow::after { content: ""; position: absolute; inset: 0; }
.related-card { padding: 1.35rem; }
.related-card .link-arrow { margin-top: auto; }
.mini-list { list-style: none; display: grid; gap: .35rem; margin: .25rem 0 .5rem; font-size: .95rem; }
.mini-list li { display: flex; gap: .5rem; align-items: flex-start; }
.mini-list .icon { color: var(--accent-dark); margin-top: .2em; width: 1em; height: 1em; }
.service-card--compact .card__body { padding: 1.1rem; }

/* Lists, steps, tables, panels */
.feature-list { list-style: none; display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .feature-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .feature-list--3 { grid-template-columns: repeat(3, 1fr); } }
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature .card__icon { margin: 0; flex: none; }
.feature h3 { margin-bottom: .25rem; font-size: 1.1rem; }
.feature p { margin: 0; color: var(--muted); }
.section--dark .feature p { color: #c9ccd1; }
.section--dark .card__icon { background: var(--accent); color: #fff; }
.checklist { list-style: none; display: grid; gap: .55rem; margin: 0 0 1.25rem; }
.checklist li { display: flex; gap: .65rem; align-items: flex-start; }
.checklist .icon { color: var(--accent-dark); margin-top: .22em; }
.steps { list-style: none; counter-reset: step; display: grid; gap: 1rem; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); } .steps--4 { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; position: relative; padding: 3.4rem 1.25rem 1.25rem; background: var(--white); border: 1px solid var(--line); }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; background: var(--accent); color: #fff; font-weight: 800; }
.steps h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.steps p { margin: 0; color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--white); margin: 0 0 1.5rem; }
table { width: 100%; border-collapse: collapse; font-size: .98rem; }
caption { text-align: left; padding: .85rem 1rem; font-weight: 800; background: var(--graphite); color: #fff; }
th, td { padding: .8rem 1rem; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
thead th { background: var(--grey); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
tbody th { font-weight: 700; }
.panel { background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--accent); padding: 1.35rem; margin-bottom: 1.25rem; }
.panel h2, .panel h3 { font-size: 1.2rem; }
.panel--dark { background: var(--graphite); color: #f1efea; border-color: var(--graphite); border-left-color: var(--accent); }
.panel--dark p { color: #c9ccd1; }
.note { font-size: .92rem; color: var(--muted); }
.page-layout { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 62rem) { .page-layout { grid-template-columns: minmax(0, 1fr) 21rem; gap: 3.5rem; } .aside { position: sticky; top: calc(var(--header-h) + 1.25rem); } }
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2rem; font-size: 1.6rem; }
.prose h3 { margin-top: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.25rem; margin-bottom: 1em; }
.prose li { margin-bottom: .35rem; }
.main-col > section + section { margin-top: 2.75rem; }
.main-col h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--line); margin-bottom: .6rem; }
.faq summary { cursor: pointer; padding: 1rem 3rem 1rem 1.1rem; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; line-height: 1; color: var(--accent-dark); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 1.1rem 1.1rem; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* Gallery, lightbox, map, quotes */
.gallery { list-style: none; display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 48rem) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery__item { display: block; width: 100%; padding: 0; border: 0; background: var(--grey); cursor: zoom-in; overflow: hidden; }
.gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s; }
.gallery__item:hover img { transform: scale(1.04); }
.lightbox { border: 0; padding: 0; background: var(--graphite); max-width: min(94vw, 1100px); max-height: 92vh; color: #fff; }
.lightbox::backdrop { background: rgb(0 0 0 / .8); }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; object-fit: contain; }
.lightbox__caption { margin: 0; padding: .75rem 1rem; text-align: center; }
.lightbox__close { position: absolute; top: .5rem; right: .5rem; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 0; background: var(--accent); color: #fff; cursor: pointer; }
.map { background: var(--grey); border: 1px solid var(--line); min-height: 20rem; }
.map iframe { display: block; width: 100%; height: 22rem; border: 0; }
.map__facade { display: grid; place-items: center; align-content: center; gap: .5rem; text-align: center; min-height: 20rem; padding: 1.5rem; }
.map__note { font-size: .85rem; color: var(--muted); margin: 0; }
.quote { margin: 0; padding: 1.5rem; background: var(--white); border-left: 5px solid var(--accent); }
.invite { max-width: 44rem; }
.invite p { color: var(--muted); }
.contact-list { list-style: none; display: grid; gap: .9rem; margin: 1.25rem 0 0; }
.contact-list li { display: flex; gap: .75rem; align-items: flex-start; }
.contact-list .icon { color: #ffb48c; margin-top: .2rem; }
.contact-list__label { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.contact-list address { font-style: normal; }
.contact-list a { text-decoration: none; font-weight: 700; }
.section--grey .contact-list .icon, .section--white .contact-list .icon, .panel .contact-list .icon { color: var(--accent-dark); }

/* Blog */
.blog-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.blog-row { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.blog-row time { font-size: .85rem; color: var(--muted); }
.blog-row h2, .blog-row h3 { margin: .15rem 0 .3rem; font-size: 1.15rem; }
.blog-row h2 a, .blog-row h3 a { text-decoration: none; }
.blog-row h2 a:hover, .blog-row h3 a:hover { color: var(--accent-dark); text-decoration: underline; }
.blog-row p { margin: 0; color: var(--muted); }
.article-meta { color: var(--muted); font-size: .95rem; }

/* CTA band */
.cta-band { background: var(--accent); color: var(--graphite); padding: clamp(2.5rem, 6vw, 4rem) 0; }
.cta-band__inner { display: grid; gap: 1.5rem; align-items: center; }
.cta-band h2 { margin-bottom: .4rem; }
.cta-band p { margin: 0; max-width: 40rem; font-size: 1.1rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 62rem) { .cta-band__inner { grid-template-columns: 1fr auto; } }

/* Forms */
.form { display: grid; gap: 1rem; }
.form__grid { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .form__grid { grid-template-columns: repeat(2, 1fr); } }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 700; font-size: .95rem; }
.req { color: var(--accent-dark); }
input, select, textarea { width: 100%; padding: .75rem .85rem; font: inherit; color: var(--ink); background: var(--white); border: 2px solid #9a9a94; border-radius: 2px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field__error { margin: 0; font-size: .9rem; font-weight: 600; color: #b3261e; }
.form__note { margin: 0; font-size: .92rem; color: var(--muted); }
.form__status { font-weight: 700; }
.form__status:empty { display: none; }
.form__status.is-error { color: #b3261e; padding: .75rem 1rem; border-left: 4px solid #b3261e; background: #fbeceb; }
.form__status.is-ok { color: #14532d; padding: .75rem 1rem; border-left: 4px solid #14532d; background: #e8f5ec; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn[disabled] { opacity: .6; cursor: progress; }

/* Footer */
.site-footer { background: var(--graphite); color: #d9dbdf; padding-top: 3.5rem; border-top: 4px solid var(--accent); }
.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }
.footer-brand__name { font-size: 1.3rem; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: .03em; margin-bottom: .4rem; }
.footer-title { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: #ffb48c; margin-bottom: .9rem; }
.footer-links { list-style: none; display: grid; gap: .5rem; }
.footer-links a { text-decoration: none; }
.footer-links--dark a { font-weight: 600; }
.footer-links--dark a:hover { color: var(--accent-dark); text-decoration: underline; }
.subhead { margin-top: 2.5rem; }
@media (min-width: 40rem) { .main-col .steps--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .main-col .steps { grid-template-columns: repeat(3, 1fr); } .main-col .steps--4 { grid-template-columns: repeat(2, 1fr); } }
.footer-links a:hover, .footer-base a:hover { color: #ffb48c; text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 2.5rem; padding: 1.25rem 0 1.5rem; border-top: 1px solid #343a43; font-size: .92rem; }
.footer-base p { margin: 0; }

/* Mobile action bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1.4fr 1fr; gap: 1px; background: #000; box-shadow: 0 -4px 16px rgb(0 0 0 / .25); }
.mobile-bar__btn { border-radius: 0; padding: .9rem .5rem; }
body { padding-bottom: 3.6rem; }
@media (min-width: 62rem) { .mobile-bar { display: none; } body { padding-bottom: 0; } }

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