@font-face {
  font-family: Pretendard;
  src: url('./assets/fonts/pretendard.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root { --font: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; }
html, body, button, input, select, textarea { font-family: var(--font); }
html.is-scroll-locked, body.is-scroll-locked { overflow: hidden; }
body { font-size: 16px; word-break: keep-all; overflow-wrap: break-word; }
.site-header { background: rgba(244, 242, 237, .98); backdrop-filter: none; }
.nav-links a, .text-button, .nav-icon { font-size: 13px; }
.nav-icon { gap: 4px; white-space: nowrap; }
.nav-bag { min-width: 68px; }
.brand img { max-height: 38px; mix-blend-mode: multiply; }
.brand-word { font-weight: 700; }
.drawer[aria-hidden='true'] { visibility: hidden; pointer-events: none; }
.drawer.is-open { visibility: visible; }
.drawer-scrim { cursor: default; }
.drawer-title, .footer-meta, .eyebrow { letter-spacing: .04em; }
.drawer-body { overscroll-behavior: contain; }

/* Pinned scene is deliberately short (155vh) and does not intercept scroll. */
.hero { height: 155vh; background: #e4e8e7; }
.hero-sticky { height: calc(100svh - var(--header-h)); min-height: 520px; background: #e4e8e7; isolation: isolate; }
.hero-grid { z-index: 2; background-size: 20% 25%; opacity: .7; }
.hero-visual { position: absolute; z-index: 1; inset: 0; display: grid; place-items: center; margin: 0; overflow: hidden; }
.hero-model { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: translate3d(0, var(--hero-y, 10%), 0) scale(var(--hero-scale, 1.025)); transform-origin: center bottom; will-change: transform; }
.hero--review-pending .hero-model { width: min(72vw, 720px); height: 88%; object-fit: contain; }
.hero--asset-failed .hero-visual { display: none; }
.hero-title { z-index: 3; padding: 0 clamp(16px, 3vw, 52px); color: #152024; font-size: clamp(64px, 13vw, 230px); font-weight: 700; line-height: .74; letter-spacing: -.09em; mix-blend-mode: multiply; transform: translateY(var(--hero-copy-y, 0)); }
.hero-kicker { z-index: 4; top: 9%; width: min(240px, 44vw); color: var(--ink); font-size: 13px; font-weight: 650; letter-spacing: .03em; }
.hero-caption { z-index: 4; right: clamp(16px, 3vw, 52px); bottom: 17%; width: min(325px, 43vw); margin: 0; padding: 10px 12px; background: rgba(244, 242, 237, .86); color: var(--ink); font-size: 14px; line-height: 1.6; text-align: right; transform: translateY(var(--hero-copy-y, 0)); }
.hero-actions { position: absolute; z-index: 6; left: clamp(16px, 3vw, 52px); bottom: 16%; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.hero-shop, .hero-text-link { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 1px solid var(--ink); padding: 0 18px; background: var(--paper); font-size: 15px; font-weight: 650; }
.hero-shop:hover, .hero-shop:focus-visible { background: var(--ink); color: var(--paper); }
.hero-text-link { border-width: 0 0 1px; background: transparent; padding: 0 2px; }
.hero-stage { z-index: 6; bottom: 5%; color: var(--ink); font-size: 14px; font-weight: 600; }
.hero-progress { z-index: 6; right: clamp(16px, 3vw, 52px); bottom: 5.5%; width: 72px; }
.hero-empty { z-index: 4; max-width: 28ch; padding: 16px; border: 1px solid var(--line); background: var(--paper); text-align: center; }

.section h2, .feature-copy h2, .wardrobe-title { line-height: 1.1; letter-spacing: -.045em; white-space: pre-line; }
.inline-link { min-height: 44px; font-size: 13px; font-weight: 650; letter-spacing: 0; }
.inline-link::after { content: "→"; }

.wardrobe { overflow: clip; padding-top: clamp(64px, 8vw, 128px); background: #fffefa; }
.wardrobe-head { grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: clamp(28px, 5vw, 80px); }
.wardrobe-info { min-height: 0; padding-top: 18px; font-size: 16px; line-height: 1.7; }
.wardrobe-info p { margin: 8px 0 14px; color: var(--ink); }
.wardrobe-info--pending { color: var(--muted); }
.wardrobe--pending { min-height: 420px; }
.rail-wrap { position: relative; padding: 44px 28px 18px; }
.rail-wrap::before { position: absolute; z-index: 0; top: 48px; right: 0; left: 0; height: 7px; border: 1px solid #687074; border-radius: 99px; background: linear-gradient(#cfd3d2, #889093); content: ""; }
.product-rail { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(var(--rail-count, 5), minmax(0, 1fr)); gap: clamp(4px, 1vw, 18px); padding: 0; border: 0; perspective: 1500px; }
.rail-card { position: relative; min-width: 0; padding: 0; border: 0; background: transparent; box-shadow: none; text-align: center; transform: translateY(24px) translateZ(0) scale(.94); transform-origin: center top; transition: transform .26s cubic-bezier(.2,.7,.2,1); }
.rail-card::before { position: absolute; z-index: 2; top: -13px; left: 50%; width: 18px; height: 26px; border: 2px solid #687074; border-bottom: 0; border-radius: 18px 18px 0 0; content: ""; transform: translateX(-50%); }
.rail-card::after { position: absolute; z-index: 2; top: 12px; left: calc(50% - 29px); width: 58px; height: 12px; border: 2px solid #687074; border-radius: 60% 60% 20% 20%; background: #c8cdcc; content: ""; }
.rail-card:hover, .rail-card:focus-visible, .rail-card.is-active { z-index: 4; transform: translateY(-8px) translateZ(90px) scale(1.07); outline: 0; }
.rail-card figure { display: grid; place-items: end center; height: clamp(250px, 33vw, 530px); margin: 0; padding-top: 18px; overflow: visible; background: transparent; }
.rail-card img { width: 100%; height: 100%; object-fit: contain; transition: none; }
.rail-card:hover img, .rail-card.is-active img { transform: none; }
.rail-card figcaption { min-height: 82px; margin-top: 5px; padding: 12px 8px; border-top: 1px solid var(--line); background: transparent; }
.rail-card b { font-size: 14px; font-weight: 700; }
.rail-card span { margin-top: 5px; color: var(--ink); font-size: 14px; }
.rail-arrow { z-index: 6; top: 50%; width: 48px; min-width: 48px; height: 48px; padding: 0; border: 1px solid var(--ink); background: var(--paper); font-size: 13px; font-weight: 650; transform: translateY(-50%); }
.rail-arrow.prev { left: -2px; }.rail-arrow.next { right: -2px; }

.product-card img, .gallery-main img, .gallery-thumb img, .cart-item img, .feature-image img { object-fit: contain; }
.product-card figure, .gallery-main, .gallery-thumb, .feature-image { background: #eeefeb; }
.product-card-copy { padding: 16px; }.product-card-title { font-size: 15px; }.product-card-meta { font-size: 14px; }
.chip { min-height: 44px; font-size: 14px; }.sort-select { min-height: 44px; font-size: 15px; }
.image-unavailable { position: relative; display: grid; place-items: center; min-height: 160px; background: #eeefeb; }
.image-load-message { max-width: 24ch; margin: 0; padding: 14px; color: var(--muted); font-size: 14px; line-height: 1.55; text-align: center; }

.product-info h1 { max-width: 15ch; font-size: clamp(36px, 3.6vw, 58px); line-height: 1.16; letter-spacing: -.045em; }
.name-en { font-size: 14px; letter-spacing: .02em; }.price { font-size: 22px; font-variant-numeric: tabular-nums; }.product-description { font-size: 16px; line-height: 1.85; }
.option-label, .size-note, .purchase-hint, .summary-note { font-size: 14px; }.option-button { min-height: 44px; font-size: 15px; }.choice-list a { min-height: 44px; }
.purchase-hint, .summary-note { margin: 10px 0 0; color: var(--muted); line-height: 1.6; }
.add-button, .buy-button, .primary-link, .primary-button { min-height: 56px; font-size: 16px; font-weight: 650; letter-spacing: 0; }
.buy-button { display: flex; align-items: center; justify-content: center; width: 100%; margin-top: 10px; border: 1px solid var(--ink); background: transparent; }.buy-button:hover, .buy-button:focus-visible { background: var(--blue); }
.accordion summary { min-height: 56px; font-size: 15px; font-weight: 650; }.accordion-content { font-size: 15px; }.measurements { display: table; white-space: normal; }.measurements caption { padding: 0 0 10px; text-align: left; }.measurements th, .measurements td { padding: 10px 8px; }
.product-detail-story { margin-top: 90px; display: grid; gap: 40px; }.detail-story-panel { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 5vw; padding-top: 40px; border-top: 1px solid var(--line); }.detail-story-panel > div { padding: 4vw; }.detail-story-panel h2 { font-size: clamp(28px, 3.5vw, 48px); line-height: 1.18; letter-spacing: -.04em; }.detail-story-panel p { max-width: 38ch; font-size: 16px; line-height: 1.8; }.detail-story-panel img { max-height: 660px; width: 100%; object-fit: contain; }
.feature-image { display: grid; place-items: center; }.feature-image img { max-height: 800px; }

.lookbook-section { background: #fffefa; }.lookbook-grid { display: grid; gap: 2px; }.lookbook-entry { border-top: 1px solid var(--line); }.lookbook-entry a { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); min-height: min(72vw, 820px); }.lookbook-entry figure { margin: 0; background: #e4e8e7; }.lookbook-entry img { width: 100%; height: 100%; object-fit: cover; }.lookbook-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: end; gap: 16px; padding: clamp(26px, 5vw, 84px); border-left: 1px solid var(--line); }.lookbook-copy h2 { font-size: clamp(29px, 4vw, 58px); line-height: 1.1; }.lookbook-copy p { max-width: 34ch; margin: 0; font-size: 16px; line-height: 1.8; }.lookbook-pending { display: grid; gap: 18px; max-width: 660px; padding: clamp(30px, 5vw, 72px); border: 1px solid var(--line); background: var(--paper); }.lookbook-pending h2 { font-size: clamp(28px, 3vw, 48px); }.lookbook-pending p { margin: 0; font-size: 16px; line-height: 1.8; }

.modal { padding: 18px; }.modal-dialog { width: min(100%, 1000px); height: min(100%, 900px); }.modal-close, .modal-prev, .modal-next { display: grid; min-width: 44px; height: 44px; place-items: center; padding: 0 10px; font-size: 13px; font-weight: 650; }.modal-caption { max-width: calc(100% - 16px); font-size: 13px; }.toast { z-index: 130; bottom: 24px; font-size: 14px; }
.form-panel h2 { font-size: 24px; }.field label, fieldset legend { font-size: 14px; }.field input, .field select, .field textarea { min-height: 48px; font-size: 16px; }.payment-option, .check-row { font-size: 15px; }.form-notice, .form-message { font-size: 14px; }

.mobile-buy-bar { display: none; }
@media (max-width: 767px) {
  .site-header { position: sticky; }.nav-inner { grid-template-columns: 44px 1fr minmax(118px, auto); }.brand { width: 132px; }.nav-icon { min-width: 44px; font-size: 12px; }.nav-bag { min-width: 68px; }
  .hero { height: 132vh; }.hero-sticky { height: calc(100svh - var(--header-h)); min-height: 0; }.hero-grid { background-size: 33.333% 25%; }.hero--review-pending .hero-model { width: 100%; height: 80%; margin-top: 7%; }.hero-title { align-self: start; margin-top: 24%; font-size: 15vw; }.hero-kicker { top: 5%; width: 190px; font-size: 12px; }.hero-caption { right: 16px; bottom: 19%; width: min(75vw, 285px); font-size: 13px; text-align: left; }.hero-actions { bottom: 9%; left: 16px; gap: 8px 14px; }.hero-shop, .hero-text-link { min-height: 44px; padding: 0 14px; font-size: 14px; }.hero-stage { bottom: 2.5%; font-size: 12px; }.hero-progress { right: 16px; bottom: 3%; width: 54px; }
  .wardrobe { padding-top: 64px; }.wardrobe-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }.wardrobe--pending { min-height: 0; }.rail-wrap { margin-right: -16px; margin-left: -16px; padding: 42px 16px 14px; }.rail-wrap::before { top: 46px; right: 16px; left: 16px; }.product-rail { grid-auto-columns: minmax(235px, 72vw); grid-auto-flow: column; grid-template-columns: none; gap: 13px; overflow-x: auto; padding: 0 14vw 16px; scroll-padding-inline: 14vw; scroll-snap-type: x mandatory; scrollbar-width: thin; }.rail-card { scroll-snap-align: center; transform: translateY(14px) scale(.96); }.rail-card:hover, .rail-card:focus-visible, .rail-card.is-active { transform: translateY(-3px) scale(1.03); }.rail-card figure { height: 360px; }.rail-arrow { top: auto; bottom: 4px; transform: none; }.rail-arrow.prev { left: 16px; }.rail-arrow.next { right: 16px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.product-card-copy { padding: 12px; }.product-card-title { font-size: 14px; }.product-card-meta { font-size: 13px; }.section-note { font-size: 14px; }
  .product-layout { grid-template-columns: 1fr; }.gallery-grid { position: static; }.gallery-thumbs { grid-auto-flow: column; grid-auto-columns: 64px; grid-template-columns: none; overflow-x: auto; order: 2; }.gallery-thumb { min-height: 80px; }.product-info { padding-top: 12px; }.product-info h1 { font-size: 34px; }.pdp { padding-bottom: 122px; }.detail-story-panel { grid-template-columns: 1fr; gap: 16px; padding-top: 24px; }.detail-story-panel > div { padding: 16px 0; }.detail-story-panel img { max-height: 600px; }.product-detail-story { margin-top: 56px; gap: 30px; }.measurements { font-size: 13px; }.measurements th, .measurements td { min-width: 86px; }.accordion-content { overflow-x: auto; }
  .lookbook-entry a { grid-template-columns: 1fr; min-height: 0; }.lookbook-entry figure { min-height: 118vw; }.lookbook-copy { min-height: 0; padding: 30px 0 10px; border-left: 0; }.lookbook-copy h2 { font-size: 32px; }.lookbook-pending { padding: 26px; }
  .mobile-buy-bar { position: fixed; z-index: 65; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(244, 242, 237, .98); }.mobile-buy-bar strong { font-size: 15px; font-variant-numeric: tabular-nums; }.mobile-buy-bar button { min-width: 168px; min-height: 48px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 650; }
  .drawer { width: min(100%, 390px); }.drawer-body { padding: 20px 16px; }.cart-layout h1, .checkout-layout h1 { font-size: clamp(38px, 11vw, 60px); }.checkout-layout .form-panel { padding: 20px; }.form-grid { grid-template-columns: 1fr; }.field.full { grid-column: auto; }.site-footer { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }.hero { height: calc(100svh - var(--header-h)); }.hero-model, .hero-title, .hero-caption { transform: none !important; }.hero-stage { opacity: 1 !important; }.drawer, .drawer-scrim, .rail-card, .toast { transition: none; }.rail-card:hover, .rail-card:focus-visible, .rail-card.is-active { transform: none; }.product-rail { scroll-behavior: auto; }
}

/* AMBIVALENT: reviewed campaign visual layer */
.hero--editorial, .hero--editorial .hero-sticky { background: #f2eee6; }
.hero--editorial .hero-grid { opacity: 0; }
.hero-picture { display: block; width: 100%; height: 100%; }
.hero--editorial .hero-model { object-position: 68% 50%; }
.hero--editorial .hero-title { position: absolute; left: 5%; top: 28%; width: 42%; display: block; margin: 0; padding: 0; font-size: clamp(48px, 5.4vw, 86px); line-height: 1.12; letter-spacing: -.065em; white-space: pre-line; mix-blend-mode: normal; }
.hero--editorial .hero-kicker { left: 5%; top: 13%; width: auto; font-size: 12px; letter-spacing: .1em; }
.hero--editorial .hero-caption { left: 5%; right: auto; bottom: 25%; width: min(340px, 36vw); padding: 0; background: transparent; text-align: left; }
.hero--editorial .hero-actions { left: 5%; bottom: 13%; gap: 12px 20px; }
.hero--editorial .hero-stage { left: 5%; bottom: 5%; }
.hero-film { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; opacity: 0; transform: translate3d(0, var(--hero-y, 3%), 0) scale(var(--hero-scale, 1.025)); transition: opacity .3s; }
.has-live-film .hero-film { opacity: 1; }
.hero-film-toggle { min-height: 44px; padding: 0 2px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 13px; }
.rail-card::before, .rail-card::after { display: none; }
.rail-card figcaption { line-height: 1.5; }
.gallery-main:has(img[src*='/editorial/']) { background: #eeeae3; }
.gallery-main img[src*='/editorial/'] { object-fit: cover; }
@media (max-width: 767px) {
 .hero--editorial .hero-title { left: 6%; top: 6%; width: 88%; font-size: clamp(26px, 7.5vw, 32px); line-height: 1.1; white-space: normal; }
 .hero--editorial .hero-kicker { left: 6%; top: 2.5%; font-size: 10px; letter-spacing: .08em; }
 .hero--editorial .hero-caption { display: none; }
 .hero--editorial .hero-actions { left: 6%; right: 6%; bottom: 8%; gap: 7px 12px; }
 .hero--editorial .hero-stage { left: 6%; bottom: 2.5%; }
 .hero--editorial .hero-model, .hero-film { object-position: 50% 50%; }
 .hero-film-toggle { min-height: 44px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
 .hero-film { display: none; }
 .hero-film, .hero-model { transition: none; transform: none !important; }
}

/* 검수된 화보와 실물 디테일 사이의 의미 있는 스크롤 전환 */
.hero--editorial .hero-title, .hero--editorial .hero-caption { opacity: var(--hero-copy-opacity, 1); transition: opacity .28s ease; }
.hero-product-reveal { position: absolute; z-index: 3; left: 5%; top: 21%; width: min(300px, 34vw); padding: 18px; background: rgba(250, 249, 246, .94); border: 1px solid rgba(24, 24, 24, .08); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(18px); transition: opacity .35s ease, transform .35s ease, visibility .35s; }
.hero-product-reveal.is-revealed { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.hero-product-reveal figure { margin: 0 0 14px; }
.hero-product-reveal img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #efeeeb; }
.hero-product-reveal .eyebrow { margin: 0 0 8px; font-size: 10px; letter-spacing: .12em; }
.hero-product-reveal h2 { margin: 0 0 10px; font-size: clamp(21px, 2.15vw, 29px); line-height: 1.22; letter-spacing: -.06em; white-space: pre-line; }
.hero-product-reveal p { font-size: 13px; line-height: 1.65; }
.hero-product-reveal .inline-link { min-height: 44px; }
@media (max-width: 767px), (prefers-reduced-motion: reduce) { .hero-product-reveal { display: none; } }

/* 원본 필름의 길이와 속도는 유지하고 반복 경계만 승인 포스터로 부드럽게 전환. */
.has-live-film.is-film-joining .hero-film { opacity: 0; }

/* 최종 반응형 시각 마감: 제목과 정보의 그리드·머리 안전영역·입력별 포커스. */
.hero--editorial .hero-title { max-width: none; text-align: left; }
.rail-card:focus-visible figcaption { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 767px) {
 .hero--editorial .hero-title { width: 88%; font-size: clamp(22px, 6vw, 26px); white-space: nowrap; }
 .hero--editorial .hero-text-link, .hero-film-toggle { background: rgba(244, 242, 237, .9); padding-right: 8px; padding-left: 8px; }
}
@media (max-width: 767px) and (min-aspect-ratio: 3/4) {
 .hero--editorial .hero-model, .hero--editorial .hero-film { object-fit: contain; }
}

@media (max-width: 767px) {
 .product-rail { width: 100%; max-width: 100%; min-width: 0; transform: none; transition: none; }
 .rail-card { width: auto; min-width: 0; }
}

/* 행거 후크와 레일의 높이를 맞추며 원본 의류 픽셀·비율은 유지한다. */
.rail-card { transform: translateY(4px) scale(.97); }
.rail-card figure { padding-top: 0; height: clamp(320px, 28vw, 450px); }
.rail-card img { object-position: center top; }

/* Aside 2026-10-22: 장바구니 배지가 글자 끝과 겹치지 않게 */
.nav-bag { margin-right: 10px; }
.nav-bag .cart-count { right: -12px; top: 4px; }

