@charset "utf-8";
@import url('sub.css');
/* =========================================================================
	brand.css — BRAND > 브랜드 스토리 (피그마 01 브랜드스토리 / 스크롤 전환 brand_sec2) · BI(#brandBi, 아래 'BRAND > BI' 블록)
	효과: /comm/js/brand.js — 글자 등장(.bs-split) · 문장 줄 등장(.bs-lines) · 손글씨 디졸브 · 섹션 등장(.bs-reveal → .is-in) · 문구 교체(.bs-story-item.is-on)
	스크롤 연동 값: .bs-visual --hp(덮임 0~1) / .bs-story --p(전환 0~1) / .bs-ment --mp(다가옴 0~1)
	전 구간 흐름(참고 bhab): 비주얼 고정 → 효능·루틴이 둥근 판으로 덮어 올라옴 → 문장이 줄마다 밝아짐 → 고정 전환 → 크림이 다가오며 커짐
	JS 가 없으면 효과 없이 내용만 보인다
========================================================================= */

/* 레이아웃 — 서브 공통 폭 제한 해제 */
.basic_cont:has(> #brandStory) { max-width: none; width: 100%; margin: 0; }
#brandStory { overflow-x: clip; }
#brandStory img { display: block; max-width: 100%; }

#brandStory.no-tr *, #brandStory.no-tr *::before, #brandStory.no-tr *::after { transition: none !important; }

/* 공통 효과 — 글자 등장 */
#brandStory .bs-split .w { display: inline-block; white-space: nowrap; }
#brandStory .bs-split .ch { display: inline-block; }
#brandStory.is-js .bs-split .ch { opacity: 0; transform: translateY(0.5em) rotate(6deg); filter: blur(8px); transition: opacity 0.7s, transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.7s; transition-delay: calc(var(--d, 0s) + var(--i, 0) * 0.035s); }
#brandStory.is-js .is-in .bs-split .ch, #brandStory.is-js .bs-ment-pic.is-in ~ .bs-split .ch { opacity: 1; transform: none; filter: blur(0); }

/* 공통 효과 — 문장 줄마다 아래에서 올라옴(.bs-lines → JS 가 .bs-line > .bs-line-in 으로 감쌈) */
#brandStory .bs-line { display: inline-block; vertical-align: top; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
#brandStory.is-js .bs-line-in { display: inline-block; opacity: 0; transform: translate3d(0, 110%, 0); transition: transform 1.1s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.9s; transition-delay: calc(var(--d, 0s) + var(--li, 0) * 0.12s); }
#brandStory.is-js .bs-visual.is-in .bs-line-in, #brandStory.is-js .bs-intro.is-in .bs-line-in, #brandStory.is-js .bs-ment-pic.is-in ~ .bs-lines .bs-line-in, #brandStory.is-js .bs-lines.is-in .bs-line-in, #brandStory.is-js .bs-story-item.is-on .bs-line-in { opacity: 1; transform: none; }
#brandStory .bs-br-tb, #brandStory .bs-br-mo { display: none; }

/* 공통 효과 — 아래에서 떠오름 */
#brandStory.is-js .bs-up { opacity: 0; transform: translateY(40px); transition: opacity 1s, transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1); transition-delay: var(--d, 0s); }
#brandStory.is-js .is-in .bs-up { opacity: 1; transform: none; }

/* 01 비주얼 */
.bs-visual { --tb: -50%; position: sticky; top: 0; z-index: 0; height: 100vh; overflow: hidden; background-color: #f5f5f5; }
.bs-visual::after { content: ""; position: absolute; inset: 0; z-index: var(--z-content); background-color: #000; opacity: calc(var(--hp, 0) * 0.45); pointer-events: none; }
.bs-visual-bg { position: absolute; inset: 0; }
.bs-visual-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; }
/* 등장 — 사진이 오른쪽(인물)부터 왼쪽으로 부드럽게 걷히며 드러난다(확대 없음) */
#brandStory.is-js .bs-visual-bg { -webkit-mask-image: linear-gradient(to left, #000 45%, transparent 55%); mask-image: linear-gradient(to left, #000 45%, transparent 55%); -webkit-mask-size: 250% 100%; mask-size: 250% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 0 0; mask-position: 0 0; transition: -webkit-mask-position 1.6s cubic-bezier(0.65, 0, 0.35, 1), mask-position 1.6s cubic-bezier(0.65, 0, 0.35, 1); }
#brandStory.is-js .bs-visual.is-in .bs-visual-bg { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
.bs-visual-txt { position: absolute; left: 165px; top: calc(50% + 50px); z-index: var(--z-content); color: var(--black); opacity: calc(1 - var(--hp, 0) * 1.6); transform: translate3d(0, calc(var(--tb) - var(--hp, 0) * 160px), 0); }
.bs-visual-txt > .fs60 { font-weight: 700; line-height: 125%; letter-spacing: var(--letter-spacing-60); }
.bs-visual-txt > .fs24 { --d: 2s; margin-top: 21px; line-height: 158.333%; letter-spacing: var(--letter-spacing-24); }
.bs-visual-txt > .fs18 { --d: 2.4s; margin-top: 21px; color: rgba(0, 0, 0, 0.7); line-height: 177.778%; letter-spacing: var(--letter-spacing-18s); }
/* 순서: 사진이 다 걷힌 뒤(1.6s) 제목 → 부제 → 문단 */
.bs-visual-txt > .bs-split { --d: 1.3s; }

/* 02 효능·루틴 */
.bs-intro { position: relative; z-index: 1; padding: 150px 20px 120px; text-align: center; background-color: var(--white); border-radius: calc((1 - var(--hp, 1)) * 60px) calc((1 - var(--hp, 1)) * 60px) 0 0; box-shadow: 0 -20px 40px rgba(0, 0, 0, calc((1 - var(--hp, 1)) * 0.08)); }

.bs-intro-script img { width: 290px; margin: 0 auto; }
/* 손글씨 — 디졸브(서서히 나타남) */
#brandStory.is-js .bs-intro-script img { opacity: 0; transition: opacity 1.6s ease; }
#brandStory.is-js .bs-intro.is-in .bs-intro-script img { opacity: 1; }
/* 순서: 손글씨(0s) → 제목 → 문단1 → 문단2 — 섹션이 보일 때 한 번에 시작해 차례로 */
.bs-intro > .fs50 { --d: 0.6s; margin-top: 20px; line-height: 130%; }
.bs-intro-txt { margin-top: 20px; }
.bs-intro-txt > .fs20 { --d: 1.3s; color: var(--gray); line-height: 170%; letter-spacing: var(--letter-spacing-20); }
.bs-intro-txt > .bs-intro-lead { letter-spacing: var(--letter-spacing-20m); }
.bs-intro-txt > .fs20 + .fs20 { --d: 2s; margin-top: 20px; }

/* 03 스크롤 전환 — 왼쪽 이미지 교체 + 오른쪽 문구 올라감 (참고 bhab 브랜드) */
.bs-story { position: relative; z-index: 1; height: 300vh; background-color: var(--white); }
.bs-story-sticky { position: sticky; top: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; height: 100vh; height: 100svh; padding: 30px; box-sizing: border-box; }
.bs-story-img { position: relative; overflow: hidden; border-radius: 20px; background-color: #fff8f6; }
.bs-story-pic { position: absolute; inset: 0; margin: 0; }
.bs-story-pic img { width: 100%; height: 100%; object-fit: cover; }
.bs-story-pic.is-first img { transform: scale(calc(1 + var(--p, 0) * 0.08)); }
.bs-story-pic.is-next { clip-path: inset(calc((1 - var(--p, 0)) * 100%) 0 0 0); }
.bs-story-pic.is-next img { transform: scale(calc(1.15 - var(--p, 0) * 0.15)); }
.bs-story-txt { position: relative; overflow: hidden; border-radius: 20px; background-color: var(--main); color: var(--white); }
.bs-story-track { height: 200%; transform: translate3d(0, calc(var(--p, 0) * -50%), 0); }
.bs-story-item { display: flex; flex-direction: column; justify-content: center; height: 50%; padding: 0 105px; box-sizing: border-box; opacity: calc(1 - var(--p, 0) * 1.6); }
.bs-story-item + .bs-story-item { opacity: calc(var(--p, 0) * 1.6 - 0.6); }
.bs-story-item > .fs50 { color: var(--white); line-height: 130%; }
.bs-story-desc { margin-top: 35px; }
.bs-story-desc > .fs24 { color: var(--white); line-height: 158.333%; letter-spacing: var(--letter-spacing-24); }
.bs-story-desc > .fs20 { color: var(--white); line-height: 170%; letter-spacing: var(--letter-spacing-20); opacity: 0.8; }
.bs-story-desc > p + p { margin-top: 10px; }
/* 진입 — 왼쪽 사진 카드, 오른쪽 주황 판이 차례로 뒤로 누운 채 아래에서 들어 올려지듯 일어서고, 판이 선 뒤 문구가 줄마다 올라온다 */
.bs-story-sticky { perspective: 1600px; }
#brandStory.is-js .bs-story-img, #brandStory.is-js .bs-story-txt { opacity: 0; transform: translate3d(0, 140px, 0) rotateX(14deg); transform-origin: 50% 100%; transition: opacity 0.9s, transform 1.4s cubic-bezier(0.22, 0.61, 0.36, 1); }
#brandStory.is-js .bs-story-txt { transition-delay: 0.2s; }
#brandStory.is-js .bs-story.is-in .bs-story-img, #brandStory.is-js .bs-story.is-in .bs-story-txt { opacity: 1; transform: none; }
#brandStory.is-js .bs-story:not(.is-ready) .bs-story-item { --bd: 1.3s; }
.bs-story-item > .fs50 { --d: var(--bd, 0s); }
.bs-story-desc > p:first-child { --d: calc(var(--bd, 0s) + 0.45s); }
.bs-story-desc > p + p { --d: calc(var(--bd, 0s) + 0.85s); }
/* 문구 교체 — 첫 문구는 줄마다 위로 빠지고, 두 번째 문구는 아래에서 줄마다 올라온다 */
#brandStory.is-js .bs-story.is-in .bs-story-item:first-child:not(.is-on) .bs-line-in { transform: translate3d(0, -110%, 0); transition-duration: 0.7s, 0.5s; transition-delay: calc(var(--li, 0) * 0.06s); }

/* 04 마무리 문구 */
.bs-ment { position: relative; z-index: 1; padding: 250px 20px; text-align: center; background-color: var(--white); }
.bs-ment-zoom { display: block; transform: translate3d(0, calc((1 - var(--mp, 1)) * 60px), 0); }
/* 크림 — 비스듬히 누운 채 다가와 '착' 내려앉으며, 왼쪽부터 펴 발리듯 드러난다 */
.bs-ment-pic { perspective: 1200px; }
.bs-ment-zoom { position: relative; width: 400px; max-width: 100%; margin: 0 auto; overflow: hidden; }
.bs-ment-pic img { width: 100%; }
#brandStory.is-js .bs-ment-pic img { opacity: 0; transform: rotateX(62deg) rotateZ(-16deg) translate3d(0, 60px, 0) scale(0.65); transform-origin: 30% 80%; -webkit-mask-image: linear-gradient(105deg, #000 40%, transparent 60%); mask-image: linear-gradient(105deg, #000 40%, transparent 60%); -webkit-mask-size: 280% 100%; mask-size: 280% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; transition: opacity 0.5s, transform 1.8s cubic-bezier(0.34, 1.32, 0.5, 1), -webkit-mask-position 1.6s cubic-bezier(0.5, 0, 0.3, 1) 0.2s, mask-position 1.6s cubic-bezier(0.5, 0, 0.3, 1) 0.2s; }
#brandStory.is-js .bs-ment-pic.is-in img { opacity: 1; transform: none; -webkit-mask-position: 0 0; mask-position: 0 0; }
/* 순서: 크림(0s) → 제목 → 문구 → LitBit 밑줄 — 모두 크림(.bs-ment-pic.is-in) 기준 */
.bs-ment > .fs70 { --d: 1s; margin-top: 20px; color: var(--black); font-weight: 700; line-height: 121.429%; letter-spacing: var(--letter-spacing-70); }
.bs-ment > .fs70 em { font-style: normal; color: var(--main); }
#brandStory.is-js .bs-ment > .fs70 em { background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 3px; transition: background-size 1s 2.2s cubic-bezier(0.65, 0, 0.35, 1); }
#brandStory.is-js .bs-ment-pic.is-in ~ .fs70 em { background-size: 100% 3px; }
.bs-ment > .fs24 { --d: 1.8s; margin-top: 30px; line-height: 158.333%; letter-spacing: var(--letter-spacing-24s); }

/* 움직임 줄이기 설정 */
@media (prefers-reduced-motion: reduce) {
	#brandStory.is-js .bs-split .ch, #brandStory.is-js .bs-up, #brandStory.is-js .bs-visual-bg, #brandStory.is-js .bs-intro-script img, #brandStory.is-js .bs-story-img, #brandStory.is-js .bs-story-txt, #brandStory.is-js .bs-ment-pic img, #brandStory.is-js .bs-line-in, #brandStory.is-js .bs-story-pic.is-first { opacity: 1; transform: none; filter: none; clip-path: none; transition: none; -webkit-mask-image: none; mask-image: none; }
}

/* =========================================================================
	BRAND > BI (피그마 02 BI 77503:8451) — #brandBi, 효과 /comm/js/bi.js (2026-12-03)
	등장: 섹션(.bi-reveal) 이 화면에 들어오면 .is-in → 안의 요소가 정해진 순서(CSS 지연값)로 나온다
	스크롤 연동 값: .bi-persona --pp(카드 펼쳐짐 0~1) · --py(사진 시차 -1~1) / .bi-value --vp(판 올라옴 0~1)
	JS 가 없으면 효과 없이 내용만 보인다
========================================================================= */
.basic_cont:has(> #brandBi) { max-width: none; width: 100%; margin: 0; }
/* 주황 판이 푸터와 바로 붙는다(시안) — 이 페이지만 푸터 위 모서리 각지게 */
.wrapper:has(#brandBi) #footer { border-radius: 0; }
#brandBi { overflow-x: clip; padding-top: 206px; }
#brandBi img { display: block; max-width: 100%; }
#brandBi.no-tr *, #brandBi.no-tr *::before, #brandBi.no-tr *::after { transition: none !important; }
#brandBi h2.fs50 { color: var(--black); font-weight: 700; line-height: 130%; letter-spacing: var(--letter-spacing-50); text-align: center; }

/* 공통 효과 — 글자 등장(.bi-split → JS 가 .w > .ch 로 나눔) */
#brandBi .bi-split .w { display: inline-block; white-space: nowrap; }
#brandBi .bi-split .ch { display: inline-block; }
#brandBi.is-js .bi-split .ch { opacity: 0; transform: translateY(0.5em) rotate(6deg); filter: blur(8px); transition: opacity 0.7s, transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.7s; transition-delay: calc(var(--d, 0s) + var(--i, 0) * 0.035s); }
#brandBi.is-js .is-in .bi-split .ch { opacity: 1; transform: none; filter: blur(0); }
/* 공통 효과 — 아래에서 떠오름 */
#brandBi.is-js .bi-fade { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity 0.9s, transform 1.1s cubic-bezier(0.22, 0.61, 0.36, 1); transition-delay: var(--d, 0s); }
#brandBi.is-js .is-in .bi-fade { opacity: 1; transform: none; }

/* 01 BRAND SYMBOL — Light + Bit = LitBit */
.bi-symbol { width: 90%; max-width: 1590px; margin: 0 auto; padding-bottom: 130px; }
.bi-head { text-align: center; }
.bi-head > .fs20 { --d: 0.5s; margin-top: 20px; color: var(--black); font-weight: 600; line-height: 170%; letter-spacing: var(--letter-spacing-20s); }
.bi-head > .fs18 { --d: 0.65s; margin-top: 5px; color: var(--gray); line-height: 177.778%; letter-spacing: var(--letter-spacing-18s); }
.bi-formula { display: flex; align-items: center; justify-content: center; gap: 25px; margin-top: 60px; }
.bi-circle { position: relative; display: flex; flex: 1 1 0; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-width: 0; aspect-ratio: 1 / 1; border-radius: 50%; color: var(--black); text-align: center; white-space: nowrap; container-type: inline-size; }
.bi-circle > .fs50 { position: relative; color: var(--black); font-weight: 700; line-height: 130%; letter-spacing: var(--letter-spacing-50); }
.bi-circle > .fs18 { position: relative; color: var(--black); opacity: 0.7; line-height: 177.778%; letter-spacing: var(--letter-spacing-18s); }
.bi-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
.bi-ring { --sw: 0.22; }
.bi-ring circle { fill: transparent; stroke: var(--border); stroke-width: var(--sw); stroke-dasharray: 1 1; stroke-dashoffset: 0; transition: fill 0.5s; }
/* 호버 — 등장 효과가 끝난(.is-done) 뒤에만 반응 */
#brandBi:not(.is-js) .bi-circle.is-light:hover .bi-ring circle, #brandBi:not(.is-js) .bi-circle.is-bit:hover .bi-ring circle, #brandBi .bi-symbol.is-done .bi-circle.is-light:hover .bi-ring circle, #brandBi .bi-symbol.is-done .bi-circle.is-bit:hover .bi-ring circle { fill: #fafafa; }
.bi-sign { flex: 0 0 40px; }
.bi-sign img { width: 40px; }
.bi-circle.is-result { gap: 30px; }
.bi-result-bg { position: absolute; inset: 0; border-radius: 50%; background-color: #f5f5f5; }
.bi-logo { position: relative; width: 180px; max-width: 46%; }
.bi-logo img { width: 100%; transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1); }
#brandBi:not(.is-js) .bi-circle.is-result:hover .bi-logo img, #brandBi .bi-symbol.is-done .bi-circle.is-result:hover .bi-logo img { transform: scale(1.06); }
.bi-circle.is-result > .fs24 { position: relative; line-height: 158.333%; letter-spacing: var(--letter-spacing-24s); }
/* 등장 — 원 테두리가 그려지며 Light → + → Bit → = 가 차례로, 마지막에 회색 원이 번지듯 차오르고 로고가 왼쪽부터 드러난다 */
#brandBi.is-js .bi-ring circle { stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(0.65, 0, 0.35, 1), fill 0.5s; transition-delay: var(--rd, 0s), 0s; }
#brandBi.is-js .bi-symbol.is-in .bi-ring circle { stroke-dashoffset: 0; }
#brandBi.is-js .bi-circle > .fs50, #brandBi.is-js .bi-circle > .fs18, #brandBi.is-js .bi-circle.is-result > .fs24 { opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity 0.9s, transform 1.1s cubic-bezier(0.22, 0.61, 0.36, 1); transition-delay: var(--d, 0s); }
#brandBi.is-js .bi-circle > .fs18 { transition-delay: calc(var(--d, 0s) + 0.15s); }
#brandBi.is-js .bi-symbol.is-in .bi-circle > .fs50 { opacity: 1; transform: none; }
#brandBi.is-js .bi-symbol.is-in .bi-circle > .fs18 { opacity: 0.7; transform: none; }
#brandBi.is-js .bi-symbol.is-in .bi-circle.is-result > .fs24 { opacity: 1; transform: none; }
.bi-circle.is-light { --rd: 0.6s; --d: 1s; }
.bi-circle.is-bit { --rd: 1s; --d: 1.4s; }
.bi-circle.is-result { --d: 2.6s; }
#brandBi.is-js .bi-sign img { opacity: 0; transition: opacity 0.6s, transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1); transition-delay: var(--d, 0s); }
#brandBi.is-js .bi-sign.is-add img { --d: 1.3s; transform: rotate(-180deg) scale(0.2); }
#brandBi.is-js .bi-sign.is-equal img { --d: 1.8s; transform: scaleX(0); }
#brandBi.is-js .bi-symbol.is-in .bi-sign img { opacity: 1; transform: none; }
#brandBi.is-js .bi-result-bg { transform: scale(0); transition: transform 1.3s cubic-bezier(0.22, 1, 0.36, 1) 2s; }
#brandBi.is-js .bi-symbol.is-in .bi-result-bg { transform: none; }
#brandBi.is-js .bi-logo img { opacity: 0; clip-path: inset(0 100% 0 0); transition: clip-path 1s cubic-bezier(0.65, 0, 0.35, 1) 2.4s, opacity 0.3s 2.4s, transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1); }
#brandBi.is-js .bi-symbol.is-in .bi-logo img { opacity: 1; clip-path: inset(0 0 0 0); }

/* 02 PERSONA — 카드가 스크롤에 따라 양옆으로 펼쳐지고, 사진은 느리게 움직인다(시차) */
.bi-persona { padding: 0 30px; }
.bi-persona-card { --pp: 1; --py: 0; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 600px; max-width: 1860px; margin: 50px auto 0; padding: 60px 20px; overflow: hidden; border-radius: 20px; background-color: var(--black); box-sizing: border-box; text-align: center; clip-path: inset(0 calc((1 - var(--pp)) * 50%) round 20px); }
.bi-persona-bg { position: absolute; inset: 0; opacity: 0.6; }
.bi-persona-bg img { position: absolute; top: -20.56%; left: -25.32%; width: 137.85%; max-width: none !important; height: auto; min-height: 120.56%; object-fit: cover; object-position: 66.9% 100%; transform: translate3d(0, calc(var(--py) * 40px), 0) scale(calc(1 + (1 - var(--pp)) * 0.1)); }
.bi-persona-txt { position: relative; color: var(--white); }
.bi-persona-txt > .fs45 { --d: 0.5s; color: var(--white); font-family: var(--eng); font-weight: 500; line-height: 144.444%; letter-spacing: var(--letter-spacing-45); }
.bi-persona-txt > .fs18 { --d: 1.4s; margin-top: 10px; color: rgba(255, 255, 255, 0.7); line-height: 177.778%; letter-spacing: var(--letter-spacing-18s); word-break: keep-all; }

/* 03 CORE VALUE — 주황 판이 올라오고, 01~04 가 점선으로 이어지며 차례로 나타난다 */
.bi-value { --vp: 1; max-width: 1860px; margin: 20px max(30px, calc((100% - 1860px) / 2)) 0; padding: 130px 0; border-radius: 20px 20px 0 0; background-color: var(--main); color: var(--white); container-type: inline-size; }
#brandBi .bi-value > h2.fs50 { color: var(--white); }
/* 원 크기(--ic)는 판 폭(cqw)에 맞춰 줄어든다 — 양쪽 여백(--pad) 확보, 최대 260px */
.bi-value-list { --pad: 20px; --gap: 60px; --ic: min(260px, calc((100cqw - 2 * var(--pad) - 3 * var(--gap)) / 4)); display: flex; justify-content: center; gap: var(--gap); margin-top: 60px; padding: 0 var(--pad); counter-reset: none; }
.bi-value-item { --n: 0; position: relative; flex: 0 0 var(--ic); padding: 20px 0; text-align: center; }
.bi-value-item:nth-of-type(2) { --n: 1; }
.bi-value-item:nth-of-type(3) { --n: 2; }
.bi-value-item:nth-of-type(4) { --n: 3; }
/* 점선 — 앞 항목에서 이어지는 선 */
.bi-value-item + .bi-value-item::before { content: ""; position: absolute; top: calc(20px + var(--ic) / 2); left: calc(var(--gap) * -1); width: var(--gap); height: 1px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0 2px, transparent 2px 4px); transform-origin: 0 50%; }
.bi-value-icon { position: relative; width: var(--ic); aspect-ratio: 1 / 1; border: 1px solid var(--white); border-radius: 50%; background-image: linear-gradient(156.8deg, rgba(255, 248, 246, 0.1) 12%, rgba(255, 248, 246, 0) 94%); box-sizing: border-box; }
.bi-value-pic { position: absolute; top: 50%; left: 50%; width: 76.923%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 50%; background-color: var(--white); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); transform: translate(-50%, -50%); }
.bi-value-pic img { position: absolute; max-width: none !important; transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1); }
.bi-value-item:nth-of-type(1) .bi-value-pic img { left: -0.5%; top: -46%; width: 121.5%; }
.bi-value-item:nth-of-type(2) .bi-value-pic img { left: -24.5%; top: -26.17%; width: 144.5%; }
.bi-value-item:nth-of-type(3) .bi-value-pic img { left: -79%; top: -80.17%; width: 179%; }
.bi-value-item:nth-of-type(4) .bi-value-pic img { left: -124.5%; top: -53.17%; width: 244%; }
.bi-value-item:hover .bi-value-pic img { transform: scale(1.08); }
.bi-value-dot { position: absolute; top: 50%; width: 18px; height: 18px; border: 4px solid var(--main); border-radius: 50%; background-color: var(--white); box-sizing: border-box; transform: translateY(-50%); }
.bi-value-dot.is-right { right: -8px; }
.bi-value-dot.is-left { left: -12px; }
.bi-value-num { position: absolute; top: -18px; left: 50%; z-index: var(--z-content); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 2px solid rgba(255, 255, 255, 0.1); border-radius: 50%; background-color: var(--main); box-sizing: border-box; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.07)); color: var(--white); font-weight: 600; line-height: 171.429%; transform: translateX(-50%); }
.bi-value-item > .fs28 { margin-top: 20px; color: var(--white); font-weight: 700; line-height: 142.857%; letter-spacing: var(--letter-spacing-28); }
.bi-value-item > .fs20 { color: var(--white); line-height: 170%; letter-spacing: var(--letter-spacing-20); }
/* 등장 */
/* 판 — 위·양옆이 안쪽으로 접힌 둥근 판에서 스크롤에 따라 제자리 크기로 펼쳐진다(--vp 0→1). PERSONA 와의 간격 20px 은 그대로 · 아래는 -2px 로 잘라 푸터와 맞닿는 곳에 반투명 줄(1px)이 안 생기게 */
#brandBi.is-js .bi-value { --vx: 10%; --vy: 140px; --vr: 20px; clip-path: inset(calc((1 - var(--vp)) * var(--vy)) calc((1 - var(--vp)) * var(--vx)) -2px round calc(var(--vr) + (1 - var(--vp)) * 120px) calc(var(--vr) + (1 - var(--vp)) * 120px) 0 0); }
#brandBi.is-js .bi-value-icon { opacity: 0; transform: scale(0.6) rotate(-25deg); transition: opacity 0.8s, transform 1.2s cubic-bezier(0.34, 1.3, 0.64, 1); transition-delay: calc(0.6s + var(--n) * 0.35s); }
#brandBi.is-js .bi-value-pic img { scale: 1.35; transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1), scale 1.8s cubic-bezier(0.22, 0.61, 0.36, 1) calc(0.7s + var(--n) * 0.35s); }
#brandBi.is-js .bi-value-num { opacity: 0; transform: translateX(-50%) scale(0); transition: opacity 0.4s, transform 0.7s cubic-bezier(0.34, 1.8, 0.64, 1); transition-delay: calc(1.1s + var(--n) * 0.35s); }
#brandBi.is-js .bi-value-item + .bi-value-item::before { transform: scaleX(0); transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1); transition-delay: calc(0.45s + var(--n) * 0.35s); }
#brandBi.is-js .bi-value-dot { opacity: 0; transition: opacity 0.4s; transition-delay: calc(1s + var(--n) * 0.35s); }
#brandBi.is-js .bi-value-item > .fs28, #brandBi.is-js .bi-value-item > .fs20 { opacity: 0; transform: translate3d(0, 20px, 0); transition: opacity 0.8s, transform 1s cubic-bezier(0.22, 0.61, 0.36, 1); transition-delay: calc(1s + var(--n) * 0.35s); }
#brandBi.is-js .bi-value-item > .fs20 { transition-delay: calc(1.15s + var(--n) * 0.35s); }
#brandBi.is-js .bi-value-list.is-in .bi-value-icon { opacity: 1; transform: none; }
#brandBi.is-js .bi-value-list.is-in .bi-value-pic img { scale: 1; }
#brandBi.is-js .bi-value-list.is-in .bi-value-num { opacity: 1; transform: translateX(-50%); }
#brandBi.is-js .bi-value-list.is-in .bi-value-item + .bi-value-item::before { transform: none; }
#brandBi.is-js .bi-value-list.is-in .bi-value-dot { opacity: 1; }
#brandBi.is-js .bi-value-list.is-in .bi-value-item > .fs28, #brandBi.is-js .bi-value-list.is-in .bi-value-item > .fs20 { opacity: 1; transform: none; }
/* 이음점 — 다 나온 뒤 잔잔하게 숨 쉬듯 빛난다 */
.bi-value-list.is-done .bi-value-dot { animation: biDotPulse 2.4s ease-out infinite; animation-delay: calc(var(--n) * 0.3s); }
@keyframes biDotPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); } }

/* 움직임 줄이기 설정 */
@media (prefers-reduced-motion: reduce) {
	#brandBi.is-js .bi-split .ch, #brandBi.is-js .bi-fade, #brandBi.is-js .bi-circle > *, #brandBi.is-js .bi-sign img, #brandBi.is-js .bi-result-bg, #brandBi.is-js .bi-logo img, #brandBi.is-js .bi-value-icon, #brandBi.is-js .bi-value-num, #brandBi.is-js .bi-value-dot, #brandBi.is-js .bi-value-item > *, #brandBi.is-js .bi-value-item + .bi-value-item::before { opacity: 1; transform: none; filter: none; clip-path: none; transition: none; }
	#brandBi.is-js .bi-ring circle { stroke-dashoffset: 0; transition: none; }
	#brandBi.is-js .bi-value-pic img { scale: 1; }
	#brandBi.is-js .bi-value { clip-path: none; }
	.bi-value-list.is-done .bi-value-dot { animation: none; }
}

/*****************************************************************************
	@media ~1500px
***************************************************************************/
@media all and (max-width:1500px) {

	/* 01 비주얼 — 제목을 두 줄로 나눠 인물과 겹치지 않게 */
	.bs-visual-txt { left: 100px; }
	#brandStory .bs-br-tb { display: inline; }

	/* 03 스크롤 전환 */
	.bs-story-item { padding: 0 80px; }
	/* 판이 좁아지면 문단 강제 줄바꿈을 없애고 판 폭대로 이어 흐르게(줄 등장은 JS 가 실제 줄을 재서 유지) */
	.bs-story-desc { word-break: keep-all; }
	.bs-story-desc br { display: none; }


	/* BI — 01 BRAND SYMBOL */
	.bi-formula { gap: 20px; }
	.bi-value-list { --pad: 40px; }
}
/***************************************************************************
	@media ~1300px
***************************************************************************/
@media all and (max-width:1300px) {

	/* 01 비주얼 */
	.bs-visual-txt { left: 80px; max-width: 65%; }

	/* 02 효능·루틴 */
	.bs-intro { padding: 120px 20px 100px; }

	/* 03 스크롤 전환 */
	.bs-story-item { padding: 0 60px; }

	/* 04 마무리 문구 */
	.bs-ment { padding: 200px 20px; }


	/* BI */
	#brandBi { padding-top: 180px; }
	.bi-symbol { padding-bottom: 120px; }
	.bi-formula { gap: 15px; }
	.bi-sign { flex-basis: 30px; }
	.bi-sign img { width: 30px; }
	.bi-ring { --sw: 0.28; }
	.bi-circle.is-result { gap: 20px; }
	.bi-value { padding: 120px 0; }
	.bi-value-list { --gap: 40px; }
	/* 원이 작아지면 글자도 원 폭(cqw)에 맞춰 줄이고, 넘치면 원 안에서 줄바꿈 */
	.bi-circle { white-space: normal; word-break: keep-all; }
	.bi-circle > .fs50, .bi-circle > .fs18, .bi-circle > .fs24 { max-width: 82%; }
	.bi-circle > .fs50 { font-size: clamp(24px, 14cqw, 50px); }
	.bi-circle > .fs18 { font-size: clamp(12px, 5cqw, 18px); }
	.bi-circle.is-result > .fs24 { font-size: clamp(13px, 6.4cqw, 24px); }
}
/* ~1300px — 판이 좁아지면 제목 강제 줄바꿈을 없애고 판 폭대로 이어 흐르게(글자 크기는 줄이지 않는다) */
@media all and (max-width:1300px) {
	#brandStory .bs-story-item > .fs50 { word-break: keep-all; }
	#brandStory .bs-story-item > .fs50 br { display: none; }
}
@media all and (min-width:981px) and (max-width:1300px) {
	.bs-story-item { padding: 0 40px; }
}
/***************************************************************************
	@media 769~980px
***************************************************************************/
@media all and (max-width:980px) {

	/* 01 비주얼 */
	.bs-visual::before { content: ""; position: absolute; inset: 0; z-index: var(--z-content); background: linear-gradient(90deg, rgba(245, 245, 245, 0.85) 0%, rgba(245, 245, 245, 0) 75%); }
	.bs-visual-txt { left: 40px; right: 40px; max-width: none; }
	.bs-visual-bg img { object-position: 54% 50%; }

	/* 02 효능·루틴 */
	.bs-intro { padding: 100px 20px 80px; }
	.bs-intro-script img { width: 230px; }
	#brandStory .bs-br-mo { display: inline; }
	.bs-intro-txt > .fs20 + .fs20 { margin-top: 15px; }

	/* 03 스크롤 전환 */
	.bs-story-sticky { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; padding: 20px; padding-top: 90px; }
	.bs-story-img, .bs-story-txt { border-radius: 20px; }
	.bs-story-item { padding: 0 40px; text-align: center; }
	.bs-story-desc { margin-top: 25px; }

	/* 04 마무리 문구 */
	.bs-ment { padding: 150px 20px; }
	.bs-ment-zoom { width: 320px; }


	/* BI — 681 까지는 원 세 개 가로 배치 유지 */
	#brandBi { padding-top: 150px; }
	.bi-symbol { padding-bottom: 100px; }
	.bi-formula { gap: 10px; margin-top: 50px; }
	.bi-sign { flex-basis: 24px; }
	.bi-sign img { width: 24px; }
	.bi-ring { --sw: 0.45; }
	.bi-persona { padding: 0 20px; }
	.bi-persona-card { height: 480px; margin-top: 40px; }
	.bi-value { margin: 20px 20px 0; padding: 100px 0; }
	.bi-value-list { --pad: 30px; --gap: 60px; --ic: min(200px, calc((100cqw - 2 * var(--pad) - var(--gap)) / 2)); flex-wrap: wrap; row-gap: 20px; width: calc(var(--ic) * 2 + var(--gap) + var(--pad) * 2); max-width: 100%; margin: 30px auto 0; box-sizing: border-box; }
	.bi-value-item { padding-bottom: 0; }
	/* 두 줄(2×2)이 되면 줄 끝 이음선·이음점은 숨긴다 */
	.bi-value-item:nth-of-type(3)::before { display: none; }
	.bi-value-item:nth-of-type(2) .bi-value-dot.is-right, .bi-value-item:nth-of-type(3) .bi-value-dot.is-left { display: none; }
	.bi-value-item > .fs28 { margin-top: 15px; }
}
/***************************************************************************
	@media 481~680px
*****************************************************************************/
@media all and (max-width:680px) {

	/* 01 비주얼 */
	.bs-visual { --tb: 0px; }
	.bs-visual::before { background: linear-gradient(0deg, rgba(245, 245, 245, 0.95) 0%, rgba(245, 245, 245, 0.85) 35%, rgba(245, 245, 245, 0) 65%); }
	.bs-visual-bg img { object-position: 68% 50%; }
	.bs-visual-txt { left: 20px; right: 20px; top: auto; bottom: 50px; }
	.bs-visual-txt > .fs24, .bs-visual-txt > .fs18 { margin-top: 10px; }
	.bs-visual-txt br { display: none; }

	/* 02 효능·루틴 */
	.bs-intro { padding: 80px 20px 60px; border-radius: calc((1 - var(--hp, 1)) * 30px) calc((1 - var(--hp, 1)) * 30px) 0 0; }
	.bs-intro-script img { width: 180px; }
	.bs-intro > .fs50 { margin-top: 10px; }
	.bs-intro-txt { margin-top: 15px; }
	.bs-intro-txt br { display: none; }
	.bs-intro-txt > .fs20 + .fs20 { margin-top: 10px; }

	/* 03 스크롤 전환 */
	.bs-story-sticky { grid-template-rows: 40% 1fr; gap: 10px; padding: 10px; padding-top: 80px; }
	.bs-story-img, .bs-story-txt { border-radius: 10px; }
	.bs-story-item { padding: 0 20px; }
	.bs-story-desc { margin-top: 15px; }
	.bs-story-desc br { display: none; }

	/* 04 마무리 문구 */
	.bs-ment { padding: 100px 20px; }
	.bs-ment-zoom { width: 240px; }
	/* 줄바꿈을 숨기는 문단은 줄 단위 대신 이어진 문장 그대로 서서히 나타남 */
	.bs-ment > .fs70 { margin-top: 10px; }
	.bs-ment > .fs24 { margin-top: 15px; }


	/* BI */
	#brandBi { padding-top: 130px; }
	.bi-symbol { padding-bottom: 80px; }
	.bi-head > .fs20 { margin-top: 10px; }
	.bi-head > .fs18 { word-break: keep-all; }
	/* 680 이하 — 원 세 개를 세로로 쌓고 = 는 90도 돌린다 */
	.bi-formula { flex-direction: column; gap: 10px; margin-top: 40px; }
	.bi-circle { flex: none; width: 280px; max-width: 86%; gap: 5px; }
	.bi-circle > .fs50 { font-size: clamp(24px, 12cqw, 40px); }
	.bi-sign { flex-basis: 30px; }
	.bi-sign img { width: 30px; }
	.bi-sign.is-equal { transform: rotate(90deg); }
	.bi-ring { --sw: 0.36; }
	.bi-circle.is-result { gap: 15px; }
	.bi-logo { width: 140px; }
	.bi-persona { padding: 0 10px; }
	.bi-persona-card { height: 420px; margin-top: 30px; border-radius: 10px; clip-path: inset(0 calc((1 - var(--pp)) * 50%) round 10px); }
	.bi-persona-bg img { top: 0; left: 0; width: 100%; height: 100%; min-height: 0; object-position: 55% 100%; transform: translate3d(0, calc(var(--py) * 24px), 0) scale(calc(1.08 + (1 - var(--pp)) * 0.1)); }
	.bi-value { margin: 20px 10px 0; padding: 70px 0; border-radius: 10px 10px 0 0; }
	#brandBi.is-js .bi-value { --vx: 5%; --vy: 60px; --vr: 10px; }
	.bi-value-list { --pad: 15px; --gap: 24px; row-gap: 20px; margin-top: 30px; }
	.bi-value-dot { width: 14px; height: 14px; border-width: 3px; }
	.bi-value-dot.is-right { right: -7px; }
	.bi-value-dot.is-left { left: -9px; }
	.bi-value-num { top: -14px; width: 32px; height: 32px; }
	.bi-value-item > .fs28 { margin-top: 10px; }
}

/* 01 비주얼 모바일 — 브라우저 하단 바에 가려 글이 잘리던 문제: 보이는 높이(svh)에 맞춤. 50/50 배치는 원복 (2026-12-03 박순영 주임) */
@media all and (max-width:680px) {
	.bs-visual { height: calc(100vh - var(--banner-h, 0px)); height: calc(100svh - var(--banner-h, 0px)); }
}

/* 03 스크롤 전환 모바일 — 이미지 50% / 글 50%, 글자 축소 (2026-12-03 박순영 주임) */
@media all and (max-width:680px) {
	.bs-story-sticky { grid-template-rows: 1fr 1fr; }
	#brandStory .bs-story-item > .fs50 { font-size: 24px; }
	.bs-story-desc { margin-top: 12px; }
	.bs-story-desc > .fs24 { font-size: 15px; }
	.bs-story-desc > .fs20 { font-size: 13px; line-height: 165%; }
	.bs-story-desc > p + p { margin-top: 8px; }
}

/* 02→03 경계 1px 틈 — 아이폰에서 소수점 높이 반올림으로 뒤의 어두운 비주얼이 선처럼 비침: 03 을 1px 겹쳐 덮음 (2026-12-03 박순영 주임) */
.bs-story { margin-top: -1px; }

/* 03 타이틀 모바일 — 자간 -2.5px → -0.5px, 줄바꿈은 원래 의미 단위(br) 로 (2026-12-03 박순영 주임) */
@media all and (max-width:680px) {
	#brandStory .bs-story-item > .fs50 { letter-spacing: -0.5px; line-height: 135%; text-wrap: balance; }
	#brandStory .bs-story-item > .fs50 br { display: inline; }
}
