/* =========================================================
   6차 첫 화면 4가지 — 공통 틀 + A 에메랄드 크리스탈 · B 골드 링 렌즈 · C 시네마 필름 · D 에메랄드 실크
   (아래 섹션은 5차 그대로: v5.css)
   ========================================================= */
.h6 { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: #040c09; color: var(--white); isolation: isolate; }
.h6 canvas { display: block; }
.h6-copy { position: absolute; z-index: 10; left: var(--pad); bottom: calc(var(--cbar-h) + clamp(44px, 7.5vh, 92px)); max-width: min(1000px, 72vw); }
.h6-title { font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 4vw, 68px); line-height: 1.32; letter-spacing: -.025em; color: #fff; word-break: keep-all; text-shadow: 0 2px 28px rgba(0, 0, 0, .28); }
.h6-title .ln { display: block; overflow: hidden; padding: .04em 0 .12em; margin: -.04em 0 -.12em; }
.h6-title .ln > span { display: inline-block; }
.h6-title .br { font-weight: 400; opacity: .55; }
.h6-title .br:first-child { margin-right: .24em; }
.h6-title .br:last-child { margin-left: .24em; }
.h6-title .slot { position: relative; display: inline-block; vertical-align: bottom; height: 1.32em; overflow: hidden; }
.h6-title .slot .w { position: absolute; left: 0; top: 0; white-space: nowrap; }
.h6-title .slot .measure { visibility: hidden; position: absolute; left: -9999px; }
.h6-title .gm { font-style: normal; }
.h6 .gm--plate { background: var(--green); padding: 0 .16em .02em; border-radius: 3px; text-shadow: none; }
.h6 .gm--gold { background: linear-gradient(100deg, #e2bd6c 0%, #f7e3a6 26%, #fffbe8 42%, #f0d48c 58%, #d6ac58 100%); background-size: 240% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 2px 18px rgba(221, 187, 102, .25)); animation: gmSheen 6s linear infinite; }
@keyframes gmSheen { from { background-position: 130% 0; } to { background-position: -110% 0; } }
.h6-scroll { position: absolute; z-index: 10; left: 50%; bottom: calc(var(--cbar-h) + 22px); transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .3em; color: rgba(255, 255, 255, .55); }
.h6-scroll i { width: 1px; height: 38px; background: linear-gradient(rgba(255, 255, 255, .6), rgba(255, 255, 255, 0)); animation: scrollCue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollCue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.pre .h6-copy, .pre .h6 [class$="-ui"], .pre .lz-tag, .pre .sk-center, .pre .h6-scroll { visibility: hidden; }

/* ---------- A. 에메랄드 크리스탈 ---------- */
.h6--gem { background: #030b08; }
.gm-gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.gm-ui { position: absolute; z-index: 10; right: calc(var(--pad) + 76px); bottom: calc(var(--cbar-h) + clamp(50px, 8vh, 98px)); text-align: right; }
.gm-ui .no { font-family: var(--serif); font-size: 15px; color: rgba(255, 255, 255, .55); letter-spacing: .06em; }
.gm-ui .no b { color: #e9cd88; font-weight: 600; font-size: 22px; margin-right: 2px; }
.gm-ui .nm { margin-top: 10px; font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 1.6vw, 26px); letter-spacing: -.02em; }
.gm-ui .sb { margin-top: 4px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.gm-ui::before { content: ""; display: block; width: 46px; height: 1px; margin: 0 0 16px auto; background: linear-gradient(90deg, rgba(233, 205, 136, 0), #e9cd88); }

/* ---------- B. 골드 링 렌즈 ---------- */
.h6--lens { background: #050b09; }
.lz-media { position: absolute; inset: 0; overflow: hidden; }
.lz-media video, .lz-stills img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.lz-stills img { opacity: 0; }
.lz-veil { position: absolute; inset: 0; z-index: 3; background: rgba(5, 13, 10, .34); -webkit-backdrop-filter: blur(22px) saturate(1.15) brightness(.55); backdrop-filter: blur(22px) saturate(1.15) brightness(.55); }
.lz-veil::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 9, 7, .72) 0%, rgba(3, 9, 7, .25) 45%, rgba(3, 9, 7, 0) 70%), linear-gradient(0deg, rgba(3, 9, 7, .55), rgba(3, 9, 7, 0) 40%); }
.lz-glass { position: absolute; z-index: 4; border-radius: 50%; pointer-events: none; background: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 34%), radial-gradient(ellipse 70% 42% at 50% 92%, rgba(3, 9, 7, .78), rgba(3, 9, 7, 0) 100%), radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, .38) 100%); box-shadow: 0 0 0 1px rgba(255, 236, 190, .08), 0 30px 120px rgba(0, 0, 0, .55); }
.lz-gl { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; pointer-events: none; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .45)); }
.lz-tag { position: absolute; z-index: 9; display: grid; justify-items: center; gap: 3px; text-align: center; transform: translateX(-50%); padding: 14px 26px 0; text-shadow: 0 2px 14px rgba(0, 0, 0, .55); }
.lz-tag::before { content: ""; position: absolute; left: 50%; top: 0; width: 34px; height: 1px; margin-left: -17px; background: #e9cd88; }
.lz-tag em { font-style: normal; font-family: var(--serif); font-size: 14px; color: #e9cd88; letter-spacing: .04em; }
.lz-tag b { font-family: var(--serif); font-weight: 600; font-size: clamp(19px, 1.5vw, 24px); letter-spacing: -.02em; }
.lz-tag span { font-size: 13.5px; color: rgba(255, 255, 255, .72); }

/* ---------- C. 시네마 필름 ---------- */
.h6--film { background: #050a08; }
.fm-panels { position: absolute; inset: 0; display: flex; }
.fm-p { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; cursor: pointer; }
.fm-media { position: absolute; inset: 0; }
.fm-media img, .fm-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.fm-shade { position: absolute; inset: 0; background: rgba(4, 10, 8, .66); transition: background .9s var(--ease); }
.fm-p:not(.on) .fm-media img { filter: saturate(.55); }
.fm-media img { transition: filter .9s var(--ease); }
.fm-p.on .fm-shade { background: linear-gradient(0deg, rgba(4, 10, 8, .78) 0%, rgba(4, 10, 8, .1) 46%, rgba(4, 10, 8, .25) 100%); }
.fm-p:not(.on):hover .fm-shade { background: rgba(4, 10, 8, .38); }
.fm-line { position: absolute; top: 0; bottom: 0; right: 0; width: 1px; background: linear-gradient(rgba(233, 205, 136, 0), rgba(233, 205, 136, .55) 30%, rgba(233, 205, 136, .55) 70%, rgba(233, 205, 136, 0)); transform-origin: top; z-index: 3; }
.fm-p:last-child .fm-line { display: none; }
.fm-v { position: absolute; z-index: 3; top: calc(var(--gnb-h) + 56px); left: 50%; transform: translateX(-50%); writing-mode: vertical-rl; font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: .18em; white-space: nowrap; transition: opacity .6s var(--ease); }
.fm-v em { font-style: normal; display: block; margin-bottom: 14px; font-size: 14px; color: #e9cd88; letter-spacing: 0; text-combine-upright: all; }
.fm-p.on .fm-v { opacity: 0; }
.fm-cap { position: absolute; z-index: 3; right: clamp(24px, 2.6vw, 44px); top: calc(var(--gnb-h) + 40px); text-align: right; display: grid; justify-items: end; gap: 4px; text-shadow: 0 2px 14px rgba(0, 0, 0, .45); }
.fm-p:not(.on) .fm-cap { opacity: 0 !important; }
.fm-cap em { font-style: normal; font-family: var(--serif); font-size: 14px; color: #e9cd88; letter-spacing: .06em; }
.fm-cap b { font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 1.6vw, 26px); white-space: nowrap; }
.fm-cap span { font-size: 13.5px; color: rgba(255, 255, 255, .75); white-space: nowrap; }
.fm-video { opacity: 0; }
.fm-leak { position: absolute; z-index: 6; top: -20%; bottom: -20%; left: 20%; width: 50%; pointer-events: none; opacity: 0; background: radial-gradient(closest-side, rgba(255, 198, 120, .55), rgba(255, 170, 90, .15) 55%, rgba(255, 170, 90, 0)); mix-blend-mode: screen; filter: blur(30px); }
.fm-grain { position: absolute; inset: -50%; z-index: 7; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }
.h6--film .h6-copy { z-index: 10; }
.h6--film .h6-copy::before { content: ""; position: absolute; z-index: -1; left: -40vw; right: -30vw; top: -40%; bottom: -60%; background: radial-gradient(ellipse at 30% 60%, rgba(4, 10, 8, .55), rgba(4, 10, 8, 0) 65%); pointer-events: none; }

/* ---------- D. 에메랄드 실크 ---------- */
.h6--silk { background: #041009; }
.sk-gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.sk-center { position: absolute; z-index: 10; left: 0; right: 0; top: 50%; transform: translateY(-54%); display: grid; justify-items: center; text-align: center; padding: 0 var(--pad); }
.sk-mark { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); margin-bottom: clamp(26px, 4vh, 44px); }
.sk-emblem { width: clamp(84px, 7.6vw, 128px); height: auto; overflow: visible; filter: drop-shadow(0 6px 30px rgba(221, 187, 102, .28)); }
.sk-rule { width: clamp(60px, 9vw, 150px); height: 1px; background: linear-gradient(90deg, rgba(233, 205, 136, 0), rgba(233, 205, 136, .85)); }
.sk-rule:last-child { background: linear-gradient(90deg, rgba(233, 205, 136, .85), rgba(233, 205, 136, 0)); transform-origin: left; }
.sk-rule:first-child { transform-origin: right; }
.h6--silk .h6-copy { position: relative; left: auto; bottom: auto; max-width: none; }
.h6--silk .h6-title { font-size: clamp(34px, 3.7vw, 62px); text-align: center; }

@media (max-width: 980px) {
  .h6 { min-height: 560px; }
  .h6-copy { left: 20px; right: 20px; bottom: calc(var(--cbar-h) + 34px); max-width: none; }
  .h6-title { font-size: clamp(24px, 7vw, 32px); }
  .h6-scroll { display: none; }
  .gm-ui { right: auto; left: 20px; bottom: auto; top: calc(var(--gnb-h) + 18px); text-align: left; }
  .gm-ui::before { margin: 0 0 12px; background: linear-gradient(90deg, #e9cd88, rgba(233, 205, 136, 0)); }
  .gm-ui .nm { font-size: 18px; margin-top: 6px; }
  .gm-ui .sb { font-size: 12.5px; }
  .lz-tag { left: 0 !important; right: 0; transform: none; padding: 12px 0 0; }
  .lz-tag b { font-size: 18px; }
  .lz-veil::after { background: linear-gradient(0deg, rgba(3, 9, 7, .8), rgba(3, 9, 7, 0) 45%); }
  .fm-panels { flex-direction: column; top: var(--gnb-h); bottom: 36%; }
  .fm-line { top: auto; left: 0; right: 0; bottom: 0; width: auto; height: 1px; background: linear-gradient(90deg, rgba(233, 205, 136, 0), rgba(233, 205, 136, .5) 30%, rgba(233, 205, 136, .5) 70%, rgba(233, 205, 136, 0)); transform-origin: left; }
  .fm-v { writing-mode: horizontal-tb; top: 50%; left: 20px; transform: translateY(-50%); font-size: 16px; letter-spacing: .08em; display: flex; align-items: baseline; gap: 10px; }
  .fm-v em { margin: 0; font-size: 12px; }
  .fm-cap { right: 18px; top: auto; bottom: 16px; }
  .fm-cap b { font-size: 17px; }
  .fm-cap span { font-size: 12px; }
  .h6--film .h6-copy { bottom: calc(var(--cbar-h) + 30px); }
  .sk-center { transform: translateY(-58%); }
  .h6--silk .h6-title { font-size: clamp(24px, 6.8vw, 32px); }
}
