:root {
  --paper: #f6f3ee;
  --paper-2: #ece7df;
  --ink: #141312;
  --ink-2: #5d5851;
  --ink-3: #9a938a;
  --night: #0c0b0a;
  --en: "Montserrat", sans-serif;
  --ko: "Noto Serif KR", serif;
  --body: "Pretendard Variable", Pretendard, -apple-system, sans-serif;
  --gut: clamp(20px, 5vw, 72px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--body); font-weight: 300; line-height: 1.9; word-break: keep-all; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }

/* 머리말 */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; padding: 22px var(--gut); color: #fff; transition: background .5s, color .5s, padding .5s; }
.hdr .mark { width: 168px; }
.hdr .mark img { height: auto; object-fit: contain; }
.hdr .mark .d { display: none; }
.hdr nav { display: flex; gap: clamp(18px, 3vw, 44px); font-family: var(--en); font-size: 11px; letter-spacing: .32em; text-transform: uppercase; }
.hdr nav a { opacity: .85; transition: opacity .3s; }
.hdr nav a:hover { opacity: 1; }
.hdr.solid { background: rgba(246, 243, 238, .92); backdrop-filter: blur(14px); color: var(--ink); padding-block: 14px; }
.hdr.solid .mark .l { display: none; }
.hdr.solid .mark .d { display: block; }

/* 첫 화면 */
.hero { position: relative; height: 100svh; min-height: 560px; background: var(--night); color: #fff; overflow: hidden; }
.hero video, .hero .still { position: absolute; inset: 0; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,.42) 45%, rgba(0,0,0,.62)); }
.hero .in { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 var(--gut); }
.hero .logo { width: min(620px, 78vw); }
.hero .logo img { height: auto; object-fit: contain; }
.hero h1 { font-family: var(--ko); font-weight: 300; font-size: clamp(24px, 3.4vw, 48px); letter-spacing: .08em; }
.hero .en { font-family: var(--en); font-size: clamp(10px, 1.1vw, 14px); letter-spacing: .42em; text-transform: uppercase; margin-top: 24px; opacity: .85; }
.hero .cue { position: absolute; left: 50%; bottom: 30px; z-index: 2; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--en); font-size: 10px; letter-spacing: .42em; text-transform: uppercase; opacity: .8; }
.hero .cue span { padding-left: .42em; }
.hero .cue svg { animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(7px); opacity: 1; } }

/* 폰 메뉴 */
.burger { display: none; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; color: inherit; cursor: pointer; position: relative; }
.burger i { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .4s, top .4s; }
.burger i:nth-child(1) { top: 18px; }
.burger i:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] i:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { top: 22px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 25; background: var(--night); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 34px; font-family: var(--en); font-weight: 300; font-size: 22px; letter-spacing: .3em; text-transform: uppercase; overflow: hidden; }
.menu video, .menu img { position: absolute; inset: 0; }
.menu::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .5); }
.menu a { position: relative; z-index: 2; padding-left: .3em; }
.menu[hidden] { display: none; }
html.menu-open { overflow: hidden; }
html.menu-open .hdr { color: #fff; background: none; backdrop-filter: none; }
html.menu-open .hdr .mark .l { display: block; }
html.menu-open .hdr .mark .d { display: none; }

/* 공통 */
.eyebrow { font-family: var(--en); font-size: 12px; letter-spacing: .42em; text-transform: uppercase; color: var(--ink-3); }
.ttl { font-family: var(--ko); font-weight: 300; font-size: clamp(24px, 3.2vw, 44px); line-height: 1.5; letter-spacing: .01em; }
.txt p { font-size: clamp(15px, 1.3vw, 19px); color: var(--ink-2); }
.txt p + p { margin-top: 1.5em; }
.rv { opacity: 0; transform: translateY(26px); transition: opacity 1.2s cubic-bezier(.2,.6,.2,1), transform 1.2s cubic-bezier(.2,.6,.2,1); }
.rv.on { opacity: 1; transform: none; }

/* 여는 문장 */
.lead { padding: clamp(110px, 18vh, 220px) var(--gut); text-align: center; }
.lead .ttl { max-width: 20em; margin: 26px auto 0; }

/* 이야기 */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 120px); padding: 0 var(--gut) clamp(110px, 16vh, 200px); align-items: start; }
.story .media { position: sticky; top: 96px; aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper-2); }
.story .txt { padding-top: clamp(0px, 6vh, 80px); max-width: 34em; }
.story .txt .ttl { margin: 22px 0 36px; }
.story.flip .media { order: 2; }

/* 이름 */
.name { background: var(--night); color: #fff; padding: clamp(110px, 18vh, 220px) var(--gut); text-align: center; position: relative; overflow: hidden; }
.name video, .name .bg { position: absolute; inset: 0; opacity: .34; }
.name .in { position: relative; z-index: 1; }
.name .pair { width: min(720px, 82vw); margin: 0 auto; }
.name .pair img { height: auto; object-fit: contain; }
.name .txt { max-width: 36em; margin: clamp(36px, 6vh, 64px) auto 0; }
.name .txt p { color: rgba(255,255,255,.82); }

/* 넓은 영상 띠 */
.band { position: relative; height: min(92svh, 62vw); min-height: 420px; background: var(--night); overflow: hidden; }
.band video, .band img { position: absolute; inset: 0; }

/* 촬영 영상 */
.film { padding: clamp(40px, 8vh, 100px) var(--gut) clamp(60px, 10vh, 120px); }
.film .head { text-align: center; margin-bottom: clamp(32px, 5vh, 56px); }
.film figure { max-width: 1280px; margin: 0 auto; }
.film figure + figure { margin-top: clamp(48px, 8vh, 96px); }
.film .player { position: relative; aspect-ratio: 16 / 9; background: var(--night); overflow: hidden; }
.film .play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border: 0; border-radius: 50%; background: rgba(246, 243, 238, .92); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform .3s, background .3s; }
.film .play svg { margin-left: 3px; }
.film .play:hover { transform: scale(1.06); background: #fff; }
.film .play[hidden] { display: none; }
.film figcaption { display: flex; align-items: baseline; gap: 14px; margin-top: 16px; }
.film figcaption .nm { font-family: var(--en); font-weight: 300; font-size: clamp(16px, 1.6vw, 22px); letter-spacing: .2em; }
.film figcaption .at { font-family: var(--ko); font-size: 13px; letter-spacing: .2em; color: var(--ink-3); }

/* 작품 */
.works { padding: clamp(40px, 8vh, 100px) 0 0; }
.works > .head { padding: 0 var(--gut); text-align: center; margin-bottom: clamp(32px, 5vh, 56px); }
.works > .head .ttl { margin-top: 22px; }
.work { margin-bottom: clamp(90px, 14vh, 170px); }
.work .cover { position: relative; height: min(88svh, 58vw); min-height: 400px; background: var(--night); color: #fff; overflow: hidden; }
.work .cover video, .work .cover img { position: absolute; inset: 0; }
.work .cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.12) 30%, rgba(0,0,0,.66)); }
.work .cover .cap { position: absolute; left: var(--gut); bottom: clamp(28px, 5vh, 56px); z-index: 1; }
.work .cover .no { font-family: var(--en); font-size: 11px; letter-spacing: .42em; opacity: .8; }
.work .cover .nm { font-family: var(--en); font-weight: 300; font-size: clamp(28px, 4.6vw, 68px); letter-spacing: .16em; line-height: 1.2; margin-top: 10px; }
.work .cover .at { font-family: var(--ko); font-size: 14px; letter-spacing: .2em; margin-top: 8px; opacity: .85; }
.track { display: flex; gap: clamp(10px, 1.4vw, 20px); padding: clamp(10px, 1.4vw, 20px) var(--gut) 0; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; }
.track::-webkit-scrollbar { display: none; }
.track figure { flex: none; height: clamp(260px, 44vw, 560px); scroll-snap-align: start; overflow: hidden; background: var(--paper-2); }
.track figure.w { aspect-ratio: 4 / 3; }
.track figure.t { aspect-ratio: 3 / 4; }
.track figure img, .track figure video { transition: transform 1.6s cubic-bezier(.2,.6,.2,1); }
.track figure:hover img { transform: scale(1.04); }

.trackwrap { position: relative; }
.arr { position: absolute; top: 50%; z-index: 2; width: 52px; height: 52px; margin-top: -16px; border: 0; border-radius: 50%; background: rgba(246, 243, 238, .92); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .3s, transform .3s; }
.arr:hover { background: #fff; transform: scale(1.06); }
.arr.prev { left: clamp(12px, 2vw, 32px); }
.arr.next { right: clamp(12px, 2vw, 32px); }
.arr[hidden] { display: none; }
@media (hover: none) { .arr { display: none; } }

/* 부케 */
.bouquet { background: var(--paper-2); padding: clamp(110px, 16vh, 200px) var(--gut); }
.bouquet .head { text-align: center; margin-bottom: clamp(32px, 5vh, 56px); }
.bouquet .head .ttl { margin-top: 22px; }
.bq { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.bq figure { overflow: hidden; background: var(--paper); }
.bq figure:nth-child(1) { grid-column: 1 / 6; aspect-ratio: 4 / 5; }
.bq figure:nth-child(2) { grid-column: 6 / 10; aspect-ratio: 4 / 5; margin-top: 18%; }
.bq figure:nth-child(3) { grid-column: 10 / 13; aspect-ratio: 3 / 4; }
.bq figure:nth-child(4) { grid-column: 2 / 5; aspect-ratio: 3 / 4; }
.bq figure:nth-child(5) { grid-column: 5 / 9; aspect-ratio: 4 / 5; margin-top: -10%; }
.bq figure:nth-child(6) { grid-column: 9 / 13; aspect-ratio: 4 / 5; margin-top: -34%; }

/* 인스타그램 */
.insta { padding: clamp(110px, 16vh, 200px) var(--gut); text-align: center; }
.insta .id { font-family: var(--en); font-weight: 300; font-size: clamp(20px, 2.6vw, 34px); letter-spacing: .14em; margin-top: 18px; display: inline-block; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(6px, .8vw, 12px); margin-top: clamp(40px, 7vh, 72px); }
.grid a { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.grid a img, .grid a video { transition: transform 1.4s cubic-bezier(.2,.6,.2,1), opacity .6s; }
.grid a:hover img, .grid a:hover video { transform: scale(1.05); opacity: .86; }

/* 맺음 — 영상 위에는 영어 한 줄과 한 문장만, 나머지는 아래 밝은 바탕에 */
.fin { position: relative; background: var(--night); color: #fff; text-align: center; height: min(86svh, 56vw); min-height: 420px; display: flex; align-items: center; justify-content: center; padding: 0 var(--gut); overflow: hidden; }
.fin video, .fin .bg { position: absolute; inset: 0; opacity: .38; }
.fin .in { position: relative; z-index: 1; }
.fin .en { font-family: var(--en); font-weight: 300; font-size: clamp(22px, 3.4vw, 50px); letter-spacing: .12em; line-height: 1.4; }
.fin .sub { font-size: clamp(14px, 1.15vw, 17px); color: rgba(255,255,255,.78); margin-top: 28px; letter-spacing: .04em; }
.outro { text-align: center; padding: clamp(110px, 18vh, 220px) var(--gut); }
.outro .mark { width: min(300px, 60vw); margin: 0 auto; }
.outro .mark img { height: auto; object-fit: contain; }
.outro .tri { font-family: var(--ko); font-weight: 300; font-size: clamp(20px, 2.4vw, 34px); line-height: 2; margin-top: clamp(48px, 8vh, 88px); }
.outro .last { font-size: clamp(14px, 1.15vw, 17px); color: var(--ink-2); margin-top: clamp(40px, 7vh, 72px); }

.ftr { background: var(--night); color: rgba(255,255,255,.5); padding: 64px var(--gut) 40px; display: flex; flex-direction: column; align-items: center; gap: 36px; }
.ftr .mark { width: 210px; }
.ftr .mark img { height: auto; object-fit: contain; }
.ftr .by { font-family: var(--body); font-weight: 400; font-size: 12px; letter-spacing: 0; }

@media (max-width: 860px) {
  .hdr { padding-block: 12px; }
  .hdr.solid { padding-block: 8px; }
  .hdr .mark { width: 150px; }
  .hdr nav { display: none; }
  .burger { display: block; }
  .story { grid-template-columns: 1fr; }
  .story .media { position: static; aspect-ratio: 4 / 5; }
  .story.flip .media { order: 0; }
  .band { height: 78svh; }
  .work .cover { height: 72svh; }
  .bq { grid-template-columns: repeat(2, 1fr); }
  .bq figure:nth-child(n) { grid-column: auto; margin-top: 0; aspect-ratio: 4 / 5; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  /* 폰에서는 구획 사이 여백을 줄인다 */
  .work { margin-bottom: 36px; }
  .works { padding-top: 24px; }
  .works > .head { margin-bottom: 24px; }
  .lead { padding-block: 72px; }
  .story { padding-bottom: 72px; gap: 28px; }
  .name, .bouquet, .insta, .outro { padding-block: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .hero .cue svg { animation: none; }
}

br.m { display: none; }
@media (max-width: 860px) { br.m { display: inline; } }
