.flavor-nav a[href='#brand-story'] { --nav-tint: var(--gold); }

.home-hero {
  --home-cream: #e9d6b5;
  --home-body: #d5d4c8;
  background-color: #151a16;
  background-image: radial-gradient(ellipse 68% 90% at 76% 48%, #454138, #272b22 51%, #151a16 87%);
}

.home-hero-inner {
  display: grid;
  grid-template-columns: minmax(20rem, .82fr) minmax(0, 1.28fr);
  align-items: center;
  min-height: max(32rem, calc(100svh - var(--header-height)));
  max-width: 1630px;
  margin-inline: auto;
  padding: clamp(3rem, 8svh, 7rem) max(var(--gutter), var(--carousel-gutter, var(--gutter)));
}

.home-copy { position: relative; z-index: 1; }

.home-message h2 {
  font-size: clamp(2.9rem, 4.5vw, 5.1rem);
  font-weight: 620;
  letter-spacing: -.053em;
  line-height: 1.16;
  overflow-wrap: normal;
}

.home-message h2 span { color: var(--home-cream); }
.home-hero:focus-visible .home-message h2 { text-decoration: underline; text-underline-offset: .18em; }

.home-message p {
  max-width: 26em;
  margin-top: clamp(1.2rem, 2.2vw, 2.15rem);
  color: var(--home-body);
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  line-height: 1.85;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: clamp(1.55rem, 3vw, 2.7rem);
}

.home-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .65rem 1.15rem;
  border: 1px solid var(--home-cream);
  border-radius: 2px;
  font-size: .9375rem;
  font-weight: 670;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}

.home-action-primary { background: var(--home-cream); color: #202319; }
.home-action-primary:hover { background: #f9e8c9; }
.home-action-secondary { background: transparent; color: var(--home-cream); cursor: pointer; }
.home-action-secondary:hover { background: #e9d6b524; }

.home-lineup {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.51;
  width: 105%;
  margin-inline: -2.5%;
  overflow: clip;
}

.home-lineup::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: auto 0 2%;
  height: 24%;
  background: radial-gradient(ellipse closest-side, #070a07bb, #10141066 62%, transparent);
}

.home-product {
  position: absolute;
  left: var(--product-center);
  bottom: var(--product-bottom);
  width: var(--product-width);
  height: auto;
  max-width: none;
  transform: translateX(-50%);
  filter: drop-shadow(0 .6rem 1.1rem #0a0b0773);
}

.home-product-hydra { --product-center: 15%; --product-bottom: 10.6%; --product-width: 32%; }
.home-product-radiance { --product-center: 59.1%; --product-bottom: 10.5%; --product-width: 32%; }
.home-product-age { --product-center: 37.1%; --product-bottom: 8.9%; --product-width: 41%; }
.home-product-barrier { --product-center: 80.6%; --product-bottom: 9%; --product-width: 43%; }

.home-carousel-controls { display: none; }

@media (max-width: 860px) {
  .home-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    max-width: 58rem;
    padding-inline: var(--gutter);
  }

  .home-copy { display: contents; }
  .home-message { max-width: 34rem; }
  .home-message h2 { font-size: clamp(2.6rem, 7vw, 4rem); }
  .home-lineup { width: min(100%, 40rem); margin: .8rem auto 0; }
  .home-actions { order: 1; margin-top: .55rem; }
}

@media (max-width: 760px) {
  .flavor-nav a { padding-inline: .2rem; font-size: .8125rem; }
}

@media (max-width: 690px) {
  .flavor-showcase[data-active-slide='brand-story'] > .carousel-controls { display: none; }
  .home-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    inline-size: min(100%, 36rem);
    margin-inline: auto;
  }
  .home-hero {
    background-image: radial-gradient(ellipse 95% 64% at 54% 60%, #454138, #272b22 51%, #151a16 90%);
  }
  .home-hero-inner { padding-block: clamp(1.7rem, 5svh, 2.75rem) 2rem; }
  .home-message h2 { font-size: clamp(2.1rem, 8.6vw, 3.35rem); }
  .home-message p { line-height: 1.73; }
  .home-lineup { width: min(calc(100% + 1.12rem), 36rem); margin-inline: -.56rem; justify-self: center; }
}

@media (max-width: 360px) {
  .flavor-nav a { padding-inline: .15rem; font-size: .75rem; }
}

@media (max-width: 860px) and (max-height: 750px) {
  .home-hero-inner { padding-block: clamp(1.35rem, 4.5svh, 2rem); }
  .home-message p { margin-top: .9rem; }
  .home-lineup { width: min(100%, 60svh); margin: .35rem auto 0; }
  .home-actions { margin-top: .25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .home-action { transition: none; }
}
