/* Hero is deliberately shorter than a full viewport: the band, the collection
   title and the top of the bottles must all fall above the fold so the page
   invites a scroll. */
.hero {
  position: relative;
  height: 52vh;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* centre the content in the space *below* the fixed header, so a short
     viewport can never push the lockup up underneath it */
  padding-top: var(--header-h-mobile);
}
@media (min-width: 768px) {
  .hero { height: 48vh; min-height: 340px; padding-top: var(--header-h); }
}

.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(34, 20, 15, 0.35) 0%, rgba(34, 20, 15, 0.15) 45%, rgba(34, 20, 15, 0.45) 100%),
    rgba(34, 20, 15, 0.6);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--cream);
  padding-inline: 24px;
  /* lifts the lockup + tagline above the optical centre of the area below
     the header; a fixed value keeps it predictable on short viewports */
  padding-bottom: 32px;
  opacity: 0;
  transform: translateY(16px);
  animation: hero-in 700ms ease-out 120ms forwards;
}
.hero__content .logo-mark { color: var(--cream); }

.hero__tagline {
  margin-top: 32px;
  max-width: 26ch;
  color: var(--cream);
}

@keyframes hero-in {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__content { animation: none; opacity: 1; transform: none; }
}

/* The collection block shrink-wraps to the product grid's width and is centred
   on the page. The grid therefore stays centred exactly as before, while the
   intro text can left-align to the first card's edge instead of the container's. */
.collection {
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
}

/* width:0 + min-width:100% keeps these text rows out of the wrapper's
   max-content calculation (so the grid alone decides its width) while still
   rendering full-width, left-aligned to the first column. */
.collection-intro,
.collection-actions {
  width: 0;
  min-width: 100%;
  text-align: left;
}

.collection-intro {
  margin-bottom: 24px;
}
@media (min-width: 768px) {
  .collection-intro { margin-bottom: 32px; }
}
.collection-intro__lead,
.collection-intro__sub {
  display: block;
}
.collection-intro__lead {
  font-weight: 600;
}
.collection-intro__sub {
  color: var(--ink-soft);
}

.home-statement {
  background: var(--cream);
  text-align: center;
}
.home-statement__body {
  max-width: 60ch;
  margin-inline: auto;
  color: var(--ink-soft);
}
.home-statement__link {
  margin-top: 32px;
}
