/* Full-bleed hero: keep the moving storefront visible behind the copy. */
.hero {
  position: relative;
  min-height: 100svh;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr) auto;
  padding: clamp(112px, 15vh, 148px) var(--pad) clamp(26px, 4vh, 42px);
  background: #070707;
}

.hero-visual {
  --hero-media-top-bleed: clamp(112px, 15vh, 148px);
  --hero-media-bottom-bleed: clamp(26px, 4vh, 42px);
  position: absolute !important;
  top: calc(0px - var(--hero-media-top-bleed)) !important;
  left: calc(0px - var(--pad)) !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 0;
  display: block;
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  width: calc(100% + var(--pad) + var(--pad)) !important;
  height: calc(100% + var(--hero-media-top-bleed) + var(--hero-media-bottom-bleed)) !important;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  clip-path: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.hero-visual .main-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  margin: 0;
  overflow: hidden;
  border: 0;
  background: #090909;
  box-shadow: none;
}

.hero-visual .main-photo video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  filter: contrast(1.06) saturate(.92) brightness(.74);
}

.hero-visual .photo-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, .72) 0%, rgba(5, 5, 5, .48) 34%, rgba(5, 5, 5, .16) 72%, rgba(5, 5, 5, .12) 100%),
    linear-gradient(0deg, rgba(5, 5, 5, .60) 0%, rgba(5, 5, 5, .08) 38%, transparent 63%),
    linear-gradient(180deg, rgba(5, 5, 5, .32) 0%, transparent 27%);
}

.hero-visual .main-photo figcaption {
  z-index: 2;
  left: var(--pad);
  right: var(--pad);
  bottom: 18px;
  color: rgba(239, 237, 223, .6);
}

.hero-copy {
  position: relative;
  z-index: 3;
  grid-column: 1 / 9;
  grid-row: 1;
  align-self: center;
  width: min(100%, 820px);
  max-width: 820px;
  padding: 0;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .42);
}

.hero-bottom {
  max-width: 690px;
  margin-top: clamp(22px, 3vh, 34px);
}

.hero-footer {
  position: relative;
  z-index: 3;
  grid-column: 1 / -1;
  grid-row: 2;
  padding-top: 22px;
  margin: 0;
  color: rgba(239, 237, 223, .66);
}

.hero-footer .scroll-cue {
  margin-left: auto;
}

.hero-grain {
  z-index: 2;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1fr) auto;
    padding-top: clamp(104px, 14vh, 132px);
  }

  .hero-copy {
    grid-column: 1 / -1;
    grid-row: 1;
    max-width: 720px;
  }

  .hero-visual {
    --hero-media-top-bleed: clamp(104px, 14vh, 132px);
    --hero-media-bottom-bleed: clamp(26px, 4vh, 42px);
  }

  .hero-footer {
    grid-row: 2;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 100svh;
    padding: 92px 20px 22px;
  }

  .hero-visual {
    --hero-media-top-bleed: 92px;
    --hero-media-bottom-bleed: 22px;
    top: -92px !important;
    left: -20px !important;
    width: calc(100% + 40px) !important;
    height: calc(100% + 114px) !important;
  }

  .hero-copy {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .hero-bottom {
    max-width: 420px;
    margin-top: 19px;
  }

  .hero-copy h1 {
    font-size: clamp(50px, 15.2vw, 70px);
    line-height: .84;
  }

  .hero-visual .main-photo video {
    object-position: center 48%;
    filter: contrast(1.04) saturate(.9) brightness(.68);
  }

  .hero-visual .photo-overlay {
    background:
      linear-gradient(90deg, rgba(5, 5, 5, .68) 0%, rgba(5, 5, 5, .38) 70%, rgba(5, 5, 5, .24) 100%),
      linear-gradient(0deg, rgba(5, 5, 5, .66) 0%, rgba(5, 5, 5, .16) 42%, transparent 68%),
      linear-gradient(180deg, rgba(5, 5, 5, .42) 0%, transparent 28%);
  }

  .hero-visual .main-photo figcaption {
    left: 20px;
    right: 20px;
    bottom: 10px;
    font-size: 6px;
  }

  .hero-footer {
    padding-top: 16px;
    font-size: 7px;
  }
}
