.page-hot-beverages .site-header {
  background: var(--cream);
  box-shadow: 0 1px 0 rgba(32, 54, 91, 0.08);
}
.page-hot-beverages .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hb-hero {
  display: grid;
  grid-template-columns: minmax(0, 56fr) minmax(0, 44fr);
  min-height: 100vh;
  min-height: 100svh;
}

.hb-hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream);
  padding:
    calc(var(--header-h) + clamp(24px, 4vh, 52px))
    clamp(28px, 4.6vw, 82px)
    clamp(28px, 4vh, 52px);
}
.hb-hero-copy-inner { width: 100%; max-width: 52rem; }

.hb-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(32, 54, 91, 0.62);
  margin-bottom: clamp(10px, 1.6vh, 18px);
}

.hb-title {
  font-size: clamp(2.5rem, 4.2vw, 4.15rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--navy);
  margin-bottom: clamp(20px, 3vh, 36px);
}
.hb-title-line { display: block; }

.hb-lede {
  max-width: 50ch;
  font-size: clamp(0.94rem, 1.05vw, 1.08rem);
  line-height: 1.65;
  color: var(--grey);
}

.hb-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 44px);
  row-gap: clamp(16px, 2.2vh, 26px);
  margin-top: clamp(22px, 3.4vh, 38px);
}
.hb-feature {
  border-top: 1px solid rgba(32, 54, 91, 0.16);
  padding-top: clamp(10px, 1.4vh, 14px);
}
.hb-feature h2 {
  font-size: clamp(0.84rem, 0.92vw, 0.94rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 6px;
}
.hb-feature p {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--grey-soft);
}

.hb-spec {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin-top: clamp(24px, 3.6vh, 42px);
  margin-bottom: clamp(18px, 2.6vh, 30px);
}
.hb-spec th,
.hb-spec td {
  text-align: left;
  padding: clamp(10px, 1.4vh, 15px) 0;
  border-bottom: 1px solid rgba(32, 54, 91, 0.16);
}
.hb-spec th:first-child,
.hb-spec td:first-child { width: 38%; }
.hb-spec thead th {
  border-top: 1.5px solid var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}
.hb-spec tbody th {
  font-size: clamp(0.84rem, 0.92vw, 0.94rem);
  font-weight: 400;
  color: var(--grey);
}
.hb-spec tbody td {
  font-size: clamp(0.84rem, 0.92vw, 0.94rem);
  font-weight: 700;
  color: var(--navy);
}

.hb-serves {
  font-size: clamp(0.8rem, 0.9vw, 0.92rem);
  line-height: 1.5;
  color: var(--grey);
}
.hb-serves strong {
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-right: 8px;
}

.hb-hero-media {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 12px) clamp(16px, 3vw, 48px) 28px;
}
.hb-media-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 700px;
  aspect-ratio: 1 / 1;
  max-height: 800px;
  border-radius: 3px;
  background: var(--white);
}
.hb-media-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.hb-warm {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  background-image: url("../images/hot-chocolate-bg.jpg");
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}
.hb-warm::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(38, 26, 18, 0.98) 0%,
    rgba(38, 26, 18, 0.95) 36%,
    rgba(38, 26, 18, 0.6) 52%,
    rgba(38, 26, 18, 0) 70%
  );
}
.hb-warm-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 46rem;
  padding:
    calc(var(--header-h) + clamp(24px, 4vh, 52px))
    clamp(28px, 4.6vw, 82px)
    clamp(28px, 4vh, 52px);
}
.hb-eyebrow--light { color: rgba(255, 255, 255, 0.78); }
.hb-warm-title {
  font-size: clamp(2.6rem, 4.4vw, 4.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--white);
  margin-bottom: clamp(18px, 2.4vh, 28px);
}
.hb-warm-title-line { display: block; }
.hb-warm-lede {
  max-width: 46ch;
  font-size: clamp(0.98rem, 1.05vw, 1.12rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.84);
}

@media (min-width: 981px) {
  .hb-warm-inner { transform: translateY(clamp(-56px, -5vh, -24px)); }
}

html.js .hb-hero .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
html.js .hb-hero .reveal.is-visible { opacity: 1; transform: none; }
html.js .hb-hero-media.reveal-media img {
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.9s ease, transform 1.3s var(--ease-out);
}
html.js .hb-hero-media.reveal-media.is-visible img { opacity: 1; transform: scale(1); }
html.js .hb-hero .hb-lede.reveal { transition-delay: 0.04s; }
html.js .hb-hero .hb-features.reveal { transition-delay: 0.08s; }
html.js .hb-hero .hb-spec.reveal { transition-delay: 0.12s; }
html.js .hb-hero .hb-serves.reveal { transition-delay: 0.16s; }

html.js .hb-warm .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
html.js .hb-warm .reveal.is-visible { opacity: 1; transform: none; }
html.js .hb-warm .hb-warm-title.reveal { transition-delay: 0.06s; }
html.js .hb-warm .hb-warm-lede.reveal { transition-delay: 0.12s; }

@media (max-width: 1180px) {
  .hb-hero-copy-inner { max-width: none; }
}

@media (max-width: 980px) {
  .hb-hero { grid-template-columns: 1fr; min-height: 0; }
  .hb-hero-copy {
    justify-content: flex-start;
    padding:
      calc(var(--header-h) + clamp(32px, 6vw, 56px))
      var(--pad-x)
      clamp(40px, 6vw, 64px);
  }
  .hb-hero-media { aspect-ratio: 4 / 3; }
  .hb-warm {
    align-items: flex-start;
    background-position: 72% center;
  }
  .hb-warm::before {
    background: linear-gradient(
      180deg,
      rgba(38, 26, 18, 0.96) 0%,
      rgba(38, 26, 18, 0.9) 38%,
      rgba(38, 26, 18, 0.5) 68%,
      rgba(38, 26, 18, 0.12) 100%
    );
  }
  .hb-warm-inner {
    padding:
      calc(var(--header-h) + clamp(32px, 6vw, 56px))
      var(--pad-x)
      clamp(40px, 6vw, 64px);
  }
}

@media (max-width: 620px) {
  .hb-hero-copy {
    padding:
      calc(var(--header-h) + 32px)
      var(--pad-x)
      40px;
  }
  .hb-title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hb-media-card { max-width: none; }
  .hb-features { grid-template-columns: 1fr; gap: 18px; }
  .hb-spec thead th { font-size: 0.62rem; letter-spacing: 0.06em; }
}

@media (prefers-reduced-motion: reduce) {
  html.js .hb-hero .reveal,
  html.js .hb-hero .reveal.is-visible,
  html.js .hb-warm .reveal,
  html.js .hb-warm .reveal.is-visible { opacity: 1; transform: none; }
  html.js .hb-hero-media.reveal-media img,
  html.js .hb-hero-media.reveal-media.is-visible img { opacity: 1; transform: none; }
}
