:root {
  --ink: #1e1917;
  --muted: #726765;
  --paper: #fcfaf9;
  --soft: #fbf5f7;
  --line: #eadde0;
  --gold: #b3955d;
  --rose: #d9889b;
  --mint: #7ebfb3;
  --ivory: #fffefd;
  --shadow: 0 22px 70px rgba(35, 25, 23, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.hero {
  min-height: 92vh;
  padding: 24px clamp(18px, 4vw, 64px) 56px;
  background:
    linear-gradient(115deg, rgba(252, 250, 249, 0.96), rgba(251, 245, 247, 0.76)),
    url("../assets/logo.png") center right / min(450px, 50vw) no-repeat;
}

.nav,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 168px;
  max-width: 42vw;
  height: auto;
  object-fit: contain;
}

.brand strong,
.brand small,
.footer span {
  display: block;
}

.brand small,
.footer span {
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-link {
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-weight: 650;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 0.76fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  min-height: 74vh;
}

.hero-copy {
  max-width: 760px;
}

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

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.94;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4vw, 4.2rem);
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  font-weight: 650;
}

.hero-copy p:not(.eyebrow) {
  max-width: 590px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-actions,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button,
.filter {
  border: 1px solid rgba(50, 40, 36, 0.15);
  border-radius: 999px;
  padding: 12px 20px;
  background: var(--ivory);
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.25s ease;
}

.button:hover,
.filter:hover {
  border-color: var(--rose);
  background: var(--soft);
}

.button.primary,
.filter.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fffefd;
}

.hero-showcase {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 16px;
  align-items: end;
}

.showcase-card {
  overflow: hidden;
  min-height: 210px;
  border: 1px solid rgba(217, 136, 155, 0.25);
  border-radius: 12px;
  background: rgba(255, 254, 253, 0.9);
  box-shadow: var(--shadow);
}

.showcase-card.large {
  min-height: 480px;
}

.showcase-card.muted {
  transform: translateY(-36px);
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  mix-blend-mode: multiply;
  transition: transform 0.4s ease;
}

.showcase-card:hover img {
  transform: scale(1.05);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  background: var(--ivory);
}

.stats-band div {
  min-height: 116px;
  padding: 24px clamp(18px, 3vw, 48px);
  border-right: 1px solid var(--line);
}

.stats-band strong,
.stats-band span {
  display: block;
}

.stats-band strong {
  font-family: Georgia, serif;
  font-size: clamp(1.7rem, 2.6vw, 3rem);
  font-weight: 500;
  color: var(--gold);
}

.stats-band span {
  color: var(--muted);
  font-size: 0.9rem;
}

.trend-section,
.catalog-section {
  padding: 72px clamp(18px, 4vw, 64px);
}

.section-heading {
  margin-bottom: 30px;
}

.trend-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.trend-grid article {
  min-height: 220px;
  padding: 28px;
  background: var(--ivory);
}

.trend-grid span {
  color: var(--rose);
  font-family: Georgia, serif;
  font-size: 2.1rem;
  display: block;
  margin-bottom: 12px;
}

.trend-grid p,
.product-summary,
.meta {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

.catalog-section {
  background: #fffefd;
}

.catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.search-wrap {
  width: min(440px, 100%);
}

input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 22px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: all 0.3s ease;
}

input:focus {
  border-color: var(--rose);
  background: var(--ivory);
  box-shadow: 0 0 0 3px rgba(217, 136, 155, 0.15);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ivory);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(217, 136, 155, 0.08);
  border-color: var(--rose);
}

.product-media {
  position: relative;
  display: grid;
  aspect-ratio: 1 / 1;
  place-items: center;
  background: linear-gradient(180deg, #fffefd, #faf5f6);
  border-bottom: 1px solid var(--line);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  mix-blend-mode: multiply;
}

.rank {
  position: absolute;
  left: 12px;
  top: 12px;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(30, 25, 23, 0.95);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}

.product-title {
  min-height: 48px;
  margin-bottom: 0;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.4;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 750;
}

.price-band {
  font-family: Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: 4px;
}

.atelier-line {
  margin-top: auto;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: var(--rose);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.empty-state {
  display: none;
  margin-top: 28px;
  color: var(--muted);
  font-size: 1.1rem;
}

.footer {
  padding: 28px clamp(18px, 4vw, 64px);
  border-top: 1px solid var(--line);
  background: var(--soft);
}

@media (max-width: 1100px) {
  .hero-grid,
  .trend-grid,
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid {
    min-height: auto;
    padding-top: 64px;
  }

  .stats-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: auto;
    background-size: 300px;
    background-position: 50% 98%;
  }

  .nav,
  .footer,
  .catalog-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-grid,
  .hero-showcase,
  .stats-band,
  .trend-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .showcase-card.large,
  .showcase-card {
    min-height: 250px;
  }

  .showcase-card.muted {
    transform: none;
  }

  .trend-section,
  .catalog-section {
    padding-block: 48px;
  }
}

@media print {
  .nav-link,
  .hero-actions,
  .filters,
  .search-wrap,
  .footer button {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-card {
    break-inside: avoid;
  }
}
