:root {
  --ivory: #f3f0ea;
  --mist: #c9c7c1;
  --ink: #171717;
  --burgundy: #6e2633;
  --white: #fff;
  --gray: #77736d;
  --line: rgba(23, 23, 23, 0.18);
  --serif: Didot, "Bodoni 72", "Times New Roman", serif;
  --sans: Pretendard, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--ivory); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, a { color: inherit; }
button { font: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; }

.notice-bar { position: fixed; inset: 0 0 auto; z-index: 41; height: 28px; display: grid; place-items: center; background: #171717; color: var(--ivory); font-size: 10px; letter-spacing: .16em; }
.site-header { position: fixed; inset: 28px 0 auto; z-index: 40; height: 78px; padding: 0 4vw; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: var(--white); background: transparent; border-bottom: 1px solid transparent; transition: background-color .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease; }
.site-header.is-scrolled { color: var(--ink); background: rgba(243,240,234,.96); border-bottom-color: var(--line); box-shadow: 0 8px 24px rgba(23,23,23,.06); backdrop-filter: blur(14px); }
.site-header > .wordmark { grid-column: 2; justify-self: center; }
.wordmark { font-family: var(--serif); font-size: 30px; letter-spacing: .2em; }
.site-header > .header-actions { grid-column: 3; }
.header-actions { justify-self: end; display: flex; gap: 10px; }
.icon-button { position: relative; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; background: none; color: currentColor; cursor: pointer; transition: color .2s ease; }
.icon-button:hover { color: var(--burgundy); }
.icon-button:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }
.icon-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.icon-count { position: absolute; top: 0; right: -2px; min-width: 14px; height: 14px; display: grid; place-items: center; padding: 0 3px; border-radius: 10px; background: var(--burgundy); color: var(--white); font-size: 8px; font-weight: 700; line-height: 1; }

.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; background: var(--ink); color: var(--white); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(17,17,17,.16) 0%, rgba(17,17,17,0) 30%, rgba(17,17,17,.06) 68%, rgba(17,17,17,.38) 100%); }
.hero-image { position: absolute; inset: 0; margin: 0; overflow: hidden; background: #8d9295; cursor: default; touch-action: pan-y; user-select: none; }
.hero-slides { position: absolute; inset: 0; z-index: 0; } /* 슬라이드 겹침 순서를 이 안에 가둬 그라데이션 오버레이가 전환 중에 깜빡이지 않게 */
.hero-slide { position: absolute; inset: 0; z-index: 0; object-position: 50% 35%; opacity: 0; pointer-events: none; filter: saturate(.76) contrast(.96); transform: translateZ(0) scale(1.06); backface-visibility: hidden; will-change: opacity, transform; transition: opacity 1.6s cubic-bezier(.45,0,.25,1), transform 0s linear 1.6s; -webkit-user-drag: none; user-select: none; }
.hero-slide.active { z-index: 2; opacity: 1; pointer-events: auto; transform: translateZ(0) scale(1); transition: opacity 1.6s cubic-bezier(.45,0,.25,1), transform 7s cubic-bezier(.22,.61,.36,1); }
.hero-slide.is-leaving { z-index: 1; opacity: 1; transform: translateZ(0) scale(1); transition: none; }
.hero-slide-seaside { object-position: 50% 48%; }
.hero-slide-studio { object-position: 50% 31%; }
.hero-dots { position: absolute; left: 50%; bottom: 28px; z-index: 3; display: flex; gap: 10px; transform: translateX(-50%); }
.hero-dot { width: 7px; height: 7px; padding: 0; border: 1px solid rgba(255,255,255,.85); border-radius: 50%; background: transparent; cursor: pointer; }
.hero-dot.active { background: var(--white); }
.hero-copy { position: relative; z-index: 2; width: min(620px, 76vw); padding: 0 0 clamp(74px, 9vh, 112px) 5.5vw; display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); pointer-events: none; }
.eyebrow { margin: 0 0 28px; color: var(--mist); font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(58px, 7vw, 108px); font-weight: 400; line-height: .86; letter-spacing: -.04em; text-shadow: 0 2px 26px rgba(0,0,0,.22); }
.primary-link, .secondary-link { width: max-content; padding: 14px 0 10px; border-bottom: 1px solid currentColor; font-size: 10px; font-weight: 700; letter-spacing: .16em; }

.section { padding: 120px 5.5vw; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.section-heading h2, .packaging h2 { margin: 8px 0 0; font-size: clamp(34px, 4vw, 64px); letter-spacing: -.04em; }
.section-heading > p { max-width: 420px; margin: 0; color: var(--gray); font-size: 14px; line-height: 1.7; }
.section-number { margin: 0; color: var(--burgundy); font-family: var(--serif); font-size: 54px; line-height: 1; }
.filter-row { display: flex; gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.filter { padding: 7px 0; border: 0; background: none; color: var(--gray); font-size: 10px; font-weight: 700; letter-spacing: .14em; cursor: pointer; }
.filter.active { color: var(--burgundy); border-bottom: 1px solid var(--burgundy); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; padding-top: 30px; }
.product-card { transition: opacity .25s ease; }
.product-card.hidden { display: none; }
.product-open { width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.product-image { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #d1d1ce; }
.product-image img { transition: transform .55s ease; filter: saturate(.78); }
.product-open:hover img { transform: scale(1.025); }
.product-meta { display: grid; gap: 8px; padding: 16px 2px 0; }
.product-meta strong { font-size: 11px; letter-spacing: .08em; }
.product-meta span { color: var(--gray); font-size: 10px; }

.editorial { min-height: 820px; display: grid; grid-template-columns: 34% 42% 24%; align-items: center; overflow: hidden; background: #ebe7e0; }
.editorial-copy { padding-right: 60px; z-index: 2; }
.editorial-copy h2 { margin: 22px 0 30px; font-family: var(--serif); font-size: clamp(60px, 7vw, 112px); font-weight: 400; line-height: .84; }
.editorial-copy > p:not(.section-number) { max-width: 360px; color: var(--gray); font-size: 15px; line-height: 1.75; }
.secondary-link { display: inline-block; margin-top: 24px; }
.editorial-image { overflow: hidden; }
.editorial-image.main { height: 640px; }
.editorial-image.inset { height: 380px; margin-left: -40px; border: 10px solid #ebe7e0; }
.editorial-image img { filter: saturate(.76) contrast(.95); }

.product-focus { display: grid; grid-template-columns: 58% 42%; min-height: 820px; padding-top: 100px; padding-bottom: 100px; }
.focus-gallery { position: relative; min-height: 620px; }
.focus-main { width: 72%; height: 100%; object-position: 50% 20%; }
.focus-detail { position: absolute; right: 0; bottom: 0; width: 38%; height: 48%; border: 12px solid var(--ivory); }
.focus-copy { display: flex; flex-direction: column; justify-content: center; padding: 40px 5vw; }
.focus-copy h2 { margin: 0; font-family: var(--serif); font-size: clamp(58px, 6vw, 98px); font-weight: 400; line-height: .9; }
.price { margin: 32px 0; font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.focus-copy > p:not(.eyebrow,.price) { max-width: 420px; color: var(--gray); font-size: 14px; line-height: 1.75; }
.swatches { display: flex; gap: 10px; margin: 28px 0; }
.swatch { width: 30px; height: 30px; border: 1px solid var(--line); background: var(--swatch); cursor: pointer; }
.swatch.selected { outline: 1px solid var(--ink); outline-offset: 4px; }
.add-button, .checkout-button, .mobile-checkout, .sheet-add { min-height: 52px; border: 1px solid var(--ink); background: var(--ink); color: var(--white); font-size: 10px; font-weight: 700; letter-spacing: .15em; cursor: pointer; }

.packaging { display: grid; grid-template-columns: 32% 68%; gap: 60px; align-items: center; background: var(--white); }
.packaging-heading p:last-child { color: var(--gray); font-size: 14px; line-height: 1.75; }
.packaging img { height: auto; aspect-ratio: 16/9; object-fit: cover; }
.site-footer { min-height: 240px; padding: 60px 5.5vw; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; background: var(--ink); color: var(--white); }
.site-footer > div:last-child { text-align: right; }
.site-footer p, .site-footer a:not(.wordmark) { color: #aaa7a2; font-size: 10px; line-height: 1.8; letter-spacing: .08em; }

.drawer { position: fixed; top: 0; right: 0; width: min(440px, 92vw); height: 100vh; padding: 30px; background: var(--ivory); z-index: 80; transform: translateX(100%); transition: transform .35s ease; display: flex; flex-direction: column; }
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-family: var(--serif); font-size: 34px; font-weight: 400; }
.drawer-close, .dialog-close, .sheet-close { border: 0; background: none; font-size: 10px; font-weight: 700; letter-spacing: .12em; cursor: pointer; }
.bag-empty { display: grid; place-items: center; flex: 1; color: var(--gray); font-size: 13px; }
.bag-items { flex: 1; padding: 20px 0; overflow-y: auto; }
.bag-item { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.checkout-button { width: 100%; }
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 70; }
.product-dialog { width: min(980px, 92vw); max-height: 88vh; padding: 0; border: 0; background: var(--ivory); color: var(--ink); }
.product-dialog::backdrop { background: rgba(0,0,0,.58); }
.product-dialog[open] { display: grid; grid-template-columns: 56% 44%; }
.dialog-image { min-height: 620px; }
.dialog-copy { position: relative; padding: 90px 54px 48px; display: flex; flex-direction: column; justify-content: center; }
.dialog-copy h2 { margin: 0; font-family: var(--serif); font-size: 48px; font-weight: 400; }
.dialog-copy > p:not(.eyebrow) { color: var(--gray); line-height: 1.7; font-size: 13px; }
.dialog-price { color: var(--ink) !important; font-weight: 700; }
.dialog-close { position: absolute; right: 20px; top: 18px; z-index: 2; }

/* Detail popup */
.detail-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 48px 24px; background: rgba(0,0,0,.72); opacity: 0; transition: opacity .3s ease; cursor: pointer; }
.detail-modal.open { opacity: 1; }
.detail-modal-panel { width: min(650px, 100%); height: 100%; overflow-y: auto; overscroll-behavior: contain; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.35); cursor: auto; transform: translateY(16px); transition: transform .35s ease; }
.detail-modal.open .detail-modal-panel { transform: translateY(0); }
.detail-modal-panel:focus { outline: none; }
.detail-modal-panel img { width: 100%; height: auto; object-fit: initial; }

/* Mobile app prototype */
.app-page { min-height: 100vh; background: #d8d4ce; }
.app-stage { min-height: 100vh; padding: 6vh 5vw; display: grid; grid-template-columns: minmax(250px,1fr) 430px minmax(220px,1fr); gap: 5vw; align-items: center; }
.app-intro h1 { margin: 20px 0 30px; font-family: var(--serif); font-size: clamp(68px, 8vw, 128px); font-weight: 400; line-height: .8; }
.app-intro > p:not(.eyebrow) { max-width: 390px; color: #5f5b57; font-size: 15px; line-height: 1.75; }
.app-intro a { display: inline-block; margin-top: 30px; padding-bottom: 8px; border-bottom: 1px solid; font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.phone-prototype { position: relative; width: 430px; height: 860px; overflow: hidden; border: 10px solid #111; border-radius: 40px; background: var(--ivory); box-shadow: 0 30px 80px rgba(0,0,0,.22); }
.app-header { height: 66px; padding: 16px 18px 8px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); background: rgba(243,240,234,.96); position: absolute; inset: 0 0 auto; z-index: 10; }
.app-header .wordmark { font-size: 20px; }
.app-icon { border: 0; background: none; font-size: 10px; font-weight: 700; cursor: pointer; }
.app-bag-button { justify-self: end; }
.app-screen { display: none; height: 100%; padding: 66px 0 76px; overflow-y: auto; }
.app-screen.active { display: block; }
.app-hero { height: 465px; position: relative; color: var(--white); }
.app-hero img { filter: brightness(.82) saturate(.8); }
.app-hero > div { position: absolute; left: 24px; right: 24px; bottom: 24px; }
.app-hero p { font-size: 9px; letter-spacing: .16em; }
.app-hero h2 { margin: 8px 0 20px; font-family: var(--serif); font-size: 42px; font-weight: 400; line-height: .9; }
.app-hero button, .empty-screen button { min-height: 38px; padding: 0 18px; border: 0; background: var(--white); color: var(--ink); font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.app-section { padding: 28px 18px; }
.app-section-head { display: flex; justify-content: space-between; align-items: center; }
.app-section-head h3 { font-family: var(--serif); font-size: 21px; font-weight: 400; }
.app-section-head button { border: 0; background: none; font-size: 8px; font-weight: 700; }
.app-horizontal-products { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.app-product { padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.app-product img { aspect-ratio: 3/4; }
.app-product strong, .app-product span { display: block; margin-top: 8px; font-size: 8px; }
.app-product span { color: var(--gray); }
.app-title { padding: 36px 18px 18px; }
.app-title p { margin: 0 0 7px; color: var(--burgundy); font-size: 8px; letter-spacing: .14em; }
.app-title h2 { margin: 0; font-family: var(--serif); font-size: 42px; font-weight: 400; }
.app-filter { display: flex; gap: 22px; padding: 0 18px 20px; border-bottom: 1px solid var(--line); }
.app-filter button { padding: 6px 0; border: 0; background: none; color: var(--gray); font-size: 8px; font-weight: 700; }
.app-filter .active { color: var(--burgundy); }
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 10px; padding: 18px; }
.empty-screen { text-align: center; padding: 230px 40px 100px; }
.empty-screen > span { color: var(--burgundy); font-size: 42px; }
.empty-screen h2 { font-family: var(--serif); font-size: 42px; font-weight: 400; }
.empty-screen p { color: var(--gray); font-size: 12px; line-height: 1.6; }
.empty-screen button { margin-top: 20px; background: var(--ink); color: var(--white); }
.bag-screen { padding-left: 18px; padding-right: 18px; }
.bag-screen .app-title { padding-left: 0; }
.mobile-bag-list { min-height: 430px; }
.empty-copy { display: grid; place-items: center; min-height: 360px; color: var(--gray); font-size: 12px; }
.mobile-bag-item { display: flex; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.mobile-total { display: flex; justify-content: space-between; padding: 18px 0; font-size: 11px; }
.mobile-checkout { width: 100%; }
.app-tabbar { height: 70px; display: grid; grid-template-columns: repeat(4,1fr); position: absolute; inset: auto 0 0; border-top: 1px solid var(--line); background: rgba(243,240,234,.98); z-index: 15; }
.app-tabbar button { border: 0; background: none; color: var(--gray); font-size: 7px; font-weight: 700; cursor: pointer; }
.app-tabbar span { display: block; margin-bottom: 5px; font-size: 16px; }
.app-tabbar button.active { color: var(--burgundy); }
.app-product-sheet { position: absolute; inset: auto 0 0; padding: 20px; background: var(--ivory); z-index: 25; transform: translateY(105%); transition: transform .35s ease; box-shadow: 0 -20px 50px rgba(0,0,0,.14); }
.app-product-sheet.open { transform: translateY(0); }
.app-product-sheet img { height: 310px; }
.app-product-sheet p { margin: 18px 0 7px; color: var(--burgundy); font-size: 8px; letter-spacing: .12em; }
.app-product-sheet h2 { margin: 0 0 10px; font-family: var(--serif); font-size: 30px; font-weight: 400; }
.app-product-sheet > strong { font-size: 11px; }
.sheet-close { position: absolute; top: 30px; right: 30px; padding: 8px; background: rgba(243,240,234,.9); }
.sheet-add { width: 100%; margin-top: 20px; }
.app-notes { display: grid; gap: 24px; }
.app-notes div { padding-top: 18px; border-top: 1px solid rgba(23,23,23,.25); }
.app-notes span { font-family: var(--serif); color: var(--burgundy); font-size: 34px; }
.app-notes p { color: #5f5b57; font-size: 12px; }

@media (max-width: 900px) {
  #collection, #editorial, #story, #about { scroll-margin-top: 92px; }
  .notice-bar { font-size: 8px; letter-spacing: .12em; }
  .site-header { height: 64px; padding: 0 20px; grid-template-columns: 1fr auto 1fr; }
  .site-header .wordmark { font-size: 23px; }
  .header-actions { gap: 4px; }
  .site-header .icon-button { margin-right: -6px; }
  .hero { min-height: 100svh; }
  .hero-copy { width: 86%; padding: 0 24px 88px; }
  .hero-slide-seaside { object-position: 43% 50%; }
  .hero-slide-studio { object-position: 51% 28%; }
  .hero-dots { bottom: 24px; }
  .hero h1 { font-size: clamp(48px, 14vw, 66px); }
  .hero .eyebrow { margin-bottom: 12px; }
  .section { padding: 76px 20px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 24px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .editorial { min-height: auto; grid-template-columns: 1fr; padding-bottom: 0; }
  .editorial-copy { padding: 0 0 50px; }
  .editorial-image.main { height: 520px; }
  .editorial-image.inset { display: none; }
  .product-focus { grid-template-columns: 1fr; }
  .focus-gallery { min-height: 520px; }
  .focus-copy { padding: 56px 0 0; }
  .packaging { grid-template-columns: 1fr; gap: 36px; }
  .site-footer { grid-template-columns: 1fr; text-align: left; }
  .site-footer > div:last-child { text-align: left; }
  .product-dialog[open] { grid-template-columns: 1fr; overflow-y: auto; }
  .dialog-image { min-height: 420px; }
  .dialog-copy { padding: 48px 28px; }
  .detail-modal { padding: 24px 16px; }
  .detail-modal-panel { cursor: pointer; }
  .app-stage { padding: 0; display: block; }
  .app-intro, .app-notes { display: none; }
  .phone-prototype { width: 100%; height: 100vh; border: 0; border-radius: 0; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
