/* Homepage visual and copy refresh. Kept separate so product and detail pages stay stable. */
.home-hero {
  height: min(700px, calc(100svh - var(--header-height) - 72px));
  min-height: 380px;
  max-height: 700px;
  color: var(--ink);
  background: #d7d9d6;
}

.home-hero > img {
  min-height: 0;
  max-height: none;
  object-position: center 52%;
}

.home-hero .taste-hero-shade {
  background: linear-gradient(180deg, rgba(7, 24, 16, 0.02) 34%, rgba(7, 24, 16, 0.2) 60%, rgba(7, 24, 16, 0.82) 100%);
}

.home-hero .taste-hero-copy {
  top: auto;
  right: max(48px, calc((100vw - 1280px) / 2));
  bottom: clamp(56px, 7vh, 78px);
  left: max(48px, calc((100vw - 1280px) / 2));
  display: block;
  width: auto;
  transform: none;
}

.home-hero-kicker,
.home-section-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.home-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 72px;
  text-shadow: 0 2px 22px rgba(4, 17, 11, 0.24);
}

.home-hero .home-hero-lead {
  max-width: none;
  margin: 18px 0 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1.45;
  text-shadow: 0 2px 18px rgba(4, 17, 11, 0.3);
}

.home-hero .home-hero-note {
  max-width: 28em;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.75;
}

.home-hero .taste-hero-actions {
  position: static;
  margin-top: 24px;
}

.home-hero .taste-hero-actions a {
  color: #fff;
}

.home-section-kicker {
  text-transform: uppercase;
}

.taste-paths {
  gap: 72px;
  padding-block: 72px 88px;
}

.taste-section-intro h2 {
  max-width: none;
  font-size: 40px;
  text-wrap: balance;
}

.taste-section-intro .home-section-kicker,
.taste-belief .home-section-kicker,
.taste-treehouse .home-section-kicker {
  margin-bottom: 20px;
  color: var(--gold);
}

.taste-path-list a {
  grid-template-columns: minmax(190px, 0.9fr) 1.1fr;
  min-height: 92px;
  padding: 25px 0;
}

.taste-path-list strong {
  font-size: 25px;
  line-height: 1.35;
}

.taste-path-list span {
  font-size: 14px;
  line-height: 1.65;
}

.home-products {
  padding-block: 0 96px;
}

.home-products-head {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.56fr);
  align-items: end;
  gap: 48px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--ink);
}

.home-products-head h2 {
  max-width: 11em;
  margin: 0;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.28;
}

.home-products-head > p {
  max-width: 35em;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-top: 32px;
}

.home-product {
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.home-product:nth-child(2) {
  padding-top: 0;
}

.home-product figure {
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: #dedfd9;
}

.home-product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
  transition: transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.home-product:nth-child(3) img {
  object-position: center;
}

.home-product:hover img,
.home-product:focus-visible img {
  transform: scale(1.018);
}

.home-product > div {
  padding-top: 17px;
}

.home-product p,
.home-product span {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.home-product h3 {
  margin: 7px 0 5px;
  font-family: var(--font-display);
  font-size: 28px;
  text-wrap: balance;
  font-weight: 500;
  line-height: 1.35;
}

.home-products-all {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 32px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: inherit;
  text-decoration: none;
}
.home-product .product-card-spec { display: block; margin-top: 14px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.home-product .product-card-price { display: block; margin-top: 6px; font-size: 17px; line-height: 1.6; font-variant-numeric: tabular-nums; }

.taste-belief {
  align-items: start;
}

.taste-belief h2 {
  max-width: 13em;
}

.taste-treehouse figure {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.taste-treehouse figure img {
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .home-hero {
    height: min(640px, calc(100svh - var(--header-height) - 72px));
    min-height: 380px;
  }

  .home-hero > img {
    height: 100%;
    object-position: 24% center;
  }

  .home-hero .taste-hero-shade {
    background:
      linear-gradient(180deg, rgba(8, 20, 15, 0.02) 24%, rgba(8, 20, 15, 0.18) 50%, rgba(8, 20, 15, 0.86) 100%);
  }

  .home-hero .taste-hero-copy {
    top: auto;
    right: 24px;
    bottom: 34px;
    left: 24px;
    display: block;
    width: auto;
    transform: none;
  }

  .home-hero h1,
  .home-hero .home-hero-lead,
  .home-hero .home-hero-note,
  .home-hero .taste-hero-actions a {
    color: #fff;
  }

  .home-hero .home-hero-lead {
    margin-top: 18px;
    font-size: 21px;
  }

  .home-hero .home-hero-note {
    color: rgba(255, 255, 255, 0.82);
  }

  .home-hero .taste-hero-actions {
    margin-top: 26px;
  }

  .home-products {
    padding-bottom: 116px;
  }

  .home-products-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-products-head h2 {
    font-size: 40px;
  }

  .home-product-grid {
    gap: 24px;
  }

  .home-product h3 {
    font-size: 23px;
  }
}

@media (max-width: 620px) {
  .home-hero {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: calc(100svh - var(--header-height) - 64px);
    aspect-ratio: 4 / 5;
  }

  .home-hero > img {
    min-height: 0;
    max-height: none;
    object-position: center;
  }

  .home-hero .taste-hero-copy {
    right: 20px;
    bottom: 22px;
    left: 20px;
  }

  .home-hero .taste-hero-shade {
    background: linear-gradient(180deg, rgba(7, 24, 16, 0.02) 28%, rgba(7, 24, 16, 0.26) 54%, rgba(7, 24, 16, 0.9) 100%);
  }

  .home-hero-kicker {
    font-size: 11px;
  }

  .home-hero h1 {
    margin-top: 0;
    font-size: 42px;
  }

  .home-hero .home-hero-lead {
    margin-top: 8px;
    font-size: 17px;
  }

  .home-hero .home-hero-note {
    max-width: 25em;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.55;
  }

  .home-hero .taste-hero-actions {
    gap: 24px;
    margin-top: 14px;
  }

  .taste-paths {
    gap: 32px;
    padding-block: 54px 76px;
  }

  .taste-section-intro .home-section-kicker {
    margin-bottom: 14px;
  }

  .taste-section-intro h2 {
    max-width: none;
    font-size: 30px;
  }

  .taste-section-intro p {
    max-width: 23em;
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.7;
  }

  .taste-path-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    border-top: 0;
  }

  .taste-path-list a {
    display: block;
    min-height: 0;
    padding: 17px 0 19px;
    border-top: 1px solid var(--ink);
  }

  .taste-path-list strong,
  .taste-path-list span {
    display: block;
  }

  .taste-path-list strong {
    min-height: 0;
    font-size: 18px;
    line-height: 1.4;
  }

  .taste-path-list span {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.55;
  }

  .home-products {
    width: 100%;
    padding-block: 0 88px;
  }

  .home-products-head {
    width: calc(100vw - 40px);
    margin-inline: auto;
    gap: 16px;
    padding-bottom: 28px;
  }

  .home-products-head h2 {
    max-width: none;
    margin-top: 0;
    font-size: 30px;
  }

  .home-products-head > p {
    max-width: 25em;
    font-size: 14px;
    line-height: 1.7;
  }

  .home-product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 24px 20px 0;
    overflow: visible;
  }

  .home-product,
  .home-product:nth-child(2) {
    grid-column: auto;
    min-width: 0;
    padding-top: 0;
  }

  .home-product figure {
    aspect-ratio: 4 / 3;
  }

  .home-product h3 {
    margin-top: 5px;
    font-size: 26px;
    line-height: 1.35;
  }

  .home-product > div {
    padding-top: 12px;
  }

  .home-product p,
  .home-product span {
    font-size: 14px;
    line-height: 1.55;
  }

  .home-products-all {
    margin: 36px 20px 0;
  }

  .taste-belief h2 {
    font-size: 36px;
  }
}

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