:root {
  --ink: #100e11;
  --ink-2: #1d181d;
  --paper: #f7f0ec;
  --paper-2: #eadbd6;
  --rose: #b86f7e;
  --rose-light: #d9a5ae;
  --line: rgba(16, 14, 17, .16);
  --white: #fffaf7;
  --serif: "Times New Roman", "Noto Serif KR", Georgia, serif;
  --sans: Inter, Pretendard, "Noto Sans KR", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
body.locked { overflow: hidden; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { height: 82px; padding: 0 42px; display: flex; align-items: center; justify-content: space-between; gap: 28px; background: rgba(247,240,236,.93); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 20px; letter-spacing: .11em; }
.brand small { display: block; margin-top: 2px; font-family: var(--sans); font-size: 7px; letter-spacing: .2em; }
.brand-mark { width: 38px; height: 38px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-size: 23px; font-style: italic; }
.desktop-nav { display: flex; align-items: center; gap: 35px; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.desktop-nav a { position: relative; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: var(--ink); transition: right .25s ease; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.text-button, .cart-button { border: 0; background: transparent; color: var(--ink); font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.cart-button { border: 1px solid var(--ink); padding: 11px 14px; }

.hero { height: calc(100svh - 82px); min-height: 650px; max-height: 940px; position: relative; overflow: hidden; background: #211c20; color: var(--white); }
.hero > img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,11,13,.82) 0%, rgba(13,11,13,.52) 35%, rgba(13,11,13,.05) 67%, rgba(13,11,13,.18) 100%); }
.hero-copy { position: absolute; z-index: 2; left: clamp(32px, 6vw, 96px); top: 50%; transform: translateY(-50%); max-width: 660px; }
.eyebrow { margin: 0 0 21px; font-size: 10px; font-weight: 800; letter-spacing: .26em; }
.eyebrow.dark { color: var(--rose); }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(58px, 7.4vw, 116px); font-weight: 400; line-height: .79; letter-spacing: -.055em; }
.hero-kicker { margin: 26px 0 8px; font-family: var(--serif); font-size: clamp(23px, 2.2vw, 34px); }
.hero-description { color: rgba(255,250,247,.76); font-size: 13px; line-height: 1.8; }
.hero-cta { display: flex; gap: 12px; margin-top: 27px; }
.primary-button, .ghost-button, .download-button { min-height: 48px; padding: 0 23px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--white); font-size: 11px; font-weight: 800; letter-spacing: .08em; transition: background .2s ease, color .2s ease, transform .2s ease; }
.primary-button { background: var(--white); color: var(--ink); }
.ghost-button { background: transparent; color: var(--white); }
.primary-button:hover, .ghost-button:hover, .download-button:hover { transform: translateY(-2px); }
.ghost-button:hover { background: var(--white); color: var(--ink); }
.hero-credit { position: absolute; right: 24px; bottom: 21px; z-index: 2; margin: 0; font-size: 8px; letter-spacing: .18em; color: rgba(255,255,255,.62); writing-mode: vertical-rl; }
.intro-band { min-height: 76px; padding: 0 5vw; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; background: var(--ink); color: var(--paper); border-top: 1px solid rgba(255,255,255,.12); font-family: var(--serif); font-size: 12px; letter-spacing: .13em; }
.intro-band p { margin: 0; text-align: center; }

.section { padding: 120px clamp(24px, 5vw, 80px); }
.section-heading h2, .lookbook h2 { margin: 0; font-family: var(--serif); font-size: clamp(44px, 5.5vw, 78px); line-height: .94; font-weight: 400; letter-spacing: -.04em; }
.split-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 8vw; align-items: end; }
.heading-note { max-width: 540px; padding-bottom: 8px; font-size: 13px; line-height: 1.8; }
.heading-note p { margin: 0; }
.filter-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 62px 0 22px; }
.filter-button { min-height: 37px; padding: 0 17px; border: 1px solid var(--line); background: transparent; color: #62565b; font-size: 9px; font-weight: 800; letter-spacing: .15em; border-radius: 999px; }
.filter-button.active, .filter-button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px 18px; }
.product-card { min-width: 0; }
.product-image-button { width: 100%; aspect-ratio: 1; padding: 0; border: 0; background: #efe2de; overflow: hidden; position: relative; }
.product-image-button img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.product-image-button:hover img { transform: scale(1.035); }
.product-badge { position: absolute; top: 13px; left: 13px; padding: 7px 10px; background: var(--paper); font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.wish-button { position: absolute; z-index: 2; top: 13px; right: 13px; width: 36px; height: 36px; border: 1px solid rgba(16,14,17,.15); border-radius: 50%; background: rgba(247,240,236,.9); font-size: 16px; }
.wish-button.active { color: var(--rose); background: #fff; }
.product-meta { padding: 15px 3px 0; display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; }
.product-meta h3 { margin: 0; font-family: var(--serif); font-size: 20px; font-weight: 400; }
.product-meta .price { margin: 1px 0 0; font-size: 12px; font-weight: 700; }
.product-meta .sub { grid-column: 1 / -1; margin: 0; color: #796b70; font-size: 10px; letter-spacing: .05em; }
.product-card.hidden { display: none; }

.lookbook { background: #e6d7d3; position: relative; overflow: hidden; }
.lookbook::before { content: "VEILROOM"; position: absolute; left: -20px; top: 260px; color: rgba(16,14,17,.045); font-family: var(--serif); font-size: 14vw; letter-spacing: -.06em; }
.lookbook-title { max-width: 900px; margin-bottom: 62px; position: relative; z-index: 2; }
.lookbook-title > p:last-child { max-width: 550px; margin: 24px 0 0; color: #65575c; font-size: 13px; line-height: 1.8; }
.lookbook-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-flow: dense; gap: 24px; position: relative; z-index: 2; }
.look-card { grid-column: span 4; margin: 0; min-width: 0; background: var(--paper); }
.look-card.look-wide { grid-column: span 8; }
.look-card.look-tall { grid-row: span 2; }
.look-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.look-card.look-wide img { aspect-ratio: 16 / 10; }
.look-card.look-tall img { height: calc(100% - 92px); min-height: 680px; aspect-ratio: auto; }
.look-card figcaption { min-height: 92px; padding: 17px 18px 16px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 5px 14px; }
.look-card figcaption span { grid-column: 1 / -1; color: var(--rose); font-size: 8px; font-weight: 800; letter-spacing: .2em; }
.look-card figcaption strong { font-family: var(--serif); font-size: 23px; font-weight: 400; }
.look-card figcaption p { margin: 0; color: #796b70; font-size: 9px; text-align: right; }

.campaign-film { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 520px); gap: clamp(45px, 8vw, 130px); align-items: center; background: var(--ink); color: #fff; }
.film-copy { max-width: 680px; }
.film-copy h2 { margin: 0; font-family: var(--serif); font-size: clamp(50px, 6.7vw, 98px); line-height: .9; font-weight: 400; letter-spacing: -.05em; }
.film-copy > p:not(.eyebrow) { max-width: 500px; margin: 28px 0 34px; color: rgba(255,255,255,.64); font-size: 12px; line-height: 1.9; }
.film-frame { position: relative; max-width: 520px; justify-self: end; overflow: hidden; background: #080708; }
.film-frame::before { content: "01"; position: absolute; z-index: 2; top: 18px; left: 18px; color: rgba(255,255,255,.8); font-family: var(--serif); font-size: 17px; }
.film-frame video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; cursor: pointer; }
.film-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(8,7,8,.16), transparent 42%, rgba(8,7,8,.38)); transition: opacity .3s ease; }
.film-play { position: absolute; z-index: 3; inset: 0; margin: auto; width: 112px; height: 112px; display: grid; place-content: center; gap: 9px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(12,10,12,.44); color: #fff; backdrop-filter: blur(8px); transition: opacity .25s ease, transform .25s ease, background .25s ease; }
.film-play:hover, .film-play:focus-visible { transform: scale(1.05); background: rgba(12,10,12,.62); }
.film-play span { font-size: 24px; transform: translateX(2px); }
.film-play strong { font-size: 9px; letter-spacing: .13em; }
.film-frame.is-playing .film-play { opacity: 0; pointer-events: none; transform: scale(.9); }
.film-frame.is-playing::after { opacity: .45; }
.film-frame.is-loading .film-play span { animation: filmPulse 1s ease-in-out infinite alternate; }
.film-frame.is-error .film-play { width: 136px; height: 136px; }
.film-sound { position: absolute; z-index: 4; right: 15px; bottom: 15px; min-height: 34px; padding: 0 12px; border: 1px solid rgba(255,255,255,.45); background: rgba(8,7,8,.55); color: #fff; font-size: 8px; font-weight: 800; letter-spacing: .13em; backdrop-filter: blur(8px); }
@keyframes filmPulse { from { opacity: .45; } to { opacity: 1; } }

.primary-button.rose { border: 0; background: var(--rose); color: #fff; }
footer { min-height: 240px; padding: 60px 5vw 34px; display: grid; grid-template-columns: 1fr auto; align-content: space-between; background: var(--ink); color: #fff; }
.footer-brand { grid-column: 1; }
footer > p { grid-column: 2; margin: 0; font-family: var(--serif); font-size: 22px; }
footer > div { grid-column: 1 / -1; display: flex; justify-content: space-between; color: rgba(255,255,255,.48); font-size: 8px; letter-spacing: .14em; }

.drawer-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(8,7,8,.52); opacity: 0; visibility: hidden; transition: .3s ease; }
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; z-index: 90; top: 0; right: 0; width: min(470px, 94vw); height: 100dvh; padding: 30px; display: flex; flex-direction: column; background: var(--paper); transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.cart-drawer.open { transform: translateX(0); }
.drawer-header { display: flex; justify-content: space-between; align-items: start; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.drawer-header h2 { margin: 0; font-family: var(--serif); font-size: 35px; font-weight: 400; }
.icon-close { width: 38px; height: 38px; border: 1px solid var(--line); background: transparent; font-size: 24px; font-weight: 300; }
.cart-items { flex: 1; overflow: auto; }
.empty-cart { padding: 80px 10px; text-align: center; color: #786a6f; font-family: var(--serif); font-size: 20px; }
.cart-item { display: grid; grid-template-columns: 88px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 88px; height: 88px; object-fit: cover; }
.cart-item h3 { margin: 3px 0 7px; font-family: var(--serif); font-size: 17px; font-weight: 400; }
.cart-item p { margin: 0; color: #76676c; font-size: 10px; }
.qty { display: flex; align-items: center; gap: 9px; margin-top: 12px; }
.qty button { width: 23px; height: 23px; border: 1px solid var(--line); background: transparent; }
.remove { align-self: start; border: 0; background: transparent; color: #8e7a80; font-size: 16px; }
.cart-summary { padding-top: 20px; border-top: 1px solid var(--line); }
.cart-summary > div { display: flex; justify-content: space-between; font-family: var(--serif); font-size: 21px; }
.checkout-button { width: 100%; height: 54px; margin-top: 20px; border: 0; background: var(--ink); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.cart-summary > p { color: #7c6e73; font-size: 9px; line-height: 1.6; }

.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 28px; opacity: 0; visibility: hidden; transition: .25s ease; }
.modal.open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8,7,8,.7); }
.modal-panel { position: relative; width: min(1040px, 96vw); max-height: 92dvh; overflow: auto; display: grid; grid-template-columns: 1.06fr .94fr; background: var(--paper); }
.modal-close { position: absolute; z-index: 2; top: 13px; right: 13px; background: var(--paper); }
.modal-image { min-height: 600px; background: #eedfda; }
.modal-image img { width: 100%; height: 100%; object-fit: cover; }
.modal-content { padding: 58px 47px 40px; }
.modal-content h2 { margin: 0; font-family: var(--serif); font-size: 45px; line-height: 1; font-weight: 400; }
.modal-price { margin: 13px 0 22px; font-size: 14px; font-weight: 800; }
.modal-description { color: #62565a; font-size: 12px; line-height: 1.8; }
.modal-specs { margin: 26px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.modal-specs > div { display: grid; grid-template-columns: 90px 1fr; padding: 5px 0; font-size: 10px; line-height: 1.5; }
.modal-specs dt { color: #8b7c81; }
.modal-specs dd { margin: 0; }
fieldset { margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 10px; font-size: 8px; font-weight: 800; letter-spacing: .18em; }
.size-options { display: flex; gap: 7px; }
.size-option { min-width: 44px; height: 40px; border: 1px solid var(--line); background: transparent; font-size: 10px; }
.size-option.active { background: var(--ink); color: #fff; }
.modal-add { width: 100%; margin-top: 26px; border: 0; background: var(--ink); color: #fff; }
.modal-note { text-align: center; color: #8a777d; font-size: 9px; }
.checkout-modal { overflow-y: auto; align-items: start; padding-block: 5vh; }
.checkout-panel { position: relative; z-index: 1; width: min(760px, 94vw); max-height: 90dvh; overflow-y: auto; padding: clamp(34px, 6vw, 70px); background: var(--paper); }
.checkout-close { position: absolute; top: 16px; right: 16px; }
.checkout-panel h2 { margin: 0; font-family: var(--serif); font-size: clamp(38px, 5vw, 60px); line-height: .98; font-weight: 400; letter-spacing: -.04em; }
.checkout-intro > p:not(.eyebrow), .coupon-success > p:not(.eyebrow):not(.coupon-note) { max-width: 610px; margin: 22px 0 0; color: #65575c; font-size: 12px; line-height: 1.8; }
.checkout-selection { margin: 30px 0; border-top: 1px solid var(--line); }
.checkout-selection > div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--line); color: #74666b; font-size: 10px; }
.checkout-selection .checkout-total { padding-top: 17px; color: var(--ink); font-family: var(--serif); font-size: 18px; }
#checkoutForm { display: grid; gap: 10px; }
#checkoutForm > label:first-child { margin-top: 3px; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
#checkoutForm input[type="tel"] { height: 54px; padding: 0 16px; border: 1px solid var(--line); background: #fffaf7; color: var(--ink); outline: none; }
#checkoutForm input[type="tel"]:focus { border-color: var(--rose); box-shadow: 0 0 0 2px rgba(184,111,126,.14); }
.checkout-consent { display: flex; gap: 9px; align-items: flex-start; color: #665a5e; font-size: 10px; line-height: 1.55; }
.checkout-consent input { margin-top: 2px; accent-color: var(--rose); }
.checkout-consent.optional { color: #897980; }
.checkout-submit { width: 100%; min-height: 54px; margin-top: 9px; border: 0; background: var(--ink); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.checkout-submit:disabled { opacity: .55; cursor: wait; }
.checkout-error { min-height: 17px; margin: 0; color: #aa3c4d; font-size: 10px; }
.coupon-success { text-align: center; }
.coupon-success h2 { margin-bottom: 20px; }
.coupon-success > p:not(.eyebrow) { margin-inline: auto; }
.coupon-code { margin: 36px auto 20px; padding: 26px 20px; border: 1px dashed var(--rose); background: #fff7f4; }
.coupon-code span { display: block; margin-bottom: 8px; color: var(--rose); font-size: 9px; font-weight: 800; letter-spacing: .2em; }
.coupon-code strong { font-family: var(--serif); font-size: clamp(33px, 7vw, 52px); font-weight: 400; letter-spacing: .06em; }
.coupon-note { margin: 16px 0 0; color: #897980; font-size: 9px; }
.toast { position: fixed; left: 50%; bottom: 25px; z-index: 120; padding: 13px 18px; background: var(--ink); color: #fff; font-size: 10px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: .25s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 920px) {
  .site-header { height: 68px; padding: 0 18px; }
  .desktop-nav, .text-button { display: none; }
  .brand { font-size: 16px; }
  .brand-mark { width: 33px; height: 33px; }
  .hero { height: 80svh; min-height: 610px; }
  .hero > img { object-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(13,11,13,.82), rgba(13,11,13,.3)); }
  .hero-copy { left: 24px; right: 22px; top: auto; bottom: 48px; transform: none; }
  .hero h1 { font-size: clamp(50px, 14vw, 74px); }
  .desktop-only { display: none; }
  .intro-band { grid-template-columns: 1fr; gap: 13px; padding: 24px; }
  .section { padding: 82px 22px; }
  .split-heading { grid-template-columns: 1fr; }
  .split-heading { gap: 27px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .lookbook-grid { grid-template-columns: repeat(2, 1fr); }
  .look-card, .look-card.look-wide { grid-column: span 1; }
  .look-card.look-tall { grid-row: auto; }
  .look-card.look-wide img, .look-card.look-tall img { height: auto; min-height: 0; aspect-ratio: 3 / 4; }
  .campaign-film { grid-template-columns: 1fr; }
  .film-frame { width: min(100%, 520px); justify-self: start; }
  .modal-panel { grid-template-columns: 1fr; }
  .modal-image { min-height: 0; aspect-ratio: 1; }
  .modal-content { padding: 36px 25px 28px; }
}

@media (max-width: 560px) {
  .hero-cta { flex-direction: column; align-items: stretch; max-width: 260px; }
  .hero-credit { display: none; }
  .section-heading h2, .lookbook h2 { font-size: 42px; }
  .film-copy h2 { font-size: 47px; }
  .filter-row { overflow-x: auto; flex-wrap: nowrap; margin-top: 42px; padding-bottom: 4px; }
  .filter-button { flex: 0 0 auto; }
  .product-grid { grid-template-columns: 1fr; gap-bottom: 34px; }
  .product-meta h3 { font-size: 22px; }
  .lookbook-grid { grid-template-columns: 1fr; gap: 18px; }
  .look-card figcaption { grid-template-columns: 1fr; }
  .look-card figcaption p { text-align: left; }
  footer { grid-template-columns: 1fr; gap: 32px; }
  footer > p, footer > div, .footer-brand { grid-column: 1; }
  footer > div { flex-direction: column; gap: 8px; }
  .modal { padding: 0; }
  .modal-panel { width: 100vw; max-height: 100dvh; height: 100dvh; }
  .modal-content h2 { font-size: 38px; }
  .checkout-modal { padding: 0; }
  .checkout-panel { width: 100vw; max-height: 100dvh; min-height: 100dvh; padding: 62px 22px 34px; }
}

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