@font-face {
  font-family: "Halis";
  src: url("assets/fonts/HalisR-Thin.otf") format("opentype");
  font-weight: 100;
}
@font-face {
  font-family: "Halis";
  src: url("assets/fonts/HalisR-ExtraLight.otf") format("opentype");
  font-weight: 200;
}
@font-face {
  font-family: "Halis";
  src: url("assets/fonts/HalisR-Light.otf") format("opentype");
  font-weight: 300;
}
@font-face {
  font-family: "Halis";
  src: url("assets/fonts/HalisR-Book.otf") format("opentype");
  font-weight: 350;
}
@font-face {
  font-family: "Halis";
  src: url("assets/fonts/HalisR-Regular.otf") format("opentype");
  font-weight: 400;
}
@font-face {
  font-family: "Halis";
  src: url("assets/fonts/HalisR-Medium.otf") format("opentype");
  font-weight: 500;
}
@font-face {
  font-family: "Halis";
  src: url("assets/fonts/HalisR-Bold.otf") format("opentype");
  font-weight: 700;
}
@font-face {
  font-family: "Halis";
  src: url("assets/fonts/HalisR-Black.otf") format("opentype");
  font-weight: 900;
}

:root {
  --titanium: #ededeb;
  --bone: #e8e2da;
  --stone: #c7bcaf;
  --greige: #aba7a4;
  --warmgrey: #8c8682;
  --charcoal: #2a2d2b;
  --coral: #ff7f6e;
  --pink: #fba7d5;
  --hero-top: #bcb8bc;
  --hero-floor: #e0dfe2;
  --header-h: 64px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(42, 45, 43, 0.55) transparent;
}

body {
  margin: 0;
  background: var(--titanium);
  color: var(--charcoal);
  font-family: "Halis", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
}

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

::selection {
  background: var(--charcoal);
  color: var(--titanium);
}

:focus-visible {
  border-radius: 4px;
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 200;
  width: auto;
  height: auto;
  clip: auto;
  margin: 12px;
  padding: 10px 14px;
  background: var(--charcoal);
  color: var(--titanium);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  color: var(--charcoal);
  transition: color 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
}

.site-header.scrolled {
  background: rgba(237, 237, 235, 0.72);
  backdrop-filter: blur(12px);
}

.site-header.dark {
  color: var(--titanium);
  background: rgba(42, 45, 43, 0.85);
}

.site-header.near-footer {
  opacity: 0;
  pointer-events: none;
}

.nav-shell {
  width: 100%;
  height: 100%;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.brand-link {
  justify-self: start;
  width: 154px;
}

.brand-link img {
  width: 100%;
  filter: none;
  transition: filter 0.2s ease;
}

.site-header.dark .brand-link img {
  filter: brightness(0) invert(1);
}

.desktop-nav {
  display: flex;
  gap: 44px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-nav a,
.nav-coming-soon {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.desktop-nav a {
  position: relative;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.25s ease;
}

.desktop-nav a:hover::after {
  width: 100%;
}

.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-coming-soon {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--titanium);
}

.site-header.dark .nav-coming-soon {
  background: var(--titanium);
  color: var(--charcoal);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform 0.25s ease, top 0.25s ease;
}

.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
}

.hero {
  height: 450vh;
  min-height: 2700px;
  background: linear-gradient(180deg, var(--hero-top), var(--hero-floor));
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.hero-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background: rgba(237, 237, 235, 0.02);
  pointer-events: none;
}

.hero-title {
  position: absolute;
  z-index: 2;
  top: 50px;
  left: 50%;
  width: min(900px, calc(100% - 80px));
  margin: 0;
  transform: translateX(-50%);
  text-align: center;
  font-size: clamp(4rem, 7.5vw, 6.3rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.035em;
  will-change: opacity, transform;
}

.hero-message {
  position: absolute;
  z-index: 3;
  width: 360px;
  opacity: 0;
  will-change: opacity, transform;
}

.hero-message-left {
  left: 6%;
  top: 38%;
}

.hero-message-right {
  right: 6%;
  top: 42%;
}

.hero-message h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero-message p {
  margin: 18px 0 0;
  max-width: 360px;
  color: rgba(42, 45, 43, 0.68);
  font-size: 16px;
  font-weight: 350;
  line-height: 1.65;
}

.hero-cta {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 9%;
  text-align: center;
  transform: translate(-50%, 24px);
  opacity: 0;
  will-change: opacity, transform;
}

.hero-cta p {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-width: 260px;
  height: 60px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.button-dark {
  background: var(--charcoal);
  color: var(--titanium);
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transform: translateX(-50%);
  color: rgba(42, 45, 43, 0.65);
}

.scroll-cue span {
  font-size: 11px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.scroll-cue i {
  width: 1px;
  height: 24px;
  background: currentColor;
}

.section-pad {
  padding: 128px 48px;
}

.eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.shop {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bone);
}

.product {
  min-width: 0;
  padding: 70px 6% 96px;
}

.product-xy {
  background: #d4d3d1;
}

.product-image-wrap {
  height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.product-image-wrap img {
  height: 570px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 30px rgba(42, 45, 43, 0.15));
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.product:hover .product-image-wrap img {
  transform: scale(1.035);
}

.product-copy {
  max-width: 520px;
  margin: 36px auto 0;
}

.product-copy h2 {
  margin: 15px 0 28px;
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.025em;
}

.feature-list {
  margin: 0 0 34px;
  padding: 28px 0 0;
  border-top: 1px solid rgba(140, 134, 130, 0.45);
  list-style: none;
}

.feature-list li {
  position: relative;
  margin: 0 0 18px;
  padding-left: 20px;
  color: rgba(42, 45, 43, 0.78);
  font-size: 15px;
  font-weight: 350;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
}

.product-xy .feature-list li::before { background: var(--pink); }

.product-cta {
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 999px;
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: not-allowed;
  opacity: 1;
}

.xx-cta { background: var(--coral); }
.xy-cta { background: var(--pink); }
.mobile-product-bar { display: none; }

.difference {
  position: relative;
  min-height: 920px;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--titanium);
}

.difference-mark {
  position: absolute;
  right: -9%;
  bottom: -18%;
  width: 76%;
  opacity: 0.04;
}

.difference-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 896px);
  margin: 0 auto;
}

.line-eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(237, 237, 235, 0.65);
}

.line-eyebrow span {
  width: 96px;
  height: 1px;
  background: linear-gradient(90deg, var(--coral) 0 42%, var(--titanium) 42% 100%);
}

.difference h2 {
  margin: 34px 0 42px;
  font-size: clamp(4rem, 7.4vw, 6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.difference-inner > p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: rgba(237, 237, 235, 0.67);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 5px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.difference-logo {
  width: 250px;
  margin-top: 94px;
}

.science {
  min-height: 1480px;
  background: var(--titanium);
  text-align: center;
}

.science-head h2,
.reviews h2,
.comparison h2,
.collective h2 {
  margin: 22px 0 18px;
  font-size: clamp(3rem, 5.5vw, 4.7rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.035em;
}

.science-head > p:last-child,
.reviews-inner > p,
.comparison-head > p:last-child,
.collective-inner > p {
  margin: 0 auto;
  max-width: 720px;
  color: rgba(42, 45, 43, 0.7);
  font-size: 17px;
  font-weight: 350;
  line-height: 1.6;
}

.science-metrics {
  width: min(100%, 940px);
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--stone);
}

.science-metrics div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 100px;
  padding: 18px;
}

.science-metrics div + div { border-left: 1px solid var(--stone); }
.science-metrics strong { font-size: 42px; line-height: 1; }
.science-metrics span { max-width: 118px; color: rgba(42,45,43,.58); font-size: 11px; line-height: 1.35; text-align: left; text-transform: uppercase; letter-spacing: .1em; }

.science-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 48px auto 32px;
}

.tab {
  min-width: 150px;
  height: 38px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: rgba(199, 188, 175, 0.35);
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tab.active {
  background: var(--charcoal);
  color: var(--titanium);
}

.tab-panel[hidden] { display: none; }

.formula-panel,
.servings-panel {
  width: min(100%, 1080px);
  margin: 0 auto;
}

.formula-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-top: 52px;
  text-align: left;
}

.formula-toolbar p { margin: 0; }
.formula-toolbar > div:first-child > p:last-child { margin-top: 8px; color: rgba(42,45,43,.58); font-size: 14px; }

.formula-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(199,188,175,.35);
}

.formula-choice {
  min-width: 170px;
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  color: var(--charcoal);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.formula-choice span { margin-left: 8px; opacity: .55; }
.formula-choice.active { background: var(--charcoal); color: var(--titanium); }

.formula-overview {
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: center;
  gap: 38px;
  margin-top: 30px;
  padding: 28px 34px;
  border-radius: 28px;
  background: var(--charcoal);
  color: var(--titanium);
  text-align: left;
}

.formula-count { display: flex; align-items: center; gap: 16px; }
.formula-count strong { color: var(--coral); font-size: 62px; line-height: 1; }
.formula-count span { font-size: 11px; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; }
.formula-overview > p { margin: 0; color: rgba(237,237,235,.68); font-size: 15px; line-height: 1.6; }

.ingredient-groups { margin-top: 42px; text-align: left; }
.ingredient-group + .ingredient-group { margin-top: 34px; }
.ingredient-group-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.ingredient-group-head h3 { margin: 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.ingredient-group-head span { height: 1px; flex: 1; background: var(--stone); }

.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.ingredient-card {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid rgba(199,188,175,.72);
  border-radius: 16px;
  background: rgba(232,226,218,.38);
}

.ingredient-card strong { font-size: 12px; font-weight: 500; line-height: 1.35; }
.ingredient-card span { margin-top: 12px; color: rgba(42,45,43,.56); font-size: 10px; line-height: 1.35; }

.science-note {
  margin: 34px auto 0;
  max-width: 760px;
  color: rgba(42, 45, 43, 0.48);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.55;
}

.servings-panel { margin-top: 52px; text-align: left; }
.servings-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.servings-head h3 { margin: 10px 0 0; font-size: 34px; letter-spacing: -.02em; }
.servings-head > p { max-width: 360px; margin: 0; color: rgba(42,45,43,.58); font-size: 14px; line-height: 1.5; }

.slider-wrap { position: relative; margin: 78px 0 26px; padding-top: 12px; }
.slider-wrap output {
  position: absolute;
  left: 38.9%;
  top: -40px;
  transform: translateX(-50%);
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--titanium);
  font-size: 13px;
  font-weight: 700;
}

.slider-wrap input {
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--charcoal) 0 39%, #d8d3cc 39% 100%);
  cursor: pointer;
}

.slider-wrap input::-webkit-slider-thumb {
  appearance: none;
  width: 26px;
  height: 26px;
  border: 4px solid var(--titanium);
  border-radius: 50%;
  background: var(--charcoal);
  box-shadow: 0 2px 10px rgba(42, 45, 43, 0.35);
}

.range-labels { display: flex; justify-content: space-between; margin-top: 12px; color: rgba(42,45,43,.5); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }

.dose-result {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 32px;
  margin: 36px 0 18px;
  padding: 24px 28px;
  border-radius: 20px;
  background: var(--charcoal);
  color: var(--titanium);
}

.dose-result > span { color: rgba(237,237,235,.62); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.dose-result strong { font-size: 28px; }
.dose-result b { color: var(--coral); font-size: inherit; }
.dose-result em { color: rgba(237,237,235,.72); font-size: 13px; font-style: normal; }

.dose-grid,
.pack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dose-card {
  min-height: 142px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--stone);
  border-radius: 20px;
  background: rgba(232,226,218,.38);
}

.dose-card.active { border-color: var(--coral); box-shadow: inset 0 0 0 1px var(--coral); }
.dose-card span { color: rgba(42,45,43,.56); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.dose-card strong { margin: 18px 0 6px; font-size: 23px; }
.dose-card small { color: rgba(42,45,43,.55); font-size: 12px; }

.mix-instruction {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 20px 24px;
  border-block: 1px solid var(--stone);
}

.mix-instruction span { color: var(--coral); font-size: 10px; font-weight: 700; }
.mix-instruction p { margin: 0; color: rgba(42,45,43,.67); font-size: 12px; }
.pack-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin: 42px 0 14px; }
.pack-heading p { margin: 0; }
.pack-heading > p:last-child { color: rgba(42,45,43,.52); font-size: 12px; }
.pack-grid article { padding: 24px; border: 1px solid var(--stone); border-radius: 20px; }
.pack-grid span { color: rgba(42,45,43,.52); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.pack-grid h3 { margin: 14px 0 8px; font-size: 30px; }
.pack-grid p { margin: 0; color: rgba(42,45,43,.58); font-size: 12px; }

.reviews {
  position: relative;
  min-height: 970px;
  overflow: hidden;
  background: var(--titanium);
  text-align: center;
}

.reviews-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.scoop {
  position: absolute;
  z-index: 1;
  filter: drop-shadow(0 30px 30px rgba(42, 45, 43, 0.18));
}

.scoop-left {
  top: 2%;
  left: -4%;
  width: 390px;
  transform: rotate(-3deg);
}

.scoop-right {
  right: -2%;
  bottom: 7%;
  width: 270px;
  transform: rotate(4deg);
}

.testimonial {
  width: min(100%, 576px);
  min-height: 235px;
  margin: 66px auto 0;
  padding: 40px;
  border: 1px solid var(--stone);
  border-radius: 26px;
  background: rgba(237, 237, 235, 0.82);
  text-align: left;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.testimonial.changing { opacity: 0; transform: translateY(8px); }
.stars { font-size: 15px; letter-spacing: 4px; }
.testimonial blockquote { margin: 22px 0 28px; font-size: 18px; line-height: 1.55; }
.testimonial figcaption strong,
.testimonial figcaption span { display: block; }
.testimonial figcaption strong { font-size: 14px; }
.testimonial figcaption span { color: rgba(42,45,43,.55); font-size: 12px; font-weight: 300; }

.testimonial-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.testimonial-tabs button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--stone);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.testimonial-tabs button.active { width: 34px; background: var(--charcoal); }

.comparison {
  min-height: 1100px;
  background: var(--charcoal);
  color: var(--titanium);
}

.comparison-head,
.comparison-table-wrap,
.comparison-note { width: min(100%, 1080px); margin-inline: auto; }
.comparison-head { text-align: left; }
.comparison-head > p:last-child { margin-left: 0; color: rgba(237,237,235,.62); }

.comparison-table-wrap {
  margin-top: 62px;
  overflow-x: auto;
  border: 1px solid rgba(237,237,235,.18);
  border-radius: 28px;
  outline: none;
}

.comparison-table-wrap:focus-visible { box-shadow: 0 0 0 2px var(--coral); }
.comparison-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
.comparison-table th,
.comparison-table td { padding: 23px 26px; border-bottom: 1px solid rgba(237,237,235,.14); vertical-align: top; }
.comparison-table tr:last-child th,
.comparison-table tr:last-child td { border-bottom: 0; }
.comparison-table th:not(:last-child),
.comparison-table td:not(:last-child) { border-right: 1px solid rgba(237,237,235,.14); }
.comparison-table thead th { color: rgba(237,237,235,.58); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.comparison-table thead th:nth-child(2) { background: rgba(255,127,110,.12); color: var(--coral); }
.comparison-table thead th:first-child { width: 20%; }
.comparison-table thead th:nth-child(2) { width: 34%; }
.comparison-table tbody th { color: rgba(237,237,235,.58); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.comparison-table tbody td { color: rgba(237,237,235,.62); font-size: 14px; line-height: 1.55; }
.comparison-table tbody td:nth-child(2) { position: relative; padding-left: 54px; background: rgba(255,127,110,.08); color: var(--titanium); font-weight: 500; }
.comparison-table tbody td:nth-child(2)::before { content: "✓"; position: absolute; left: 26px; color: var(--coral); font-weight: 700; }
.comparison-note { margin-top: 18px; color: rgba(237,237,235,.38); font-size: 10px; }

.collective {
  min-height: 930px;
  overflow: hidden;
  background: var(--bone);
  text-align: center;
}

.marquee {
  height: 280px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--stone);
  font-size: 96px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.marquee div {
  width: max-content;
  animation: marquee 40s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.collective-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 70px;
}

.counter,
.counter-label {
  display: block;
}

.counter {
  margin-top: 34px;
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
}

.counter-label {
  margin-top: 8px;
  color: rgba(42, 45, 43, 0.6);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.disabled-cta { margin-top: 28px; cursor: not-allowed; }

.certifications {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 62px;
}

.certifications span {
  min-width: 160px;
  padding: 10px 20px;
  border: 1px solid rgba(199, 188, 175, 0.75);
  border-radius: 999px;
  color: rgba(42, 45, 43, 0.55);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.footer {
  position: relative;
  min-height: 720px;
  padding: 96px 48px 0;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--titanium);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 56px;
}

.newsletter h2 {
  margin: 0 0 24px;
  font-size: 24px;
}

.newsletter form {
  display: flex;
  gap: 8px;
}

.newsletter input {
  width: 155px;
  height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(237, 237, 235, 0.28);
  border-radius: 999px;
  background: transparent;
  color: var(--titanium);
}

.newsletter button {
  height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--titanium);
  color: var(--charcoal);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.form-status { min-height: 20px; margin: 10px 0 0; font-size: 12px; color: rgba(237,237,235,.6); }

.footer nav h3 {
  margin: 0 0 24px;
  color: rgba(237, 237, 235, 0.48);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.footer nav a,
.footer nav span {
  display: block;
  margin-bottom: 18px;
  color: rgba(237, 237, 235, 0.68);
  font-size: 14px;
  font-weight: 300;
}

.footer nav a:hover { color: var(--titanium); }

.footer-meta {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  margin-top: 68px;
  padding-top: 36px;
  border-top: 1px solid rgba(237, 237, 235, 0.18);
  color: rgba(237, 237, 235, 0.38);
  font-size: 11px;
  font-weight: 200;
}

.footer-meta p { margin: 0; }
.footer-meta p:last-child { grid-column: 1 / -1; }
.footer-meta a { margin-left: 24px; }

.footer-wordmark {
  position: absolute;
  left: 4%;
  bottom: -55px;
  color: var(--titanium);
  font-size: clamp(8rem, 16vw, 14rem);
  font-weight: 700;
  line-height: 0.72;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.footer-wordmark span { margin-left: 12px; }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1023px) {
  .hero-title { font-size: clamp(4rem, 8vw, 5rem); }
  .scoop-left { width: 300px; left: -12%; }
  .scoop-right { width: 220px; right: -8%; }
  .ingredient-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  :root { --header-h: 64px; }

  .nav-shell {
    grid-template-columns: 1fr auto;
    padding: 0 16px;
  }

  .brand-link { width: 158px; }
  .desktop-nav { display: none; }
  .nav-coming-soon { display: none; }
  .menu-toggle { display: block; }

  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    align-items: center;
    padding: 104px 34px 44px;
    background: var(--titanium);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
  }

  .mobile-menu.open {
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-menu a,
  .mobile-coming-soon {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
  }

  .mobile-coming-soon {
    margin-top: 26px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--charcoal);
    color: var(--titanium);
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
  }

  .site-header.dark.menu-open,
  body.menu-open .site-header {
    color: var(--charcoal);
    background: transparent;
  }

  body.menu-open .site-header .brand-link img { filter: none; }

  .hero {
    height: 300vh;
    min-height: 2100px;
  }

  .hero-frame { object-fit: contain; }

  .hero-title {
    top: 80px;
    width: calc(100% - 38px);
    font-size: clamp(2.15rem, 9.4vw, 2.75rem);
    line-height: 0.98;
  }

  .hero-message {
    width: calc(100% - 48px);
    top: auto;
    bottom: 10%;
    left: 24px;
    right: auto;
    text-align: center;
  }

  .hero-message h2 { font-size: 34px; }
  .hero-message p { margin: 14px auto 0; font-size: 14px; }
  .hero-cta { width: calc(100% - 48px); bottom: 10%; }
  .hero-cta .button { min-width: 230px; }
  .scroll-cue { bottom: 24px; }

  .section-pad { padding: 96px 24px; }

  .shop { grid-template-columns: 1fr; }
  .product { padding: 70px 24px 84px; }
  .product-image-wrap { height: 410px; }
  .product-image-wrap img { height: 450px; }
  .product-copy { margin-top: 28px; }
  .product-copy h2 { font-size: 36px; }

  .mobile-product-bar {
    position: fixed;
    z-index: 70;
    bottom: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(42,45,43,.9);
    color: var(--titanium);
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
  }

  .mobile-product-bar.show { opacity: 1; }
  .mobile-product-bar span { flex: 1; text-align: center; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }

  .difference { min-height: 780px; }
  .difference h2 { font-size: 50px; }
  .difference-inner > p:not(.eyebrow) { font-size: 16px; }
  .difference-logo { width: 190px; margin-top: 72px; }
  .difference-mark { width: 150%; right: -55%; }

  .science { min-height: 1200px; padding-inline: 16px; }
  .science-head h2,
  .reviews h2,
  .comparison h2,
  .collective h2 { font-size: 44px; }
  .science-head > p:last-child,
  .reviews-inner > p,
  .comparison-head > p:last-child,
  .collective-inner > p { font-size: 15px; }
  .science-metrics { grid-template-columns: 1fr; margin-top: 38px; }
  .science-metrics div { min-height: 76px; justify-content: flex-start; padding-inline: 24px; }
  .science-metrics div + div { border-left: 0; border-top: 1px solid var(--stone); }
  .science-metrics span { max-width: none; }
  .science-tabs { margin-top: 38px; }
  .tab { min-width: 0; padding: 0 18px; }
  .formula-toolbar { align-items: stretch; flex-direction: column; margin-top: 38px; }
  .formula-switch { width: 100%; }
  .formula-choice { min-width: 0; padding-inline: 10px; }
  .formula-overview { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .formula-count strong { font-size: 52px; }
  .ingredient-grid { grid-template-columns: 1fr 1fr; }
  .science-note { margin-top: 30px; }
  .servings-panel { margin-top: 52px; }
  .servings-head { align-items: start; flex-direction: column; }
  .slider-wrap { margin-inline: 14px; }
  .dose-result { grid-template-columns: 1fr; gap: 9px; }
  .dose-grid, .pack-grid { grid-template-columns: 1fr; }
  .dose-card { min-height: 130px; padding: 22px; }
  .mix-instruction { grid-template-columns: auto 1fr; }
  .pack-heading { align-items: start; flex-direction: column; }

  .reviews { min-height: 880px; }
  .scoop-left { display: none; }
  .scoop-right { width: 176px; right: -26px; top: 14px; bottom: auto; }
  .reviews-inner { padding-top: 70px; }
  .testimonial { margin-top: 48px; padding: 30px; }

  .comparison { min-height: 980px; padding-inline: 16px; }
  .comparison-table-wrap { margin-top: 46px; border-radius: 20px; }
  .comparison-table { min-width: 760px; }
  .comparison-table th,
  .comparison-table td { padding: 20px; }
  .comparison-table tbody td:nth-child(2) { padding-left: 46px; }
  .comparison-table tbody td:nth-child(2)::before { left: 20px; }

  .collective { min-height: 820px; }
  .marquee { height: 220px; font-size: 70px; }
  .counter { font-size: 52px; }
  .certifications { flex-wrap: wrap; gap: 8px; margin-top: 48px; }
  .certifications span { min-width: 0; padding: 9px 13px; font-size: 8px; }

  .footer { min-height: 980px; padding: 72px 24px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px 24px; }
  .newsletter { grid-column: 1 / -1; }
  .newsletter form { max-width: 360px; }
  .newsletter input { flex: 1; width: auto; }
  .footer-meta { grid-template-columns: 1fr; margin-top: 56px; }
  .footer-meta p:last-child { grid-column: auto; }
  .footer-meta div a:first-child { margin-left: 0; }
  .footer-wordmark { left: 16px; bottom: -8px; font-size: 26vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Approved content and launch-waitlist amendments */

body.modal-open { overflow: hidden; }

.desktop-nav { gap: 32px; }
.brand-link { width: 168px; }

.story-intro {
  min-height: 790px;
  display: grid;
  place-items: center;
  background: var(--titanium);
  text-align: center;
}

.story-intro-inner {
  width: min(100%, 960px);
}

.story-intro h2 {
  margin: 24px 0 34px;
  font-size: clamp(3rem, 6vw, 5.4rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.story-intro-inner > p:not(.eyebrow) {
  max-width: 790px;
  margin: 0 auto 16px;
  color: rgba(42, 45, 43, 0.68);
  font-size: 17px;
  font-weight: 350;
  line-height: 1.65;
}

.story-intro-inner > strong {
  display: block;
  margin-top: 30px;
  color: var(--charcoal);
  font-size: 18px;
  font-weight: 900;
}

.story-link {
  color: var(--charcoal);
}

.our-story {
  min-height: 1080px;
  background: var(--bone);
}

.our-story-grid {
  width: min(100%, 1120px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(60px, 8vw, 130px);
  align-items: start;
}

.our-story-heading {
  position: sticky;
  top: 128px;
}

.our-story-heading h2 {
  margin: 25px 0 0;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.our-story-copy {
  padding-top: 34px;
  border-top: 1px solid rgba(140, 134, 130, 0.45);
}

.our-story-copy p {
  margin: 0 0 24px;
  color: rgba(42, 45, 43, 0.74);
  font-size: 17px;
  font-weight: 350;
  line-height: 1.72;
}

.our-story-copy p:first-child,
.our-story-copy strong {
  color: var(--charcoal);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.45;
}

.our-story-copy strong {
  display: block;
  margin-top: 42px;
}

.science-doctor {
  width: min(100%, 940px);
  margin: 24px auto 0;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 22px;
  border-radius: 18px;
  background: var(--charcoal);
  color: var(--titanium);
  text-align: left;
}

.science-doctor > span {
  color: var(--coral);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.science-doctor strong { font-size: 17px; }
.science-doctor p { margin: 0; color: rgba(237, 237, 235, 0.62); font-size: 12px; }

.faq {
  min-height: 920px;
  background: var(--charcoal);
  color: var(--titanium);
}

.faq-grid {
  width: min(100%, 1120px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(60px, 9vw, 140px);
}

.faq-heading h2 {
  margin: 34px 0 24px;
  font-size: clamp(3.4rem, 6vw, 5.4rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.faq-heading > p:last-child {
  max-width: 420px;
  margin: 0;
  color: rgba(237, 237, 235, 0.58);
  font-size: 17px;
  line-height: 1.6;
}

.faq-list {
  border-top: 1px solid rgba(237, 237, 235, 0.2);
}

.faq-list details {
  border-bottom: 1px solid rgba(237, 237, 235, 0.2);
}

.faq-list summary {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 500;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--coral); font-size: 28px; font-weight: 200; transition: transform 0.2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: -4px 42px 28px 0; color: rgba(237, 237, 235, 0.6); font-size: 14px; line-height: 1.68; }

.comparison { min-height: 0; }
.comparison-table tbody td:nth-child(3) { position: relative; padding-left: 54px; }
.comparison-table tbody td:nth-child(3)::before {
  content: "×";
  position: absolute;
  left: 27px;
  color: var(--coral);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
}

.collective { min-height: 730px; }
.collective-cta {
  margin-top: 34px;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.collective-cta:hover { transform: translateY(-2px); background: #171918; }

.footer {
  min-height: 680px;
  padding-bottom: 190px;
}

.footer-grid {
  grid-template-columns: minmax(320px, 1.35fr) minmax(140px, 0.7fr) minmax(180px, 0.95fr);
}

.newsletter input { width: min(240px, 42vw); }
.newsletter-consent {
  max-width: 470px;
  margin: 12px 0 0;
  color: rgba(237, 237, 235, 0.38);
  font-size: 10px;
  line-height: 1.5;
}

.footer-wordmark {
  left: 50%;
  right: auto;
  bottom: 12px;
  width: 100%;
  padding: 0 2.2vw;
  transform: translateX(-50%);
  font-size: clamp(4.4rem, 15.2vw, 13.4rem);
  line-height: 0.72;
  text-align: center;
}

.footer-wordmark span { margin-left: 0.02em; }

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.waitlist-modal[hidden] { display: none; }

.waitlist-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.waitlist-modal.open { opacity: 1; visibility: visible; }

.waitlist-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(24, 26, 25, 0.76);
  backdrop-filter: blur(10px);
  cursor: default;
}

.waitlist-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 650px);
  padding: clamp(36px, 6vw, 66px);
  border-radius: 32px;
  background: var(--titanium);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.32);
  transform: translateY(24px) scale(0.98);
  transition: transform 0.22s ease;
}

.waitlist-modal.open .waitlist-dialog { transform: none; }

.waitlist-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(42, 45, 43, 0.18);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 28px;
  font-weight: 200;
  line-height: 1;
}

.waitlist-dialog h2 {
  margin: 20px 0 18px;
  font-size: clamp(2.7rem, 7vw, 4.6rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.waitlist-dialog > p:not(.eyebrow) {
  max-width: 530px;
  margin: 0;
  color: rgba(42, 45, 43, 0.68);
  font-size: 16px;
  line-height: 1.6;
}

#waitlist-form { margin-top: 32px; }
#waitlist-form > label:first-child {
  display: block;
  margin-bottom: 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.waitlist-field { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.waitlist-field input {
  min-width: 0;
  height: 54px;
  padding: 0 20px;
  border: 1px solid var(--stone);
  border-radius: 999px;
  background: white;
  color: var(--charcoal);
}

.waitlist-field button {
  height: 54px;
  padding: 0 25px;
  border: 0;
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--titanium);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.waitlist-field button:disabled,
.newsletter button:disabled { cursor: wait; opacity: 0.64; }

.consent-check {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  margin-top: 17px;
  color: rgba(42, 45, 43, 0.58);
  font-size: 10px;
  line-height: 1.5;
}

.consent-check input { width: 15px; height: 15px; margin: 0; accent-color: var(--charcoal); }
.waitlist-status { min-height: 20px; margin: 14px 0 0; font-size: 12px; }
.waitlist-status[data-state="success"], .form-status[data-state="success"] { color: #39704d; }
.waitlist-status[data-state="error"], .form-status[data-state="error"] { color: #b44336; }

@media (max-width: 1023px) {
  .desktop-nav { gap: 20px; }
  .desktop-nav a { font-size: 10px; letter-spacing: 0.1em; }
  .our-story-grid, .faq-grid { gap: 54px; }
  .footer-grid { gap: 42px; }
}

@media (max-width: 767px) {
  .brand-link { width: 158px; }

  .story-intro { min-height: 0; padding: 110px 24px; }
  .story-intro h2 { font-size: 45px; }
  .story-intro-inner > p:not(.eyebrow) { font-size: 15px; }

  .our-story { min-height: 0; padding: 102px 24px; }
  .our-story-grid { grid-template-columns: 1fr; gap: 54px; }
  .our-story-heading { position: static; }
  .our-story-heading h2 { font-size: 46px; }
  .our-story-copy { padding-top: 28px; }
  .our-story-copy p { font-size: 15px; }
  .our-story-copy p:first-child, .our-story-copy strong { font-size: 20px; }

  .science-doctor {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 24px;
  }

  .faq { min-height: 0; padding: 104px 24px; }
  .faq-grid { grid-template-columns: 1fr; gap: 58px; }
  .faq-heading h2 { font-size: 47px; }
  .faq-list summary { min-height: 76px; font-size: 15px; }
  .faq-list details p { margin-right: 20px; }

  .comparison { min-height: 0; }
  .comparison-table tbody td:nth-child(3) { padding-left: 46px; }
  .comparison-table tbody td:nth-child(3)::before { left: 20px; }

  .collective { min-height: 680px; }
  .collective-cta { min-width: 240px; }

  .footer { min-height: 840px; padding-bottom: 130px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsletter { grid-column: 1 / -1; }
  .footer-wordmark {
    left: 50%;
    bottom: 14px;
    padding-inline: 12px;
    font-size: 13.8vw;
    letter-spacing: -0.065em;
  }

  .waitlist-modal { padding: 12px; align-items: end; }
  .waitlist-dialog {
    width: 100%;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    padding: 38px 22px 28px;
    border-radius: 28px;
  }
  .waitlist-dialog h2 { font-size: 43px; }
  .waitlist-dialog > p:not(.eyebrow) { font-size: 14px; }
  .waitlist-field { grid-template-columns: 1fr; }
  .waitlist-field input, .waitlist-field button { width: 100%; }
}
