:root {
  --ink: #151515;
  --ink-soft: #4d4a46;
  --red: #c91f2b;
  --red-dark: #97141e;
  --paper: #f5f2ec;
  --white: #fff;
  --line: #d7d0c5;
  --display: "DIN Condensed", "Avenir Next Condensed", "Franklin Gothic Condensed", sans-serif;
  --body: "Avenir Next", "Century Gothic", sans-serif;
  --page: min(1480px, calc(100vw - 64px));
  --section-space: clamp(76px, 9vw, 150px);
  --shadow: 0 24px 70px rgb(34 27 22 / 14%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent 0 49.9%, rgb(21 21 21 / 3%) 50%, transparent 50.1%),
    var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image: radial-gradient(rgb(0 0 0 / 4%) 0.7px, transparent 0.7px);
  background-size: 6px 6px;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

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

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  width: var(--page);
  min-height: 104px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: block;
  width: clamp(180px, 17vw, 245px);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-nav a {
  text-decoration: none;
}

.primary-nav a:not(.nav-cta) {
  padding-block: 12px;
  border-bottom: 2px solid transparent;
}

.primary-nav a:not(.nav-cta):hover,
.primary-nav a:not(.nav-cta):focus-visible {
  border-color: var(--red);
}

.nav-cta {
  padding: 13px 18px;
  color: var(--white);
  background: var(--ink);
}

.menu-toggle {
  display: none;
}

.hero {
  display: grid;
  width: var(--page);
  min-height: min(760px, calc(100vh - 104px));
  margin: 0 auto;
  padding: clamp(58px, 7vw, 110px) 0;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(44px, 8vw, 130px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

h1 {
  max-width: 770px;
  font-size: clamp(5rem, 9vw, 9.7rem);
}

h1 em {
  display: block;
  color: var(--red);
  font-style: normal;
}

h2 {
  font-size: clamp(3rem, 5vw, 5.6rem);
}

.hero-lede {
  max-width: 660px;
  margin: 32px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  min-height: 54px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--ink);
}

.button-primary:hover,
.button-primary:focus-visible {
  border-color: var(--red);
  background: var(--red);
}

.button-secondary {
  background: transparent;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--white);
  background: var(--ink);
}

.hero-note {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.hero-note a,
.text-link {
  color: var(--red-dark);
  font-weight: 800;
  text-underline-offset: 4px;
}

.hero-gallery {
  position: relative;
  min-height: 590px;
}

.hero-image {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: #ddd4c8;
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-main {
  inset: 0 13% 9% 0;
  transform: rotate(-1.7deg);
}

.hero-image-detail {
  right: 0;
  bottom: 0;
  width: 39%;
  aspect-ratio: 0.88;
  border: 10px solid var(--paper);
  transform: rotate(3deg);
}

.hero-stamp {
  position: absolute;
  top: -16px;
  right: 1%;
  display: grid;
  width: 122px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 0.95;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(8deg);
}

.service-strip {
  display: flex;
  min-height: 68px;
  padding: 12px max(32px, calc((100vw - 1480px) / 2));
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--white);
  background: var(--ink);
  font-family: var(--display);
  font-size: clamp(1rem, 1.6vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-strip p {
  margin: 0;
}

.service-strip span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

.section {
  width: var(--page);
  margin: 0 auto;
  padding-block: var(--section-space);
}

.section-heading {
  display: grid;
  margin-bottom: 55px;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: end;
}

.section-heading > p {
  max-width: 570px;
  margin: 0 0 6px auto;
  color: var(--ink-soft);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  position: relative;
  display: grid;
  min-height: 410px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  text-decoration: none;
  isolation: isolate;
}

.category-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgb(15 15 15 / 5%) 20%, rgb(15 15 15 / 88%) 100%);
}

.category-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.65);
  transition: transform 450ms cubic-bezier(0.2, 0.75, 0.25, 1), filter 250ms ease;
}

.category-card:hover img,
.category-card:focus-visible img {
  filter: saturate(1);
  transform: scale(1.035);
}

.category-index {
  position: absolute;
  top: 22px;
  left: 22px;
  padding: 6px 9px;
  color: var(--ink);
  background: var(--white);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 900;
}

.category-copy {
  align-self: end;
  padding: 32px;
}

.category-copy strong {
  display: block;
  max-width: 88%;
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 3.3rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.category-copy small {
  display: block;
  max-width: 420px;
  margin-top: 14px;
  color: rgb(255 255 255 / 78%);
  font-size: 0.85rem;
  line-height: 1.45;
}

.category-arrow {
  position: absolute;
  right: 23px;
  bottom: 23px;
  font-size: 1.6rem;
}

.category-card-featured {
  grid-column: span 2;
}

.category-card-moto::after {
  background: linear-gradient(180deg, rgb(120 0 10 / 8%) 10%, rgb(140 0 15 / 92%) 100%);
}

.anything-panel {
  display: grid;
  min-height: 150px;
  margin-top: 16px;
  padding: 24px 34px;
  border: 1px solid var(--ink);
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
  color: var(--ink);
  background: var(--white);
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.anything-panel:hover,
.anything-panel:focus-visible {
  color: var(--white);
  background: var(--ink);
}

.anything-mark {
  display: grid;
  width: 76px;
  aspect-ratio: 1;
  place-items: center;
  color: var(--white);
  background: var(--red);
  font-family: var(--display);
  font-size: 3.3rem;
  font-weight: 900;
}

.anything-panel small {
  display: block;
  margin-bottom: 4px;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.anything-panel strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.anything-action {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.anything-action b {
  margin-left: 10px;
  font-size: 1.2rem;
}

.process {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(55px, 8vw, 130px);
  align-items: stretch;
}

.process-art {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  background: var(--ink);
}

.process-art-grid {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-rows: 1fr 0.55fr;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: var(--paper);
}

.process-art-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.process-art-grid img:first-child {
  grid-column: 1 / -1;
}

.process-art::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 40%, rgb(0 0 0 / 80%));
}

.process-art p {
  position: absolute;
  right: 36px;
  bottom: 30px;
  left: 36px;
  z-index: 1;
  margin: 0;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.process-content {
  padding-block: 20px;
}

.process-content h2 {
  max-width: 800px;
  margin-bottom: 42px;
}

.process-list {
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.process-list li {
  display: grid;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 55px 1fr;
  gap: 15px;
}

.process-list li > span {
  color: var(--red);
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 900;
}

.process-list strong {
  display: block;
  font-size: 1rem;
}

.process-list p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  gap: 12px;
}

.client-stores {
  display: grid;
  padding-inline: clamp(28px, 6vw, 90px);
  color: var(--white);
  background: var(--red);
  grid-template-columns: 1.25fr 0.75fr;
  gap: 70px;
  align-items: center;
}

.client-stores .eyebrow {
  color: var(--white);
}

.client-copy > p:not(.eyebrow) {
  max-width: 720px;
  color: rgb(255 255 255 / 84%);
}

.client-stores .button-primary {
  border-color: var(--white);
}

.client-stores .button-secondary {
  border-color: var(--white);
  color: var(--white);
}

.client-card {
  padding: clamp(30px, 4vw, 54px);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 14px 14px 0 var(--red-dark);
}

.client-card > p {
  margin: 0 0 22px;
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.client-card ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.client-card li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.moto-bridge {
  display: grid;
  width: var(--page);
  margin: var(--section-space) auto;
  padding: clamp(38px, 6vw, 90px);
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(125deg, rgb(201 31 43 / 42%), transparent 48%),
    var(--ink);
  grid-template-columns: 0.45fr 1fr auto;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.moto-mark {
  color: transparent;
  font-family: var(--display);
  font-size: clamp(5rem, 11vw, 10rem);
  font-weight: 900;
  line-height: 0.75;
  -webkit-text-stroke: 2px var(--red);
  transform: rotate(-5deg);
}

.moto-bridge .eyebrow {
  margin-bottom: 14px;
}

.moto-bridge h2 {
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.moto-bridge p:last-child {
  max-width: 700px;
  color: rgb(255 255 255 / 72%);
}

.button-light {
  border-color: var(--white);
  color: var(--ink);
  background: var(--white);
  white-space: nowrap;
}

.site-footer {
  display: grid;
  width: var(--page);
  min-height: 220px;
  margin: 0 auto;
  padding: 55px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 1fr auto;
  gap: 35px;
  align-items: start;
}

.site-footer img {
  width: 220px;
}

.site-footer p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.site-footer nav {
  display: flex;
  gap: 30px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-legal {
  grid-column: 1 / -1;
  font-size: 0.72rem;
}

.reveal {
  animation: rise-in 700ms both;
  animation-timeline: view();
  animation-range: entry 5% cover 28%;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  :root {
    --page: min(100% - 40px, 940px);
  }

  .site-header {
    min-height: 88px;
  }

  .menu-toggle {
    display: flex;
    padding: 12px 0 12px 16px;
    border: 0;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    background: transparent;
    font: 800 0.76rem/1 var(--body);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .menu-icon,
  .menu-icon::before,
  .menu-icon::after {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    content: "";
    transition: transform 180ms ease;
  }

  .menu-icon {
    position: relative;
  }

  .menu-icon::before {
    position: absolute;
    top: -7px;
  }

  .menu-icon::after {
    position: absolute;
    top: 7px;
  }

  .menu-toggle[aria-expanded="true"] .menu-icon {
    background: transparent;
  }

  .menu-toggle[aria-expanded="true"] .menu-icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-icon::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 22px;
    border-top: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    background: var(--paper);
    box-shadow: 0 25px 40px rgb(0 0 0 / 12%);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 14px !important;
  }

  .hero {
    min-height: auto;
    padding-block: 65px 90px;
    grid-template-columns: 1fr 0.9fr;
    gap: 42px;
  }

  .hero-gallery {
    min-height: 440px;
  }

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

  .category-card-featured {
    grid-column: span 2;
  }

  .moto-bridge {
    grid-template-columns: 0.35fr 1fr;
  }

  .moto-bridge .button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 740px) {
  :root {
    --page: calc(100% - 28px);
    --section-space: 74px;
  }

  body {
    font-size: 16px;
  }

  .site-header {
    min-height: 76px;
  }

  .brand {
    width: 175px;
  }

  .hero {
    display: flex;
    padding-block: 46px 70px;
    flex-direction: column;
    gap: 48px;
  }

  h1 {
    font-size: clamp(4.6rem, 24vw, 6.7rem);
  }

  h2 {
    font-size: clamp(2.8rem, 15vw, 4.4rem);
  }

  .hero-lede {
    margin-top: 24px;
  }

  .hero-actions,
  .client-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-gallery {
    width: 100%;
    min-height: 440px;
  }

  .hero-image-main {
    right: 7%;
    bottom: 11%;
  }

  .hero-image-detail {
    width: 38%;
    border-width: 6px;
  }

  .hero-stamp {
    top: -22px;
    width: 90px;
    font-size: 1rem;
  }

  .service-strip {
    min-height: 54px;
    padding-inline: 18px;
    overflow: hidden;
    justify-content: flex-start;
    gap: 13px;
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .service-strip p:nth-of-type(n + 3),
  .service-strip span:nth-of-type(n + 2) {
    display: none;
  }

  .section-heading,
  .process,
  .client-stores,
  .moto-bridge {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 26px;
  }

  .section-heading > p {
    margin-left: 0;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-card,
  .category-card-featured {
    min-height: 365px;
    grid-column: auto;
  }

  .category-copy {
    padding: 26px;
  }

  .anything-panel {
    padding: 26px;
    grid-template-columns: auto 1fr;
    gap: 18px;
  }

  .anything-mark {
    width: 58px;
    font-size: 2.6rem;
  }

  .anything-action {
    grid-column: 1 / -1;
  }

  .process {
    display: flex;
    flex-direction: column-reverse;
  }

  .process-art {
    min-height: 430px;
  }

  .client-stores {
    width: 100%;
    padding-inline: 28px;
    gap: 44px;
  }

  .client-card {
    box-shadow: 8px 8px 0 var(--red-dark);
  }

  .moto-bridge {
    padding: 38px 28px;
    gap: 28px;
  }

  .moto-mark {
    font-size: 6.4rem;
  }

  .moto-bridge .button {
    grid-column: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    flex-direction: column;
    gap: 12px;
  }

  .footer-legal {
    grid-column: auto;
  }
}

@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;
  }
}
