:root {
  --black: #050505;
  --soft-black: #0a0a0a;
  --white: #f1efe9;
  --muted: #8e8b84;
  --line: rgba(255,255,255,.17);
  --gold: #b4935e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--white); font-family: Manrope, "Noto Sans KR", sans-serif; font-weight: 300; }
button, a { color: inherit; font: inherit; }
a { text-decoration: none; }
button { background: none; border: 0; cursor: pointer; }
.grain { position: fixed; inset: 0; opacity: .09; pointer-events: none; z-index: 20; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E"); }

.site-header { position: fixed; top: 0; left: 0; right: 0; height: 84px; padding: 0 3vw; display: flex; align-items: center; justify-content: space-between; z-index: 15; mix-blend-mode: difference; }
.wordmark { display: flex; align-items: center; gap: 18px; letter-spacing: .48em; font-size: 14px; font-weight: 500; }
.star { font-size: 25px; color: var(--gold); }
.desktop-nav { display: flex; align-items: center; gap: 35px; text-transform: uppercase; letter-spacing: .16em; font-size: 10px; }
.desktop-nav a { transition: opacity .3s; }.desktop-nav a:hover { opacity: .55; }
.bag-button { text-transform: uppercase; letter-spacing: .16em; font-size: 10px; }
.bag-count { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-left: 6px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; padding: 9vw 6vw; }
.hero-video, .hero-fallback, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video { z-index: 0; filter: grayscale(1) brightness(.56) contrast(1.12); }
.hero-fallback { z-index: -1; background: url("assets/collection.png") center/cover; animation: drift 14s ease-in-out infinite alternate; }
.hero-shade { background: linear-gradient(90deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.08) 65%), linear-gradient(0deg, rgba(0,0,0,.65), transparent 45%); }
.hero-copy { position: relative; z-index: 2; max-width: 850px; }
.eyebrow, .section-no { margin: 0 0 28px; color: #b4b0a8; font-size: 9px; letter-spacing: .32em; }
h1 { margin: 0; font-size: clamp(64px, 10vw, 172px); line-height: .78; letter-spacing: -.075em; font-weight: 400; }
h1 span { margin-left: 9vw; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.6); }
.hero-note { margin: 45px 0 30px; color: #bbb8b2; font-size: 11px; line-height: 1.8; letter-spacing: .12em; text-transform: uppercase; }
.primary-link { width: min(310px, 100%); padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.5); display: flex; justify-content: space-between; text-transform: uppercase; font-size: 10px; letter-spacing: .18em; transition: padding .3s; }
.primary-link:hover { padding-left: 10px; }
.hero-meta { position: absolute; right: 3vw; bottom: 3vw; z-index: 2; display: flex; gap: 36px; color: #7e7a75; font-size: 8px; letter-spacing: .25em; writing-mode: vertical-rl; }

.manifesto { min-height: 80vh; padding: 12vw 8vw; display: grid; grid-template-columns: 1fr 3fr 1fr; align-items: start; gap: 4vw; }
.manifesto h2 { margin: 0; font-size: clamp(42px, 6vw, 95px); line-height: 1.05; letter-spacing: -.06em; font-weight: 300; }
.manifesto h2 em { color: #716e68; font-style: normal; }
.manifesto > p:last-child { align-self: end; margin: 0; color: var(--muted); font-size: 11px; line-height: 2; word-break: keep-all; }

.collection { padding: 5vw 2vw 11vw; }
.section-heading { padding: 0 1vw 35px; display: flex; justify-content: space-between; align-items: end; }
.section-heading h2 { margin: 0; font-size: clamp(28px, 4vw, 64px); letter-spacing: -.045em; font-weight: 400; }
.section-heading > p { color: var(--muted); font-size: 9px; letter-spacing: .23em; }
.product-stage { position: relative; overflow: hidden; border: 1px solid #161616; background: #080808; }
.product-stage img { display: block; width: 100%; filter: saturate(.72) contrast(1.05); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.product-stage:hover img { transform: scale(1.015); }
.stage-tag { position: absolute; left: 18px; bottom: 18px; padding: 9px 12px; background: rgba(0,0,0,.8); font-size: 8px; letter-spacing: .2em; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 1px; background: #252525; }
.product-card { background: var(--black); }
.product-image { position: relative; width: 100%; aspect-ratio: 1 / 1.1; padding: 25px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; overflow: hidden; text-align: left; }
.product-image::before { content: ""; position: absolute; inset: 10%; opacity: .55; filter: blur(60px); border-radius: 50%; transition: transform .6s, opacity .6s; }
.product-image:hover::before { transform: scale(1.25); opacity: .85; }
.product-image.pink::before { background: #6e3f44; }.product-image.khaki::before { background: #4d4936; }.product-image.black::before { background: #292929; }
.product-image span, .product-image strong, .product-image i { position: relative; z-index: 1; }
.product-image span { font-size: 9px; letter-spacing: .2em; }
.product-image strong { font-size: clamp(30px, 5vw, 78px); line-height: .86; letter-spacing: -.06em; font-weight: 300; }
.product-image i { align-self: flex-end; font-size: 8px; letter-spacing: .3em; font-style: normal; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.product-info { padding: 16px 4px 30px; display: flex; justify-content: space-between; color: #aaa69f; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.product-info b { color: var(--white); font-weight: 400; }

.detail-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(4,1fr); }
.detail-strip div { min-height: 170px; padding: 25px 2vw; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); }
.detail-strip div:last-child { border: 0; }
.detail-strip span { color: var(--muted); font-size: 8px; letter-spacing: .22em; }
.detail-strip strong { font-size: 12px; letter-spacing: .14em; font-weight: 400; }
.closing { min-height: 75vh; padding: 8vw; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; text-align: center; }
.closing-logo { display: flex; flex-direction: column; gap: 15px; }
.closing-logo span { color: var(--gold); font-size: 50px; }
.closing-logo strong { font-size: clamp(34px, 6vw, 95px); letter-spacing: .5em; margin-right: -.5em; font-weight: 300; }
.closing p { color: var(--muted); font-size: 9px; line-height: 2; letter-spacing: .25em; }
.closing a { border: 1px solid var(--line); padding: 18px 28px; font-size: 9px; letter-spacing: .2em; transition: .3s; }
.closing a:hover { background: var(--white); color: var(--black); }

.purchase-panel { position: fixed; top: 0; right: 0; width: min(510px, 100%); height: 100%; padding: 70px 45px 35px; z-index: 40; background: #f0eee8; color: #080808; transform: translateX(105%); transition: transform .55s cubic-bezier(.75,0,.15,1); overflow-y: auto; }
.purchase-panel.open { transform: translateX(0); }
.panel-close, .modal-close { position: absolute; right: 25px; top: 20px; font-size: 28px; font-weight: 200; }
.purchase-panel .section-no { color: #77736d; }
.purchase-panel h2 { margin: 0 0 14px; font-size: clamp(34px, 4vw, 58px); line-height: .94; letter-spacing: -.055em; font-weight: 400; }
.selected-color { margin: 0 0 38px; color: #77736d; font-size: 10px; letter-spacing: .25em; }
.panel-price { padding: 20px 0; border-top: 1px solid #c9c6bf; border-bottom: 1px solid #c9c6bf; display: flex; justify-content: space-between; font-size: 13px; }
.panel-price span { color: #77736d; font-size: 8px; letter-spacing: .15em; }
.selector { margin: 30px 0; }
.selector label { display: block; margin-bottom: 13px; color: #77736d; font-size: 8px; letter-spacing: .2em; }
.color-options, .size-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; }
.color-options button, .size-options button { padding: 14px 6px; border: 1px solid #c9c6bf; font-size: 8px; letter-spacing: .15em; }
.color-options button.active, .size-options button.active { background: #080808; color: white; border-color: #080808; }
.order-summary { margin: 35px 0; padding: 20px 0; border-top: 1px solid #c9c6bf; }
.order-summary div { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 8px; letter-spacing: .12em; }
.order-summary dd { margin: 0; }
.checkout-button, .modal-confirm { width: 100%; padding: 19px; display: flex; justify-content: space-between; background: #080808; color: white; font-size: 10px; letter-spacing: .13em; }
.checkout-note { color: #89857e; text-align: center; font-size: 8px; }
.panel-backdrop { position: fixed; inset: 0; z-index: 35; background: rgba(0,0,0,.72); opacity: 0; visibility: hidden; transition: .4s; }
.panel-backdrop.show { opacity: 1; visibility: visible; }
.checkout-modal { position: fixed; top: 50%; left: 50%; width: min(460px, calc(100% - 30px)); padding: 55px 40px 35px; z-index: 60; background: #efede7; color: #080808; transform: translate(-50%,-45%); opacity: 0; visibility: hidden; transition: .35s; text-align: center; }
.checkout-modal.show { transform: translate(-50%,-50%); opacity: 1; visibility: visible; }
.modal-star { display: block; color: var(--gold); font-size: 35px; margin-bottom: 22px; }
.checkout-modal h2 { margin: 0 0 15px; font-weight: 400; letter-spacing: -.04em; }
.checkout-modal > p:not(.section-no) { color: #77736d; font-size: 10px; line-height: 1.8; }
.modal-order { margin: 25px 0; padding: 15px; border-top: 1px solid #ccc8bf; border-bottom: 1px solid #ccc8bf; font-size: 9px; letter-spacing: .12em; }
.modal-confirm { justify-content: center; }
body.locked { overflow: hidden; }

@keyframes drift { to { transform: scale(1.08) translateX(-1.5%); } }
@media (max-width: 800px) {
  .site-header { height: 70px; padding: 0 18px; }.wordmark { gap: 10px; letter-spacing: .35em; font-size: 11px; }.desktop-nav { display: none; }
  .menu-toggle { display: flex; width: 28px; flex-direction: column; gap: 6px; }.menu-toggle span { width: 100%; height: 1px; background: white; }
  .hero { padding: 100px 20px 55px; align-items: center; }.hero-video { display: none; }.hero-fallback { z-index: 0; filter: brightness(.55); }.hero-shade { z-index: 1; }
  h1 { font-size: clamp(57px, 20vw, 100px); }.hero-copy { z-index: 2; }.hero-note { margin-top: 30px; }.hero-meta { display: none; }
  .manifesto { min-height: auto; padding: 100px 20px; display: block; }.manifesto h2 { margin-bottom: 50px; }.manifesto > p:last-child { max-width: 300px; }
  .collection { padding: 20px 8px 80px; }.section-heading { display: block; padding: 0 8px 20px; }.section-heading > p { margin-top: 15px; }
  .product-grid { grid-template-columns: 1fr; }.product-image { aspect-ratio: 1.35 / 1; }.product-info { padding: 14px 6px 25px; }
  .detail-strip { grid-template-columns: repeat(2,1fr); }.detail-strip div { min-height: 130px; }.detail-strip div:nth-child(2) { border-right: 0; }.detail-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .closing { min-height: 60vh; padding: 70px 20px; }.closing-logo strong { font-size: 34px; }
  .purchase-panel { padding: 60px 20px 25px; }.purchase-panel h2 { font-size: 39px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
