:root {
  --bg: #0a0a0a;
  --surface: #121212;
  --surface-2: #181818;
  --ink: #f3ede2;          /* warm ivory text */
  --muted: #8f877b;
  --line: rgba(212, 175, 95, .16);
  --line-strong: rgba(212, 175, 95, .45);
  --gold: #d4af5f;
  --gold-hi: #f1d78f;
  --gold-lo: #a8823a;
  --gold-grad: linear-gradient(135deg, #f1d78f 0%, #d4af5f 45%, #a8823a 100%);
  --display: "Bodoni Moda", Didot, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, sans-serif;
  --radius: 2px;
  --max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--gold); color: #000; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img, svg { display: block; }
strong { font-weight: 500; }

/* ---------- Header ---------- */
.announce {
  background: var(--gold-grad);
  color: #1a1206;
  text-align: center;
  font-size: 11.5px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 9px 16px;
}
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 20px max(16px, calc((100vw - var(--max)) / 2));
  background: rgba(10, 10, 10, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-family: var(--display); font-size: 22px; font-weight: 400;
  letter-spacing: .22em; text-transform: uppercase; white-space: nowrap;
  color: var(--gold-hi);
}
.logo-la { font-style: italic; text-transform: none; letter-spacing: .02em; color: var(--gold); margin-right: .1em; }
.nav { display: flex; gap: 34px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.nav a { color: #cfc7ba; transition: color .2s; }
.nav a:hover { color: var(--gold-hi); }
.header-right { display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.lang { display: flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.lang button { padding: 4px 2px; color: var(--muted); transition: color .2s; }
.lang button.active { color: var(--gold-hi); border-bottom: 1px solid var(--gold); }
.cart-btn { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.cart-count {
  display: inline-grid; place-items: center;
  min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 11px; background: var(--gold-grad); color: #111;
  font-size: 11px; font-weight: 500; letter-spacing: 0;
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.section { padding: 96px 0; }
.eyebrow { font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; letter-spacing: -.01em; }
h1 { font-size: clamp(46px, 7vw, 92px); }
h2 { font-size: clamp(34px, 4.6vw, 54px); }
h3 { font-size: 22px; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 30px;
  background: var(--gold-grad); color: #120d04;
  font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  border-radius: var(--radius);
  transition: filter .2s, transform .2s;
}
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--gold-hi); border: 1px solid var(--line-strong); }
.btn.ghost:hover { border-color: var(--gold); background: rgba(212, 175, 95, .06); }
.btn.full { width: 100%; }
.btn:disabled { opacity: .5; cursor: wait; }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
  padding: 80px 0 96px;
}
.hero p.lede { font-size: 18px; color: #bdb4a7; max-width: 450px; margin: 26px 0 38px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art {
  position: relative; aspect-ratio: 1 / 1.08;
  background:
    radial-gradient(circle at 50% 62%, rgba(212, 175, 95, .28) 0%, rgba(212, 175, 95, .06) 38%, transparent 62%),
    linear-gradient(#141414, #0c0c0c);
  border: 1px solid var(--line-strong);
  border-radius: 999px 999px 2px 2px;
  display: grid; place-items: end center; overflow: hidden;
}
.hero-art::before {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid var(--line); border-radius: 999px 999px 2px 2px; pointer-events: none;
}
.hero-art .bottles { display: flex; align-items: flex-end; gap: 5%; width: 78%; margin-bottom: 12%; }
.hero-art .bottles > div { flex: 1; }
.hero-art .bottle { width: 100%; filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .6)); }
.hero-art .bottles > div:nth-child(2) { transform: scale(1.2); transform-origin: bottom; z-index: 1; }

/* ---------- Value strip ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values div { padding: 30px 24px; text-align: center; }
.values div + div { border-left: 1px solid var(--line); }
.values strong { display: block; font-family: var(--display); font-size: 21px; font-weight: 400; color: var(--gold-hi); }
.values span { color: var(--muted); font-size: 13.5px; }

/* ---------- Product grid ---------- */
.shop-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.shop-head h2 { margin-top: 10px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 12.5px; letter-spacing: .08em; color: #cfc7ba; transition: all .15s;
}
.chip i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.chip:hover { border-color: var(--line-strong); color: var(--ink); }
.chip.active { background: var(--gold-grad); color: #120d04; border-color: transparent; font-weight: 500; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 34px 22px; }
.card { display: block; }
.card-art {
  position: relative; aspect-ratio: 4 / 5;
  background: radial-gradient(circle at 50% 70%, var(--glow, rgba(212,175,95,.12)) 0%, transparent 60%), var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; place-items: center; overflow: hidden;
  transition: border-color .3s;
}
.card:hover .card-art { border-color: var(--line-strong); }
.card-art .bottle { width: 44%; transition: transform .5s ease; filter: drop-shadow(0 16px 20px rgba(0,0,0,.55)); }
.card:hover .card-art .bottle { transform: translateY(-8px); }
.badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--gold-grad); color: #120d04;
  font-size: 10px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 1px;
}
.card-meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; gap: 12px; }
.card-meta h3 { font-size: 23px; margin-top: 4px; }
.card-meta .price { font-size: 14px; color: var(--gold-hi); white-space: nowrap; }
.family { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.family i { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.card .tag { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ---------- Product page ---------- */
.crumbs { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 30px 0 0; }
.crumbs a:hover { color: var(--gold-hi); }
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; padding: 30px 0 96px; }
.pdp-art {
  background: radial-gradient(circle at 50% 68%, var(--glow) 0%, transparent 58%), var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  aspect-ratio: 1 / 1.1; display: grid; place-items: center; position: sticky; top: 110px;
}
.pdp-art .bottle { width: 38%; filter: drop-shadow(0 26px 34px rgba(0,0,0,.6)); }
.pdp h1 { font-size: clamp(44px, 5.4vw, 68px); margin: 12px 0 12px; }
.pdp .tagline { font-family: var(--display); font-style: italic; font-size: 21px; color: #bdb4a7; }
.pdp .price-lg { font-size: 24px; margin: 24px 0; color: var(--gold-hi); font-family: var(--display); }
.pdp .desc { color: #bdb4a7; margin-bottom: 30px; max-width: 520px; }
.label { font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; display: block; }
.sizes { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.size {
  flex: 1; min-width: 92px; padding: 13px; border: 1px solid var(--line); border-radius: var(--radius);
  text-align: center; transition: border-color .15s, background .15s;
}
.size strong { display: block; font-weight: 500; letter-spacing: .06em; }
.size span { font-size: 13px; color: var(--muted); }
.size:hover { border-color: var(--line-strong); }
.size.active { border-color: var(--gold); background: rgba(212, 175, 95, .07); }
.size.active span { color: var(--gold-hi); }
.qty-row { display: flex; gap: 12px; margin-bottom: 14px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); }
.qty button { width: 42px; height: 100%; font-size: 18px; color: var(--gold-hi); }
.qty span { min-width: 28px; text-align: center; }
.qty-row .btn { flex: 1; }
.ship-note { font-size: 13px; color: var(--muted); margin-top: 8px; }

.pyramid { margin-top: 40px; border-top: 1px solid var(--line); }
.pyramid div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.pyramid dt { font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); padding-top: 3px; }
.pyramid dd { font-family: var(--display); font-size: 19px; }

/* ---------- Cart drawer ---------- */
.scrim {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .6);
  opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 40;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100vw);
  background: var(--surface); z-index: 50; border-left: 1px solid var(--line-strong);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s ease;
  visibility: hidden;
}
body.cart-open .scrim { opacity: 1; pointer-events: auto; }
body.cart-open .drawer { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 24px; }
.icon-btn { font-size: 16px; width: 36px; height: 36px; color: var(--muted); }
.icon-btn:hover { color: var(--gold-hi); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); }
.line-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line-item .thumb { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1; display: grid; place-items: center; }
.line-item .thumb .bottle { width: 48%; }
.line-item h4 { font-family: var(--display); font-size: 18px; font-weight: 400; }
.line-item .sub { font-size: 13px; color: var(--muted); }
.line-item .mini-qty { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 13px; }
.line-item .mini-qty button { width: 24px; height: 24px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--gold-hi); line-height: 1; }
.line-item .remove { font-size: 12px; color: var(--muted); text-decoration: underline; margin-top: 4px; }
.totals div { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 14px; color: #cfc7ba; }
.totals .grand { font-size: 17px; font-weight: 500; margin: 10px 0 16px; color: var(--gold-hi); }
.progress { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.progress .bar { height: 2px; background: var(--line); margin-top: 8px; overflow: hidden; }
.progress .bar i { display: block; height: 100%; background: var(--gold-grad); transition: width .3s; }
.empty { text-align: center; padding: 64px 0; color: var(--muted); }
.empty .btn { margin-top: 20px; }

/* ---------- Checkout (demo) ---------- */
.checkout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; padding: 52px 0 96px; }
.demo-banner {
  background: rgba(212, 175, 95, .08); border: 1px solid var(--line-strong); color: var(--gold-hi);
  padding: 13px 16px; border-radius: var(--radius); font-size: 13.5px; margin-bottom: 30px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 30px; }
.form-grid .span { grid-column: 1 / -1; }
.field label { display: block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: 13px 14px; font: inherit; font-weight: 400;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink);
  color-scheme: dark;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field input:disabled { color: var(--muted); }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; align-self: start; position: sticky; top: 110px; }
.summary h3 { margin-bottom: 12px; font-size: 26px; }
.checkout h2 { font-size: 30px; margin-bottom: 14px; }

/* ---------- Confirmation / content pages ---------- */
.center { text-align: center; max-width: 640px; margin: 0 auto; padding: 110px 16px; }
.center p { color: #bdb4a7; margin: 18px 0 30px; }
.prose { max-width: 700px; margin: 0 auto; padding: 80px 16px 104px; }
.prose h1 { font-size: clamp(42px, 6vw, 64px); margin: 12px 0 26px; }
.prose h2 { font-size: 28px; margin: 40px 0 10px; color: var(--gold-hi); }
.prose p { color: #bdb4a7; margin-bottom: 14px; }

/* ---------- Story band ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.story-art {
  aspect-ratio: 4/3; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: radial-gradient(circle at 50% 70%, rgba(242, 184, 75, .25), transparent 55%), var(--surface);
  display: grid; place-items: center;
}
.story-art .bottle { width: 22%; filter: drop-shadow(0 22px 28px rgba(0,0,0,.6)); }
.story h2 { margin-top: 10px; }
.story p { color: #bdb4a7; margin: 20px 0 28px; }

/* ---------- Footer ---------- */
.site-footer {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px;
  padding: 60px max(16px, calc((100vw - var(--max)) / 2)) 28px;
  border-top: 1px solid var(--line); background: #070707;
}
.site-footer p { color: var(--muted); font-size: 14px; margin-top: 10px; }
.site-footer h4 { font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 400; margin-bottom: 12px; }
.site-footer a { display: block; font-size: 14px; margin-bottom: 7px; color: #cfc7ba; }
.site-footer a:hover { color: var(--gold-hi); }
.site-footer .fine { grid-column: 1 / -1; font-size: 12px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 14px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px);
  background: var(--gold-grad); color: #120d04; font-weight: 500; padding: 12px 22px; border-radius: var(--radius);
  font-size: 14px; opacity: 0; pointer-events: none; transition: all .25s; z-index: 60;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .hero, .pdp, .checkout, .story { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 44px 0 60px; }
  .pdp-art, .summary { position: static; }
  .values { grid-template-columns: 1fr; }
  .values div + div { border-left: 0; border-top: 1px solid var(--line); }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > div:first-child { grid-column: 1 / -1; }
  .section { padding: 64px 0; }
}
@media (max-width: 520px) {
  .logo { font-size: 17px; letter-spacing: .16em; }
  .header-right { gap: 14px; }
  .cart-btn > span:first-child { display: none; }
  .grid { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .card-meta { flex-direction: column; gap: 2px; }
  .card-meta h3 { font-size: 19px; }
  .card .tag { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .pyramid div { grid-template-columns: 84px 1fr; }
}
