@charset "UTF-8";
/* =========================================================
   모드콜 (종근당) — 반응형 퍼블리싱
   - PC 시안 1920 기준 / 모바일(1023 이하)은 칼럼을 아래로 스택
   - 복잡한 구성(패널·캡슐·다이어그램)은 container query 단위(--u)로 비례 스케일
   ========================================================= */
@import url("https://cdn.jsdelivr.net/gh/sun-typeface/SUIT@2/fonts/static/woff2/SUIT.css");
@font-face { font-family: "Pretendard Variable"; font-weight: 45 920; font-style: normal; font-display: swap; src: url("../assets/fonts/PretendardVariable.woff2") format("woff2-variations"), url("../assets/fonts/PretendardVariable.woff2") format("woff2"); }
@font-face { font-family: "Paperlogy"; font-weight: 600; font-display: swap; src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Paperlogy"; font-weight: 700; font-display: swap; src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2") format("woff2"); }
@font-face { font-family: "Paperlogy"; font-weight: 800; font-display: swap; src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2") format("woff2"); }

:root {
  --red: #e60012;
  --black: #111;
  --g5: #f9fafb; --g20: #e5e8eb; --g30: #d1d6db; --g40: #b0b8c1; --g50: #8b95a1;
  --g60: #6b7684; --g70: #4e5968; --g80: #333d4b; --g90: #191f28;
  --ff: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --ff-suit: "SUIT", var(--ff);
  --ff-paper: "Paperlogy", var(--ff);
  --header-h: 110px;
  /* ---- Typography tokens (Figma 변수 Typography / font-size · PC 모드) ----
     큰 사이즈는 1920 기준 유동(clamp: 모바일값 ~ PC값), 24px 이하는 고정 */
  --fs-display-l: clamp(44px, 4.6875vw, 90px);
  --fs-display-m: clamp(40px, 4.375vw, 84px);
  --fs-display-hero: clamp(36px, 4.1667vw, 80px);
  --fs-display-s: clamp(30px, 3.2292vw, 62px);
  --fs-heading-h1: clamp(28px, 3.0208vw, 58px);
  --fs-heading-banner: clamp(26px, 2.7083vw, 52px);
  --fs-heading-h2: clamp(24px, 2.5vw, 48px);
  --fs-heading-badge: clamp(22px, 2.3958vw, 46px);
  --fs-heading-h3: clamp(22px, 1.6667vw, 32px);
  --fs-heading-h4: clamp(20px, 1.4583vw, 28px);
  --fs-heading-h5: 20px;
  --fs-body-3xl: 24px;
  --fs-body-2xl: 22px;
  --fs-body-xl: 20px;
  --fs-body-l: 18px;
  --fs-body-m: 16px;
  --fs-body-s: 15px;
  --fs-caption-eyebrow: 15px;
  --fs-caption-l: 14px;
  --fs-caption-m: 13px;
  --fs-caption-s: 12px;
  --fs-button-l: 18px;
  --fs-button-m: 16px;
  --fs-button-s: 14px;
  --fs-nav-gnb: 24px;
  --fs-nav-tab: 18px;
  --fs-nav-side: 14px;
  --fs-nav-footer: 16px;
  --gutter: clamp(20px, 6.25vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--ff); color: var(--black); background: #fff; word-break: keep-all; overflow-x: hidden; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select { font: inherit; }
.blind { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pc-only { display: revert; }
.mo-only { display: none !important; }

/* ---------- 비례 스케일 유틸 (container query) ---------- */
.cq { container-type: inline-size; position: relative; }
.cq > .cq-in { --u: calc(100cqw / var(--W)); position: relative; width: 100%; height: calc(var(--u) * var(--H)); }
.ab { position: absolute; left: calc(var(--u) * var(--x, 0)); top: calc(var(--u) * var(--y, 0)); width: calc(var(--u) * var(--w)); }
.ab[style*="--h"] { height: calc(var(--u) * var(--h)); }
.ab > img, .ins > img { display: block; width: 100%; height: 100%; max-width: none; }
.ins { position: absolute; display: block; }
.fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }

/* =========================================================
   Header
   ========================================================= */
.header { position: fixed; z-index: 100; top: 0; left: 0; right: 0; height: var(--header-h); background: rgba(0,0,0,.2); color: #fff; transition: background .3s, color .3s, box-shadow .3s; }
.header__in { position: relative; height: 100%; display: flex; align-items: center; padding: 0 var(--gutter); }
.header__logo { width: 159px; height: 39px; flex: none; margin-top: 1px; }
.header__logo img { width: 100%; height: 100%; }
.header__logo .logo-c { display: none; }
.gnb { position: absolute; left: 50%; top: 38px; transform: translateX(-50%); display: flex; gap: 83px; }
.gnb a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: var(--fs-nav-gnb); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; white-space: nowrap; }
.gnb a::after { content: ""; width: 100%; height: 4px; background: var(--red); transform: scaleX(0); transition: transform .25s; }
.gnb a.is-on { font-weight: 800; }
.gnb a.is-on::after, .gnb a:hover::after { transform: scaleX(1); }
.btn-find { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px 12px 12px; border-radius: 1000px; background: #fff; color: #000; font-size: var(--fs-body-xl); font-weight: 700; line-height: 1.5; letter-spacing: -.02em; backdrop-filter: blur(2px); white-space: nowrap; transition: transform .2s; }
.btn-find:hover { transform: translateY(-2px); }
.btn-find__ic { width: 28px; height: 28px; border-radius: 22px; background: var(--red); display: grid; place-items: center; flex: none; }
.btn-find__ic img { width: 20px; height: 20px; }
.btn-find__ic .ic-r { display: none; }
.menu-btn { display: none; }
.gnb .gnb__mo { display: none; }

/* light (제품정보·약국찾기 / 스크롤 시) */
.header--light, .header.is-scrolled { background: #fff; color: #000; box-shadow: inset 0 -1px 0 var(--g20); }
.header--light .header__logo .logo-w, .header.is-scrolled .header__logo .logo-w { display: none; }
.header--light .header__logo .logo-c, .header.is-scrolled .header__logo .logo-c { display: block; }
.header--light .btn-find, .header.is-scrolled .btn-find, .header.is-open .btn-find { background: var(--red); color: #fff; gap: 10px; }
.header--light .btn-find__ic, .header.is-scrolled .btn-find__ic, .header.is-open .btn-find__ic { background: #fff; }
.header--light .btn-find__ic .ic-w, .header.is-scrolled .btn-find__ic .ic-w, .header.is-open .btn-find__ic .ic-w { display: none; }
.header--light .btn-find__ic .ic-r, .header.is-scrolled .btn-find__ic .ic-r, .header.is-open .btn-find__ic .ic-r { display: block; }

/* =========================================================
   사이드 탭 (미디어 / 모드콜 / 특장점)
   ========================================================= */
.side-tabs { position: fixed; z-index: 90; left: 45px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 24px; }
.side-tabs a { display: flex; align-items: center; gap: 8px; font-size: var(--fs-body-xl); font-weight: 600; letter-spacing: -.02em; color: rgba(0,0,0,.4); transition: color .2s; }
.side-tabs a::before { content: ""; width: 6px; height: 6px; margin-right: 2px; border-radius: 50%; background: var(--red); opacity: 0; transition: opacity .2s; }
.side-tabs a.is-on { font-weight: 900; color: #000; }
.side-tabs a.is-on::before { opacity: 1; }
.side-tabs.is-dark a { color: rgba(255,255,255,.4); }
.side-tabs.is-dark a.is-on { color: #fff; }

/* =========================================================
   공통 타이틀
   ========================================================= */
.label { display: inline-flex; padding: 7px 18px; border-radius: 100px; font-family: var(--ff-suit); font-size: var(--fs-body-s); font-weight: 800; line-height: 1.5; letter-spacing: .15em; }
.label--line { border: 1.5px solid var(--red); color: var(--red); }
.label--fill { background: var(--red); color: #fff; }
.eyebrow { font-size: var(--fs-heading-h4); font-weight: 700; line-height: 1.4; letter-spacing: -.02em; color: var(--black); }
.title-dl { font-size: var(--fs-display-l); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.title-ds { font-size: var(--fs-display-s); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.c-red { color: var(--red); }

/* =========================================================
   01 MEDIA (hero)
   ========================================================= */
.hero { position: relative; height: min(100svh, 980px); min-height: 560px; overflow: hidden; background: #fff6d9; color: #fff; display: grid; place-items: center; text-align: center; }
.hero__bg { position: absolute; inset: 0; }
/* 히어로 배경 : <img> → <video> 로 교체해도 동일하게 꽉 채움(cover) + 잘림 처리됨 (index.html 주석 참고) */
.hero__bg img, .hero__bg video { position: absolute; left: 0; top: -9.19%; width: 100%; height: 110.04%; object-fit: cover; max-width: none; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.hero__txt { position: relative; display: flex; flex-direction: column; align-items: center; gap: clamp(14px, 1.46vw, 28px); margin-top: 1px; }
.hero__sub { font-size: var(--fs-heading-h3); font-weight: 500; }
.hero__ttl { font-size: var(--fs-display-hero); font-weight: 900; letter-spacing: -.03em; line-height: normal; white-space: nowrap; }
.hero__ttl .m { letter-spacing: .02em; }
.hero__ttl .d { letter-spacing: -.05em; }
.hero__ttl .light { font-weight: 200; letter-spacing: -.03em; }

/* =========================================================
   02 BRAND STORY
   ========================================================= */
.story { position: relative; background: #fff; overflow: hidden; }
.story__in { display: flex; align-items: center; min-height: 980px; padding: 71px clamp(24px, 4.17vw, 80px) 20px clamp(24px, 9.9vw, 190px); }
.story__txt { flex: none; width: 430px; margin-top: -39px; display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
.story__head { display: flex; flex-direction: column; gap: 19px; align-items: flex-start; }
.story__head .ttls { display: flex; flex-direction: column; gap: 20px; }
.brand-ttl { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.badge-strong { display: inline-flex; padding: 6px 10px; border: 6px solid var(--red); background: var(--red); border-radius: 20px; color: #fff; font-size: var(--fs-heading-badge); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.story__desc { font-size: var(--fs-body-3xl); line-height: 1.5; letter-spacing: -.02em; }
.story__panels { flex: 1; min-width: 0; max-width: 1220px; margin-left: auto; display: flex; gap: 16px; align-items: flex-start; }
.sp { flex: 1 1 0; min-width: 0; }
.sp > .cq-in { --W: 396; margin-top: calc(var(--u) * var(--mt, 0)); }
.sp--clip > .cq-in { overflow: hidden; }
.sp__shape { position: absolute; }
.sp__img { position: absolute; overflow: hidden; }
.sp__img img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.sp__img--flip { transform: scaleX(-1); }
.sp__img--grad::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(252,0,0,0) 79.866%, #fc0000); }
.sp__label { position: absolute; display: flex; flex-direction: column; align-items: center; gap: calc(var(--u) * 2); }
.symptoms { display: flex; align-items: center; gap: calc(var(--u) * 8); color: #fff; font-size: calc(var(--u) * 22); font-weight: 700; line-height: 1.5; letter-spacing: -.02em; white-space: nowrap; }
.symptoms li { display: flex; align-items: center; gap: calc(var(--u) * 4); }
.symptoms li + li::before { content: "·"; margin-right: calc(var(--u) * 4); }
.symptoms .ic { position: relative; width: calc(var(--u) * 28); flex: none; overflow: hidden; }
.symptoms .ic img { position: absolute; display: block; max-width: none; }
.sp__ttl { font-family: var(--ff-paper); font-weight: 800; font-size: calc(var(--u) * 60); line-height: 1.3; letter-spacing: -.02em; color: #000; text-align: center; transform: skewX(-10deg) scaleY(.98); white-space: nowrap; }
.sp__pkg { position: absolute; }
.sp__pkg .shadow { position: absolute; display: flex; align-items: center; justify-content: center; }
.sp__pkg .shadow i { display: block; flex: none; mix-blend-mode: multiply; }
.sp__pkg .shadow img { width: 100%; height: 100%; max-width: none; }
.sp__pkg .pkg { position: absolute; object-fit: cover; max-width: none; }

/* =========================================================
   03 LINE-UP (캐러셀)
   ========================================================= */
.lineup { position: relative; background: linear-gradient(to bottom, #ffdd04 37.5%, #ffbb28); overflow: hidden; padding: 128px 0 112px; }
.lu { position: relative; display: flex; flex-direction: column; align-items: center; }
.lu + .lu { margin-top: 236px; }
.lu__head { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.lu__head .title-dl { display: flex; gap: 20px; white-space: nowrap; }
.lu__chip { position: relative; z-index: 3; margin-top: 48px; padding: 8px 19px; border-radius: 9999px; background: #000; color: #fff; font-size: var(--fs-body-xl); font-weight: 600; line-height: 1.5; letter-spacing: -.02em; }
.lu__stage { width: min(1364px, calc(100% - 2 * var(--gutter))); }
.lu__stage > .cq-in { margin-top: calc(var(--u) * var(--mt, 0)); }
.lu-strong { --W: 1364; --H: 483; --mt: -73; --lx: 0; --ly: 66; --lw: 460; --cx: 432; --cy: 0; --cw: 500; --rx: 904; --ry: 66; --rw: 460; --tx: 371.35; --ty: 388; --tw: 620.646; }
.lu-ibu    { --W: 1364; --H: 589; --mt: -85; --lx: 0; --ly: 81; --lw: 460; --cx: 397; --cy: 0; --cw: 580; --rx: 904; --ry: 81; --rw: 460; --tx: 297;    --ty: 475; --tw: 770.03; --gx: 478; --gy: 96; }
.lu__wm { position: absolute; z-index: 0; left: calc(var(--u) * var(--tx)); top: calc(var(--u) * var(--ty)); width: calc(var(--u) * var(--tw)); pointer-events: none; }
.lu__wm img { width: 100%; height: auto; }
.lu__glow { position: absolute; z-index: 0; left: calc(var(--u) * var(--gx)); top: calc(var(--u) * var(--gy)); width: calc(var(--u) * 408); height: calc(var(--u) * 382); pointer-events: none; }
.lu__glow i { position: absolute; inset: -52.36% -49.02%; }
.lu__glow img { width: 100%; height: 100%; max-width: none; }
.lu__item { position: absolute; z-index: 1; aspect-ratio: 1; transition: left .55s cubic-bezier(.5,0,.2,1), top .55s cubic-bezier(.5,0,.2,1), width .55s cubic-bezier(.5,0,.2,1), opacity .3s; }
.lu__item img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 18%; }
.lu__item.is-l { left: calc(var(--u) * var(--lx)); top: calc(var(--u) * var(--ly)); width: calc(var(--u) * var(--lw)); }
.lu__item.is-c { left: calc(var(--u) * var(--cx)); top: calc(var(--u) * var(--cy)); width: calc(var(--u) * var(--cw)); z-index: 2; }
.lu__item.is-r { left: calc(var(--u) * var(--rx)); top: calc(var(--u) * var(--ry)); width: calc(var(--u) * var(--rw)); }
.lu__item.is-jump { transition: opacity .3s; opacity: 0; }
.lu__ctrl { position: relative; z-index: 3; display: flex; align-items: center; gap: 160px; }
.lu__btn { width: 64px; height: 64px; border-radius: 50%; flex: none; transition: transform .2s; }
.lu__btn:hover { transform: scale(1.06); }
.lu__btn img { width: 100%; height: 100%; }
.lu__btn--next img { transform: scaleX(-1); }
.lu__info { width: 223px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.lu__name { font-size: var(--fs-heading-h2); font-weight: 700; line-height: 1.35; letter-spacing: -.02em; white-space: nowrap; }
.lu-ibu .lu__name, .lu--ibu .lu__name { font-size: var(--fs-heading-h2); line-height: 1.4; }
.lu__more { padding: 2px 0; border-bottom: 2px solid #000; font-size: var(--fs-body-m); font-weight: 700; line-height: 1.4; letter-spacing: -.02em; }

/* =========================================================
   04 FEATURE — 연질캡슐 특장점
   ========================================================= */
.capsule { position: relative; background: #fff; padding: 145px 0 120px; overflow: hidden; }
.sec-head { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; padding: 0 20px; }
.capsule__stage { width: min(1300px, calc(100% - 2 * var(--gutter))); margin: 37px auto 0; }
.capsule__stage > .cq-in { --W: 1300; --H: 545; }
.cap-v { position: absolute; }
.cap-v.refl { position: absolute; display: flex; align-items: center; justify-content: center; mix-blend-mode: multiply; }
.cap-v.refl > div { position: relative; flex: none; transform: rotate(138.34deg) scaleY(-1); filter: blur(2.5px); opacity: .3; }
.cap-v.refl img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.cap-v.refl > div::after { content: ""; position: absolute; inset: 0; background: linear-gradient(167.96deg, rgba(255,255,255,0) 21.4%, #fff 52.64%); }
.cap-v.rot { position: absolute; display: flex; align-items: center; justify-content: center; }
.cap-v.rot > * { flex: none; position: relative; }
.modc { font-family: var(--ff-paper); font-weight: 600; font-size: calc(var(--u) * 32); line-height: 1.5; letter-spacing: -.02em; color: #fff; opacity: .86; white-space: nowrap; transform: rotate(-21.26deg); }
.cap-circle { position: absolute; }
.cap-circle > i { position: absolute; inset: -12.5% -18.18% -23.86% -18.18%; }
.cap-circle > i img { width: 100%; height: 100%; max-width: none; }
.cap-circle > img { position: absolute; object-fit: cover; }
.cap-ico { display: none; }
.cap-txt { position: absolute; display: flex; flex-direction: column; gap: calc(var(--u) * 16); --fsu: calc(var(--u) * 18); }
.cap-txt__ttl { position: relative; font-size: calc(var(--u) * 28); font-weight: 700; line-height: 1.4; letter-spacing: -.02em; color: #000; }
.cap-txt__line { position: absolute; height: calc(var(--u) * 3); }
.cap-txt__line img { width: 100%; height: 100%; max-width: none; }
.cap-txt p, .cap-txt li { font-size: var(--fsu); line-height: 1.5; letter-spacing: -.02em; color: var(--g80); }
.cap-txt strong { font-weight: 600; color: var(--g90); }
.cap-txt--easy { align-items: flex-end; text-align: right; gap: calc(var(--u) * 20); }
.cap-txt--easy .lead { font-weight: 600; line-height: 1.6; color: var(--g90); white-space: nowrap; }
.cap-txt--easy .sub { display: flex; flex-direction: column; gap: calc(var(--u) * 8); align-items: flex-end; width: 100%; }
.std-card { width: 100%; text-align: left; background: rgba(255,255,255,.84); border: 1px solid var(--g20); border-radius: calc(var(--u) * 16); padding: calc(var(--u) * 16) calc(var(--u) * 24); display: flex; flex-direction: column; gap: calc(var(--u) * 12); }
.std-card__ttl { padding-bottom: calc(var(--u) * 4); border-bottom: 1px solid var(--g70); font-size: calc(var(--u) * 15); font-weight: 600; line-height: 1.5; color: #000; }
.std-card dl { display: flex; flex-direction: column; gap: calc(var(--u) * 8); }
.std-card dl > div { display: flex; flex-direction: column; gap: calc(var(--u) * 2); }
.std-card dt { font-size: calc(var(--u) * 16); font-weight: 600; line-height: 1.5; color: #000; }
.std-card dd { font-size: calc(var(--u) * 15); line-height: 1.5; color: var(--g80); }
.std-card .note { display: flex; gap: .4em; font-size: calc(var(--u) * 12); line-height: 1.4; color: var(--g60); }
.cap-txt--tech li { display: flex; align-items: center; white-space: nowrap; }
.cap-txt--tech li + li { margin-top: calc(var(--u) * 7); }
.cap-txt--tech .logo { display: inline-block; height: calc(var(--u) * 22); margin: 0 calc(var(--u) * 6); }
.cap-txt--tech .logo img { height: 100%; width: auto; max-width: none; }

/* =========================================================
   05 FEATURE — 증상별 맞춤 성분
   ========================================================= */
.ingr { position: relative; background: #ffdd04; overflow: hidden; }
.ingr__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.ingr__in { position: relative; display: grid; grid-template-columns: minmax(0, 572px) minmax(0, 908px); align-items: center; max-width: 1540px; margin: 0 auto; min-height: 980px; padding: 0 0 0 0; }
.ingr__txt { display: flex; flex-direction: column; gap: 42px; align-items: flex-start; margin-top: -13px; }
.ingr__txt .head { display: flex; flex-direction: column; gap: 19px; align-items: flex-start; }
.ingr__txt .desc { font-size: var(--fs-body-2xl); line-height: 1.5; letter-spacing: -.02em; }
.ingr__dia { align-self: start; }
.ingr__dia > .cq-in { --W: 908; --H: 980; }
.dia-lay { position: absolute; left: 0; right: 0; top: calc(var(--u) * -175); height: calc(var(--u) * 1111); }
.dia-flip-x { transform: scaleX(-1); }
.ing-card { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--u) * 2); padding: calc(var(--u) * 10) calc(var(--u) * 16); border-radius: calc(var(--u) * 16); background: rgba(255,255,255,.93); backdrop-filter: blur(6px); text-align: center; box-shadow: calc(var(--u) * 4) calc(var(--u) * 4) calc(var(--u) * 20) 0 var(--sh); white-space: nowrap; }
.ing-card b { font-size: calc(var(--u) * 18); font-weight: 700; line-height: 1.4; letter-spacing: -.02em; color: var(--c); }
.ing-card span { font-size: calc(var(--u) * 15); line-height: 1.5; letter-spacing: -.02em; color: var(--g90); }
.ing-card.blue { --c: #009df5; --sh: rgba(0,156,240,.35); }
.ing-card.orange { --c: #f26d00; --sh: #eaa000; }
.ing-card.red { --c: #fe252a; --sh: rgba(254,37,42,.45); }
.dia-dot { position: absolute; width: calc(var(--u) * 41); height: calc(var(--u) * 41); }
.dia-dot i { position: absolute; inset: -51.22% -53.66% -48.78% -46.34%; }
.dia-dot img { width: 100%; height: 100%; max-width: none; }
.dia-pill { position: absolute; transform: translateX(-50%); padding: calc(var(--u) * 2) calc(var(--u) * 20); border-radius: 9999px; font-family: var(--ff-paper); font-weight: 700; font-size: calc(var(--u) * 28); line-height: 1.4; letter-spacing: -.02em; white-space: nowrap; color: #fff; }
.dia-pkg { position: absolute; }
.dia-pkg img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 18%; }
.dia-rot { position: absolute; display: flex; align-items: center; justify-content: center; }
.dia-rot > i { position: relative; display: block; flex: none; }
.dia-head { position: absolute; left: calc(var(--u) * 233.36); top: calc(var(--u) * 462.28); width: calc(var(--u) * 561.69); height: calc(var(--u) * 626.4); }
.dia-head > div { position: absolute; left: calc(50% + var(--u) * 3.6); transform: translateX(-50%); top: 4.47%; bottom: -3.19%; aspect-ratio: 1122 / 1402;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' overflow='visible' style='display: block;' width='609.6' height='600.8' viewBox='0 0 609.6 600.8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Crect id='Rectangle 5' width='609.6' height='600.8' fill='url%28%23paint0_linear_0_77%29'/%3E %3Cdefs%3E %3ClinearGradient id='paint0_linear_0_77' x1='304.8' y1='422.947' x2='304.8' y2='517.643' gradientUnits='userSpaceOnUse'%3E %3Cstop stop-color='%23D9D9D9'/%3E %3Cstop offset='1' stop-color='%23D9D9D9' stop-opacity='0'/%3E %3C/linearGradient%3E %3C/defs%3E %3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' overflow='visible' style='display: block;' width='609.6' height='600.8' viewBox='0 0 609.6 600.8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Crect id='Rectangle 5' width='609.6' height='600.8' fill='url%28%23paint0_linear_0_77%29'/%3E %3Cdefs%3E %3ClinearGradient id='paint0_linear_0_77' x1='304.8' y1='422.947' x2='304.8' y2='517.643' gradientUnits='userSpaceOnUse'%3E %3Cstop stop-color='%23D9D9D9'/%3E %3Cstop offset='1' stop-color='%23D9D9D9' stop-opacity='0'/%3E %3C/linearGradient%3E %3C/defs%3E %3C/svg%3E");
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: calc(var(--u) * -60.952) calc(var(--u) * -30.4); mask-position: calc(var(--u) * -60.952) calc(var(--u) * -30.4);
  -webkit-mask-size: calc(var(--u) * 609.6) calc(var(--u) * 600.8); mask-size: calc(var(--u) * 609.6) calc(var(--u) * 600.8); }
.dia-head img { width: 100%; height: 100%; object-fit: contain; max-width: none; }
.ingr__stick { display: contents; }
.ingr__steps { display: none; }

/* =========================================================
   06 FEATURE — 이부프로펜 COX 억제 기전
   ========================================================= */
.cox { position: relative; background: var(--g5); overflow: hidden; }
.cox__bg { position: absolute; inset: 0; pointer-events: none; }
.cox__bg > div { position: absolute; inset: 0; opacity: .49; overflow: hidden; }
.cox__bg img { position: absolute; left: -2.26%; top: -3.95%; width: 104.53%; height: 107.9%; object-fit: cover; max-width: none; }
.cox__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90.2deg, rgba(249,249,250,0) 30.96%, #f9f9fa 46.92%); }
.cox__in { position: relative; display: flex; align-items: center; gap: 0; min-height: 980px; padding: 78px clamp(24px, 7.97vw, 153px) 70px clamp(24px, 9.9vw, 190px); }
.cox__txt { flex: none; width: 555px; margin-top: -63px; display: flex; flex-direction: column; gap: 19px; align-items: flex-start; }
.cox__dia { flex: 1; min-width: 0; max-width: 1022px; margin-left: auto; align-self: flex-start; }
.cox__dia > .cq-in { --W: 1022; --H: 830; }
.cx-line { position: absolute; display: block; }
.cx-line img { position: absolute; display: block; max-width: none; }
.cx-card { position: absolute; display: flex; flex-direction: column; align-items: center; gap: calc(var(--u) * 4); padding: calc(var(--u) * 16) 0; border-radius: calc(var(--u) * 20); text-align: center; color: var(--black); white-space: nowrap; }
.cx-card b { font-size: calc(var(--u) * 20); font-weight: 700; line-height: 1.5; letter-spacing: -.02em; }
.cx-card span { font-size: calc(var(--u) * 16); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
.cx-card--y { background: #fff0b5; }
.cx-card--w { background: #fff; box-shadow: 0 1px 12px rgba(0,0,0,.04); }
.cx-card--w b { color: var(--g90); }
.cx-virus { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--u) * 5); padding: calc(var(--u) * 12) 0 calc(var(--u) * 16); border-radius: calc(var(--u) * 32); background: #fff; filter: drop-shadow(0 1px 6px rgba(0,0,0,.04)); text-align: center; }
.cx-virus .vimg { position: relative; width: calc(var(--u) * 154); height: calc(var(--u) * 81); overflow: hidden; flex: none; }
.cx-virus .vimg img { position: absolute; object-fit: cover; max-width: none; }
.cx-virus b { font-size: calc(var(--u) * 24); font-weight: 700; line-height: 1.5; letter-spacing: -.02em; white-space: nowrap; }
.cx-virus span { font-size: calc(var(--u) * 16); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; white-space: nowrap; }
.cx-pill { position: absolute; transform: translateX(-50%); padding: calc(var(--u) * 12) calc(var(--u) * 24); border-radius: 999px; background: #fff0b5; font-size: calc(var(--u) * 20); font-weight: 700; line-height: 1.5; letter-spacing: -.02em; white-space: nowrap; }
.cx-ibu { position: absolute; display: flex; align-items: center; gap: calc(var(--u) * 8); padding: calc(var(--u) * 12) calc(var(--u) * 24); border: 2px solid var(--g30); border-radius: 999px; font-size: calc(var(--u) * 20); font-weight: 700; white-space: nowrap; }
.cx-ibu i { display: block; width: calc(var(--u) * 16); height: 1px; flex: none; }
.cx-ibu i img { width: 100%; height: 1px; max-width: none; }
.cx-ban { position: absolute; width: calc(var(--u) * 30); height: calc(var(--u) * 30); }
.cx-ban i { position: absolute; inset: -26.67%; }
.cx-ban img { width: 100%; height: 100%; max-width: none; }
.cx-effects { position: absolute; left: 0; top: calc(var(--u) * 541); width: 100%; display: flex; gap: calc(var(--u) * 24); }
.cx-eff { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: calc(var(--u) * 4); padding: calc(var(--u) * 24) 0; background: #fff; border: 3px solid #ff0004; border-radius: calc(var(--u) * 32); box-shadow: 0 calc(var(--u) * 10) calc(var(--u) * 24) rgba(255,179,179,.26); text-align: center; overflow: hidden; }
.cx-eff .eimg { position: relative; width: calc(var(--u) * 140); height: calc(var(--u) * 110); flex: none; }
.cx-eff .eimg img { position: absolute; left: 50%; top: calc(50% - var(--u) * 2); width: calc(var(--u) * 99); height: calc(var(--u) * 124); transform: translate(-50%, -50%); object-fit: cover; max-width: none; }
.cx-eff b { font-size: calc(var(--u) * 24); font-weight: 700; line-height: 1.5; letter-spacing: -.02em; white-space: nowrap; }
.cx-eff span { font-size: calc(var(--u) * 16); font-weight: 500; line-height: 1.5; letter-spacing: -.02em; color: var(--g80); }
.cx-note { position: absolute; transform: translateX(-50%); font-size: calc(var(--u) * 14); line-height: 1.4; letter-spacing: -.02em; color: var(--g50); white-space: nowrap; }

/* =========================================================
   07 약국 찾기 배너 + Footer
   ========================================================= */
.find-banner { position: relative; overflow: hidden; background: #2f2f2f; color: #fff; text-align: center; min-height: 520px; display: grid; place-items: center; padding: 60px 20px; }
.find-banner__bg { position: absolute; inset: 0; }
.find-banner__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 43%; max-width: none; }
.find-banner__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.75); }
.find-banner__in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 48px; }
.find-banner__ttl { font-size: var(--fs-heading-banner); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.btn-pill { display: inline-flex; align-items: center; gap: 20px; padding: 18px 24px 18px 20px; border-radius: 100px; background: #fff; color: #000; font-size: var(--fs-body-xl); font-weight: 700; transition: transform .2s; }
.btn-pill:hover { transform: translateY(-2px); }
.btn-pill .l { display: flex; align-items: center; gap: 8px; }
.btn-pill .chev { width: 7.5px; height: 13px; }

.footer { background: #1b1d1f; color: var(--g30); }
.footer__in { position: relative; display: flex; align-items: flex-start; gap: 61px; padding: 67px var(--gutter) 64px; }
.footer__logo { flex: none; width: 159px; height: 39px; }
.footer__logo img { width: 100%; height: 100%; }
.footer__info { display: flex; flex-direction: column; gap: 16px; font-size: var(--fs-body-s); }
.footer__info b { font-weight: 700; }
.f-list { display: flex; flex-wrap: wrap; align-items: center; row-gap: 4px; }
.f-list li { display: flex; align-items: center; white-space: nowrap; }
.f-list li + li::before { content: ""; width: 1px; height: 10.5px; margin: 0 8px; background: #4e5968; }
.f-box { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px; border: 1px solid rgba(55,56,57,.6); border-radius: 12px; }
.footer__copy { font-size: var(--fs-caption-l); color: var(--g60); }
.sns { display: flex; gap: 16px; margin-left: auto; margin-top: 15px; }
.sns a { width: 48px; height: 48px; border-radius: 24px; background: #fff; display: grid; place-items: center; transition: transform .2s; }
.sns a:hover { transform: translateY(-2px); }
.sns .blog { width: 23px; height: 24px; object-fit: cover; }
.sns .insta { width: 26px; height: 26px; object-fit: cover; }
.sns .yt { width: 32px; height: 22.15px; object-fit: cover; }

/* =========================================================
   제품정보 (product.html)
   ========================================================= */
.page { padding-top: var(--header-h); }
.pd-top { padding: 110px 20px 0; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.eyebrow2 { font-size: var(--fs-heading-h4); font-weight: 500; line-height: 1.4; letter-spacing: -.02em; color: #000; }
.title-58 { font-size: var(--fs-heading-h1); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: var(--black); }
.pd-groups { display: flex; justify-content: center; align-items: flex-end; gap: 31px; margin: 110px auto 0; padding: 0 20px; max-width: 1390px; }
.pd-group { display: flex; flex-direction: column; align-items: center; gap: 32px; flex: 0 1 644px; min-width: 0; }
.pd-group__head { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.pd-group__head .logo { height: 64px; width: auto; }
.pd-group__head .logo--strong { padding-left: 13px; width: 204px; }
.pd-group__head .catch { font-family: var(--ff-paper); font-weight: 800; font-size: var(--fs-heading-h4); color: var(--black); transform: skewX(-8deg) scaleY(.99); white-space: nowrap; }
.pd-divider { width: 1px; height: 232px; flex: none; align-self: flex-end; }
.pd-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 100%; }
.pd-card { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 26px 24px; border-radius: 24px; background: var(--bg); color: var(--fg, #111); transition: transform .25s; container-type: inline-size; }
.pd-card:hover { transform: translateY(-6px); }
.pd-card--y { --bg: #fece30; filter: drop-shadow(0 4px 15px rgba(255,195,0,.32)); }
.pd-card--r { --bg: #e60012; --fg: #fff; filter: drop-shadow(0 4px 11.5px rgba(230,0,18,.23)); }
.pd-card--b { --bg: #0079fb; --fg: #fff; filter: drop-shadow(0 4px 10px rgba(0,121,251,.18)); }
.pd-card--g { --bg: #f5f7f9; }
.pd-card__sym { display: flex; align-items: center; gap: 4px; font-size: var(--fs-body-xl); font-weight: 700; white-space: nowrap; }
.pd-card__sym .ic { position: relative; width: 24px; height: 28px; overflow: hidden; flex: none; }
.pd-card__sym .ic img { position: absolute; max-width: none; }
.pd-card--g .ic-inv, .pd-card--y .ic-inv { filter: brightness(0); }
.pd-card__body { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pd-card__slot { --u: calc(100cqw / 156); position: relative; width: 100%; height: calc(var(--u) * 109); overflow: hidden; }
.pd-card__slot .sh { position: absolute; left: calc(var(--u) * 18.81); top: calc(var(--u) * 65.93); width: calc(var(--u) * 133.692); height: calc(var(--u) * 33.602); display: flex; align-items: center; justify-content: center; }
.pd-card__slot .sh > i { position: relative; display: block; flex: none; width: calc(var(--u) * 132.265); height: calc(var(--u) * 22.786); transform: rotate(4.72deg); }
.pd-card__slot .sh img { position: absolute; inset: -84.1% -7.85% -87.25% -13.61%; width: calc(100% + 21.46%); height: calc(100% + 171.35%); max-width: none; }
.pd-card__slot .pk { position: absolute; left: 50%; transform: translateX(-50%); top: calc(var(--u) * -26.7); width: calc(var(--u) * 162); height: calc(var(--u) * 162); object-fit: contain; object-position: 50% 18%; max-width: none; }
/* 노즈 스트롱 : 원본 비율(960×843)이 달라 상자가 크게/아래로 그려짐 → 다른 제품 상자 위치·크기에 맞춤 */
.pd-card__slot .pk[src$="strong-nose.webp"] { top: calc(var(--u) * -22.9); width: calc(var(--u) * 153.7); height: calc(var(--u) * 135); object-position: 50% 50%; }
.pd-card__name { padding: 4px 12px; border-radius: 9999px; background: var(--bg); font-family: var(--ff-paper); font-weight: 600; font-size: var(--fs-body-l); line-height: 1.6; letter-spacing: -.02em; white-space: nowrap; color: var(--fg, #000); }
.pd-card--y .pd-card__name { color: #000; }

.pd-detail { width: min(1350px, calc(100% - 2 * var(--gutter))); margin: 101px auto 140px; display: flex; flex-direction: column; gap: 16px; }
.pd-detail__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pd-detail__head h3 { font-size: var(--fs-body-3xl); font-weight: 700; }
.btn-caution { display: inline-flex; align-items: center; gap: 8px; padding: 8px 17px; border-radius: 100px; background: var(--g5); font-size: var(--fs-body-s); font-weight: 600; line-height: 1.5; letter-spacing: -.02em; color: var(--g70); white-space: nowrap; }
.btn-caution img { width: 5.6px; height: 9.6px; }
.pd-rows { border-top: 1px solid var(--g80); }
.pd-row { display: flex; align-items: center; gap: 48px; padding: 40px 0 40px 48px; border-bottom: 1px solid var(--g30); scroll-margin-top: calc(var(--header-h) + 20px); }
.pd-row:last-child { border-bottom: 0; }
.pd-row__prod { flex: none; width: 280px; display: flex; flex-direction: column; align-items: center; }
.pd-row__img { position: relative; width: 100%; height: 186px; margin-bottom: -10px; }
.pd-row__img img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%); width: 258px; height: 258px; object-fit: contain; object-position: 50% 18%; max-width: none; }
.pd-row__name { font-size: var(--fs-body-xl); font-weight: 700; line-height: 1.6; letter-spacing: -.02em; color: #000; text-align: center; }
.pd-row__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pd-spec { display: flex; align-items: center; gap: 16px; }
.pd-spec + .pd-spec { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--g20); }
.pd-spec__ic { position: relative; width: 60px; height: 60px; flex: none; border-radius: 50%; overflow: hidden; }
.pd-spec__ic .bg { position: absolute; left: 4px; top: 4px; width: 52px; height: 52px; }
.pd-spec__ic .fg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; object-fit: cover; mix-blend-mode: multiply; }
.pd-spec dl { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pd-spec dt { display: flex; gap: 4px; align-items: center; font-size: var(--fs-body-l); font-weight: 700; line-height: 1.4; letter-spacing: -.02em; color: var(--black); }
.pd-spec dt span { font-weight: 500; line-height: 1.6; }
.pd-spec dd { font-size: var(--fs-body-m); line-height: 1.5; letter-spacing: -.02em; color: var(--g70); }

/* =========================================================
   약국찾기 (pharmacy.html)
   ========================================================= */
.ph-top { padding: 110px 20px 0; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.ph-wrap { width: min(1300px, calc(100% - 2 * var(--gutter))); margin: 80px auto 160px; display: flex; flex-direction: column; gap: 32px; }
.ph-filter { display: flex; align-items: center; gap: 31px; padding: 24px; border-radius: 20px; background: var(--g5); }
.ph-selects { display: flex; gap: 12px; flex: none; }
/* 커스텀 드롭다운 (Figma input-text / dropdown-list / dropdown-item 컴포넌트) */
.dd { position: relative; width: 224px; }
.dd__btn { position: relative; display: flex; align-items: center; width: 100%; padding: 16px 44px 16px 24px; border: 1px solid var(--g30); border-radius: 12px; background: #fff; font-size: var(--fs-body-l); font-weight: 600; line-height: 1.6; letter-spacing: -.02em; color: #000; text-align: left; transition: border-color .2s; }
.dd__val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd__btn::after { content: ""; position: absolute; right: 22px; top: 50%; width: 6px; height: 11px; margin-top: -5.5px; background: url("../assets/pharmacy/ic-select.svg") center / contain no-repeat; transform: rotate(90deg); transition: transform .2s; }
.dd__btn:hover { border-color: var(--g40); }
.dd.is-open .dd__btn, .dd__btn:focus-visible { border-color: var(--g50); outline: 0; }
.dd.is-open .dd__btn::after { transform: rotate(-90deg); }
.dd__list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 8px); max-height: 280px; overflow-y: auto; padding: 8px; border: 1px solid var(--g30); border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(26,31,41,.12);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s, transform .18s, visibility .18s; }
.dd.is-open .dd__list { opacity: 1; visibility: visible; transform: none; }
.dd__list::-webkit-scrollbar { width: 12px; }
.dd__list::-webkit-scrollbar-track { margin: 8px 0; border: 4px solid #fff; border-radius: 6px; background: #f2f4f6; background-clip: padding-box; }
.dd__list::-webkit-scrollbar-thumb { border: 4px solid transparent; border-radius: 6px; background: var(--g40); background-clip: padding-box; }
.dd__list li { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 8px; font-size: var(--fs-body-m); font-weight: 500; letter-spacing: -.02em; color: var(--g80); cursor: pointer; }
.dd__list li + li { margin-top: 2px; }
.dd__list li:hover, .dd__list li.is-active { background: #f2f4f6; }
.dd__list li[aria-selected="true"] { background: #fff1f2; color: var(--red); font-weight: 700; }
.dd.has-value .dd__val { color: #000; }
.ph-search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 20px 0 24px; border: 1px solid var(--g30); border-radius: 12px; background: #fff; }
.ph-search input { flex: 1; min-width: 0; padding: 16px 0; border: 0; outline: 0; background: none; font-size: var(--fs-body-l); font-weight: 600; line-height: 1.6; letter-spacing: -.02em; }
.ph-search input::placeholder { color: var(--g40); }
.ph-search button { position: relative; width: 32px; height: 32px; flex: none; }
.ph-search button img { position: absolute; left: 3px; top: 4px; width: 27.5px; height: 26.5px; }
.ph-search:focus-within { border-color: var(--g80); outline: 0; }
.ph-result { display: flex; height: 648px; border: 1px solid var(--g30); border-radius: 20px; overflow: hidden; background: #fff; }
.ph-map { position: relative; flex: 0 0 855px; overflow: hidden; isolation: isolate; }
.ph-map > img { position: absolute; left: 0; top: -2.57%; width: 151.52%; height: 105.14%; max-width: none; object-fit: cover; }
/* 지도 '내 위치' 버튼 · 안내 (pharmacy.js setupGeoButton) */
.ph-geo-btn { position: absolute; right: 12px; bottom: 12px; z-index: 210; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 12px; border: 1px solid var(--g30); border-radius: 999px; background: #fff; color: var(--g80); font: 600 14px/1 var(--ff); letter-spacing: -.02em; box-shadow: 0 2px 8px rgba(0,0,0,.12); cursor: pointer; }
.ph-geo-btn:hover { border-color: var(--g50); }
.ph-geo-btn:focus-visible { outline: 2px solid var(--g90); outline-offset: 2px; }
.ph-geo-btn.is-on { color: #1a73e8; }
.ph-geo-btn.is-busy svg { animation: ph-geo-spin 1s linear infinite; }
@keyframes ph-geo-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ph-geo-btn.is-busy svg { animation: none; opacity: .5; } }
.ph-geo-msg { position: absolute; left: 12px; right: 12px; bottom: 62px; z-index: 210; margin: 0 auto; max-width: 420px; padding: 10px 14px; border-radius: 10px; background: rgba(25,31,40,.92); color: #fff; font-size: 14px; line-height: 1.45; letter-spacing: -.02em; text-align: center; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; pointer-events: none; }
.ph-geo-msg.is-on { opacity: 1; transform: none; }
.ph-pin { position: absolute; z-index: 1; width: 30px; height: 39px; margin: -2px 0 0 -2px; background: url("../assets/pharmacy/pin.svg") center / contain no-repeat; transform-origin: 50% 100%; transition: transform .2s; }
.ph-pin:hover, .ph-pin.is-on { transform: scale(1.15); z-index: 2; }
.ph-pop { position: absolute; z-index: 3; left: 0; top: 0; width: 195px; padding: 16px; border-radius: 12px; background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,.17); transform: translate(-50%, calc(-100% - 12px)); pointer-events: none; transition: left .25s, top .25s; }
.ph-pop::after { content: ""; position: absolute; left: 50%; bottom: -10px; margin-left: -10px; border: 10px solid transparent; border-bottom: 0; border-top-color: #fff; }
.ph-pop b { display: block; font-size: var(--fs-body-s); font-weight: 700; line-height: 1.5; letter-spacing: -.02em; color: #000; }
.ph-pop p { margin-top: 2px; font-size: var(--fs-caption-l); line-height: 1.4; letter-spacing: -.02em; color: var(--g70); }
.ph-list { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 28px 32px 0; }
.ph-list__count { padding-bottom: 8px; border-bottom: 1px solid var(--g50); font-size: var(--fs-body-s); font-weight: 500; line-height: 1.5; color: #000; }
.ph-list ul { flex: 1; overflow-y: auto; }
@supports not selector(::-webkit-scrollbar) { .ph-list ul { scrollbar-color: var(--g60) var(--g20); } .dd__list { scrollbar-width: thin; scrollbar-color: var(--g40) #f2f4f6; } }
.ph-list ul::-webkit-scrollbar { width: 8px; }
.ph-list ul::-webkit-scrollbar-track { border-radius: 100px; background: var(--g20); }
.ph-list ul::-webkit-scrollbar-thumb { border-radius: 100px; background: var(--g60); }
.ph-item { display: flex; flex-direction: column; gap: 12px; padding: 24px 16px 24px 0; margin-right: 8px; border-bottom: 1px solid var(--g20); cursor: pointer; transition: background .2s; }
.ph-item:hover, .ph-item.is-on { background: #f7fbff; }
.ph-item b { font-size: var(--fs-body-l); font-weight: 700; line-height: 1.4; letter-spacing: -.02em; color: #000; }
.ph-item p { margin-top: 4px; font-size: var(--fs-body-m); line-height: 1.5; letter-spacing: -.02em; color: var(--g70); }
.ph-item .tel { display: flex; align-items: center; gap: 4px; font-size: var(--fs-body-s); line-height: 1.5; color: var(--g80); }
.ph-item .tel img { width: 14px; height: 14px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1599px) {
  .gnb { gap: 56px; }
  .gnb a { font-size: 21px; }
  .story__in { flex-direction: column; align-items: stretch; gap: 56px; min-height: 0; padding-top: 140px; padding-bottom: 120px; }
  .story__txt { width: auto; margin: 0; }
  .story__panels { width: 100%; max-width: 1220px; margin: 0 auto; }
  .cox__in { flex-direction: column; align-items: stretch; gap: 56px; min-height: 0; padding-top: 140px; padding-bottom: 120px; }
  .cox__txt { width: auto; margin: 0; }
  .cox__dia { width: 85%; margin: 0 auto; }
  .cox__bg::after { background: linear-gradient(180deg, rgba(249,249,250,.2) 0%, #f9f9fa 40%); }
  .ingr__in { grid-template-columns: 1fr; padding: 140px var(--gutter) 0; min-height: 0; gap: 0; }
  .ingr__txt { margin: 0; }
  .ingr__dia { width: min(908px, 100%); justify-self: center; }
  .pd-groups { flex-wrap: wrap; align-items: flex-start; row-gap: 64px; }
  .pd-divider { display: none; }
  .pd-group { flex-basis: 644px; }
}

@media (max-width: 1279px) {
  :root { --header-h: 88px; }
  .side-tabs { display: none; }
  .gnb { top: 50%; transform: translate(-50%, -50%); gap: 40px; }
  .gnb a { font-size: 19px; gap: 6px; }
  .gnb a::after { height: 3px; position: absolute; bottom: -10px; }
  .btn-find { font-size: 17px; padding: 10px 14px 10px 10px; }
  .header__logo { width: 136px; height: 33px; }
  .ph-map { flex-basis: 62%; }
  .ph-selects { flex: 1; min-width: 0; }
  .dd { flex: 1; width: auto; min-width: 0; }
  .ph-filter { flex-wrap: wrap; gap: 12px; }
  .ph-search { flex-basis: 100%; }
}

/* ---------- Mobile / Tablet (칼럼 스택) ---------- */
@media (max-width: 1023px) {
  :root { --header-h: 64px; --gutter: 20px;
  /* Typography tokens · Mobile 모드 */
  --fs-display-l: 44px;
  --fs-display-m: 40px;
  --fs-display-hero: 36px;
  --fs-display-s: 30px;
  --fs-heading-h1: 28px;
  --fs-heading-banner: 26px;
  --fs-heading-h2: 24px;
  --fs-heading-badge: 22px;
  --fs-heading-h3: 22px;
  --fs-heading-h4: 20px;
  --fs-heading-h5: 16px;
  --fs-body-3xl: 18px;
  --fs-body-2xl: 17px;
  --fs-body-xl: 16px;
  --fs-body-l: 16px;
  --fs-body-m: 14px;
  --fs-body-s: 13px;
  --fs-caption-eyebrow: 13px;
  --fs-caption-l: 13px;
  --fs-caption-m: 12px;
  --fs-caption-s: 12px;
  --fs-button-l: 16px;
  --fs-button-m: 14px;
  --fs-button-s: 13px;
  --fs-nav-gnb: 18px;
  --fs-nav-tab: 15px;
  --fs-nav-side: 13px;
  --fs-nav-footer: 14px;
  }
  .pc-only { display: none !important; }
  .mo-only { display: revert !important; }

  /* header */
  .header__in { padding: 0 20px; }
  .header__logo { width: 110px; height: 27px; }
  .btn-find { margin-left: auto; padding: 6px; gap: 0; font-size: 0; }
  .btn-find__ic { width: 26px; height: 26px; }
  .btn-find__ic img { width: 18px; height: 18px; }
  .header--light .btn-find, .header.is-scrolled .btn-find, .header.is-open .btn-find { gap: 0; }
  .menu-btn { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 -8px 0 8px; }
  .menu-btn span { position: relative; display: block; width: 20px; height: 2px; background: currentColor; transition: background .2s; }
  .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform .25s; }
  .menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
  .header.is-open .menu-btn span { background: transparent; }
  .header.is-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
  .header.is-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
  .gnb { position: absolute; top: 100%; left: 0; right: 0; transform: none; flex-direction: column; gap: 0; padding: 8px 20px 20px; background: #fff; box-shadow: 0 12px 24px rgba(0,0,0,.08); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
  .header.is-open .gnb { opacity: 1; visibility: visible; }
  .header.is-open { background: #fff; color: #000; }
  .header.is-open .header__logo .logo-w { display: none; }
  .header.is-open .header__logo .logo-c { display: block; }
  .gnb a { align-items: flex-start; padding: 14px 0; color: #000; border-bottom: 1px solid var(--g20); }
  .gnb a:last-child { border-bottom: 0; }
  .gnb a::after { display: none; }
  .gnb a.is-on { color: var(--red); }
  /* 모바일 메뉴 열기 (시안 v2) : 어두운 배경 + 흰색 카드(로고·닫기 X·메뉴 목록) */
  .header.is-open { background: transparent; box-shadow: none; }
  .header.is-open::before { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.75); animation: modal-fade .25s ease-out; }
  .header.is-open .header__in { position: fixed; top: 20px; left: 17px; right: 17px; height: auto; flex-wrap: wrap; align-content: flex-start; padding: 23px 25px 28px; background: #fff; border-radius: 16px; animation: modal-in .25s ease-out; }
  .header.is-open .btn-find { display: none; }
  .header.is-open .header__logo { align-self: flex-start; margin-top: 3px; }
  .header.is-open .menu-btn { order: 2; margin: 0 0 0 auto; }
  .header.is-open .gnb { order: 3; position: static; flex: 0 0 100%; gap: 5px; margin-top: 17px; padding: 0; background: none; box-shadow: none; }
  .header.is-open .gnb a { flex-direction: row; justify-content: space-between; align-items: center; padding: 20px 16px 20px 0; font-size: 20px; font-weight: 500; line-height: 1; letter-spacing: -.02em; color: #000; border-bottom: 1px solid var(--g20); }
  .header.is-open .gnb a:last-child { border-bottom: 0; }
  .header.is-open .gnb a::after { display: block; position: static; flex: none; width: 5.2px; height: 9.2px; margin-right: -.6px; background: url("../assets/common/ic-menu-chev.svg") center / 100% 100% no-repeat; transform: none; transition: none; }
  .header.is-open .gnb a.is-on { color: #d50011; font-weight: 600; }
  .header.is-open .gnb a.is-on::after { background-image: url("../assets/common/ic-menu-chev-on.svg"); }
  .header.is-open .gnb .gnb__mo { display: flex; }
  html.is-menu-open { overflow: hidden; }

  .label { padding: 5px 14px; line-height: 1.4;font-size: var(--fs-caption-s);}
  .eyebrow, .eyebrow2 { font-size: var(--fs-heading-h5); }

  /* 02 brand story */
  .story__in { padding: 72px 20px; gap: 40px; }
  .story__txt { gap: 20px; }
  .story__head { gap: 14px; }
  .story__head .ttls { gap: 10px; }
  .badge-strong { border-width: 4px; padding: 4px 8px; border-radius: 14px; }
  .story__panels { flex-direction: column; align-items: center; gap: 20px; }
  .sp { width: 100%; max-width: 420px; flex: none; }
  .sp > .cq-in { margin-top: 0; }

  /* 03 lineup */
  .lineup { padding: 72px 0 72px; }
  .lu + .lu { margin-top: 96px; }
  .lu__head { gap: 10px; padding: 0 20px; }
  .lu__head .title-dl { gap: 12px; font-size: var(--fs-display-m) !important }
  .lu__chip { margin-top: 24px; padding: 6px 16px; }
  .lu__stage { width: 100%; }
  .lu-strong { --W: 900; --lx: -150; --cx: 200; --rx: 590; --tx: 140; }
  .lu-ibu    { --W: 900; --lx: -150; --cx: 160; --rx: 590; --tx: 65; --gx: 246; }
  .lu__ctrl { gap: 16px; margin-top: 8px; }
  .lu__btn { width: 48px; height: 48px; }
  .lu__info { width: 190px; }

  /* 04 capsule */
  .capsule { padding: 72px 0 56px; }
  .sec-head { gap: 10px; }
  .capsule__stage { width: 100%; margin-top: 24px; }
  .capsule__stage > .cq-in { --W: 760; --H: 495; --ox: -305.5; height: auto; padding-top: calc(var(--u) * 495 - 48px); }
  .cap-v, .cap-circle { margin-left: calc(var(--u) * var(--ox)); }
  .cap-txt { position: static; width: auto !important; margin: 0 20px; padding: 0; --u: 1px; --fsu: var(--fs-body-l); gap: 8px; }
  .cap-txt__ttl { font-size: var(--fs-heading-h4); }
  /* 시안 v2 : 왼쪽 아이콘 + 제목 아래 그라데이션 라인, 본문은 아이콘 오른쪽 칸 */
  .cap-txt { display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 12px; align-content: start; }
  .cap-txt > :not(.cap-ico) { grid-column: 2; }
  .cap-ico { display: block; position: relative; grid-column: 1; grid-row: 1 / span 3; width: 54px; height: 54px; }
  .cap-ico img { position: absolute; max-width: none; }
  .cap-ico .bg { left: -19.5px; top: -13.5px; width: 93.16px; height: 93.16px; }
  .cap-ico .ic { object-fit: cover; }
  .cap-txt__ttl::after { content: ""; display: block; width: 285px; max-width: 100%; height: 3px; margin: 8px 0 0 -1.5px; background: url("../assets/brand/ft-line-ttl-mo.svg") left center / 285px 3px no-repeat; }
  .cap-v { translate: 0 -18.5px; }
  .cap-circle { display: none; }
  .std-card__ttl { font-size: var(--fs-body-s); color: var(--g90) !important;}
  .std-card dt { font-size: var(--fs-body-m); }
  .std-card dd { font-size: var(--fs-body-s); }
  .std-card .note { font-size: var(--fs-caption-s); }
  .cap-txt--easy { align-items: flex-start; text-align: left; }
  .cap-txt--easy .lead { white-space: normal; }
  .cap-txt--easy .sub { align-items: flex-start; }
  .cap-txt__line, .cap-line { display: none; }
  .cap-txt--tech li { flex-wrap: wrap; white-space: normal; }
  .std-card { --u: 1px; padding: 15px 19px 20px; }
  .cap-list { display: flex; flex-direction: column; gap: 20px; }

  /* 05 ingredients */
  .ingr__in { padding: 72px 20px 0; }
  .ingr__txt { gap: 20px; }
  .ingr__txt .head { gap: 14px; }
  /* 모바일 : 다이어그램 전체를 한 화면에 고정 → 스크롤하면 콜드(노랑) → 노즈(빨강) → 코프(파랑) 순서로 성분 카드 노출 */
  .ingr { overflow: clip; background: #ffdd04; }
  .ingr__bg { display: none; }
  .ingr__in { display: block; height: 480svh; padding: 0; }
  .ingr__stick { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 20px 20px 16px; overflow: hidden;
    background: #ffdd04 url("../assets/brand/f5-bg.webp") center / cover no-repeat; }
  .ingr__txt { gap: 12px; }
  .ingr__dia { width: min(100%, calc((100svh - var(--header-h) - 230px) * 390 / 440)); justify-self: auto; margin: 0 auto; flex: none; }
  .ingr__dia > .cq-in { --W: 390; --H: 440; }
  .ingr__dia .dia-lay:not(.dia-cards) { --u: calc(100cqw / 900); left: calc(var(--u) * -60); right: auto; width: calc(var(--u) * 908); top: calc(var(--u) * -183); }
  .ingr__dia .dia-cards { top: 0; left: 0; right: 0; height: 100%; }
  .ingr__dia .dia-line { display: none; }
  .ingr__dia [data-g] { transition: opacity .45s, transform .45s; }
  .ingr[data-step="1"] .ingr__dia .dia-lay:not(.dia-cards) [data-g]:not([data-g="o"]),
  .ingr[data-step="2"] .ingr__dia .dia-lay:not(.dia-cards) [data-g]:not([data-g="r"]),
  .ingr[data-step="3"] .ingr__dia .dia-lay:not(.dia-cards) [data-g]:not([data-g="b"]) { opacity: .3; }
  .ingr__dia .ing-card { --u: calc(100cqw / 390); left: calc(var(--u) * var(--mx)); top: calc(var(--u) * var(--my)); width: auto; height: auto; max-width: calc(var(--u) * 176); white-space: normal; padding: calc(var(--u) * 8) calc(var(--u) * 12); border-radius: calc(var(--u) * 12); opacity: 0; translate: 0 calc(var(--u) * 10); pointer-events: none; transition: opacity .45s, translate .45s; }
  .ingr__dia .ing-card b { font-size: calc(var(--u) * 14); }
  .ingr__dia .ing-card span { font-size: calc(var(--u) * 12); }
  .ingr[data-step="1"] .ing-card[data-g="o"], .ingr[data-step="2"] .ing-card[data-g="r"], .ingr[data-step="3"] .ing-card[data-g="b"] { opacity: 1; translate: 0 0; }
  .ingr__dia .ing-card.c1 { --mx: 195; --my: 150; max-width: calc(var(--u) * 270); }
  .ingr__dia .ing-card.c2 { --mx: 6;   --my: 228; }
  .ingr__dia .ing-card.c3 { --mx: 6;   --my: 300; }
  .ingr__dia .ing-card.c4 { --mx: 208; --my: 226; }
  .ingr__dia .ing-card.c5 { --mx: 208; --my: 290; }
  .ingr__dia .ing-card.c6 { --mx: 208; --my: 362; }
  .ingr__dia .ing-card.c7 { --mx: 6;   --my: 330; }
  .ingr__steps { display: flex; justify-content: center; gap: 6px; }
  .ingr__steps i { width: 6px; height: 6px; border-radius: 3px; background: rgba(0,0,0,.2); transition: width .3s, background .3s; }
  .ingr[data-step="1"] .ingr__steps i:nth-child(1), .ingr[data-step="2"] .ingr__steps i:nth-child(2), .ingr[data-step="3"] .ingr__steps i:nth-child(3) { width: 18px; background: #111; }

  /* 06 cox — 모바일 : 2열 흐름도 + 연결선 */
  .cox__in { padding: 72px 20px; gap: 32px; }
  .cox__txt { gap: 14px; }
  .cox__dia { max-width: 560px; --cg: 14px; }
  .cox__dia > .cq-in { --u: 1px; height: auto; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--cg); row-gap: 0; }
  .cox__dia .cx-line { display: none; }
  .cox__dia .cq-in > * { position: relative; left: auto; top: auto; transform: none; width: auto !important; height: auto; }
  .cx-virus { grid-area: 1 / 1 / 2 / 3; padding: 12px 0 18px; z-index: 1; }
  .cx-pill  { grid-area: 2 / 1 / 3 / 3; justify-self: center; margin-top: 26px; font-size: 15px; padding: 8px 20px; }
  .cx-card--l1 { grid-area: 3 / 1; margin-top: 32px; } .cx-card--r1 { grid-area: 3 / 2; margin-top: 32px; }
  .cx-ibu  { grid-area: 4 / 1 / 5 / 3; justify-self: center; align-self: center; z-index: 2; flex-direction: column; gap: 0; width: 132px; height: 56px; justify-content: center; padding: 0; margin: 14px 0; border-radius: 28px; background: #f9fafb; font-size: 15px; line-height: 1.3; }
  .cx-ibu i { display: block; width: 0 !important; height: 0; overflow: hidden; }
  .cx-ban--l { grid-area: 4 / 1; } .cx-ban--r { grid-area: 4 / 2; }
  .cox__dia .cx-ban { justify-self: stretch; align-self: center; height: 30px; z-index: 1; }
  .cox__dia .cx-ban i { inset: auto; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; z-index: 1; }
  .cox__dia .cx-ban::before { content: ""; position: absolute; top: 50%; margin-top: -1px; border-top: 2px dotted var(--g40); }
  .cox__dia .cx-ban--l::before { left: 50%; right: calc(var(--cg) / -2); }
  .cox__dia .cx-ban--r::before { right: 50%; left: calc(var(--cg) / -2); }
  .cx-card--l2 { grid-area: 5 / 1; } .cx-card--r2 { grid-area: 5 / 2; }
  .cx-card { padding: 12px 6px; white-space: normal; }
  .cx-card--w { min-height: 72px; justify-content: center; }
  .cx-card b { font-size: 15px; } .cx-card span { font-size: var(--fs-body-s); }
  .cx-virus b { font-size: var(--fs-body-2xl); } .cx-virus span { font-size: var(--fs-body-s); }
  .cx-effects { grid-area: 6 / 1 / 7 / 3; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 44px; }
  .cx-eff { border-width: 2px; border-radius: 24px; padding: 16px 8px; overflow: visible; position: relative; }
  .cx-eff .eimg { width: 100px; height: 84px; }
  .cx-eff .eimg img { width: 72px; height: 90px; }
  .cx-eff b { font-size: var(--fs-body-3xl); }
  .cx-eff span { font-size: var(--fs-body-s); }
  .cx-note { grid-area: 7 / 1 / 8 / 3; margin-top: 16px; white-space: normal; text-align: center; font-size: 11px; }

  /* 연결선 : 바이러스 → 아라키돈산 (노랑) */
  .cx-pill::before { content: ""; position: absolute; left: 50%; top: -26px; width: 2px; height: 26px; margin-left: -1px; background: #ffdd04; }
  .cx-pill::after { content: ""; position: absolute; left: 50%; top: -31px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #ffdd04; }
  /* 아라키돈산 → COX-1 / AA 분기 (노랑) */
  .cx-card--l1::before, .cx-card--r1::before { content: ""; position: absolute; top: -17px; width: calc(50% + var(--cg) / 2); height: 17px; border-top: 2px solid #ffdd04; }
  .cx-card--l1::before { left: 50%; border-left: 2px solid #ffdd04; border-top-left-radius: 6px; margin-left: -1px; }
  .cx-card--r1::before { right: 50%; border-right: 2px solid #ffdd04; border-top-right-radius: 6px; margin-right: -1px; }
  .cx-card--l1::after { content: ""; position: absolute; top: -32px; left: calc(100% + var(--cg) / 2 - 1px); width: 2px; height: 16px; background: #ffdd04; }
  /* 효소 → PG 합성 (회색 점선, 가운데 ⊘ 억제) */
  .cx-card--l2::before, .cx-card--r2::before { content: ""; position: absolute; left: 50%; top: -84px; height: 84px; margin-left: -1px; border-left: 2px dotted var(--g40); }
  /* PG 카드 사이 점선 + 빨간 점 */
  .cx-card--l2::after { content: ""; position: absolute; top: 50%; right: calc(var(--cg) * -1); width: var(--cg); border-top: 2px dotted var(--g40); }
  .cx-card--r2::after { content: ""; position: absolute; top: 50%; left: calc(var(--cg) / -2 - 5px); width: 10px; height: 10px; margin-top: -4px; border-radius: 50%; background: #ff0004; z-index: 1; }
  /* 빨간 점 → 효과 4종 분기 (빨강) */
  .cx-effects::before { content: ""; position: absolute; left: 50%; top: -80px; width: 2px; height: 64px; margin-left: -1px; background: #ff0004; }
  .cx-effects::after { content: ""; position: absolute; top: -17px; left: calc(25% - 3px); right: calc(25% - 3px); height: 17px; border: 2px solid #ff0004; border-bottom: 0; border-radius: 6px 6px 0 0; }
  .cx-eff:nth-child(n+3)::before { content: ""; position: absolute; left: 50%; top: -14px; width: 2px; height: 12px; margin-left: -1px; background: #ff0004; }

  /* 07 banner / footer */
  .find-banner { min-height: 320px; }
  .find-banner__in { gap: 28px; }
  .btn-pill { padding: 14px 20px 14px 16px; }
  .footer__in { flex-direction: column; gap: 24px; padding: 40px 20px 48px; }
  .footer__logo { width: 120px; height: 29px; }
  .footer__info { gap: 12px; }
  .f-list li { white-space: normal; }
  .sns { margin: 0; order: 2; }
  .sns a { width: 40px; height: 40px; }

  /* product */
  .pd-top { padding-top: 56px; gap: 8px; }
  .pd-groups { margin-top: 48px; gap: 48px; }
  .pd-group { flex-basis: 100%; gap: 20px; }
  .pd-group__head { gap: 12px; }
  .pd-group__head .logo { height: 44px; }
  .pd-group__head .logo--strong { width: 141px; padding-left: 9px; }
  .pd-group__head .catch { font-size: var(--fs-heading-h5); }
  .pd-cards { gap: 8px; }
  .pd-card { padding: 16px 8px; gap: 8px; border-radius: 16px; }
  .pd-card__sym { font-size: var(--fs-body-m); gap: 2px; }
  .pd-card__sym .ic { transform: scale(.75); margin: -3px -3px; }
  .pd-card__name { font-size: var(--fs-caption-s); padding: 0; background: none; white-space: nowrap; text-align: center; }
  .pd-detail { margin: 64px auto 80px; }
  .btn-caution { padding: 6px 12px; }
  .pd-row { flex-direction: column; align-items: stretch; gap: 20px; padding: 28px 0; }
  .pd-row__prod { width: 100%; }
  .pd-row__img { height: 150px; }
  .pd-row__img img { width: 210px; height: 210px; }
  .pd-spec { align-items: flex-start; gap: 12px; }
  .pd-spec + .pd-spec { margin-top: 16px; padding-top: 16px; }
  .pd-spec__ic { width: 44px; height: 44px; }
  .pd-spec__ic .bg { left: 3px; top: 3px; width: 38px; height: 38px; }
  .pd-spec__ic .fg { width: 40px; height: 40px; }

  /* pharmacy */
  .ph-top { padding-top: 56px; gap: 8px; }
  .ph-wrap { margin: 32px auto 80px; gap: 16px; }
  .ph-filter { padding: 0; gap: 8px; border-radius: 0; background: none; }
  .ph-selects { flex-basis: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .dd:last-child { grid-column: 1 / -1; }
  .dd__btn { padding: 12px 40px 12px 16px; font-weight: 400; color: var(--g80); }
  .dd__btn::after { right: 18px; }
  .dd__list { max-height: 248px; }
  .dd__list li { min-height: 44px; }
  .ph-search input { font-weight: 600; }
  .ph-search input::placeholder { color: var(--g50); }
  .ph-search input { padding-top: 12px; padding-bottom: 12px; }
  .ph-search { padding: 0 12px 0 16px; }
  .ph-result { flex-direction: column; height: auto; border-radius: 8px; }
  .ph-pin { width: 25px; height: 33px; }
  .ph-pop { width: 155px; padding: 12px; }
  .ph-pop b { font-size: var(--fs-body-s); }
  .ph-pop p { font-size: var(--fs-caption-s); }
  .ph-map { flex: none; aspect-ratio: 855 / 646; }
  .ph-list { padding: 20px 16px 0; }
  .ph-list ul { max-height: 329px; }
  .ph-item { padding: 18px 8px; gap: 8px; margin-right: 12px; }
}

@media (max-width: 767px) {
  .lu-strong { --W: 760; --lx: -250; --cx: 130; --rx: 580; --tx: 70; }
  .lu-ibu    { --W: 760; --lx: -250; --cx: 90;  --rx: 580; --tx: -5; --gx: 176; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 1023px) {
  .f-list { column-gap: 12px; }
  .f-list li + li::before { display: none; }
}
@media (max-width: 1023px) {
  .cox__dia .cq-in > .cx-ibu { width: 132px !important; height: 56px; }
  .cx-card--l1, .cx-card--r1 { z-index: 1; }
}
/* 히어로 비주얼(가로형 영상) : 모바일·태블릿은 16:9 비율 + 헤더 높이만큼만 */
@media (max-width: 1023px) {
  .hero { height: calc(100vw * 9 / 16 + var(--header-h)); min-height: 520px; padding-top: var(--header-h); }
  .hero__txt { gap: 8px; }
}

/* =========================================================
   Mobile v2 — Figma 'contents_mobile (390)' 정리본 반영
   ========================================================= */
@media (max-width: 1023px) {
  /* header : 약국찾기 pill 버튼 (투명/흰 헤더 공통) */
  .header .btn-find, .header--light .btn-find, .header.is-scrolled .btn-find, .header.is-open .btn-find { gap: 4px; padding: 4px 12px 4px 4px; background: var(--red); color: #fff; font-size: var(--fs-button-s); line-height: 1.5; backdrop-filter: blur(2px); }
  .header .btn-find__ic { width: 20px; height: 20px; background: #fff; }
  .header .btn-find__ic img { width: 14px; height: 14px; }
  .header .btn-find__ic .ic-w { display: none; }
  .header .btn-find__ic .ic-r { display: block; }
  .menu-btn { margin: 0 -8px 0 8px; }

  .title-58 { font-size: var(--fs-display-s); }

  /* 02 brand story : 기울어진 띠 패널 */
  .story__in { padding: 64px 20px 83px; gap: 31px; }
  .sp-mo { width: 100%; max-width: 560px; margin: 0 auto; container-type: inline-size; }
  .spm { --k: calc(100cqw / 350); position: relative; }
  .spm--yellow { margin-top: calc(var(--k) * -16); }
  .spm--blue { margin-top: calc(var(--k) * -8); }
  .spm__bg { display: block; width: 100%; height: auto; }
  .spm__label { position: absolute; z-index: 2; left: calc(var(--k) * 20); top: calc(var(--k) * 48); display: flex; flex-direction: column; align-items: flex-start; }
  .spm .symptoms { --u: calc(var(--k) * .7273); font-size: var(--fs-body-xl); line-height: 1.25; }
  .spm .sp__ttl { margin-left: 4px; font-size: var(--fs-display-m); line-height: 1.3; text-align: left; }
  .spm__pkg { position: absolute; z-index: 1; }
  .spm__pkg .pkg { position: relative; display: block; width: 100%; height: auto; max-width: none; }
  /* 그림자 : PC(.sp__pkg .shadow)와 같은 원본 비율 + 회전각 */
  .spm__pkg .sh { position: absolute; max-width: none; mix-blend-mode: multiply; }
  .spm--red .spm__pkg { left: calc(var(--k) * 7); top: calc(var(--k) * 115); width: calc(var(--k) * 183); }
  .spm--red .spm__pkg .sh { left: calc(var(--k) * 11.45); top: calc(var(--k) * 101.9); width: calc(var(--k) * 189.1); height: calc(var(--k) * 41.2); transform: rotate(5.01deg); }
  .spm--yellow .spm__pkg { left: calc(var(--k) * 1); top: calc(var(--k) * 103); width: calc(var(--k) * 194); }
  .spm--yellow .spm__pkg .sh { left: calc(var(--k) * 17.55); top: calc(var(--k) * 104.9); width: calc(var(--k) * 188.9); height: calc(var(--k) * 41.15); transform: rotate(5.68deg); }
  .spm--blue .spm__pkg { left: calc(var(--k) * 3); top: calc(var(--k) * 104); width: calc(var(--k) * 194); }
  .spm--blue .spm__pkg .sh { left: calc(var(--k) * 13.7); top: calc(var(--k) * 107.65); width: calc(var(--k) * 200.6); height: calc(var(--k) * 43.7); transform: rotate(5.9deg); }

  /* 04 capsule : 기술력 — 강제 줄바꿈 없이 문장 흐름대로 (로고는 글자 사이 인라인) */
  .cap-txt--tech li { display: block; }
  .cap-txt--tech .nm { white-space: nowrap; }
  .cap-txt--tech .logo { height: 20px; margin: 0 4px; vertical-align: -4px; }

  /* product */
  .pd-top { padding-top: 23px; gap: 8px; }
  .pd-groups { margin-top: 50px; gap: 40px; }
  .pd-group { gap: 12px; }
  .pd-group__head { flex-direction: row; justify-content: space-between; align-items: flex-end; width: 100%; gap: 14px; padding-left:9px }
  .pd-group__head .logo { height: 38px; }
  .pd-group__head .logo--strong { width: 113px; padding-left:0; }
  .pd-group__head .catch { white-space: nowrap; line-height: 1.2; text-align: left; }
  .pd-card { padding: 16px 8px 20px; }
  .pd-card__body { gap: 0; }
  .pd-card__name { margin-top: -4px; }
  .pd-detail { margin: 53px auto 73px; }

  /* pharmacy */
  .ph-top { padding-top: 23px; gap: 8px; }
  .ph-wrap { margin-top: 56px; }
  .ph-list { padding: 20px 16px 8px; }
}
@media (max-width: 1023px) {
  .story__txt, .story__head { align-items: center; text-align: center; }
  .spm__pkg { z-index: auto; }
  .spm__pkg .sh { filter: blur(calc(var(--k) * 4)); opacity: .9; }
}

/* 05 성분 다이어그램 (모바일 v2) : 타이틀 + 다이어그램을 한 화면에 고정, 다이어그램은 시안처럼 타이틀 아래에 걸치게(가로 꽉 차게) */
@media (max-width: 1023px) {
  .ingr__in { display: block; height: calc(var(--app-h, 100svh) * 4.2); padding: 0; }
  /* --ingr-pad-t / --ingr-pad : 화면 높이가 낮아도 상단·하단 여백 유지 → 다이어그램이 대신 줄어듦 (상단은 넉넉하게) */
  /* --app-h : 처음 화면 높이로 고정(main.js) → 주소창이 접혔다 펴져도 다이어그램 크기 안 변함 */
  /* 배경은 실제 화면 끝까지(lvh) 채우고, 늘어난 만큼 아래 padding 으로 흡수 → 내용 위치·크기는 그대로, 아래 빈 띠 없음 */
  .ingr__stick { --ingr-pad-t: clamp(36px, calc(var(--app-h, 100svh) * .06), 56px); --ingr-pad: clamp(20px, calc(var(--app-h, 100svh) * .03), 32px); position: sticky; top: var(--header-h); height: calc(max(100lvh, var(--app-h, 100svh)) - var(--header-h)); display: flex; flex-direction: column; justify-content: center; gap: 0; padding: var(--ingr-pad-t) 20px calc(var(--ingr-pad) + max(0px, 100lvh - var(--app-h, 100svh))); overflow: hidden;
    background: #ffdd04 url("../assets/brand/f5-bg.webp") center / cover no-repeat; }
  .ingr__txt { position: relative; z-index: 2; gap: 12px; }
  /* --dia-base : 아래로 넘치는 카드 띠(--cards-ov)까지 포함해 화면에 딱 맞는 폭
     --dia-w : 그 폭보다 15% 크게 (화면 폭이 상한) → 커진 높이(--dia-ex)만큼 카드 띠가 그림 아래쪽에 더 걸침 */
  .ingr__dia { --cards-ov: calc(min(100vw - 40px, 390px) * 146 / 440); --dia-base: calc((var(--app-h, 100svh) - var(--header-h) - var(--ingr-pad-t) - var(--ingr-pad) - var(--ingr-txt-h, 206px) - var(--cards-ov)) * 350 / 395); --dia-w: min(100vw - 40px, 560px, var(--dia-base) * 1.15); --dia-ex: max(0px, (var(--dia-w) - var(--dia-base)) * 395 / 350); position: relative; z-index: 1; flex: none; width: min(100%, var(--dia-w)); margin: 6px auto calc(max(var(--cards-ov), var(--dia-w) * 146 / 390) - var(--dia-ex)); }
  .ingr__dia > .cq-in { --W: 350; --H: 395; }
  .is-short .ingr__txt .desc { display: none; }
  .is-short .ingr__stick { --ingr-txt-h: 143px; }
  .ingr__dia .dia-lay:not(.dia-cards) { --u: calc(100cqw / 900); left: calc(var(--u) * -59); width: calc(var(--u) * 908); top: calc(var(--u) * -163); }
  /* 모바일 가독성 : 카드·제품명 글자, 제품 사진 키움 */
  .ingr__dia .ing-card b { font-size: calc(var(--u) * 17.4); }
  .ingr__dia .ing-card span { font-size: calc(var(--u) * 14.4); }
  .ingr__dia .dia-pkg { scale: 1.55; transform-origin: 50% 100%; }
  .ingr__dia .dia-pill { padding: calc(var(--u) * 6) calc(var(--u) * 20); font-size: max(12px, calc(var(--u) * 43)); }
  /* 노즈는 왼쪽, 코프는 오른쪽 끝으로 붙여 머리 그래픽과 덜 겹치게 (제품명이 화면 밖으로 안 잘리는 선) */
  .ingr__dia .dia-lay [data-g="r"]:is(.dia-pkg, .dia-pill) { translate: calc(var(--u) * var(--r-x, 14)) 0; }
  .ingr__dia .dia-lay [data-g="b"]:is(.dia-pkg, .dia-pill) { translate: calc(var(--u) * var(--b-x, -14)) 0; }
  .ingr__dia .dia-lay [data-g="o"]:is(.dia-pkg, .dia-pill) { translate: 0 calc(var(--u) * 80); }
  /* 카드 레이어 : 화면 폭 기준 크기 유지(다이어그램이 작아져도 글자 안 줄어듦), 세로 위치는 다이어그램 높이 비율 + 아래 넘침 방지 */
  .ingr__dia .dia-cards { left: 50%; right: auto; width: max(100%, min(100vw - 40px, 390px)); transform: translateX(-50%); container-type: inline-size; }
  /* 성분 카드 : 그림(코·목)을 가리지 않게 다이어그램 아래쪽 띠에 2칸으로 배치. 모든 단계 첫 줄은 같은 높이(--t:-38), 코프 둘째 줄은 그 아래(--t:58 = -38 + 카드 88 + 간격 8) */
  .ingr__dia .ing-card { --u: calc(100cqw / 390); top: calc(100% + var(--u) * var(--t, -38) - var(--dia-ex)); bottom: auto; left: 0; width: calc(50% - 4px); max-width: none; min-height: calc(var(--u) * 88); padding: calc(var(--u) * 8) calc(var(--u) * 6); justify-content: center; }
  .ingr__dia .ing-card:is(.c3, .c4, .c5) { left: calc(50% + 4px); }
  .ingr__dia .ing-card:is(.c6, .c5) { --t: 58; }
  .ingr__dia .ing-card.c1 { left: 50%; width: max-content; max-width: calc(var(--u) * 280); padding-inline: calc(var(--u) * 16); }
}
/* 모달 (준비중 안내) */
.modal { width: min(360px, calc(100% - 40px)); max-width: none; margin: auto; padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--black); box-shadow: 0 20px 60px rgba(0,0,0,.18); }
.modal::backdrop { background: rgba(0,0,0,.5); }
.modal[open] { animation: modal-in .25s ease-out; }
.modal[open]::backdrop { animation: modal-fade .25s ease-out; }
@keyframes modal-in { from { opacity: 0; translate: 0 16px; } }
@keyframes modal-fade { from { opacity: 0; } }
.modal__box { display: flex; flex-direction: column; align-items: center; padding: 40px 28px 28px; text-align: center; }
.modal__ttl { font-size: 22px; font-weight: 700; line-height: 1.4; letter-spacing: -.02em; }
.modal__desc { margin-top: 8px; font-size: 16px; line-height: 1.5; letter-spacing: -.02em; color: var(--g70); }
.modal__btn { width: 100%; height: 52px; margin-top: 28px; border: 0; border-radius: 9999px; background: var(--red); color: #fff; font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; }
.modal__btn:focus-visible { outline: 3px solid rgba(230,0,18,.35); outline-offset: 2px; }
@media (max-width: 767px) { .modal__box { padding: 32px 24px 24px; } .modal__ttl { font-size: 20px; } .modal__desc { font-size: 15px; } .modal__btn { height: 48px; margin-top: 24px; font-size: 16px; } }
/* 칼럼이 세로로 쌓이는 구간(1599 이하) : 섹션 타이틀 가운데 정렬 */
@media (max-width: 1599px) {
  .story__txt, .story__head, .ingr__txt, .ingr__txt .head, .cox__txt { align-items: center; text-align: center; }
}

/* =========================================================
   02 BRAND STORY : 증상 부위 모션 (빨간 글로우 펄스 + 파장)
   글로우/파장은 원본 일러스트에서 분리 → assets/brand/fx/
   transform·opacity 만 움직여서 GPU 합성으로 처리 (스크롤 버벅임 방지)
   ========================================================= */
.fx { position: absolute; inset: 0; pointer-events: none; }
.fx--mo { inset: 0 auto auto 0; width: 100%; }
.fx__clip { position: absolute; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.fx__glow { position: absolute; display: block; max-width: none;
  animation: fx-glow 1.8s cubic-bezier(.45, 0, .35, 1) var(--d, 0s) infinite both; }
.fx__arc svg { display: block; width: 100%; height: 100%; overflow: visible; }
.fx__arc { position: absolute; display: block;
  animation: fx-wave 1.8s cubic-bezier(.3, 0, .3, 1) calc(var(--d, 0s) + .12s + var(--i) * .18s) infinite both; }
@keyframes fx-glow {
  0%   { transform: scale(.88); opacity: .9; }
  38%  { transform: scale(1.18); opacity: 1; }
  100% { transform: scale(.88); opacity: .9; }
}
@keyframes fx-wave {
  0%   { opacity: 0; transform: scale(.82); }
  22%  { opacity: 1; }
  62%  { opacity: .85; transform: scale(1.06); }
  100% { opacity: 0; transform: scale(1.14); }
}
/* 화면 밖에서는 멈춤 (main.js 가 .is-off 를 붙임) */
.fx.is-off .fx__glow, .fx.is-off .fx__arc { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .fx__glow, .fx__arc { animation: none; }
}

/* =========================================================
   05 FEATURE : 성분 작용 포인트 (글로우 펄스 + 퍼지는 링)
   ========================================================= */
.dia-dot { --c: 255,174,0; }
.dia-dot[data-g="r"] { --c: 254,37,42; }
.dia-dot[data-g="b"] { --c: 1,169,255; }
.dia-dot i { animation: dot-glow 2.4s cubic-bezier(.45,0,.35,1) var(--dd, 0s) infinite both; }
.dia-dot::before, .dia-dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: calc(var(--u) * 26); height: calc(var(--u) * 26);
  margin: calc(var(--u) * -13) 0 0 calc(var(--u) * -14); border-radius: 50%; pointer-events: none;
  border: calc(var(--u) * 1.5) solid rgba(255,255,255,.95);
  box-shadow: 0 0 calc(var(--u) * 10) rgba(var(--c), .9), inset 0 0 calc(var(--u) * 6) rgba(var(--c), .6);
  animation: dot-ring 2.4s cubic-bezier(.2,.6,.35,1) var(--dd, 0s) infinite both; }
.dia-dot::after { animation-delay: calc(var(--dd, 0s) + 1.2s); }
.ingr.is-off .dia-dot i, .ingr.is-off .dia-dot::before, .ingr.is-off .dia-dot::after { animation-play-state: paused; }
@keyframes dot-ring {
  0%   { transform: scale(.45); opacity: 0; }
  12%  { opacity: 1; }
  50%  { opacity: .7; }
  100% { transform: scale(3.4); opacity: 0; }
}
@keyframes dot-glow {
  0%, 100% { transform: scale(1); opacity: .85; }
  18%      { transform: scale(1.35); opacity: 1; }
}
@media (max-width: 1023px) {
  .ingr[data-step="1"] .dia-dot:not([data-g="o"])::before, .ingr[data-step="1"] .dia-dot:not([data-g="o"])::after,
  .ingr[data-step="2"] .dia-dot:not([data-g="r"])::before, .ingr[data-step="2"] .dia-dot:not([data-g="r"])::after,
  .ingr[data-step="3"] .dia-dot:not([data-g="b"])::before, .ingr[data-step="3"] .dia-dot:not([data-g="b"])::after { animation: none; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .dia-dot i, .dia-dot::before, .dia-dot::after { animation: none; }
  .dia-dot::before, .dia-dot::after { opacity: 0; }
}

/* =========================================================
   13인치 랩톱 (기본 1440×900·1470×956 / 윈도우 1280~1536)
   ========================================================= */
@media (min-width: 1280px) and (max-width: 1599px) {
.story__in {gap:0}
.hidden-lap{display: none;}
}

/* 세로가 짧은 랩톱 화면에서만 (높이 960px 이하) */
@media (min-width: 1280px) and (max-width: 1599px) and (max-height: 960px) {

}

/* =========================================================
   스크롤 등장 모션 (data-reveal)
   - 화면에 들어오면 .is-in 이 붙으면서 살짝 올라오며 나타남
   - data-reveal="zoom" : 살짝 커지면서 / "bg" : 히어로 배경 천천히 줌아웃
   - 순서(딜레이)는 --rd 로 조절
   ========================================================= */
.rv-on [data-reveal] { opacity: 0; translate: 0 36px;
  transition: opacity .9s cubic-bezier(.22,.61,.36,1) var(--rd, 0s), translate 1s cubic-bezier(.22,.61,.36,1) var(--rd, 0s), scale 1.1s cubic-bezier(.22,.61,.36,1) var(--rd, 0s), transform .2s; }
.rv-on [data-reveal="zoom"] { translate: 0 24px; scale: .96; }
.rv-on [data-reveal].is-in { opacity: 1; translate: none; scale: none; }

/* 히어로 : 배경은 페이드 없이 천천히 줌아웃 */
.rv-on [data-reveal="bg"] { opacity: 1; translate: none; }
.rv-on [data-reveal="bg"] img, .rv-on [data-reveal="bg"] video { scale: 1.08; transition: scale 2.6s cubic-bezier(.2,.6,.2,1); }
.rv-on [data-reveal="bg"].is-in img, .rv-on [data-reveal="bg"].is-in video { scale: 1; }
.hero__sub { --rd: .25s; }
.hero__ttl { --rd: .45s; }

/* 순서 */
.story__desc { --rd: .12s; }
.sp:nth-child(2), .spm:nth-child(2) { --rd: .14s; }
.sp:nth-child(3), .spm:nth-child(3) { --rd: .28s; }
.lu__chip { --rd: .08s; }
.lu__stage { --rd: .12s; }
.lu__ctrl { --rd: .24s; }
.capsule__stage { --rd: .1s; }
.cap-txt { --rd: .3s; }
.cap-txt:nth-child(2) { --rd: .42s; }
.cap-txt:nth-child(3) { --rd: .54s; }
.ingr__dia { --rd: .12s; }
.cox__dia { --rd: .12s; }
.cx-eff:nth-child(2) { --rd: .1s; }
.cx-eff:nth-child(3) { --rd: .2s; }
.cx-eff:nth-child(4) { --rd: .3s; }
.btn-pill { --rd: .15s; }

@media (max-width: 1023px) {
  .rv-on [data-reveal] { translate: 0 24px; }
  .rv-on [data-reveal="zoom"] { translate: 0 16px; }
  .rv-on [data-reveal].is-in { translate: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rv-on [data-reveal] { opacity: 1; translate: none; scale: none; transition: none; }
  .rv-on [data-reveal="bg"] img, .rv-on [data-reveal="bg"] video { scale: none; }
}

/* =========================================================
   사이드 탭(LNB) 겹침 방지 (PC, 탭이 보이는 1280px 이상)
   - 탭 오른쪽 끝이 112px → 콘텐츠는 최소 140px 부터 시작
   ========================================================= */
@media (min-width: 1280px) {
  .capsule__stage { width: min(1300px, calc(100% - 2 * max(var(--gutter), 140px))); }
}
@media (min-width: 1600px) {
  .ingr__in { max-width: min(1540px, calc(100vw - 280px)); }
}

/* =========================================================
   성분 다이어그램 가운데 정렬 (타이틀 위·그림 아래로 쌓이는 1024~1599px)
   - 원본 그림의 머리 중심이 908 기준 514 → 60만큼 왼쪽으로 당겨서 타이틀과 중심 맞춤 (모바일과 같은 방식)
   ========================================================= */
@media (min-width: 1024px) and (max-width: 1599px) {
  .ingr__dia .dia-lay { left: calc(var(--u) * -60); right: calc(var(--u) * 60); }
}

/* =========================================================
   이부 라인업 : 태블릿·모바일 크기 (1023px 이하)
   - 가운데 제품이 스트롱보다 커서(580) 양옆 제품을 많이 덮던 것 → 스트롱과 같은 크기(500)로 맞춤
   - 세로 간격(스테이지 높이·워터마크·글로우 위치)도 스트롱과 같게
   - PC 는 Figma 대로 그대로 둠
   ========================================================= */
@media (max-width: 1023px) {
  .lu-ibu { --cw: 500; --cx: 200; --ly: 66; --ry: 66; --H: 483; --mt: -73; --ty: 388; --gy: 59; }
}
@media (max-width: 767px) {
  .lu-ibu { --cx: 130; }
}

/* =========================================================
   성분 섹션 모바일 단계 : 비활성 투명도 + 배경 색 영역 (1023px 이하)
   - 비활성 제품·포인트 투명도 .3 → .55 (조금 더 잘 보이게)
   - 뒤 배경 색 3개 : 지금 단계 색만 보이고 나머지는 숨김 (콜드=노랑 / 노즈=빨강 / 코프=파랑)
   ========================================================= */
@media (max-width: 1023px) {
  .ingr[data-step="1"] .ingr__dia .dia-lay:not(.dia-cards) [data-g]:not([data-g="o"]),
  .ingr[data-step="2"] .ingr__dia .dia-lay:not(.dia-cards) [data-g]:not([data-g="r"]),
  .ingr[data-step="3"] .ingr__dia .dia-lay:not(.dia-cards) [data-g]:not([data-g="b"]) { opacity: .55; }
  .ingr__dia [data-sub] { transition: opacity .45s; }
  .ingr[data-step="1"] .ingr__dia [data-sub]:not([data-sub="o"]),
  .ingr[data-step="2"] .ingr__dia [data-sub]:not([data-sub="r"]),
  .ingr[data-step="3"] .ingr__dia [data-sub]:not([data-sub="b"]) { opacity: 0; }
}

/* =========================================================
   히어로 영상 롤링 (A → B → C → A …)
   - 지금 영상 .is-on 이 위에서 페이드 인, 직전 영상 .is-prev 는 아래에 그대로 깔려 있다가 숨김
   ========================================================= */
.hero__bg[data-hero-roll] { z-index: 0; }  /* 영상 쌓임을 배경 안에 가둬서 문구 아래에 깔리게 */
.hero__bg[data-hero-roll] video { top: 0; height: 100%; opacity: 0; z-index: 0;
  transition: opacity .8s ease, scale 2.6s cubic-bezier(.2,.6,.2,1); }
.hero__bg[data-hero-roll] video.is-prev { opacity: 1; z-index: 1; }
.hero__bg[data-hero-roll] video.is-on { opacity: 1; z-index: 2; }
.hero__bg::after { z-index: 3; }

/* =========================================================
   모바일·태블릿 히어로 영상 : 안 잘리게 (1023px 이하)
   - 높이 = 16:9 + 헤더 (min-height 520 해제) / 영상은 헤더 아래부터 정확히 16:9 로 → 잘림 없음
   - 헤더 뒤 띠는 검정으로 채워서 흰 로고·메뉴가 잘 보이게
   ========================================================= */
@media (max-width: 1023px) {
  .hero { min-height: 0; background: #000; }
  .hero__bg[data-hero-roll] { top: var(--header-h); }
}

/* [심의용] hidden 붙은 섹션은 무조건 숨김 */
section[hidden], .capsule [hidden] { display: none !important; }
