/* Product-led homepage carousel. The approved portrait scenes keep their native aspect ratio. */
body[data-page="home"] .hero {
  background: #15110d;
  isolation: isolate;
}

body[data-page="home"] .hero-slide {
  background: radial-gradient(circle at 22% 54%, #282019 0, #15110d 44%, #100d0a 100%);
}

body[data-page="home"] .hero-slide > img {
  inset: 0 0 0 auto;
  width: min(50vw, 1086px);
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% var(--hero-focus-y, 50%);
  filter: none;
}

body[data-page="home"] .hero-overlay {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #15110d 0%, #15110d 45%, rgba(21, 17, 13, .84) 50%, rgba(21, 17, 13, .1) 62%, transparent 72%),
    linear-gradient(0deg, rgba(10, 8, 6, .5), transparent 18%);
}

body[data-page="home"] .hero-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: 108px;
  padding-bottom: 145px;
}

body[data-page="home"] .hero-meta {
  max-width: 44%;
  margin: 0;
}

body[data-page="home"] .hero h1,
body[data-page="home"] .hero-slide h2 {
  max-width: min(650px, 44%);
  margin: 24px 0 20px;
  font-size: clamp(48px, 5vw, 88px);
  line-height: 1.08;
}

body[data-page="home"] .hero-copy {
  max-width: min(490px, 42%);
  margin: 0;
  color: #e2d8c9;
}

body[data-page="home"] .hero-actions {
  max-width: 47%;
  flex-wrap: wrap;
  margin-top: 31px;
}

body[data-page="home"] .hero-product-label {
  position: absolute;
  z-index: 2;
  right: max(50px, calc((100vw - 1400px) / 2));
  bottom: 180px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 0 10px 18px;
  border-left: 2px solid var(--gold-light);
  color: #fff;
  text-shadow: 0 1px 12px #000;
  direction: ltr;
}

body[data-page="home"] .hero-product-label span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
}

body[data-page="home"] .hero-product-label strong {
  font-size: 21px;
  line-height: 1;
}

body[data-page="home"] .hero-controls {
  bottom: 111px;
}

body[data-page="home"] .hero-dots button {
  width: 32px;
  height: 4px;
}

body[data-page="home"] .site-header {
  background: linear-gradient(180deg, rgba(8, 7, 6, .79), rgba(8, 7, 6, .24));
}

html[dir="rtl"] body[data-page="home"] .hero-slide > img {
  right: auto;
  left: 0;
}

html[dir="rtl"] body[data-page="home"] .hero-overlay {
  transform: none;
  background: linear-gradient(270deg, #15110d 0%, #15110d 45%, rgba(21, 17, 13, .84) 50%, rgba(21, 17, 13, .1) 62%, transparent 72%);
}

html[dir="rtl"] body[data-page="home"] .hero-product-label {
  right: auto;
  left: max(50px, calc((100vw - 1400px) / 2));
  padding: 10px 18px 10px 0;
  border-left: 0;
  border-right: 2px solid var(--gold-light);
}

@media (max-width: 900px) {
  body[data-page="home"] .hero-content {
    padding-inline: 0;
  }
  body[data-page="home"] .hero h1,
  body[data-page="home"] .hero-slide h2 {
    font-size: clamp(42px, 6vw, 66px);
  }
}

@media (max-width: 600px) {
  body[data-page="home"] .hero {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  body[data-page="home"] .hero-slides {
    position: relative;
    inset: auto;
    display: grid;
  }

  body[data-page="home"] .hero-slide {
    position: relative;
    inset: auto;
    grid-area: 1 / 1;
    min-height: 930px;
  }

  body[data-page="home"] .hero-slide > img,
  html[dir="rtl"] body[data-page="home"] .hero-slide > img {
    inset: 84px 0 auto;
    width: 100%;
    height: 470px;
    object-fit: cover;
    object-position: 50% var(--hero-focus-y, 50%);
  }

  body[data-page="home"] .hero-overlay,
  html[dir="rtl"] body[data-page="home"] .hero-overlay {
    background: linear-gradient(180deg, rgba(12, 9, 6, .2) 0, transparent 32%, #15110d 58%, #15110d 100%);
  }

  body[data-page="home"] .hero-content {
    display: block;
    height: auto;
    width: auto;
    margin-inline: 18px;
    padding-top: 565px;
    padding-bottom: 160px;
  }

  body[data-page="home"] .hero-meta,
  body[data-page="home"] .hero h1,
  body[data-page="home"] .hero-slide h2,
  body[data-page="home"] .hero-copy,
  body[data-page="home"] .hero-actions {
    max-width: 100%;
  }

  body[data-page="home"] .hero h1,
  body[data-page="home"] .hero-slide h2 {
    font-size: clamp(35px, 9vw, 45px);
    line-height: 1.12;
    margin: 12px 0;
  }

  body[data-page="home"] .hero-copy {
    font-size: 14px;
    line-height: 1.65;
  }

  body[data-page="home"] .hero-actions {
    gap: 14px;
    margin-top: 21px;
  }

  body[data-page="home"] .hero-product-label {
    display: none;
  }

  body[data-page="home"] .hero-controls {
    bottom: 77px;
  }

  body[data-page="home"] .hero-dots button {
    width: 42px;
    height: 44px;
  }
}

@media (max-width: 380px) {
  body[data-page="home"] .hero-dots button {
    width: 34px;
  }
  body[data-page="home"] .hero-slide {
    min-height: 960px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .hero-slide {
    transition: none !important;
  }
}
