:root {
  --byz-surface: #ffffff;
  --byz-cream: #fff7e8;
  --byz-soft: #f7f1ea;
  --byz-text: #171717;
  --byz-muted: #6d625a;
  --byz-border: #e8e1d8;
  --byz-red: #e92525;
  --byz-blue: #1256d8;
  --byz-sky: #9fe8ff;
  --byz-mint: #31c8d5;
  --byz-butter: #ffe65c;
  --byz-pink: #ff6f91;
  --byz-green: #b7f0d0;
  --byz-shadow: 0 10px 30px rgba(23, 23, 23, 0.08);
  --byz-pop-shadow: 8px 8px 0 var(--byz-text);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--byz-text);
  background: var(--byz-surface);
  font-family: Pretendard, "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
a.button {
  min-height: 44px;
}

:focus-visible {
  outline: 3px solid var(--byz-blue);
  outline-offset: 3px;
}

.promo {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 8px 16px;
  background: var(--byz-text);
  color: var(--byz-surface);
  font-size: 13px;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--byz-border);
  backdrop-filter: blur(14px);
}

.site-header.dark {
  background: rgba(23, 23, 23, 0.9);
  color: var(--byz-surface);
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.nav {
  width: min(1360px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand-logo {
  justify-self: center;
}

.brand-logo img {
  width: 150px;
  height: auto;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-actions {
  justify-content: flex-end;
}

.nav-links a,
.nav-actions a {
  padding: 10px 0;
}

.nav-links a:hover,
.nav-actions a:hover {
  color: var(--byz-red);
}

.container {
  width: min(1360px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section.soft {
  background: var(--byz-soft);
}

.section.cream {
  background: var(--byz-cream);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--byz-red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 72px;
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0;
}

.lead {
  max-width: 640px;
  color: var(--byz-muted);
  font-size: 18px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--byz-text);
  border-radius: 4px;
  padding: 12px 18px;
  background: var(--byz-text);
  color: var(--byz-surface);
  font-size: 14px;
  font-weight: 900;
  transition: transform 140ms ease-out, background 140ms ease-out, color 140ms ease-out;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--byz-red);
}

.button.secondary {
  background: transparent;
  color: var(--byz-text);
}

.button.secondary:hover {
  background: var(--byz-butter);
}

.button.light {
  border-color: var(--byz-surface);
  background: var(--byz-surface);
  color: var(--byz-text);
}

.chip-row,
.category-rail,
.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip,
.category-rail a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--byz-border);
  border-radius: 4px;
  padding: 8px 12px;
  background: var(--byz-surface);
  font-size: 12px;
  font-weight: 800;
}

.category-rail {
  margin-top: 28px;
}

.category-rail a:hover {
  border-color: var(--byz-text);
  background: var(--byz-butter);
}

.hero {
  min-height: 680px;
  padding: 64px 0 44px;
  display: grid;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 42px;
}

.hero-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--byz-shadow);
}

.hero-media.pop {
  box-shadow: var(--byz-pop-shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero.pop-lookbook {
  background:
    linear-gradient(90deg, rgba(159, 232, 255, 0.95), rgba(255, 111, 145, 0.5)),
    var(--byz-sky);
}

.hero.soft-commerce {
  background: var(--byz-soft);
}

.hero.proof {
  background:
    linear-gradient(135deg, rgba(255, 230, 92, 0.88), rgba(183, 240, 208, 0.72)),
    var(--byz-cream);
}

.hero-note {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.note-card {
  border: 1px solid var(--byz-border);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.82);
}

.note-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}

.note-card span {
  color: var(--byz-muted);
  font-size: 13px;
}

.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.lookbook-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--byz-cream);
}

.lookbook-card.large {
  grid-column: span 2;
}

.lookbook-card img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
}

.lookbook-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  padding: 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 800;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-card {
  border: 1px solid var(--byz-border);
  border-radius: 8px;
  background: var(--byz-surface);
  overflow: hidden;
  transition: transform 180ms ease-out, box-shadow 180ms ease-out;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--byz-shadow);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1.12;
  object-fit: cover;
  background: var(--byz-cream);
}

.product-info {
  padding: 16px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 900;
  color: var(--byz-blue);
}

.product-info p {
  margin-bottom: 12px;
  color: var(--byz-muted);
  font-size: 13px;
}

.price {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 900;
}

.swatch {
  width: 18px;
  height: 18px;
  border: 1px solid var(--byz-border);
  border-radius: 50%;
}

.commerce-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
}

.filter-panel {
  border: 1px solid var(--byz-border);
  border-radius: 8px;
  padding: 22px;
  background: var(--byz-surface);
  align-self: start;
}

.filter-panel ul,
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-panel li,
.check-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--byz-border);
  font-size: 14px;
}

.filter-panel li:last-child,
.check-list li:last-child {
  border-bottom: 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.proof-card {
  border: 1px solid var(--byz-border);
  border-radius: 8px;
  padding: 22px;
  background: var(--byz-surface);
}

.proof-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 30px;
  line-height: 1;
}

.detail-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 32px;
  align-items: center;
}

.detail-copy {
  border: 1px solid var(--byz-border);
  border-radius: 8px;
  padding: 30px;
  background: var(--byz-surface);
}

.fit-table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  font-size: 14px;
}

.fit-table th,
.fit-table td {
  border-bottom: 1px solid var(--byz-border);
  padding: 12px 8px;
  text-align: left;
}

.fit-table th {
  color: var(--byz-muted);
  font-size: 12px;
}

.footer {
  padding: 48px 0;
  border-top: 1px solid var(--byz-border);
  background: var(--byz-text);
  color: var(--byz-surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 32px;
}

.footer img {
  width: 140px;
  margin-bottom: 18px;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.compare-hero {
  padding: 78px 0 40px;
  background: linear-gradient(135deg, var(--byz-cream), var(--byz-sky));
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.compare-card {
  border: 1px solid var(--byz-text);
  border-radius: 8px;
  overflow: hidden;
  background: var(--byz-surface);
}

.compare-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.compare-card div {
  padding: 18px;
}

.sample-badge {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 4px;
  padding: 6px 8px;
  background: var(--byz-butter);
  font-size: 11px;
  font-weight: 900;
}

@media (max-width: 1024px) {
  h1 {
    font-size: 52px;
  }

  .hero-grid,
  .detail-preview,
  .commerce-layout {
    grid-template-columns: 1fr;
  }

  .lookbook-grid,
  .product-grid,
  .proof-grid,
  .compare-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .promo {
    display: block;
    text-align: center;
  }

  .nav {
    width: min(100% - 24px, 1360px);
    min-height: auto;
    padding: 12px 0;
    grid-template-columns: auto 1fr auto;
  }

  .brand-logo {
    justify-self: start;
  }

  .brand-logo img {
    width: 118px;
  }

  .nav-links {
    grid-column: 1 / -1;
    order: 3;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .nav-actions {
    gap: 12px;
    font-size: 11px;
  }

  .container {
    width: min(100% - 24px, 1360px);
  }

  .section {
    padding: 48px 0;
  }

  .hero {
    min-height: auto;
    padding: 38px 0;
  }

  h1 {
    font-size: 40px;
    line-height: 1;
  }

  h2 {
    font-size: 28px;
  }

  .lead {
    font-size: 16px;
  }

  .section-head,
  .hero-note {
    display: block;
  }

  .note-card {
    margin-top: 10px;
  }

  .lookbook-grid,
  .product-grid,
  .proof-grid,
  .compare-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .lookbook-card.large {
    grid-column: span 1;
  }

  .category-rail {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}
