@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

:root {
  --black:   #0e0e0e;
  --white:   #fafaf8;
  --beige:   #f2ede6;
  --beige-2: #e8e0d6;
  --stone:   #b8b0a4;
  --muted:   #888078;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --nav-h: 64px;
  --max-w: 1400px;
  --pad:   clamp(20px, 4vw, 60px);
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 0.5px solid var(--beige-2);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  gap: 24px;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  flex-shrink: 0;
}

.nav__center {
  display: flex;
  gap: 36px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav__link {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav__link:hover { color: var(--black); }

.nav__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav__icon {
  color: var(--muted);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.nav__icon:hover { color: var(--black); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 20px;
  height: 0.5px;
  background: var(--black);
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  margin-top: var(--nav-h);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2px;
  height: calc(100vh - var(--nav-h));
}

.hero__main {
  position: relative;
  overflow: hidden;
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__main-placeholder {
  font-family: var(--font-display);
  font-size: clamp(120px, 18vw, 280px);
  font-style: italic;
  color: var(--stone);
  user-select: none;
  line-height: 1;
  transition: transform 0.8s ease;
}
.hero__main:hover .hero__main-placeholder { transform: scale(1.03); }

.hero__main-info {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
}

.hero__main-tag {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.hero__main-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.1;
}

.hero__main-price {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--muted);
  margin-top: 8px;
}

.hero__side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
}

.hero__side-item {
  position: relative;
  overflow: hidden;
  background: var(--beige-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hero__side-item:first-child { background: #e8e4de; }
.hero__side-item:last-child  { background: var(--black); }

.hero__side-placeholder {
  font-family: var(--font-display);
  font-size: clamp(60px, 8vw, 110px);
  font-style: italic;
  color: var(--stone);
  user-select: none;
  transition: transform 0.6s ease;
}

.hero__side-item:last-child .hero__side-placeholder { color: rgba(255,255,255,0.12); }
.hero__side-item:hover .hero__side-placeholder { transform: scale(1.05); }

.hero__side-info {
  position: absolute;
  bottom: 24px;
  left: 24px;
}

.hero__side-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
}

.hero__side-item:last-child .hero__side-name { color: var(--white); }

.hero__side-price {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.hero__side-item:last-child .hero__side-price { color: rgba(255,255,255,0.5); }

/* ── MARQUEE ── */
.marquee {
  background: var(--black);
  color: var(--white);
  padding: 13px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  animation: marquee 22s linear infinite;
}
.marquee__item {
  font-family: var(--font-display);
  font-size: 12px;
  font-style: italic;
  letter-spacing: 0.12em;
  color: var(--stone);
  padding: 0 36px;
}
.marquee__sep { color: rgba(255,255,255,0.15); }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SECTION HEADER ── */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
}

.section-eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  line-height: 1;
}

.section-link {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 0.5px solid var(--stone);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.section-link:hover { color: var(--black); border-color: var(--black); }

/* ── CATALOG ── */
.catalog {
  padding: clamp(60px, 8vw, 100px) var(--pad);
}

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

/* ── PRODUCT CARD ── */
.product-card {
  cursor: pointer;
}

.product-card__img {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--beige);
  overflow: hidden;
  position: relative;
  margin-bottom: 14px;
}

.product-card__img-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  font-style: italic;
  color: var(--stone);
  font-weight: 300;
  transition: transform 0.55s ease;
}

.product-card:hover .product-card__img-inner { transform: scale(1.05); }

.product-card__quick-btn {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(14,14,14,0.78);
  color: var(--white);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px;
  text-align: center;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.product-card:hover .product-card__quick-btn { opacity: 1; transform: translateY(0); }

.product-card__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  margin-bottom: 3px;
}

.product-card__sub {
  font-size: 11px;
  color: var(--stone);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.product-card__price {
  font-size: 13px;
  color: var(--muted);
}

/* ── EDITORIAL ── */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  height: 580px;
  margin: 2px 0;
}

.editorial__img {
  background: var(--beige-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.editorial__img-letter {
  font-family: var(--font-display);
  font-size: clamp(100px, 14vw, 200px);
  font-style: italic;
  color: var(--stone);
  user-select: none;
  transition: transform 0.6s ease;
}
.editorial:hover .editorial__img-letter { transform: scale(1.04); }

.editorial__text {
  background: var(--black);
  padding: clamp(40px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.editorial__eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 16px;
}

.editorial__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
}
.editorial__title em { color: var(--stone); }

.editorial__desc {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255,255,255,0.45);
  max-width: 380px;
  margin-bottom: 40px;
}

.editorial__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 0.5px solid rgba(255,255,255,0.25);
  padding-bottom: 4px;
  width: fit-content;
  transition: gap 0.2s;
}
.editorial__cta:hover { gap: 18px; }

/* ── CATEGORIES ── */
.categories {
  padding: clamp(60px, 8vw, 100px) var(--pad);
  background: var(--beige);
}

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

.category-card {
  aspect-ratio: 4/5;
  background: var(--beige-2);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
}

.category-card__bg-letter {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(80px, 12vw, 160px);
  font-style: italic;
  color: var(--stone);
  transition: transform 0.6s ease;
}
.category-card:hover .category-card__bg-letter { transform: scale(1.06); }

.category-card__info {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 28px;
  background: linear-gradient(to top, rgba(14,14,14,0.5) 0%, transparent 100%);
}

.category-card__name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 300;
  color: var(--white);
  display: block;
}

.category-card__count {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: block;
  margin-top: 4px;
}

/* ── NEWSLETTER ── */
.newsletter {
  padding: clamp(80px, 10vw, 120px) var(--pad);
  text-align: center;
  border-top: 0.5px solid var(--beige-2);
}

.newsletter__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
  margin-bottom: 12px;
}

.newsletter__sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 40px;
  letter-spacing: 0.04em;
}

.newsletter__form {
  display: flex;
  max-width: 400px;
  margin: 0 auto;
  border-bottom: 0.5px solid var(--black);
}

.newsletter__input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 0;
  color: var(--black);
}
.newsletter__input::placeholder { color: var(--stone); }

.newsletter__btn {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  padding: 12px 0 12px 16px;
  transition: opacity 0.2s;
}
.newsletter__btn:hover { opacity: 0.45; }

/* ── FOOTER ── */
.footer {
  background: var(--black);
  color: var(--white);
  padding: clamp(48px, 7vw, 80px) var(--pad) 28px;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 300;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.footer__tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  line-height: 1.8;
  max-width: 240px;
}

.footer__col-title {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 18px;
}

.footer__links { display: flex; flex-direction: column; gap: 11px; }

.footer__link {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.footer__link:hover { color: var(--white); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copy {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
}

/* ── PRODUCT DETAIL ── */
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  padding: 16px var(--pad);
  border-bottom: 0.5px solid var(--beige-2);
  margin-top: var(--nav-h);
}
.breadcrumb a:hover { color: var(--black); }
.breadcrumb__sep { color: var(--beige-2); }

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-h) - 45px);
}

.detail-gallery {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.detail-gallery__letter {
  font-family: var(--font-display);
  font-size: clamp(120px, 18vw, 260px);
  font-style: italic;
  color: var(--stone);
  user-select: none;
  transition: transform 0.6s ease;
}
.detail-gallery:hover .detail-gallery__letter { transform: scale(1.04); }

.detail-info {
  padding: clamp(48px, 7vw, 80px) clamp(32px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detail-info__cat {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 14px;
}

.detail-info__name {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 10px;
}

.detail-info__price {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--muted);
  margin-bottom: 32px;
}

.detail-info__desc {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 400px;
  margin-bottom: 36px;
}

.detail-info__label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 12px;
}

.sizes {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.size-btn {
  width: 44px;
  height: 44px;
  border: 0.5px solid var(--beige-2);
  font-size: 11px;
  font-family: var(--font-body);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  cursor: pointer;
  background: transparent;
  letter-spacing: 0.05em;
}
.size-btn:hover, .size-btn.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.detail-info__actions {
  display: flex;
  gap: 10px;
  margin-bottom: 36px;
}

.btn-add {
  flex: 1;
  background: var(--black);
  color: var(--white);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 18px;
  transition: background 0.2s;
  text-align: center;
}
.btn-add:hover { background: #333; }

.btn-wish {
  width: 56px;
  border: 0.5px solid var(--beige-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.2s;
}
.btn-wish:hover { background: var(--black); color: var(--white); border-color: var(--black); }

.detail-info__specs { border-top: 0.5px solid var(--beige-2); }

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 0.5px solid var(--beige-2);
  gap: 16px;
}

.spec-row__key {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  white-space: nowrap;
}

.spec-row__val {
  font-size: 13px;
  color: var(--muted);
  text-align: right;
}

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 200;
  flex-direction: column;
  padding: calc(var(--nav-h) + 20px) var(--pad) var(--pad);
}

.mobile-menu.open { display: flex; }

.mobile-menu__close {
  position: absolute;
  top: 22px; right: var(--pad);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.mobile-menu__link {
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 56px);
  font-style: italic;
  font-weight: 300;
  padding: 14px 0;
  border-bottom: 0.5px solid var(--beige-2);
  transition: color 0.2s, padding-left 0.25s;
}
.mobile-menu__link:hover { color: var(--muted); padding-left: 6px; }

/* ── ANIMATIONS ── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fade-up 0.7s ease forwards; opacity: 0; }
.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 0.22s; }
.d3 { animation-delay: 0.34s; }
.d4 { animation-delay: 0.46s; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .catalog__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .nav__center { display: none; }
  .nav__right .nav__icon:not(:last-child) { display: none; }
  .nav__hamburger { display: flex; }
  .hero { grid-template-columns: 1fr; height: auto; }
  .hero__side { display: none; }
  .hero__main { height: calc(100vw * 1.1); }
  .editorial { grid-template-columns: 1fr; height: auto; }
  .editorial__img { aspect-ratio: 4/3; }
  .categories__grid { grid-template-columns: 1fr 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-gallery { position: relative; height: 70vw; top: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .catalog__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .categories__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}