/* ==========================================================
   PEPTARIN — SLIM SECRET
   Wine + cream, gold as a hairline accent. Real product photos,
   copy taken word for word from the approved images 01–13.
   Layout, colour, type and motion are designed for this page.
   ========================================================== */

:root {
  --wine: #4A1119;
  --wine-deep: #2E0A10;
  --red: #A51C24;          /* emphasis words (red in the approved copy) */
  --gold: #B08D4A;         /* rules and marks only, never body text on light */
  --gold-light: #D9C290;   /* emphasis on dark */
  --cream: #F5F0E7;
  --paper: #FBF8F3;
  --ink: #2A2223;
  --ink-2: #4A4140;
  --ink-3: #6B615D;
  --line: #DCD0BD;
  --line-dark: rgba(217, 194, 144, .28);

  --serif: "Noto Serif KR", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(88px, 12vw, 168px);
  --header-h: 68px;
  --ease: cubic-bezier(.25, .6, .3, 1);
  --radius: 14px;
  --radius-btn: 8px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.75;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
table { border-collapse: collapse; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 200;
  background: var(--wine-deep); color: var(--cream); padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: var(--section-y) 0; }
.section--paper { background: var(--paper); }
.section--wine { background: var(--wine-deep); color: var(--cream); }

/* ---------- Type ---------- */
.display {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 4.4vw, 56px); line-height: 1.38; letter-spacing: -0.035em;
}
.display strong { font-weight: 600; }
.display--xl { font-size: clamp(36px, 6.6vw, 92px); line-height: 1.28; }
.h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.45; letter-spacing: -0.02em; }
.statement { font-size: clamp(19px, 2vw, 24px); line-height: 1.8; color: var(--ink-2); }
.statement--lg { font-size: clamp(23px, 2.8vw, 34px); line-height: 1.6; color: var(--ink); font-family: var(--serif); font-weight: 500; letter-spacing: -0.03em; }
.body { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.85; color: var(--ink-2); }
.note { font-size: 17px; line-height: 1.7; color: var(--ink-3); }
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 700; color: var(--red); }
.eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--gold); }
.ln { display: block; }

/* Emphasis, mapped from the approved images
   strong        bold ink            strong.name   red words
   .accent       red in headlines    .accent-gold  the same on dark
   .mark         highlighted phrase  .hl           yellow words on red → gold on wine
   strong.ul     underlined bold     .it           italic bold */
main strong { font-weight: 700; color: var(--ink); }
main strong.name, .accent { color: var(--red); }
.accent-gold { color: var(--gold-light); }
main .mark {
  font-weight: 700; color: var(--red);
  background: linear-gradient(transparent 62%, rgba(176, 141, 74, .3) 62%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
main strong.ul { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 7px; text-decoration-thickness: 1.5px; }
.section--wine strong, .empathy__band strong, .hero__foot strong, .closing strong { color: #fff; }
.hl, main strong.hl { color: var(--gold-light); font-weight: 700; }
.hl--line { border-bottom: 1.5px solid var(--gold-light); padding-bottom: 2px; }
.it { font-style: italic; }
.section--wine .note { color: rgba(245, 240, 231, .78); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 34px;
  border: 1px solid transparent; border-radius: var(--radius-btn);
  font-family: var(--sans); font-size: 18px; font-weight: 700; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn--wine { background: var(--wine); color: var(--cream); }
.btn--wine:hover { background: var(--wine-deep); }
.btn--gold { background: var(--gold-light); color: #1B0B0D; }
.btn--gold:hover { background: #E8D5A9; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--lg { min-height: 64px; padding: 0 56px; font-size: 20px; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 18px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold);
  text-underline-offset: 8px; text-decoration-thickness: 1.5px;
}
.text-link:hover { color: var(--red); }

/* ---------- Photo frames, video slots ---------- */
[data-zoomin] { overflow: hidden; }
.slot-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; }
.slot-video.is-ready { opacity: 1; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: var(--ink);
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(245, 240, 231, .94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.site-header__inner {
  height: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 40px;
}
.brand img { height: 40px; width: auto; }
.gnb { display: flex; gap: 32px; margin-left: auto; font-size: 16px; font-weight: 500; }
.gnb a { position: relative; display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.gnb a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.gnb a:hover::after, .gnb a.is-current::after { transform: scaleX(1); }
.menu-toggle, .gnb .gnb__buy { display: none; }

/* ---------- 1. Hero (01): copy left, real photo bleeding to the right edge ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 43fr) minmax(0, 57fr); grid-template-rows: minmax(0, 1fr) auto;
  min-height: 100svh; background: var(--wine-deep); color: var(--cream);
  overflow-x: clip; /* the slow zoom-in on the photo must not widen the page (2~3px sideways scroll on phones) */
}
/* photo runs full width behind the copy; a wine shade on the left carries the text */
.hero__media { position: relative; grid-column: 1 / -1; grid-row: 1; overflow: hidden; min-height: 520px; background: var(--wine-deep); }
.hero__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(36, 8, 12, .82) 0%, rgba(36, 8, 12, .6) 30%, rgba(36, 8, 12, .14) 50%, rgba(36, 8, 12, 0) 60%),
    linear-gradient(180deg, rgba(36, 8, 12, .55) 0%, rgba(36, 8, 12, 0) 18%, rgba(36, 8, 12, 0) 80%, rgba(36, 8, 12, .45) 100%);
}
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; transform-origin: 76% 40%; }
.hero__copy {
  grid-column: 1; grid-row: 1; align-self: center; position: relative; z-index: 2;
  padding: calc(var(--header-h) + 40px) clamp(20px, 2.5vw, 40px) 56px max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.hero__lead { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.6; color: rgba(245, 240, 231, .9); }
.hero__lead strong, .hero__sub strong { color: #fff; }
.hero__title {
  margin-top: 28px;
  font-family: var(--serif); font-weight: 600; color: var(--cream);
  font-size: clamp(34px, 3.5vw, 52px); line-height: 1.26; letter-spacing: -0.04em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: block; white-space: nowrap; }
.hero__sub { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--gold); display: inline-block; font-size: clamp(19px, 1.7vw, 23px); color: rgba(245, 240, 231, .9); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 40px; }
.hero .btn--wine { background: var(--cream); color: var(--wine-deep); }
.hero .btn--wine:hover { background: #fff; }
.hero .text-link { color: var(--cream); text-decoration-color: var(--gold-light); }
.hero .text-link:hover { color: #fff; }
/* header sits on the dark photo until it turns solid */
.site-header:not(.is-solid):not(.is-open) { color: var(--cream); }
.site-header:not(.is-solid):not(.is-open) .btn--wine { background: transparent; border-color: rgba(245, 240, 231, .6); }
.site-header:not(.is-solid):not(.is-open) .btn--wine:hover { background: rgba(245, 240, 231, .12); }

.seal {
  position: absolute; z-index: 2; top: calc(var(--header-h) + 20px); right: clamp(16px, 3vw, 40px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: clamp(104px, 9vw, 132px); aspect-ratio: 1; border-radius: 50%;
  background: rgba(46, 10, 16, .92); color: var(--gold-light);
  box-shadow: inset 0 0 0 1px rgba(46, 10, 16, 1), inset 0 0 0 5px rgba(46, 10, 16, .92), inset 0 0 0 6px var(--gold);
  font-family: var(--serif); font-weight: 600; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.25;
}
.seal__plus { color: #fff; font-family: var(--sans); font-weight: 400; line-height: 1; }

.hero__foot {
  grid-column: 1 / -1; grid-row: 2;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px;
  padding: 30px max(var(--gutter), calc((100vw - var(--container)) / 2));
  background: var(--wine-deep); color: var(--cream);
}
.hero__keys { display: flex; flex-wrap: wrap; gap: 12px clamp(24px, 3.4vw, 56px); }
.hero__keys li { display: flex; align-items: center; gap: 12px; font-size: clamp(19px, 1.6vw, 22px); }
.hero__icon { flex: none; width: 28px; height: 28px; fill: none; stroke: var(--gold-light); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hero__keys strong { color: #fff; }
.hero__keys-note { font-size: 17px; color: rgba(245, 240, 231, .82); margin-left: -4px; }
.hero__quote { font-family: var(--serif); font-size: clamp(19px, 1.7vw, 23px); color: var(--gold-light); }

/* ---------- 2. Empathy (02): big statement beside the bottle ---------- */
.empathy { background: var(--cream); color: var(--ink); }
.empathy__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 7vw, 112px); align-items: center; padding-top: var(--section-y); padding-bottom: var(--section-y); }
.empathy .display { font-size: clamp(34px, 5.6vw, 76px); line-height: 1.3; }
.empathy .statement { margin-top: clamp(32px, 4vw, 52px); }
.empathy .statement--lg { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); }
.empathy__photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: visible; }
.empathy__frame { width: 100%; height: 100%; border-radius: var(--radius); overflow: hidden; }
.empathy__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
/* Body illustration (wine, translucent bust with its vessels) and the 환 lying in front of it */
.empathy__frame { box-shadow: 0 0 0 1px rgba(122, 15, 24, .12), 0 30px 60px -36px rgba(46, 10, 16, .5); }
.body-art { display: block; width: 100%; height: 100%; }
.body-art .flow { stroke-dasharray: .03 .07; }
.body-art .speck { opacity: 0; }
.empathy__pills { position: absolute; left: -10%; bottom: -8%; width: 76%; height: auto; pointer-events: none; }
.tag {
  position: absolute; left: -18px; top: -18px; z-index: 1;
  padding: 8px 18px; background: var(--red); color: #fff;
  font-size: 18px; font-weight: 700; letter-spacing: 0; line-height: 1.4;
}
.empathy__band { background: var(--wine-deep); color: var(--cream); padding: clamp(72px, 9vw, 128px) 0; }
.empathy__band p { font-size: clamp(20px, 2.7vw, 34px); line-height: 1.85; letter-spacing: -0.02em; }
.empathy__band .hl--line { font-size: 1.18em; }

/* ---------- 3. Core value (05): type alone ---------- */
.core { background: var(--cream); overflow-x: clip; }
.core__row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: clamp(40px, 6vw, 80px); }
.core .statement { max-width: 26em; padding-left: clamp(20px, 3vw, 40px); border-left: 1px solid var(--gold); font-size: clamp(20px, 2.2vw, 27px); }
/* floating product: transparent cutout, so there is no backdrop and no edge. The shadow stays on the floor. */
.floaty { position: relative; aspect-ratio: 1100 / 881; max-width: 620px; width: 100%; margin: 0 auto; }
.floaty img { position: absolute; inset: 0; width: 100%; height: 100%; }
.floaty__shadow { transform-origin: 26% 92%; }

/* ---------- 4. Name (03): photo + equation ---------- */
.name__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.name__formula { white-space: nowrap; font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 3.1vw, 44px); letter-spacing: -0.03em; line-height: 1.3; }
.name__en { margin-top: 10px; font-size: clamp(17px, 1.8vw, 22px); color: var(--ink-2); letter-spacing: .02em; }

.equation {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1.2fr; align-items: start; gap: 12px;
  padding: 36px 0 32px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line);
}
.equation__term { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.equation__ko { margin-top: 8px; font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); font-weight: 500; letter-spacing: -0.03em; }
.equation__en { font-size: 15px; letter-spacing: .06em; color: var(--ink-3); }
.equation__op { align-self: start; margin-top: 50px; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 34px); font-weight: 400; color: var(--gold); line-height: 1; }
.equation__term--result .equation__ko { color: var(--red); font-weight: 600; font-size: clamp(26px, 2.8vw, 38px); margin-top: 2px; line-height: 1.15; }

.eq-icon {
  position: relative; display: grid; place-items: center;
  width: 92px; height: 92px; margin: 20px 0; border-radius: 50%;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line);
}
.eq-svg { width: 56px; height: 56px; overflow: visible; }
.eq-svg path, .eq-svg circle { fill: none; stroke: var(--wine); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.eq-svg--peptide .eq-link { stroke: var(--gold); stroke-width: 2; }
.eq-svg--peptide .eq-bead { fill: var(--wine); stroke: #fff; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; }
.eq-svg--routine .eq-hands { stroke: var(--gold); transform-box: view-box; transform-origin: 32px 32px; }
.eq-svg--routine .eq-hub { fill: var(--gold); stroke: none; }
.eq-icon--result { width: 132px; height: 132px; margin: 0; box-shadow: none; background: none; }
.eq-bottle { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.eq-ring { position: absolute; inset: -5px; width: calc(100% + 10px); height: calc(100% + 10px); transform: rotate(-90deg); }
.eq-ring circle { fill: none; stroke: var(--gold); stroke-width: 1.4; }

/* ---------- 5. Fit (04): checklist on wine ---------- */
.fit__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.fit__title { position: sticky; top: calc(var(--header-h) + 40px); }
.fit__list { border-top: 1px solid var(--gold-light); }
.fit__list li { display: flex; align-items: flex-start; gap: clamp(16px, 2vw, 28px); padding: clamp(22px, 2.6vw, 32px) 0; border-bottom: 1px solid var(--line-dark); }
.fit__list p { font-size: clamp(20px, 2.4vw, 30px); line-height: 1.5; letter-spacing: -0.02em; color: rgba(245, 240, 231, .9); }
.fit__list strong { color: var(--gold-light); }
.check { flex: none; width: 32px; height: 32px; margin-top: .22em; }
.check rect { fill: none; stroke: var(--gold-light); stroke-width: 1.5; }
.check path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 6. Peptide (06) ---------- */
.peptide__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); margin-top: clamp(48px, 6vw, 80px); align-items: start; }
.peptide__what, .peptide__ours { padding-top: 26px; border-top: 1px solid var(--ink); }
.peptide__diagram { display: block; width: 100%; max-width: 560px; height: auto; margin: 28px 0 24px; }
.peptide__diagram .chain path { stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.peptide__diagram .chain--protein path { stroke: #B9AC9B; }
.peptide__diagram .chain--protein circle { fill: var(--paper); stroke: #8E8071; stroke-width: 2; }
.peptide__diagram .chain--peptide path { stroke: var(--wine); opacity: .5; }
.peptide__diagram .chain--peptide circle { fill: var(--wine); }
.peptide__diagram .arrow path { stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.peptide__diagram text { font-family: var(--sans); font-size: 17px; font-weight: 600; fill: var(--ink-2); }
.peptide__diagram .frag { transform-box: fill-box; transform-origin: center; }

.ticks { margin-top: 20px; }
.ticks li { position: relative; padding: 18px 0 18px 40px; border-bottom: 1px solid var(--line); font-size: clamp(19px, 1.9vw, 23px); line-height: 1.5; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: 27px; width: 16px; height: 9px;
  border-left: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(-45deg);
}
.ticks strong { color: var(--red); }

.origin { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; margin-top: clamp(56px, 7vw, 96px); }
.origin__grub { width: clamp(160px, 17vw, 230px); }
.origin__grub img { width: 100%; transform-origin: 50% 85%; }
.origin__item { padding-left: clamp(20px, 2.4vw, 32px); border-left: 1px solid var(--gold); font-size: clamp(19px, 2vw, 24px); line-height: 1.8; color: var(--ink-2); }

/* Evidence documents: shown as images, tap to enlarge */
.doc { margin: 0; }
.doc .zoom { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -32px rgba(46, 10, 16, .45); }
.doc figcaption { margin-top: 16px; font-size: 17px; line-height: 1.7; }
.doc--paper { max-width: 860px; margin: clamp(56px, 7vw, 96px) auto 0; }
.doc--paper figcaption { color: var(--ink-2); padding-left: 20px; border-left: 1px solid var(--gold); }
.doc--paper figcaption a { color: var(--red); font-weight: 600; word-break: break-all; }

.zoom { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; font: inherit; color: inherit; }
.zoom img { width: 100%; }
.zoom__icon {
  position: absolute; right: 12px; bottom: 12px;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(46, 10, 16, .88);
}
.zoom__icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }

/* ---------- 7. Ingredients (07): a botanical plate ---------- */
.ingredients__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.plate { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--ink); }
.plate li {
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
  padding: clamp(24px, 3vw, 40px) clamp(16px, 2.4vw, 32px) clamp(24px, 3vw, 36px);
  border-bottom: 1px solid var(--line); border-right: 1px solid var(--line);
  font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; line-height: 1.4;
}
.plate li:nth-child(4n) { border-right: 0; }
.plate img { width: clamp(84px, 9vw, 120px); height: auto; }
.plate small { display: block; margin-top: -8px; font-size: clamp(15px, 1.35vw, 17px); font-weight: 400; line-height: 1.6; color: var(--ink-2); word-break: keep-all; }

/* ---------- 8. Maker (11) ---------- */
.maker__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.story { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: end; margin-top: clamp(48px, 6vw, 88px); }
.story__img { display: block; border-radius: var(--radius); overflow: hidden; }
.story__img img { width: 100%; }
.story figcaption { padding: 0 0 6px clamp(20px, 2.4vw, 32px); border-left: 1px solid var(--gold); font-size: clamp(18px, 1.8vw, 22px); line-height: 1.8; color: var(--ink-2); }
.story--b { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.story--b .story__img { order: 2; }
.story--b figcaption { order: 1; }

/* ---------- 9. Research (12) ---------- */
.research__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.research__org { margin-top: 14px; font-size: clamp(18px, 1.8vw, 22px); color: rgba(245, 240, 231, .82); }
.research__docs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 40px); }
.research__docs figcaption { color: var(--cream); font-size: clamp(17px, 1.6vw, 20px); }
.research__docs figcaption strong { color: var(--gold-light); }
.research__claim { grid-column: 1 / -1; margin-top: clamp(16px, 3vw, 40px); padding-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line-dark); }
.research__claim p:first-child { font-family: var(--serif); font-weight: 500; font-size: clamp(23px, 3.3vw, 44px); line-height: 1.55; letter-spacing: -0.03em; }
.research__claim .note { margin-top: 16px; }

/* ---------- 10. Press (13) ---------- */
.press { padding-top: 0; }
.press__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; padding-top: var(--section-y); border-top: 1px solid var(--line-dark); }
.press__copy { position: sticky; top: calc(var(--header-h) + 40px); }
.press__box { margin-top: clamp(32px, 4vw, 48px); padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255, 255, 255, .04); }
.press__box p:first-child { font-size: clamp(19px, 1.9vw, 23px); line-height: 1.95; color: rgba(245, 240, 231, .92); }
.press__box .hl--line { font-size: 1.12em; }
.press__box .note { margin-top: 14px; }
/* the press release is a very tall screenshot: show only its head as a thumbnail, full page opens in the zoom viewer */
.doc--press { max-width: 400px; justify-self: end; width: 100%; }
.doc--press .zoom { aspect-ratio: 5 / 6; }
.doc--press .zoom img { height: 100%; object-fit: cover; object-position: 50% 0; }
.doc--press .zoom::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28%; pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, .92));
}
.doc--press .zoom__icon { z-index: 1; }
.doc--press figcaption { color: var(--cream); }

/* ---------- 11. Difference (09): numbered rows ---------- */
.diff__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.diff__list { counter-reset: diff; border-top: 1px solid var(--ink); }
.diff__list li { counter-increment: diff; display: flex; align-items: baseline; gap: clamp(20px, 3vw, 48px); padding: clamp(22px, 2.8vw, 36px) 0; border-bottom: 1px solid var(--line); }
.diff__list li::before { content: counter(diff, decimal-leading-zero); flex: none; font-family: var(--serif); font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.diff__list p { font-size: clamp(23px, 3.2vw, 40px); font-weight: 600; line-height: 1.35; letter-spacing: -0.03em; }
.diff__list .accent { font-weight: 700; }

/* ---------- 12. Ritual (08) ---------- */
.ritual__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ritual__visual { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(10px, 2vw, 24px); }
.ritual__shot { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.ritual__shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.ritual__shot--illust img { object-fit: cover; object-position: 50% 60%; }.ritual__plus { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 44px); color: var(--red); line-height: 1; }
.dose { margin-top: 24px; font-size: clamp(21px, 2.4vw, 29px); line-height: 1.5; color: var(--ink); }
.dose--day { margin-top: clamp(28px, 4vw, 44px); padding-bottom: clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--line); font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4.6vw, 60px); letter-spacing: -0.03em; line-height: 1.25; }
.dose__num { font-variant-numeric: tabular-nums; }
.dose--day .dose__num { color: var(--red); font-weight: 600; }
.ritual .note { margin-top: 20px; }

/* Ingredient amounts: 제품 표시사항의 원료명 및 함량 (bars are relative to the largest, 30%) */
.formula { margin-top: clamp(56px, 7vw, 96px); font-variant-numeric: tabular-nums; }
.formula__title { padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.formula__list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(4, auto); grid-auto-flow: column; column-gap: clamp(40px, 6vw, 96px); }
.formula__row {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-areas: "icon name value" "icon track track";
  align-items: center; column-gap: 20px; row-gap: 12px;
  padding: 22px 0 24px; border-bottom: 1px solid var(--line);
}
.formula__icon { grid-area: icon; width: 56px; height: 56px; }
.formula__name { grid-area: name; font-size: clamp(18px, 1.7vw, 21px); font-weight: 600; line-height: 1.4; }
.formula__value { grid-area: value; min-width: 3em; text-align: right; font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 2.3vw, 30px); line-height: 1; color: var(--wine); }
.formula__track { grid-area: track; position: relative; height: 6px; border-radius: 3px; background: rgba(176, 141, 74, .2); overflow: hidden; }
.formula__fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--pct) / 30 * 100%); border-radius: 3px; background: var(--gold); transform-origin: left center; }
.formula__row--main .formula__name { font-weight: 700; }
.formula__row--main .formula__value { font-size: clamp(30px, 3vw, 40px); color: var(--red); }
.formula__row--main .formula__fill { background: var(--red); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__list { border-top: 1px solid var(--ink); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 26px 56px 26px 0; font-size: clamp(19px, 2vw, 24px); font-weight: 600; line-height: 1.45;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::before, .faq__list summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 18px; height: 2px; margin-top: -1px; background: var(--red);
  transition: transform .3s var(--ease);
}
.faq__list summary::after { transform: rotate(90deg); }
.faq__list details[open] summary::after { transform: rotate(0deg); }
.faq__list details p { padding: 0 56px 30px 0; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.85; color: var(--ink-2); }
.faq__list details p a { color: var(--red); font-weight: 600; }
@media (max-width: 900px) {
  .formula__list { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
  .formula__row { grid-template-columns: 44px minmax(0, 1fr) auto; column-gap: 14px; }
  .formula__icon { width: 44px; height: 44px; }
  .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .faq__list details p { padding-right: 0; }
}

/* ---------- 15. Closing (10): black, gold, the real bottle in an arch ---------- */
.closing { position: relative; overflow: hidden; padding: clamp(96px, 12vw, 168px) 0 clamp(72px, 9vw, 120px); background: #0B0707; color: #fff; text-align: center; }
.closing__dust { position: absolute; inset: 0; pointer-events: none; }
.closing__dust i {
  position: absolute; inset: -20% 0; opacity: .55;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, #E8D5A9 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 68%, #D9C290 50%, transparent 51%),
    radial-gradient(2px 2px at 44% 36%, #B08D4A 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 82%, #E8D5A9 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 72% 14%, #D9C290 50%, transparent 51%),
    radial-gradient(1px 1px at 86% 56%, #B08D4A 50%, transparent 51%),
    radial-gradient(2px 2px at 94% 90%, #E8D5A9 50%, transparent 51%);
  background-size: 420px 520px;
}
.closing__dust i:nth-child(2) { background-size: 300px 380px; background-position: 120px 60px; opacity: .35; }
.closing__dust i:nth-child(3) { background-size: 560px 700px; background-position: 40px 200px; opacity: .45; }
.closing::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(176, 141, 74, .2) 0%, rgba(176, 141, 74, 0) 70%);
}
.closing__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.closing__lead { font-size: clamp(21px, 2.4vw, 28px); line-height: 1.55; color: rgba(255, 255, 255, .88); }
.closing__mark { width: 32px; height: auto; margin-top: 32px; }
.closing__title { margin-top: 28px; font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.5; letter-spacing: -0.02em; }
.closing__gold { display: block; margin-top: 4px; font-size: clamp(36px, 6.2vw, 80px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.25; color: var(--gold-light); }
/* no frame: the photo's own black melts into the section on all four sides */
.closing__visual {
  position: relative; width: min(560px, 92vw); aspect-ratio: 3 / 4; margin-top: clamp(16px, 3vw, 40px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%);
  mask-composite: intersect;
}
.closing__visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* flowing starlight (canvas, drawn by js/main.js) sits above the photo */
.closing__stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
html:not(.motion) .closing__stars { display: none; }
.closing__note { margin-top: clamp(40px, 5vw, 56px); font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, .86); }
.price { margin-top: 20px; font-family: var(--serif); font-size: 28px; font-weight: 500; }
.closing .btn { margin-top: 32px; }

/* ---------- 16. Footer (unchanged content) ---------- */
.site-footer { background: var(--paper); padding: clamp(72px, 9vw, 112px) 0 40px; font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.notice { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.notice__title { font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--ink); margin-bottom: 20px; }
.spec { border-top: 1px solid var(--ink); }
.spec div { display: grid; grid-template-columns: 136px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-weight: 600; color: var(--ink); }
.spec a { color: inherit; }

.notice__nutrition .notice__title { visibility: hidden; }
.nutrition { background: #fff; border: 2px solid var(--ink); color: var(--ink); font-size: 14px; border-radius: var(--radius); overflow: hidden; }
.nutrition__head { display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: #fff; padding: 12px 18px; }
.nutrition__name { font-size: 18px; font-weight: 700; }
.nutrition__total { font-size: 12px; text-align: right; line-height: 1.45; opacity: .9; }
.nutrition table { width: 100%; }
.nutrition thead th { font-size: 12px; font-weight: 600; line-height: 1.4; padding: 10px 18px 8px; border-bottom: 2px solid var(--ink); text-align: right; vertical-align: bottom; }
.nutrition thead th:first-child { text-align: left; }
.nutrition tbody th { text-align: left; font-weight: 400; padding: 8px 18px; border-bottom: 1px solid #DDD6CC; }
.nutrition tbody td { text-align: right; padding: 8px 18px; border-bottom: 1px solid #DDD6CC; font-variant-numeric: tabular-nums; }
.nutrition tbody tr.sub th { padding-left: 34px; }
.nutrition tbody tr:last-child th, .nutrition tbody tr:last-child td { border-bottom: 2px solid var(--ink); }
.nutrition__foot { padding: 10px 18px 14px; font-size: 12px; color: var(--ink-2); line-height: 1.6; }

.disclaimer { margin-top: 56px; padding: 20px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--ink); }
.site-footer__bottom { display: flex; align-items: center; gap: 24px; margin-top: 32px; font-size: 13px; color: var(--ink-3); }
.site-footer__bottom img { height: 36px; width: auto; }
.site-footer__bottom a { color: inherit; }
.biz { display: flex; flex-wrap: wrap; gap: 4px 0; }
.biz li + li::before { content: ""; display: inline-block; width: 1px; height: 10px; margin: 0 14px; background: var(--line); vertical-align: middle; }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: rgba(18, 8, 10, .96); color: #fff;
}
.lightbox::backdrop { background: rgba(18, 8, 10, .6); }
.lightbox__scroll { width: 100%; height: 100%; overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.lightbox__img { width: auto; max-width: none; min-width: min(100%, 760px); height: auto; margin: 0 auto; padding: 72px 0 40px; touch-action: pan-x pan-y pinch-zoom; }
.lightbox__close {
  position: fixed; top: max(12px, env(safe-area-inset-top)); right: 12px; z-index: 1;
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .18); cursor: pointer;
}
.lightbox__close svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
body.is-locked { overflow: hidden; }

/* ---------- Sticky buy (mobile) ---------- */
.sticky-buy { display: none; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .gnb { gap: 22px; font-size: 15px; }
}

@media (max-width: 900px) {
  :root { --header-h: 58px; }
  body { font-size: 17px; }
  .site-header__inner { justify-content: space-between; }

  /* Mobile menu: hamburger opens a panel under the header */
  .menu-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 7px;
    width: 44px; height: 44px; margin-right: -10px; padding: 0 10px;
    background: none; border: 0; color: inherit; cursor: pointer;
  }
  .menu-toggle__bar { display: block; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
  .site-header.is-open .menu-toggle__bar:first-child { transform: translateY(4.5px) rotate(45deg); }
  .site-header.is-open .menu-toggle__bar:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .site-header.is-open { background: var(--cream); border-bottom-color: var(--line); }

  .gnb {
    position: fixed; top: var(--header-h); left: 0; right: 0; margin: 0;
    display: flex; flex-direction: column; gap: 0;
    padding: 8px var(--gutter) calc(28px + env(safe-area-inset-bottom));
    max-height: calc(100svh - var(--header-h)); overflow-y: auto;
    background: var(--cream); color: var(--ink);
    box-shadow: 0 24px 40px -24px rgba(46, 10, 16, .35);
    font-size: 19px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .site-header.is-open .gnb { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .gnb a { padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-weight: 500; }
  .gnb a::after { display: none; }
  .gnb a.is-current { color: var(--red); }
  .gnb .gnb__buy { display: flex; margin-top: 24px; border-bottom: 0; font-family: var(--sans); font-size: 18px; color: var(--cream); background: var(--wine); }
  .brand img { height: 34px; }
  .site-header .btn--sm { display: none; }

  /* Hero: photo first, then the copy */
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; min-height: 0; }
  .hero__media { grid-column: 1; grid-row: 1; min-height: 0; aspect-ratio: 10 / 11; }
  .hero__photo { object-position: 82% 50%; }
  /* photo fades down into the wine copy block */
  .hero__media::after {
    background:
      linear-gradient(180deg, rgba(36, 8, 12, .5) 0%, rgba(36, 8, 12, 0) 22%, rgba(36, 8, 12, 0) 62%, var(--wine-deep) 100%);
  }
  .hero__copy { grid-column: 1; grid-row: 2; padding: 12px var(--gutter) 44px; }
  .hero__title { margin-top: 18px; }
  .hero__actions { margin-top: 32px; }
  .hero__actions .btn { width: 100%; }
  .hero__actions .text-link { margin: 0 auto; }
  .hero__foot { grid-row: 3; flex-direction: column; align-items: flex-start; padding: 32px var(--gutter) 36px; gap: 24px; }
  .hero__keys { flex-direction: column; gap: 0; width: 100%; }
  .hero__keys li { padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
  .hero__keys li:first-child { border-top: 1px solid var(--line-dark); }
  .seal { top: auto; bottom: -40px; right: 16px; width: 88px; font-size: 16px; z-index: 1; }
  .hero__media { overflow: visible; }
  .hero__photo, .hero__media .slot-video { clip-path: inset(0); }

  .empathy__grid, .name__grid, .fit__grid, .peptide__grid, .origin, .ingredients__head, .maker__head,
  .story, .story--b, .research__grid, .press__grid, .diff__grid, .ritual__grid { grid-template-columns: minmax(0, 1fr); }
  .empathy__photo { width: min(78%, 340px); margin-left: auto; }
  .tag { left: -24px; }
  .fit__title, .press__copy { position: static; }
  .core__row { grid-template-columns: minmax(0, 1fr); }
  .name__copy { order: 2; margin-top: 8px; }
  .origin__grub { order: -1; justify-self: center; width: 170px; }

  .equation { padding: 28px 0 26px; gap: 4px; grid-template-columns: 1fr auto 1fr auto 1.15fr; }
  .equation__ko { margin-top: 4px; }
  .eq-icon { width: 64px; height: 64px; margin: 14px 0; }
  .eq-svg { width: 40px; height: 40px; }
  .eq-icon--result { width: 92px; height: 92px; margin: 0; }
  .equation__op { margin-top: 34px; font-size: 22px; }

  .plate { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plate li:nth-child(4n) { border-right: 1px solid var(--line); }
  .plate li:nth-child(2n) { border-right: 0; }

  .story figcaption, .story--b figcaption { order: 2; padding-bottom: 0; }
  .story--b .story__img { order: 1; }
  .doc--press { justify-self: stretch; max-width: none; }
  .check { width: 28px; height: 28px; }

  .notice { grid-template-columns: minmax(0, 1fr); }
  .notice__nutrition .notice__title { display: none; }
  .spec div { grid-template-columns: 1fr; gap: 2px; }
  .site-footer { padding-bottom: 112px; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .biz { flex-direction: column; }
  .biz li + li::before { display: none; }

  .closing .btn { width: 100%; }

  .sticky-buy {
    display: block;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(245, 240, 231, .96);
    border-top: 1px solid var(--line);
    transform: translateY(110%);
    transition: transform .35s var(--ease);
  }
  .sticky-buy.is-visible { transform: none; }
}

@media (max-width: 420px) {
  .nutrition thead th, .nutrition tbody th, .nutrition tbody td { padding-left: 12px; padding-right: 12px; }
  .nutrition tbody tr.sub th { padding-left: 26px; }
  .nutrition__head { padding: 12px; }
  .equation__en { font-size: 15px; letter-spacing: 0; }
}

/* ==========================================================
   Motion — CSS + IntersectionObserver only, no library.
   Times are the 기획안 "모션 설계" table × 1.2 (20% slower for a 40+ audience).
   Everything here is scoped to html.motion, which is set only when
   prefers-reduced-motion is not "reduce". Without it the page is static.
   ========================================================== */
@media (prefers-reduced-motion: no-preference) {
  html.motion { scroll-behavior: smooth; }

  /* Section entry: fade up (0.8s × 1.2) */
  .motion [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .96s var(--ease), transform .96s var(--ease); }
  .motion [data-reveal].is-in { opacity: 1; transform: none; }

  /* Photos: slow push-in 1.0 → 1.06 once in view */
  .motion [data-zoomin] img { transform: scale(1); transition: transform 7.2s cubic-bezier(.2, .6, .2, 1); will-change: transform; }
  .motion [data-zoomin].is-in img { transform: scale(1.06); }

  /* 히어로: 사진 1.05 → 1 (1.6s × 1.2 = 1.92s), 제목은 줄 단위로 (간격 0.12s × 1.2 = 0.144s) */
  .motion .hero__photo { animation: hero-push 14s cubic-bezier(.25, .6, .3, 1) both; }
  .motion .hero__lead { animation: fade-up .96s var(--ease) .2s both; }
  .motion .hero__title .line > span { animation: line-up .96s cubic-bezier(.2, .7, .2, 1) both; }
  .motion .hero__title .line:nth-child(1) > span { animation-delay: .4s; }
  .motion .hero__title .line:nth-child(2) > span { animation-delay: .544s; }
  .motion .hero__sub { animation: fade-up .96s var(--ease) .9s both; }
  .motion .hero__actions { animation: fade-up .96s var(--ease) 1.1s both; }
  .motion .seal { animation: fade-in .96s var(--ease) 1.5s both; }
  .motion .hero__keys li { animation: fade-up .72s var(--ease) both; }
  .motion .hero__keys li:nth-child(1) { animation-delay: 1.3s; }
  .motion .hero__keys li:nth-child(2) { animation-delay: 1.444s; }
  .motion .hero__keys li:nth-child(3) { animation-delay: 1.588s; }
  .motion .hero__quote { animation: fade-in .96s var(--ease) 1.9s both; }

  /* 공감(02): 한 줄씩 페이드업 (줄당 0.6s × 1.2 = 0.72s), 배경은 크림 → 와인 */
  .motion [data-lines] .ln { opacity: 0; transform: translateY(14px); transition: opacity .72s var(--ease), transform .72s var(--ease); transition-delay: calc(var(--i, 0) * .36s); }
  .motion [data-lines].is-in .ln { opacity: 1; transform: none; }
  .motion .empathy, .motion .empathy .statement, .motion .empathy .display, .motion .empathy__copy strong, .motion .empathy .accent { transition: background-color 1.2s var(--ease), color 1.2s var(--ease), border-color 1.2s var(--ease); }
  .motion .empathy.is-wine { background: var(--wine-deep); }
  .motion .empathy.is-wine .display, .motion .empathy.is-wine .statement--lg { color: var(--cream); }
  .motion .empathy.is-wine .statement { color: rgba(245, 240, 231, .86); }
  .motion .empathy.is-wine .statement--lg { border-top-color: var(--line-dark); }
  .motion .empathy.is-wine .empathy__copy strong { color: #fff; }
  .motion .empathy.is-wine .accent, .motion .empathy.is-wine .empathy__copy strong.name { color: var(--gold-light); }

  /* 공감(02) 몸속 그림: 혈관이 그려지고(2s × 1.2 = 2.4s), 흐름이 돌기 시작하고, 확대 렌즈와 환이 뒤따라 나온다.
     렌즈 안: 혈구는 9.6s, 기름 방울은 그보다 느린 16.8s로 흘러가고, 벽에 붙은 기름은 6s 주기로 아주 조금 부푼다. */
  .motion [data-body] .vessel { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s cubic-bezier(.3, .6, .3, 1); transition-delay: calc(var(--v) * .24s); }
  .motion [data-body].is-in .vessel { stroke-dashoffset: 0; }
  .motion [data-body] .capillaries, .motion [data-body] .flows { opacity: 0; transition: opacity 1.2s ease-out 2.2s; }
  .motion [data-body].is-in .capillaries, .motion [data-body].is-in .flows { opacity: 1; }
  .motion [data-body] .flow { animation: ba-flow 12s linear infinite; }
  .motion [data-body] .flow--back { animation-direction: reverse; }
  .motion [data-body] .lens { opacity: 0; transform: scale(.88); transform-origin: 292px 392px; transition: opacity .96s var(--ease) 1.8s, transform 1.2s cubic-bezier(.2, .8, .2, 1) 1.8s; }
  .motion [data-body].is-in .lens { opacity: 1; transform: none; }
  .motion [data-body] .cell { animation: ba-drift 9.6s linear infinite; animation-delay: calc(var(--d) * -1.92s); }
  .motion [data-body] .drop { animation: ba-drift-slow 16.8s linear infinite; animation-delay: calc(var(--d) * -3.36s); }
  .motion [data-body] .deposit { transform-box: fill-box; transform-origin: 50% 0%; animation: ba-breathe 6s ease-in-out infinite alternate; }
  .motion [data-body] .deposit--b { transform-origin: 50% 100%; }
  .motion .empathy__pills { opacity: 0; transform: translateY(18px); transition: opacity .96s var(--ease) 2.4s, transform .96s var(--ease) 2.4s; }
  .motion [data-body].is-in .empathy__pills { opacity: 1; transform: none; }
  @supports (offset-path: path('M0 0 L1 1')) {
    .motion [data-body] .speck {
      offset-path: path('M250 500 C248 440 236 390 226 340 C218 300 216 262 222 226 C226 200 236 176 244 150');
      animation: ba-speck 14.4s linear infinite; animation-delay: calc(var(--s) * -3.6s);
    }
  }
  /* nothing moves while the picture is off screen */
  .motion [data-body]:not(.is-live) * { animation-play-state: paused; }

  /* 핵심 가치(05): 큰 문장 하나만 천천히 (0.9s × 1.2 = 1.08s) */
  .motion [data-reveal="slow"] { transform: translateY(20px); transition-duration: 1.08s; }

  /* 핵심 가치(05) 옆의 떠 있는 제품: 천천히 오르내리고 (원래 사이트 7s × 1.2 = 8.4s) 바닥 그림자는 반대로 옅어진다. */
  .motion .floaty__product { animation: float-drift 8.4s ease-in-out infinite; will-change: transform; }
  .motion .floaty__shadow { animation: float-shadow 8.4s ease-in-out infinite; }
  /* 굼벵이가 아주 조금 꿈틀거림 (4s × 1.2 = 4.8s) */
  .motion .origin__grub img { animation: grub-wiggle 4.8s ease-in-out infinite; }
  /* loops rest while they are off screen */
  .motion [data-live]:not(.is-live) * { animation-play-state: paused; }

  /* 이름(03): 구슬 → 루틴 → 병, 등식 완성까지 2s × 1.2 = 2.4s */
  .motion [data-equation] .eq-link { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .motion [data-equation] .eq-bead { opacity: 0; transform: scale(.3); }
  .motion [data-equation] .eq-arc { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .motion [data-equation] .eq-arrow, .motion [data-equation] .eq-hands, .motion [data-equation] .eq-hub { opacity: 0; }
  .motion [data-equation] .eq-ring circle { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .motion [data-equation] .eq-bottle { opacity: 0; transform: scale(.92); }
  .motion [data-equation] .equation__op { opacity: 0; transform: scale(.4); }
  .motion [data-equation] .equation__term { opacity: 0; transform: translateY(10px); }

  .motion .is-in .equation__term--peptide { animation: eq-up .36s var(--ease) 0s both; }
  .motion .is-in .eq-bead { animation: eq-pop .28s cubic-bezier(.3, 1.4, .5, 1) calc(.08s + var(--n) * .06s) both; }
  .motion .is-in .eq-link { animation: eq-draw .4s ease-out .22s both; }
  .motion .is-in .equation__op--plus { animation: eq-pop .3s cubic-bezier(.3, 1.4, .5, 1) .5s both; }
  .motion .is-in .equation__term--routine { animation: eq-up .36s var(--ease) .58s both; }
  .motion .is-in .eq-arc { animation: eq-draw .46s ease-in-out .65s both; }
  .motion .is-in .eq-hub { animation: fade-in .15s ease-out .7s both; }
  .motion .is-in .eq-hands { animation: fade-in .15s ease-out .7s both, eq-tick .46s ease-in-out .65s both; }
  .motion .is-in .eq-arrow { animation: fade-in .15s ease-out 1.05s both; }
  .motion .is-in .equation__op--equals { animation: eq-pop .3s cubic-bezier(.3, 1.4, .5, 1) 1.18s both; }
  .motion .is-in .equation__term--result { animation: eq-up .36s var(--ease) 1.25s both; }
  .motion .is-in .eq-ring circle { animation: eq-draw .6s ease-in-out 1.3s both; }
  .motion .is-in .eq-bottle { animation: eq-rise .5s cubic-bezier(.2, .8, .2, 1) 1.5s both; }
  .motion .is-in .eq-icon--result { animation: eq-glow .7s ease-out 1.7s both; }

  /* 추천(04): 6개 항목이 위에서 아래로 (간격 0.15s × 1.2 = 0.18s), 체크 표시가 그려짐 */
  .motion [data-stagger="fit"] li { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * .18s); }
  .motion [data-stagger="fit"].is-in li { opacity: 1; transform: none; }
  .motion [data-stagger="fit"] .check path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .5s ease-out; transition-delay: calc(var(--i, 0) * .18s + .35s); }
  .motion [data-stagger="fit"].is-in .check path { stroke-dashoffset: 0; }

  /* 중심 원료(06): 단백질 사슬이 짧은 조각으로 나뉨 (1.2s × 1.2 = 1.44s) */
  .motion [data-diagram] .arrow { opacity: 0; transition: opacity .5s ease-out .3s; }
  .motion [data-diagram] .frag { opacity: 0; transform: translateX(-70px) scale(.8); transition: opacity .6s ease-out, transform 1.44s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(.35s + var(--f) * .12s); }
  .motion [data-diagram].is-in .arrow { opacity: 1; }
  .motion [data-diagram].is-in .frag { opacity: 1; transform: none; }

  /* 8가지 원료(07): 차례로 등장 (간격 0.08s × 1.2 = 0.096s) */
  .motion [data-stagger="plate"] li { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * .096s); }
  .motion [data-stagger="plate"].is-in li { opacity: 1; transform: none; }

  /* 근거 자료(06 논문, 11, 12, 13): 카드가 올라옴 (0.5s × 1.2 = 0.6s). 읽는 동안에는 가만히 둔다. */
  .motion [data-rise] { opacity: 0; transform: translateY(28px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .motion [data-rise].is-in { opacity: 1; transform: none; }
  .motion .research__docs [data-rise]:nth-child(2) { transition-delay: .12s; }

  /* 이런 점이 다릅니다(09): 5개 띠가 왼쪽에서 오른쪽으로 (각 0.4s × 1.2 = 0.48s, 간격 0.1s × 1.2 = 0.12s) */
  .motion [data-stagger="diff"] li { opacity: 0; transform: translateX(-32px); transition: opacity .48s var(--ease), transform .48s var(--ease); transition-delay: calc(var(--i, 0) * .12s); }
  .motion [data-stagger="diff"].is-in li { opacity: 1; transform: none; }

  /* 섭취 방법(08): 숫자 카운트업은 JS(1.2s), 병과 물잔 사이 + 기호 등장 */
  .motion [data-ritual] .ritual__shot { opacity: 0; transform: translateY(16px); transition: opacity .96s var(--ease), transform .96s var(--ease); }
  .motion [data-ritual] .ritual__shot--illust { transition-delay: .36s; }
  .motion [data-ritual] .ritual__plus { opacity: 0; transform: scale(.4); transition: opacity .5s ease-out .9s, transform .6s cubic-bezier(.3, 1.4, .5, 1) .9s; }
  .motion [data-ritual].is-in .ritual__shot, .motion [data-ritual].is-in .ritual__plus { opacity: 1; transform: none; }

  /* 마무리(10): 금빛 입자가 천천히 떠오르는 루프 (5~8s × 1.2 = 6~9.6s) */
  .motion .closing__dust i { inset: 0 0 -720px 0; animation: dust-rise 8.4s linear infinite; will-change: transform; }
  .motion .closing__dust i:nth-child(2) { animation-name: dust-rise-b; animation-duration: 6s; }
  .motion .closing__dust i:nth-child(3) { animation-name: dust-rise-c; animation-duration: 9.6s; }

  /* 원료 함량: 줄이 차례로 나오고 막대가 채워짐 (간격 0.096s, 막대 1.2s × 1.2 = 1.44s), 숫자는 JS로 카운트업 */
  .motion [data-formula] .formula__row { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * .096s); }
  .motion [data-formula] .formula__fill { transform: scaleX(0); transition: transform 1.44s cubic-bezier(.2, .75, .2, 1); transition-delay: calc(var(--i, 0) * .096s + .2s); }
  .motion [data-formula].is-in .formula__row { opacity: 1; transform: none; }
  .motion [data-formula].is-in .formula__fill { transform: scaleX(1); }

  /* video fades in over its photo */
  .motion .slot-video { transition: opacity 1.2s var(--ease); }
}

@keyframes float-shadow { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.93); opacity: .72; } }
@keyframes grub-wiggle { 0%, 100% { transform: rotate(-2.5deg) scale(1, 1); } 50% { transform: rotate(2.5deg) scale(1.02, .98); } }
@keyframes float-drift { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(-1.2deg); } }
@keyframes ba-flow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -1; } }
@keyframes ba-drift { from { transform: translateX(-220px); } to { transform: translateX(220px); } }
@keyframes ba-drift-slow { from { transform: translateX(-140px); } to { transform: translateX(140px); } }
@keyframes ba-breathe { from { transform: scale(1); } to { transform: scale(1.06, 1.14); } }
@keyframes ba-speck { 0% { offset-distance: 0%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes hero-push { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes line-up { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes eq-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes eq-pop { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: scale(1); } }
@keyframes eq-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes eq-tick { from { transform: rotate(-120deg); } to { transform: rotate(0deg); } }
@keyframes eq-rise { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes eq-glow {
  0% { box-shadow: 0 0 0 0 rgba(176, 141, 74, 0); }
  35% { box-shadow: 0 0 0 10px rgba(176, 141, 74, .18); }
  100% { box-shadow: 0 0 0 22px rgba(176, 141, 74, 0); }
}
/* each layer travels exactly one tile of its own pattern, so the loop has no seam */
@keyframes dust-rise { from { transform: translateY(0); } to { transform: translateY(-520px); } }
@keyframes dust-rise-b { from { transform: translateY(0); } to { transform: translateY(-380px); } }
@keyframes dust-rise-c { from { transform: translateY(0); } to { transform: translateY(-700px); } }

/* 움직임 줄임 설정이면 모든 모션을 끈다 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
