/* =========================================================================
   SOYOO BRIDAL — site.css
   구조: 1 기본 · 2 헤더 · 3 버튼 · 4 슬라이더 · 5 메인 · 6 디자이너 소개
         7 컬렉션·갤러리 · 8 룩 보기(라이트박스) · 9 부티크·지도 · 10 푸터 · 11 기타
   화면 기준: PC = 1201px 이상 / 모바일·태블릿 = 1200px 이하
   글자 크기: 디자이너 소개(6번)는 형님이 맞춘 값, 메인 슬라이드는 그 값에 맞춤,
             나머지는 THE ROW 기준(--fs = THE ROW 13px 에 해당, 굵기 400)
   ========================================================================= */

:root {
  --navy: #0e2449;
  --blue: #0098c7;     /* 독점 문구 */
  --taupe: #bdb9b2;    /* 모바일 버튼 */
  --sand: #cecac2;     /* 이미지 뒤 배경 */
  --line: #e5e2dd;
  /* 영문은 Inter, 한글은 Pretendard (Inter 에 한글이 없어 자동으로 Pretendard 로 표시) */
  --sans: 'Inter', 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --serif: var(--sans);  /* 소개글·독점 문구 (예전 명조 자리) */
  --header-h: 3.6rem;  /* PC 헤더 높이 (THE ROW 60px 수준) */
  --fs: .9rem;         /* 기본 작은 글자 (THE ROW 13px). PC 는 .75rem */
  --ls: .03em;         /* 기본 자간 (THE ROW 는 자간 없음) */
  /* 화살표 (THE ROW: 10×13px 가는 꺾쇠, 사진에서 15px) */
  --aw: .56rem; --ah: .72rem; --ag: .83rem; --ap: .8rem;
  --veil: rgba(255,255,255,.9);  /* 메뉴를 열었을 때 뒤를 가리는 흰 반투명 */
  --ease: cubic-bezier(.25, .1, .25, 1);
}

/* 1. 기본 ================================================================ */
@font-face { font-family: BonMyeongjo; font-weight: 400; font-display: swap;
  src: url(font/SourceHanSerifKR-Regular_subset.woff2) format('woff2'), url(font/SourceHanSerifKR-Regular_subset.woff) format('woff'); }
@font-face { font-family: BonMyeongjo; font-weight: 100 300; font-display: swap;
  src: url(font/SourceHanSerifKR-Light_subset.woff2) format('woff2'), url(font/SourceHanSerifKR-Light_subset.woff) format('woff'); }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--sans); font-weight: 300; letter-spacing: .2rem; text-transform: uppercase; color: #000; min-width: 300px;
  -webkit-font-smoothing: antialiased; animation: fade .6s; }
ul { list-style: none; }
a { color: var(--navy); text-decoration: none; }
button { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, iframe { display: block; max-width: 100%; }
img { height: auto; }
em, strong { font-style: normal; text-transform: none; }
:focus-visible { outline: 1px solid var(--blue); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: -3rem; left: 1rem; z-index: 200; background: #fff; padding: .5rem 1rem; }
.skip:focus { top: 1rem; }
.lower { text-transform: lowercase; }
@keyframes fade { from { opacity: .4; } to { opacity: 1; } }

/* 2. 헤더 ================================================================ */
.header { position: relative; z-index: 60; display: flex; align-items: center; justify-content: center; height: 4.6rem; background: #fff; }
.header-logo { display: block; width: 10rem; }
.header-logo img { width: 100%; }
.gnb { display: none; }

/* 모바일 메뉴 (THE ROW 모바일): 가는 세 줄 버튼 → 화면 전체 흰 메뉴 · 항목을 누르면 아래로 펼쳐짐(+/−) */
.menu-btn { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); padding: 10px; line-height: 0; color: var(--navy); }
.menu-btn svg { width: 20px; height: 14px; fill: currentColor; }
.mnav { position: fixed; inset: 0; z-index: 100; overflow-y: auto; overscroll-behavior: contain; background: #fff; color: var(--navy); font-weight: 400;
  text-align: left; font-size: var(--fs); line-height: 22px; letter-spacing: var(--ls); text-transform: none;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s; }
.mnav.is-open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
.mnav a { color: inherit; }
.mnav-head { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 20px; }
.mnav-close { margin-right: -10px; padding: 10px; line-height: 0; }
.mnav-close svg { width: 10px; height: 10px; fill: none; stroke: currentColor; overflow: visible; }
.mnav-main { padding: 46px 0 30px; }
.mnav-top { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 10px 20px; text-align: left; transition: opacity .3s; }
.mnav.has-open .mnav-top[aria-expanded="false"] { opacity: .5; }   /* 하나를 펼치면 나머지는 흐리게 */
.mnav-plus { position: relative; flex: none; width: 10px; height: 10px; }
.mnav-plus::before, .mnav-plus::after { content: ''; position: absolute; left: 0; top: 50%; width: 10px; height: 1px; margin-top: -.5px; background: currentColor; transition: transform .3s var(--ease); }
.mnav-plus::after { transform: rotate(90deg); }
.mnav-top[aria-expanded="true"] .mnav-plus::after { transform: rotate(0); }   /* + → − */
.mnav-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.mnav-sub > ul { overflow: hidden; }
.mnav-top[aria-expanded="true"] + .mnav-sub { grid-template-rows: 1fr; }
.mnav-sub a { display: block; padding: 10px 20px 10px 30px; }
.mnav-sub a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.mnav-sec { padding-top: 10px; }
.mnav-sec a { display: block; padding: 10px 20px; }
html.mnav-open { overflow: hidden; }

/* 3. 버튼 ================================================================ */
.btn { display: inline-block; padding: .9rem; font-size: .7rem; font-weight: 300; border: 1px solid currentColor; transition: all .6s var(--ease); }
.btn--light { color: #fff; }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--navy); opacity: .8; }
.btn--line { color: var(--navy); }
.btn--line:hover, .btn--fill { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--fill { background: var(--taupe); border-color: var(--taupe); }
.btn--fill:hover { opacity: .8; }

/* 4. 슬라이더 (메인·부티크 공통) ========================================== */
.slider { position: relative; overflow: hidden; touch-action: pan-y; }
.slides { position: relative; height: 100%; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s .9s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s var(--ease); z-index: 1; }
/* 화살표: 메인 · 부티크 · 룩 보기 공통 (THE ROW 크기) */
.arrow { display: block; width: var(--aw); height: var(--ah); fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: square; overflow: visible; }
.sl-arrow, .lb-arrow { position: absolute; top: 50%; z-index: 5; transform: translateY(-50%); padding: var(--ap); line-height: 0; transition: opacity .3s; }
.sl-arrow:hover, .lb-arrow:hover { opacity: .5; }
.sl-arrow { color: #fff; }
.sl-prev { left: calc(1.1rem - var(--ap)); }
.sl-next { right: calc(1.1rem - var(--ap)); }
/* 메인 슬라이드: 가는 선 표시 — 지금 슬라이드의 선이 다음으로 넘어갈 때까지 차오름 (직접 넘기면 진하게 고정) */
.sl-progress { position: absolute; left: 0; right: 0; bottom: 6%; z-index: 5; display: flex; justify-content: center; gap: .5rem; }
.sl-progress button { width: 2.4rem; padding: .8rem 0; }
.sl-progress span { position: relative; display: block; height: 1px; overflow: hidden; background: rgba(255,255,255,.35); transition: background .3s; }
.sl-progress button:hover span { background: rgba(255,255,255,.7); }
.sl-progress span::after { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.sl-progress button[aria-current="true"] span::after { animation: sl-fill var(--dur, 9000ms) linear forwards; }
.is-manual .sl-progress button[aria-current="true"] span::after { animation: none; transform: none; }
@keyframes sl-fill { to { transform: scaleX(1); } }
/* 부티크 사진: 숫자 표시 01 / 05 */
.sl-count { position: absolute; left: 0; right: 0; bottom: 5%; z-index: 5; text-align: center; color: #fff; text-transform: none;
  font-size: var(--cap, var(--fs)); font-weight: 400; letter-spacing: .1em; text-shadow: 0 0 6px rgba(0,0,0,.35); pointer-events: none; }
img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* 비메오 배경 영상: 비율(16:9) 유지하며 상자를 꽉 채움 */
.vbox { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: max(100%, var(--box-h, 100vh) * 16 / 9); height: max(100%, var(--box-w, 100vw) * 9 / 16); pointer-events: none; }
.vbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vbox--portrait iframe { top: 50%; height: 316.05%; transform: translateY(-50%); }

/* 5. 메인 ================================================================ */
.hero { display: none; }
.mhero-item { text-align: center; }
.mhero-media { position: relative; display: block; height: 75vw; overflow: hidden; background: var(--sand); --box-h: 75vw; }
.mhero-media .vbox--portrait iframe { height: 250%; }
.mhero-info { padding: 1.4rem 1em 3.5rem; }
.mhero-info h2 { font-size: 1.2rem; font-weight: 400; line-height: 1.4; letter-spacing: .2rem; }
.mhero-info p { padding-top: .15rem; font-size: 1rem; font-weight: 400; line-height: 1.4; letter-spacing: .1rem; text-transform: none; }   /* 모바일: Exclusive in Korea 그대로 */
/* View designer: 상자 없이 글자만 · 밑줄 (THE ROW 링크 느낌) */
.mhero-link { display: inline-block; margin-top: 1.1rem; text-transform: none; font-size: 1rem; letter-spacing: .05em; color: var(--navy);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.mhero-link:hover { opacity: .6; }

/* 6. 디자이너 소개 ======================================================== */
.intro { position: relative; overflow: hidden; }
.intro-media { position: relative; height: 75vw; overflow: hidden; background: var(--bg, var(--sand)); --box-h: 75vw; }
.intro-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--mpos, var(--pos, center)); filter: var(--filter, none); }
.intro-info { width: 75%; margin: 0 auto; padding: 3vh 1rem 5vh; text-align: center; color: var(--navy); word-break: keep-all; }
.intro-info h1 { font-size: 1.2rem; font-weight: 400; letter-spacing: .2rem; margin-bottom: 3vh; }
.intro-sub { font-size: 1.3rem; margin: -2vh 0 3vh; }
.intro-text, .intro-notice { font-family: var(--serif); font-weight: 400; font-size: 1rem; line-height: 1.6rem; letter-spacing: .1rem; padding-bottom: .5rem; }
.intro-notice { color: #95c2f7; margin-top: 1rem; margin-bottom: -1.5rem; }   /* 모바일 독점 문구 색 */
.intro-links { margin-top: 3rem; }
.intro-links li { padding-bottom: 2rem; }
.link-home { font-size: 1.1rem; text-transform: lowercase; transition: color .6s; }
.link-home:hover { color: var(--blue); }
.intro-links .btn { font-size: 1rem; background: var(--taupe); border-color: var(--taupe); color: #fff; }
.intro-links .btn:hover { opacity: .8; }
.intro-view { display: list-item; }


/* 7. 컬렉션 · 갤러리 (THE ROW 형식) ======================================== */
/* 제목은 이미지 위 왼쪽에 작게 한 줄: ELIE SAAB · 2027 SPRING COLLECTION */
.collection { padding-bottom: 2rem; text-align: left; }
.crumb { padding: 1.6rem .7rem 1rem; font-size: var(--fs); font-weight: 400; letter-spacing: var(--ls); text-transform: none; color: var(--navy); }
.crumb span + span::before { content: '\00B7'; margin: 0 .7em; }

/* 한 줄 2장(모바일) / 4장(PC). 썸네일은 2:3 로 맞춤 (데이터의 'ratio' 로 변경, 'auto' 면 원본 비율) */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.2rem 1.1rem; padding: 0 .7rem; align-items: start; }
.gallery-item { display: block; color: var(--navy); }
.ph { display: block; position: relative; overflow: hidden; aspect-ratio: var(--ratio, 2 / 3); background: #f3f1ee; }
.ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: opacity .3s var(--ease), filter .3s var(--ease); }
.gallery--auto .ph { aspect-ratio: auto; }
.gallery--auto .ph img { height: auto; }
.ph.is-loaded { background: #fff; }
/* 마우스를 올리면 (THE ROW): 사진은 살짝 밝아지고, 사진 이름에 밑줄 */
.gallery-name { display: inline; border-bottom: 1px solid transparent; transition: border-color .2s ease-in-out; }
@media (hover: hover) {
  .gallery-item:hover img { opacity: .85; }
  .gallery-item:hover .gallery-name { border-bottom-color: currentColor; }
}
.gallery-cap { display: block; padding-top: .7rem; font-size: var(--fs); font-weight: 400; line-height: 1.5; letter-spacing: var(--ls); text-transform: none; }
.gallery-sub { display: block; }
/* 로딩 중: 은은하게 반짝이는 자리 표시 → 다 불러오면 부드럽게 나타남 */
.js .ph:not(.is-loaded) { background: linear-gradient(100deg, #f3f1ee 30%, #faf9f7 50%, #f3f1ee 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
.js .ph:not(.is-loaded) img { opacity: 0; }
@keyframes shimmer { to { background-position: -150% 0; } }

/* 8. 룩 보기 (THE ROW 룩 페이지 형식) ======================================
   헤더는 그대로 두고 그 아래에 열림 · 사진 가운데, 오른쪽에 제목 · VIEW ALL, 사진 아래선에 SHARE
   사진을 넘길 때 미끄러지지 않고 제자리에서 바뀜 */
.lb { position: fixed; left: 0; right: 0; bottom: 0; top: var(--lb-top, 0); z-index: 55; background: #fff; color: var(--navy);
  font-size: var(--fs); font-weight: 400; letter-spacing: var(--ls); text-transform: none; animation: fade .3s; }
.lb[hidden] { display: none; }
/* 화살표·사진을 빠르게 여러 번 눌러도 선택(파란색)되지 않게 */
.lb { -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.lb-slide img { -webkit-user-drag: none; pointer-events: none; }
.lb button { letter-spacing: inherit; text-transform: none; }
.lb-stage { position: absolute; inset: 0; touch-action: pan-y; }
.lb-slide { position: absolute; inset: 0; padding: 1rem 0 8.6rem; display: flex; align-items: center; justify-content: center; visibility: hidden; }
.lb-slide.is-current { visibility: visible; }
.lb-slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; opacity: 0; transition: opacity .25s; }
.lb-slide.is-loaded img { opacity: 1; }
.lb-slide.is-loaded .spinner { display: none; }
/* 모바일: 아래쪽에 제목·캡션, 오른쪽 아래 SHARE */
.lb-info { position: absolute; left: 1rem; right: 1rem; bottom: 1.2rem; z-index: 3; line-height: 1.7; }
.lb-head span + span::before { content: '\00B7'; margin: 0 .6em; }
.lb-cap span + span::before { content: ', '; }
.lb-sub:empty { display: none; }
.lb-count { opacity: .6; }
.lb-all, .lb-row .lb-share-btn { margin-left: 1.2em; }
/* 모바일: 선택지는 Share 줄 아래 한 줄에 가로로 (자리는 늘 비워 둬서 사진이 움직이지 않음) */
.lb-info > .lb-share-opts { display: flex; flex-direction: row; gap: 1.2em; margin: 0; }
.lb-info > .lb-share-opts[hidden] { display: flex; visibility: hidden; }
.lb-info > .lb-toast { right: 0; bottom: 0; }
.lb-share-opts a, .lb-share-opts button, .lb-share-btn { color: inherit; border-bottom: 1px solid transparent; transition: border-color .3s; }
.lb-share-opts a:hover, .lb-share-opts button:hover, .lb-share-btn:hover { border-bottom-color: currentColor; }
.lb-share { position: absolute; right: 1rem; bottom: 1.4rem; z-index: 3; line-height: 1.7; text-align: right; }
.lb-share-opts { display: flex; flex-direction: column; align-items: flex-end; gap: .2rem; margin-bottom: .4rem; }
.lb-share-opts[hidden] { display: none; }
.lb-share a, .lb-share button, .lb-all { color: inherit; border-bottom: 1px solid transparent; transition: border-color .3s; }
.lb-share a:hover, .lb-share button:hover, .lb-all:hover, .lb-share-btn[aria-expanded="true"] { border-bottom-color: currentColor; }
.lb-toast { position: absolute; right: 0; bottom: 100%; white-space: nowrap; opacity: 0; transition: opacity .3s; }
.lb-toast.is-on { opacity: 1; }
.lb-arrow { top: calc((var(--t, 0px) + var(--b, 100%)) / 2); color: var(--navy); }
.lb-arrow[disabled] { opacity: 0; pointer-events: none; }
.lb-prev { left: max(0px, calc(var(--l, 0px) - var(--ag) - var(--aw) - var(--ap))); }
.lb-next { left: min(calc(100% - var(--aw) - 2 * var(--ap)), calc(var(--r, 100%) + var(--ag) - var(--ap))); }
.spinner { position: absolute; top: 50%; left: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; border: 1.5px solid rgba(14,36,73,.15); border-top-color: var(--navy); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
html.lb-open { overflow: hidden; }

/* 9. 부티크 · 지도 ======================================================== */
.store { position: relative; background: #fff; }
/* 사진 박스: 사진 슬라이드와 지도가 같은 자리
   모바일 — 세로 사진이 많은 매장은 세로로 길게(140%), 가로 사진이 많은 매장은 4:3 / 숫자는 사진 아래 */
.store-stage { position: relative; height: 140vw; margin-bottom: 2.2rem; }
.store-stage--wide { height: 75vw; }
.store-stage--wide .is-landscape img { object-fit: cover; }
.store-stage--wide .is-portrait img { object-fit: contain; }
.store-media .sl-count { top: calc(100% + .7rem); bottom: auto; color: var(--navy); text-shadow: none; }
.store-media { position: absolute; inset: 0; background: #fff; overflow: visible; }
.store-media .slides { overflow: hidden; }
/* 매장 사진 맞춤: 모바일 — 세로 사진은 좌우 꽉, 가로 사진은 전체 보이기 / PC — 가로 사진은 박스 꽉, 세로 사진은 높이에 맞춰 전체 */
.store-media .slide img { width: 100%; height: 100%; object-fit: contain; }
.store-media .is-portrait img { object-fit: cover; }
.store-media .sl-arrow { filter: drop-shadow(0 0 3px rgba(0,0,0,.45)); }
/* 매장 정보: 컬렉션 글자와 같은 크기·굵기 (PC 는 --cap), 대·소문자 그대로 */
.store-info { padding: 2rem 1rem 3rem; text-align: center; color: var(--navy); text-transform: none;
  font-size: var(--cap, var(--fs)); font-weight: var(--cap-weight, 400); letter-spacing: var(--ls); line-height: 1.7; }
.store-info h1, .store-info h2 { font-size: inherit; font-weight: inherit; letter-spacing: inherit; }
.store-info h1 { padding: 1rem 0 1.6rem; }
.store-info h2 { padding-bottom: .1rem; }
.store-info p { padding-bottom: 1.6rem; }
.store-info a, .store-map { color: inherit; border-bottom: 1px solid transparent; transition: border-color .2s; }
.store-info a:hover, .store-map:hover, .store-map[aria-expanded="true"] { border-bottom-color: currentColor; }
.store-map { margin-top: .5em; text-transform: none; letter-spacing: inherit; }
/* 지도: 사진 박스 자리에 지도만 (닫기는 박스 안 오른쪽 위) */
.map-panel { position: absolute; inset: 0; z-index: 6; background: #fff; }
.map-panel[hidden] { display: none; }
.map-canvas { position: absolute; inset: 0; background: #f3f1ee; }
.map-canvas iframe { width: 100%; height: 100%; border: 0; }
.map-close { position: absolute; top: .8rem; right: .8rem; z-index: 2; padding: .35rem .7rem; background: #fff; color: var(--navy);
  font-size: var(--cap, var(--fs)); letter-spacing: var(--ls); text-transform: none; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.map-close span { font-size: 1.2em; vertical-align: -.1em; margin-left: .3rem; }


/* 10. 푸터 (THE ROW: 가는 구분선 + 링크 칸 + 가운데 카피라이트) ============== */
.footer { margin-top: 3rem; padding: 1.2rem 0 1.6rem; border-top: 1px solid #eee; font-size: var(--fs); font-weight: 400; letter-spacing: var(--ls); text-transform: none; color: var(--navy); }
/* 모바일 (THE ROW 모바일 푸터): 항목마다 한 줄 · 오른쪽에 › */
.footer-links a { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.4rem; color: inherit; }
.footer-links span { border-bottom: 1px solid transparent; transition: border-color .3s; }
/* 마우스를 올리거나(PC) 손가락으로 누를 때(모바일) 글자 밑줄 */
.footer-links a:hover span, .footer-links a:active span, .footer-links a:focus-visible span { border-bottom-color: currentColor; }
.footer-chev { width: 6px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1; }
.footer-copy { padding-top: 2.4rem; text-align: center; }

/* 글 페이지 (About · Contact): 사진 없이 가운데 좁은 단에 글만 */
.text-page { max-width: 36rem; margin: 0 auto; padding: 0 1.4rem 4rem; color: var(--navy); text-transform: none; font-size: var(--fs); letter-spacing: var(--ls); line-height: 1.85; word-break: keep-all; }
.text-page p + p { margin-top: 1.6em; }
.text-page a { color: inherit; border-bottom: 1px solid currentColor; transition: opacity .2s; }
.text-page a:hover { opacity: .6; }
/* Contact: 한 줄에 왼쪽 항목 · 오른쪽 연락처 (영어는 아래 줄에 옅게) */
.contact-row { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1.5rem; padding: 1.3rem 0; border-top: 1px solid #eee; }
.contact-row:last-child { border-bottom: 1px solid #eee; }
.text-page .contact-row p + p { margin-top: 0; }
.contact-label span, .contact-value span { display: block; opacity: .55; }
.contact-value { text-align: right; }
.text-page .contact-value a { border-bottom: 0; }
.text-page .contact-value a:hover { opacity: .6; }
.contact-note { grid-column: 1 / -1; padding-top: .8rem; opacity: .75; }

/* 11. 기타 ============================================================== */
.notfound { min-height: 60vh; padding: 8rem 1rem; text-align: center; }
.notfound h1 { font-size: 1.2rem; letter-spacing: .4rem; font-weight: 400; }
.notfound p { padding: 1.5rem 0 2.5rem; font-family: var(--serif); text-transform: none; letter-spacing: .05rem; line-height: 1.7; }

/* =========================================================================
   화면 크기별
   ========================================================================= */
@media (max-width: 1200px) {
  /* 모바일 전체: 헤더는 위에 떠 있고(투명) 스크롤하면 사진이 그 밑으로 지나감 · 첫 사진까지 THE ROW 만큼 띄움 */
  /* 헤더 높이 · 로고 크기는 rem → 기기 폭에 따라 글자 크기와 함께 커지고 작아짐 (html font-size 13~15px)
     스크롤해도 높이 · 로고 · 메뉴 버튼 위치는 변하지 않고 그대로 위에 고정 */
  .header { position: fixed; top: 0; left: 0; right: 0; height: 4.2rem; }
  .header-logo { width: 10rem; transition: opacity .3s var(--ease); }
  .menu-btn { left: .8rem; }
  main { padding-top: 8.1rem; }   /* 첫 이미지 시작 위치 (헤더 + 간격) */
  /* 메인: 투명 헤더 · 첫 영상이 지나가면 로고만 사라짐 (메뉴 버튼은 남음) */
  .page-home .header { background: transparent; }
  html.m-logo-off .page-home .header-logo { opacity: 0; pointer-events: none; }
  .store-stage, .collection, .gallery { scroll-margin-top: 4.2rem; }
  /* 모바일·태블릿: View Collection = 메인의 View Designer 처럼 밑줄 글자 · 누르면 컬렉션 제목이 Muses 와 같은 높이에 오도록 스크롤 */
  .intro-links .intro-view .btn { padding: 0; border: 0; background: none; color: var(--navy); font-size: 1rem; font-weight: 300; letter-spacing: .05em; text-transform: none;
    text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
  /* 디자이너 컬렉션 제목 = Muses 제목과 같은 모양 · View Collection 을 누르면 같은 높이(5.9rem)에 멈춤 */
  .page-designer .collection .crumb { height: 2.2rem; padding-top: 0; line-height: 1.2; }
  .page-designer .collection { scroll-margin-top: calc(8.1rem - 2.2rem); }
  /* Muses: 사진 윗선 = 메인 첫 영상 윗선(8.1rem) · 타이틀은 그 위에 (타이틀 1.2rem + 아래 간격 1rem) */
  .collection--muses .crumb { height: 2.2rem; padding-top: 0; line-height: 1.2; }
  .page-muses main { padding-top: calc(8.1rem - 2.2rem); }
  html { font-size: 15px; }
  /* 룩 보기를 열면 헤더를 화면 위에 고정 (메뉴로 바로 이동할 수 있게) */
  html.lb-open .header { position: fixed; top: 0; left: 0; right: 0; background: #fff; }   /* 룩 보기에서는 흰 헤더 (뒤 페이지가 비치지 않게) */
}
@media (max-width: 900px) {
  html { font-size: 14px; }
  .intro-info { width: 80%; }
}
@media (max-width: 600px) {
  html { font-size: 13px; }
  .intro-info { width: 100%; padding-bottom: 10vh; }
  .intro-info h1 { letter-spacing: .15rem; }        /* 모바일 디자이너 이름 자간 */
  .link-home { font-size: 1rem; letter-spacing: .06rem; }   /* 모바일 홈페이지 주소 */
  .intro-text, .intro-notice { line-height: 1.4rem; padding-bottom: 1vh; }
  .intro-links li { padding-bottom: 3rem; }
  :root { --fs: 1rem; --ls: .02em; }
}

/* ---------- PC (1201px 이상) ---------- */
@media (min-width: 1201px) {
  /* --sub-top: 서브메뉴 첫 줄 = 컬렉션 제목 줄 (THE ROW: 헤더 아래 31px) / --grid-top: 컬렉션 사진 윗선 (THE ROW: 헤더 아래 71px) */
  :root { --fs: .75rem; --sub-top: calc(var(--header-h) + 1.7rem); --grid-top: calc(var(--header-h) + 3.9rem);
    /* 메뉴 · 커튼 · 확대 사진 폭을 한 기준으로 맞춤
       --img-half : 확대 사진 폭의 절반 (3:4 사진 기준, 2:3 은 더 좁음)
       --menu-gap : 화면 중심 ~ Curated Designers 끝 / Soyoo Muses 시작 거리
       커튼 가장자리 = 메뉴 글자에서 2rem 바깥 = 확대 사진에서 1.5rem 바깥 → 커튼이 사진을 덮지 않음 */
    --img-half: calc((100vh - var(--header-h) - 2.8rem) * 3 / 8);
    --lb-gap: min(calc(var(--img-half) + 3.5rem), calc(50% - 24rem));   /* 확대 사진 자리 기준 (사진 크기는 이 값으로 정해짐) */
    --menu-shift: 3.2rem;   /* 메뉴 4개를 가운데 쪽으로 당기는 거리 (약 1.5cm) — 늘리면 더 모이고, 0 이면 예전 위치 */
    --menu-gap: calc(var(--lb-gap) - var(--menu-shift));
    --store-shift: 2.4rem;  /* Store 만 왼쪽으로 더 당김 (서브메뉴를 왼쪽 정렬로 펼칠 자리) */
    /* --menu-edge: 화면 가장자리 ~ Exclusive Designers 왼쪽 끝 = Boutique 오른쪽 끝 (좌우 같은 여백) */
    --menu-edge: max(1.1rem, calc(50% - var(--menu-gap) - 21rem)); }
  html { scrollbar-gutter: stable; }
  html.is-locked { overflow: hidden; }   /* 디자이너 소개 화면: 스크롤로 내려가지 않음 */

  /* 헤더: 투명 · 로고 가운데 · 좌우 메뉴 2개씩 */
  .header { position: fixed; top: 0; left: 0; right: 0; display: block; height: var(--header-h); padding: 0; background: transparent; transition: background-color .4s; }
  .header::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 16rem; z-index: -1; pointer-events: none;
    background: linear-gradient(rgba(0,0,0,.35), transparent); transition: opacity .4s; }
  .header-logo { position: absolute; top: .75rem; left: 50%; transform: translateX(-50%); width: 8rem; padding: 0; z-index: 2; }
  .header-logo img { filter: brightness(0) invert(1); transition: filter .4s; }
  .menu-btn, .mnav { display: none; }
  .gnb { display: block; }
  .gnb > ul { position: absolute; top: 1.3rem; display: flex; justify-content: space-between; gap: 2rem; letter-spacing: var(--ls); text-transform: none; }
  /* 바깥 끝: 좌우 같은 여백(--menu-edge) / 안쪽 끝: Curated 의 끝 · Soyoo Muses 의 시작이 중심에서 같은 거리(--menu-gap) */
  .gnb-l { left: var(--menu-edge); right: calc(50% + var(--menu-gap)); }
  .gnb-r { left: calc(50% + var(--menu-gap)); right: calc(var(--menu-edge) + var(--store-shift)); }
  .gnb-item { font-size: var(--fs); white-space: nowrap; }
  .gnb-top, .gnb-sub { font-size: var(--cap); font-weight: var(--cap-weight); }   /* 메인 메뉴 · 서브메뉴 = 컬렉션 글자와 같은 크기·굵기 */
  .gnb-box { position: relative; }
  .gnb a, .gnb-top { color: #fff; text-shadow: 0 0 6px rgba(0,0,0,.3); transition: color .4s, border-color .4s; }
  .gnb-top { padding-bottom: .2rem; border-bottom: 1px solid transparent; }
  .gnb-top:hover, .gnb-top[aria-expanded="true"] { border-bottom-color: currentColor; }

  /* 서브메뉴: 누르면 열림 · 메뉴 글자 왼쪽에 맞춰 정렬 · 첫 줄이 컬렉션 사진 윗선과 같은 높이 */
  .gnb-sub { position: absolute; top: calc(var(--sub-top) - 1.3rem - .3rem); left: 0; z-index: 2; white-space: nowrap; text-align: left;
    opacity: 0; visibility: hidden; transform: translateY(-.3rem); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
  .gnb-item.is-open .gnb-sub { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
  .gnb-sub li { display: block; }
  /* 맨 오른쪽 메뉴(Store)의 매장 목록은 메뉴 글자 오른쪽 끝에 맞춰 오른쪽 정렬 */
  .gnb-sub a { display: inline-block; padding: .3rem 0; border-bottom: 1px solid transparent; line-height: 1.2; }
  .gnb-sub a:hover, .gnb-sub a[aria-current="page"] { border-bottom-color: currentColor; }
  /* 흰 반투명 커튼 (THE ROW 처럼 왼쪽 메뉴는 왼쪽 끝에서 · 오른쪽 메뉴는 오른쪽 끝에서, 좌우 같은 폭)
     컬렉션 화면(Muses · 디자이너 컬렉션 · 룩 보기)에서만 내려옴. 메인·디자이너 소개 화면에서는 안 내려옴 */
  .gnb-veil { position: fixed; top: 0; bottom: 0; left: 0; width: calc(50% - var(--menu-gap) + 2rem); z-index: -1; background: var(--veil);
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s; pointer-events: none; }
  .gnb-veil.is-right { left: auto; right: 0; }
  .gnb.is-open.is-curtain .gnb-veil { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
  /* 메인 · 디자이너 소개 화면: 메뉴를 열면 사진 위 글이 잠시 사라져 서브메뉴와 겹치지 않음 */
  .hero-box, .intro-info { transition: opacity .3s var(--ease); }
  .menu-open .hero-box, .menu-open:not(.in-collection) .intro-info { opacity: 0; }

  /* 흰 헤더: 상단 이미지가 없는 페이지 · 컬렉션 화면 · 룩 보기 · 스크롤 후 · 지도를 열었을 때 (site.js 가 is-solid 를 붙임) */
  .header.is-solid, body:not(.has-hero) .header { background: #fff; }
  .page-home .header.is-solid { background: transparent; }   /* 메인은 끝까지 투명 헤더 */
  .header.is-solid::before, body:not(.has-hero) .header::before { opacity: 0; }
  .header.is-solid .header-logo img, body:not(.has-hero) .header-logo img { filter: none; }
  .header.is-solid .gnb a, .header.is-solid .gnb-top, body:not(.has-hero) .gnb a, body:not(.has-hero) .gnb-top { color: var(--navy); text-shadow: none; }
  body:not(.has-hero) main, .in-collection main { padding-top: var(--header-h); }
  .in-collection .intro { display: none; }   /* 디자이너 컬렉션 화면: 소개 화면은 숨김 (메뉴·뒤로가기로 돌아감) */

  /* 메인: 화면을 꽉 채우는 슬라이드 — 글자는 디자이너 페이지 값에 맞춤 */
  .hero { display: block; height: 100vh; background: #000; }
  .mhero { display: none; }
  .hero-box { position: absolute; top: 47%; left: 10%; z-index: 2; color: #fff; }
  .hero-box h2, .intro-info h1 { font-size: 1.2rem; font-weight: 400; letter-spacing: .2rem; }   /* 디자이너 이름 — 메인 슬라이드 · 디자이너 페이지 공통 */
  .hero-label { padding-top: 3vh; font-size: .75rem; font-weight: 500; letter-spacing: .1rem; } /* = 독점 문구 */
  .hero-text { padding-top: .5rem; font-size: .75rem; font-weight: 400; line-height: 1.2rem; letter-spacing: .1rem; } /* = 소개글 */
  .hero-box .btn, .intro-links .btn { font-size: .6rem; padding: .6rem .8rem; }   /* VIEW DESIGNER · VIEW COLLECTION 상자 — 공통 */
  .hero-box .btn { margin-top: 2rem; }

  /* 디자이너 소개: 화면 높이에 맞춤, 글은 이미지 위에 */
  .intro { height: 100vh; background: var(--sand); }
  .intro-media { position: absolute; inset: 0; height: auto; --box-h: 100vh; }
  .intro-media img { object-position: var(--pos, center); }
  .intro--left .intro-media, .intro--right .intro-media { width: var(--mw, 50%); --box-w: 50vw; }
  .intro--right .intro-media { left: auto; right: 0; }
  .intro-info { position: absolute; top: var(--top, 33%); left: var(--left, auto); right: var(--right, auto); width: var(--w, 42%);
    margin: 0; padding: 0; text-align: left; color: var(--c, #000); }
  .intro-text, .intro-notice { font-size: .75rem; line-height: 1.2rem; font-weight:400; }
  .intro-notice { color: #cae5f7; font-weight: 500; }   /* PC 독점 문구 색 (사진 위 흰 글자 페이지) */
  /* 밝은 사진 위에 어두운 글자를 쓰는 페이지(리히 호드 등)는 소개글과 같은 색 그대로 */
  .intro[style*="--c:#7a746e"] .intro-notice, .intro[style*="--c:#0e2449"] .intro-notice { color: var(--c); }
  .intro-info--wide .intro-notice { width: 120%; }
  .intro-links { margin-top: 2rem; }
  .intro-view { display: list-item; }
  .link-home { font-size: .72rem; color: var(--c, #fff); }   /* 브랜드 홈페이지 주소 */
  .intro-links .btn { background: none; border-color: currentColor; color: var(--c, #fff); }
  .intro-links .btn:hover { background: #fff; border-color: #fff; color: var(--navy); opacity: .8; }

  /* 컬렉션 (THE ROW: 좌우 여백 20px · 사진 간격 40px · 줄 간격 넓게)
     VIEW COLLECTION 을 누르면 제목이 헤더 바로 아래, 사진 윗선은 --grid-top 에 옴 */
  .collection { scroll-margin-top: var(--header-h); padding-bottom: 3rem; }
  .crumb { height: calc(var(--grid-top) - var(--header-h)); padding: calc(var(--sub-top) - var(--header-h)) 1.1rem 0; line-height: 1.2; }
  /* ★ 컬렉션 글자 — 이 두 값으로 모든 컬렉션 화면(디자이너 · Soyoo Muses)의
     컬렉션 제목 · 사진 캡션 · 확대 사진 옆 글자가 함께 바뀜 */
  :root { --cap: max(13px, .72rem); --cap-weight: 400; }   /* 컬렉션 글자: 기본 .72rem · 노트북 등 작은 화면에서도 13px 아래로는 안 내려감 */
  .crumb, .gallery-cap, .lb { font-size: var(--cap); font-weight: var(--cap-weight); }
  .gallery { grid-template-columns: repeat(4, 1fr); column-gap: 2.25rem; row-gap: 6.4rem; padding: 0 1.1rem; }
  .gallery-cap { padding-top: .9rem; }

  /* 룩 보기: 헤더 아래에 열림. 사진 위 30px · 아래 20px (THE ROW)
     --l/--r/--t/--b(사진 테두리)는 site.js 가 사진 크기로 계산 */
  .lb { --lb-top: var(--header-h); }
  .lb-slide { padding: 1.7rem calc(50% - var(--lb-gap) + 3.5rem) 1.1rem; }
  html.lb-open .gnb-veil { width: calc(50% - var(--lb-gap) + 2rem); }   /* 룩 보기: 메뉴를 열어도 커튼이 사진을 덮지 않게 (사진 바깥 1.5rem 까지만) */   /* 사진은 커튼 안쪽 폭 안에서만 */
  .lb-info { left: calc(var(--r, 66%) + 4rem); right: auto; top: var(--t, 1.7rem); bottom: auto; width: 15rem; line-height: 1.65; }
  .lb-head span, .lb-cap span { display: block; }
  .lb-head span + span::before, .lb-cap span + span::before { content: none; }
  .lb-cap, .lb-row { display: block; margin-top: 1.65em; }
  .lb-count { display: block; }
  .lb-all { display: inline-block; margin: 1.65em 0 0; }
  .lb-share { left: calc(var(--r, 66%) + 4rem); right: auto; top: calc(var(--b, 95%) - 1.65em); bottom: auto; text-align: left; }
  .lb-share-opts { position: absolute; left: 0; bottom: 100%; align-items: flex-start; margin-bottom: .5rem; white-space: nowrap; }
  .lb-share-opts button { text-align: left; }
  .lb-toast { left: 0; right: auto; bottom: calc(100% + .5rem); }

  /* 부티크: 사진(왼쪽 65.7%) + 정보(오른쪽) */
  /* 부티크 (확대 사진 화면처럼): 흰 바탕 · 4:3 사진 박스는 화면 정중앙, 정보는 박스 오른쪽
     --bw: 박스 폭 = 화면 높이에 맞춘 4:3 폭, 단 오른쪽 정보 칸(4rem 간격 + 16rem)이 들어갈 만큼만 */
  .store { position: relative; height: calc(100vh - var(--header-h));
    --bw: min(calc((100vh - var(--header-h) - 2.8rem) * 4 / 3), calc(100% - 2 * (4rem + 16rem + 1.1rem))); }
  .store-stage { position: absolute; top: 1.7rem; left: calc(50% - var(--bw) / 2); width: var(--bw); height: auto; aspect-ratio: 4 / 3; max-width: none; }
  .store-media .is-landscape img { object-fit: cover; }
  .store-media .is-portrait img { object-fit: contain; }
  .store-media .sl-arrow { color: var(--navy); filter: none; }
  .store-media .sl-prev { left: calc(0px - var(--ag) - var(--aw) - var(--ap)); }   /* 박스(가로 사진) 가장자리에서 15px — 세로 사진도 같은 위치 */
  .store-media .sl-next { right: calc(0px - var(--ag) - var(--aw) - var(--ap)); }
  .store-stage:has(.map-panel:not([hidden])) .sl-arrow { visibility: hidden; }
  .store-stage { margin-bottom: 0; }
  .store-media .sl-count { top: auto; bottom: 5%; color: #fff; text-shadow: 0 0 4px rgba(0,0,0,.55); }
  .store-info { position: absolute; top: 1.7rem; left: calc(50% + var(--bw) / 2 + 4rem); width: 16rem; padding: 0; text-align: left; }
  .store-info h1 { padding: 0 0 1.6rem; }


  /* 푸터 (THE ROW 칸 간격) */
  /* PC 푸터: 컬렉션 글자와 같은 크기 · 한 줄에 가로로 */
  .footer { margin-top: 0; padding: 2.8rem 1.1rem 1.6rem; font-size: var(--cap); font-weight: var(--cap-weight); }
  .footer-links { display: flex; gap: 0 3.2rem; }
  .footer-links a { display: inline-block; padding: 0; }
  .footer-chev { display: none; }
  .footer-copy { padding-top: 2.4rem; }
  /* 글 페이지: 컬렉션 글자 크기 · 첫 줄은 컬렉션 사진 윗선 높이 */
  main { min-height: 100vh; }   /* 내용이 짧아도 푸터는 화면 아래 (스크롤해야 보임) */
  .text-page { max-width: 30rem; padding-top: calc(var(--grid-top) - var(--header-h)); font-size: var(--cap); font-weight: var(--cap-weight); }
}
/* 좁은 PC 화면(1201~1560px): Store 서브메뉴가 화면 밖으로 나가지 않도록 오른쪽 정렬 */
@media (min-width: 1201px) and (max-width: 1560px) {
  .gnb-r .gnb-item:last-child .gnb-sub { left: auto; right: 0; text-align: right; }
}
@media (min-width: 1601px) { html { font-size: 18px; } }
@media (min-width: 1900px) { html { font-size: 20px; } .intro-info { max-width: 38%; } }
@media (min-width: 2400px) { html { font-size: 22px; } .intro-info { max-width: 30%; } }

/* 움직임 줄이기 설정을 켠 사용자 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
