/* ───────────────────────────────────────────────────────────────
   Nutrition Consultation 营养咨询 — design tokens + base styles
   ─────────────────────────────────────────────────────────────── */

:root {
  /* Colors */
  --primary: #3F7E5C;
  --primary-ink: #2C5A41;
  --primary-soft: #E8EFE9;
  --accent: #F2C9A5;
  --accent-soft: #FAEADB;
  --ink: #1F2A26;
  --ink-2: #2D3934;
  --mute: #5A6B62;
  --mute-2: #8A9690;
  --line: #E5E0D6;
  --line-2: #F0EBE0;
  --cream: #FAF7F1;
  --cream-2: #F5F1E6;
  --paper: #FFFEFA;
  --success: #5BA47C;
  --warn: #D6883B;
  --error: #C75A5A;
  --whatsapp: #25D366;
  --noise-opacity: .035;

  /* Type */
  --font-display: "Fraunces", "Source Serif 4", "Noto Serif TC", Georgia, serif;
  --font-body: "Inter", "Noto Sans SC", "Noto Sans TC", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;

  /* Type scale (desktop) */
  --display-xl: clamp(48px, 6vw, 84px);
  --display-lg: clamp(40px, 5vw, 64px);
  --heading-xl: clamp(32px, 4vw, 48px);
  --heading-lg: clamp(26px, 3vw, 36px);
  --heading-md: 22px;
  --heading-sm: 18px;
  --body-lg: 18px;
  --body-md: 16px;
  --body-sm: 14px;
  --caption: 12.5px;
  --eyebrow: 11.5px;

  /* Spacing */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px;
  --s6: 24px; --s8: 32px; --s10: 40px; --s12: 48px; --s16: 64px;
  --s20: 80px; --s24: 96px; --s32: 128px;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(31,42,38,.04), 0 1px 3px rgba(31,42,38,.05);
  --shadow-md: 0 4px 16px rgba(31,42,38,.06), 0 1px 3px rgba(31,42,38,.04);
  --shadow-lg: 0 12px 40px rgba(31,42,38,.10), 0 4px 12px rgba(31,42,38,.05);

  /* Layout */
  --maxw: 1200px;
  --maxw-narrow: 880px;
  --nav-h: 68px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--body-md);
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}

html { scroll-behavior: smooth; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

/* Type utilities */
.font-display { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; }
.font-display-tight { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.025em; line-height: 1.05; }
.eyebrow {
  font-size: var(--eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: var(--mute);
}
.lead {
  font-size: var(--body-lg);
  color: var(--mute);
  line-height: 1.6;
  text-wrap: pretty;
}

/* Container */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--s6);
}
@media (min-width: 768px) { .container { padding: 0 var(--s10); } }

/* Section spacing */
.section { padding: var(--s16) 0; }
.section-lg { padding: var(--s20) 0; }
@media (min-width: 768px) {
  .section { padding: var(--s20) 0; }
  .section-lg { padding: var(--s24) 0; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 var(--s5);
  height: 44px;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: var(--body-md);
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: transform .12s var(--ease), background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-ink); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--ink); background: var(--paper); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { background: rgba(31,42,38,.05); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}
.btn-whatsapp:hover { background: #1FBA59; }

.btn-sm { height: 36px; padding: 0 14px; font-size: var(--body-sm); }
.btn-lg { height: 52px; padding: 0 var(--s6); font-size: var(--body-lg); }

/* Card */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s6);
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card-hover:hover {
  border-color: var(--mute-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--cream-2);
  border: 1px solid var(--line);
  font-size: var(--caption);
  color: var(--mute);
  font-weight: 500;
}
.chip-primary { background: var(--primary-soft); border-color: transparent; color: var(--primary-ink); }
.chip-accent { background: var(--accent-soft); border-color: transparent; color: #8A4F1F; }

/* Anchors / dividers */
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Tag for [content placeholder] markers */
.placeholder-tag {
  display: inline-block;
  font-size: 10.5px;
  font-family: var(--font-mono);
  background: rgba(214,136,59,.10);
  color: #8A4F1F;
  padding: 1px 5px;
  border-radius: 3px;
  letter-spacing: 0;
  vertical-align: 1px;
  margin-left: 6px;
}

/* Image placeholder — CSS-only abstract composition */
.img-frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft));
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px rgba(31,42,38,.06);
}
.img-shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 60% at 50% 100%, rgba(31,42,38,.08), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 2px, transparent 2px 14px);
  pointer-events: none;
}
.img-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(4px);
  padding: 5px 9px;
  border-radius: 999px;
  font-weight: 500;
}

/* Mission / Vision */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.mv-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.mv-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle at top right, var(--accent-soft), transparent 70%);
  pointer-events: none;
}
.mv-tag {
  display: flex;
  align-items: baseline;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.mv-num {
  font-size: 40px;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: lining-nums;
  letter-spacing: -.02em;
}
.mv-tag-label {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 500;
}
.mv-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
  text-wrap: pretty;
}
@media (max-width: 760px) {
  .mv-grid { grid-template-columns: 1fr; gap: 20px; }
  .mv-card { padding: 28px; }
  .mv-num { font-size: 32px; }
}

/* Page enter */
.page {
  animation: pageIn .35s var(--ease);
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Density modifier */
:root.density-compact { --s16: 48px; --s20: 60px; --s24: 72px; }
:root.density-comfy   { --s16: 80px; --s20: 100px; --s24: 120px; }

/* Radius modifier */
:root.radius-square   { --r-sm: 0; --r-md: 0; --r-lg: 0; --r-xl: 0; --r-pill: 0; }
:root.radius-soft     { /* defaults */ }
:root.radius-pill     { --r-sm: 8px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; }

/* Mobile sticky bottom CTA */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: none;
  gap: 10px;
  z-index: 50;
  transform: translateY(100%);
  transition: transform .25s var(--ease);
}
.mobile-cta.show { transform: translateY(0); }
.mobile-cta .btn { flex: 1; }
@media (max-width: 720px) {
  .mobile-cta { display: flex; }
  body.has-mobile-cta { padding-bottom: 80px; }
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(31,42,38,.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fade .2s var(--ease);
}
@media (min-width: 720px) {
  .modal-backdrop { align-items: center; }
}
.modal {
  background: var(--paper);
  width: 100%;
  max-width: 520px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: var(--s8) var(--s6) var(--s6);
  max-height: 92vh;
  overflow-y: auto;
  animation: slideUp .3s var(--ease);
}
@media (min-width: 720px) {
  .modal { border-radius: var(--r-lg); padding: var(--s10); }
}
@keyframes fade { from {opacity:0;} to {opacity:1;} }
@keyframes slideUp { from { transform: translateY(20px); opacity:0; } to { transform: translateY(0); opacity:1; } }

/* Forms */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--s4);
}
.field label {
  font-size: var(--body-sm);
  font-weight: 500;
  color: var(--ink-2);
}
.field input, .field textarea, .field select {
  font-family: var(--font-body);
  font-size: var(--body-md);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  color: var(--ink);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(63,126,92,.15);
}
.field textarea { resize: vertical; min-height: 96px; }
.field-error { color: var(--error); font-size: var(--caption); }

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


/* ─────────────────────────────────────────────────────────────
   AVANT-GARDE LAYER — grain, marquee, kinetic, magnetic
   ───────────────────────────────────────────────────────────── */

/* Film grain overlay (subtle, animated) */
body::before {
  content: "";
  position: fixed;
  inset: -10%;
  pointer-events: none;
  z-index: 9998;
  opacity: var(--noise-opacity);
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='5'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grainShift 7s steps(6) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0,0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -2%); }
  60%  { transform: translate(-2%, -3%); }
  80%  { transform: translate(3%, 1%); }
  100% { transform: translate(0,0); }
}

/* Marquee ticker */
.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--cream);
  padding: 22px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 64px;
  animation: marquee 38s linear infinite;
  padding-left: 64px;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 56px);
  letter-spacing: -.02em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 64px;
  font-weight: 300;
  font-style: italic;
}
.marquee-item::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.marquee-item.solid { font-style: normal; font-weight: 500; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Editorial oversized display heading — kinetic reveal */
.kinetic-h {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(56px, 11vw, 168px);
  line-height: .92;
  letter-spacing: -.04em;
  margin: 0;
  text-wrap: balance;
}
.kinetic-h .row { display: block; overflow: hidden; }
.kinetic-h .word {
  display: inline-block;
  transform: translateY(110%) rotate(2deg);
  opacity: 0;
  animation: wordRise .9s cubic-bezier(.2,.7,.1,1) forwards;
  will-change: transform;
}
.kinetic-h .word.italic { font-style: italic; color: var(--primary); font-weight: 400; }
.kinetic-h .word.outline {
  -webkit-text-stroke: 1.5px var(--ink);
  color: transparent;
  font-weight: 400;
}
@keyframes wordRise {
  to { transform: translateY(0) rotate(0); opacity: 1; }
}

/* Magnetic buttons — translate slightly toward cursor */
.magnetic { transition: transform .25s cubic-bezier(.2,.7,.1,1); }

/* Hover-lift cards */
.lift {
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -20px rgba(31,42,38,.18);
}

/* Underline draw on links */
.link-draw {
  position: relative;
  display: inline-block;
}
.link-draw::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.link-draw:hover::after { transform: scaleX(1); }

/* Number counter — accent typographic emphasis */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-cell {
  padding: 40px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.stat-cell:last-child { border-right: 0; }
.stat-cell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent-soft);
  transform: translateY(100%);
  transition: transform .5s var(--ease);
  z-index: 0;
}
.stat-cell:hover::before { transform: translateY(0); }
.stat-cell > * { position: relative; z-index: 1; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -.03em;
  font-weight: 300;
  color: var(--ink);
  font-variant-numeric: lining-nums tabular-nums;
}
.stat-num .suffix {
  font-size: .55em;
  vertical-align: top;
  margin-left: 4px;
  color: var(--accent);
  font-style: italic;
}
.stat-label {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
}
@media (max-width: 900px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: 0; }
  .stat-cell:nth-child(1), .stat-cell:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* Sticky-pinned editorial section — large quote */
.editorial {
  padding: 140px 0;
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.editorial::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.editorial-mark {
  font-family: var(--font-display);
  font-size: clamp(180px, 26vw, 380px);
  position: absolute;
  top: -80px;
  right: -40px;
  line-height: 1;
  color: var(--primary);
  opacity: .25;
  font-style: italic;
  pointer-events: none;
  user-select: none;
}
.editorial-quote {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 1.18;
  font-weight: 300;
  letter-spacing: -.02em;
  max-width: 900px;
  text-wrap: balance;
}
.editorial-quote em {
  color: var(--accent);
  font-style: italic;
}
.editorial-attr {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute-2);
}
.editorial-attr::before {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--accent);
}
@media (max-width: 700px) {
  .editorial { padding: 80px 0; }
}

/* Process strip — horizontal scroll-snap */
.process-strip {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 0 32px;
  scrollbar-width: none;
}
.process-strip::-webkit-scrollbar { display: none; }
.process-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.process-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}
.process-step {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: .08em;
}
.process-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.2;
  margin: 0;
  font-weight: 400;
}
.process-card p { color: var(--mute); margin: 0; line-height: 1.6; }

/* Section eyebrow w/ animated rule */
.eyebrow-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 32px;
}
.eyebrow-rule::before {
  content: "";
  width: 56px;
  height: 1px;
  background: var(--accent);
  animation: ruleDraw 1.2s var(--ease) backwards;
}
@keyframes ruleDraw {
  from { width: 0; }
}

/* Reveal: alternative variants */
.reveal-up { transform: translateY(40px); }
.reveal-up.in { transform: translateY(0); }
.reveal-rotate {
  opacity: 0;
  transform: translateY(20px) rotate(-1deg);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal-rotate.in {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

/* Marquee variant: small */
.marquee.small { padding: 14px 0; background: var(--cream-2); color: var(--ink); border-color: var(--line); }
.marquee.small .marquee-item { font-size: clamp(14px, 1.4vw, 18px); font-style: normal; font-family: var(--font-body); letter-spacing: .14em; text-transform: uppercase; gap: 32px; font-weight: 500; }
.marquee.small .marquee-item::after { width: 5px; height: 5px; background: var(--ink); }
.marquee.small .marquee-track { gap: 32px; padding-left: 32px; animation-duration: 60s; }


/* ─────────────────────────────────────────────────────────────
   ART-DIRECTION LAYER — Wispr/Apple-inspired
   ───────────────────────────────────────────────────────────── */

/* Aurora orb background — soft drifting gradient */
.aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  will-change: transform;
}
.aurora-orb.a { width: 720px; height: 720px; background: var(--primary); top: -20%; left: 12%; opacity: .35; animation: drift-a 22s ease-in-out infinite; }
.aurora-orb.b { width: 540px; height: 540px; background: var(--accent); top: 18%; right: 8%; opacity: .55; animation: drift-b 28s ease-in-out infinite; }
.aurora-orb.c { width: 460px; height: 460px; background: #C8DCC9; bottom: -10%; left: 38%; opacity: .45; animation: drift-c 32s ease-in-out infinite; }
@keyframes drift-a {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.08); }
}
@keyframes drift-b {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-50px, 60px) scale(1.12); }
}
@keyframes drift-c {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(70px, -50px) scale(1.06); }
}

/* Editorial hero — full viewport, centered, oversized */
.hero-editorial {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  background: var(--cream);
}
.hero-editorial.dark {
  background: #0F1311;
  color: var(--cream);
}
.hero-editorial.dark .hero-ed-eyebrow { color: var(--accent); }
.hero-editorial.dark .hero-ed-sub { color: rgba(245,241,230,.65); }
.hero-editorial-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
}
.hero-ed-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 36px;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(10px);
}
.hero-ed-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(91,164,124,.5); }
  50%     { opacity: .6; box-shadow: 0 0 0 8px rgba(91,164,124,0); }
}
.hero-ed-h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(56px, 10.5vw, 168px);
  line-height: .94;
  letter-spacing: -.045em;
  margin: 0 0 32px;
  text-wrap: balance;
}
.hero-ed-h1 .accent {
  font-style: italic;
  color: var(--primary);
  font-weight: 400;
}
.hero-ed-h1 .row {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: heroRowRise 1s cubic-bezier(.22,.7,.1,1) forwards;
}
@keyframes heroRowRise {
  to { opacity: 1; transform: translateY(0); }
}
.hero-ed-sub {
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.55;
  color: var(--mute);
  max-width: 620px;
  margin: 0 auto 44px;
  text-wrap: balance;
  opacity: 0;
  animation: fadeUp 1s .9s cubic-bezier(.22,.7,.1,1) forwards;
}
@keyframes fadeUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.hero-ed-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s 1.1s cubic-bezier(.22,.7,.1,1) forwards;
}
.hero-ed-meta {
  margin-top: 32px;
  font-size: 13px;
  color: var(--mute-2);
  letter-spacing: .05em;
  opacity: 0;
  animation: fadeUp 1s 1.3s cubic-bezier(.22,.7,.1,1) forwards;
}
/* Apple-style oversized section heading */
.bigh {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 0 0 24px;
  text-wrap: balance;
}
.bigh .accent { color: var(--primary); font-style: italic; font-weight: 400; }
.bigh-mute { color: var(--mute); }

.section-edge {
  padding: 140px 0;
}
.section-edge .container { max-width: 1240px; }

.section-dark {
  background: #0F1311;
  color: var(--cream);
}
.section-dark .lead, .section-dark .bigh-mute { color: rgba(245,241,230,.6); }
.section-dark .eyebrow, .section-dark .eyebrow-rule { color: var(--accent); }

/* Sticky scroll storytelling */
.sticky-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 120px 0;
  align-items: start;
}
.sticky-story-text {
  position: sticky;
  top: 120px;
  align-self: start;
}
.sticky-story-list {
  display: flex;
  flex-direction: column;
  gap: 120px;
}
.sticky-step {
  border-left: 1px solid var(--line);
  padding: 12px 0 12px 32px;
  position: relative;
}
.sticky-step::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 24px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--paper);
}
.sticky-step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.sticky-step h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -.02em;
}
.sticky-step p {
  color: var(--mute);
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
  max-width: 480px;
}
@media (max-width: 880px) {
  .sticky-story { grid-template-columns: 1fr; gap: 32px; padding: 80px 0; }
  .sticky-story-text { position: static; }
  .sticky-story-list { gap: 56px; }
}

/* Refined feature card with hover gradient sweep */
.feature-card {
  position: relative;
  border-radius: var(--r-xl);
  padding: 48px 36px;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .5s var(--ease);
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), var(--accent-soft) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: transparent;
}
.feature-card:hover::before { opacity: 1; }
.feature-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-ink);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 12px;
  letter-spacing: -.015em;
  position: relative;
  z-index: 1;
}
.feature-card p {
  color: var(--mute);
  line-height: 1.65;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Override hero alignment — kill old hero-grid when editorial is used */
.hero-editorial * { font-feature-settings: "ss01", "ss02"; }

/* Buttons more refined */
.btn-pill {
  border-radius: 999px;
  padding: 16px 28px;
  font-weight: 500;
  letter-spacing: .005em;
}
.btn-pill.btn-lg { padding: 18px 32px; font-size: 16px; }

/* Backdrop refinement on dark */
.section-dark .feature-card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); color: var(--cream); }
.section-dark .feature-card h3 { color: var(--cream); }
.section-dark .feature-card p { color: rgba(245,241,230,.6); }
.section-dark .feature-card-icon { background: rgba(242,201,165,.15); color: var(--accent); }

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 9999;
  width: 0;
  transition: width .1s linear;
}


/* ─────────────────────────────────────────────────────────────
   NUTRITION-NATIVE LAYER — botanical, warm, editorial
   ───────────────────────────────────────────────────────────── */

/* Override aurora to be warmer, more organic */
.aurora-orb.a { background: #C4D4B8; opacity: .55; filter: blur(90px); }
.aurora-orb.b { background: #F5C9A0; opacity: .5; }
.aurora-orb.c { background: #E8D4B8; opacity: .55; }

/* Botanical line art decorations */
.botanical {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: .55;
}
.botanical svg {
  width: 100%;
  height: 100%;
  display: block;
}
.botanical path { stroke: var(--primary-ink); stroke-width: 1.2; fill: none; }
.botanical .fill-leaf { fill: var(--primary); opacity: .14; stroke: none; }
.botanical .fill-soft { fill: var(--accent); opacity: .2; stroke: none; }
.botanical .accent path { stroke: var(--accent); }

/* drift the botanicals subtly */
.botanical.drift { animation: bot-drift 14s ease-in-out infinite; }
.botanical.drift-2 { animation: bot-drift 18s ease-in-out infinite reverse; }
@keyframes bot-drift {
  0%,100% { transform: translate(0,0) rotate(0); }
  50% { transform: translate(8px, -10px) rotate(2deg); }
}

/* Hide the dark section variant we used before — too "tech" */
.section-dark.warm-replace {
  background: var(--cream);
  color: var(--ink);
}
.section-dark.warm-replace .lead, .section-dark.warm-replace .bigh-mute { color: var(--mute); }

/* Soft warm feature card (replaces dark variant) */
.warm-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 44px 36px 40px;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.warm-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.warm-card-illus {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  display: block;
  color: var(--primary-ink);
}
.warm-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 14px;
  letter-spacing: -.015em;
}
.warm-card p { color: var(--mute); line-height: 1.7; margin: 0; }
.warm-card-tag {
  display: inline-block;
  margin-top: 24px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mute-2);
  font-style: italic;
  font-family: var(--font-display);
}

/* "Ingredients" stripe — small line illustrations row */
.ingredients-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream-2);
}
.ingredients-strip .ing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--primary-ink);
}
.ingredients-strip svg { width: 44px; height: 44px; }
.ingredients-strip .lbl {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--mute);
}

/* Recipe / journal teaser cards (food editorial feel) */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.journal-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.journal-card .img-frame {
  aspect-ratio: 4/5;
  transition: transform .5s var(--ease);
}
.journal-card:hover .img-frame { transform: scale(1.02); }
.journal-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mute);
}
.journal-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.journal-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.journal-card p {
  color: var(--mute);
  line-height: 1.6;
  margin: 0;
  font-size: 15px;
}
@media (max-width: 880px) { .journal-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Testimonial — large editorial quote w/ portrait */
.testimonial-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  align-items: center;
}
.testimonial-row .img-frame { aspect-ratio: 1; border-radius: 50%; }
.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.4;
  font-weight: 300;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 24px;
  text-wrap: pretty;
}
.testimonial-attr {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--mute);
  letter-spacing: .04em;
}
.testimonial-attr strong { color: var(--ink); font-weight: 500; }
.testimonial-attr .sep { width: 24px; height: 1px; background: var(--accent); }
@media (max-width: 720px) {
  .testimonial-row { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .testimonial-row .img-frame { width: 140px; margin: 0 auto; }
  .testimonial-attr { justify-content: center; }
}

/* Numbered approach list — Aesop-style inset */
.approach-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.approach-row {
  display: contents;
}
.approach-num, .approach-body {
  padding: 40px 32px;
  border-bottom: 1px solid var(--line);
}
.approach-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 56px;
  line-height: 1;
  color: var(--primary);
  font-weight: 300;
  border-right: 1px solid var(--line);
}
.approach-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 10px;
  letter-spacing: -.01em;
}
.approach-body p { color: var(--mute); margin: 0; line-height: 1.65; }
@media (max-width: 720px) {
  .approach-list { grid-template-columns: 60px 1fr; }
  .approach-num { padding: 24px 16px; font-size: 36px; }
  .approach-body { padding: 24px 0 24px 24px; }
}

/* Section divider — botanical sprig */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
  color: var(--accent);
  opacity: .8;
}
.section-divider svg { width: 64px; height: 24px; }


/* ─── Material Symbols utility ───────────────────────────────── */
.msym {
  font-family: "Material Symbols Outlined", "Material Symbols Rounded";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
}
.msym.filled { font-variation-settings: "FILL" 1, "wght" 300; }
.msym.rounded { font-family: "Material Symbols Rounded"; font-variation-settings: "FILL" 1, "wght" 300; }

.warm-card-illus.msym-large {
  font-size: 56px;
  color: var(--primary-ink);
  width: auto; height: auto;
  margin-bottom: 24px;
}
.ingredients-strip .ing .msym { font-size: 38px; color: var(--primary-ink); }
.feature-card-icon .msym { font-size: 28px; }

.botanical-msym {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  font-family: "Material Symbols Rounded";
  color: var(--primary);
  opacity: .35;
  font-variation-settings: "FILL" 1, "wght" 300;
  user-select: none;
}

/* ─── Kinetic Nutrients — Wispr-style typing reveal ─────────────── */
.kn-section {
  position: relative;
  padding: 140px 24px 160px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 60%, var(--cream-2) 100%);
  overflow: hidden;
  isolation: isolate;
}

/* Curved arc text marquee at top */
.kn-arc {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1400px, 110%);
  height: 240px;
  pointer-events: none;
  opacity: .55;
}
.kn-arc svg { width: 100%; height: 100%; overflow: visible; }
.kn-arc-text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 30px;
  letter-spacing: .04em;
  fill: var(--primary);
  opacity: .55;
}

/* Drifting background icons */
.kn-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.kn-bg-icon {
  position: absolute;
  font-size: 110px;
  color: var(--primary);
  opacity: 0;
  transition: opacity 1.2s ease, transform 1.6s ease;
  user-select: none;
  font-variation-settings: "FILL" 0, "wght" 200;
}
.kn-bg-icon.is-active { opacity: .12; }
.kn-bg-icon-0 { top: 18%;  left: 8%;   transform: rotate(-6deg); }
.kn-bg-icon-1 { top: 62%;  left: 14%;  transform: rotate(8deg) scale(1.1); }
.kn-bg-icon-2 { top: 26%;  right: 11%; transform: rotate(4deg) scale(.9); }
.kn-bg-icon-3 { bottom: 14%; right: 8%; transform: rotate(-10deg); }
.kn-bg-icon-4 { top: 50%;  left: 6%;   transform: rotate(2deg) scale(.8); }
.kn-bg-icon-5 { bottom: 22%; left: 42%; transform: rotate(-2deg) scale(1.15); }
.kn-bg-icon.is-active { animation: kn-bg-float 8s ease-in-out infinite; }
@keyframes kn-bg-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -14px; }
}

/* Center stage */
.kn-center {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  padding-top: 80px;
}
.kn-eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 15px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 36px;
}
.kn-eyebrow::before,
.kn-eyebrow::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 36px;
  height: 1px;
  background: var(--mute-2);
  margin: 0 14px;
  opacity: .5;
}

.kn-line {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 6.4vw, 88px);
  line-height: 1.05;
  letter-spacing: -.015em;
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: .25em;
}
.kn-prefix { color: var(--ink-2); }

.kn-morph {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: .22em;
}
.kn-morph-icon {
  display: inline-block;
  font-size: .72em;
  color: var(--primary);
  vertical-align: -.08em;
  animation: kn-icon-pop .55s cubic-bezier(.2,.8,.2,1.05) both;
  font-variation-settings: "FILL" 1, "wght" 300, "GRAD" 0, "opsz" 48;
}
@keyframes kn-icon-pop {
  0%   { opacity: 0; transform: translateY(.2em) scale(.7); }
  60%  { opacity: 1; transform: translateY(0) scale(1.04); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.kn-morph-word {
  position: relative;
  display: inline-block;
  font-style: italic;
  color: var(--primary-ink);
  background-image: linear-gradient(180deg, transparent 78%, color-mix(in oklab, var(--accent) 70%, transparent) 78%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding: 0 .08em;
  white-space: pre;
}
.kn-morph-text { display: inline-block; }
.kn-cursor {
  display: inline-block;
  width: .04em;
  margin-left: .04em;
  color: var(--accent);
  font-style: normal;
  font-weight: 400;
  animation: kn-blink 1s steps(2) infinite;
  transform: translateY(-.05em);
}
@keyframes kn-blink {
  50% { opacity: 0; }
}

.kn-suffix {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--ink-2);
  margin-top: 8px;
}

.kn-caption {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(17px, 1.4vw, 21px);
  letter-spacing: .04em;
  color: var(--mute);
  margin-top: 28px;
  min-height: 1.6em;
  animation: kn-caption-in .55s ease both .15s;
}
@keyframes kn-caption-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Progress dots */
.kn-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 56px;
}
.kn-dot {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.kn-dot-fill {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--line);
  transition: background .3s ease, width .3s ease;
}
.kn-dot.is-active .kn-dot-fill {
  background: var(--primary);
  width: 56px;
}
.kn-dot:hover .kn-dot-fill { background: var(--mute-2); }

.kn-footnote {
  margin-top: 36px;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--mute-2);
}

@media (max-width: 720px) {
  .kn-section { padding: 90px 20px 100px; }
  .kn-arc { height: 160px; }
  .kn-arc-text { font-size: 18px; }
  .kn-line { font-size: clamp(34px, 9vw, 52px); }
  .kn-suffix { font-size: clamp(24px, 6.5vw, 36px); }
  .kn-bg-icon { font-size: 70px; }
  .kn-center { padding-top: 40px; }
}
