@import url("tokens.css");

/* =====================================================
   RECOFF — BRAND DESIGN SYSTEM
   Colors: #004742 · #007363 · #fafafa
   Font:   Montserrat (brand secondary / web)
   Mood:   Calm · Confident · Motivating
   ===================================================== */

:root {
  /* Compatibility aliases; tokens.css owns the approved values. */
  --brand-deep:   var(--color-bg-dark);
  --brand-dark:   var(--color-bg-brand);
  --brand-mid:    var(--color-action-secondary-hover);
  --brand-card:   var(--color-surface-dark);

  /* Light surfaces */
  --white:        var(--color-surface);
  --off-white:    var(--color-bg);
  --off-white-2:  var(--color-bg-secondary);

  /* Text */
  --muted-w:      var(--color-text-inverse-muted);
  --muted-d:      var(--color-text-muted);

  /* Borders */
  --border-w:     var(--color-border-inverse);
  --border-d:     var(--color-border);

  /* Accent — medium green used for eyebrows, dots, labels */
  --accent:       var(--color-link);

  /* Pack orange — the "pre / Ready ON" side of the sachet (co-brand color) */
  --brand-orange:      var(--color-action);
  --brand-orange-deep: var(--color-accent-deep);
  --brand-orange-soft: var(--color-accent-soft);

  --transition:   var(--dur-enter) var(--ease-out);
  --ease-out:     var(--ease-brand-out);
}

/* === RESET === */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Visible keyboard focus (mouse clicks stay clean via :focus-visible) */
:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 3px;
  border-radius: 4px;
}

body {
  margin: 0;
  background: var(--brand-deep);
  color: var(--white);
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* no text-selection / blinking caret anywhere on the site */
  user-select: none;
  -webkit-user-select: none;
}

/* …except form fields, so the review form stays usable */
input, textarea {
  user-select: text;
  -webkit-user-select: text;
}

a   { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p, ul, ol, h1, h2, h3 { margin-top: 0; }

/* === TYPOGRAPHY === */

h1 {
  margin-bottom: 20px;
  font-size: clamp(36px, 5.2vw, 64px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 3.8vw, 50px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.018em;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
}

/* Brand accent eyebrow */
.eyebrow {
  display: block;
  margin: 0 0 20px;
  color: var(--brand-mid);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

/* === SCROLL REVEAL === */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.95s var(--ease-out),
    transform 0.95s var(--ease-out);
}

[data-reveal].revealed { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.14s; }
[data-reveal][data-delay="2"] { transition-delay: 0.28s; }

/* Respect users who prefer reduced motion — no zoom, auto-scroll, or long transitions */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* === HEADER === */

.site-header {
  position: fixed;
  z-index: 100;
  top: 0; left: 0; right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 88px;
  padding: 0 40px;
  color: var(--white);
  background: transparent;
  overflow: visible;
  transition: background var(--transition);
}

.site-header.scrolled {
  background: rgba(0, 38, 34, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Logo */
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  overflow: hidden;
}

.brand-mark { display: none; }
.brand span  { display: none; }

.brand-logo {
  display: block;
  height: 48px;
  width: auto;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  /* Drop shadow gives contrast against any header background */
  filter: drop-shadow(0 2px 10px rgba(0, 20, 18, 0.45));
}

/* Nav */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-links a {
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 12px rgba(0, 20, 18, 0.45);
  border-radius: 6px;
  transition: color 0.3s, background 0.3s;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.10);
}

/* Header CTA */
.header-cta {
  justify-self: end;
  padding: 11px 26px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 1px 12px rgba(0, 20, 18, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 100px;
  opacity: 1;
  transition: all 0.35s var(--ease-out);
}

.header-cta:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.68);
}

/* Hamburger (mobile only) */
.nav-toggle {
  display: none;
  justify-self: end;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  box-shadow: 0 1px 6px rgba(0, 20, 18, 0.45);
  transition: transform 0.35s var(--ease-out), opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown menu */
.mobile-menu {
  position: fixed;
  z-index: 90;
  top: 68px;
  left: 0;
  right: 0;
  padding: 12px 24px 28px;
  background: rgba(0, 38, 34, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-w);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.3s, transform 0.3s var(--ease-out), visibility 0.3s;
}

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

.mobile-menu nav { display: grid; }

.mobile-menu a {
  padding: 17px 6px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid var(--border-w);
}

.mobile-menu a:not(.mobile-cta):last-of-type { border-bottom: none; }

.mobile-cta {
  margin-top: 18px;
  padding: 16px !important;
  text-align: center;
  border: none !important;
  border-radius: 100px;
  background: var(--brand-orange);
  letter-spacing: 0.06em;
}

/* === HERO === */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Slideshow */
.hero-slideshow {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
}

.slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.slide.active {
  opacity: 1;
  animation: heroZoom 9s var(--ease-out) both;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1); }
}

/* Brand-green tinted dark overlay, heavier on left for text */
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  background:
    linear-gradient(
      to right,
      rgba(0, 38, 34, 0.90)  0%,
      rgba(0, 55, 50, 0.68) 40%,
      rgba(0, 40, 36, 0.26) 70%,
      rgba(0, 30, 28, 0.06) 100%
    ),
    linear-gradient(
      to top,
      rgba(0, 30, 26, 0.38) 0%,
      transparent 22%
    );
}

/* Left-positioned content */
.hero-left {
  position: relative;
  z-index: 2;
  margin-left: clamp(40px, 8vw, 140px);
  padding-top: 96px;
  padding-bottom: 80px;
  max-width: 660px;
  width: 100%;
}

.hero-content {
  color: var(--white);
  animation: fadeUp 1.1s var(--ease-out) 0.2s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

.hero-content .eyebrow {
  color: var(--white);
  letter-spacing: 0.20em;
  font-size: clamp(15px, 4vw, 18px);
  font-weight: 700;
  text-shadow: 0 1px 12px rgba(0, 20, 18, 0.5);
}

.hero-content h1 {
  color: var(--white);
  text-shadow: 0 2px 32px rgba(0, 20, 18, 0.45);
  font-size: clamp(30px, 4.6vw, 56px);
}

.hero-content h1 .line {
  display: block;
  white-space: nowrap;
}

.hero-content h1 .highlight {
  color: var(--brand-orange);
}

.hero-copy {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  text-shadow: 0 1px 16px rgba(0, 20, 18, 0.32);
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  animation: fadeUp 1.1s var(--ease-out) 0.42s both;
}

/* Slide indicators */
.slide-indicators {
  position: absolute;
  bottom: 32px;
  left: clamp(40px, 8vw, 140px);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: fadeUp 1.1s var(--ease-out) 0.65s both;
}

.indicator {
  height: 2px;
  width: 24px;
  padding: 8px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
}

.indicator::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%; transform: translateY(-50%);
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.30);
  transition: background 0.4s, width 0.4s var(--ease-out);
}

.indicator.active::after {
  background: var(--white);
  width: 40px;
}

.hero-image { display: none; }
.hero-stats  { display: none; }

/* === BUTTONS === */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 176px;
  min-height: 48px;
  padding: 12px 30px;
  border: 1.5px solid transparent;
  border-radius: 100px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  transition: all var(--transition);
}

/* White fill — dark green text (reads "confident + calm") */
.button.primary {
  background: var(--white);
  color: var(--brand-dark);
  border-color: var(--white);
}

.button.primary:hover {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.88);
}

/* Transparent outline */
.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.44);
  backdrop-filter: blur(8px);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.72);
}

/* Green fill — for CTAs on light sections */
.button.dark {
  background: var(--brand-dark);
  color: var(--white);
  border-color: var(--brand-dark);
}

.button.dark:hover {
  background: var(--brand-mid);
  border-color: var(--brand-mid);
}

/* === SECTION STRUCTURE === */

.section {
  width: 100%;
  margin: 0;
  padding: 0;
}

.section-inner {
  width: min(1200px, calc(100% - 80px));
  margin: 0 auto;
  padding: 120px 0;
}

/* === INTRO — brand dark green === */

.intro { background: var(--brand-dark); }

.intro .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 140px;
  padding-bottom: 140px;
}

.intro h2 { max-width: 800px; color: var(--white); }

.intro .section-inner > p {
  max-width: 540px;
  color: var(--muted-w);
  font-size: 16px;
  font-weight: 400;
  margin: 0;
}

/* === PRODUCTS — off-white === */

.product-section { background: var(--off-white); }

.section-heading {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-heading h2 { color: var(--brand-dark); }

.product-section .section-heading { max-width: 860px; }
.product-section .section-heading .eyebrow { margin-bottom: 32px; }
#products-title { font-size: clamp(28px, 3.4vw, 42px); }
#products-title .nowrap { white-space: nowrap; }
.section-heading p  {
  color: var(--muted-d);
  font-size: 16px;
  font-weight: 400;
  margin: 0;
}

/* Showcase — pack slideshow + editorial detail */
.product-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: center;
}

/* --- Pack slideshow --- */
.product-gallery { position: relative; }

.gallery-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--border-d);
  box-shadow: 0 26px 64px rgba(0, 71, 66, 0.10);
  overflow: hidden;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 46px);
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.gallery-slide.active { opacity: 1; transform: none; }

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 22px;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 55, 50, 0.20);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.gallery-dot:hover  { background: rgba(0, 55, 50, 0.38); }
.gallery-dot.active { background: var(--brand-mid); transform: scale(1.25); }

/* --- Detail: ON / OFF moments as an editorial split --- */
.moment-list { margin-bottom: 38px; }

.moment {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 26px;
  align-items: start;
  padding: 26px 0;
}

.moment + .moment { border-top: 1px solid var(--border-d); }

.moment-side {
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}

.moment.pre  .moment-side { color: var(--brand-orange); }
.moment.post .moment-side { color: var(--brand-mid); }

.moment h3 { color: var(--brand-dark); font-size: 17px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 6px; }
.moment p  { color: var(--muted-d); font-size: 14.5px; line-height: 1.65; margin: 0; }

/* --- Spec table --- */
.product-specs { margin: 0 0 36px; }

.product-specs > div {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--border-d);
}

.product-specs > div:last-child { border-bottom: 1px solid var(--border-d); }

.product-specs dt {
  margin: 0;
  color: var(--muted-d);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-top: 2px;
}

.product-specs dd {
  margin: 0;
  color: var(--brand-dark);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
}

.product-specs .hl { color: var(--brand-orange-deep); font-weight: 700; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-mid);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: opacity 0.3s, gap 0.3s;
}

.text-link::after { content: '→'; }

.text-link:hover { opacity: 0.72; gap: 10px; }

/* === INGREDIENTS ("Inside every bite") — editorial index on deep green === */

.science { background: var(--brand-deep); }

.ingredient-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.ingredient-head h2 { color: var(--white); }
.ingredient-head p  { color: var(--muted-w); font-size: 16px; margin: 0; }

/* Numbered index list */
.ingredient-index {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border-w);
}

.ingredient-index li {
  display: grid;
  grid-template-columns: 64px minmax(180px, 1fr) 1.5fr;
  gap: clamp(20px, 5vw, 64px);
  align-items: baseline;
  padding: clamp(28px, 3.4vw, 40px) 0;
  border-bottom: 1px solid var(--border-w);
  transition: background 0.4s var(--ease-out);
}

.ingredient-index li:hover { background: rgba(255, 255, 255, 0.02); }

.ing-no {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1;
  color: var(--brand-orange);
  font-variant-numeric: tabular-nums;
}

.ing-main h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ing-benefit {
  margin: 0;
  color: var(--brand-mid);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ing-desc {
  margin: 0;
  color: var(--muted-w);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.7;
}

/* Closing line */
.ingredient-footline {
  margin: clamp(44px, 6vw, 72px) 0 0;
  max-width: 760px;
  color: var(--white);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.ingredient-footline span { display: block; color: var(--brand-orange); }

/* Science notes keep the ingredient index's existing grid and brand palette. */
.ing-desc > p { margin: 0; font-size: inherit; line-height: inherit; }

.science-link {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--off-white);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: var(--brand-orange);
  cursor: pointer;
  transition: color 0.2s var(--ease-out);
}

.science-link:hover { color: var(--brand-orange-soft); }

dialog.science-note {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(520px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  padding: clamp(24px, 5vw, 36px);
  border: 1px solid var(--border-w);
  border-radius: 16px;
  background: var(--brand-deep);
  color: var(--off-white);
  font: inherit;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  user-select: text;
  -webkit-user-select: text;
}

.science-note::backdrop {
  background: rgba(0, 30, 27, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: scienceBackdrop 0.25s var(--ease-out) both;
}

.science-note .science-note-close {
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  background: var(--brand-card);
  color: var(--off-white);
}

.science-note .science-note-close:hover { background: var(--brand-mid); }

.science-note-label {
  margin: 0 32px 24px 0;
  color: var(--brand-orange-soft);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.science-note h2 { margin-bottom: 10px; font-size: clamp(23px, 5vw, 30px); }
.science-note-purpose { margin: 0 0 24px; color: var(--muted-w); font-size: 10px; letter-spacing: 0.12em; }
.science-note-block { padding-top: 18px; border-top: 1px solid var(--border-w); }
.science-note .science-note-block h3 { margin: 0 0 8px; color: var(--off-white); font-size: 13px; }
.science-note-block p { margin: 0 0 18px; color: var(--muted-w); font-size: 13px; line-height: 1.7; }
.science-note-study { margin-top: 0; }

.science-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@keyframes scienceBackdrop { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  dialog.science-note, .science-note::backdrop { animation: none; }
  .science-link { transition: none; }
}

/* === REVIEWS — testimonial grid on white === */

.reviews { background: var(--white); }

.reviews-head {
  margin: 0 auto clamp(40px, 6vw, 60px);
  text-align: center;
}

.reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--brand-orange);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* delicate flanking lines for an elegant, text-only eyebrow */
.reviews-badge::before,
.reviews-badge::after {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.reviews-head h2 {
  margin: 0;
  color: var(--brand-dark);
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

/* Grid of cards */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.8vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Per-card drop rotation */
.review-grid .tcard {
  transition:
    transform 0.5s var(--ease-out),
    opacity 0.5s var(--ease-out),
    border-color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}

/* leaving: drop down and fade out — slow, gentle disappear */
.tcard.is-dropping {
  transition:
    transform 1.1s var(--ease-out),
    opacity 1.1s var(--ease-out);
  transform: translateY(26px);
  opacity: 0;
}

/* entering: start lifted above + hidden, then transitions into place */
.tcard.is-entering {
  transform: translateY(-22px);
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .review-grid .tcard { transition: none; }
  .tcard.is-dropping, .tcard.is-entering { opacity: 1; transform: none; }
}

.tcard {
  display: flex;
  flex-direction: column;
  padding: 28px 28px 24px;
  background: var(--white);
  border: 1px solid var(--border-d);
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(0, 55, 50, 0.05);
  transition: border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.tcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 55, 50, 0.1);
  border-color: rgba(201, 115, 65, 0.45);
}

.tcard-quote {
  width: 30px;
  height: 30px;
  color: rgba(0, 55, 50, 0.18);
}

.tcard blockquote {
  margin: 16px 0 26px;
  color: var(--muted-d);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
}

.tcard figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.tavatar {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-mid);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
}

.tcard:nth-child(3n+2) .tavatar { background: var(--brand-orange); }
.tcard:nth-child(3n+3) .tavatar { background: #1f6f63; }

.tmeta { display: flex; flex-direction: column; line-height: 1.3; }
.tmeta strong { color: var(--brand-dark); font-size: 14px; font-weight: 600; }
.tmeta em { color: var(--muted-d); font-size: 12.5px; font-style: normal; }

.trating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--off-white-2);
  border: 1px solid var(--border-d);
  color: var(--brand-dark);
  font-size: 12.5px;
  font-weight: 700;
}

.trating svg { width: 12px; height: 12px; color: var(--brand-orange); }

/* Write-a-review CTA */
.reviews-cta { margin-top: 26px; gap: 9px; }
.reviews-cta-icon { width: 16px; height: 16px; flex: none; }

/* Review modal */
.review-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 30, 27, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.review-modal.open { display: flex; }

.review-dialog {
  position: relative;
  width: min(480px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(28px, 4vw, 40px);
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 20, 18, 0.35);
  animation: reviewPop 0.35s var(--ease-out) both;
}

@keyframes reviewPop {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

.review-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: var(--off-white-2);
  color: var(--brand-dark);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s;
}
.review-close:hover { background: #e6e9e6; }

.review-dialog h3 {
  margin: 0 0 6px;
  color: var(--brand-dark);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
}

.review-dialog-sub {
  margin: 0 0 22px;
  color: var(--muted-d);
  font-size: 14px;
  line-height: 1.55;
}

/* Form */
.review-form { display: grid; gap: 16px; }

.review-field { display: grid; gap: 6px; margin: 0; padding: 0; border: none; }
.review-field > span,
.review-field > legend {
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 0;
}
.review-field em { color: var(--muted-d); font-weight: 400; font-style: normal; }

.review-field input,
.review-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-d);
  border-radius: 12px;
  background: var(--off-white);
  color: var(--brand-dark);
  font: inherit;
  font-size: 14px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.review-field input:focus,
.review-field textarea:focus {
  outline: none;
  border-color: var(--brand-mid);
  box-shadow: 0 0 0 3px rgba(0, 115, 99, 0.14);
}
.review-field textarea { resize: vertical; min-height: 96px; }

/* Star rating input (reversed row so hover fills leftward) */
.rating-input { gap: 8px; }
.stars-input {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}
.stars-input input { position: absolute; opacity: 0; pointer-events: none; }
.stars-input label {
  font-size: 30px;
  line-height: 1;
  color: var(--border-d);
  cursor: pointer;
  transition: color 0.15s, transform 0.15s;
}
.stars-input label:hover { transform: scale(1.12); }
.stars-input input:checked ~ label,
.stars-input label:hover,
.stars-input label:hover ~ label { color: var(--brand-orange); }

.review-hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.review-form .button { width: 100%; margin-top: 4px; }

.review-form-msg {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  min-height: 1em;
}
.review-form-msg.is-error   { color: #b25f30; }
.review-form-msg.is-success { color: var(--brand-mid); font-weight: 600; }

/* === CONTACT — closing CTA (brand dark green) === */

.contact { background: var(--brand-dark); }

.contact-inner {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

.contact .eyebrow {
  color: var(--brand-orange);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}

.contact h2 {
  color: var(--white);
  font-size: clamp(34px, 6vw, 66px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.contact-sub {
  max-width: 520px;
  margin: 0 auto 40px;
  color: var(--muted-w);
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 400;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 44px;
}

.contact-actions .button { gap: 10px; }

.btn-icon { width: 18px; height: 18px; flex-shrink: 0; }

.button.btn-orange {
  background: var(--brand-orange);
  color: var(--white);
  border-color: var(--brand-orange);
  box-shadow: 0 12px 30px rgba(201, 115, 65, 0.28);
}

.button.btn-orange:hover {
  background: var(--brand-orange-deep);
  border-color: var(--brand-orange-deep);
}

.button.btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
}

.button.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.14);
}

.contact-tagline {
  margin: 0;
  color: var(--muted-w);
  font-size: clamp(12px, 2vw, 14px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-tagline span:first-child { color: #5bbfa9; }
.contact-tagline span:last-child  { color: var(--brand-orange); }

/* === FOOTER === */

.site-footer {
  background: var(--brand-deep);
  border-top: 1px solid var(--border-w);
  color: var(--muted-w);
}

.footer-inner {
  width: min(1200px, calc(100% - 80px));
  margin: 0 auto;
  /* extra bottom room so the fixed order bar sits within the footer, not in a void */
  padding: 56px 0 84px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr auto;
  gap: 48px;
  align-items: start;
}

.footer-brand { display: grid; gap: 18px; }

.footer-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.footer-brand p {
  margin: 0;
  max-width: 340px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--muted-w);
}

/* Quick links */
.footer-nav { display: flex; flex-direction: column; gap: 13px; }
.footer-nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.3s var(--ease-out);
}
.footer-nav a:hover { color: var(--white); }

/* Social icons */
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-w);
  color: var(--white);
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.footer-social a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
}
.footer-social svg { width: 18px; height: 18px; }

/* Bottom row */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--border-w);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-tag { letter-spacing: 0.02em; }
.footer-tag b { color: var(--brand-orange); font-weight: 700; }

/* === QUESTION BAR === */

.question-bar {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(560px, calc(100% - 32px));
  min-height: 52px;
  padding: 10px 22px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 100px;
  background: rgba(0, 38, 34, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.question-bar span { color: var(--white); font-size: 13px; font-weight: 600; white-space: nowrap; }

.question-bar p {
  margin: 0;
  flex: 1;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.question-bar a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 18px;
  border-radius: 100px;
  background: var(--brand-orange);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background 0.3s, transform 0.3s var(--ease-out);
}

.question-bar a .qb-icon { width: 14px; height: 14px; flex: none; }

.question-bar a:hover { background: var(--brand-orange-deep); transform: translateY(-1px); }

/* === ERROR === */

.load-error {
  position: fixed;
  z-index: 40;
  top: 12px;
  left: 50%;
  width: min(520px, calc(100% - 32px));
  margin: 0;
  padding: 14px 18px;
  transform: translateX(-50%);
  border: 1px solid var(--border-w);
  border-radius: 10px;
  background: var(--brand-dark);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
}

/* === RESPONSIVE === */

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 0 20px;
    min-height: 68px;
  }

  .nav-links { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .brand-logo { height: 36px; width: auto; }

  .hero-left {
    margin-left: 24px;
    margin-right: 24px;
    padding-top: 80px;
    padding-bottom: 72px;
    max-width: 100%;
  }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .slide-indicators { left: 24px; bottom: 24px; }
  .button { min-width: unset; width: 100%; }

  .section-inner { width: calc(100% - 48px); padding: 96px 0; }

  .product-showcase       { grid-template-columns: 1fr; gap: 44px; }
  .product-gallery        { max-width: 460px; margin: 0 auto; width: 100%; }

  .ingredient-index li {
    grid-template-columns: 48px 1fr;
    gap: 8px 20px;
    align-items: start;
  }
  .ing-desc { grid-column: 1 / -1; }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .header-cta { display: none; }

  .hero-left { margin-left: 20px; margin-right: 20px; padding-top: 88px; }
  .slide-indicators { left: 20px; }

  .section-inner { width: calc(100% - 32px); padding: 80px 0; }

  .moment          { grid-template-columns: 46px 1fr; gap: 18px; }
  .moment-side     { font-size: 26px; }
  .product-specs > div { grid-template-columns: 92px 1fr; gap: 14px; }

  .review-grid { grid-template-columns: 1fr; }

  .footer-inner { width: calc(100% - 40px); padding: 40px 0 78px; }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .question-bar p { display: none; }
  .question-bar   { border-radius: 14px; }
}

/* Hallmark · existing editorial structure · RECOFF green/orange · in-place refinement
   Pre-emit critique: Philosophy 5 · Hierarchy 4 · Execution 4 · Specificity 5 · Restraint 5 · Variety 4 */
html, body { overflow-x: clip; }
html { scroll-padding-top: 104px; }
body { font-family: var(--font-brand); user-select: text; -webkit-user-select: text; }
h1, h2, h3 { min-width: 0; overflow-wrap: anywhere; text-wrap: balance; }
p { text-wrap: pretty; }
.section-inner { padding-block: var(--space-section); }
.section-inner > :last-child { margin-bottom: 0; }
[data-reveal] { opacity: 1; transform: none; }
[data-reveal].reveal-pending { opacity: 0; transform: translateY(12px); transition-duration: 400ms; }
[data-reveal].revealed { opacity: 1; transform: none; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 500;
  padding: 12px 20px;
  color: var(--brand-deep);
  background: var(--off-white);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.site-header { background: var(--surface-header); min-height: 80px; }
.site-header.scrolled { background: var(--surface-header); backdrop-filter: none; }
.header-cta { color: var(--brand-deep); background: var(--brand-orange); border-color: var(--brand-orange); text-shadow: none; }
.header-cta:hover { background: var(--brand-orange-soft); border-color: var(--brand-orange-soft); }
.nav-links a, .header-cta, .footer-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.mobile-menu { background: var(--brand-deep); max-height: calc(100dvh - 68px); overflow-y: auto; overscroll-behavior: contain; }
.hero { min-height: min(900px, 100svh); }
.hero-left { width: min(680px, calc(100% - 80px)); margin-left: max(40px, calc((100vw - 1200px) / 2)); padding-block: 160px 144px; }
.hero-content h1 { font-size: clamp(34px, 4.1vw, 58px); line-height: 1.12; letter-spacing: -0.04em; }
.hero-content h1 .line { white-space: normal; }
.hero-content .eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; margin-bottom: 24px; }
.hero-copy { max-width: 48ch; font-size: clamp(15px, 1.3vw, 17px); }
.hero-actions { margin-top: 28px; }
.button { transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.button.primary, .button.btn-orange { background: var(--brand-orange); border-color: var(--brand-orange); color: var(--brand-deep); box-shadow: none; }
.button.primary:hover, .button.btn-orange:hover { background: var(--brand-orange-soft); border-color: var(--brand-orange-soft); color: var(--brand-deep); }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button:disabled { opacity: 0.6; cursor: wait; transform: none; }
.button.secondary, .button.btn-outline { backdrop-filter: none; }
.slide-indicators { left: max(40px, calc((100vw - 1200px) / 2)); bottom: 96px; gap: 4px; }
.indicator { width: 44px; height: 44px; padding: 0; }
.indicator::after { left: 8px; right: 8px; }
.indicator.active::after { width: auto; background: var(--off-white); }
.intro .section-inner { padding-block: var(--space-section); align-items: flex-start; text-align: left; }
.intro .eyebrow, .ingredient-head .eyebrow { color: var(--brand-orange-soft); font-size: 11px; letter-spacing: 0.2em; margin-bottom: 20px; }
.intro .section-inner > p { max-width: 62ch; color: var(--text-muted-dark); }
.intro h2 { max-width: 800px; }
.activity-list { display: flex; flex-wrap: wrap; gap: 12px 28px; padding: 24px 0 0; margin: 28px 0 0; border-top: 1px solid var(--border-w); list-style: none; font-size: 13px; color: var(--off-white); }
.activity-list li { white-space: nowrap; }
.product-section .section-heading { text-align: left; margin: 0 0 40px; }
.product-section .section-heading .eyebrow { margin-bottom: 16px; }
#products-title { font-size: clamp(30px, 3.8vw, 48px); }
.section-heading p, .moment p, .product-directions, .product-specs dt, .tmeta em, .tcard blockquote, .review-dialog-sub { color: var(--text-muted-light); }
.gallery-stage { box-shadow: none; }
.gallery-dots { gap: 4px; margin-top: 16px; }
.gallery-dot { width: 44px; height: 44px; border-radius: 0; background: transparent; position: relative; }
.gallery-dot::after { content: ''; position: absolute; width: 8px; height: 8px; border-radius: 50%; inset: 18px; background: var(--text-muted-light); }
.gallery-dot.active, .gallery-dot:hover { background: transparent; transform: none; }
.gallery-dot.active::after { background: var(--brand-mid); transform: scale(1.25); }
.gallery-slide { visibility: hidden; }
.gallery-slide.active { visibility: visible; }
.product-science-link { display: flex; width: fit-content; min-height: 44px; margin: 0 0 16px; }
.product-directions { font-size: 12px; margin-bottom: 8px; }
.ing-benefit { color: var(--brand-orange-soft); line-height: 1.6; }
.ing-desc, .ingredient-head p { color: var(--text-muted-dark); }
.ingredient-index li { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 56px); }
.ing-main { min-width: 0; }
.science-link { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; }
.science-note-block p, .science-note-purpose { color: var(--text-muted-dark); }
.science-note-block p { font-size: 14px; }
.science-note .science-note-close, .review-close { width: 44px; height: 44px; }
.science-note-label { margin-right: 40px; }
.reviews-head { text-align: left; margin-bottom: 32px; }
.reviews-badge { color: var(--brand-orange-deep); font-size: 11px; letter-spacing: 0.2em; margin-bottom: 16px; }
.reviews-badge::before, .reviews-badge::after { display: none; }
.reviews-head h2, .contact h2 { font-weight: 600; }
.review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tcard { padding: 24px; box-shadow: none; }
.tmeta { min-width: 0; overflow-wrap: anywhere; }
.tcard figcaption { flex-wrap: wrap; }
.review-status { color: var(--text-muted-light); margin: 0; }
[hidden] { display: none !important; }
dialog.review-modal { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; border: 0; background: transparent; color: var(--brand-dark); }
dialog.review-modal[open] { display: flex; }
.review-modal::backdrop { background: var(--brand-deep); opacity: 0.8; }
.review-modal .review-dialog { max-height: calc(100dvh - 48px); }
.review-dialog > h3 { padding-right: 36px; }
.stars-input input:focus-visible + label { outline: 2px solid var(--focus-on-light); outline-offset: 3px; }
.product-section :focus-visible, .reviews :focus-visible { outline-color: var(--focus-on-light); }
.contact .eyebrow { color: var(--brand-orange-soft); font-size: 11px; letter-spacing: 0.2em; margin-bottom: 20px; }
.contact h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1.12; }
.contact-sub, .footer-brand p { color: var(--text-muted-dark); }
.footer-nav { gap: 0; }
.footer-social a { width: 44px; height: 44px; }
.footer-bottom { color: var(--text-muted-dark); }
.question-bar { background: var(--brand-deep); backdrop-filter: none; bottom: max(12px, env(safe-area-inset-bottom)); }
.question-bar a { color: var(--brand-deep); min-height: 44px; }
.question-bar a:hover { background: var(--brand-orange-soft); }
.footer-inner { padding-bottom: 112px; }

@media (max-width: 900px) {
  html { scroll-padding-top: 84px; }
  .site-header { min-height: 68px; }
  .hero-left { width: calc(100% - 48px); margin-inline: 24px; padding-block: 116px 168px; }
  .hero-content h1 { font-size: clamp(34px, 5.6vw, 50px); }
  .hero-actions { flex-direction: row; align-items: center; }
  .hero-actions .button { width: auto; }
  .slide-indicators { left: 24px; bottom: 92px; }
  .product-showcase { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ingredient-index li { grid-template-columns: 40px minmax(0, 1fr); gap: 12px 16px; }
  .ing-desc { grid-column: 2; }
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .hero { min-height: 760px; min-height: max(720px, 100svh); }
  .hero-left { width: calc(100% - 40px); margin-inline: 20px; padding-block: 112px 168px; }
  .hero-content h1 { font-size: clamp(31px, 8.1vw, 42px); }
  .hero-content h1 .line { max-width: 14ch; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .button { width: 100%; }
  .slide-indicators { left: 20px; }
  .section-inner { width: calc(100% - 40px); }
  .ingredient-head { margin-bottom: 32px; }
  .ingredient-index li { padding-block: 28px; }
  .ing-main h3 { font-size: 21px; }
  .ing-benefit { font-size: 10px; letter-spacing: 0.08em; }
  .review-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-actions { gap: 12px; }
  .contact-tagline { letter-spacing: 0.04em; }
  .question-bar { justify-content: space-between; gap: 8px; padding: 8px 12px; }
  .question-bar span { font-size: 12px; }
  .question-bar a { padding-inline: 14px; }
  .footer-top { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal].reveal-pending { opacity: 1; transform: none; }
  .slide.active { animation: none; }
  .button:hover, .tcard:hover { transform: none; }
}
@media (max-width: 900px) {
  .header-cta { display: none; }
}

/* Product-use sequence: show the two supplement moments around the activity. */
.session-routine {
  margin: 0 0 clamp(40px, 5vw, 64px);
  padding: clamp(24px, 3.4vw, 40px);
  background: var(--brand-dark);
  color: var(--off-white);
}
.session-routine-head { max-width: 680px; margin-bottom: 32px; }
.session-routine-head .eyebrow { color: var(--brand-orange-soft); margin-bottom: 12px; }
.session-routine-head h3 { margin: 0 0 12px; font-size: clamp(28px, 3.2vw, 40px); font-weight: 600; line-height: 1.15; letter-spacing: -0.03em; }
.session-routine-head > p:last-child { color: var(--text-muted-dark); margin: 0; }
.session-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); padding: 0; margin: 0; list-style: none; }
.session-step { min-width: 0; }
.session-step-label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 0 0 12px; border-bottom: 1px solid var(--border-w); margin-bottom: 16px; font-size: 11px; font-weight: 600; letter-spacing: 0.09em; }
.session-step-label > span:last-child { color: var(--text-muted-dark); font-variant-numeric: tabular-nums; }
.session-before .session-step-label, .session-after .session-step-label { color: var(--brand-orange-soft); }
.session-step-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--brand-deep); }
.session-step-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.session-during .session-step-photo img { object-position: center 65%; }
.session-tablet-count { position: absolute; left: 12px; bottom: 12px; display: flex; align-items: baseline; gap: 6px; padding: 6px 12px; background: var(--brand-orange-soft); color: var(--brand-deep); font-size: 28px; font-weight: 600; line-height: 1.1; }
.session-after .session-tablet-count { background: var(--brand-deep); color: var(--off-white); }
.session-tablet-count small { font-size: 11px; font-weight: 500; }
.session-step h4 { margin: 18px 0 8px; font-size: 16px; line-height: 1.4; font-weight: 600; }
.session-step > p { margin: 0; color: var(--text-muted-dark); font-size: 13px; line-height: 1.7; }
.session-routine-note { border-top: 1px solid var(--border-w); margin: 28px 0 0; padding-top: 18px; color: var(--text-muted-dark); font-size: 12px; }
@media (max-width: 560px) {
  .session-steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .session-step-photo { aspect-ratio: 16 / 9; }
  .session-step h4 { margin-top: 14px; }
  .session-routine-head { margin-bottom: 28px; }
  .session-routine { margin-inline: -4px; padding: 24px; }
}

/* Hallmark · section: product-use journey · genre: editorial · RECOFF brand
   Pre-emit critique: Philosophy 5 · Hierarchy 5 · Execution 4 · Specificity 5 · Restraint 5 · Variety 4 */
.session-routine {
  margin-inline: 0;
  padding: var(--space-routine-inset);
  background: var(--brand-deep);
  font-family: var(--font-brand);
}
.session-routine-head {
  display: grid;
  gap: 20px;
  max-width: none;
  margin-bottom: 36px;
}
.session-routine-head .eyebrow {
  margin-bottom: 20px;
  color: var(--brand-orange-soft);
  font-size: 10px;
  letter-spacing: 0.18em;
}
.session-routine-head h3 {
  margin: 0;
  font-size: var(--text-routine-display);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.05em;
  text-wrap: initial;
}
.session-routine-head h3 > span { display: block; }
.session-dose { color: var(--brand-orange); }
.session-routine-head > p:last-child {
  max-width: 36ch;
  font-size: 13px;
  line-height: 1.8;
}
.session-steps {
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}
.session-step {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-inline-start: 40px;
}
.session-step:not(:last-child)::before {
  content: '';
  position: absolute;
  inset-inline-start: 13px;
  top: 28px;
  bottom: -32px;
  border-inline-start: 1px solid var(--border-w);
}
.session-step-label {
  position: relative;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin: 0 0 16px -40px;
  padding: 0;
  border: 0;
  background: var(--brand-deep);
  color: var(--brand-orange-soft);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.session-step-label > span:last-child { color: inherit; }
.session-step-index {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--brand-orange);
  border-radius: 50%;
  color: var(--brand-orange-soft);
  font-size: 9px;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.session-step-photo {
  flex-shrink: 0;
  aspect-ratio: 3 / 2;
  background: var(--brand-card);
}
.session-step-photo img {
  object-position: center;
  transition: transform var(--dur-routine) var(--ease-out);
}
.session-during .session-step-photo img { object-position: center 65%; }
.session-step-copy {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 14px;
  background: var(--brand-card);
}
.session-step-copy > div { min-width: 0; }
.session-step-copy .session-tablet-count {
  position: static;
  display: block;
  flex: 0 0 auto;
  margin: 0;
  padding: 0 14px 0 0;
  border-inline-end: 1px solid var(--border-w);
  background: none;
  color: var(--brand-orange-soft);
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}
.session-tablet-count span {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
}
.session-step-copy h4 {
  min-width: 0;
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  text-wrap: balance;
}
.session-step-copy p:not(.session-tablet-count) {
  margin: 0;
  color: var(--text-muted-dark);
  font-size: 12px;
  line-height: 1.7;
}
.session-during .session-step-label { color: var(--text-muted-dark); }
.session-during .session-step-index { border-color: var(--border-w); color: var(--text-muted-dark); }
.session-during .session-step-copy { flex-direction: column; gap: 0; }
.session-during .session-step-copy h4 { color: var(--off-white); }
.session-after .session-tablet-count { color: var(--off-white); }
.session-routine-note {
  display: grid;
  gap: 10px;
  margin-top: 32px;
  padding-top: 20px;
  font-size: 12px;
  line-height: 1.8;
}
.session-routine-note p { margin: 0; font-size: inherit; line-height: inherit; }
.session-routine-format { color: var(--off-white); font-weight: 500; }
.session-routine-format span { display: block; }

@media (min-width: 40rem) {
  .session-routine-head h3 > span { display: inline-block; }
  .session-routine-head { gap: 20px; margin-bottom: 40px; }
  .session-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-routine-gap);
  }
  .session-steps::before {
    content: '';
    position: absolute;
    top: 14px;
    inset-inline: 14px;
    border-top: 1px solid var(--border-w);
  }
  .session-step { padding: 0; }
  .session-step:not(:last-child)::before { display: none; }
  .session-step-label { gap: 8px; padding-inline-end: 12px; margin: 0 0 20px; font-size: 9px; }
  .session-step-photo { aspect-ratio: 4 / 3; }
  .session-step-copy { flex: 1; gap: 12px; padding: 20px 14px; }
  .session-step-copy .session-tablet-count { font-size: 36px; padding-inline-end: 12px; }
  .session-step-copy h4 { font-size: 14px; }
  .session-routine-note { margin-top: 36px; }
  .session-routine-format span { display: inline; }
}
@media (min-width: 60rem) {
  .session-routine-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 32px;
    margin-bottom: 48px;
  }
  .session-routine-head > p:last-child { max-width: 31ch; padding-bottom: 3px; font-size: 12px; }
  .session-step-label { gap: 12px; font-size: 10px; }
  .session-step-copy { padding: 20px; gap: 16px; }
  .session-step-copy .session-tablet-count { padding-inline-end: 16px; font-size: 42px; }
  .session-step-copy h4 { font-size: 16px; }
  .session-step-copy p:not(.session-tablet-count) { font-size: 12px; }
  .session-routine-note {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    font-size: 12px;
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .session-step-photo:hover img { transform: scale(1.025); }
}
@media (prefers-reduced-motion: reduce) {
  .session-step-photo img { transition: none; transform: none; }
}

/* Hallmark · section: product feature · genre: editorial · existing RECOFF brand
   Pre-emit critique: Philosophy 5 · Hierarchy 5 · Execution 4 · Specificity 5 · Restraint 5 · Variety 4 */
.product-showcase {
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  color: var(--brand-dark);
}
.product-gallery {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border-d);
  border-radius: 4px;
  overflow: clip;
}
.gallery-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 20px 0;
  color: var(--text-muted-light);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.6;
}
.gallery-counter { flex-shrink: 0; font-variant-numeric: tabular-nums; }
.gallery-counter > span:first-child { color: var(--brand-dark); font-weight: 600; }
.gallery-stage {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.gallery-slide {
  padding: 12px;
  transform: none;
  transition: opacity var(--dur-enter) var(--ease-out);
}
.gallery-slide.active { transform: none; }
.product-gallery .gallery-dots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0 16px 16px;
}
.product-gallery .gallery-dot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  height: auto;
  min-height: 80px;
  padding: 8px 4px 12px;
  border: 1px solid var(--border-d);
  border-radius: 2px;
  background: var(--white);
  color: var(--text-muted-light);
  font-family: var(--font-brand);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  transform: none;
  transition: opacity var(--dur-short) var(--ease-out);
}
.product-gallery .gallery-dot img { width: 40px; height: 40px; object-fit: contain; }
.product-gallery .gallery-dot::after {
  inset: auto 12px 0;
  width: auto;
  height: 2px;
  border-radius: 0;
  background: var(--brand-orange);
  opacity: 0;
  transform: none;
  transition: opacity var(--dur-short) var(--ease-out);
}
.product-gallery .gallery-dot.active {
  border-color: var(--brand-dark);
  color: var(--brand-dark);
  font-weight: 600;
}
.product-gallery .gallery-dot.active::after { opacity: 1; transform: none; }
.product-gallery .gallery-dot:hover { border-color: var(--brand-mid); color: var(--brand-dark); transform: none; }
.product-gallery .gallery-dot:active { opacity: 0.65; }
.product-gallery .gallery-dot:disabled { opacity: 0.5; cursor: not-allowed; }
.product-gallery .gallery-dot:focus-visible { outline: 2px solid var(--focus-on-light); outline-offset: 3px; }
.product-detail { min-width: 0; }
.product-introduction { margin-bottom: 28px; }
.product-introduction h3 {
  margin: 0 0 16px;
  color: var(--brand-dark);
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.045em;
}
.product-introduction > p {
  max-width: 40ch;
  margin: 0;
  color: var(--text-muted-light);
  font-size: 14px;
  line-height: 1.8;
}
.product-specs { margin: 0; }
.product-specs > div {
  display: block;
  padding: 20px 0;
  border-top: 1px solid var(--border-d);
}
.product-specs > div:first-child { padding-top: 0; border-top: 0; }
.product-specs > div:last-child { border-bottom: 0; }
.product-specs dt {
  margin: 0 0 10px;
  padding: 0;
  color: var(--text-muted-light);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.6;
}
.product-specs dd { font-size: 14px; font-weight: 400; line-height: 1.7; }
.product-format dd { font-size: 20px; font-weight: 500; line-height: 1.45; letter-spacing: -0.02em; }
.product-flavor {
  display: block;
  margin-top: 6px;
  color: var(--text-muted-light);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
}
.product-actives {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 8px 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 12px;
  line-height: 1.65;
}
.product-actives li { min-width: 0; }
.product-sachet dd {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.product-sachet dd > span { min-width: 0; }
.product-sachet dd > span + span { padding-inline-start: 16px; border-inline-start: 1px solid var(--border-d); }
.product-sachet strong {
  display: block;
  margin-bottom: 4px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.035em;
}
.product-sachet dd > span:last-child strong { color: var(--brand-orange-deep); }
.product-sachet dd > span > span { display: block; color: var(--text-muted-light); font-size: 10px; line-height: 1.6; }
.product-detail .product-science-link {
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 24px;
  padding-block: 4px;
  color: var(--brand-dark);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: var(--border-d);
  text-underline-offset: 5px;
  transition: opacity var(--dur-short) var(--ease-out);
}
.product-detail .product-science-link::after { content: '↗'; font-size: 16px; }
.product-detail .product-science-link:hover { gap: 12px; opacity: 1; text-decoration-color: var(--brand-dark); }
.product-detail .product-science-link:active { opacity: 0.65; }
.product-order .product-order-button {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 56px;
  padding: 16px 24px;
  border: 0;
  border-radius: 4px;
  background: var(--brand-orange);
  color: var(--text-on-accent);
  font-size: 12px;
  letter-spacing: 0.04em;
  transform: none;
  transition: opacity var(--dur-short) var(--ease-out);
}
.product-order-button > span:last-child { font-size: 22px; font-weight: 400; line-height: 1; }
.product-order .product-order-button:hover { background: var(--brand-orange-soft); transform: none; }
.product-order .product-order-button:active { opacity: 0.75; }
.product-order .product-order-button:focus-visible { outline: 2px solid var(--brand-deep); outline-offset: 3px; }
.product-order-context {
  margin: 12px 0 0;
  color: var(--text-muted-light);
  font-size: 10px;
  line-height: 1.7;
  text-align: center;
}
.product-detail .product-directions {
  max-width: 46ch;
  margin: 24px 0 0;
  color: var(--text-muted-light);
  font-size: 11px;
  line-height: 1.7;
}
@media (min-width: 40rem) {
  .gallery-meta { padding: 24px 28px 0; font-size: 11px; }
  .gallery-slide { padding: 20px; }
  .product-gallery .gallery-dots { padding: 0 24px 24px; gap: 12px; }
  .product-gallery .gallery-dot { flex-direction: row; gap: 12px; min-height: 72px; font-size: 12px; }
  .product-actives { font-size: 14px; }
  .product-detail { max-width: 600px; width: 100%; margin-inline: auto; }
  .product-introduction > p { font-size: 15px; }
  .product-order-context { font-size: 11px; }
  .product-sachet dd > span > span { font-size: 11px; }
  .product-detail .product-science-link { font-size: 12px; }
}
@media (min-width: 60rem) {
  .product-showcase { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(48px, 5.6vw, 80px); }
  .product-gallery { max-width: none; }
  .product-introduction { margin-bottom: 32px; }
  .product-actives { font-size: 12px; }
}
@media (min-width: 75rem) {
  .product-actives { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-slide { transition: none; transform: none; }
}

/* Hallmark · macrostructure: Existing RECOFF editorial layout · tone: calm, confident · anchor hue: green
   Approved design system · pre-emit critique: P5 H5 E4 S5 R5 V4 */
html {
  scroll-padding-top: calc(var(--header-height) + var(--space-6));
  scroll-padding-bottom: var(--order-bar-clearance);
}
body {
  --focus-ring: var(--color-focus-inverse);
  font-family: var(--font-brand);
  font-size: var(--text-body);
  line-height: var(--leading-body);
}
button, input, textarea { font-family: var(--font-brand); }
h1, h2, h3 { overflow-wrap: normal; }
h1 {
  font-size: var(--text-display);
  font-weight: var(--font-weight-semibold);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
}
h2 {
  margin-bottom: var(--space-heading);
  font-size: var(--text-section);
  font-weight: var(--font-weight-semibold);
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
}
h3 {
  font-size: var(--text-card);
  font-weight: var(--font-weight-semibold);
  line-height: var(--leading-card);
  letter-spacing: var(--tracking-card);
}
p { font-size: var(--text-body); line-height: var(--leading-body); }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.product-section, .reviews { --focus-ring: var(--color-focus); }
.section-inner, .footer-inner { width: var(--container-width); margin-inline: auto; }
.section-inner { padding-block: var(--space-section); }
.section-heading, .ingredient-head, .reviews-head { margin-bottom: var(--space-content); }
.section-heading p, .ingredient-head p, .intro .section-inner > p {
  font-size: var(--text-body);
  font-weight: var(--font-weight-regular);
  line-height: var(--leading-body);
}
.eyebrow, .hero-content .eyebrow, .intro .section-inner > .eyebrow,
.product-section .section-heading .eyebrow, .ingredient-head .eyebrow,
.session-routine-head .eyebrow, .contact .eyebrow, .reviews-badge {
  margin: 0 0 var(--space-heading);
  font-size: var(--text-label);
  font-weight: var(--font-weight-semibold);
  line-height: var(--leading-label);
  letter-spacing: var(--tracking-label);
}
.intro .section-inner > .eyebrow, .ingredient-head .eyebrow,
.session-routine-head .eyebrow, .contact .eyebrow { color: var(--color-accent-soft); }
.product-section .section-heading .eyebrow { color: var(--color-link); }
.reviews-badge { color: var(--color-accent-deep); }
.intro .section-inner > p:not(.eyebrow) { max-width: var(--measure-copy); }
.activity-list { gap: var(--space-3) var(--space-6); font-size: var(--text-small); }

.site-header {
  min-height: var(--header-height);
  padding-inline: var(--container-inset);
  gap: var(--space-6);
}
.brand { min-height: var(--touch-target); width: fit-content; overflow: visible; }
.brand-logo, .nav-toggle span { filter: none; box-shadow: none; }
.nav-links a, .footer-nav a {
  font-size: var(--text-action);
  font-weight: var(--font-weight-semibold);
  line-height: var(--leading-action);
  letter-spacing: var(--tracking-action);
  white-space: nowrap;
  text-shadow: none;
}
.nav-links a { padding-inline: var(--space-4); color: var(--color-text-inverse); border-radius: var(--radius-media); }
.nav-links a:hover { background: var(--color-surface-dark); }
.mobile-menu {
  top: var(--header-height);
  max-height: calc(100dvh - var(--header-height));
  padding-inline: var(--container-gutter);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.mobile-menu a { font-size: var(--text-action); line-height: var(--leading-action); letter-spacing: var(--tracking-action); }

.button, .header-cta, .mobile-cta, .question-bar a,
.product-order .product-order-button {
  min-height: var(--control-height);
  padding: var(--space-3) var(--space-6);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  gap: var(--space-2);
  font-family: var(--font-brand);
  font-size: var(--text-action);
  font-weight: var(--font-weight-semibold);
  line-height: var(--leading-action);
  letter-spacing: var(--tracking-action);
  white-space: nowrap;
  text-shadow: none;
  box-shadow: none;
  transform: none;
  transition: opacity var(--dur-short) var(--ease-out);
}
.button.primary, .button.btn-orange, .header-cta, .mobile-menu .mobile-cta,
.question-bar a, .product-order .product-order-button {
  background: var(--color-action);
  border-color: var(--color-action);
  color: var(--color-on-action);
}
.button.primary:hover, .button.btn-orange:hover, .header-cta:hover,
.mobile-cta:hover, .question-bar a:hover, .product-order .product-order-button:hover {
  background: var(--color-action-hover);
  border-color: var(--color-action-hover);
  color: var(--color-on-action);
}
.button:hover, .button:active, .question-bar a:hover,
.product-order .product-order-button:hover { transform: none; }
.button:active, .header-cta:active, .mobile-cta:active,
.question-bar a:active, .product-order .product-order-button:active { opacity: 0.8; }
.button:disabled { cursor: not-allowed; opacity: 0.6; }
.button.dark { background: var(--color-action-secondary); border-color: var(--color-action-secondary); color: var(--color-text-inverse); }
.button.dark:hover { background: var(--color-action-secondary-hover); border-color: var(--color-action-secondary-hover); }
.button.secondary, .button.btn-outline {
  background: transparent;
  color: var(--color-text-inverse);
  border-color: var(--color-text-inverse-muted);
}
.button.secondary:hover, .button.btn-outline:hover { background: var(--color-surface-dark); border-color: var(--color-text-inverse); }
.header-cta, .question-bar a { min-height: var(--touch-target); }
.mobile-cta { padding: var(--space-4) var(--space-6) !important; }
.btn-icon, .reviews-cta-icon, .question-bar a .qb-icon { width: 18px; height: 18px; flex: none; }
.product-order .product-order-button { justify-content: center; }
.product-order .product-order-button:focus-visible { outline-color: var(--focus-ring); }
.product-order-button > span:last-child { font-size: var(--text-card); }

.hero-left {
  width: min(660px, calc(100% - 2 * var(--container-gutter)));
  margin-left: var(--container-inset);
  margin-right: var(--container-gutter);
}
.hero-content h1 {
  font-size: var(--text-display);
  font-weight: var(--font-weight-semibold);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  text-shadow: none;
}
.hero-content h1 .line { max-width: none; }
.hero-content h1 .highlight { color: var(--color-accent-soft); }
.hero-content .eyebrow, .hero-copy { color: var(--color-text-inverse); text-shadow: none; }
.hero-copy { max-width: var(--measure-hero); font-size: var(--text-body); }
.hero-overlay {
  background: linear-gradient(90deg, var(--color-hero-scrim-strong) 0%, var(--color-hero-scrim-mid) 52%, var(--color-hero-scrim-clear) 100%);
}
.hero-actions { margin-top: var(--space-8); gap: var(--space-4); }
.slide-indicators { left: var(--container-inset); bottom: var(--order-bar-clearance); }
.slide { transition: opacity var(--dur-hero-fade) var(--ease-in-out); }
.slide.active { animation-duration: var(--dur-hero-zoom); }
.hero-content, .hero-actions, .slide-indicators { animation-duration: var(--dur-enter); }
.indicator::after { background: var(--color-text-inverse-muted); transition: opacity var(--dur-short) var(--ease-out); }
.indicator.active::after { background: var(--color-text-inverse); }
[data-reveal].reveal-pending { transition-duration: var(--dur-routine); }

#products-title, .reviews-head h2 {
  font-size: var(--text-section);
  font-weight: var(--font-weight-semibold);
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
}
.product-section .section-heading { margin-bottom: var(--space-content); }
.session-routine { margin-bottom: var(--space-content); }
.session-routine-head { gap: var(--space-6); margin-bottom: var(--space-content); }
.session-routine-head h3 { letter-spacing: var(--tracking-display); }
.session-routine-head > p:last-child { padding: 0; font-size: var(--text-small); line-height: var(--leading-small); }
.session-step-label { font-size: var(--text-label); letter-spacing: var(--tracking-action); gap: var(--space-2); }
.session-step-index { font-size: var(--text-label); }
.session-step-copy { padding: var(--space-5) var(--space-4); gap: var(--space-4); }
.session-step-copy h4 { margin-bottom: var(--space-2); font-size: var(--text-body); line-height: var(--leading-card); }
.session-step-copy p:not(.session-tablet-count) { font-size: var(--text-small); line-height: var(--leading-small); }
.session-step-copy .session-tablet-count { font-size: var(--text-routine-count); padding-inline-end: var(--space-4); }
.session-tablet-count span { font-size: var(--text-caption); line-height: var(--leading-caption); }
.session-routine-note { font-size: var(--text-caption); line-height: var(--leading-small); gap: var(--space-3); }
.session-routine-format span { display: inline; }

.product-showcase { gap: var(--space-content); }
.product-gallery { border-radius: var(--radius-media); }
.gallery-meta { padding: var(--space-6) var(--space-6) 0; font-size: var(--text-caption); line-height: var(--leading-caption); }
.product-gallery .gallery-dots { padding: 0 var(--space-4) var(--space-4); gap: var(--space-2); }
.product-gallery .gallery-dot { border-radius: var(--radius-media); font-size: var(--text-caption); line-height: var(--leading-caption); }
.product-introduction { margin-bottom: var(--space-8); }
.product-introduction h3 { font-size: var(--text-feature); line-height: var(--leading-feature); letter-spacing: var(--tracking-heading); }
.product-introduction > p { font-size: var(--text-body); line-height: var(--leading-body); }
.product-specs > div { padding-block: var(--space-5); }
.product-specs dt { margin-bottom: var(--space-2); font-size: var(--text-label); line-height: var(--leading-label); letter-spacing: var(--tracking-label); }
.product-specs dd, .product-actives { font-size: var(--text-body); line-height: var(--leading-body); }
.product-format dd { font-size: var(--text-card); line-height: var(--leading-card); }
.product-flavor { font-size: var(--text-small); line-height: var(--leading-small); }
.product-sachet strong { font-size: var(--text-stat); line-height: var(--leading-feature); }
.product-sachet dd > span > span { font-size: var(--text-caption); line-height: var(--leading-caption); }
.product-sachet dd > span + span { padding-inline-start: var(--space-3); }
.product-order-context, .product-detail .product-directions { font-size: var(--text-caption); line-height: var(--leading-caption); }
.text-link, .science-link, .product-detail .product-science-link {
  min-height: var(--touch-target);
  font-size: var(--text-action);
  line-height: var(--leading-small);
  letter-spacing: 0;
  text-transform: none;
  text-decoration: underline;
  text-underline-offset: 5px;
  gap: var(--space-2);
  transition: opacity var(--dur-short) var(--ease-out);
}
.text-link { color: var(--color-link); }
.text-link:hover, .product-detail .product-science-link:hover { opacity: 0.8; gap: var(--space-2); }
.product-detail .product-science-link { margin-bottom: var(--space-6); text-decoration-color: currentColor; }
.science-link { color: var(--color-link-inverse); }
.science-link:hover { color: var(--color-accent-soft); }
.ing-main h3 { font-size: var(--text-card); line-height: var(--leading-card); }
.ing-benefit { font-size: var(--text-label); line-height: var(--leading-label); letter-spacing: var(--tracking-label); }
.ing-desc { font-size: var(--text-body); line-height: var(--leading-body); }
.ingredient-index li { transition: none; }
.ingredient-index li:hover { background: transparent; }
.ingredient-footline { margin-top: var(--space-content); font-size: var(--text-card); line-height: var(--leading-card); }
.ingredient-footline span { color: var(--color-accent-soft); }

.review-grid { gap: var(--space-grid); }
.tcard { padding: var(--space-card); border-radius: var(--radius-card); box-shadow: none; }
.tcard:hover { transform: none; box-shadow: none; border-color: var(--color-border); }
.review-grid .tcard { transition: opacity var(--dur-enter) var(--ease-out), transform var(--dur-enter) var(--ease-out); }
.review-grid .tcard.is-dropping { transition-duration: var(--dur-review-drop); }
.tcard blockquote { margin: var(--space-4) 0 var(--space-6); color: var(--color-text-muted); font-size: var(--text-body); }
.tcard-quote { color: var(--color-text-muted); }
.tmeta strong { font-size: var(--text-small); }
.tmeta em, .trating { font-size: var(--text-caption); }
.tavatar, .tcard:nth-child(3n+3) .tavatar { background: var(--color-action-secondary-hover); }
.tcard:nth-child(3n+2) .tavatar { color: var(--color-on-action); background: var(--color-action); }
.reviews-cta { margin-top: var(--space-6); }

.review-modal { padding: var(--space-5); backdrop-filter: none; -webkit-backdrop-filter: none; }
.review-modal::backdrop, .science-note::backdrop {
  background: var(--color-backdrop);
  opacity: 1;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.science-note::backdrop { animation-duration: var(--dur-enter); }
.review-dialog, dialog.science-note {
  padding: var(--space-dialog);
  border-radius: var(--radius-dialog);
  font-family: var(--font-brand);
  box-shadow: none;
  overscroll-behavior: contain;
}
.review-modal .review-dialog {
  max-height: calc(100dvh - 2 * var(--space-5));
  animation-duration: var(--dur-enter);
}
dialog.science-note {
  width: min(520px, calc(100% - 2 * var(--space-5)));
  max-height: calc(100dvh - 2 * var(--space-5));
  overflow-y: auto;
}
.review-close, .science-note .science-note-close {
  display: grid;
  place-items: center;
  top: var(--space-4);
  right: var(--space-4);
  width: var(--touch-target);
  height: var(--touch-target);
  padding: 0;
  border-radius: var(--radius-round);
  font-size: var(--text-card);
  line-height: 1;
  transition: opacity var(--dur-short) var(--ease-out);
}
.review-close:hover { background: var(--color-bg-secondary); opacity: 0.8; }
.science-note .science-note-close { color: var(--color-text-inverse); background: var(--color-surface-dark); }
.science-note .science-note-close:hover { background: var(--color-action-secondary-hover); }
.review-dialog > h3, .science-note h2 {
  font-size: var(--text-dialog-title);
  font-weight: var(--font-weight-semibold);
  line-height: var(--leading-feature);
  letter-spacing: var(--tracking-heading);
  text-wrap: initial;
}
.review-dialog > h3 { margin-bottom: var(--space-3); padding-right: var(--space-12); }
.review-dialog-sub { margin-bottom: var(--space-6); font-size: var(--text-body); line-height: var(--leading-small); }
.science-note-label {
  margin: 0 var(--space-12) var(--space-6) 0;
  color: var(--color-accent-soft);
  font-size: var(--text-label);
  line-height: var(--leading-label);
  letter-spacing: var(--tracking-label);
}
.science-note h2 { margin-bottom: var(--space-3); }
.science-note-purpose { margin-bottom: var(--space-6); font-size: var(--text-label); line-height: var(--leading-label); letter-spacing: var(--tracking-label); }
.science-note-block { padding-top: var(--space-5); }
.science-note .science-note-block h3 { margin-bottom: var(--space-2); font-size: var(--text-small); line-height: var(--leading-card); letter-spacing: 0; }
.science-note-block p { margin-bottom: var(--space-5); font-size: var(--text-body); line-height: var(--leading-body); }
.science-note-study { margin-top: 0; }
.review-form { gap: var(--space-4); }
.review-field { gap: var(--space-2); min-width: 0; }
.review-field > span, .review-field > legend { font-size: var(--text-small); line-height: var(--leading-small); }
.review-field input:not([type="radio"]), .review-field textarea {
  min-height: var(--control-height);
  padding: var(--space-3) var(--space-4);
  color: var(--color-text);
  background: var(--color-bg);
  border-color: var(--color-control-border);
  border-radius: var(--radius-field);
  font-size: var(--text-body);
  line-height: var(--leading-small);
  transition: none;
}
.review-field input:focus, .review-field textarea:focus { box-shadow: none; }
.review-field input::placeholder, .review-field textarea::placeholder { color: var(--color-text-muted); opacity: 1; }
.review-field input:not([type="radio"]):focus-visible, .review-field textarea:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}
.stars-input { position: relative; gap: 0; }
.stars-input input {
  width: 1px;
  height: 1px;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
  box-shadow: none;
}
.stars-input label {
  display: grid;
  place-items: center;
  flex: 0 0 var(--touch-target);
  min-width: var(--touch-target);
  min-height: var(--touch-target);
  color: var(--color-text-muted);
  border-radius: var(--radius-media);
  font-size: var(--text-rating);
  transition: none;
}
.stars-input label:hover { transform: none; }
.stars-input input:checked ~ label, .stars-input label:hover,
.stars-input label:hover ~ label { color: var(--color-action); }
.review-form-msg { font-size: var(--text-small); line-height: var(--leading-small); }
.review-form-msg.is-error { color: var(--color-error); }
.review-form-msg.is-success { color: var(--color-success); }

.contact h2 { font-size: var(--text-display); line-height: var(--leading-display); letter-spacing: var(--tracking-display); }
.contact-sub { font-size: var(--text-body-lg); line-height: var(--leading-small); }
.contact-actions { margin-bottom: var(--space-10); gap: var(--space-4); }
.contact-tagline { font-size: var(--text-caption); letter-spacing: var(--tracking-action); }
.contact-tagline span:first-child, .contact-tagline span:last-child,
.footer-tag b { color: var(--color-accent-soft); }
.footer-inner { padding-top: var(--space-12); padding-bottom: calc(var(--order-bar-clearance) + var(--space-6)); }
.footer-brand { gap: var(--space-4); }
.footer-brand p, .footer-bottom { font-size: var(--text-caption); line-height: var(--leading-caption); }
.footer-nav a { color: var(--color-text-inverse-muted); }
.footer-bottom { margin-top: var(--space-10); padding-top: var(--space-6); }
.footer-social a { transition: opacity var(--dur-short) var(--ease-out); }
.footer-social a:hover { transform: none; background: var(--color-surface-dark); border-color: var(--color-text-inverse-muted); }
.question-bar { bottom: var(--order-bar-bottom); gap: var(--space-3); border-radius: var(--radius-pill); border-color: var(--color-border-inverse); }
.question-bar span, .question-bar p { font-size: var(--text-caption); }
.question-bar p { color: var(--color-text-inverse-muted); }

@media (max-width: 900px) {
  .hero-left { padding-block: calc(var(--header-height) + var(--space-12)) calc(var(--order-bar-clearance) + var(--space-16)); }
  .hero-overlay { background: linear-gradient(180deg, var(--color-hero-scrim-edge), var(--color-hero-scrim-mid) 25%, var(--color-hero-scrim-mid) 78%, var(--color-hero-scrim-edge)); }
  .footer-top { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: var(--space-6); }
}
@media (max-width: 560px) {
  .hero-actions, .contact-actions { gap: var(--space-3); }
  .hero .slide:nth-child(1) { background-position: 54% center; }
  .hero .slide:nth-child(2) { background-position: 56% center; }
  .hero .slide:nth-child(3) { background-position: 60% center; }
  .session-steps { gap: var(--space-8); }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }
  .footer-inner { padding-top: var(--space-10); }
  .question-bar { width: calc(100% - 2 * var(--container-gutter)); padding-inline: var(--space-3); gap: var(--space-2); border-radius: var(--radius-card); }
  .question-bar a { padding-inline: var(--space-4); }
}
@media (min-width: 40rem) {
  .product-gallery .gallery-dots { padding: 0 var(--space-6) var(--space-6); gap: var(--space-3); }
  .session-step-label { margin-bottom: var(--space-5); }
}
@media (min-width: 60rem) {
  .product-showcase { gap: var(--space-feature-gap); }
  .session-routine-head { align-items: baseline; }
  .session-step-copy { padding: var(--space-5); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-content, .hero-actions, .slide-indicators, .slide.active,
  .review-dialog, .science-note::backdrop { animation: none; }
  .slide, .gallery-slide, .review-grid .tcard, .review-grid .tcard.is-dropping { transition: none; }
}

/* Hallmark · component: sport pictograms · theme: existing RECOFF
   Monoline SVGs, static labeled list; hover is decorative, not an action.
   Pre-emit critique: P5 H5 E5 S5 R5 V4 · contrast: pass (40–41) */
.intro .activity-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  gap: var(--space-8) var(--space-4);
  margin: var(--space-10) 0 0;
  padding: var(--space-8) 0;
  border-block: 1px solid var(--color-border-inverse);
  color: var(--color-text-inverse);
  list-style: none;
}

.activity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  min-width: 0;
  text-align: center;
}

.activity-icon {
  display: block;
  flex: none;
  width: 56px;
  height: 56px;
  color: var(--color-text-inverse);
}

.activity-label {
  color: var(--color-text-inverse);
  font-size: var(--text-small);
  font-weight: var(--font-weight-medium);
  line-height: var(--leading-small);
  white-space: nowrap;
}

@media (min-width: 560px) {
  .intro .activity-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: var(--space-10);
    padding-block: var(--space-10);
  }
}

@media (min-width: 1200px) {
  .intro .activity-list { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}

@media (hover: hover) and (pointer: fine) {
  .activity-item:hover .activity-icon { color: var(--color-accent-brand); }
  .activity-item:hover .activity-label { color: var(--color-accent-soft); }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .activity-icon { transition: transform var(--dur-short) var(--ease-out); }
  .activity-item:hover .activity-icon { transform: translateY(-2px); }
}

@media (prefers-reduced-motion: reduce) {
  .activity-icon { transform: none; transition: none; }
}
