/* ═══════════════════════════════════════════════════════════
   実写画像の威力 · 실사 이미지의 위력
   디자인 토큰 + 공통 + 섹션 스타일
   ═══════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'SicYubi-PenGyosho';
  src: url('../assets/fonts/SicYubi-PenGyosho.woff2') format('woff2'),
       url('../assets/fonts/SicYubi-PenGyosho.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* 한국어 행서 — 송암 이형식. 로컬 설치 의존(배포 시 폴백으로 깨짐) 해결용 웹폰트.
   스택의 한글명/ASCII 별칭 둘 다로 선언해 NFC 불일치와 무관하게 매칭되게 한다. */
@font-face {
  font-family: '송암 이형식';
  src: url('../assets/fonts/SongamIhyeongsik-Regular.woff2') format('woff2'),
       url('../assets/fonts/SongamIhyeongsik-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SongamYiHyeongSik';
  src: url('../assets/fonts/SongamIhyeongsik-Regular.woff2') format('woff2'),
       url('../assets/fonts/SongamIhyeongsik-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: #111; overflow-x: hidden; }
body {
  background: #111; color: #fff;
  font-family: 'Pretendard', sans-serif;
  margin: 0;
  overflow-x: hidden;

  /* 시맨틱 별칭 → type.css 시스템 토큰 단일 출처 참조 (값 동일) */
  --c-meta:  var(--c-600);
  --c-sub:   var(--c-200);
  --c-body:  var(--c-300);
  --c-cap:   var(--c-400);
  --c-paper: var(--c-100);
  --c-orng:  var(--accent-warm);

  --pad-x: 200px;
  --gutter: 51px;
  --col-w: 473px;
}

/* 행서 디스플레이 폰트 SicYubi-PenGyosho (한·일 공통) */
.display {
  font-family: '송암 이형식', 'Songam YiHyeongSik', 'SongamYiHyeongSik', 'Songam-YiHyeongSik', 'SicYubi-PenGyosho', 'Yuji Mai', 'Klee One', 'Shippori Mincho', serif;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--c-paper);
  white-space: nowrap;
}
.display-100 {
  font-size: var(--t-title-size); line-height: var(--t-title-lh);
  position: absolute; left: var(--pad-x); top: 276px;
}
/* 한국어 보조 표기 같은 SicYubi-PenGyosho 행서로 통일 */
.display-kr {
  font-family: '송암 이형식', 'Songam YiHyeongSik', 'SongamYiHyeongSik', 'Songam-YiHyeongSik', 'SicYubi-PenGyosho', 'Yuji Mai', serif;
  font-size: 38px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--c-meta);
  margin-left: 32px;
  vertical-align: baseline;
  text-transform: none;
}

.page {
  width: 1920px;
  background: #111;
}

/* Topnav styles live in shared /nav.css (master = futura) */

.sec {
  position: relative;
  width: 1920px;
  background: #111;
  overflow: hidden;
}
.sec .bleed {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; pointer-events: none;
}

/* 섹션 헤드 */
.sec-head {
  position: absolute; top: 180px; left: 0;
  width: 1920px; padding: 0 var(--pad-x);
  display: flex; justify-content: space-between; align-items: baseline;
  pointer-events: none;
}
.meta-l, .meta-r {
  font-size: var(--t-meta-size); line-height: var(--t-meta-lh);
  letter-spacing: var(--t-meta-spacing);
  text-transform: uppercase;
}
.meta-l { font-weight: var(--t-meta-weight-l); color: var(--c-meta); }
.meta-r { font-weight: var(--t-meta-weight-r); color: var(--c-sub); }

/* 공통 텍스트 */
.lead-r {
  position: absolute; left: 1080px; top: 304px;
  font-weight: var(--t-lead-weight);
  font-size: var(--t-lead-size);
  line-height: var(--t-lead-lh);
  color: var(--c-sub);
  white-space: nowrap;
}
.body-r {
  position: absolute;
  font-weight: var(--t-body-weight);
  font-size: var(--t-body-size);
  line-height: var(--t-body-lh);
  color: var(--c-body);
}
.body-r.body-wide { left: var(--pad-x); width: 997px; color: #fff; }

/* ── 본문 속 서체명 강조: 본문 서체 그대로, 무게만 올려 도드라지게 ── */
.body-r .key-font {
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
.sub-label {
  position: absolute; left: var(--pad-x);
  font-weight: var(--t-sublabel-weight);
  font-size: var(--t-sublabel-size);
  letter-spacing: var(--t-sublabel-spacing);
  text-transform: uppercase; color: var(--c-orng);
}
.cap-label {
  font-weight: 700; font-size: 13px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--c-orng);
  margin-top: 18px;
}
.cap-body {
  font-weight: 300; font-size: 15px; line-height: 25.5px;
  color: var(--c-cap);
  margin-top: 8px;
}

/* ──── 0 · Cover ──── */
.sec-cover {
  height: 1080px;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  gap: 40px;
}
.sec-cover .cover-jp {
  font-family: '송암 이형식', 'Songam YiHyeongSik', 'SongamYiHyeongSik', 'Songam-YiHyeongSik', 'SicYubi-PenGyosho', 'Yuji Mai', 'Klee One', 'Shippori Mincho', serif;
  font-weight: 400;
  font-size: 156px; line-height: 1;
  color: #fff;
  letter-spacing: 0.13em;
  white-space: nowrap;
}
.sec-cover .cover-ko {
  font-family: 'Pretendard', sans-serif;
  font-weight: 300; font-size: 40px;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ──── 1 · 序章 Prologue ──── */
.sec-jo {
  height: 708px;
  background: #000;
}

/* ──── 2 · 写真 ──── */
.sec-sha {
  padding: 180px var(--pad-x) 180px;
  min-height: 1268px;
}
.sec-sha .sub-label { top: 695px; }
.sec-sha .row-3 {
  position: absolute; left: var(--pad-x); top: 746px;
  display: grid; grid-template-columns: repeat(3, var(--col-w)); gap: var(--gutter);
}
.sec-sha .row-3 figure { width: var(--col-w); }
.sec-sha .row-3 img {
  width: 100%; height: 318.438px; object-fit: cover; display: block;
}

/* ──── 3 · 文字 ──── */
.sec-moji {
  background: #000;
  padding: 180px var(--pad-x) 180px;
  min-height: 1480px;
}
.sec-moji .display-huge {
  position: absolute; left: 50%; top: 700px;
  transform: translateX(-50%);
  text-align: center;
  font-family: '송암 이형식', 'Songam YiHyeongSik', 'SongamYiHyeongSik', 'Songam-YiHyeongSik', 'SicYubi-PenGyosho', 'Yuji Mai', 'Klee One', 'Shippori Mincho', serif;
  font-weight: 400;
  font-size: 124px; line-height: 1.65; color: #fff;
  white-space: nowrap;
}
.sec-moji .display-huge p { line-height: 1.65; }
.sec-moji .caption-kr {
  position: absolute; left: 50%; top: 1100px;
  transform: translateX(-50%);
  width: 1200px; text-align: center;
  font-family: '송암 이형식', 'Songam YiHyeongSik', 'SongamYiHyeongSik', 'Songam-YiHyeongSik', 'SicYubi-PenGyosho', 'Yuji Mai', 'Klee One', 'Shippori Mincho', serif;
  font-weight: 400; font-size: 60px; line-height: 1.4; color: #fff;
  white-space: nowrap;
}

/* ── 캘리그라피 손글씨 "써 내려가듯" 와이프 (clip-path 기반) ──
   글자가 하나씩 나타나는 게 아니라, 왼쪽에서 오른쪽으로
   붓끝이 지나가며 획이 드러나는 잉크 와이프. clip-path는 표준
   애니메이션 속성이라 마스크/커스텀속성 방식보다 안정적이다. */
.sec-moji .display-huge.hw-armed p,
.sec-moji .caption-kr.hw-armed {
  clip-path: inset(0 100% 0 0);   /* 시작: 오른쪽을 전부 잘라 가림 */
}
@keyframes hw-draw {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}
.sec-moji .display-huge.is-writing p {
  animation: hw-draw 2.3s cubic-bezier(.4,.5,.25,1) forwards;
}
.sec-moji .display-huge.is-writing p:nth-child(1) { animation-delay: .2s; }
.sec-moji .display-huge.is-writing p:nth-child(2) { animation-delay: 2.7s; }
.sec-moji .caption-kr.is-writing {
  animation: hw-draw 1.6s cubic-bezier(.4,.5,.25,1) 5.2s forwards;
}
@media (prefers-reduced-motion: reduce) {
  .sec-moji .display-huge.hw-armed p,
  .sec-moji .caption-kr.hw-armed { clip-path: none; }
  .sec-moji .display-huge.is-writing p,
  .sec-moji .caption-kr.is-writing { animation: none; }
}

/* ──── 4 · 装飾 ──── */
.sec-sou {
  padding: 180px var(--pad-x) 180px;
  min-height: 1268px;
}
.sec-sou .sub-label { top: 695px; }
.sec-sou .row-3 {
  position: absolute; left: var(--pad-x); top: 746px;
  display: grid; grid-template-columns: repeat(3, var(--col-w)); gap: var(--gutter);
}
.sec-sou .row-3 figure { width: var(--col-w); }
.sec-sou .row-3 .img-wrap {
  width: 100%; height: 318.438px; overflow: hidden; position: relative;
}
.sec-sou .row-3 img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.sec-sou .row-3 figure:nth-child(3) img {
  height: 144.6%; top: -44.6%; position: absolute; object-fit: cover;
}

/* ──── Process Video (full-bleed) ──── */
.sec-process {
  padding: 0;
  margin: 0;
  width: 1920px;
  min-height: 0;
  overflow: hidden;
  background: #000;
  position: relative;
}
.sec-process video {
  display: block;
  width: 100%;
  height: auto;
}
.sec-process .process-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,0)    0%,
    rgba(0,0,0,0)    72%,
    rgba(0,0,0,0.55) 90%,
    rgba(0,0,0,0.92) 100%);
  pointer-events: none;
}
.sec-process .process-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
  pointer-events: none;
}
.sec-process .process-display {
  font-family: '송암 이형식', 'Songam YiHyeongSik', 'SongamYiHyeongSik', 'Songam-YiHyeongSik', 'SicYubi-PenGyosho', 'Yuji Mai', 'Klee One', 'Shippori Mincho', serif;
  font-weight: 400;
  font-size: 72px;
  letter-spacing: 0.04em;
  line-height: 1;
  margin: 0 0 14px;
}
.sec-process .process-sub {
  font-family: '송암 이형식', 'Songam YiHyeongSik', 'SongamYiHyeongSik', 'Songam-YiHyeongSik', 'SicYubi-PenGyosho', 'Yuji Mai', serif;
  font-weight: 400;
  font-size: 44px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.92);
  margin: 0;
}

/* ──── 5 · 雰囲気 ──── */
.sec-fun {
  background: #000;
  padding: 180px var(--pad-x) 180px;
  min-height: 1568px;
}
.sec-fun .body-r { top: 450px; }
.sec-fun .row-3-tall {
  position: absolute; left: var(--pad-x); top: 694px;
  display: grid; grid-template-columns: repeat(3, 473.042px); gap: var(--gutter);
}
.sec-fun .row-3-tall .img-wrap {
  width: 473.042px; height: 669.113px; overflow: hidden;
}
.sec-fun .row-3-tall img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
/* 배경음 토글 버튼 — 포스터 아래 가운데 고정 */
.sec-fun .ambience-hint {
  position: absolute; left: 0; right: 0; top: 1432px;
  display: flex; justify-content: center;
}

/* ──── 6 · Full-bleed mockups ──── */
.sec-fullbleed {
  width: 1920px;
  padding: 0;
  background: #000;
  font-size: 0;
}
.sec-fullbleed .full-img {
  display: block;
  width: 1920px;
  height: auto;
}
.sec-fullbleed .full-img-wrap {
  position: relative;
  display: block;
  line-height: 0;
}
.sec-fullbleed .fade-bottom::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 360px;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0.95) 100%);
  pointer-events: none;
}
