/* Orchard Park Collision
   Palette pulled from the shop photo: engine-bay black, steel, the amber of
   hood insulation, the red already in the logo. Type is Overpass, drawn from
   FHWA Highway Gothic — the lettering on every sign between here and the shop. */

:root {
  color-scheme: light;

  --black: #121417;
  --black-deep: #0b0d0f;
  --steel: #23272e;
  --steel-2: #2f353d;
  --concrete: #e7e8e4;
  --paper: #f5f6f3;

  --ink: #14161a;
  --grey: #565c63;
  --grey-lt: #a2a8b0;

  --red: #be2026;
  --red-lit: #e0242c;
  --red-deep: #96181d;
  --wax: #d9922f;

  --line: #d0d2cd;
  --line-dark: #363b43;

  --gutter: clamp(20px, 4vw, 48px);
  --container: 1180px;

  --sans: "Overpass", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Overpass Mono", ui-monospace, SFMono-Regular, Menlo, Consolas,
    monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}

body {
  margin: 0;
  background: var(--concrete);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

a:focus-visible,
:focus-visible {
  outline: 3px solid var(--red-lit);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--red);
  color: #fff;
}

.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.sec {
  padding-block: clamp(64px, 8vw, 112px);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 60;
  padding: 12px 20px;
  transform: translateY(-200%);
  background: var(--red);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- shared pieces ---------- */

.arrow-link {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding-block: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
}

.arrow-link > [aria-hidden] {
  transition: transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.arrow-link:hover {
  color: var(--red);
}

.arrow-link:hover > [aria-hidden] {
  transform: translateX(5px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 26px;
  border: 2px solid transparent;
  border-radius: 2px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.btn-primary:hover {
  border-color: var(--red-lit);
  background: var(--red-lit);
}

.btn-ghost {
  border-color: #4b525b;
  background: transparent;
  color: #fff;
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- header ---------- */

.site-header {
  position: relative;
  z-index: 30;
  background: var(--paper);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 96px;
}

.brand {
  flex: 0 0 auto;
  line-height: 0;
}

.brand img {
  width: 228px;
  height: auto;
  mix-blend-mode: multiply;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.95rem;
  font-weight: 700;
}

.main-nav a {
  text-decoration: none;
  transition: color 160ms ease;
}

.main-nav a:not(.nav-call) {
  padding-block: 10px;
  border-bottom: 2px solid transparent;
}

.main-nav a:not(.nav-call):hover {
  border-bottom-color: var(--red);
}

.nav-call {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 2px;
  background: var(--ink);
  color: #fff;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav-call-label {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--grey-lt);
}

.nav-call:hover {
  background: var(--red);
}

.nav-call:hover .nav-call-label {
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: #fff;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

/* Sized to always clear the photo's left edge, which sits at 50vw. */
.hero-copy {
  max-width: min(540px, 42vw);
  padding-block: clamp(56px, 7vw, 100px);
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.6rem, 4.6vw, 3.7rem);
  font-weight: 800;
  letter-spacing: -0.042em;
  line-height: 0.98;
}

.hero h1 em {
  font-style: normal;
  color: var(--red-lit);
}

.hero-lead {
  max-width: 44ch;
  margin-top: 26px;
  color: #c9ced4;
  font-size: 1.13rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-note {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--grey-lt);
}

/* The photo's own background is already near-black, so a gradient in the hero
   colour dissolves the seam instead of cutting a hard edge into the layout. */
.hero-photo {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 1;
  width: 50%;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--black) 0%,
    rgba(18, 20, 23, 0.72) 22%,
    rgba(18, 20, 23, 0.18) 48%,
    rgba(18, 20, 23, 0) 68%
  );
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
}

/* ---------- status bar ---------- */

.statusbar {
  background: var(--black-deep);
  color: #fff;
}

.statusbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 44px;
  padding-block: 26px;
}

.status-block {
  display: grid;
  gap: 2px;
}

.status-label {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: #7d848c;
}

.status-block strong {
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.status-block strong.is-open {
  color: var(--wax);
}

.status-block strong.is-closed {
  color: var(--grey-lt);
}

.status-sub {
  color: var(--grey-lt);
  font-size: 0.9rem;
}

.statusbar .arrow-link {
  color: #fff;
}

/* ---------- services ---------- */

.services {
  background: var(--concrete);
}

.sec-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px 64px;
  margin-bottom: clamp(40px, 5vw, 68px);
}

.sec-intro h2 {
  margin-top: 16px;
  font-size: clamp(1.95rem, 3.4vw, 2.9rem);
  letter-spacing: -0.035em;
}

.sec-intro-copy {
  color: var(--grey);
  font-size: 1.05rem;
}

/* The gap between bays has to beat the gap between columns inside a bay,
   or the unlabelled second mechanical column reads as its own group. */
.bays {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: 88px;
}

.bay-heading {
  padding-bottom: 20px;
  border-bottom: 2px solid var(--red);
  font-size: 1.3rem;
  letter-spacing: -0.025em;
}

.svc {
  display: grid;
  column-gap: 36px;
  margin-top: 8px;
}

.svc-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.svc > div {
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}

.svc dt {
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.svc dd {
  margin-top: 5px;
  color: var(--grey);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------- reviews ---------- */

.reviews {
  background: var(--paper);
}

.reviews-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
  padding-block: 38px;
}

.reviews h2 {
  font-size: 1.4rem;
  letter-spacing: -0.028em;
}

.reviews p {
  margin-top: 7px;
  color: var(--grey);
  font-size: 0.98rem;
}

/* ---------- contact ---------- */

.contact {
  background: var(--black);
  color: #fff;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 48px 80px;
}

.contact h2 {
  max-width: 14ch;
  margin-top: 16px;
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  letter-spacing: -0.04em;
}

.contact-lead {
  max-width: 40ch;
  margin-top: 22px;
  color: #c9ced4;
  font-size: 1.08rem;
}

.contact-phone {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: 28px;
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  text-decoration: none;
  transition: color 180ms ease;
}

.contact-phone:hover {
  color: var(--red-lit);
}

.contact .arrow-link {
  margin-top: 12px;
  color: #fff;
}

.visit {
  display: grid;
  gap: 30px;
  align-content: start;
  padding-top: 8px;
}

.visit-block h3 {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--grey-lt);
}

.visit-block address {
  margin-top: 12px;
  font-size: 1.02rem;
  font-style: normal;
  line-height: 1.55;
}

.visit-block .arrow-link {
  margin-top: 8px;
}

.hours {
  margin-top: 12px;
}

.hours > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 24px;
  padding-block: 7px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.98rem;
}

.hours dd {
  color: var(--grey-lt);
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--black-deep);
  color: var(--grey-lt);
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
  padding-block: 26px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.site-footer a {
  padding-block: 6px;
  transition: color 160ms ease;
}

.site-footer a:hover {
  color: #fff;
}

/* ---------- mobile call bar ---------- */

.callbar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  display: none;
  gap: 2px;
  padding: 8px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  background: rgba(11, 13, 15, 0.96);
  backdrop-filter: blur(8px);
}

.callbar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 2px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.callbar-call {
  flex: 1 1 auto;
  background: var(--red);
  color: #fff;
}

.callbar-text {
  flex: 0 0 96px;
  border: 2px solid #454c55;
  color: #fff;
}

/* ---------- responsive ---------- */

@media (min-width: 901px) {
  .site-header {
    position: sticky;
    top: 0;
    box-shadow: 0 1px 0 rgba(20, 22, 26, 0.09);
  }

  .hero {
    min-height: 580px;
    display: flex;
    align-items: center;
  }

  .hero-inner {
    width: min(var(--container), 100% - var(--gutter) * 2);
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 20px;
  }

  .header-inner {
    min-height: 80px;
    gap: 16px;
  }

  .brand img {
    width: 186px;
  }

  .main-nav {
    gap: 20px;
    font-size: 0.9rem;
  }

  .main-nav a:not(.nav-call) {
    display: none;
  }

  .hero-copy {
    max-width: none;
    padding-block: 52px 44px;
  }

  .hero-photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(280px, 62vw, 430px);
  }

  .hero-photo::after {
    background: linear-gradient(
      to bottom,
      var(--black) 0%,
      rgba(18, 20, 23, 0.5) 22%,
      rgba(18, 20, 23, 0) 58%
    );
  }

  .hero-photo img {
    object-position: 55% 46%;
  }

  .sec-intro {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .bays {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .callbar {
    display: flex;
  }

  body {
    padding-bottom: 76px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .main-nav {
    gap: 12px;
  }

  .brand img {
    width: 158px;
  }

  .nav-call {
    padding: 9px 14px;
    font-size: 1rem;
  }

  .nav-call-label {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 9.2vw, 3.2rem);
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .svc-two {
    grid-template-columns: 1fr;
  }

  .statusbar-inner {
    gap: 18px;
  }

  .status-block,
  .status-directions {
    flex: 1 1 100%;
  }
}

/* ---------- motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition:
      opacity 620ms ease,
      transform 620ms cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .js .reveal.in {
    opacity: 1;
    transform: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
