/* Keep the lifestyle scene and the two approved packshots together in the hero. */
.lifestyle-hero { position: relative; isolation: isolate; }

.lifestyle-stage {
  position: relative;
  min-height: clamp(565px, 44vw, 735px);
  background: var(--bg);
  overflow: hidden;
}

.lifestyle-photo,
.lifestyle-shade { position: absolute; inset: 0; width: 100%; height: 100%; }

.lifestyle-photo {
  object-fit: cover;
  object-position: center bottom;
  filter: brightness(1.08);
}

.lifestyle-shade {
  background:
    linear-gradient(0deg, #050c12 0%, transparent 9%),
    linear-gradient(90deg, #05121bf0, #05121be4 20%, #05121b76 34%, transparent 51%);
  pointer-events: none;
}

.lifestyle-inner {
  position: relative;
  min-height: inherit;
  display: flex;
  align-items: center;
  padding-block: 38px 48px;
}

.lifestyle-copy { width: min(42%, 430px); }

.lifestyle-copy .eyebrow {
  color: #a9ebf5;
  font-size: .75rem;
  margin-bottom: 16px;
  letter-spacing: .12em;
}

.lifestyle-copy h1 {
  font-size: clamp(46px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -.055em;
  text-shadow: 0 2px 22px #03111a44;
}

.lifestyle-copy h1 > span { display: block; }

.lifestyle-intro {
  max-width: 32ch;
  margin-top: 15px;
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.5;
  color: #f0f5f7;
}

.hero-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(9px, 1.6vw, 20px);
  margin-top: 16px;
}

.hero-bottle {
  display: flex;
  gap: clamp(7px, 1vw, 12px);
  align-items: center;
  min-width: 0;
  padding: 7px;
  border: 1px solid #305365;
  border-radius: 6px;
  background: #0b1d2b;
}

.hero-bottle .packshot-window {
  height: clamp(124px, 11.5vw, 158px);
  aspect-ratio: 380 / 1148;
}

.hero-bottle .packshot-window img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-bottle-label { min-width: 0; }
.hero-bottle-label strong { display: block; font-size: 1.125rem; line-height: 1.2; }
.hero-bottle-label small {
  display: block;
  margin-top: 5px;
  color: #c3dce6;
  font-size: .75rem;
  line-height: 1.35;
}
.hero-bottle:hover strong { color: var(--cyan); }

.lifestyle-scroll {
  position: absolute;
  bottom: 32px;
  right: max(32px, calc((100vw - var(--shell)) / 2));
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #f4f7f8;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-shadow: 0 1px 12px #000;
}

.lifestyle-scroll span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #ffffff66;
  border-radius: 50%;
  font-size: 17px;
}

@media (max-width: 820px) {
  .lifestyle-stage { --photo-height: clamp(208px, 60vw, 340px); min-height: 0; }
  .lifestyle-photo, .lifestyle-shade { height: var(--photo-height); }
  .lifestyle-photo { object-position: 61% bottom; }
  .lifestyle-shade { background: linear-gradient(0deg, #050c12 0%, transparent 9%); }
  .lifestyle-inner { padding-block: calc(var(--photo-height) + 10px) 20px; }
  .lifestyle-copy { width: min(100%, 440px); }
  .lifestyle-copy .eyebrow { margin-bottom: 9px; }
  .lifestyle-copy h1 { font-size: clamp(34px, 8.9vw, 52px); }
  .lifestyle-copy h1 > span { display: inline; }
  .lifestyle-intro { max-width: 36ch; margin-top: 8px; }
  .hero-pair { margin-top: 12px; }
  .hero-bottle .packshot-window { height: clamp(122px, 34vw, 142px); }
  .lifestyle-scroll { display: none; }
}

@media (max-width: 600px) {
  :root { --hxc-home-mobile-nav-height: 74px; }
  .lifestyle-hero { border-bottom: 1px solid var(--cyan); }
  .lifestyle-stage {
    --phone-hero-room: calc(100vh - var(--hxc-home-mobile-nav-height) - var(--hxc-review-notice-height, 0px) - 2px);
    --phone-bottle-height: clamp(100px, min(calc(var(--phone-hero-room) * .22), 44vw), 164px);
    /* Leave room for the copy, links, and bottle cards in the opening screen. */
    --phone-copy-room: 240px;
    --photo-height: clamp(126px, min(calc(var(--phone-hero-room) * .40), calc(var(--phone-hero-room) - var(--phone-bottle-height) - var(--phone-copy-room)), 74vw), 312px);
    min-height: var(--phone-hero-room);
  }
  @supports (height: 100dvh) {
    .lifestyle-stage {
      --phone-hero-room: calc(100dvh - var(--hxc-home-mobile-nav-height) - var(--hxc-review-notice-height, 0px) - 2px);
    }
  }
  .lifestyle-inner { align-items: stretch; padding-bottom: 8px; }
  .lifestyle-copy { display: flex; flex-direction: column; }
  .hero-pair { margin-top: auto; padding-top: 12px; }
  .hero-bottle .packshot-window { height: var(--phone-bottle-height); }
  .hero-bottle-label strong { font-size: 1.0625rem; }
}

@media (min-width: 375px) and (max-width: 600px) and (min-height: 780px) {
  .lifestyle-stage { --photo-height: clamp(150px, min(calc(var(--phone-hero-room) * .42), 78vw), 320px); }
  .hero-bottle .packshot-window { height: clamp(160px, min(calc(var(--phone-hero-room) * .255), 48vw), 192px); }
}

@media (max-width: 600px) and (max-height: 660px) {
  .lifestyle-stage { --photo-height: clamp(126px, min(calc(var(--phone-hero-room) * .31), 60vw), 220px); }
  .lifestyle-copy h1 { font-size: clamp(30px, 8.3vw, 40px); }
  .lifestyle-copy .eyebrow { margin-bottom: 6px; }
}
