@import url('https://fonts.googleapis.com/css2?family=League+Gothic&family=Nunito+Sans:wght@400;700;800;900&display=swap');

:root {
  --yellow: #ffb80f;
  --black: #050007;
  --white: #ffffff;
  --ink: #0c0c0c;
  --background: #ffffff;
  --foreground: #0c0c0c;
  --card: #ffffff;
  --card-foreground: #0c0c0c;
  --popover: #ffffff;
  --popover-foreground: #0c0c0c;
  --primary: #050007;
  --primary-foreground: #ffb80f;
  --secondary: #ffb80f;
  --secondary-foreground: #050007;
  --muted: #f4f4f2;
  --muted-foreground: #5a5a57;
  --accent: #ffb80f;
  --accent-foreground: #050007;
  --destructive: #c62828;
  --border: #deded8;
  --input: #deded8;
  --ring: #ffb80f;
  --radius: 0.5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--foreground);
  font-family: 'Nunito Sans', Arial, sans-serif;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease var(--reveal-delay, 0ms), transform 560ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

.section-shell {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, 1292px);
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 710px;
  overflow: hidden;
  background: var(--yellow);
}

.hero__photo {
  position: absolute;
  inset: 0 0 0 46.5%;
  background: url('../images/hero-bike.webp') center 46% / cover no-repeat;
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%, 19% 56%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, 1292px);
  margin: 0 auto;
  padding: 48px 0 70px;
}

.hero__logo {
  width: 340px;
  height: auto;
  object-fit: contain;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1,
section h2,
.contact__card h3,
.size-card h3 {
  font-family: 'League Gothic', Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 700px;
  margin: -38px 0 12px;
  font-size: clamp(72px, 7vw, 96px);
  line-height: 0.95;
}

.hero__eyebrow {
  width: max-content;
  margin: 14px 0 6px;
  padding: 0;
  color: var(--black);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero p {
  max-width: 590px;
  margin: 0 0 34px;
  font-size: 25px;
  line-height: 1.24;
}

.eyebrow {
  margin-bottom: 34px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.eyebrow--yellow {
  color: var(--yellow);
}

section h2 {
  margin-bottom: 28px;
  font-size: clamp(50px, 5vw, 66px);
  line-height: 1.02;
}

.section-copy {
  font-size: 21px;
  line-height: 1.34;
}

.cta {
  display: inline-flex;
  min-width: 332px;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 24px;
  border-radius: 10px;
  font-family: 'League Gothic', Impact, sans-serif;
  font-size: 34px;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, filter 180ms ease;
}

.cta::after {
  display: block;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  align-self: center;
  border-right: 4px solid currentColor;
  border-bottom: 4px solid currentColor;
  content: '';
  transform: rotate(-45deg);
}

.cta:hover {
  filter: brightness(0.96);
  transform: translateY(-2px);
}

.cta:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
}

.cta--dark {
  background: var(--black);
  color: var(--yellow);
}

.cta--yellow {
  background: var(--yellow);
  color: var(--black);
}

.products {
  position: relative;
  min-height: 920px;
  overflow: hidden;
  padding: 70px 0 52px;
  background: var(--white);
}

.products::before,
.products::after {
  display: none;
}

.products__content > .eyebrow,
.products__content > h2,
.products__copy {
  max-width: 770px;
}

.products__copy {
  margin-bottom: 46px;
}

.products-carousel {
  position: relative;
  margin: -18px -34px -30px;
  padding: 24px 34px 48px;
}

.products-track {
  display: flex;
  gap: 18px;
  padding: 8px 14px 32px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 14px;
}

.products-track::-webkit-scrollbar {
  display: none;
}

.product-slide {
  min-width: 0;
  flex: 0 0 calc(25% - 14px);
  scroll-snap-align: start;
  transition: transform 220ms ease, filter 220ms ease;
}

.product-slide:hover {
  position: relative;
  z-index: 2;
  transform: translateY(-6px);
}

.product-card {
  height: 330px;
  overflow: visible;
  padding: 12px 15px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--white);
  color: var(--black);
  text-align: center;
  box-shadow: 0 8px 22px rgba(5, 0, 7, 0.12);
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.product-slide:hover .product-card {
  box-shadow: 0 8px 22px rgba(5, 0, 7, 0.12);
}

.product-card__tag {
  min-height: 30px;
  margin: 0;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card__tag--dark {
  background: var(--black);
  color: var(--yellow);
}

.product-card__image-wrap {
  width: 232px;
  height: 184px;
  max-width: 100%;
  margin: 12px auto 8px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
}

.product-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-slide:first-child .product-card__image-wrap img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.product-card h3 {
  min-height: 34px;
  margin: 18px 0 0;
  display: grid;
  place-items: start center;
  position: relative;
  z-index: 1;
  width: 100%;
  background: var(--white);
  font-family: 'Nunito Sans', Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.carousel-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 48px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: rgba(5, 0, 7, 0.88);
  box-shadow: 0 8px 22px rgba(5, 0, 7, 0.22);
  cursor: pointer;
  color: var(--yellow);
  font-size: 38px;
  line-height: 1;
  opacity: 0.95;
  transform: translateY(-50%);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.carousel-arrow:hover:not(:disabled) {
  background: var(--yellow);
  color: var(--black);
  transform: translateY(-50%) scale(1.06);
}

.carousel-arrow:disabled {
  cursor: default;
  opacity: 0.38;
}

.carousel-arrow--previous {
  left: 0;
}

.carousel-arrow--next {
  right: 0;
}

.products__cta {
  margin-top: 40px;
  text-align: center;
}

.size-guide {
  padding: 58px 0 46px;
  background: radial-gradient(circle at 50% -20%, #28202b 0, var(--black) 42%);
  color: var(--white);
  text-align: center;
}

.size-guide h2 {
  max-width: 860px;
  margin-inline: auto;
}

.size-guide .section-copy {
  margin-bottom: 48px;
}

.size-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 24px;
  margin: 0 28px 38px;
}

.size-card {
  position: relative;
  min-height: 160px;
  padding: 12px 26px 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: var(--white);
  color: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.size-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 6px;
  background: var(--yellow);
  content: '';
}

.size-card--yellow {
  background: var(--yellow);
  border-color: #ffdc72;
}

.size-card--yellow::before {
  background: var(--black);
}

.size-card:hover {
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.33);
  transform: translateY(-4px);
}

.size-card h3 {
  margin-bottom: 6px;
  color: var(--yellow);
  font-size: 42px;
  line-height: 1;
}

.size-card--yellow h3 {
  color: var(--black);
}

.size-card__range {
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.size-card > p:last-child {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
}

.reviews {
  padding: 72px 0 46px;
  background:
    radial-gradient(circle at 10% 16%, rgba(255, 255, 255, 0.2) 0 2px, transparent 3px) 0 0 / 26px 26px,
    var(--yellow);
  color: var(--black);
  text-align: center;
}

.reviews .eyebrow {
  margin-bottom: 24px;
}

.reviews h2 {
  margin-bottom: 20px;
}

.reviews .section-copy {
  margin-bottom: 42px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
  margin: 0 36px 38px;
  text-align: left;
}

.review-card {
  position: relative;
  min-height: 212px;
  margin: 0;
  padding: 30px 24px 24px;
  overflow: hidden;
  border: 1px solid rgba(5, 0, 7, 0.15);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 12px 22px rgba(87, 56, 0, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.review-card:hover {
  box-shadow: 0 18px 28px rgba(87, 56, 0, 0.28);
  transform: translateY(-5px);
}

.review-card cite {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  font-style: normal;
  font-weight: 800;
}

.stars {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  color: var(--yellow);
  font-size: 20px;
  letter-spacing: 0.04em;
}

.review-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
}

.contact {
  padding: 68px 0 78px;
  background: var(--black);
  color: var(--white);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 436px;
  align-items: center;
  gap: 86px;
}

.contact__intro > img {
  width: 270px;
  height: auto;
  margin-bottom: 28px;
}

.contact__intro h2 {
  max-width: 740px;
  margin-bottom: 30px;
}

.contact__intro > p {
  max-width: 690px;
  margin-bottom: 44px;
  font-size: 21px;
  line-height: 1.35;
}

.contact__card {
  min-height: 452px;
  padding: 24px 30px 36px;
  border: 2px solid #ffdc72;
  border-radius: 18px;
  background: var(--yellow);
  color: var(--black);
  box-shadow: 12px 12px 0 rgba(255, 184, 15, 0.18);
}

.contact__card-kicker {
  width: max-content;
  margin: 0 auto 26px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--black);
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact__card h3 {
  max-width: 330px;
  margin: 0 auto 34px;
  font-size: 40px;
  line-height: 1.02;
  text-align: center;
}

.contact__card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact__card li {
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 10px 14px 10px 48px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.34);
  font-size: 18px;
  font-weight: 800;
}

.contact__card li::before {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--black);
  color: var(--yellow);
  content: '✓';
  font-size: 14px;
  font-weight: 900;
  transform: translateY(-50%);
}

.site-footer {
  border-top: 2px solid var(--yellow);
  background: #08020d;
  color: var(--white);
}

.site-footer__top {
  display: grid;
  justify-items: center;
  align-items: center;
  padding: 32px 0 28px;
  text-align: center;
}

.site-footer__top > img {
  width: 170px;
  height: auto;
  margin-bottom: 12px;
}

.site-footer p {
  margin: 0 0 22px;
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  gap: 12px;
  align-items: center;
}

.site-footer a {
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--yellow);
}

.site-footer__bottom {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 184, 15, 0.26);
  background: #020003;
  text-align: center;
}

.site-footer small {
  font-size: 15px;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .hero__photo {
    left: 50%;
  }

  .hero h1 {
    max-width: 570px;
  }

  .hero p {
    max-width: 500px;
  }

  .product-slide {
    flex-basis: calc(33.333% - 12px);
  }

  .products::before,
  .products::after {
    opacity: 0.2;
  }

  .reviews-grid {
    gap: 18px;
    margin-inline: 0;
  }

  .contact__grid {
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .section-shell,
  .hero__content {
    width: min(100% - 40px, 680px);
  }

  .hero {
    min-height: 820px;
  }

  .hero__photo {
    inset: 48% 0 0;
    clip-path: polygon(0 14%, 100% 0, 100% 100%, 0 100%);
    background-position: center 42%;
  }

  .hero__content {
    padding-top: 30px;
  }

  .hero__logo {
    width: 220px;
  }

  .hero h1 {
    max-width: 620px;
    margin-top: -38px;
    font-size: clamp(58px, 12vw, 78px);
  }

  .hero p {
    max-width: 580px;
    margin-bottom: 30px;
    font-size: 18px;
  }

  section h2,
  .contact__intro h2 {
    font-size: clamp(46px, 8vw, 58px);
  }

  .section-copy {
    font-size: 18px;
  }

  .cta {
    min-width: min(100%, 340px);
    min-height: 58px;
    font-size: 32px;
  }

  .products {
    min-height: auto;
  }

  .products::before,
  .products::after {
    display: none;
  }

  .product-slide {
    flex-basis: calc(50% - 9px);
  }

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

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

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

  .contact__card {
    min-height: auto;
  }


}

@media (max-width: 640px) {
  .hero {
    min-height: 760px;
  }

  .hero__photo {
    top: 56%;
    background-position: 48% 40%;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero p {
    font-size: 16px;
  }

  .products,
  .size-guide,
  .reviews,
  .contact {
    padding-block: 58px;
  }

  .eyebrow {
    margin-bottom: 22px;
    font-size: 15px;
  }

  section h2,
  .contact__intro h2 {
    margin-bottom: 20px;
    font-size: 45px;
  }

  .products__copy {
    margin-bottom: 32px;
  }

  .product-slide {
    flex-basis: calc(86% - 9px);
  }

  .carousel-arrow {
    width: 40px;
    height: 58px;
    font-size: 31px;
  }

  .size-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .size-card {
    min-height: 150px;
  }

  .reviews-grid {
    gap: 16px;
    margin-bottom: 30px;
  }

  .review-card {
    min-height: auto;
  }

  .contact__intro > img {
    width: 220px;
  }

  .contact__intro > p {
    font-size: 17px;
  }

  .contact__card {
    padding: 36px 24px;
  }

  .contact__card h3 {
    margin-bottom: 34px;
    font-size: 38px;
  }

  .contact__card li {
    font-size: 16px;
  }

  .site-footer__top {
    padding: 28px 0 24px;
  }

  .site-footer__top > img {
    width: 140px;
  }

  .site-footer nav,
  .site-footer small {
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .section-shell,
  .hero__content {
    width: calc(100% - 40px);
  }

  .hero h1 {
    font-size: 48px;
  }

  section h2,
  .contact__intro h2 {
    font-size: 40px;
  }

  .product-slide {
    flex-basis: calc(92% - 9px);
  }
}

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

  .cta {
    transition: none;
  }

  .js .reveal,
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
