/* HEAR:Y — 주 레퍼런스 POEZA에서 잰 값 (review/page-reference.md) */
:root {
  --H: 100vh;                /* JS가 처음 열 때 px로 고정, 가로폭이 바뀔 때만 다시 잼(카카오톡 화면 튐 방지) */
  --text: #201f1f;
  --sub: #595955;
  --sub2: #767573;
  --card: #ebe9e5;
  --en: 'NeueHaasDisplay-Roman', 'Helvetica Neue', Arial, sans-serif;
  --ko-brand: 'MICEMyungjo', serif;
  --ko-body: 'SUIT', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--ko-body);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
[data-en] { font-family: var(--en); }

/* 고정 머리글: 가운데 로고만 (POEZA pt-8) */
.hdr { position: fixed; top: 0; left: 0; width: 100%; z-index: 10; pointer-events: none; }
.hdr-logo { position: absolute; left: 50%; top: 0; display: block; pointer-events: auto; transform: translateX(-50%); }
.hdr-logo img { width: 100%; height: auto; clip-path: inset(0 100% 0 0); }
.is-loaded .hdr-logo img { animation: logo-write 0.75s cubic-bezier(0.77, 0, 0.175, 1) 0.25s forwards; }
@keyframes logo-write { to { clip-path: inset(0 0 0 0); } }
.hdr-links { position: absolute; top: 27px; right: 6px; display: flex; align-items: center; pointer-events: auto; }
/* 오른쪽 위 INSTAGRAM·SHOP: 바닥글 버튼과 같은 글자, 마우스 올리면 색 반전 */
.hdr-shop {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 6px; color: var(--text); text-decoration: none; pointer-events: auto;
  font-size: 11px; line-height: 16.5px; letter-spacing: 1.2px; text-transform: uppercase;
  opacity: 0; transition: opacity 0.6s ease 0.9s, background-color 0.3s, color 0.3s;
}
.is-loaded .hdr-shop { opacity: 1; }
.hdr-shop:hover, .hdr-shop:focus-visible { background: var(--text); color: #fff; transition: opacity 0.6s ease, background-color 0.3s, color 0.3s; }

/* 첫 화면: PC 300vh, 휴대폰 200vh, 고정 무대 */
.hero { position: relative; height: calc(var(--H) * 2); opacity: 0; transition: opacity 0.4s ease; }
.is-loaded .hero { opacity: 1; }
.hero-sticky { position: sticky; top: 0; width: 100%; height: var(--H); overflow: hidden; }
.hero-center { height: var(--H); display: flex; justify-content: center; align-items: center; position: relative; z-index: 1; }
.title {
  margin: 0;
  color: var(--text);
  font-weight: 400;
  font-size: 55px;
  line-height: 80%;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  white-space: nowrap;
}
.tl { display: flex; align-items: center; height: 70px; will-change: transform, opacity, filter; transform: translateY(100%); opacity: 0; filter: blur(22px); }
.tl-slot { transform: none; opacity: 1; filter: none; }
.video-slot { display: block; aspect-ratio: 16 / 9; height: 100%; width: auto; margin: auto; }
.md-only { display: none; }
.hero-video { position: absolute; top: 0; left: 0; width: 100%; height: var(--H); object-fit: cover; pointer-events: none; z-index: 2; }

/* 글+사진 섹션 (POEZA TextImage) */
.text-image {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 16px;
  width: 100%; max-width: 1440px; padding: 56px 16px;
}
.ti-desc { display: flex; flex-direction: column; justify-content: center; gap: 12px; width: 100%; max-width: 572px; margin: auto; }
.ti-label {
  margin: 0; text-align: center; text-transform: uppercase;
  font-size: 11px; line-height: 16.5px; letter-spacing: 1.2px; color: var(--sub);
}
.ti-body {
  margin: 0; text-align: left; color: var(--sub);
  font-family: var(--ko-brand); font-size: 15px; line-height: 1.8; letter-spacing: 0;
  text-wrap: pretty;
}
.ti-body .sn { display: block; text-wrap: balance; }
.ti-media { width: 100%; }
.ti-frame { width: 100%; aspect-ratio: 572 / 720; overflow: clip; }
.ti-frame img { width: 100%; height: 100%; object-fit: cover; }
/* 3. 소재 세 단어 (첫 화면 제목 움직임을 그대로, 줄마다 소재 영상 칸) */
.texture { position: relative; width: 100%; height: calc(var(--H) * 1.5); }
.tx-stage { position: sticky; top: 0; height: var(--H); display: flex; justify-content: center; align-items: center; padding: 0 16px; overflow: hidden; }
.tx-title { width: 100%; max-width: 1240px; }
.tx { display: flex; align-items: center; gap: 0.12em; height: 1.05em; will-change: transform, opacity, filter; transform: translateY(100%); opacity: 0; filter: blur(22px); }
.tx2 { justify-content: center; }
.tx3 { justify-content: flex-end; }
.tx-v { display: block; flex: none; height: 0.8em; aspect-ratio: 16 / 9; overflow: hidden; background: var(--card); }
.tx-v video { width: 100%; height: 100%; object-fit: cover; }

/* 4. 같은 블랙, 다른 소재 (세로 사진 두 장 + 한 줄) */
.pair { width: 100%; max-width: 1440px; margin: 0 auto; padding: 56px 16px; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.pair-imgs { display: flex; justify-content: center; gap: 8px; width: 100%; }
.pair-frame { flex: 1 1 0; aspect-ratio: 572 / 720; overflow: clip; }
.pair-frame img { width: 100%; height: 100%; object-fit: cover; }
.pair-cap { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pair-body { margin: 0; text-align: center; color: var(--sub); font-family: var(--ko-brand); font-size: 15px; line-height: 1.8; }

/* 완성도: 큰 사진 한 장 + 풀어 쓴 글 */
.craft { width: 100%; max-width: 1440px; margin: 0 auto; padding: 8px 16px 96px; }
.craft-frame { width: 100%; aspect-ratio: 4 / 5; overflow: clip; }
.craft-frame picture, .craft-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.craft-text { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.craft-label { text-align: left; color: var(--text); font-size: 13px; line-height: 19px; }
.craft-copy { display: flex; flex-direction: column; gap: 18px; }
.craft-lead { margin: 0; color: var(--text); font-family: var(--ko-brand); font-size: 22px; line-height: 1.5; letter-spacing: -0.01em; }
.craft-body { margin: 0; color: var(--sub); font-family: var(--ko-brand); font-size: 15px; line-height: 1.9; }
.craft-body .sn { display: block; text-wrap: balance; }
.craft-body .sn + .sn { margin-top: 0; }

/* 어떤 날의 옷: 고정 무대, 스크롤에 따라 단어와 사진이 하나씩 바뀜 */
.days { position: relative; width: 100%; height: calc(var(--H) * 2); }
.days-stage { position: sticky; top: 0; height: var(--H); max-width: 1440px; margin: 0 auto; padding: 76px 16px 24px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.days-intro { margin: 0; color: var(--sub); font-family: var(--ko-brand); font-size: 15px; line-height: 1.7; }
.days-list { list-style: none; margin: 0; padding: 0; }
.days-list li { display: flex; align-items: baseline; gap: 12px; opacity: 0.18; transition: opacity 0.5s ease; }
.days-list li.on { opacity: 1; }
.dw { color: var(--text); font-family: var(--en); font-size: 44px; line-height: 1.02; letter-spacing: 1.2px; text-transform: uppercase; }
.dk { color: var(--sub); font-family: var(--ko-body); font-size: 14px; }
.days-frame { position: relative; height: calc(var(--H) - 380px); aspect-ratio: 4 / 5; max-width: 100%; margin: 0 auto; overflow: clip; background: var(--card); }
.di { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; }
.di.on { opacity: 1; }
.di img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* 고르는 사람: 큰 사진 + 큰 명조 제목 + 작은 디테일 사진(잡지 펼침면처럼) */
.styled { width: 100%; max-width: 1440px; margin: 0 auto; padding: 56px 16px 96px; display: flex; flex-direction: column; gap: 32px; }
.st-main { aspect-ratio: 572 / 720; overflow: clip; }
.st-main img, .st-detail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.st-text { display: flex; flex-direction: column; gap: 32px; }
.st-copy { display: flex; flex-direction: column; gap: 16px; }
.st-label { text-align: left; color: var(--text); }
.st-head { margin: 0; color: var(--text); font-family: var(--ko-brand); font-weight: 400; font-size: 36px; line-height: 1.28; letter-spacing: -0.02em; }
.st-body { margin: 0; color: var(--sub); font-family: var(--ko-brand); font-size: 15px; line-height: 1.85; }
.st-body .sn { display: block; text-wrap: balance; }
.st-detail { width: 56%; align-self: flex-end; aspect-ratio: 4 / 5; overflow: clip; }

/* 한마디: 화면 가득 사진 위에 큰 명조 한 문장 */
.quote { position: relative; width: 100%; height: var(--H); overflow: hidden; background: var(--card); }
.quote-bg { position: absolute; inset: 0; }
.quote-bg picture, .quote-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.quote-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(244, 241, 236, 0.92) 0%, rgba(244, 241, 236, 0.55) 22%, rgba(244, 241, 236, 0) 38%); }
.quote-text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; padding: 116px 20px 0; }
.quote-line { margin: 0; color: var(--text); font-family: var(--ko-brand); font-size: 24px; line-height: 1.5; letter-spacing: -0.01em; }
.quote-sign { margin: 0; color: var(--text); font-family: var(--en); font-size: 12px; line-height: 18px; letter-spacing: 1.4px; text-transform: uppercase; }

/* 5. 겹친 액자 화보 (PC 300vh, 휴대폰 200vh 고정 무대) */
.gallery { position: relative; width: 100%; height: calc(var(--H) * 2); }
.gallery-stage { position: sticky; top: 0; left: 0; width: 100%; height: var(--H); padding: 16px; }
.gw { position: absolute; top: 0; left: 50%; width: 100%; height: 100%; transform: translateX(-50%); display: flex; justify-content: center; align-items: center; }
.gi { overflow: clip; opacity: 0; transform: scale(0); will-change: transform, opacity; }
.gw:nth-child(1) .gi { width: calc(100% - 32px); height: calc(100% - 32px); }
.gw:nth-child(2) .gi { width: calc(100% - 64px); height: calc(100% - 64px); }
.gw:nth-child(3) .gi { width: calc(100% - 96px); height: calc(100% - 96px); }
.gw:nth-child(4) .gi { width: calc(100% - 128px); height: calc(100% - 128px); }
.gi picture, .gi img { display: block; width: 100%; height: 100%; }
.gi img { object-fit: cover; will-change: transform; }
/* 셋째 액자(손 디테일)는 위쪽을 맞춰, 마지막 장면 테두리에 손가락이 띠처럼 보이지 않게 */
.gw:nth-child(3) .gi img { object-position: center top; }
/* 마지막 사진은 위를 기준으로 커져서 얼굴(코·입)이 잘리지 않게 */
.gw:nth-child(4) .gi img { transform-origin: center top; }

/* 6. SHOP THE COLLECTION (POEZA STAY IN THE LOOP) */
.cta { width: 100%; height: var(--H); display: flex; justify-content: center; align-items: center; }
.cta-link { display: block; width: fit-content; color: var(--text); text-decoration: none; cursor: pointer; white-space: nowrap; }
.cl { display: block; will-change: transform, opacity, filter; transform: translateY(100%); opacity: 0; filter: blur(22px); }
.cl2 { padding-left: 1.49em; }
.cl + .cl { margin-top: 0.1em; } /* 마우스 올림 밑줄이 아래 줄 글자에 닿지 않게 */
.cl3 { display: flex; align-items: center; height: 56px; }
.cta-arrow { display: inline-flex; height: 100%; }
.cta-arrow svg { width: auto; height: 100%; transition: transform 0.5s cubic-bezier(0.45, 0, 0.55, 1); }
.cta-link:hover .cl, .cta-link:focus-visible .cl { text-decoration: underline; text-decoration-thickness: 0.04em; text-underline-offset: 0.06em; }
.cta-link:hover .cta-arrow svg, .cta-link:focus-visible .cta-arrow svg { transform: translateX(35%); }
.cta.on .cl { transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.6s cubic-bezier(0.77, 0, 0.175, 1), filter 0.6s cubic-bezier(0.77, 0, 0.175, 1); transform: none; opacity: 1; filter: none; }
.cta .cta-arrow { transform: translate(-50%, -12%); }
.cta.on .cta-arrow { transition: transform 0.9s cubic-bezier(0.455, 0.03, 0.515, 0.955) 0.4s; transform: none; }

/* 7. 바닥글 (POEZA Footer: 휴대폰 683px, PC 한 화면) */
.ftr { position: relative; width: 100%; height: 683px; overflow: hidden; }
.ftr-bg { position: absolute; inset: 0; opacity: 0; }
.ftr-bg picture, .ftr-bg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ftr-col { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; padding: 0 8px; width: 100%; }
.ftr-text { margin: 0; max-width: 376px; text-align: center; color: var(--text); font-family: var(--en); font-size: 13px; line-height: 20px; letter-spacing: 1.3px; text-transform: uppercase; }
.ftr-text, .ftr-btns { opacity: 0; transform: translateY(100%); filter: blur(5px); }
.ftr-btns { display: flex; gap: 8px; filter: none; }
.ftr-btn { display: inline-flex; align-items: center; gap: 8px; padding: 16px; color: var(--sub); text-decoration: none; font-size: 11px; line-height: 16.5px; letter-spacing: 1.2px; text-transform: uppercase; transition: background-color 0.3s, color 0.3s; }
.ftr-btn:hover, .ftr-btn:focus-visible { background: var(--text); color: #fff; }
.ftr.on .ftr-bg { transition: opacity 0.75s ease-out; opacity: 1; }
.ftr.on .ftr-text { transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1) 0.75s, opacity 0.6s cubic-bezier(0.77, 0, 0.175, 1) 0.75s, filter 0.6s cubic-bezier(0.77, 0, 0.175, 1) 0.75s; transform: none; opacity: 1; filter: none; }
.ftr.on .ftr-btns { transition: transform 0.75s cubic-bezier(0.33, 1, 0.68, 1) 1.35s, opacity 0.75s cubic-bezier(0.33, 1, 0.68, 1) 1.35s; transform: none; opacity: 1; }

/* 나타나기: 글은 아래에서 올라오며 흐림 5px→0, 사진은 25% 올라오며 나타남 (700ms inOutQuart) */
[data-rv] { opacity: 0; transform: translateY(100%); filter: blur(5px); }
[data-rv-img] { opacity: 0; transform: translateY(25%); }
.rv-in [data-rv], .rv-in [data-rv-img] {
  transition: opacity 0.7s cubic-bezier(0.77, 0, 0.175, 1), transform 0.7s cubic-bezier(0.77, 0, 0.175, 1), filter 0.7s cubic-bezier(0.77, 0, 0.175, 1);
  opacity: 1; transform: none; filter: none;
}

@media (min-width: 435px) {
  .title { font-size: 70px; }
}
@media (min-width: 768px) {
  .hero { height: calc(var(--H) * 3); }
  .md-only { display: inline; }
  .text-image { flex-direction: row-reverse; justify-content: space-between; padding: 128px 16px; }
  .ti-label { font-size: 12px; line-height: 18px; }
  .ti-media { width: auto; }
  .ti-frame { height: var(--H); max-height: 720px; width: auto; }
  /* 한글은 문장마다 줄을 끝내서 줄이 짧다. 덩어리를 레퍼런스 단락 자리 가운데에 둔다 */
  .ti-body { width: fit-content; margin: 0 auto; text-align: left; font-size: 17px; }
  .text-image.ti-normal { flex-direction: row; }
  .days { height: calc(var(--H) * 3); }
  .days-stage { flex-direction: row; align-items: center; justify-content: space-between; gap: 48px; padding: 0 100px; }
  .days-text { display: flex; flex-direction: column; gap: 28px; }
  .days-intro { font-size: 17px; }
  .dw { font-size: 88px; }
  .dk { font-size: 15px; }
  .days-frame { height: min(calc(var(--H) * 0.78), 720px); margin: 0; }
  .styled { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0 6%; align-items: stretch; padding: 128px 16px; }
  .st-main { aspect-ratio: auto; height: min(var(--H), 820px); }
  .st-text { justify-content: space-between; gap: 48px; padding-top: 48px; }
  .st-head { font-size: 64px; }
  .st-body { font-size: 17px; }
  .st-detail { width: 40%; }
  .quote-bg::after { background: linear-gradient(90deg, rgba(244, 241, 236, 0.92) 0%, rgba(244, 241, 236, 0.6) 30%, rgba(244, 241, 236, 0) 52%); }
  .quote-text { height: 100%; justify-content: center; padding: 0 0 0 8vw; gap: 24px; }
  .quote-line { font-size: 46px; line-height: 1.45; }
  .quote-sign { font-size: 13px; }
  .texture { height: calc(var(--H) * 2); }
  .pair { padding: 128px 16px; gap: 48px; }
  .pair-imgs { gap: 16px; }
  .pair-frame { flex: none; height: var(--H); max-height: 720px; width: auto; }
  .craft { padding: 128px 16px; }
  .craft-frame { aspect-ratio: auto; height: min(calc(var(--H) * 0.85), 792px); }
  .craft-text { display: grid; grid-template-columns: 1fr minmax(0, 600px); gap: 0 48px; margin-top: 64px; }
  .craft-label { padding-top: 12px; font-size: 15px; line-height: 22px; letter-spacing: 1.4px; }
  .craft-lead { font-size: 34px; }
  .craft-body { font-size: 17px; }
  .gallery { height: calc(var(--H) * 3); }
  .ftr { height: var(--H); }
  .ftr-col { bottom: 32px; gap: 96px; width: auto; }
  .ftr-text { font-size: 15px; line-height: 23px; letter-spacing: 1.4px; }
  .ftr-btn { font-size: 12px; line-height: 18px; }
  .hdr-links { right: 20px; gap: 8px; }
  .hdr-shop { padding: 8px 12px; }
  .hdr-shop { font-size: 12px; line-height: 18px; }
}
@media (min-width: 1440px) {
  .title { font-size: 150px; }
  .tl { height: 140px; }
  .gw:nth-child(1) .gi { width: calc(100% - 64px); height: calc(100% - 64px); }
  .gw:nth-child(2) .gi { width: calc(100% - 128px); height: calc(100% - 128px); }
  .gw:nth-child(3) .gi { width: calc(100% - 192px); height: calc(100% - 192px); }
  .gw:nth-child(4) .gi { width: calc(100% - 256px); height: calc(100% - 256px); }
  .cl3 { height: 146px; }
  .dw { font-size: 120px; }
  .st-head { font-size: 76px; }
}


.nw { white-space: nowrap; }
@media (max-width: 399px) {
  .hdr-links { right: 8px; }
  .hdr-shop { padding: 8px 4px; letter-spacing: 0.8px; }
}
