:root {
  --blush: #f1d7ce;
  --blush-2: #eddad6;
  --cream: #fbf3ee;
  --wine: #842429;
  --wine-2: #6d1c21;
  --line: rgba(132, 36, 41, 0.22);
  --serif: "Lora", Georgia, serif;
  --display: "Cormorant", "Lora", Georgia, serif;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--blush);
  color: var(--wine);
  font: 400 16px/1.65 var(--serif);
  letter-spacing: 0.02em;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

/* ---------- Announcement + header ---------- */
.announce {
  background: var(--wine);
  color: var(--cream);
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.12em;
  padding: 9px var(--gutter);
}
.header {
  position: sticky; top: 0; z-index: 20;
  background: var(--blush);
  border-bottom: 1px solid var(--line);
}
.header__bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 14px var(--gutter);
}
.header__logo img { height: 46px; width: auto; }
.header__actions { display: flex; justify-content: flex-end; gap: 18px; align-items: center; }
.icon-btn { display: inline-flex; align-items: center; gap: 6px; position: relative; }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: -7px; right: -9px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--wine); color: var(--cream);
  font-size: 11px; line-height: 18px; text-align: center;
}
.cart-count[hidden] { display: none; }
.nav {
  display: flex; justify-content: center; gap: clamp(18px, 3vw, 40px);
  padding: 0 var(--gutter) 12px;
  text-transform: uppercase; font-size: 14px; letter-spacing: 0.08em;
}
.nav a { padding: 4px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--wine); }
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; height: min(86vh, 820px); overflow: hidden; background: #2a1a14; }
.hero video, .hero > img { width: 100%; height: 100%; object-fit: cover; }
.hero__copy {
  position: absolute; inset: auto 0 0 0;
  padding: 80px var(--gutter) clamp(36px, 7vh, 72px);
  background: linear-gradient(to top, rgba(40, 14, 12, 0.62), transparent);
  color: var(--cream); text-align: center;
}
.hero__copy h1 {
  margin: 0 0 6px; font: 500 clamp(40px, 6vw, 76px)/1.05 var(--display); letter-spacing: 0.01em;
}
.hero__copy p { margin: 0 0 22px; font-size: clamp(15px, 1.6vw, 18px); }

.btn {
  display: inline-block; padding: 13px 34px;
  background: var(--wine); color: var(--cream);
  text-transform: uppercase; font-size: 14px; letter-spacing: 0.14em;
  border: 1px solid var(--wine); transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--wine-2); }
.btn--light { background: var(--cream); color: var(--wine); border-color: var(--cream); }
.btn--light:hover { background: transparent; color: var(--cream); }
.btn--ghost { background: transparent; color: var(--wine); }
.btn--ghost:hover { background: var(--wine); color: var(--cream); }
.btn--block { display: block; width: 100%; text-align: center; }
.btn[disabled] { opacity: 0.55; cursor: wait; }

/* ---------- Sections ---------- */
.section { padding: clamp(48px, 8vw, 96px) var(--gutter); }
.section__title {
  margin: 0 0 8px; text-align: center;
  font: 400 30px/1.2 var(--serif); letter-spacing: 0.05em;
}
.section__lead { margin: 0 auto 40px; max-width: 560px; text-align: center; }

.toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  max-width: 1320px; margin: 0 auto 24px;
  padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase;
}
.toolbar select {
  font: inherit; color: var(--wine); background: transparent;
  border: 0; text-transform: uppercase; letter-spacing: 0.06em; cursor: pointer;
}

.grid {
  display: grid; gap: clamp(18px, 2.4vw, 32px);
  grid-template-columns: repeat(3, 1fr);
  max-width: 1320px; margin: 0 auto;
}
.card { display: block; text-align: center; }
.card__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--blush-2); }
.card__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity 0.5s ease, transform 1.2s ease;
}
.card__media img + img { opacity: 0; }
.card:hover .card__media img + img { opacity: 1; }
.card:hover .card__media img { transform: scale(1.03); }
.card__title { margin: 16px 0 2px; font-size: 18px; }
.card__sub { margin: 0; font-size: 13px; opacity: 0.8; }
.card__price { margin: 6px 0 0; font-size: 16px; }
.card__add { margin-top: 12px; padding: 9px 22px; font-size: 12px; }

/* ---------- Story / split ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0;
  background: var(--blush-2);
}
.split__media { aspect-ratio: 4 / 5; overflow: hidden; }
.split__media img, .split__media video { width: 100%; height: 100%; object-fit: cover; }
.split__copy { padding: clamp(32px, 6vw, 96px); max-width: 620px; }
.split__copy h2 { margin: 0 0 18px; font: 500 clamp(32px, 4vw, 52px)/1.1 var(--display); }
.split__copy p { margin: 0 0 16px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; margin: 0 0 12px; }

.promises {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  max-width: 1200px; margin: 0 auto; text-align: center;
}
.promises h3 { margin: 10px 0 4px; font-size: 16px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.promises p { margin: 0; font-size: 14px; }
.promises svg { width: 30px; height: 30px; }

/* ---------- Product page ---------- */
.product {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 5vw, 72px);
  max-width: 1320px; margin: 0 auto; padding: clamp(24px, 5vw, 64px) var(--gutter);
}
.gallery__main { aspect-ratio: 3 / 4; background: var(--blush-2); overflow: hidden; }
.gallery__main img, .gallery__main video { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery__thumbs button { width: 72px; aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid transparent; opacity: 0.7; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--wine); opacity: 1; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumb-video { position: relative; }
.thumb-video::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-40%, -50%);
  border: 9px solid transparent; border-left: 14px solid var(--cream);
}
.product__info { position: sticky; top: 140px; align-self: start; }
.crumbs { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; opacity: 0.85; }
.product__info h1 { margin: 0; font: 500 clamp(34px, 4vw, 48px)/1.1 var(--display); }
.product__sub { margin: 4px 0 14px; opacity: 0.85; }
.product__price { font-size: 22px; margin: 0 0 22px; }
.product__desc { margin: 0 0 22px; }
.qty {
  display: inline-flex; align-items: center; border: 1px solid var(--wine); margin-bottom: 14px;
}
.qty button { width: 42px; height: 44px; font-size: 18px; }
.qty input {
  width: 46px; height: 44px; text-align: center; border: 0; background: transparent;
  font: inherit; color: var(--wine); -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy { display: grid; gap: 10px; margin-bottom: 26px; }
details { border-top: 1px solid var(--line); padding: 14px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; text-transform: uppercase; letter-spacing: 0.08em; font-size: 14px; display: flex; justify-content: space-between; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 18px; line-height: 1; }
details[open] summary::after { content: "–"; }
details ul { margin: 12px 0 0; padding-left: 18px; }
details p { margin: 12px 0 0; }

/* ---------- Cart drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(60, 20, 18, 0.35); opacity: 0; pointer-events: none; transition: opacity 0.3s; z-index: 40; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 50;
  width: min(420px, 100%); background: var(--cream);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.35s ease;
}
body.cart-open .scrim { opacity: 1; pointer-events: auto; }
body.cart-open .drawer { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { margin: 0; font-size: 18px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.1em; }
.drawer__body { flex: 1; overflow: auto; padding: 8px 24px; }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); }
.drawer__empty { text-align: center; padding: 60px 0; }
.ship-note { font-size: 13px; text-align: center; margin: 0 0 14px; }
.ship-bar { height: 3px; background: var(--blush); margin-top: 6px; }
.ship-bar span { display: block; height: 100%; background: var(--wine); transition: width 0.3s; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img { width: 72px; aspect-ratio: 3 / 4; object-fit: cover; }
.line__title { margin: 0; font-size: 15px; }
.line__sub { margin: 0 0 8px; font-size: 12px; opacity: 0.8; }
.line .qty { margin: 0; }
.line .qty button { width: 30px; height: 30px; font-size: 15px; }
.line .qty span { width: 28px; text-align: center; font-size: 14px; }
.line__price { text-align: right; font-size: 15px; }
.line__remove { font-size: 12px; text-decoration: underline; margin-top: 6px; opacity: 0.8; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 4px; margin-bottom: 16px; font-size: 15px; }
.totals .grand { font-size: 18px; padding-top: 6px; }
.fine { font-size: 12px; text-align: center; margin: 10px 0 0; opacity: 0.8; }
.err { color: #b0141c; font-size: 13px; text-align: center; margin: 10px 0 0; }

/* ---------- Footer ---------- */
.footer { background: var(--wine); color: var(--cream); padding: 64px var(--gutter) 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; }
.footer img { height: 54px; width: auto; margin-bottom: 14px; }
.footer h4 { margin: 0 0 12px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.footer a:hover { text-decoration: underline; }
.footer__base { max-width: 1200px; margin: 44px auto 0; padding-top: 20px; border-top: 1px solid rgba(251, 243, 238, 0.25); font-size: 12px; letter-spacing: 0.08em; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Simple pages ---------- */
.page { max-width: 720px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--gutter); text-align: center; }
.page h1 { font: 500 clamp(36px, 5vw, 56px)/1.1 var(--display); margin: 0 0 16px; }
.page--left { text-align: left; }
.page--left h2 { font-weight: 400; font-size: 20px; letter-spacing: 0.04em; margin: 36px 0 8px; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .promises { grid-template-columns: repeat(2, 1fr); }
  .split, .product { grid-template-columns: 1fr; }
  .product__info { position: static; }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .announce { font-size: 11px; letter-spacing: 0.06em; }
  .header__bar { padding: 12px var(--gutter); }
  .header__logo img { height: 34px; }
  .menu-btn { display: inline-flex; }
  .nav { display: none; flex-direction: column; align-items: center; gap: 6px; padding-bottom: 16px; }
  body.menu-open .nav { display: flex; }
  .grid { gap: 22px 14px; }
  .card__title { font-size: 16px; }
  .hero { height: 78vh; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
