:root {
  color-scheme: light;
  --ink: #101014;
  --paper: #f8f6f1;
  --white: #fffdfa;
  --red: #b50710;
  --red-hover: #92040c;
  --blue: #113fbc;
  --blue-light: #a5bbff;
  --muted: #45454d;
  --muted-light: #d5d5de;
  --rule: #d7d3cd;
  --stripe: linear-gradient(115deg, #cd0916 0 49.45%, var(--white) 49.45% 50.55%, #1649d2 50.55% 100%);
  --display: "Barlow Condensed", "DejaVu Sans Condensed", "Arial Narrow", sans-serif;
  --body: "DM Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 var(--body); }
p, h1, h2, h3 { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.site-header a:focus-visible, .hero a:focus-visible, .site-footer a:focus-visible { outline-color: var(--blue-light); }
section[id] { scroll-margin-top: 1.5rem; }
.wrap { width: min(100% - 6rem, 78rem); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link { position: absolute; z-index: 3; inset: .5rem auto auto .5rem; padding: .5rem 1rem; background: var(--white); color: var(--ink); }

.site-header { background: var(--ink); color: var(--white); border-bottom: 1px solid #3a3a42; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; white-space: nowrap; }
.brand::before {
  width: .38rem;
  height: 1.3rem;
  margin-left: .25rem;
  background: #f0353e;
  box-shadow: .52rem 0 0 #557dff;
  transform: skewX(-22deg);
  content: "";
}
.brand-wordmark { padding-left: .45rem; font: italic 800 2.25rem/.95 var(--display); letter-spacing: -.015em; }
.brand-wordmark span { color: var(--blue-light); margin-left: .1em; }
nav { display: flex; align-items: center; gap: clamp(1.15rem, 3vw, 2.6rem); }
nav a, .header-call { text-decoration: none; font-size: .875rem; font-weight: 800; }
nav a { color: var(--muted-light); }
nav a:hover { color: var(--white); text-decoration: underline; text-underline-offset: .35em; }
.header-call {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  padding: .55rem .85rem;
  border: 1px solid #64646d;
  color: var(--white);
  white-space: nowrap;
}
.header-call:hover { background: var(--blue); border-color: var(--blue); }
.arrow { display: inline-block; position: relative; width: .7em; height: .7em; margin-left: .15em; border-top: 2px solid; border-right: 2px solid; }
.arrow::after { position: absolute; top: -.05em; right: -.05em; width: .85em; border-top: 2px solid; transform: rotate(-45deg); transform-origin: right center; content: ""; }

.hero {
  position: relative;
  isolation: isolate;
  color: var(--white);
  background: var(--ink);
}
.hero::after, .contact::before { display: block; height: 7px; background: var(--stripe); content: ""; }
.hero-art { position: absolute; z-index: -1; inset: 0 0 7px auto; width: 64%; }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 53% center; }
.hero-art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ink), #101014f0 4%, #10101400 23%);
  content: "";
}
.hero-inner { display: flex; align-items: center; min-height: clamp(510px, 45vw, 740px); padding-block: 3.5rem; }
.hero-copy { width: 40%; max-width: 29rem; }
.eyebrow { font-size: .75rem; font-weight: 800; letter-spacing: .14em; line-height: 1.45; text-transform: uppercase; }
.hero-location { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; color: var(--muted-light); margin-bottom: 1.25rem; }
.hero-location span { width: .85rem; height: 3px; background: #f0353e; transform: skewX(-24deg); }
h1, h2, h3 { font-family: var(--display); }
h1 {
  font-size: clamp(4.2rem, 7.3vw, 7rem);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: .83;
  text-transform: uppercase;
}
h1 em { color: var(--blue-light); font-style: inherit; }
h1 > span { display: block; margin-top: .55em; font-size: .4em; line-height: 1; letter-spacing: .005em; }
.hero-summary { max-width: 25rem; margin-top: 1.15rem; color: var(--muted-light); font-size: 1rem; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: 49px; padding: .6rem 1rem; border: 1px solid transparent; font-weight: 800; font-size: .9rem; text-decoration: none; }
.button-primary { color: var(--white); background: var(--red); }
.button-primary:hover { background: var(--red-hover); }
.button-outline { color: var(--ink); border-color: var(--ink); }
.button-outline:hover { color: var(--white); background: var(--ink); }
.hero .button-outline { color: var(--white); border-color: #82828c; background: var(--ink); }
.hero .button-outline:hover { background: var(--blue); border-color: var(--blue); }

.services { padding-block: clamp(3rem, 5.5vw, 5rem); }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 1.25rem 3rem; margin-bottom: 1.6rem; }
.section-label { color: var(--red); margin-bottom: .65rem; }
h2 { font-size: clamp(2.9rem, 5.7vw, 5.3rem); font-weight: 800; font-style: italic; line-height: .93; letter-spacing: -.02em; text-transform: uppercase; }
.section-intro > p { color: var(--muted); max-width: 25rem; padding-bottom: .1rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; padding: 1px; margin: 0; list-style: none; background: var(--rule); }
.service-grid li { display: flex; flex-direction: column; padding: 1.4rem 1.5rem 1.15rem; background: var(--white); }
.service-grid h3 { font-size: clamp(1.55rem, 2.5vw, 2.15rem); font-weight: 800; line-height: 1; }
.service-grid h3::before {
  display: block;
  width: 1.2rem;
  height: .3rem;
  margin: 0 0 .8rem .1rem;
  background: var(--red);
  box-shadow: 1.38rem 0 var(--blue);
  transform: skewX(-26deg);
  content: "";
}
.service-grid p { margin-top: .55rem; color: var(--muted); font-size: .94rem; }
.service-link { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; margin-top: auto; padding-top: .35rem; color: var(--blue); font-size: .9rem; font-weight: 800; text-underline-offset: .2em; }
.service-link:hover { color: var(--red); }

.shop { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--white); }
.shop::before {
  position: absolute;
  z-index: -1;
  inset: -2rem;
  background: linear-gradient(90deg, #101014e8, #101014b8 42%, #10101440), url("assets/garage-s10-workshop.webp") center / cover;
  filter: blur(24px);
  content: "";
}
.shop > .wrap { width: min(100% - 3rem, 90rem); }
.shop-inner { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: center; gap: clamp(1.25rem, 3vw, 3rem); padding-block: clamp(2rem, 3.5vw, 3.5rem); }
.shop .section-label { color: var(--blue-light); }
.shop-copy h2 { font-size: clamp(2.9rem, 4.8vw, 4.6rem); }
.shop-copy p:not(.eyebrow) { max-width: 33rem; margin-top: 1.05rem; color: var(--muted-light); }
.shop-photo {
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 97%, transparent), linear-gradient(180deg, transparent, #000 6%, #000 94%, transparent);
  mask-composite: intersect;
}
.shop-photo img { display: block; width: 100%; height: auto; }

.contact { background: var(--paper); color: var(--ink); }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3rem, 5.6vw, 5.4rem); }
.contact h2 { max-width: 40rem; font-size: clamp(2.75rem, 5.2vw, 4.7rem); }
.contact-inner > div > p { max-width: 34rem; margin-top: 1.05rem; color: var(--muted); }
.shop-details { padding: 1.45rem 1.65rem; border: 1px solid var(--rule); border-top: 4px solid var(--blue); background: var(--white); align-self: center; overflow-wrap: anywhere; }
.shop-details > div + div { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.shop-details h3 { font-size: 1.55rem; font-weight: 800; line-height: 1.1; margin-bottom: .25rem; }
.shop-details p { color: var(--muted); margin-bottom: .35rem; }
.shop-details a { color: var(--blue); text-underline-offset: .2em; font-weight: 800; }
.shop-details a:hover { color: var(--red); }

.site-footer { background: var(--ink); color: var(--muted-light); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 65px; font-size: .82rem; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; }

@media (max-width: 65rem) {
  .wrap { width: calc(100% - 4rem); }
  .hero-copy { width: 45%; }
}

@media (max-width: 54rem) {
  .hero-art { position: relative; z-index: auto; inset: auto; display: block; width: 100%; }
  .hero-art img { height: auto; max-height: 31rem; }
  .hero-art::after { background: linear-gradient(0deg, var(--ink), #10101400 13%); }
  .hero-inner { min-height: 0; padding-block: 1.9rem 2.6rem; }
  .hero-copy { width: 100%; max-width: 34rem; }
  h1 { font-size: clamp(3.7rem, 10vw, 5.5rem); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-inner { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
}

@media (max-width: 43rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { min-height: auto; flex-wrap: wrap; column-gap: .65rem; row-gap: 0; padding-top: .55rem; }
  .brand { gap: .45rem; }
  .brand-wordmark { font-size: clamp(1.75rem, 6.4vw, 2.15rem); }
  .header-call { order: 1; }
  nav { order: 2; flex-basis: 100%; gap: 1.6rem; margin-top: .15rem; }
  nav a { display: flex; align-items: center; min-height: 44px; }
  .hero-location { margin-bottom: .9rem; font-size: .7rem; }
  .hero-actions, .contact-actions { margin-top: 1.2rem; }
  .section-intro { display: block; margin-bottom: 1.2rem; }
  .section-intro > p { margin-top: .65rem; }
  .service-grid li { padding: 1.1rem; }
  .shop-inner, .contact-inner { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .shop > .wrap { width: 100%; }
  .shop-copy { padding-inline: 1rem; }
  .shop-details { padding: 1.15rem; }
}

@media (max-width: 26rem) {
  .header-number { display: none; }
  .service-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
