:root {
  --bg: #0a0a0b; --bg2: #121214; --line: #26262b; --text: #f2efe9; --muted: #8c8a86;
  --accent: #ff5a1f; --green: #2e4a3a; --beige: #d9ccb4;
  --radius: 18px; --display: 'Archivo', 'Pretendard', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Pretendard', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.eyebrow { font-family: var(--display); font-size: 12px; letter-spacing: .18em; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.notice { background: var(--accent); color: #0a0a0b; text-align: center; font-size: 13px; font-weight: 600; padding: 8px 16px; }

/* NAV */
.nav { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; padding: 18px clamp(16px, 4vw, 48px); background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-color: var(--line); }
.logo { font-family: var(--display); font-weight: 900; font-size: 22px; letter-spacing: .04em; }
.logo span { color: var(--accent); font-size: 12px; vertical-align: top; }
.nav-links { display: flex; gap: 32px; font-size: 14px; }
.nav-links a { color: var(--muted); transition: color .2s; } .nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 8px; }
.nav-btn { padding: 9px 16px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; transition: border-color .2s, background .2s; }
.nav-btn:hover { border-color: #555; }
.cart-btn span { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 99px; background: var(--accent); color: #000; font-size: 11px; font-weight: 700; margin-left: 4px; }

/* HERO */
.hero { position: relative; min-height: calc(100vh - 64px); padding: clamp(40px, 8vh, 96px) clamp(16px, 4vw, 48px) 48px; display: flex; overflow: hidden; }
.hero-orb { position: absolute; width: 70vmax; height: 70vmax; right: -20vmax; top: -15vmax; background: radial-gradient(circle at 40% 40%, rgba(255,90,31,.38), rgba(46,74,58,.25) 45%, transparent 70%); filter: blur(40px); animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-8vmax, 6vmax) scale(1.08); } }
.hero-grain { position: absolute; inset: 0; opacity: .08; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; width: 100%; gap: 40px; }
.hero-title { font-family: var(--display); font-weight: 900; font-size: clamp(64px, 13vw, 210px); line-height: .86; letter-spacing: -.035em; display: flex; flex-direction: column; margin-top: 4vh; }
.hero-title span { display: block; opacity: 0; transform: translateY(40px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-title span:nth-child(2) { animation-delay: .12s; } .hero-title span:nth-child(3) { animation-delay: .24s; }
.hero-title .accent { color: transparent; -webkit-text-stroke: 2px var(--text); }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.hero-copy { color: #c9c5bd; font-size: 17px; line-height: 1.6; max-width: 380px; }
.hero-cta { display: flex; gap: 10px; }
.hero-garment { position: absolute; right: clamp(-60px, 4vw, 80px); bottom: 8%; width: clamp(240px, 36vw, 520px); z-index: 1; opacity: .95; filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-1.5deg); } }
.hero-meta { position: absolute; right: clamp(16px, 4vw, 48px); top: 32px; z-index: 2; display: flex; flex-direction: column; text-align: right; font-family: var(--display); font-size: 11px; letter-spacing: .14em; color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 14px 24px; border-radius: 99px; font-weight: 600; font-size: 15px; transition: transform .15s, background .2s, opacity .2s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--text); color: var(--bg); } .btn-primary:hover { background: var(--accent); }
.btn-ghost { border: 1px solid var(--line); } .btn-ghost:hover { border-color: #666; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.full { width: 100%; }

.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 16px 0; font-family: var(--display); font-weight: 800; letter-spacing: .08em; }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marq 28s linear infinite; white-space: nowrap; }
.marquee-track span:nth-child(even) { color: var(--accent); }
@keyframes marq { to { transform: translateX(-50%); } }

/* SECTIONS */
.section { padding: clamp(64px, 10vw, 128px) clamp(16px, 4vw, 48px); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-title { font-family: var(--display); font-weight: 900; font-size: clamp(40px, 6vw, 84px); letter-spacing: -.03em; line-height: 1; margin-top: 12px; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 8px 16px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; color: var(--muted); transition: all .2s; }
.chip.active, .chip:hover { color: var(--bg); background: var(--text); border-color: var(--text); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card { position: relative; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .3s; }
.card:hover { transform: translateY(-6px); border-color: #3a3a40; }
.card-visual { aspect-ratio: 4/5; display: grid; place-items: center; position: relative; overflow: hidden; }
.card-visual svg { width: 72%; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-visual svg { transform: scale(1.06) rotate(-2deg); }
.badge { position: absolute; top: 14px; left: 14px; font-size: 11px; font-weight: 700; letter-spacing: .1em; padding: 5px 10px; border-radius: 99px; background: var(--accent); color: #000; }
.badge.soldout { background: #333; color: #aaa; }
.card-info { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px 18px; gap: 12px; }
.card-name { font-weight: 600; font-size: 15px; } .card-cat { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-top: 3px; }
.card-price { font-family: var(--display); font-weight: 600; }
.quick-add { position: absolute; right: 14px; bottom: 82px; width: 42px; height: 42px; border-radius: 50%; background: var(--text); color: var(--bg); font-size: 22px; display: grid; place-items: center; opacity: 0; transform: translateY(8px); transition: all .25s; }
.card:hover .quick-add { opacity: 1; transform: none; }

/* LOOKBOOK */
.lookbook { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; padding: 0 clamp(16px, 4vw, 48px); }
.lb-card { position: relative; border-radius: 28px; overflow: hidden; min-height: 560px; display: flex; align-items: flex-end; }
.lb-a { background: linear-gradient(160deg, #1d3328, #0b120e); }
.lb-b { background: linear-gradient(160deg, #e7dcc6, #b9a684); color: #1a1612; }
.lb-visual { position: absolute; inset: 0; display: grid; place-items: center; }
.lb-visual svg { width: 62%; filter: drop-shadow(0 30px 50px rgba(0,0,0,.45)); }
.lb-text { position: relative; padding: 36px; max-width: 360px; }
.lb-text h3 { font-family: var(--display); font-weight: 900; font-size: clamp(44px, 5vw, 72px); line-height: .9; letter-spacing: -.03em; margin: 10px 0 14px; }
.lb-b .eyebrow, .lb-b p { color: #4a4036; }

/* ABOUT */
.about-statement { font-size: clamp(28px, 4.2vw, 56px); font-weight: 600; line-height: 1.25; letter-spacing: -.02em; max-width: 1100px; margin-top: 20px; }
.about-statement em { font-style: normal; color: var(--accent); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 64px; }
.stats div { padding: 28px 0; border-right: 1px solid var(--line); padding-left: 20px; }
.stats div:last-child { border-right: 0; }
.stats strong { display: block; font-family: var(--display); font-size: clamp(36px, 4vw, 56px); font-weight: 900; }
.stats span { color: var(--muted); font-size: 14px; }

/* CONTACT / FORMS */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); border-top: 1px solid var(--line); }
.form { display: flex; flex-direction: column; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.form input, .form select, .form textarea { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; color: var(--text); font: inherit; font-size: 15px; outline: none; transition: border-color .2s; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); }
.form-msg { font-size: 14px; min-height: 20px; } .form-msg.err { color: #ff7a6b; } .form-msg.ok { color: #7fe0a8; }

.footer { padding: 64px clamp(16px, 4vw, 48px) 32px; border-top: 1px solid var(--line); }
.footer-logo { font-family: var(--display); font-weight: 900; font-size: clamp(80px, 20vw, 300px); line-height: .8; letter-spacing: -.05em; color: var(--line); white-space: nowrap; overflow: hidden; }
.footer-cols { display: flex; gap: 64px; margin: 40px 0 32px; flex-wrap: wrap; }
.footer-cols div { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.footer-cols strong { color: var(--text); }
.mode-badge { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 99px; border: 1px solid var(--line); font-size: 11px; }

/* DRAWER / MODAL */
.backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 50; }
.backdrop.show { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(440px, 100%); background: var(--bg2); border-left: 1px solid var(--line); z-index: 60; transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.7,.2,1); display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-family: var(--display); font-size: 22px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.sum { display: flex; justify-content: space-between; font-size: 16px; }
.x { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
.line-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line-thumb { width: 64px; height: 76px; border-radius: 10px; display: grid; place-items: center; }
.line-thumb svg { width: 80%; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; margin-top: 8px; }
.qty button { width: 28px; height: 28px; } .qty span { min-width: 22px; text-align: center; font-size: 13px; }
.remove { font-size: 12px; color: var(--muted); text-decoration: underline; }

.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; pointer-events: none; opacity: 0; transition: opacity .25s; }
.modal.open { pointer-events: auto; opacity: 1; }
.modal-card { position: relative; background: var(--bg2); border: 1px solid var(--line); border-radius: 24px; width: min(920px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; transform: translateY(20px) scale(.98); transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.modal.open .modal-card { transform: none; }
.modal-card.narrow { width: min(460px, 100%); }
.modal-x { position: absolute; top: 16px; right: 16px; z-index: 2; background: var(--bg2); }
.pd { display: grid; grid-template-columns: 1.1fr 1fr; }
.pd-visual { display: grid; place-items: center; min-height: 480px; border-radius: 24px 0 0 24px; }
.pd-visual svg { width: 70%; }
.pd-info { padding: 40px 32px; display: flex; flex-direction: column; gap: 16px; }
.pd-info h3 { font-family: var(--display); font-size: 34px; font-weight: 900; letter-spacing: -.02em; line-height: 1; }
.pd-price { font-family: var(--display); font-size: 22px; }
.sizes { display: flex; gap: 6px; } .sizes button { width: 48px; height: 40px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; }
.sizes button.active { background: var(--text); color: var(--bg); }
.pad { padding: 36px 32px; display: flex; flex-direction: column; gap: 16px; }
.pad h3 { font-family: var(--display); font-size: 28px; font-weight: 900; }
.tabs { display: flex; gap: 6px; }
.order-row { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.status { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: #222; letter-spacing: .04em; }
.status.paid, .status.delivered { background: #173d29; color: #7fe0a8; } .status.shipped, .status.preparing { background: #1b2c4a; color: #8fb6ff; }
.status.pending { background: #3d3317; color: #ffd27a; } .status.cancelled { background: #3d1b17; color: #ff8f7a; }
.summary-box { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.summary-box div { display: flex; justify-content: space-between; }
.pay-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pay-opts label { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; gap: 8px; align-items: center; cursor: pointer; color: var(--text); font-size: 14px; }
.pay-opts input { accent-color: var(--accent); }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: var(--text); color: var(--bg); padding: 12px 20px; border-radius: 99px; font-weight: 600; font-size: 14px; opacity: 0; transition: all .3s; z-index: 90; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero-garment { opacity: .35; }
  .lookbook, .contact, .pd { grid-template-columns: 1fr; }
  .pd-visual { min-height: 320px; border-radius: 24px 24px 0 0; }
  .lb-card { min-height: 420px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(2) { border-right: 0; }
  .form .row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .hero-title span, .reveal { opacity: 1; transform: none; } }
