@font-face {
  font-family: Anton;
  src: url('/hub/assets/anton-regular.ttf') format('truetype');
  font-display: swap;
  font-weight: 400;
}
:root {
  --paper: #f6f3ed;
  --ink: #121212;
  --violet: #5929f4;
  --orange: #ff692b;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
a:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 5px;
}
.skip {
  position: absolute;
  left: 15px;
  top: -100px;
  padding: 14px;
  background: var(--paper);
  z-index: 10;
}
.skip:focus {
  top: 12px;
}
.page {
  max-width: 1560px;
  margin: auto;
  padding: 0 4%;
}
.nav {
  position: relative;
  z-index: 6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 94px;
  gap: 24px;
}
.brand {
  font:
    400 29px/1 Anton,
    Impact,
    sans-serif;
  letter-spacing: -1px;
  text-decoration: none;
}
.nav nav {
  display: flex;
  gap: 70px;
  font-size: 13px;
  font-weight: 600;
}
.nav nav a {
  text-decoration: none;
  padding: 12px 0;
}
.nav nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.hero {
  position: relative;
  height: clamp(510px, 47.5vw, 735px);
  isolation: isolate;
}
.wordmark {
  margin: 0;
  position: relative;
  z-index: 1;
  line-height: 0;
}
.wordmark svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.wordmark text {
  font-family: Anton, Impact, sans-serif;
  font-size: 370px;
  fill: var(--ink);
}
.hero-car {
  position: absolute;
  z-index: 3;
  width: 76%;
  height: auto;
  right: 3%;
  top: 18%;
  pointer-events: none;
}
.welcome {
  position: absolute;
  z-index: 4;
  top: 55%;
  left: 0;
}
.welcome {
  background: var(--paper);
  padding: 12px 15px 12px 0;
}
.welcome h2 {
  font:
    400 clamp(28px, 3.4vw, 52px)/1.12 Anton,
    Impact,
    sans-serif;
  letter-spacing: -0.7px;
  margin: 0;
}
.welcome p {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 600;
  margin-top: 25px;
}
.violet-ribbon {
  position: absolute;
  z-index: 0;
  left: -4.5%;
  top: 38%;
  width: 78%;
  height: 65%;
  background: var(--violet);
  clip-path: polygon(
    0 0,
    15% 4%,
    38% 27%,
    62% 60%,
    100% 74%,
    100% 90%,
    55% 91%,
    23% 73%,
    0 64%,
    0 43%,
    24% 51%,
    39% 58%,
    20% 26%,
    0 18%
  );
}
.orange-ribbon {
  position: absolute;
  z-index: 0;
  right: -4.4%;
  top: 30%;
  width: 29%;
  height: 77%;
  background: var(--orange);
  clip-path: polygon(100% 0, 100% 100%, 0 56%, 35% 45%, 72% 23%);
}
.handwritten {
  position: absolute;
  z-index: 4;
  right: 0;
  top: 39%;
  margin: 0;
  color: var(--violet);
  font:
    italic 400 clamp(22px, 2.8vw, 40px)/0.97 Georgia,
    serif;
  letter-spacing: -1.7px;
  transform: rotate(-10deg);
}
.handwritten span {
  display: block;
  font:
    40px/1 Georgia,
    serif;
  text-align: right;
}
.hero-note {
  position: absolute;
  z-index: 4;
  right: 1%;
  bottom: 14%;
  font-size: 8px;
  letter-spacing: 2px;
  line-height: 1.9;
}
.services {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
  scroll-margin-top: 24px;
}
.service {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: block;
  min-height: 292px;
  text-decoration: none;
  background: var(--paper);
  border-radius: 14px 14px 0 0;
}
.service-copy {
  position: relative;
  z-index: 3;
  padding: 25px 25px 26px;
  min-height: 292px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.number {
  font:
    400 14px/1 Anton,
    sans-serif;
  margin-bottom: 14px;
}
.service h2 {
  font:
    400 clamp(26px, 2.6vw, 39px)/1.15 Anton,
    Impact,
    sans-serif;
  letter-spacing: -0.5px;
  margin: 0 0 15px;
  white-space: nowrap;
}
.service p {
  font-size: 15px;
  line-height: 1.4;
  margin: 0 0 14px;
  max-width: 57%;
}
.action {
  font-size: 17px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.action span {
  font-size: 24px;
  text-decoration: none;
}
.badge {
  background: #e4e0da;
  color: #34332f;
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 10px;
  line-height: 1.2;
}
.service-art {
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  inset: 0;
  pointer-events: none;
}
.detailing .service-copy,
.mechanic .service-copy {
  background: linear-gradient(
    90deg,
    var(--paper) 0%,
    var(--paper) 37%,
    #f6f3edef 46%,
    #f6f3ed00 78%
  );
}
.cloth {
  object-position: center;
}
.wrench {
  object-position: center;
}
.rental-swoop {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: var(--violet);
  clip-path: polygon(100% 56%, 100% 100%, 0 100%, 0 94%, 44% 86%);
}
.mobile-car {
  display: none;
}
.afterword {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 34px 0 18px;
  font-size: 8px;
  letter-spacing: 2px;
}
.afterword p {
  color: #64615b;
  letter-spacing: 0.2px;
  font-size: 9px;
  margin: 0;
}
.rule {
  height: 1px;
  width: 35px;
  background: #6d6962;
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0 35px;
  font-size: 11px;
}
footer a {
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
footer a span {
  white-space: nowrap;
}
@media (min-width: 1560px) {
  .page {
    padding: 0 62px;
  }
}
@media (max-width: 1050px) {
  .nav {
    min-height: 78px;
  }
  .hero {
    height: 51vw;
    min-height: 420px;
  }
  .welcome {
    top: 56%;
  }
  .hero-car {
    width: 78%;
    right: 1%;
    top: 20%;
  }
  .handwritten {
    top: 42%;
  }
  .service-copy {
    padding: 22px 18px;
    min-height: 270px;
  }
  .service {
    min-height: 270px;
  }
  .service h2 {
    font-size: 28px;
  }
  .service p {
    font-size: 13px;
  }
  .action {
    font-size: 15px;
  }
  .hero-note {
    display: none;
  }
}
@media (max-width: 760px) {
  .page {
    padding: 0 5%;
  }
  .nav {
    min-height: 78px;
  }
  .brand {
    font-size: 25px;
  }
  .nav nav {
    gap: 25px;
    font-size: 11px;
  }
  .hero {
    height: auto;
    min-height: 0;
    padding-bottom: 27px;
  }
  .wordmark svg {
    width: 100%;
  }
  .welcome {
    position: relative;
    top: auto;
    left: auto;
    margin-top: 20px;
  }
  .welcome h2 {
    font-size: clamp(30px, 7.5vw, 45px);
    line-height: 1.09;
  }
  .welcome p {
    font-size: 8px;
    margin: 15px 0 0;
    letter-spacing: 1.5px;
  }
  .hero-car,
  .violet-ribbon,
  .orange-ribbon {
    display: none;
  }
  .handwritten {
    top: auto;
    bottom: 35px;
    right: 3%;
    font-size: clamp(24px, 5.4vw, 36px);
  }
  .handwritten span {
    font-size: 29px;
  }
  .services {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .service,
  .service-copy {
    min-height: 225px;
  }
  .service {
    border-radius: 12px;
  }
  .service-copy {
    padding: 22px 20px;
  }
  .number {
    font-size: 13px;
    margin-bottom: 12px;
  }
  .service h2 {
    font-size: 32px;
    margin-bottom: 12px;
  }
  .service p {
    font-size: 13px;
    max-width: 52%;
  }
  .action {
    font-size: 15px;
    padding-top: 9px;
  }
  .badge {
    font-size: 9px;
  }
  .service-art {
    width: 75%;
    left: auto;
    right: 0;
  }
  .detailing .service-copy,
  .mechanic .service-copy {
    background: linear-gradient(
      90deg,
      var(--paper) 0%,
      var(--paper) 38%,
      #f6f3edef 47%,
      #f6f3ed00 83%
    );
  }
  .rental-swoop {
    clip-path: polygon(65% 0, 100% 0, 100% 100%, 54% 100%);
  }
  .mobile-car {
    display: block;
    position: absolute;
    right: -30%;
    width: 95%;
    height: auto;
    top: 25px;
    z-index: 1;
    pointer-events: none;
  }
  .rentals .service-copy {
    background: linear-gradient(90deg, var(--paper) 0%, var(--paper) 37%, #f6f3ed00 60%);
  }
  .afterword {
    flex-wrap: wrap;
    gap: 10px;
    margin: 26px 0 5px;
    font-size: 7px;
    letter-spacing: 1.4px;
  }
  .afterword p {
    width: 100%;
    text-align: center;
    font-size: 8px;
  }
  footer {
    font-size: 10px;
    flex-direction: column;
    gap: 12px;
    padding: 25px 0 30px;
  }
}
@media (max-width: 360px) {
  .nav nav {
    gap: 17px;
  }
  .service h2 {
    font-size: 28px;
  }
  .service-copy {
    padding: 20px 16px;
  }
  .handwritten {
    right: 0;
    font-size: 23px;
  }
  .welcome h2 {
    font-size: 29px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .service-art,
  .mobile-car {
    transition: transform 0.3s ease;
  }
  .service:hover .service-art,
  .service:focus-visible .service-art {
    transform: scale(1.035);
  }
  .service:hover .mobile-car {
    transform: translateX(-5px);
  }
  .service:active {
    transform: scale(0.995);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.badge:empty {
  display: none;
}
@media (max-width: 400px) {
  .nav {
    gap: 14px;
  }
  .nav nav {
    gap: 12px;
    font-size: 10px;
  }
}
