/* ==========================================================================
   Veil — Botanical Skincare · Dew Serum No.7
   ========================================================================== */

:root {
  --milk: #f7f4ef;
  --milk-2: #efeae1;
  --paper: #fbf9f5;
  --sage: #a7b7a0;
  --sage-soft: #e3e9df;
  --rose: #d9a9a0;
  --rose-soft: #f3e2dd;
  --olive: #33392d;
  --olive-2: #444b3c;
  --muted: #5b6253;
  --amber: #c8873e;
  --amber-ink: #8a561c;
  --line: rgba(51, 57, 45, 0.14);
  --line-strong: rgba(51, 57, 45, 0.28);

  --serif: "Cormorant Garamond", "Gilda Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --gutter: clamp(20px, 4.2vw, 72px);
  --max: 1440px;
  --radius: 22px;

  --z-canvas: 0;
  --z-content: 1;
  --z-labels: 5;
  --z-nav: 40;
  --z-menu: 39;
  --z-cursor: 1000;
  --z-preloader: 2000;
}

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

html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--milk);
  color: var(--olive);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: italic; }
address { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--amber-ink);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.skip {
  position: fixed; left: 16px; top: 16px; z-index: 3000;
  padding: 10px 16px; border-radius: 999px;
  background: var(--olive); color: var(--milk);
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}
.skip:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.eyebrow--light { color: var(--sage); }
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(200, 135, 62, 0.18);
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.7rem, 6.4vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.display--md { font-size: clamp(2.4rem, 5vw, 5rem); }
.display em, .hero__title em { color: var(--amber-ink); font-weight: 300; }

.lead {
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 34rem;
  margin-top: 1.6rem;
}
.lead--light { color: #d6dccf; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.02em;
  background: none;
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease);
  touch-action: manipulation;
  will-change: transform;
}
.btn--solid { background: var(--olive); color: var(--milk); }
.btn--solid:hover { background: var(--amber-ink); }
.btn--ghost { border-color: var(--line-strong); color: var(--olive); background: rgba(247, 244, 239, 0.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--olive); background: rgba(247, 244, 239, 0.8); }
.btn--line { border-color: var(--line-strong); }
.btn--line:hover { background: var(--olive); color: var(--milk); border-color: var(--olive); }
.btn.is-added { background: var(--sage); color: var(--olive); border-color: var(--sage); }

/* ---------- Preloader ---------- */
.preloader { display: none; }
.js .preloader {
  position: fixed; inset: 0; z-index: var(--z-preloader);
  display: grid; place-items: center;
  background: var(--milk);
  clip-path: inset(0 0 0 0);
}
.preloader__inner { width: min(320px, 72vw); text-align: center; }
.preloader__drop { width: 28px; margin: 0 auto 0.8rem; fill: var(--amber); animation: drop-breathe 1.6s var(--ease-in-out) infinite alternate; }
.preloader__word {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(4rem, 12vw, 7rem); line-height: 1;
  letter-spacing: -0.02em;
}
.preloader__meta {
  display: flex; justify-content: space-between;
  margin-top: 1.2rem;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.preloader__bar { margin-top: 0.7rem; height: 1px; background: var(--line); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; background: var(--amber-ink); transform-origin: left; transform: scaleX(0); }
@keyframes drop-breathe { from { transform: translateY(-3px); } to { transform: translateY(3px); } }

/* ---------- WebGL ---------- */
.gl {
  position: fixed; inset: 0;
  width: 100%; height: 100vh; height: 100lvh;
  z-index: var(--z-canvas);
  display: block;
  pointer-events: none;
}
.has-motion .gl { opacity: 0; }
.gl-fallback {
  position: fixed; inset: 0; z-index: var(--z-canvas);
  display: none;
  background:
    radial-gradient(40vmax 40vmax at 72% 55%, rgba(200, 135, 62, 0.28), transparent 60%),
    radial-gradient(60vmax 50vmax at 20% 10%, rgba(167, 183, 160, 0.35), transparent 60%),
    var(--milk);
}
.no-webgl .gl { display: none; }
.no-webgl .gl-fallback, .fallback .gl-fallback { display: block; }

/* Ingredient labels tracked to 3D */
.orb-labels { position: fixed; inset: 0; z-index: var(--z-labels); pointer-events: none; }
.orb-label {
  position: absolute; left: 0; top: 0;
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.45rem 0.85rem 0.45rem 0.6rem;
  border-radius: 999px;
  background: rgba(251, 249, 245, 0.78);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 0.78rem; font-weight: 600; white-space: nowrap;
  opacity: 0;
  transform: translate3d(-9999px, 0, 0);
  will-change: transform, opacity;
}
.orb-label__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.orb-label__pct { font-weight: 500; color: var(--muted); }
.orb-label.is-active { background: var(--olive); color: var(--milk); border-color: var(--olive); }
.orb-label.is-active .orb-label__pct { color: var(--sage); }
.reduced .orb-labels { display: none; }

/* ---------- Cursor ---------- */
.cursor { display: none; }
.has-cursor .cursor {
  display: block;
  position: fixed; left: 0; top: 0;
  z-index: var(--z-cursor);
  pointer-events: none;
  width: 0; height: 0;
}
.cursor__ring {
  position: absolute; left: -9px; top: -9px;
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--olive);
  background: rgba(247, 244, 239, 0.15);
  transition: transform 0.45s var(--ease), background-color 0.45s var(--ease), border-color 0.45s var(--ease), opacity 0.3s;
  opacity: 0;
}
.cursor.is-on .cursor__ring { opacity: 1; }
.cursor.is-hover .cursor__ring { transform: scale(2.1); background: rgba(200, 135, 62, 0.14); border-color: var(--amber-ink); }
.cursor.has-label .cursor__ring { transform: scale(4.4); background: var(--olive); border-color: var(--olive); }
.cursor__label {
  position: absolute; left: 0; top: 0;
  transform: translate(-50%, -50%) scale(0.6);
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--milk);
  opacity: 0;
  white-space: nowrap;
  transition: opacity 0.3s, transform 0.45s var(--ease);
}
.cursor.has-label .cursor__label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.has-cursor input { cursor: text; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 18px var(--gutter);
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease), padding 0.5s var(--ease);
}
.nav.is-scrolled {
  background: rgba(247, 244, 239, 0.78);
  backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 12px;
}
.has-motion .nav { opacity: 0; }
.nav__logo { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--serif); font-size: 1.85rem; line-height: 1; letter-spacing: -0.01em; }
.nav__logo svg { width: 15px; fill: var(--amber); }
.nav__links { display: flex; gap: clamp(1.2rem, 2.4vw, 2.6rem); }
.nav__links a, .nav__bag {
  position: relative;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em;
  padding: 0.6rem 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.35rem; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 0.5rem; }
.nav__bag { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.4rem; min-height: 44px; }
.nav__bag-count {
  display: inline-grid; place-items: center;
  min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px;
  background: var(--olive); color: var(--milk); font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}
.nav__toggle {
  display: none;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(247, 244, 239, 0.6);
  place-items: center;
}
.nav__toggle-lines, .nav__toggle-lines::before {
  display: block; width: 18px; height: 1.5px; background: var(--olive);
  transition: transform 0.45s var(--ease);
}
.nav__toggle-lines { position: relative; transform: translateY(-3px); }
.nav__toggle-lines::before { content: ""; position: absolute; left: 0; top: 6px; }
.menu-open .nav__toggle-lines { transform: translateY(0) rotate(45deg); }
.menu-open .nav__toggle-lines::before { transform: translateY(-6px) rotate(-90deg); }

.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px var(--gutter) 36px;
  background: var(--milk);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease-in-out);
}
.menu-open .menu { clip-path: inset(0 0 0 0); }
.menu__nav { display: flex; flex-direction: column; gap: 0.3rem; }
.menu__link { display: block; overflow: hidden; font-family: var(--serif); font-size: clamp(2.6rem, 12vw, 4rem); line-height: 1.12; }
.menu__link span { display: inline-block; }
.menu__foot { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Shared motion pre-states (only when JS motion is active) ---------- */
.has-motion [data-split],
.has-motion [data-reveal],
.has-motion [data-reveal-item],
.has-motion [data-clip] { visibility: hidden; }
.has-motion .hero .line { transform: translateY(115%); }
.has-motion [data-hero-fade] { opacity: 0; }
.line-mask { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.line { display: block; will-change: transform; }

/* Soft cards used to keep copy legible over the 3D scene */
.card-soft { position: relative; }

/* ---------- 1 · Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 96px;
  outline: none;
}
.hero__content { position: relative; }
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3.6rem, 9.4vw, 9.6rem);
  line-height: 0.92; letter-spacing: -0.035em;
  max-width: 9.5em;
}
.hero__sub { max-width: 30rem; margin-top: 1.8rem; font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.7; color: var(--muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; }
.hero__foot {
  position: absolute; left: 0; right: 0; bottom: 26px;
  margin-inline: auto;
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.hero__scroll { display: inline-flex; align-items: center; gap: 0.7rem; }
.hero__scroll i { position: relative; width: 1px; height: 34px; background: var(--line); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--amber-ink); animation: scroll-line 2.2s var(--ease-in-out) infinite; }
@keyframes scroll-line { to { top: 100%; } }

/* ---------- 2 · Philosophy ---------- */
.philo { position: relative; height: 210vh; }
.philo__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
}
.philo__copy { max-width: 36rem; }
.facts { display: flex; gap: clamp(1.4rem, 3vw, 3rem); margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.facts li { display: flex; flex-direction: column; gap: 0.2rem; max-width: 9rem; }
.facts strong { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 3.4vw, 3.2rem); line-height: 1; font-variant-numeric: tabular-nums; }
.facts li > span { font-size: 0.8rem; color: var(--muted); line-height: 1.4; }
.philo__caption {
  position: absolute; left: 0; right: 0; bottom: 28px;
  text-align: right;
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--muted);
}

/* ---------- 3 · Formula ---------- */
.formula {
  position: relative;
  height: 100vh; height: 100svh;
  display: flex; align-items: center;
  outline: none;
}
.formula__inner { display: flex; }
.formula__col { width: min(32rem, 100%); }
.fpanels { position: relative; margin-top: 2.2rem; min-height: 15rem; }
.fpanel {
  position: absolute; inset: 0 0 auto 0;
  display: grid; grid-template-columns: 3.2rem 1fr; gap: 0.6rem;
  padding-top: 1.6rem; border-top: 1px solid var(--line);
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.6s var(--ease), transform 0.9s var(--ease);
  pointer-events: none;
}
.fpanel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.fpanel__num { font-family: var(--serif); font-size: 1.4rem; color: var(--amber-ink); line-height: 1.2; }
.fpanel h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 2.6vw, 2.5rem); line-height: 1.05; letter-spacing: -0.01em; }
.fpanel__dose { margin: 0.4rem 0 0.9rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber-ink); }
.fpanel p:last-child { color: var(--muted); line-height: 1.7; }
.formula__progress { display: flex; align-items: center; gap: 1rem; margin-top: 1.4rem; }
.formula__track { flex: 1; height: 1px; background: var(--line); overflow: hidden; }
.formula__bar { display: block; height: 100%; background: var(--olive); transform-origin: left; transform: scaleX(0.25); }
.formula__count { font-size: 0.75rem; letter-spacing: 0.18em; font-variant-numeric: tabular-nums; color: var(--muted); }

/* Reduced motion / fallback: show all ingredient panels as a list */
.reduced .fpanels, .fallback .fpanels { min-height: 0; display: grid; gap: 1.6rem; }
.reduced .fpanel, .fallback .fpanel { position: relative; opacity: 1; transform: none; }
.reduced .formula, .fallback .formula { height: auto; padding-block: 120px; }
.reduced .formula__progress, .fallback .formula__progress { display: none; }

/* ---------- 4 · Results ---------- */
.results { position: relative; min-height: 135vh; padding-block: 18vh 14vh; outline: none; }
.results__head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.results__grid {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 34vw) 1fr;
  align-items: center;
  margin-top: clamp(2rem, 6vh, 4rem);
  min-height: 56vh;
}
.results__col { display: flex; flex-direction: column; gap: 1.2rem; }
.results__col:last-child { align-items: flex-end; }
.stat {
  width: min(100%, 300px);
  padding: 1.5rem 1.6rem;
  border-radius: var(--radius);
  background: rgba(251, 249, 245, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 20px 50px -30px rgba(51, 57, 45, 0.35);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.stat__num { font-family: var(--serif); font-size: clamp(3.4rem, 5.6vw, 5.4rem); line-height: 0.9; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat__num sup { font-size: 0.42em; vertical-align: top; position: relative; top: 0.2em; margin-left: 0.05em; color: var(--amber-ink); }
.stat__label { margin-top: 0.7rem; font-size: 0.92rem; line-height: 1.5; color: var(--muted); }
.results__note { max-width: 40rem; margin: 2.4rem auto 0; text-align: center; font-size: 0.78rem; line-height: 1.6; color: var(--muted); }

/* ---------- 5 · Ritual ---------- */
.ritual { position: relative; background: var(--olive); color: var(--milk); overflow: hidden; outline: none; }
.ritual__track {
  display: flex; align-items: stretch;
  height: 100vh; height: 100svh;
  width: max-content;
  will-change: transform;
}
.ritual__intro {
  flex: 0 0 auto; width: min(40rem, 88vw);
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px var(--gutter) 60px;
}
.ritual__intro .display em { color: var(--rose); }
.ritual__hint { display: inline-flex; align-items: center; gap: 0.8rem; margin-top: 2.4rem; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage); }
.ritual__hint i { width: 46px; height: 1px; background: var(--sage); }
.rstep {
  flex: 0 0 auto;
  width: min(74vw, 980px);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.6rem, 3.6vw, 4rem);
  align-items: center;
  padding: 100px clamp(1.6rem, 3vw, 3rem) 60px;
  border-left: 1px solid rgba(247, 244, 239, 0.12);
}
.rstep__media { position: relative; aspect-ratio: 4 / 5; border-radius: 200px 200px 24px 24px; overflow: hidden; background: var(--olive-2); max-height: 64vh; }
.rstep__art { position: absolute; inset: -6% -12%; width: 124%; height: 112%; max-width: none; }
.rstep__num { font-size: 0.78rem; letter-spacing: 0.2em; color: var(--sage); font-variant-numeric: tabular-nums; }
.rstep__num span { color: #c9d1c2; }
.rstep h3 { margin-top: 0.8rem; font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 6vw, 6rem); line-height: 0.95; letter-spacing: -0.02em; }
.rstep__product { margin: 0.8rem 0 1.2rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rose); }
.rstep p:last-child { color: #d6dccf; line-height: 1.7; max-width: 26rem; }

.reduced .ritual__track, .fallback .ritual__track { width: auto; height: auto; flex-direction: column; }
.reduced .rstep, .fallback .rstep { width: 100%; border-left: 0; border-top: 1px solid rgba(247, 244, 239, 0.12); padding-block: 60px; }
.reduced .ritual__intro, .fallback .ritual__intro { width: 100%; padding-top: 120px; }
.reduced .ritual__hint, .fallback .ritual__hint { display: none; }

/* ---------- 6 · Shop ---------- */
.shop { position: relative; outline: none; }
.shop__stage {
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-top: clamp(96px, 13vh, 140px);
}
.shop__body {
  position: relative;
  background: linear-gradient(to bottom, rgba(247, 244, 239, 0) 0, var(--milk) 160px);
  padding-block: 120px 120px;
  margin-top: -120px;
}
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.8rem); }
.product {
  position: relative;
  display: flex; flex-direction: column;
  padding: 1.1rem 1.1rem 1.5rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.product:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(51, 57, 45, 0.45); }
.product--hero { border-color: rgba(138, 86, 28, 0.35); }
.product__badge {
  position: absolute; top: 1.8rem; left: 1.8rem; z-index: 2;
  padding: 0.3rem 0.7rem; border-radius: 999px;
  background: var(--olive); color: var(--milk);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}
.product__media { aspect-ratio: 5 / 4; border-radius: 14px; overflow: hidden; display: grid; place-items: center; margin-bottom: 1.3rem; }
.product__media svg { width: 70%; }
.product__media--cream { background: radial-gradient(circle at 50% 40%, #f8f4ec, #dfe5da); }
.product__media--serum { background: radial-gradient(circle at 50% 40%, #fbe9d3, #e6b77c); }
.product__media--milk { background: radial-gradient(circle at 50% 40%, #fbf4f1, #ecd1ca); }
.product__top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.product h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 2.2vw, 2.1rem); line-height: 1.1; }
.product__price { font-family: var(--serif); font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.product__meta { margin-top: 0.35rem; font-size: 0.9rem; color: var(--muted); }
.product__notes { margin: 0.9rem 0 1.4rem; padding-top: 0.9rem; border-top: 1px solid var(--line); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--muted); flex: 1; }
.product .btn { width: 100%; }
.set {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: clamp(1rem, 3vw, 3rem);
  margin-top: clamp(1.4rem, 3vw, 2.4rem);
  padding: clamp(1.4rem, 2.6vw, 2.2rem) clamp(1.4rem, 3vw, 2.8rem);
  border-radius: var(--radius);
  background: var(--sage-soft);
}
.set__title { font-family: var(--serif); font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1.1; }
.set__copy { margin-top: 0.3rem; font-size: 0.92rem; color: var(--muted); }
.set__price { font-family: var(--serif); font-size: 2rem; white-space: nowrap; }
.set__price s { font-size: 1.2rem; color: var(--muted); margin-right: 0.4rem; }

/* ---------- 7 · Reviews ---------- */
.reviews { position: relative; background: var(--milk-2); padding-block: clamp(90px, 14vh, 150px); overflow: hidden; }
.reviews__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2.4rem, 6vh, 4rem); }
.reviews__score { text-align: right; font-size: 0.85rem; color: var(--muted); }
.reviews__rating { font-family: var(--serif); font-size: clamp(3rem, 5vw, 4.4rem); line-height: 1; color: var(--olive); font-variant-numeric: tabular-nums; }
.reviews__rating span:last-child { font-size: 0.45em; color: var(--muted); }
.reviews__pause {
  margin-top: 0.8rem; min-height: 40px; padding: 0.4rem 1rem;
  border: 1px solid var(--line-strong); border-radius: 999px; background: none;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em;
}
.reviews__pause:hover { background: var(--olive); color: var(--milk); }
.marquee { overflow-x: auto; padding-block: 0.6rem; }
.has-motion .marquee { overflow: hidden; }
.marquee__inner { display: flex; gap: 1.2rem; width: max-content; padding-left: 1.2rem; will-change: transform; }
.review {
  flex: 0 0 auto;
  width: clamp(280px, 30vw, 420px);
  padding: 1.6rem 1.7rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}
.review p:first-child { font-family: var(--serif); font-size: clamp(1.3rem, 1.7vw, 1.6rem); line-height: 1.3; }
.review__by { margin-top: 1.1rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; color: var(--muted); }
.review__by::before { content: "★★★★★"; display: block; margin-bottom: 0.4rem; letter-spacing: 0.2em; color: var(--amber-ink); }

/* ---------- 8 · Refill ---------- */
.refill { position: relative; background: var(--sage-soft); padding-block: clamp(100px, 16vh, 170px); outline: none; }
.refill__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.4rem, 6vw, 7rem); align-items: center; }
.refill__media { border-radius: 260px 260px 26px 26px; overflow: hidden; background: #dfe5da; aspect-ratio: 6 / 7; }
.refill__media svg { width: 100%; height: 100%; }
.refill__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line-strong); }
.refill__stats li { display: flex; flex-direction: column; gap: 0.3rem; }
.refill__stats strong { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1; font-variant-numeric: tabular-nums; }
.refill__stats li > span { font-size: 0.8rem; color: var(--muted); line-height: 1.4; }
.refill__steps { margin-top: 2rem; display: grid; gap: 0.7rem; }
.refill__steps li { display: flex; gap: 1rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--line); }
.refill__steps span { font-family: var(--serif); font-style: italic; color: var(--amber-ink); min-width: 2rem; }

/* ---------- 9 · Newsletter ---------- */
.letter { position: relative; background: var(--rose-soft); padding-block: clamp(100px, 15vh, 160px); }
.letter__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.letter__form label { display: block; margin-bottom: 0.7rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.letter__row { display: flex; gap: 0.6rem; padding: 6px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line-strong); }
.letter__row:focus-within { border-color: var(--olive); }
.letter__row input {
  flex: 1; min-width: 0; min-height: 48px;
  padding: 0 1.1rem;
  border: 0; background: none;
  font: inherit; font-size: 1rem; color: var(--olive);
}
.letter__row input:focus { outline: none; }
.letter__row input::placeholder { color: #8a8f80; }
.letter__help { margin-top: 0.8rem; font-size: 0.82rem; color: var(--muted); }
.letter__msg { margin-top: 0.6rem; min-height: 1.5em; font-size: 0.9rem; font-weight: 600; }
.letter__msg.is-error { color: #8f2d1f; }
.letter__msg.is-ok { color: var(--olive); }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: var(--z-content); background: var(--olive); color: var(--milk); padding-block: clamp(80px, 12vh, 130px) 36px; }
.footer__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; padding-bottom: clamp(2.4rem, 5vh, 4rem); border-bottom: 1px solid rgba(247, 244, 239, 0.15); }
.footer__word { font-family: var(--serif); font-weight: 300; font-size: clamp(5rem, 16vw, 15rem); line-height: 0.8; letter-spacing: -0.04em; }
.footer__tag { max-width: 18rem; text-align: right; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: #d6dccf; }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding-block: clamp(2.4rem, 5vh, 3.6rem); font-size: 0.92rem; line-height: 1.8; color: #dfe4d9; }
.footer__h { margin-bottom: 0.6rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage); }
.footer a { transition: color 0.35s; }
.footer a:hover { color: var(--rose); }
.footer__social a { display: inline-block; padding-block: 0.1rem; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.6rem; border-top: 1px solid rgba(247, 244, 239, 0.15); font-size: 0.8rem; color: #c9d0c1; }
.footer__credit { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(247, 244, 239, 0.4); }

main { position: relative; z-index: var(--z-content); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { gap: 1.2rem; }
  .results__grid { grid-template-columns: 1fr minmax(200px, 28vw) 1fr; }
}

@media (max-width: 899px) {
  .nav__links { display: none; }
  .nav__toggle { display: grid; }
  .nav__bag span:first-child { display: none; }

  .hero { justify-content: flex-start; padding-top: 118px; }
  .hero__title { font-size: clamp(3.3rem, 15vw, 6rem); }
  .hero__sub { max-width: 26rem; font-size: 0.98rem; }
  .hero__ctas { margin-top: 1.6rem; }
  .hero__foot { display: none; }
  .hero__ctas { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 26px; margin: 0; flex-wrap: nowrap; gap: 0.6rem; }
  .hero__ctas .btn { flex: 1 1 0; min-height: 48px; padding: 0.8rem 0.9rem; font-size: 0.8rem; white-space: nowrap; }
  .hero__content { position: static; }

  .card-soft {
    padding: 1.5rem 1.4rem;
    border-radius: var(--radius);
    background: rgba(251, 249, 245, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  }
  .philo__sticky { justify-content: flex-start; padding-top: 92px; }
  .philo__caption { display: none; }
  .facts { margin-top: 1.4rem; padding-top: 1.2rem; }

  .formula { align-items: flex-start; padding-top: 88px; }
  .formula__col .display { font-size: clamp(2rem, 8.4vw, 3rem); }
  .fpanels { margin-top: 1.2rem; min-height: 13.5rem; }
  .fpanel { padding-top: 1rem; }
  .fpanel p:last-child { font-size: 0.92rem; line-height: 1.6; }

  .results { padding-top: 14vh; }
  .results__grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; min-height: 0; margin-top: 46vh; }
  .results__gap { display: none; }
  .results__col, .results__col:last-child { align-items: stretch; gap: 0.8rem; }
  .stat { width: 100%; padding: 1.1rem 1.1rem; background: rgba(251, 249, 245, 0.86); }
  .stat__label { font-size: 0.82rem; }

  .rstep { width: 88vw; grid-template-columns: 1fr; gap: 1.4rem; align-content: center; padding: 90px 6vw 40px; }
  .rstep__media { max-height: 38vh; aspect-ratio: 1 / 1; width: 100%; border-radius: 160px 160px 20px 20px; }
  .rstep h3 { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .rstep__product { margin: 0.5rem 0 0.8rem; }
  .rstep p:last-child { font-size: 0.94rem; }

  .shop__stage { padding-top: 100px; }
  .products { grid-template-columns: 1fr; }
  .set { grid-template-columns: 1fr; text-align: left; }

  .reviews__head { flex-direction: column; align-items: flex-start; }
  .reviews__score { text-align: left; }

  .refill__grid { grid-template-columns: 1fr; }
  .refill__media { max-width: 440px; }
  .refill__stats { grid-template-columns: 1fr 1fr 1fr; gap: 0.8rem; }

  .letter__inner { grid-template-columns: 1fr; align-items: start; }

  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__tag { text-align: left; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .philo .facts { display: none; }
  .philo .lead { margin-top: 1.1rem; font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .facts { gap: 1rem; }
  .facts strong { font-size: 2rem; }
  .refill__stats { grid-template-columns: 1fr; }
  .letter__row { flex-direction: column; border-radius: 22px; }
  .letter__row .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
.reduced .philo { height: auto; }
.reduced .philo__sticky { position: relative; height: auto; min-height: 100vh; padding-block: 120px; }
.reduced .shop__stage { height: 70vh; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
