/* YES! Hydrate+ — consolidated styles */

/* ── Tokens ── */
:root {
  /* Colors — approved PDF */
  --color-bg-teal: #2c526a;
  --color-bg-light: #b9dcf6;
  --color-black: #000000;
  --color-white: #ffffff;

  /* Layout — artboard 1700 × 2957 px */
  --design-width: 1700px;
  --header-height: 140px;
  --header-height-scrolled: calc(var(--header-height) * 0.65);
  --header-shrink-range: 120px;
  --header-shrink-scale: calc(var(--header-height-scrolled) / var(--header-height));
  --header-logo-size: calc(var(--header-height) * 0.75);
  --header-tagline-size: calc(var(--header-logo-size) * 0.44);
  --header-tagline-gap: calc(var(--header-logo-size) * 0.14);
  --header-menu-icon-size: calc(var(--header-height) * 0.35);
  --hero-height: 669px;
  --hero-image-height: calc(var(--hero-height) * 0.6);
  --product-height: 592px;
  --benefits-title-height: 96px;
  --benefits-content-height: 562px;
  --ingredient-height: 491px;
  --footer-height: 72px;

  /* Text & header content band */
  --content-max-width: 1440px;
  --content-gutter: max(24px, calc((100% - min(var(--content-max-width), 100%)) / 2));
  --content-gutter-viewport: max(24px, calc((100vw - min(var(--content-max-width), 100vw)) / 2));

  /* Typography */
  --font-family: 'Lato', sans-serif;
  --font-weight-regular: 400;
  --font-weight-bold: 700;
  --font-weight-black: 900;

  /* Hero */
  --hero-title-size: 47px;
  --hero-title-line-height: 0.93;
  --hero-stat-size: 21px;
  --hero-stat-line-height: 1.13;

  /* Product */
  --product-scale: 0.8;
  --pill-badge-band-width: calc(520px * var(--product-scale));
  --pill-badge-height: calc(var(--pill-badge-band-width) * 80 / 446);
  --badge-font-size: 17px;
  --feature-font-size: 15px;
  --feature-number-size: 68px;

  /* Benefits */
  --benefits-title-size-max: 52.5px;
  --benefits-unique-size: 22px;
  --benefits-list-size: 17px;
  --benefits-list-width: clamp(228px, calc(100% * 326 / var(--design-width)), 326px);
  --benefits-grid-columns: 50% [benefits-list-start] var(--benefits-list-width) [benefits-list-end] minmax(0, 1fr);

  /* Ingredient */
  --ingredient-text-size: 26px;

  /* CTA pill buttons */
  --cta-btn-font-size: 18px;
  --cta-btn-padding-y: 16.8px;
  --cta-btn-padding-x: 43.2px;
  --cta-btn-radius: 9999px;

  /* Badge pills */
  --badge-padding-y: 6px;
  --badge-padding-x: 18px;

  /* Footer */
  --footer-font-size: 14px;

  /* Animation */
  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-reveal: 0.45s;
  --duration-hover: 0.25s;

  /* Parallax — defaults; overridden per section */
  --parallax-speed: 0.22;
  --parallax-smooth: 0.12;
  --parallax-max-shift: 56px;
  --parallax-shift-hero: 80px;
  --parallax-shift-product: 64px;
  --parallax-shift-benefits: 52px;
  --parallax-shift-ingredient: 64px;
}


/* ── Base ── */


*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  overflow-x: hidden;
  max-width: 100%;
}

html,
body {
  width: 100%;
}

body {
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
  color: var(--color-black);
  background-color: var(--color-bg-teal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.landing {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: clip;
  background-color: var(--color-bg-teal);
}

main {
  width: 100%;
  padding-top: var(--header-height);
}

picture {
  display: block;
  width: 100%;
  height: 100%;
}

picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Components ── */
/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  --header-progress: 0;
  --header-current-height: calc(
    var(--header-height) -
    var(--header-progress) * (var(--header-height) - var(--header-height-scrolled))
  );
  --header-logo-size-current: calc(var(--header-current-height) * 0.75);
  --header-menu-icon-size-current: calc(var(--header-current-height) * 0.35);
  height: var(--header-current-height);
  background-color: var(--color-black);
  overflow: hidden;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: var(--header-height-scrolled);
  padding-inline: max(
    0px,
    calc(
      var(--content-gutter) -
      (100% - min(var(--content-max-width), 100%)) / 2
    )
  );
}

.site-header__logo {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: calc(var(--header-logo-size-current) * 0.14);
  width: auto;
  height: var(--header-logo-size-current);
  flex-shrink: 0;
}

.site-header__logo-mark,
.site-header__logo img,
.site-header__logo svg {
  width: var(--header-logo-size-current);
  height: var(--header-logo-size-current);
  flex-shrink: 0;
}

.site-header__tagline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: calc(var(--header-logo-size-current) * 0.44);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--color-white);
  text-transform: uppercase;
  white-space: nowrap;
}

.site-header__menu {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-current-height) * 0.06);
  color: var(--color-white);
  opacity: 0.95;
  transition: opacity var(--duration-hover) ease;
}

.site-header__menu-icon {
  font-size: var(--header-menu-icon-size-current);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.site-header__menu:hover {
  opacity: 1;
}

/* ── Skip link ── */
.skip-link {
  position: fixed;
  top: -100%;
  left: 16px;
  z-index: 1000;
  padding: 12px 20px;
  background-color: var(--color-white);
  color: var(--color-black);
  font-weight: var(--font-weight-bold);
  border-radius: 4px;
  transition: top var(--duration-hover) ease;
}

.skip-link:focus {
  top: 16px;
}

/* ── Mobile nav overlay ── */
.site-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.96);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.site-nav.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.site-nav__toolbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 201;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: var(--header-current-height, var(--header-height));
  min-height: var(--header-height-scrolled);
  padding-inline: max(
    0px,
    calc(
      var(--content-gutter) -
      (100% - min(var(--content-max-width), 100%)) / 2
    )
  );
  pointer-events: none;
}

.site-nav__close {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-current-height, var(--header-height)) * 0.06);
  color: var(--color-white);
  opacity: 0.95;
  pointer-events: auto;
  transition: opacity var(--duration-hover) ease;
}

.site-nav__close-icon {
  font-size: var(--header-menu-icon-size-current, var(--header-menu-icon-size));
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.site-nav__close:hover {
  opacity: 1;
}

body.nav-open .site-header__menu {
  visibility: hidden;
  pointer-events: none;
}

.site-nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.site-nav__link {
  color: var(--color-white);
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity var(--duration-hover) ease;
}

.site-nav__link:hover {
  opacity: 0.75;
}

body.nav-open {
  overflow: hidden;
}

/* ── Focus states ── */
.site-header__logo:focus-visible,
.site-header__menu:focus-visible,
.site-nav__close:focus-visible,
.cta-bar__btn:focus-visible,
.site-nav__link:focus-visible {
  outline: 2px solid var(--color-bg-light);
  outline-offset: 4px;
}

/* ── Footer ── */
.site-footer {
  width: 100%;
  min-height: var(--footer-height);
  background-color: var(--color-black);
  color: var(--color-white);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: var(--footer-height);
  padding: 24px var(--content-gutter);
}

.site-footer__copyright,
.site-footer__powered-by {
  font-size: var(--footer-font-size);
  font-weight: var(--font-weight-regular);
  letter-spacing: 0.04em;
}

.site-footer__copyright {
  text-align: left;
}

.site-footer__powered-by {
  margin-left: auto;
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-footer__accent {
  color: var(--color-bg-light);
}

/* ── CTA Bar ── */
.cta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-block: 30px;
  background-color: var(--color-bg-teal);
}

.cta-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--cta-btn-padding-y) var(--cta-btn-padding-x);
  background-color: var(--color-bg-light);
  color: var(--color-black);
  font-size: var(--cta-btn-font-size);
  font-weight: var(--font-weight-black);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: var(--cta-btn-radius);
  transition: transform var(--duration-hover) ease, background-color var(--duration-hover) ease, box-shadow var(--duration-hover) ease;
}

.cta-bar__btn:hover {
  transform: scale(1.02);
  background-color: var(--color-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.cta-bar__btn:active {
  transform: scale(0.98);
}

/* ── Badge pill ── */
.badge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--badge-padding-y) var(--badge-padding-x);
  background-color: var(--color-black);
  color: var(--color-white);
  font-size: var(--badge-font-size);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--cta-btn-radius);
}

.product__badge,
.ingredient__badge {
  display: block;
  height: var(--pill-badge-height);
  width: auto;
  max-width: 100%;
}

/* ── Split sections ── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: var(--section-height, 540px);
}

.split-section__media {
  position: relative;
  overflow: hidden;
  height: var(--section-height, 540px);
}

.split-section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.split-section__media .parallax-media,
.benefits__col-image .parallax-media {
  display: block;
  width: 100%;
  height: 100%;
}

.split-section__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--color-bg-light);
}

/* ── Hero ── */
.hero {
  --section-height: var(--hero-height);
  --parallax-max-shift: var(--parallax-shift-hero);
  height: var(--hero-height);
}

.hero__text-col {
  --hero-copy-start: var(--content-gutter-viewport);
  --hero-plus-gap: 30px;
  --hero-plus-scale: 1.92;
  --hero-plus-offset-y: calc(-0.28 * var(--hero-title-size));
  --hero-text-indent: calc(0.58 * var(--hero-title-size) * var(--hero-plus-scale) + var(--hero-plus-gap));
  display: grid;
  grid-template-rows: 65% 35%;
  height: var(--hero-height);
  overflow-x: visible;
  overflow-y: hidden;
}

.hero__headline-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: 40px 48px 32px var(--hero-copy-start);
  background-color: var(--color-bg-light);
}

.hero__title-group {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.hero__plus {
  position: absolute;
  left: 0;
  top: 0;
  font-size: calc(var(--hero-title-size) * var(--hero-plus-scale));
  font-weight: var(--font-weight-black);
  line-height: 1;
  color: var(--color-black);
  pointer-events: none;
  transform: translateY(var(--hero-plus-offset-y));
}

.hero__headline {
  max-width: 65%;
  margin-inline-start: var(--hero-text-indent);
  font-size: var(--hero-title-size);
  font-weight: var(--font-weight-bold);
  line-height: var(--hero-title-line-height);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--color-black);
}

.hero__stat-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: 36px 48px 40px var(--hero-copy-start);
  background-color: var(--color-white);
}

.hero__stat-text {
  max-width: 65%;
  margin-inline-start: var(--hero-text-indent);
  font-size: var(--hero-stat-size);
  font-weight: var(--font-weight-regular);
  line-height: var(--hero-stat-line-height);
  color: var(--color-black);
}

.hero__stat-text em {
  font-style: italic;
  font-weight: var(--font-weight-bold);
}

/* ── Product ── */
.product {
  --section-height: var(--product-height);
  --parallax-max-shift: var(--parallax-shift-product);
  height: var(--product-height);
}

.product__image-col .split-section__media {
  height: var(--product-height);
}

.product__content-col {
  --product-scale: 0.8;
  --product-features-scale: 1.35;
  --product-band-width: calc(520px * var(--product-scale));
  --product-features-width: calc(var(--product-band-width) * 1.2);
  align-items: center;
  text-align: center;
  padding: 48px max(40px, var(--content-gutter));
  gap: calc(36px * var(--product-scale));
}

.product__content-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(36px * var(--product-scale));
  width: 100%;
  max-width: var(--product-band-width);
}

.product__brand {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 4.8%;
  padding-block: 30px;
}

.product__brand-logo-yes {
  width: 31.26%;
  height: auto;
  aspect-ratio: 1;
  flex-shrink: 0;
}

.product__brand-logo-hydrate {
  width: 63.94%;
  height: auto;
  flex-shrink: 0;
}

.product__features {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(6px, 1.2vw, 20px);
  width: 100%;
  max-width: var(--product-features-width);
  flex-shrink: 0;
}

.product__feature {
  flex: 0 0 auto;
  font-size: calc(var(--feature-font-size) * var(--product-features-scale, 1));
  font-weight: var(--font-weight-regular);
  line-height: 1.1;
  text-align: center;
}

.product__features > .product__feature:first-child {
  text-align: right;
}

.product__features > .product__feature:last-child {
  text-align: left;
}

.product__feature--number {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: calc(8px * var(--product-features-scale, 1));
}

.product__feature-sublabel {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  text-align: left;
}

.product__feature-plus {
  font-size: 1.1em;
  line-height: inherit;
  font-weight: var(--font-weight-black);
}

.product__feature-number {
  font-size: 3.432em;
  line-height: 1;
  font-weight: inherit;
}

.product__divider {
  flex: 0 0 1px;
  align-self: stretch;
  width: 1px;
  min-width: 1px;
  min-height: calc(56px * var(--product-features-scale, 1));
  background-color: rgba(0, 0, 0, 0.4);
}

/* ── Benefits ── */
.benefits__title-bar {
  container-type: inline-size;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: var(--benefits-title-height);
  padding: 0 24px;
  background-color: var(--color-black);
  color: var(--color-white);
}

.benefits__title-text {
  width: var(--content-max-width);
  max-width: 100%;
  margin-inline: auto;
  font-size: min(
    var(--benefits-title-size-max),
    calc(min(var(--content-max-width), 100cqw - 48px) / 33)
  );
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  line-height: 1.1;
}

.benefits__title-logo {
  display: inline;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.benefits-ingredient-grid {
  display: grid;
  grid-template-columns: var(--benefits-grid-columns);
  width: 100%;
}

.benefits__grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  grid-template-rows: minmax(0, 1fr);
  width: 100%;
  height: var(--benefits-content-height);
}

.benefits__col-proof {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 40px max(32px, var(--content-gutter)) 40px max(32px, var(--content-gutter));
  background-color: var(--color-bg-light);
}

.benefits__unique {
  container-type: inline-size;
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  text-align: center;
}

.benefits__unique-word,
.ingredient__text {
  font-size: var(--ingredient-text-size);
  font-weight: var(--font-weight-bold);
}

.benefits__unique-word {
  display: block;
  width: 100%;
  max-width: 100%;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-align: center;
  white-space: nowrap;
}

.ingredient__text {
  line-height: 1.35;
  max-width: 420px;
  text-transform: uppercase;
}

.benefits__unique-badge {
  display: block;
  width: min(100%, 334px);
  max-width: 334px;
  height: auto;
  margin-top: 8px;
  margin-inline: auto;
}

.benefits__seal {
  width: 160px;
  height: 160px;
  flex-shrink: 0;
  object-fit: contain;
}

.benefits__col-list {
  grid-column: benefits-list-start / benefits-list-end;
  grid-row: 1;
  z-index: 2;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 48px 24px;
  background-color: rgba(0, 0, 0, 0.9);
  color: var(--color-white);
}

.benefits__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 10px;
  text-align: center;
}

.benefits__item-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background-color: var(--color-bg-light);
  color: var(--color-black);
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  border-radius: 50%;
}

.benefits__item-text {
  max-width: 80%;
  font-size: calc(var(--benefits-list-size) * 1.3 * 0.8);
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
  font-variant-ligatures: no-common-ligatures;
  font-feature-settings: "liga" 0, "clig" 0;
}

.benefits__col-image {
  grid-column: benefits-list-start / -1;
  grid-row: 1;
  z-index: 1;
  position: relative;
  overflow: hidden;
  height: var(--benefits-content-height);
  --parallax-max-shift: var(--parallax-shift-benefits);
}

.product__image-col .split-section__media img {
  object-position: center center;
}

.benefits__col-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.ingredient__image-col .split-section__media img {
  object-position: center center;
}

/* ── Ingredient ── */
.split-section.ingredient {
  --section-height: var(--ingredient-height);
  --parallax-max-shift: var(--parallax-shift-ingredient);
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  height: var(--ingredient-height);
}

.ingredient__image-col {
  grid-column: 1;
}

.ingredient__content-col {
  grid-column: benefits-list-start / -1;
  align-items: center;
  text-align: center;
  padding: 48px 24px;
  gap: 32px;
}

.ingredient__image-col.split-section__media {
  height: var(--ingredient-height);
}

/* ── Responsive stack ── */
@media (min-width: 1190px) {
  :root {
    --benefits-list-width: 326px;
  }
}

@media (max-width: 1189px) {
  :root {
    --hero-title-size: clamp(31px, 5.2vw, 49px);
    --hero-stat-size: clamp(16px, 2.5vw, 22px);
    --benefits-unique-size: 20px;
    --hero-image-height: calc(360px * 0.6 * 0.7 * 2 * 1.5);
  }

  .split-section {
    grid-template-columns: 1fr;
    height: auto;
  }

  .hero,
  .product {
    height: auto;
  }

  .hero__image-col {
    order: -1;
  }

  .hero__text-col {
    order: 1;
    grid-template-rows: auto auto;
    height: auto;
    overflow-y: visible;
    --hero-plus-gap: 20px;
  }

  .hero__headline-wrap {
    padding: 40px 24px 32px var(--hero-copy-start);
  }

  .hero__stat-box {
    padding: 36px 24px 40px var(--hero-copy-start);
  }

  .hero__image-col.split-section__media {
    height: var(--hero-image-height);
  }

  .hero__image-col.split-section__media img {
    object-position: center 30%;
  }

  .product__image-col .split-section__media {
    height: 360px;
  }

  .ingredient__image-col.split-section__media {
    height: calc(360px * 0.7);
  }

  .benefits-ingredient-grid {
    grid-template-columns: 1fr;
  }

  .benefits__grid,
  .split-section.ingredient {
    grid-column: auto;
    grid-template-columns: 1fr;
    height: auto;
  }

  .benefits__col-proof,
  .benefits__col-list,
  .benefits__col-image,
  .ingredient__image-col,
  .ingredient__content-col {
    grid-column: auto;
    grid-row: auto;
    z-index: auto;
  }

  .benefits__col-image {
    order: 1;
    height: 320px;
    min-height: 320px;
  }

  .benefits__col-proof {
    order: 2;
    flex-direction: column;
    text-align: center;
  }

  .benefits__col-list {
    order: 3;
    padding-block: 40px;
  }

  .benefits__unique {
    width: min(334px, 100%);
    max-width: 334px;
    margin-inline: auto;
    flex: 0 0 auto;
    align-items: center;
    text-align: center;
  }

  .benefits__unique-word {
    width: 100%;
  }

  .benefits__unique-badge {
    width: min(100%, 334px);
    max-width: 334px;
  }

  .benefits__title-bar {
    height: auto;
    min-height: var(--benefits-title-height);
    padding-block: 20px;
  }

  .benefits__title-text {
    white-space: normal;
    font-size: clamp(22px, 4vw, 36px);
    line-height: 1.2;
  }

  .product__content-col {
    --product-features-width: 100%;
  }

  .product__features {
    container-type: inline-size;
    --product-features-scale: clamp(0.42, calc(100cqi / 370), 1.35);
    flex-wrap: nowrap;
    flex-shrink: 1;
    justify-content: space-between;
    align-items: center;
    gap: clamp(4px, 2vw, 24px);
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }

  .product__feature {
    flex: 1 1 0;
    min-width: 0;
  }

  .product__features > .product__feature:not(.product__feature--number) {
    display: block;
  }

  .product__features > .product__feature:first-child {
    text-align: right;
  }

  .product__features > .product__feature:last-child {
    text-align: left;
  }

  .product__feature-sublabel {
    text-align: left;
  }

  .product__feature-number {
    font-size: clamp(2em, 8cqi, 3.432em);
  }

  .product__feature--number {
    flex: 0 1 auto;
    gap: 5px;
  }
}

@media (min-width: 769px) and (max-width: 1189px) {
  .benefits__grid {
    grid-template-rows: none;
  }

  .ingredient__image-col.split-section__media {
    height: calc(360px * 0.7);
    overflow: hidden;
  }

  .benefits__col-image {
    overflow: hidden;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding-block: 20px;
  }

  .site-footer__copyright {
    text-align: center;
  }

  .site-footer__powered-by {
    margin-left: 0;
    text-align: center;
    white-space: normal;
  }

  .cta-bar__btn {
    white-space: normal;
    text-align: center;
    max-width: calc(100% - 48px);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 88px;
    --header-shrink-range: 80px;
  }

  .benefits__unique-word {
    white-space: normal;
    text-align: center;
  }

  .benefits__col-proof {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .benefits__unique {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    max-width: none;
    align-items: center;
    justify-content: center;
  }

  .benefits__unique-badge {
    margin-inline: auto;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding-block: 20px;
  }

  .site-footer__copyright {
    text-align: center;
  }

  .site-footer__powered-by {
    margin-left: 0;
    text-align: center;
    white-space: normal;
  }

  .split-section__media .parallax-media img,
  .benefits__col-image .parallax-media img {
    animation: none;
    transform: none;
    height: 100%;
    margin-top: 0;
    will-change: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --product-scale: 0.72;
  }

  .benefits__col-image {
    height: 280px;
    min-height: 0;
  }

  .benefits__seal {
    width: 120px;
    height: 120px;
  }

  .benefits__col-proof {
    align-items: center;
  }

  .benefits__unique {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    max-width: none;
    margin-inline: 0;
    align-items: center;
    justify-content: center;
  }

  .benefits__unique-word,
  .ingredient__text {
    font-size: calc(var(--ingredient-text-size) * 0.8);
  }

  .ingredient__text {
    max-width: calc(420px * 0.8);
  }

  .benefits__unique-badge {
    width: min(100%, 334px);
    max-width: 334px;
    margin-inline: auto;
    margin-top: 4px;
  }

  .ingredient__image-col.split-section__media {
    height: calc(280px * 0.7);
  }

  .hero__headline-wrap {
    padding: 32px 24px 24px var(--hero-copy-start);
  }

  .hero__stat-box {
    padding: 28px 24px 28px var(--hero-copy-start);
  }

  .product__content-col {
    --product-scale: 0.72;
    padding-inline: max(16px, var(--content-gutter));
  }

  .product__image-col .split-section__media {
    height: 1440px;
  }

  .cta-bar__btn {
    font-size: 15.6px;
    padding: 14.4px 20px;
    white-space: normal;
    text-align: center;
    max-width: calc(100% - 48px);
  }

  .site-footer__copyright,
  .site-footer__powered-by {
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .product__features {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 20px;
    max-width: 100%;
    flex-shrink: 1;
    --product-features-scale: 1;
  }

  .product__divider {
    width: min(200px, 60%);
    height: 1px;
    min-height: 1px;
    align-self: center;
    flex: 0 0 auto;
  }

  .product__feature {
    flex: 0 0 auto;
    width: 100%;
    text-align: center;
  }

  .product__features > .product__feature:first-child,
  .product__features > .product__feature:last-child {
    display: block;
    text-align: center;
  }

  .product__feature--number {
    flex-direction: row;
    justify-content: center;
    gap: 8px;
  }

  .product__feature-sublabel {
    text-align: left;
  }

  .product__content-col .product__feature-line {
    white-space: normal;
  }
}

@media (max-width: 320px) {
  :root {
    --hero-image-height: calc(360px * 0.6 * 0.7 * 2 * 1.5 * 0.5);
  }
}


/* ── Layout ── */
/* Layout utilities */
.content-max {
  width: 100%;
  max-width: var(--content-max-width);
  margin-inline: auto;
}

.split-section--reverse .split-section__media {
  order: 2;
}

.split-section--reverse .split-section__content,
.split-section--reverse .hero__text-col {
  order: 1;
}

/* QA overlay — add class "qa-mode" to body during development */
body.qa-mode::after {
  content: '';
  position: fixed;
  inset: 0;
  background: url('../assets/reference/design-reference.webp') center top / 1700px auto no-repeat;
  opacity: 0.45;
  pointer-events: none;
  z-index: 9999;
}


/* ── Motion: header shrink + section parallax ── */

@property --header-progress {
  syntax: '<number>';
  inherits: true;
  initial-value: 0;
}

.split-section__media .parallax-media img,
.benefits__col-image .parallax-media img {
  height: calc(100% + (var(--parallax-max-shift) * 2));
  margin-top: calc(var(--parallax-max-shift) * -1);
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
}

@media (min-width: 769px) and (max-width: 1189px) {
  .split-section__media .parallax-media img,
  .benefits__col-image .parallax-media img {
    animation: none;
    transform: none;
    height: 100%;
    margin-top: 0;
    will-change: auto;
  }
}

/* ── Scroll reveal (opacity only) ── */

[id] {
  scroll-margin-top: var(--header-height-scrolled);
}

.reveal {
  opacity: 0;
  transition: opacity var(--duration-reveal) var(--ease-out-expo);
}

.reveal.is-visible {
  opacity: 1;
}

.reveal-stagger > * {
  opacity: 0;
  transition: opacity var(--duration-reveal) var(--ease-out-expo);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 80ms; opacity: 1; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; opacity: 1; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger > *,
  .reveal.is-visible,
  .reveal-stagger.is-visible > * {
    opacity: 1 !important;
    transition: none !important;
  }

  .site-header {
    animation: none !important;
    --header-progress: 0 !important;
    box-shadow: none;
  }

  .site-header__logo,
  .site-header__menu {
    transform: none !important;
  }

  .split-section__media .parallax-media img,
  .benefits__col-image .parallax-media img {
    animation: none !important;
    transform: none !important;
    height: 100%;
    margin-top: 0;
    will-change: auto;
  }

  .site-header__menu {
    transition: none !important;
  }

  .cta-bar__btn:hover {
    transform: none !important;
  }
}

