:root {
  --ink: #1a0f12;
  --wine: #8b2e3a;
  --wine-deep: #5c1c26;
  --blush: #e8b4b8;
  --cream: #f6ede6;
  --paper: #fff8f3;
  --gold: #c4a574;
  --muted: #7a6864;
  --line: rgba(26, 15, 18, 0.1);
  --shadow: 0 24px 60px rgba(26, 15, 18, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Manrope, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
body.drawer-open { overflow: hidden; }
h1, h2, h3, .logo, .eyebrow {
  font-family: "Cormorant Garamond", Georgia, serif;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { max-width: 100%; display: block; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
}

.cursor {
  display: none;
  position: fixed;
  z-index: 90;
  width: 14px;
  height: 14px;
  border: 1px solid var(--wine);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .25s, height .25s, background .25s;
  mix-blend-mode: multiply;
}
.cursor.is-hot { width: 42px; height: 42px; background: rgba(139, 46, 58, 0.08); }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
  body, a, button { cursor: none; }
}

.promo-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.promo-bar__sep { opacity: 0.4; }

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 32px;
  background: rgba(246, 237, 230, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.18em;
}
.nav { display: flex; gap: 22px; font-size: 14px; }
.nav a { position: relative; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--wine);
  transition: width .35s ease;
}
.nav a:hover::after { width: 100%; }
.header__actions { display: flex; align-items: center; gap: 18px; }
.header__mail { font-size: 13px; color: var(--muted); }
.cart-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
}
.cart-btn__count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--wine);
  color: #fff;
  font-size: 11px;
  line-height: 18px;
}

.hero {
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 48px 56px 72px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--wine);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.92;
  font-weight: 600;
}
.hero h1 em { font-style: italic; color: var(--wine); }
.hero__lead { max-width: 440px; color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero__stage {
  position: relative;
  height: 560px;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  animation: float 8s ease-in-out infinite;
}
.orb--a { width: 280px; height: 280px; right: 40px; top: 40px; background: #f0c3c8; }
.orb--b { width: 200px; height: 200px; left: 30px; bottom: 40px; background: #d9c19a; animation-delay: -3s; }

.bottle {
  position: absolute;
  width: 120px;
  height: 220px;
  border-radius: 18px 18px 28px 28px;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  animation: rise 1.2s ease both, float 7s ease-in-out infinite;
}
.bottle::before {
  content: "";
  position: absolute;
  left: 38px; top: -28px;
  width: 44px; height: 28px;
  background: #2a1a1c;
  border-radius: 6px 6px 2px 2px;
}
.bottle::after {
  content: "";
  position: absolute;
  inset: 18px 16px auto;
  height: 70%;
  border-radius: 40%;
  background: linear-gradient(120deg, rgba(255,255,255,.35), transparent 50%);
}
.bottle--1 { background: linear-gradient(180deg, #c45b66, #8b2e3a); left: 16%; top: 18%; }
.bottle--2 { background: linear-gradient(180deg, #f3d5bf, #d9a07a); right: 18%; top: 8%; animation-delay: .15s, -2s; width: 100px; height: 190px; }
.bottle--3 { background: linear-gradient(180deg, #2b1f24, #5c1c26); right: 28%; bottom: 8%; animation-delay: .3s, -4s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-16px) rotate(2deg); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(40px); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--wine { background: var(--wine); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--full { width: 100%; }

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 16px 0;
  background: var(--paper);
}
.marquee__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

section { padding: 88px 56px; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2, .about h2, .cta h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
}

.cats__grid, .why__grid, .delivery__grid, .reviews__grid {
  display: grid;
  gap: 16px;
}
.cats__grid { grid-template-columns: repeat(4, 1fr); }
.cat {
  position: relative;
  min-height: 180px;
  padding: 22px;
  border-radius: 22px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  transition: transform .4s ease;
}
.cat:hover { transform: translateY(-6px); }
.cat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,.05), rgba(0,0,0,.35));
  z-index: -1;
}
.cat b { display: block; font-size: 28px; font-family: "Cormorant Garamond", serif; }
.cat span { font-size: 13px; opacity: .85; }

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

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}
.filter.is-on { background: var(--ink); color: var(--cream); }

.card {
  background: var(--paper);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line);
  transition: transform .35s ease, box-shadow .35s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card__visual {
  position: relative;
  height: 230px;
  display: grid;
  place-items: center;
}
.card__visual svg { width: 86px; height: 150px; filter: drop-shadow(0 16px 20px rgba(0,0,0,.18)); transition: transform .45s ease; }
.card:hover .card__visual svg { transform: translateY(-8px) rotate(-6deg); }
.card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--wine);
  color: #fff;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.card__body { padding: 16px 18px 20px; }
.card__body h3 { margin: 0 0 6px; font-size: 22px; line-height: 1.15; }
.card__meta { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.card__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-weight: 700; }
.card .btn { min-height: 40px; padding: 0 14px; font-size: 13px; }

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  background: #efe4dc;
}
.about__frame {
  position: relative;
  height: 420px;
}
.about__swatch {
  position: absolute;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.about__swatch--1 { inset: 20px 80px 80px 20px; background: linear-gradient(160deg, #c45b66, #5c1c26); }
.about__swatch--2 { width: 160px; height: 160px; right: 20px; bottom: 30px; background: #f3d5bf; }
.about__swatch--3 { width: 90px; height: 90px; right: 80px; top: 30px; border-radius: 50%; background: var(--gold); }
.about__facts { padding: 0; list-style: none; }
.about__facts li { padding: 8px 0; border-bottom: 1px solid var(--line); }

.why__grid, .delivery__grid { grid-template-columns: repeat(4, 1fr); }
.delivery__grid { grid-template-columns: repeat(3, 1fr); }
.why__card, .delivery__card, .review {
  padding: 24px;
  background: var(--paper);
  border-radius: 22px;
}
.why__card span { color: var(--gold); font-family: "Cormorant Garamond", serif; font-size: 28px; }
.reviews__grid { grid-template-columns: repeat(3, 1fr); }
.review p { font-family: "Cormorant Garamond", serif; font-size: 26px; line-height: 1.2; }
.review cite { color: var(--muted); font-style: normal; font-size: 13px; }

.cta {
  padding: 0 56px 88px;
}
.cta__inner {
  padding: 64px;
  border-radius: 32px;
  background: var(--wine);
  color: #fff;
  text-align: center;
}
.cta .eyebrow { color: var(--blush); }
.cta h2 { margin-bottom: 12px; }

.footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  padding: 40px 56px 56px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.footer__note { grid-column: 1 / -1; font-size: 12px; }

.drawer[hidden], .modal[hidden], .toast[hidden] { display: none; }
.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(26, 15, 18, 0.35);
}
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  animation: slide .35s ease;
}
@keyframes slide { from { transform: translateX(24px); opacity: 0; } }
.drawer__head, .drawer__foot { padding: 20px 22px; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.drawer__list { flex: 1; overflow: auto; padding: 12px 22px; }
.cart-line {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line svg { width: 36px; height: 60px; }
.qty { display: flex; gap: 8px; align-items: center; }
.promo-field { display: grid; gap: 6px; font-size: 13px; margin-bottom: 12px; }
.promo-field input, label input, label textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.drawer__sum { display: flex; justify-content: space-between; }

.icon-btn {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  background: rgba(26, 15, 18, 0.4);
  padding: 20px;
}
.modal__panel {
  position: relative;
  width: min(480px, 100%);
  padding: 32px;
  background: var(--paper);
  border-radius: 24px;
  animation: rise .35s ease;
}
.modal__close { position: absolute; top: 12px; right: 12px; }
.modal form { display: grid; gap: 12px; }
.modal label { display: grid; gap: 6px; font-size: 13px; }

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 80;
  transform: translateX(-50%);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 14px;
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero, .about, .header { display: block; }
  .nav, .header__mail { display: none; }
  .hero, section, .cta, .footer { padding-left: 20px; padding-right: 20px; }
  .hero { min-height: auto; padding-top: 36px; }
  .hero__stage { height: 320px; margin-top: 20px; }
  .cats__grid, .hits__row, .grid, .why__grid, .reviews__grid, .delivery__grid {
    grid-template-columns: 1fr 1fr;
  }
  .cta__inner { padding: 36px 22px; }
}
@media (max-width: 640px) {
  .grid, .hits__row, .cats__grid { grid-template-columns: 1fr; }
}
