@charset "euc-kr";
/* TRS 14659 러셀 리브랜딩 브랜드 스토리 1차 티저 (2026-11-17 수정 시안 v3 기준)
   Figma 0ZkLSxuwwucMFZT78y1ETU: PC 57:659 / TA 394:1229 / MO 394:15913, 상단 모션 PC 317:1725 / TA 394:30587 / MO 394:30772
   분기: PC 1200 이상 / TA 768~1199 / MO 767 이하
   응모하기 레이어 스타일은 /rwd/css/popup_common.css + pop_apply.css

   목차: 공통 / 상단 비주얼(배치·카피·모션) / 탭 / 공통 섹션 / 테두리 빛 / 탭1 새 슬로건 / 탭2 힌트 / 탭3 이벤트 / 이벤트 안내 / TA / MO / 모션 줄이기 */

.brand-story-page {
	--bs-bg: #0b1533;
	--bs-navy: #082156;
	--bs-deep: #060e26;
	--bs-line: #173e71;
	--bs-sky: #62beff;
	--bs-sky-light: #9ed7ff;
	--bs-gray100: #dbdee5;
	--bs-blue: #2c5bf6;
	--bs-key: linear-gradient(180deg, #9ed7ff 0%, #62beff 89.189%); /* 활성 탭·D-day·응모하기 버튼 공통 그라데이션 */
	background: var(--bs-bg);
	color: #fff;
	word-break: keep-all;
	overflow-x: clip; /* hidden 은 하위 sticky(탭)를 막음 */
}
.brand-story-page .event-inner { position: relative; max-width: 1248px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.brand-story-page ul, .brand-story-page ol { margin: 0; padding: 0; list-style: none; }
.brand-story-page p, .brand-story-page h1, .brand-story-page h2, .brand-story-page h3 { margin: 0; }
.brand-story-page button { font-family: inherit; }

/* ---------- 상단 비주얼 ----------
   --bs-scale: 2560x1080 배경 스테이지 축소 비율 / --bs-unit: 카피 크기·간격 단위(PC 시안 1px) */
.brand-story-page .visual-wrap { --bs-scale: 1; --bs-unit: 1px; --mv-eng: calc(var(--bs-unit) * 67); --mv-date: calc(var(--bs-unit) * 87); --mv-date-scale: 1.2532; --mv-main-from: calc(var(--bs-unit) * 182); --mv-main: calc(var(--bs-unit) * 132); --mv-main-scale: 1.6429; --mv-rise: calc(var(--bs-unit) * 40); position: relative; height: 1080px; overflow: hidden; background: #00081b; }
.brand-story-page .visual { height: 100%; }
.brand-story-page .visual-bg { position: absolute; inset: 0; overflow: hidden; }
.brand-story-page .visual-stage { position: absolute; left: 50%; bottom: 0; width: 2560px; height: 1080px; margin-left: -1280px; transform: scale(var(--bs-scale)); transform-origin: 50% 100%; }
.brand-story-page .visual-stage > *, .brand-story-page .visual-stage img { position: absolute; display: block; max-width: none; }
/* 빛 레이어(.visual-fx): 처음부터 별도 레이어로 그려 두어 모션 시작 순간과 빛 줄기 마스크 이동 때 다시 그리느라 끊기지 않게 함 */
.brand-story-page .visual-fx { will-change: opacity, transform; }
.brand-story-page .bg-sky { left: 0; top: -64px; width: 2560px; height: 1241px; }
.brand-story-page .bg-mount { left: -332.33px; top: -99.21px; width: 3010.1px; height: 1460px; }
.brand-story-page .bg-shade { left: 0; top: 552px; width: 2560px; height: 622px; background: linear-gradient(180deg, rgba(11, 21, 51, 0) 0%, rgba(11, 21, 51, .75) 60%, #0b1533 100%); opacity: .8; }
/* 설산 빛 3줄기: 이미지를 좌측·중앙·우측 영역으로 나누고(--path-mask, 경계를 블러 4 로 부드럽게 한 모양), 영역마다 세로 그라데이션 마스크를 위로 올려 아래에서 위로 드러냄
   마스크를 두 요소에 나눠 건다: 영역 모양(고정)은 안쪽 이미지에, 세로 그라데이션(이동, bsPath)은 바깥 묶음(.light-path)에.
   한 요소에 두 겹을 함께 걸고 움직이면 매 프레임 두 겹을 다시 합성해 모션이 느려지므로 나눠 둔다.
   이미지의 will-change 는 영역 마스크를 입힌 결과를 별도 레이어로 미리 그려 두기 위한 것(빼면 프레임 간격이 약 2배로 늘어남) */
.brand-story-page .light-path { left: 0; top: -64px; width: 2560px; height: 1080px; opacity: .85; -webkit-mask-image: linear-gradient(180deg, transparent 1008px, #000 1296px); mask-image: linear-gradient(180deg, transparent 1008px, #000 1296px); -webkit-mask-size: 2560px 2400px; mask-size: 2560px 2400px; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 0 -1236px; mask-position: 0 -1236px; }
.brand-story-page .light-path img { left: 0; top: 0; width: 2560px; height: 1080px; -webkit-mask-image: var(--path-mask); mask-image: var(--path-mask); -webkit-mask-size: var(--path-size); mask-size: var(--path-size); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: var(--path-pos); mask-position: var(--path-pos); will-change: transform; }
.brand-story-page .path-left { --path-size: 1309px 551.5px; --path-pos: -18px 660.5px; --path-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1309' height='551.5' viewBox='0 0 1309 551.5'%3E%3Cfilter id='b' x='0' y='0' width='1309' height='551.5' filterUnits='userSpaceOnUse'%3E%3CfeGaussianBlur stdDeviation='4'/%3E%3C/filter%3E%3Cpath filter='url(%23b)' fill='%23fff' d='M8 8H1301L1271 93.5L1238 183.5L1193 303.5L1140.5 420.5L1125.5 543.5H8V8Z'/%3E%3C/svg%3E"); }
.brand-story-page .path-center { --path-size: 2596px 1231px; --path-pos: -18px -19px; --path-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2596' height='1231' viewBox='0 0 2596 1231'%3E%3Cfilter id='b' x='0' y='0' width='2596' height='1231' filterUnits='userSpaceOnUse'%3E%3CfeGaussianBlur stdDeviation='4'/%3E%3C/filter%3E%3Cpath filter='url(%23b)' fill='%23fff' d='M8 8H2588V687.5H1301L1328 743L1331 837.5L1373 923V1013L1358 1223H1125.5L1140.5 1100L1193 983L1238 863L1271 773L1301 687.5H8V8Z'/%3E%3C/svg%3E"); }
.brand-story-page .path-right { --path-size: 1303px 551.5px; --path-pos: 1275px 660.5px; --path-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1303' height='551.5' viewBox='0 0 1303 551.5'%3E%3Cfilter id='b' x='0' y='0' width='1303' height='551.5' filterUnits='userSpaceOnUse'%3E%3CfeGaussianBlur stdDeviation='4'/%3E%3C/filter%3E%3Cpath filter='url(%23b)' fill='%23fff' d='M8 8H1295V543.5H65L80 333.5V243.5L38 158L35 63.5L8 8Z'/%3E%3C/svg%3E"); }
.brand-story-page .path-side { opacity: .4; }
.brand-story-page .path-main { opacity: .7; }
.brand-story-page .path-core { opacity: .85; }
/* 산 정상 빛 (모션 종료 시점 크기·밝기) */
.brand-story-page .light-pulse { left: 0; top: -64px; width: 2560px; height: 1080px; opacity: .4; }
.brand-story-page .light-bloom { left: 520.5px; top: 104px; width: 1515px; height: 1010px; opacity: .3; }
.brand-story-page .light-flare { left: 478px; top: 209px; width: 1600px; height: 800px; }
.brand-story-page .visual-fade { display: none; } /* MO 전용: 하늘 위쪽을 배경색으로 자연스럽게 연결 */

.brand-story-page .visual-copy { position: relative; z-index: 2; padding-top: calc(var(--bs-unit) * 78); text-align: center; color: #fff; }
.brand-story-page .visual-tit { display: flex; flex-direction: column; align-items: center; gap: calc(var(--bs-unit) * 24); font-weight: 400; }
.brand-story-page .tit-eng { display: block; color: #aad0fa; font-size: calc(var(--bs-unit) * 24); font-weight: 600; line-height: calc(var(--bs-unit) * 32); letter-spacing: .4em; margin-right: -.4em; white-space: nowrap; }
.brand-story-page .tit-date { position: relative; display: block; font-size: calc(var(--bs-unit) * 158); font-weight: 800; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.brand-story-page .visual-main { margin-top: calc(var(--bs-unit) * 24); font-size: calc(var(--bs-unit) * 28); font-weight: 500; line-height: 1.4; letter-spacing: -.02em; }
.brand-story-page .visual-sub { display: flex; flex-direction: column; align-items: center; gap: calc(var(--bs-unit) * 12); margin-top: calc(var(--bs-unit) * 29); font-size: calc(var(--bs-unit) * 24); font-weight: 500; line-height: calc(var(--bs-unit) * 32); letter-spacing: -.02em; }
.brand-story-page .sub-line { display: block; }
.brand-story-page .sub-line em { color: var(--bs-sky); font-weight: 700; font-style: normal; }
/* 날짜 타이핑: JS 가 날짜를 글자(.tit-char, 공백은 글자 밖 텍스트)로 나누고 끝에 커서(.type-cursor)를 붙인다.
   커서 위치 --x0(첫 글자 왼쪽), --x1~--x5(n번째 글자 오른쪽)는 JS 가 재서 넣고, 노출·이동 시각은 아래 .is-motion 타임라인에서 관리
   ※ 글자 span 안에 위치 지정 요소(::after 등)를 넣거나 inline-block 으로 바꾸면 글자 사이 커닝이 끊겨 간격이 벌어짐 */
.brand-story-page .type-cursor { position: absolute; left: 0; top: 50%; width: calc(var(--bs-unit) * 5.6); height: calc(var(--bs-unit) * 113); margin: calc(var(--bs-unit) * -56.5) 0 0 calc(var(--bs-unit) * 5.6); border-radius: 1px; background: #fff; opacity: 0; }

/* 대기(.is-wait): 이미지·웹폰트 준비 전까지 카피와 빛을 숨김(script.js 가 준비 후 .is-motion 으로 교체)
   빛은 visibility 대신 opacity 0 으로 숨겨 대기 중에 미리 그려 둔다. JS 미동작·모션 줄이기 설정 시에는 최종 화면 노출 */
.brand-story-page .visual-wrap.is-wait .visual-copy { visibility: hidden; }
.brand-story-page .visual-wrap.is-wait .visual-fx { opacity: 0; }

/* 모션(.is-motion): Figma 모션 타임라인(19.7초 중 0~7.7초 1회 재생, 이후 빛 반짝임만 반복). 모든 시각은 이 블록에서 관리
   #1 0.2s RUSSEL BRAND STORY 노출 → 0.7~3.3s 날짜 커서·타이핑(1.2s부터 0.3s 간격 5단계) → 2.55s 메인 카피 아래서 위로
   #2 3.7s 카피 축소·상단 이동 → 4.0s / 4.45s 서브 카피 아래서 위로
   #3 설산 빛 줄기가 아래에서 위로(중앙 4.0s, 좌측 4.6s, 우측 5.2s, 각 2.5초) → 6.7s 정상 빛 → 7.7s~ 반짝임 반복 */
.brand-story-page .visual-wrap.is-motion .tit-eng { animation: bsFade .6s ease-out .2s both, bsEngUp .8s ease-in-out 3.7s both; }
.brand-story-page .visual-wrap.is-motion .tit-date { animation: bsDateUp .8s ease-in-out 3.7s both; }
/* 타이핑(시안 5단계: 1 / 1 / . / 1 / 9, 공백은 단계 없음): n번째 글자가 --type-at 에 나타남. 바꾸면 bsCaretBlink·bsCaretMove 구간도 같이 수정 */
.brand-story-page .visual-wrap.is-motion .tit-char { animation: bsFade 1ms var(--type-at) both; }
.brand-story-page .visual-wrap.is-motion .tit-char:nth-child(1) { --type-at: 1.2s; }
.brand-story-page .visual-wrap.is-motion .tit-char:nth-child(2) { --type-at: 1.5s; }
.brand-story-page .visual-wrap.is-motion .tit-char:nth-child(3) { --type-at: 1.8s; }
.brand-story-page .visual-wrap.is-motion .tit-char:nth-child(4) { --type-at: 2.1s; }
.brand-story-page .visual-wrap.is-motion .tit-char:nth-child(5) { --type-at: 2.4s; }
.brand-story-page .visual-wrap.is-motion .type-cursor { animation: bsCaretBlink 2.6s step-end .7s forwards, bsCaretMove 2.6s step-end .7s both; }
.brand-story-page .visual-wrap.is-motion .visual-main { animation: bsFade .75s ease-out 2.55s both, bsMainUp 1.95s linear 2.55s both; }
.brand-story-page .visual-wrap.is-motion .sub-line { animation: bsRise .7s ease-out 4s both; }
.brand-story-page .visual-wrap.is-motion .sub-line + .sub-line { animation-delay: 4.45s; }
/* 빛 줄기: 드러남(bsPath) → 7.7s 한 번 어두워짐(bsPathDim) → 8.6s 부터 반짝임 반복(bsPathLoop) */
.brand-story-page .visual-wrap.is-motion .light-path { animation: bsPath 2.5s ease-in-out var(--path-at) both, bsPathFull 7.7s step-end, bsPathDim .9s ease-in-out 7.7s, bsPathLoop 1.8s ease-in-out 8.6s infinite; }
.brand-story-page .visual-wrap.is-motion .path-center { --path-at: 4s; }
.brand-story-page .visual-wrap.is-motion .path-left { --path-at: 4.6s; }
.brand-story-page .visual-wrap.is-motion .path-right { --path-at: 5.2s; }
.brand-story-page .visual-wrap.is-motion .light-pulse { animation: bsPulse 1s ease-in-out 6.7s both, bsPulseLoop 1.8s ease-in-out 7.7s infinite; }
.brand-story-page .visual-wrap.is-motion .light-bloom { animation: bsBloom 1.9s ease-in-out 6.7s both; }
.brand-story-page .visual-wrap.is-motion .light-flare { animation: bsFlare 1s ease-out 6.7s both, bsFlareLoop 1.8s ease-in-out 7.7s infinite; }

@keyframes bsFade { from { opacity: 0; } to { opacity: 1; } }
/* 이동 거리·확대 배율은 .visual-wrap 의 --mv-* 변수(PC·TA 는 시안 좌표 x --bs-unit, MO 는 MO 시안 값) */
@keyframes bsEngUp { from { transform: translateY(var(--mv-eng)); } to { transform: none; } }
@keyframes bsDateUp { from { transform: translateY(var(--mv-date)) scale(var(--mv-date-scale)); } to { transform: none; } }
@keyframes bsMainUp {
	0% { transform: translateY(var(--mv-main-from)) scale(var(--mv-main-scale)); animation-timing-function: ease-out; }
	38.46% { transform: translateY(var(--mv-main)) scale(var(--mv-main-scale)); }
	58.97% { transform: translateY(var(--mv-main)) scale(var(--mv-main-scale)); animation-timing-function: ease-in-out; }
	100% { transform: none; }
}
@keyframes bsRise { from { opacity: 0; transform: translateY(var(--mv-rise)); } to { opacity: 1; transform: none; } }
/* 커서(0.7s 부터 2.6s 구간): 깜빡임 0.7 켜짐 → 0.95 꺼짐 → 1.1 켜짐(타이핑 중 유지) → 2.8 꺼짐 → 3.05 켜짐 → 3.3 꺼짐
   이동은 글자가 나오는 1.2 / 1.5 / 1.8 / 2.1 / 2.4s(--type-at)에 그 글자 오른쪽으로 */
@keyframes bsCaretBlink { 0% { opacity: 1; } 9.62% { opacity: 0; } 15.38% { opacity: 1; } 80.77% { opacity: 0; } 90.38% { opacity: 1; } 100% { opacity: 0; } }
@keyframes bsCaretMove {
	0% { transform: translateX(var(--x0)); }
	19.23% { transform: translateX(var(--x1)); }
	30.77% { transform: translateX(var(--x2)); }
	42.31% { transform: translateX(var(--x3)); }
	53.85% { transform: translateX(var(--x4)); }
	65.38%, 100% { transform: translateX(var(--x5)); }
}
/* 시작 위치 72px: 마스크의 투명 구간(0~1008px)이 이미지(1080px) 전체를 덮어 처음에는 빛이 전혀 보이지 않음 */
@keyframes bsPath { from { -webkit-mask-position: 0 72px; mask-position: 0 72px; } to { -webkit-mask-position: 0 -1236px; mask-position: 0 -1236px; } }
@keyframes bsPathFull { from, to { opacity: 1; } }
@keyframes bsPathDim { from { opacity: 1; } to { opacity: .65; } }
@keyframes bsPathLoop { 0%, 100% { opacity: .65; } 50% { opacity: .85; } }
@keyframes bsPulse { from { opacity: 0; } to { opacity: .4; } }
@keyframes bsPulseLoop { 0%, 100% { opacity: .4; } 50% { opacity: .3; } }
@keyframes bsBloom { 0% { opacity: 0; transform: scale(.8); } 52.63% { opacity: .4; transform: none; } 100% { opacity: .3; transform: none; } }
@keyframes bsFlare { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
@keyframes bsFlareLoop { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }

/* ---------- 탭(스크롤 시 상단 고정) - Figma tab 105:1847 ----------
   고정 GNB(.gnb-inner.is-fixed, MO 는 항상 고정) 위를 덮도록 GNB(.gnb)와 같은 z-index 100 사용(문서 순서상 뒤라 GNB 위에 그려짐)
   전체메뉴 열림(.gnb 101)·딤(.popup-bg 101)·레이어 팝업은 탭보다 위에 뜸. 100 보다 올리면 전체메뉴·딤 위로 탭이 올라오니 주의 */
.brand-story-page .tab-wrap { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--bs-line); background: linear-gradient(180deg, #02254f 0%, #0b1533 100%); }
/* 탭 위쪽 빛 번짐(Figma fx-tab-glow): 탭 위에 걸친 흰 타원 블러를 탭 영역 안쪽만 보이게 자름(clip-path) → 비주얼(설산) 쪽으로는 번지지 않음 */
.brand-story-page .tab-wrap::before { content: ""; position: absolute; left: 50%; top: -115.5px; width: 1347px; height: 129px; margin-left: -673.5px; border-radius: 50%; background: rgba(255, 255, 255, .9); filter: blur(26px); mix-blend-mode: overlay; clip-path: inset(115.5px -80px -60.5px -80px); pointer-events: none; }
/* 화면 오른쪽 아래 top 버튼(.scroll-fab-wrap, 공통 z-index 20)이 고정된 탭에 가려지지 않게 이 페이지에서만 탭과 같은 100 으로 올림(문서 순서상 뒤라 탭 위에 그려짐). 전체메뉴·딤(101)보다는 아래 */
.fab-wrap .scroll-fab-wrap { z-index: 100; }
.brand-story-page .tab-list { display: flex; max-width: 1028px; height: 74px; margin: 0 auto; }
.brand-story-page .tab-list li { position: relative; flex: 1 1 0%; min-width: 0; }
.brand-story-page .tab-list li + li { border-left: 1px solid var(--bs-line); }
.brand-story-page .tab-list a { position: relative; display: flex; align-items: center; justify-content: center; height: 100%; color: #fff; font-size: 18px; font-weight: 600; line-height: 26px; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; transition: color .2s ease; }
.brand-story-page .tab-num { margin-right: .45em; }
.brand-story-page .tab-list a.is-active { background: var(--bs-key); color: #070532; font-weight: 700; }
.brand-story-page .tab-list a:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
/* 말풍선(커피 쿠폰 100명, 색 --badge-bg): 평소에는 탭 위(꼬리 아래), 탭이 화면 맨 위에 고정된 동안(.is-stuck, script.js)은 탭 아래(꼬리 위) */
.brand-story-page .tab-badge { --badge-bg: #28a6ff; position: absolute; left: 50%; top: -20px; padding: 4px 12px; border-radius: 999px; background: var(--badge-bg); color: #0b1a3a; font-size: 14px; font-weight: 600; line-height: 20px; letter-spacing: -.01em; white-space: nowrap; transform: translateX(-50%); }
.brand-story-page .tab-badge::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -5px; border: solid transparent; border-width: 6px 5px 0; border-top-color: var(--badge-bg); }
.brand-story-page .tab-wrap.is-stuck .tab-badge { top: auto; bottom: -20px; }
.brand-story-page .tab-wrap.is-stuck .tab-badge::after { top: auto; bottom: 100%; border-width: 0 5px 6px; border-top-color: transparent; border-bottom-color: var(--badge-bg); }

/* ---------- 공통 섹션 ---------- */
.brand-story-page .event-section { padding: 80px 0; text-align: center; }
.brand-story-page .event-section > .event-inner { display: flex; flex-direction: column; align-items: center; gap: 48px; }
.brand-story-page .cont01, .brand-story-page .cont03 { background: var(--bs-bg); }
.brand-story-page .cont02 { background: var(--bs-navy); }
.brand-story-page .sec-head { display: flex; flex-direction: column; align-items: center; gap: 16px; }
/* 제목 알약: 테두리도 글자와 같은 그라데이션(흰색 -> 하늘색)
   실제 border 2겹으로 그린다: ::before 하늘색 선 + ::after 흰색 선(오른쪽으로 갈수록 마스크로 옅어짐) -> 겹치면 흰색에서 하늘색으로 변함
   모양을 겹쳐 안쪽을 뚫는 방식(mask xor, 배경 2겹)은 둥근 끝에서 선이 옅어져 끊겨 보이므로 쓰지 않는다. 테두리 두께 1px 는 padding 에 포함 */
.brand-story-page .sec-tit { position: relative; display: flex; padding: 7px 21px; border-radius: 999px; font-weight: 400; }
.brand-story-page .sec-tit::before,
.brand-story-page .sec-tit::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--bs-sky); border-radius: inherit; pointer-events: none; }
.brand-story-page .sec-tit::after { border-color: #fff; -webkit-mask-image: linear-gradient(110deg, #000 2%, transparent 110%); mask-image: linear-gradient(110deg, #000 2%, transparent 110%); }
.brand-story-page .sec-eng { display: block; margin-right: -4px; background: linear-gradient(110deg, #fff 2%, var(--bs-sky) 110%); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 20px; font-weight: 600; line-height: 28px; letter-spacing: 4px; white-space: nowrap; }
.brand-story-page .sec-lead { color: #fff; font-size: 32px; font-weight: 700; line-height: 42px; letter-spacing: -.02em; }
.brand-story-page .sec-sub { color: var(--bs-gray100); font-size: 18px; line-height: 26px; letter-spacing: -.02em; }
.brand-story-page .slogan-text { color: #fff; font-size: 72px; font-weight: 800; line-height: 84px; white-space: nowrap; }

/* ---------- 테두리 빛(.glow-box): 테두리를 따라 시계 방향으로 도는 빛 꼬리 (D-day 박스, 응모하기 버튼) - Figma fx-border-glow, 3초에 한 바퀴 ----------
   script.js(initGlow)가 박스 안에 .glow-line 을 만들어 넣는다. Figma 와 같은 구조:
   - 빛 점(.glow-dot): 가운데가 밝은 원형 그라데이션 점. 머리에서 꼬리로 갈수록 작고 옅어진다(크기·진하기는 JS 가 점마다 --s, --a 로 넣음)
   - 점들이 테두리선(offset-path, JS 가 --glow-path 로 넣음)을 따라 같은 속도로 돌고, 점마다 출발 시각만 다르다(animation-delay, JS) -> 꼬리 길이 약 200px
   - 링 마스크(--glow-ring, JS): 테두리 안쪽 두께만큼의 링 모양으로 점들을 잘라 테두리에 붙은 빛으로 보이게 한다
   - 층 2개: 은은한 층(.glow-soft, 링 4px, 블러 2px)과 선명한 층(.glow-sharp, 링 1.5px). 블러는 마스크로 자른 뒤에 적용해야 하므로 마스크(.glow-ring)는 안쪽 요소에 둔다
   - 은은한 층의 블러는 박스 바깥으로 2~4px 번진다. 시안에서 버튼은 그대로 번지고, D-day 박스는 프레임이 안쪽을 잘라(overflow-clip) 번지지 않으며 테두리선 위로도 덮이지 않는다
     -> .glow-box 는 overflow 를 자르지 않고, D-day 박스(.dday-box)만 overflow: hidden
   --glow-border: 박스 테두리 두께(빛이 테두리 바깥선까지 덮도록 그만큼 바깥으로 넓힘)
   빛 색(점 하나의 그라데이션: 중심 --glow-core -> 중간 --glow-mid -> 가장자리 투명): 버튼은 연한 얼음색, D-day 박스는 하늘색(시안이 박스마다 다름). 머리 쪽 점 3개는 중심이 흰색 */
.brand-story-page .glow-box { --glow-border: 0px; --glow-core: #d9f2ff; --glow-mid: rgba(191, 235, 255, .95); --glow-end: rgba(191, 235, 255, 0); position: relative; }
.brand-story-page .glow-line { position: absolute; inset: calc(var(--glow-border) * -1); pointer-events: none; }
.brand-story-page .glow-soft, .brand-story-page .glow-sharp, .brand-story-page .glow-ring { position: absolute; inset: 0; }
.brand-story-page .glow-soft { filter: blur(2px); }
.brand-story-page .glow-ring { -webkit-mask-image: var(--glow-ring); mask-image: var(--glow-ring); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.brand-story-page .glow-dot { position: absolute; left: 0; top: 0; width: var(--s); height: var(--s); border-radius: 50%; background: radial-gradient(closest-side, var(--c, var(--glow-core)) 0%, var(--glow-mid) 50%, var(--glow-end) 100%); opacity: var(--a); offset-path: var(--glow-path); offset-rotate: 0deg; animation: bsGlowRun var(--glow-lap, 3s) linear infinite; }
.brand-story-page .glow-dot.is-white { --c: #fff; }
@keyframes bsGlowRun { from { offset-distance: 0%; } to { offset-distance: 100%; } }
/* 화면 밖에 있는 동안은 멈춘다(script.js 가 .is-glow-off 를 붙임) */
.brand-story-page .glow-box.is-glow-off .glow-dot { animation-play-state: paused; }
/* offset-path 를 지원하지 않는 브라우저는 빛을 그리지 않는다(테두리·버튼은 그대로) */
@supports not (offset-path: path("M0 0")) {
	.brand-story-page .glow-line { display: none; }
}

/* ---------- 탭1 새 슬로건 - Figma #01 58:266 ---------- */
.brand-story-page .dday-box { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 680px; max-width: 100%; padding: 40px 60px; border: 1px solid #253c92; border-radius: 16px; background: linear-gradient(180deg, #0a3c7d 0%, #0b1533 100%); box-sizing: border-box; overflow: hidden; --glow-border: 1px; --glow-core: #9ed9ff; --glow-mid: rgba(97, 191, 255, .9); --glow-end: rgba(97, 191, 255, 0); }
/* 점 무늬: 가운데는 옅고 가장자리로 갈수록 진하게 */
.brand-story-page .dday-dots { position: absolute; inset: 0; background: radial-gradient(circle, #b1deff .8px, transparent 1.3px) 0 0 / 12px 12px; opacity: .18; -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(0, 0, 0, .12) 0%, rgba(0, 0, 0, .35) 55%, #000 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(0, 0, 0, .12) 0%, rgba(0, 0, 0, .35) 55%, #000 100%); pointer-events: none; }
.brand-story-page .dday-label { position: relative; color: #fff; font-size: 24px; font-weight: 700; line-height: 32px; letter-spacing: -.02em; }
.brand-story-page .dday-count { position: relative; display: flex; flex-direction: column; align-items: center; }
.brand-story-page .dday-num { background: var(--bs-key); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 84px; font-weight: 800; line-height: 96px; letter-spacing: -.02em; }
.brand-story-page .dday-time { color: #8fa2c7; font-size: 48px; line-height: 56px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.brand-story-page .timeline { width: 560px; max-width: 100%; text-align: left; }
.brand-story-page .timeline-item { display: flex; gap: 24px; }
.brand-story-page .tl-marker { display: flex; flex: none; flex-direction: column; align-items: center; gap: 8px; padding-top: 8px; }
.brand-story-page .tl-dot { flex: none; width: 16px; height: 16px; border: 1.5px solid #999; border-radius: 50%; box-sizing: border-box; }
.brand-story-page .is-active .tl-dot { border-color: var(--bs-sky); background: var(--bs-sky); }
.brand-story-page .tl-line { flex: 1 1 0%; width: 0; border-left: 1px dashed #555; }
.brand-story-page .tl-content { display: flex; flex: 1 1 0%; align-items: flex-start; gap: 20px; min-width: 0; padding-bottom: 60px; }
.brand-story-page .timeline-item:last-child .tl-content { padding-bottom: 0; }
.brand-story-page .tl-row { display: flex; flex: none; align-items: center; gap: 12px; width: 210px; }
.brand-story-page .tl-date { color: #fff; font-size: 28px; font-weight: 700; line-height: 38px; letter-spacing: -.02em; white-space: nowrap; }
.brand-story-page .tl-badge { display: flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--bs-sky); color: #0b1533; font-size: 12px; font-weight: 700; line-height: 18px; letter-spacing: -.01em; white-space: nowrap; }
.brand-story-page .tl-text { display: flex; flex: 1 1 0%; flex-direction: column; gap: 8px; min-width: 0; }
.brand-story-page .tl-tit { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 24px; font-weight: 700; line-height: 32px; letter-spacing: -.02em; }
.brand-story-page .tl-lock { flex: none; }
.brand-story-page .tl-desc { color: var(--bs-gray100); font-size: 16px; line-height: 24px; letter-spacing: -.01em; }
.brand-story-page .is-lock .tl-date, .brand-story-page .is-lock .tl-tit { color: #999; }
.brand-story-page .is-lock .tl-badge { background: rgba(240, 240, 240, .5); color: #1c1c1c; }
.brand-story-page .is-lock .tl-desc { color: #777; }

/* ---------- 탭2 힌트 카드 - Figma #02 59:269 (PC 3장 나열, TA·MO 는 Swiper) ---------- */
.brand-story-page .hint-swiper { width: 1200px; max-width: 100%; }
.brand-story-page .hint-list { display: flex; gap: 24px; }
.brand-story-page .hint-item { flex: 1 1 0%; min-width: 0; }
.brand-story-page .hint-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; height: 100%; padding: 48px 32px 48px 48px; border-radius: 16px; background: #fff; color: #333; text-align: left; box-sizing: border-box; overflow: hidden; }
.brand-story-page .hint-badge { padding: 6px 16px; border-radius: 999px; background: #dde8ff; color: #3472f8; font-size: 14px; font-weight: 600; line-height: 20px; letter-spacing: -.01em; white-space: nowrap; }
.brand-story-page .hint-title { margin-top: 32px; font-size: 32px; font-weight: 700; line-height: 42px; letter-spacing: -.02em; }
.brand-story-page .hint-title em { color: var(--bs-blue); font-style: normal; }
.brand-story-page .hint-desc { margin-top: 24px; color: #555; font-size: 16px; line-height: 24px; letter-spacing: -.01em; }
.brand-story-page .hint-ask { min-height: 150px; margin-top: 16px; font-size: 24px; font-weight: 700; line-height: 32px; letter-spacing: -.02em; }
/* 질문 첫 줄 형광펜 */
.brand-story-page .ask-mark { background: linear-gradient(180deg, transparent 19px, #dde8ff 19px, #dde8ff 31px, transparent 31px); }
.brand-story-page .hint-img { position: absolute; right: 32px; bottom: 48px; width: 120px; height: 120px; object-fit: contain; }
.brand-story-page .hint-second .hint-img { right: 31px; bottom: 46px; width: 137px; height: 137px; }
.brand-story-page .hint-third .hint-img { right: 44px; bottom: 42px; width: 137px; height: 137px; }
.brand-story-page .hint-dots { display: none; }

/* ---------- 탭3 이벤트 참여 - Figma #03 59:841 ---------- */
.brand-story-page .quiz-box { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.brand-story-page .quiz-text { color: #fff; font-size: 72px; font-weight: 800; line-height: 84px; white-space: nowrap; }
.brand-story-page .quiz-line { display: block; }
.brand-story-page .quiz-line em { color: var(--bs-sky); font-style: normal; }
/* 빈칸 커서: 0.5초 간격으로 깜빡이며 3초마다 첫째 줄 ↔ 둘째 줄 (6초 주기) */
.brand-story-page .quiz-blank { position: relative; }
.brand-story-page .quiz-blank::before { content: ""; position: absolute; left: .04em; top: .21em; width: .083em; height: .625em; background: #fff; opacity: 0; animation: bsQuizCaret 6s step-end infinite; }
.brand-story-page .quiz-line + .quiz-line .quiz-blank::before { animation-delay: 3s; }
@keyframes bsQuizCaret { 0% { opacity: 1; } 8.333% { opacity: 0; } 16.667% { opacity: 1; } 25% { opacity: 0; } 33.333% { opacity: 1; } 41.667%, 100% { opacity: 0; } }
.brand-story-page .btn-submit { display: block; width: 500px; max-width: 100%; height: 61px; margin: 0; padding: 0; border: 0; border-radius: 8px; background: var(--bs-key); color: #0b1533; font-family: inherit; font-size: 18px; font-weight: 700; line-height: 26px; letter-spacing: -.02em; cursor: pointer; }
.brand-story-page .btn-submit:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* ---------- 이벤트 안내 - Figma 59:852 ---------- */
.brand-story-page .event-info { padding: 48px 100px; background: var(--bs-deep); color: #fff; }
.brand-story-page .info-row { display: flex; align-items: flex-start; gap: 60px; width: 768px; max-width: 100%; margin: 0 auto; }
.brand-story-page .info-tit { flex: none; font-size: 18px; font-weight: 600; line-height: 26px; letter-spacing: -.02em; white-space: nowrap; }
.brand-story-page .info-body { flex: 1 1 0%; min-width: 0; font-size: 14px; line-height: 20px; letter-spacing: -.01em; }
.brand-story-page .info-list > li { position: relative; padding-left: 21px; }
.brand-story-page .info-list > li::before { content: ""; position: absolute; left: 8px; top: 8px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.brand-story-page .info-note { margin-top: 20px; }
.brand-story-page .info-note strong { font-weight: 700; }
.brand-story-page .note-list { counter-reset: bsNote; }
.brand-story-page .note-list li { position: relative; padding-left: 1.3em; counter-increment: bsNote; }
.brand-story-page .note-list li::before { content: counter(bsNote) ")"; position: absolute; left: 0; top: 0; }

/* ---------- TA (768~1199) - Figma 394:1229: 비주얼은 PC 의 0.7배, 힌트는 스와이프 ---------- */
@media (max-width: 1199px) {
	.brand-story-page .visual-wrap { --bs-scale: .7; --bs-unit: .7px; height: 756px; }
	.brand-story-page .tab-wrap::before { width: 768px; margin-left: -384px; }
	.brand-story-page .tab-list { max-width: none; }
	.brand-story-page .slogan-text { font-size: 56px; line-height: 64px; }
	/* 힌트: Swiper(스와이프) + 인디케이터, 처음·마지막에서 순환하지 않음 */
	.brand-story-page .cont02 > .event-inner { align-items: stretch; }
	.brand-story-page .cont02 > .event-inner { gap: 24px; }
	.brand-story-page .cont02 .sec-head { margin-bottom: 24px; }
	/* 넘치는 카드를 자르지 않아 좌우 여백 밖(화면 끝)까지 이어져 보인다. 가로 넘침은 .brand-story-page 의 overflow-x: clip 이 막는다 */
	.brand-story-page .hint-swiper { width: auto; overflow: visible; }
	.brand-story-page .hint-list { gap: 0; }
	/* 카드 간격(16px)은 Swiper 의 spaceBetween 이 넣는다(script.js). 여기서 margin 을 또 주면 간격이 두 번 계산됨 */
	.brand-story-page .hint-item { flex: 0 0 auto; width: 352px; height: auto; box-sizing: border-box; }
	.brand-story-page .hint-dots { display: flex; align-items: center; justify-content: center; gap: 6px; }
	.brand-story-page .hint-dot { width: 8px; height: 8px; border-radius: 100px; background: var(--bs-gray100); transition: width .2s ease, background-color .2s ease; }
	.brand-story-page .hint-dot.is-active { width: 28px; background: #519ed9; }
	.brand-story-page .btn-submit { border-radius: 6px; }
	.brand-story-page .event-info { padding: 48px 24px; }
	.brand-story-page .info-row { gap: 24px; width: auto; }
}

/* ---------- MO (767 이하) - Figma 394:15913 ---------- */
@media (max-width: 767px) {
	/* MO 하단 내비(.bottom-nav, 공통 z-index 11)가 탭과 말풍선(z-index 100)에 가려지지 않게 이 페이지에서만 100 으로 올림(문서 순서상 뒤라 탭 위에 그려짐) */
	.bottom-nav { z-index: 100; }
	.brand-story-page .event-inner { padding: 0 16px; }
	/* 비주얼: 스테이지 0.42배를 아래에 붙이고 위쪽 하늘은 배경색으로 연결. 글자 크기는 시안 값 직접 지정, 모션 이동 거리는 --bs-unit */
	/* --mv-*: MO 모션 시안(394:30772) 값. 처음 글자가 화면 폭을 넘지 않도록 확대 배율이 PC 보다 작음(날짜 1.1배, 메인 카피 1.03배) */
	.brand-story-page .visual-wrap { --bs-scale: .42; --bs-unit: .57px; --mv-eng: 42.2px; --mv-date: 53px; --mv-date-scale: 1.1; --mv-main-from: 100.2px; --mv-main: 69.8px; --mv-main-scale: 1.03; --mv-rise: 27.4px; height: 624px; background: #000a1c; }
	.brand-story-page .visual-fade { display: block; position: absolute; left: 0; right: 0; top: 130px; height: 130px; background: linear-gradient(180deg, #000a1c 0%, rgba(0, 10, 28, 0) 100%); }
	.brand-story-page .tab-wrap::before { top: -26px; width: 523px; height: 50px; margin-left: -261.5px; clip-path: inset(26px -80px -32px -80px); }
	.brand-story-page .visual-copy { padding-top: 74px; }
	.brand-story-page .visual-tit { gap: 16px; }
	.brand-story-page .tit-eng { font-size: 14px; line-height: 20px; }
	.brand-story-page .tit-date { font-size: 90px; }
	.brand-story-page .visual-main { margin-top: 16px; font-size: 20px; }
	.brand-story-page .visual-sub { gap: 8px; margin-top: 25px; font-size: 16px; line-height: 22px; }
	.brand-story-page .tab-list { height: 56px; }
	.brand-story-page .tab-list a { font-size: 14px; line-height: 22px; }
	.brand-story-page .tab-badge { top: -19px; padding: 3px 8px; font-size: 13px; line-height: 18px; letter-spacing: 0; }
	.brand-story-page .tab-badge::after { margin-left: -4px; border-width: 5px 4px 0; }
	.brand-story-page .tab-wrap.is-stuck .tab-badge { bottom: -19px; }
	.brand-story-page .tab-wrap.is-stuck .tab-badge::after { border-width: 0 4px 5px; }
	.brand-story-page .event-section { padding: 40px 0; }
	.brand-story-page .event-section > .event-inner { gap: 20px; }
	.brand-story-page .sec-head { gap: 12px; }
	.brand-story-page .cont01 .sec-head { gap: 16px; }
	.brand-story-page .sec-tit { padding: 7px 17px; }
	.brand-story-page .sec-eng { margin-right: -1.3px; font-size: 13px; line-height: 18px; letter-spacing: 1.3px; }
	.brand-story-page .sec-lead { font-size: 24px; line-height: 32px; }
	.brand-story-page .sec-sub { font-size: 14px; line-height: 20px; letter-spacing: -.01em; }
	.brand-story-page .slogan-text { font-size: 42px; line-height: 50px; }
	.brand-story-page .dday-box { gap: 8px; width: 100%; padding: 20px 16px; }
	.brand-story-page .dday-label { font-size: 18px; line-height: 26px; }
	.brand-story-page .dday-num { font-size: 56px; line-height: 64px; }
	.brand-story-page .dday-time { font-size: 24px; line-height: 32px; }
	.brand-story-page .timeline { width: 272px; }
	.brand-story-page .timeline-item { gap: 16px; }
	.brand-story-page .tl-content { flex-direction: column; gap: 8px; min-height: 124px; padding-bottom: 24px; box-sizing: border-box; }
	.brand-story-page .timeline-item:last-child .tl-content { min-height: 0; }
	.brand-story-page .tl-row { width: auto; }
	.brand-story-page .tl-text { flex: none; width: 100%; }
	.brand-story-page .tl-date { font-size: 20px; line-height: 28px; }
	.brand-story-page .tl-tit { font-size: 18px; line-height: 26px; }
	.brand-story-page .tl-lock { width: 20px; height: 20px; }
	.brand-story-page .tl-desc { font-size: 14px; line-height: 20px; }
	.brand-story-page .cont02 > .event-inner { gap: 20px; }
	.brand-story-page .cont02 .sec-head { margin-bottom: 0; }
	.brand-story-page .hint-item { width: 304px; }
	.brand-story-page .hint-card { padding: 24px; }
	.brand-story-page .hint-badge { font-size: 13px; line-height: 18px; letter-spacing: 0; }
	.brand-story-page .hint-title { margin-top: 20px; font-size: 24px; line-height: 32px; }
	.brand-story-page .hint-desc { margin-top: 16px; font-size: 14px; line-height: 20px; }
	.brand-story-page .hint-ask { min-height: 110px; margin-top: 12px; font-size: 18px; line-height: 26px; }
	.brand-story-page .ask-mark { background: linear-gradient(180deg, transparent 15px, #dde8ff 15px, #dde8ff 25px, transparent 25px); }
	.brand-story-page .hint-img { right: 24px; bottom: 36px; width: 90px; height: 90px; }
	.brand-story-page .hint-second .hint-img { right: 23px; bottom: 35px; width: 103px; height: 103px; }
	.brand-story-page .hint-third .hint-img { right: 33px; bottom: 32px; width: 103px; height: 103px; }
	.brand-story-page .hint-dot { width: 6px; height: 6px; }
	.brand-story-page .hint-dot.is-active { width: 16px; }
	.brand-story-page .quiz-text { font-size: 42px; line-height: 50px; }
	.brand-story-page .btn-submit { width: 100%; height: 54px; font-size: 16px; line-height: 24px; }
	.brand-story-page .event-info { padding: 40px 16px; }
	.brand-story-page .info-row { flex-direction: column; gap: 12px; }
	.brand-story-page .info-tit { font-size: 14px; line-height: 20px; letter-spacing: -.01em; }
	.brand-story-page .info-body { flex: none; width: 100%; font-size: 13px; line-height: 18px; }
	.brand-story-page .info-list > li::before { top: 7px; }
	.brand-story-page .info-note { margin-top: 18px; }
}

/* 모션 줄이기 설정: 반복 모션 제거 (상단 비주얼은 index.asp 에서 .is-wait 를 붙이지 않아 최종 화면 고정) */
@media (prefers-reduced-motion: reduce) {
	.brand-story-page .tab-list a, .brand-story-page .hint-dot { transition: none; }
	.brand-story-page .glow-line { display: none; }
	.brand-story-page .quiz-blank::before { animation: none; }
}
