@font-face {
  font-family: "Roboto Condensed Local";
  src: url("../fonts/roboto-condensed.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --orange: #ff3512;
  --ink: #07090b;
  --panel: #202020;
  --panel-alt: #252525;
  --navy: #071827;
  --white: #fff;
  --muted: #d5d5d5;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: "Roboto Condensed Local", "Arial Narrow", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  overflow-x: hidden;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  padding: .65rem 1rem;
  transform: translateY(-160%);
  background: var(--orange);
  color: #fff;
  text-decoration: none;
}

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

.shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 800px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #101010;
}

.hero-slides,
.hero-slide,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slides { z-index: -3; }

.hero-slide {
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.2s ease;
}

.hero-slide.is-active { opacity: 1; }

.hero-shade {
  z-index: -2;
  background: linear-gradient(90deg, rgba(0,0,0,.56), rgba(0,0,0,.35) 45%, rgba(0,0,0,.47));
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr);
  gap: 4.5rem;
  align-items: center;
  padding: 76px 0;
}

.hero-copy { max-width: 560px; }

.hero-logo {
  width: 170px;
  height: auto;
  margin-bottom: 1.4rem;
}

.hero h1 {
  margin: 0 0 1.8rem;
  font-size: clamp(3.25rem, 5.5vw, 5.1rem);
  line-height: .98;
  letter-spacing: -.03em;
  text-shadow: 0 2px 18px rgba(0,0,0,.4);
}

.hero-copy p {
  max-width: 540px;
  margin: 0;
  font-size: 1.14rem;
  line-height: 1.35;
}

.form-card,
.contact-card {
  background: rgba(12,12,12,.82);
  box-shadow: 0 18px 45px rgba(0,0,0,.23);
}

.form-card { padding: 2rem 2.2rem 2.25rem; }

.form-card h2 {
  margin: 0 0 .65rem;
  font-size: 1.22rem;
}

.form-card > p {
  margin: 0 0 1.1rem;
  color: #dedede;
  font-size: .92rem;
}

form { display: grid; gap: .8rem; }

form label {
  display: grid;
  gap: .28rem;
  font-size: .78rem;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 38px;
  padding: .35rem .2rem;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.67);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  color-scheme: dark;
}

input:focus { border-color: var(--orange); }

button {
  min-height: 42px;
  margin-top: .45rem;
  border: 1px solid var(--orange);
  background: transparent;
  color: var(--orange);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

button:hover,
button:focus-visible {
  background: var(--orange);
  color: #fff;
}

.honeypot,
.form-success { display: none; }

.form-success.is-visible {
  display: block;
  margin: .35rem 0 0;
  color: #fff;
  font-size: .9rem;
  text-align: center;
}

.about {
  background: linear-gradient(90deg, #272727, #171717);
}

.about-layout {
  display: grid;
  grid-template-columns: 1.35fr .8fr;
  gap: 5rem;
  align-items: center;
  min-height: 258px;
  padding: 38px 0;
}

.about-copy { text-align: center; }

.about h2 {
  margin: 0 0 1.5rem;
  font-size: 1.35rem;
}

.about p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1rem;
}

.about-logo {
  width: 315px;
  height: auto;
  justify-self: center;
}

.section-banner {
  position: relative;
  min-height: 230px;
  display: grid;
  place-items: center;
  isolation: isolate;
  text-align: center;
  background-position: center;
  background-size: cover;
}

.section-banner::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(32,32,32,.68);
}

.services-banner { background-image: url("../images/services-banner.jpg"); }
.gallery-banner { background-image: url("../images/gallery-motorcycle-right.jpg"); }

.section-banner h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
}

.chevron {
  width: 14px;
  height: 14px;
  display: block;
  margin: 1.4rem auto 0;
  border-right: 4px solid var(--orange);
  border-bottom: 4px solid var(--orange);
  transform: rotate(45deg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--panel);
}

.service-image {
  min-height: 290px;
  background-position: center;
  background-size: cover;
}

.dirt-bike { background-image: linear-gradient(rgba(0,0,0,.16),rgba(0,0,0,.16)), url("../images/service-dirt-bikes.jpg"); }
.side-by-side { background-image: linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2)), url("../images/service-side-by-sides.jpg"); }
.motorcycle { background-image: linear-gradient(rgba(0,0,0,.18),rgba(0,0,0,.18)), url("../images/hero-motorcycle-sunset.jpg"); }
.four-wheeler { background-image: linear-gradient(rgba(0,0,0,.08),rgba(0,0,0,.08)), url("../images/service-four-wheeler.jpg"); }

.service-copy {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.6rem;
  background: var(--panel-alt);
  text-align: center;
}

.service-copy h3 {
  margin: 0;
  font-size: 1.35rem;
}

.rule {
  width: 50px;
  height: 1px;
  margin: 1rem 0 1.2rem;
  background: rgba(255,255,255,.85);
}

.service-copy p {
  margin: 0;
  color: #ececec;
  font-size: .98rem;
  line-height: 1.55;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1.33fr;
  grid-template-rows: 310px 310px;
  background: #111;
}

.gallery figure {
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
}

.gallery figure:nth-child(1) { grid-column: 1; grid-row: 1; }
.gallery figure:nth-child(2) { grid-column: 2; grid-row: 1; }
.gallery figure:nth-child(3) { grid-column: 1; grid-row: 2; }
.gallery figure:nth-child(4) { grid-column: 2; grid-row: 2; }
.gallery-feature { grid-column: 3; grid-row: 1 / span 2; }

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.gallery figure:hover img { transform: scale(1.035); }

.contact {
  position: relative;
  isolation: isolate;
  min-height: 590px;
  display: grid;
  place-items: center;
  padding: 62px 24px;
  background: url("../images/hero-motorcycle-overhead.jpg") center 48% / cover no-repeat;
}

.contact-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(0,0,0,.5);
}

.contact-card {
  width: min(820px, 100%);
  padding: 2.1rem 2.5rem 2.35rem;
}

.contact h2 { text-align: center; }

.contact-intro {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 2rem;
  align-items: center;
  margin: 1.6rem 0 1.2rem;
  font-size: .86rem;
}

.contact-intro p { margin: 0; color: #d5d5d5; }
.contact form { gap: .65rem; }
.contact button { width: 220px; justify-self: center; }

.map { height: 290px; background: #15191c; }

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(.9) contrast(.9);
}

.site-footer {
  padding: 20px 0;
  background: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr .75fr 1.45fr;
  gap: 2.5rem;
  align-items: start;
}

.footer-grid a,
.footer-grid .hours {
  display: grid;
  justify-items: center;
  gap: .5rem;
  color: #fff;
  font-size: .76rem;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.footer-grid a:hover strong { text-decoration: underline; }

.footer-icon {
  color: var(--orange);
  font-size: 1.18rem;
  line-height: 1;
}

@media (max-width: 980px) {
  .hero { min-height: auto; }
  .hero-layout { grid-template-columns: 1fr 390px; gap: 2.5rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-image, .service-copy { min-height: 320px; }
  .services-grid > :nth-child(5) { grid-column: 1; grid-row: 3; }
  .services-grid > :nth-child(6) { grid-column: 2; grid-row: 3; }
  .services-grid > :nth-child(7) { grid-column: 2; grid-row: 4; }
  .services-grid > :nth-child(8) { grid-column: 1; grid-row: 4; }
  .gallery { grid-template-rows: 250px 250px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 32px, 620px); }
  .hero-layout { grid-template-columns: 1fr; padding: 55px 0; }
  .hero-copy { text-align: center; justify-self: center; }
  .hero-logo { margin: 0 auto 1.2rem; }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 4.4rem); }
  .hero-copy p { font-size: 1rem; }
  .form-card { width: min(100%, 470px); justify-self: center; }
  .about-layout { grid-template-columns: 1fr; gap: 1.5rem; padding: 46px 0; }
  .about-logo { width: 245px; }
  .section-banner { min-height: 190px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-image, .service-copy { min-height: 310px; }
  .services-grid > * { grid-column: 1 !important; grid-row: auto !important; }
  .services-grid > :nth-child(1) { order: 1; }
  .services-grid > :nth-child(2) { order: 2; }
  .services-grid > :nth-child(3) { order: 3; }
  .services-grid > :nth-child(4) { order: 4; }
  .services-grid > :nth-child(6) { order: 5; }
  .services-grid > :nth-child(5) { order: 6; }
  .services-grid > :nth-child(8) { order: 7; }
  .services-grid > :nth-child(7) { order: 8; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px 390px; }
  .gallery-feature { grid-column: 1 / span 2; grid-row: 3; }
  .contact { min-height: 560px; }
  .contact-card { padding: 1.75rem 1.4rem 2rem; }
  .contact-intro { grid-template-columns: 1fr; gap: .45rem; text-align: center; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: 2.85rem; }
  .form-card { padding: 1.5rem 1.25rem 1.75rem; }
  .service-copy { min-height: 300px; padding: 2rem 1.35rem; }
  .gallery { grid-template-rows: 165px 165px 310px; }
  .map { height: 250px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide, .gallery img { transition: none; }
}
