:root {
  --bg: #130f12;
  --bg-soft: #1f181d;
  --panel: rgba(255, 247, 238, 0.08);
  --panel-strong: rgba(255, 247, 238, 0.14);
  --paper: #f6ece2;
  --paper-deep: #e8d7c6;
  --ink: #fff8f0;
  --muted: #c6b5a7;
  --red: #9a1919;
  --red-bright: #c73131;
  --gold: #c79a4d;
  --line: rgba(255, 248, 240, 0.16);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', 'Noto Sans KR', system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(151, 25, 25, 0.24), transparent 34rem),
    radial-gradient(circle at 80% 10%, rgba(199, 154, 77, 0.16), transparent 30rem),
    linear-gradient(135deg, #0d0a0d 0%, #191115 42%, #281819 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

a { color: inherit; text-decoration: none; }

img {
  max-width: 100%;
  display: block;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.lookbook-card img,
.hero-feature-card img,
.detail-image-panel img {
  pointer-events: none;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
}

.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold); font-family: var(--serif); font-size: 25px; }
.brand-text { font-size: 14px; }
.topnav { display: flex; gap: 22px; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; }
.topnav a:hover { color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
  min-height: calc(100vh - 110px);
  padding: 36px 0 80px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 800;
}

h1, h2, h3, p { margin-top: 0; }

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(68px, 10.5vw, 132px);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: 0.035em;
}

.subtitle {
  margin: 22px 0 18px;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 54px);
  line-height: 0.95;
  color: var(--paper);
}

.hero-korean {
  max-width: 650px;
  color: var(--paper-deep);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); font-weight: 800; letter-spacing: 0.04em; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--paper); color: #241313; border-color: var(--paper); }
.button.ghost { color: var(--paper); background: rgba(255,255,255,0.04); }

.hero-card-stage { perspective: 1200px; }
.hero-feature-card, .lookbook-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--panel);
  border: 1px solid rgba(255, 248, 240, 0.22);
  box-shadow: var(--shadow);
}
.hero-feature-card { aspect-ratio: 3 / 4; transform: rotate(2deg); }
.hero-feature-card img, .lookbook-card img { width: 100%; height: 100%; object-fit: cover; }
.skeleton-card { display: grid; place-items: center; min-height: 520px; color: var(--muted); }
.card-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 42px 24px 24px;
  background: linear-gradient(to top, rgba(10, 6, 7, .92), rgba(10, 6, 7, .55), transparent);
}
.card-overlay h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 34px; line-height: 0.95; letter-spacing: 0.06em; text-transform: uppercase; }
.card-overlay p { margin: 0; color: var(--paper-deep); }

.section-heading { margin-bottom: 24px; }
.section-heading h2 { margin: 0 0 8px; font-family: var(--serif); font-size: clamp(38px, 7vw, 74px); line-height: .9; }
.section-heading p { color: var(--muted); line-height: 1.7; }
.row-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.result-count { white-space: nowrap; }

.filters-section, .cards-section { padding: 70px 0; border-top: 1px solid var(--line); }
.filters-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.filter-group { padding: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; }
.filter-group h3 { margin: 0 0 4px; font-family: var(--serif); font-size: 30px; }
.filter-group p { color: var(--muted); font-size: 13px; line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { cursor: pointer; border: 1px solid rgba(255,248,240,.18); color: var(--paper-deep); background: rgba(255,255,255,.045); border-radius: 999px; padding: 8px 12px; font: 700 12px/1 var(--sans); letter-spacing: .03em; }
.chip:hover, .chip.active { background: var(--paper); border-color: var(--paper); color: #2a1715; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.lookbook-card { display: block; aspect-ratio: 3 / 4; transition: transform .22s ease, border-color .22s ease; }
.lookbook-card:hover { transform: translateY(-8px) rotate(-1deg); border-color: rgba(199,154,77,.85); }
.card-meta-line { margin-top: 13px; display: flex; gap: 7px; flex-wrap: wrap; }
.tag { display: inline-flex; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 5px 8px; color: var(--paper-deep); font-size: 11px; font-weight: 800; background: rgba(0,0,0,.18); }
.empty-state { padding: 42px; border: 1px dashed rgba(255,255,255,.22); border-radius: 22px; color: var(--muted); }
.hidden { display: none !important; }

.detail-root { padding: 28px 0 80px; }
.detail-hero { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; align-items: start; }
.detail-image-panel { background: var(--paper); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(255, 248, 240, .24); }
.detail-image-panel img { width: 100%; height: auto; }
.detail-info { position: sticky; top: 20px; padding: 28px; background: rgba(255, 247, 238, 0.09); border: 1px solid var(--line); border-radius: 24px; }
.detail-info h1 { margin: 0 0 8px; font-family: var(--serif); font-size: 55px; line-height: .88; text-transform: uppercase; }
.detail-info .detail-title { font-family: var(--serif); color: var(--gold); font-size: 30px; margin-bottom: 18px; }
.detail-desc { color: var(--paper-deep); line-height: 1.75; }
.meta-list { display: grid; gap: 15px; margin: 28px 0; }
.meta-item span { display: block; color: var(--gold); font-size: 11px; text-transform: uppercase; letter-spacing: .15em; font-weight: 800; margin-bottom: 5px; }
.meta-item strong { color: var(--paper); font-size: 15px; }
.notice { margin-top: 22px; padding: 16px; border-radius: 16px; background: rgba(154,25,25,.18); border: 1px solid rgba(199,154,77,.22); color: var(--paper-deep); font-size: 12px; line-height: 1.6; }
.back-link { display: inline-flex; margin-bottom: 18px; color: var(--gold); font-weight: 800; }
.detail-loading, .error-box { padding: 60px 0; color: var(--muted); }

.site-footer { margin-top: 40px; padding: 28px 0 46px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.7; }

@media (max-width: 900px) {
  .hero, .detail-hero { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-feature-card { max-width: 430px; margin: 0 auto; }
  .filters-grid { grid-template-columns: 1fr; }
  .detail-info { position: static; }
  .row-heading { display: block; }
}

@media (max-width: 560px) {
  .site-shell { width: min(100% - 22px, 1180px); }
  .topbar { align-items: flex-start; gap: 16px; }
  .topnav { gap: 12px; font-size: 11px; }
  .hero h1 { font-size: 70px; }
  .subtitle { font-size: 30px; }
  .hero-korean { font-size: 15px; }
  .card-grid { grid-template-columns: 1fr; }
  .detail-info h1 { font-size: 42px; }
}
