.home-page {
  display: grid;
}

.home-about {
  order: 4;
  padding: 72px 16px 92px;
  border-top: 1px solid var(--color-line);
}

.home-about__inner {
  display: grid;
  gap: 36px;
}

.home-about__heading,
.home-about__content {
  display: grid;
  align-content: start;
}

.home-about__heading {
  gap: 14px;
}

.home-about__eyebrow {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-about h1 {
  max-width: 920px;
  font-size: clamp(36px, 10vw, 58px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.home-about__content {
  gap: 24px;
  max-width: 620px;
}

.home-about__content p {
  color: var(--color-text-soft);
  font-size: 16px;
  line-height: 1.55;
}

.home-about__link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 600;
}

.home-hero {
  position: relative;
  order: 1;
  height: calc(100svh - var(--header-height));
  min-height: 620px;
  overflow: hidden;
  background: #050b0d;
}

.home-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: flex-start;
  justify-content: center;
  padding: 34vh 24px 24px;
}

.home-hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.home-hero__heading {
  color: #ffffff;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-hero__link {
  display: grid;
  min-width: 0;
  min-height: 0;
  place-items: center;
  padding: 14px 24px;
  border-radius: 2px;
  background: #ffffff;
  color: #000000;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.home-hero__link-icon {
  display: none;
}

.home-hero__link-text {
  display: block;
}

.home-categories {
  display: grid;
  order: 2;
  grid-template-columns: 1fr;
  overflow: hidden;
  padding-bottom: 92px;
}

.home-categories__item {
  position: relative;
  display: flex;
  aspect-ratio: 375 / 525;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding: 12px;
}

.home-categories__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms ease;
}

.home-categories__label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: 14px 24px;
  border-radius: 2px;
  background: #ffffff;
  color: #000000;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.1;
}

.home-bestsellers {
  order: 3;
  padding-bottom: 92px;
}

.home-bestsellers h2 {
  margin-bottom: 24px;
  padding-inline: 16px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.home-bestsellers__grid {
  gap: 0;
}

@media (min-width: 481px) {
  .home-hero {
    height: 100vh;
    min-height: 0;
  }

  .home-hero__content {
    align-items: center;
    padding: 24px;
  }

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

  .home-categories__item {
    aspect-ratio: 1 / 1;
    align-items: center;
  }

  .home-categories__item:nth-child(odd) {
    justify-content: flex-start;
  }

  .home-categories__item:nth-child(even) {
    justify-content: flex-end;
  }
}

@media (min-width: 681px) {
  .home-about {
    padding: clamp(88px, 7.5vw, 150px) 1.5vw;
  }

  .home-about__inner {
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    gap: clamp(40px, 7vw, 140px);
    align-items: start;
  }

  .home-about h1 {
    font-size: clamp(44px, 4.25vw, 82px);
  }

  .home-about__content {
    padding-top: 30px;
  }

  .home-about__content p {
    font-size: clamp(16px, 1.25vw, 22px);
  }
}

@media (min-width: 993px) {
  .home-hero {
    min-height: 520px;
  }

  .home-hero__title {
    flex-direction: row;
    gap: 16px;
  }

  .home-hero__heading {
    font-size: clamp(44px, 4.5vw, 86px);
  }

  .home-hero__link {
    min-width: 48px;
    min-height: 48px;
    padding: 0;
    font-size: 26px;
    font-weight: 400;
  }

  .home-hero__link-icon {
    display: block;
  }

  .home-hero__link-text {
    display: none;
  }

  .home-categories {
    padding-bottom: 7.5vw;
  }

  .home-categories__item {
    padding: 1.5vw;
  }

  .home-categories__label {
    padding: 14px;
    font-size: clamp(13px, 1.125vw, 22px);
  }

  .home-bestsellers {
    padding-bottom: 7.5vw;
  }

  .home-bestsellers h2 {
    margin-bottom: 2vw;
    padding-inline: 1.5vw;
    font-size: clamp(28px, 2.625vw, 52px);
  }
}

@media (hover: hover) {
  .home-about__link:hover {
    opacity: .62;
  }

  .home-categories__item:hover img {
    transform: scale(1.1);
  }
}
