/* =========================================================
   7차 첫 화면 — 모션그래픽 강화 (h6.css 위에 덧씀)
   인트로 · 돌아가는 원형 글자 · 스크롤 장면 문구 · 디자인별 추가 요소
   ========================================================= */

/* ---------- 인트로: 엠블럼이 그려지고 금빛 선이 뻗은 뒤 막이 위아래로 열림 ---------- */
.h7-intro { position: fixed; inset: 0; z-index: 300; cursor: pointer; }
.h7-intro .in-top, .h7-intro .in-bot { position: absolute; left: 0; right: 0; height: 50.5%; background: #030806; }
.h7-intro .in-top { top: 0; }
.h7-intro .in-bot { bottom: 0; }
.h7-intro .in-mark { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 22px; }
.in-em { position: relative; display: block; }
.in-emblem { display: block; width: clamp(76px, 7vw, 112px); height: auto; overflow: visible; filter: drop-shadow(0 6px 28px rgba(221, 187, 102, .32)); }
.in-line { position: absolute; left: 100%; top: 50%; width: 50vw; height: 1px; margin-top: -.5px; transform-origin: left center; background: linear-gradient(90deg, #e9cd88, rgba(233, 205, 136, 0)); }
.in-word { display: flex; gap: .16em; overflow: hidden; font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 2vw, 30px); letter-spacing: .2em; color: #f3ecdc; padding: .1em 0; }
.in-word i { font-style: normal; display: inline-block; }
.in-since { font-family: var(--serif); font-size: 12.5px; letter-spacing: .32em; color: #e9cd88; }

/* ---------- 글자 모션 ---------- */
.h6-title .ch, .st-l .ch { display: inline-block; will-change: transform; }
.h6-title .slot .w .c { display: inline-block; }

/* ---------- 돌아가는 원형 글자(스크롤 안내, 누르면 아래로) ---------- */
.h7-badge { position: absolute; z-index: 11; left: 50%; bottom: calc(var(--cbar-h) + 18px); width: 104px; height: 104px; margin-left: -52px; padding: 0; border: 0; background: none; cursor: pointer; }
.h7-badge svg { display: block; width: 100%; height: 100%; overflow: visible; }
.h7-badge text { font-family: var(--sans); font-size: 9.6px; font-weight: 700; letter-spacing: .2em; fill: rgba(255, 255, 255, .72); }
.h7-badge .arw { fill: none; stroke: #e9cd88; stroke-width: 1.4; }
.h7-badge .dotc { fill: none; stroke: rgba(233, 205, 136, .35); }
.pre .h7-badge, .pre .lz-dial { visibility: hidden; }

/* ---------- 스크롤 장면: '2005 → 2025' + 1안 카피 ---------- */
.h7-story { position: absolute; inset: 0; z-index: 9; display: grid; place-content: center; justify-items: center; text-align: center; padding: 0 var(--pad); pointer-events: none; visibility: hidden; }
.st-yr { display: grid; justify-items: center; gap: 16px; margin-bottom: clamp(14px, 2.6vh, 30px); }
.st-yr b { font-family: var(--serif); font-weight: 600; font-size: clamp(66px, 8.4vw, 150px); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff4d2 0%, #e9c97c 52%, #b8873a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 30px rgba(0, 0, 0, .35)); }
.st-bar { position: relative; width: clamp(160px, 17vw, 280px); height: 1px; background: rgba(255, 255, 255, .25); }
.st-bar i { position: absolute; inset: 0; background: #e9cd88; transform-origin: left center; }
.st-l { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 4.4vw, 80px); line-height: 1.26; letter-spacing: -.025em; color: #fff; word-break: keep-all; text-shadow: 0 4px 40px rgba(0, 0, 0, .4); }
.st-l > span { display: inline-block; overflow: hidden; padding: .06em .02em .12em; }
.st-l em { font-style: normal; color: #ebcd84; }
/* A안: 숫자는 3D(보석 뒤에서 굴절), 문구는 아래쪽 */
.m7-gem .st-yr { display: none; }
.m7-gem .h7-story { place-content: end center; padding-bottom: calc(var(--cbar-h) + 9vh); }

/* ---------- A. 에메랄드: 오른쪽 라벨 ---------- */
.m7-gem .gm-ui { bottom: calc(var(--cbar-h) + clamp(50px, 8vh, 98px)); }

/* ---------- B. 렌즈: 장면 다이얼 · 플레어 · 어둡게 ---------- */
.lz-dial { position: absolute; inset: 0; z-index: 8; pointer-events: none; opacity: 0; }
.lz-dial .dl { position: absolute; left: 0; top: 0; display: flex; align-items: baseline; gap: 6px; font-family: var(--serif); font-size: 15.5px; font-weight: 600; letter-spacing: .04em; color: rgba(255, 255, 255, .62); white-space: nowrap; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); transition: color .6s var(--ease); }
.lz-dial .dl em { font-style: normal; font-size: 12.5px; color: rgba(233, 205, 136, .8); }
.lz-dial .dl.on { color: #fff; }
.lz-dial .dl.on em { color: #e9cd88; }
.lz-dial .dl.on::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #e9cd88; align-self: center; box-shadow: 0 0 10px rgba(233, 205, 136, .8); }
.lz-dim { position: absolute; inset: 0; z-index: 6; background: #030907; opacity: 0; pointer-events: none; }
.lz-flare { position: absolute; z-index: 7; height: 4px; margin-top: -2px; pointer-events: none; opacity: 0; transform-origin: 50% 50%; background: radial-gradient(ellipse at center, rgba(255, 248, 228, 1) 0%, rgba(255, 216, 150, .6) 20%, rgba(255, 200, 120, 0) 70%); box-shadow: 0 0 26px 8px rgba(255, 214, 150, .28); mix-blend-mode: screen; }
.h6--lens .lz-media { transform-origin: 50% 50%; }
.m7-lens .h7-badge { display: none; }

/* ---------- C. 필름: 블라인드처럼 도는 카드(앞면 장면 · 뒷면 로비 조각) ---------- */
.h6--film .fm-p { overflow: visible; perspective: 1500px; }
.fm-card { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.fm-front, .fm-back { position: absolute; inset: 0; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.fm-back { transform: rotateY(180deg); background: #0b1210 url(../img/scene-lobby.jpg) no-repeat; }
.fm-back::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3, 9, 7, .72), rgba(3, 9, 7, .38)); }
.h6--film .fm-panels { transform-origin: 50% 50%; }

/* ---------- D. 실크: 커튼 뒤 로비 · 엠블럼 둘레 글자 링 ---------- */
.sk-behind { position: absolute; inset: 0; background: #0b1210 url(../img/scene-lobby.jpg) center / cover no-repeat; transform-origin: 50% 55%; }
.sk-dim { position: absolute; inset: 0; background: #030907; opacity: 0; }
.h6--silk .sk-gl { z-index: 1; }
.sk-em { position: relative; display: grid; place-items: center; }
.sk-ringsvg { position: absolute; left: 50%; top: 50%; width: 210%; height: 210%; margin: -105% 0 0 -105%; overflow: visible; pointer-events: none; }
.sk-ringsvg path { fill: none; }
.sk-ringsvg text { font-family: var(--serif); font-size: 10.5px; font-weight: 600; letter-spacing: .18em; fill: rgba(233, 205, 136, .85); }
.m7-silk .sk-mark { gap: clamp(46px, 5vw, 80px); margin-bottom: clamp(40px, 6vh, 64px); }

@media (max-width: 980px) {
  .h7-badge { width: 84px; height: 84px; margin-left: -42px; bottom: calc(var(--cbar-h) + 10px); display: none; }
  .st-yr b { font-size: clamp(54px, 17vw, 80px); }
  .st-l { font-size: clamp(25px, 7.2vw, 34px); }
  .m7-gem .h7-story { padding-bottom: calc(var(--cbar-h) + 7vh); }
  .lz-dial { display: none; }
  .lz-dial .dl em { font-size: 10px; }
  .fm-back { transform: rotateX(180deg); }
  .m7-silk .sk-mark { gap: 30px; }
}
