:root {
  --black: #111111;
  --white: #ffffff;
  --stone: #f2efe9;
  --stone-dark: #e6e1d6;
  --sand: #ded4c2;
  --line: #e4e2dd;
  --text-soft: #6b6b68;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--black);
  background: var(--white);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---------- Top utility bar ---------- */
.top-bar {
  background: var(--black);
  color: var(--white);
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 12px;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 22px 32px 16px;
  text-align: center;
  position: relative;
}

.wordmark {
  display: inline-block;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--black);
}

.wordmark span { font-weight: 700; }

.nav-primary {
  display: flex;
  justify-content: center;
  gap: 38px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.nav-primary a {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.nav-primary a:hover,
.nav-primary a.active {
  border-color: var(--black);
}

.nav-primary a.nav-sale {
  color: #b5121b;
}
.nav-primary a.nav-sale:hover,
.nav-primary a.nav-sale.active {
  border-color: #b5121b;
}

.menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 26px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--black);
  margin: 5px 0;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--line);
  padding: 6px 24px 16px;
}
.nav-mobile a {
  padding: 12px 0;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.nav-mobile.open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, var(--stone) 0%, var(--stone-dark) 100%);
  overflow: hidden;
}

.hero-graphic {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
}

.hero-content {
  position: relative;
  width: 100%;
  padding: 0 40px 56px;
  text-align: center;
}

.hero-eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 68px);
  font-weight: 300;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-line {
  display: inline-block;
  padding: 13px 34px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--black);
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-line:hover { background: var(--black); color: var(--white); }

.btn-solid {
  display: inline-block;
  padding: 13px 34px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
  transition: opacity 0.2s ease;
}
.btn-solid:hover { opacity: 0.75; }

/* ---------- Category tiles ---------- */
.category-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  margin: 1px 0;
}

.category-tile {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--stone);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.category-tile:nth-child(1) { background: #efe9df; }
.category-tile:nth-child(2) { background: #e4ded2; }
.category-tile:nth-child(3) { background: #ece6da; }
.category-tile:nth-child(4) { background: #e1dccf; }

.category-tile-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: transform 0.4s ease;
}
.category-tile:hover .category-tile-icon { transform: scale(1.04); }

.category-tile-label {
  position: relative;
  padding: 26px 0;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: linear-gradient(0deg, rgba(255,255,255,0.75), rgba(255,255,255,0));
  width: 100%;
  text-align: center;
}

/* ---------- Section head ---------- */
.section-head {
  text-align: center;
  padding: 64px 24px 8px;
}
.section-head span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: 26px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
  max-width: 1400px;
  margin: 32px auto 0;
  padding: 0 32px 80px;
}

.product-card { cursor: default; }

.product-media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--stone);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  overflow: hidden;
}
.product-media::before {
  content: "";
  position: absolute;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.35), transparent 70%);
  filter: blur(2px);
}
.product-media svg {
  width: 64%;
  height: 64%;
  position: relative;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,0.16));
  transition: transform 0.35s ease;
}
.product-card:hover .product-media svg { transform: scale(1.05) translateY(-2px); }

.product-card:nth-child(4n+1) .product-media { background: #efece5; }
.product-card:nth-child(4n+2) .product-media { background: #e7e1d3; }
.product-card:nth-child(4n+3) .product-media { background: #ece5d8; }
.product-card:nth-child(4n+4) .product-media { background: #1a1a1a; color: var(--stone); }

.product-tag-new {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--white);
  padding: 4px 9px;
}

.product-tag-sale {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: #e5484d;
  color: var(--white);
  padding: 4px 9px;
}

.product-name {
  font-size: 13px;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.product-price {
  font-size: 13px;
  color: var(--black);
}
.product-price .old {
  color: var(--text-soft);
  text-decoration: line-through;
  margin-right: 8px;
  font-size: 12px;
}

/* ---------- Sale banner ---------- */
.sale-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  background: var(--black);
  color: var(--white);
  padding: 34px 24px;
  text-align: center;
}
.sale-banner h3 {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.sale-banner .sale-word { color: #e5484d; font-weight: 600; }
.sale-banner .btn-line {
  border-color: var(--white);
  color: var(--white);
}
.sale-banner .btn-line:hover { background: var(--white); color: var(--black); }

/* ---------- Sample banner ---------- */
.sample-banner {
  text-align: center;
  padding: 14px 20px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--stone);
}

/* ---------- Editorial strip ---------- */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  margin-top: 20px;
}
.editorial-panel {
  aspect-ratio: 16 / 10;
  background: var(--stone-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.editorial-panel:first-child { background: #111111; color: #f2efe9; }
.editorial-panel svg { width: 32%; opacity: 0.9; }
.editorial-caption {
  position: absolute;
  bottom: 22px;
  left: 22px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
}
.editorial-panel:not(:first-child) .editorial-caption { color: var(--black); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 48px 24px 28px;
  text-align: center;
}
.footer-cols {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  text-align: left;
}
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-soft);
  padding: 5px 0;
}
.footer-col a:hover { color: var(--black); }

.footer-bottom {
  font-size: 11px;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}
.footer-bottom a { text-decoration: underline; }
.credit { margin-top: 10px; font-size: 11px; color: var(--text-soft); }
.credit a { text-decoration: underline; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-primary { display: none; }
  .menu-toggle { display: block; }
  .category-tiles { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; padding: 0 16px 60px; }
  .editorial { grid-template-columns: 1fr; }
  .footer-cols { gap: 32px; }
}
