:root {
  --ink: #251c17;
  --cream: #f4efe5;
  --paper: #fbf8f1;
  --terracotta: #a84229;
  --rust: #742d20;
  --gold: #ca9d62;
  --olive: #74724c;
  --line: rgba(37, 28, 23, 0.16);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
.noise {
  position: fixed; inset: 0; z-index: 99; pointer-events: none; opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  height: 86px; padding: 0 clamp(24px, 5vw, 78px); display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line); background: rgba(251,248,241,.9); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 40;
}
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font: italic 600 24px var(--serif); }
.brand strong, .footer-brand strong { font: 700 20px/1 var(--serif); display: block; }
.brand small, .footer-brand small { font-size: 9px; text-transform: uppercase; letter-spacing: .28em; display: block; margin-top: 3px; }
nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); font-size: 13px; font-weight: 600; }
nav a:not(.nav-cta) { position: relative; }
nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 1px; background: var(--ink); transition: width .25s; }
nav a:hover::after { width: 100%; }
.nav-cta { padding: 11px 17px; border: 1px solid var(--ink); border-radius: 100px; }

.hero { min-height: calc(100svh - 86px); display: grid; grid-template-columns: 1.05fr .95fr; padding: clamp(56px, 8vw, 118px) clamp(24px, 7vw, 108px) 80px; overflow: hidden; }
.hero-copy { max-width: 720px; position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; text-transform: uppercase; letter-spacing: .19em; font-size: 10px; font-weight: 700; }
.eyebrow span { width: 28px; height: 1px; background: currentColor; }
h1, h2 { font-family: var(--serif); letter-spacing: -.045em; margin: 0; line-height: .98; }
h1 { font-size: clamp(58px, 7.3vw, 112px); max-width: 890px; }
h1 em, h2 em { color: var(--terracotta); font-weight: 600; }
.hero-lead { max-width: 570px; font-size: clamp(16px, 1.35vw, 20px); color: #62554d; margin: 32px 0; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.button { border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 32px; border-radius: 100px; padding: 15px 22px; font-size: 13px; font-weight: 700; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(37,28,23,.18); }
.button-primary { color: #fff; background: var(--ink); }
.text-link { font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--ink); padding: 8px 0; }
.hero-stats { display: flex; gap: clamp(32px, 5vw, 72px); margin: clamp(52px, 8vw, 100px) 0 0; }
.hero-stats div { display: grid; }
.hero-stats dt { font: 600 clamp(24px, 3vw, 42px)/1 var(--serif); }
.hero-stats dd { margin: 8px 0 0; font-size: 10px; text-transform: uppercase; letter-spacing: .13em; color: #7e6c60; }

.hero-art { position: relative; min-height: 580px; isolation: isolate; }
.hero-art::before { content: ""; position: absolute; width: min(38vw, 580px); aspect-ratio: 1; left: 50%; top: 48%; transform: translate(-50%,-50%); background: radial-gradient(circle at 40% 35%, #e9c49d, #b34b31 58%, #642b23 100%); border-radius: 50%; filter: saturate(.82); box-shadow: inset -40px -34px 80px rgba(57,21,14,.28), 0 35px 80px rgba(103,47,33,.2); z-index: -2; }
.hero-art::after { content: ""; position: absolute; inset: 16% 10%; background: radial-gradient(ellipse, rgba(255,230,195,.28), transparent 62%); filter: blur(22px); z-index: -1; }
.orbit { position: absolute; border: 1px solid rgba(80,37,26,.28); border-radius: 50%; }
.orbit-one { width: 92%; aspect-ratio: 1.35; left: 2%; top: 15%; transform: rotate(-22deg); }
.orbit-two { width: 82%; aspect-ratio: 1.1; left: 10%; top: 12%; transform: rotate(34deg); }
.bottle { position: absolute; width: min(17vw, 240px); height: min(27vw, 370px); left: 50%; top: 51%; transform: translate(-50%,-50%); border-radius: 36px 36px 48px 48px; background: linear-gradient(110deg, rgba(255,255,255,.45), rgba(255,255,255,.08) 42%, rgba(66,30,20,.2)); border: 1px solid rgba(255,255,255,.6); box-shadow: inset 10px 4px 16px rgba(255,255,255,.32), 0 30px 50px rgba(60,24,18,.25); backdrop-filter: blur(5px); display: grid; place-items: center; }
.bottle-cap { position: absolute; top: -60px; width: 46%; height: 70px; border-radius: 10px 10px 5px 5px; background: linear-gradient(90deg,#3b2d25,#695044 48%,#2e231d); box-shadow: 0 -8px 0 #251c17; }
.bottle-label { width: 70%; padding: 26px 10px; background: rgba(246,235,215,.82); border: 1px solid rgba(61,41,31,.2); text-align: center; display: grid; gap: 4px; }
.bottle-label strong { font: 700 clamp(28px, 4vw, 50px)/1 var(--serif); letter-spacing: .04em; }
.bottle-label small { font-size: 8px; text-transform: uppercase; letter-spacing: .25em; }
.botanical { position: absolute; color: #fff3dc; font: 76px var(--serif); text-shadow: 0 10px 30px rgba(38,18,12,.25); }
.botanical-a { left: 14%; top: 26%; transform: rotate(-18deg); }
.botanical-b { right: 10%; bottom: 22%; font-size: 110px; transform: rotate(22deg); }
.art-note { position: absolute; right: 0; top: 8%; font-size: 12px; line-height: 1.2; text-transform: uppercase; letter-spacing: .12em; }
.art-note em { font: 600 24px var(--serif); color: var(--terracotta); text-transform: none; letter-spacing: 0; }

.intro-strip { background: var(--ink); color: #eadfcd; padding: 16px 0; font-size: 10px; text-transform: uppercase; letter-spacing: .18em; white-space: nowrap; overflow: hidden; }
.intro-track { display: flex; width: max-content; will-change: transform; animation: intro-marquee 25s linear infinite; }
.intro-group { display: flex; align-items: center; justify-content: space-around; gap: clamp(38px, 6vw, 94px); min-width: 100vw; padding-right: clamp(38px, 6vw, 94px); }
.intro-strip i { color: var(--gold); font-style: normal; }
.intro-strip:hover .intro-track { animation-play-state: paused; }
@keyframes intro-marquee { to { transform: translateX(-50%); } }
.section-shell { padding: clamp(78px, 10vw, 150px) clamp(24px, 7vw, 108px); }
.section-heading, .catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 58px; }
.section-heading h2, .catalog-heading h2, .guide h2 { font-size: clamp(44px, 5.3vw, 82px); max-width: 850px; }
.section-heading > p { max-width: 400px; color: #74655b; font-size: 14px; }
.collection-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.collection-card { min-height: 300px; grid-column: span 3; padding: 24px; border: 1px solid var(--line); border-radius: 22px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; cursor: pointer; transition: transform .25s, box-shadow .25s; background: var(--card-bg, #e7ddd1); }
.collection-card:nth-child(1), .collection-card:nth-child(4) { grid-column: span 6; }
.collection-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(50,36,27,.12); }
.collection-card::before, .collection-card::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.32); }
.collection-card::before { width: 230px; height: 230px; right: -80px; top: -60px; }
.collection-card::after { width: 150px; height: 150px; right: -20px; top: 10px; }
.collection-top { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 1; }
.collection-index { width: 36px; height: 36px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-size: 10px; }
.collection-count { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.collection-bottom { position: relative; z-index: 1; }
.collection-icon { font: 42px var(--serif); margin-bottom: 14px; opacity: .82; }
.collection-card h3 { font: 600 clamp(24px, 2.5vw, 36px)/1.05 var(--serif); margin: 0 0 9px; }
.collection-card p { font-size: 12px; margin: 0; opacity: .72; }

.catalog-section { background: var(--ink); color: #f6efe3; }
.catalog-heading { margin-bottom: 36px; }
.eyebrow.light { color: #d3bd9c; }
.catalog-heading h2 em { color: #db795d; }
.catalog-heading > p { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: #b9aa9a; }
.catalog-toolbar { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.search-box { background: #f5eee2; color: var(--ink); min-height: 66px; padding: 0 20px; border-radius: 16px; display: flex; align-items: center; gap: 14px; }
.search-box svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.search-box input { border: 0; outline: 0; background: transparent; flex: 1; min-width: 0; font-size: 14px; }
.search-box kbd { font: 10px var(--sans); border: 1px solid #c8baaa; padding: 5px 7px; border-radius: 6px; color: #75665b; }
.sort-button { min-width: 95px; border-radius: 16px; border: 1px solid rgba(255,255,255,.18); background: transparent; color: #fff; cursor: pointer; }
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 38px; }
.filter-chip { border: 1px solid rgba(255,255,255,.18); background: transparent; color: #d8cdbd; padding: 9px 14px; border-radius: 100px; font-size: 11px; cursor: pointer; transition: .2s; }
.filter-chip:hover, .filter-chip.active { background: #efe4d3; color: var(--ink); border-color: #efe4d3; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.product-card { min-height: 250px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(255,255,255,.035); padding: 18px; display: flex; flex-direction: column; position: relative; overflow: hidden; transition: background .2s, transform .2s, border-color .2s; }
.product-card:hover { transform: translateY(-3px); background: rgba(255,255,255,.075); border-color: rgba(255,255,255,.28); }
.product-card::after { content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; background: var(--accent); filter: blur(38px); opacity: .24; right: -60px; top: -70px; }
.product-card-top { display: flex; align-items: center; justify-content: space-between; font-size: 9px; color: #a99b8c; text-transform: uppercase; letter-spacing: .12em; position: relative; z-index: 1; }
.product-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; margin-right: 6px; }
.product-monogram { flex: 1; display: grid; place-items: center; font: italic 600 62px var(--serif); color: rgba(255,255,255,.09); }
.product-image-wrap { aspect-ratio: 1; margin: 14px 0 18px; border-radius: 12px; overflow: hidden; background: #f4f1eb; position: relative; z-index: 1; }
.product-image { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-image { transform: scale(1.025); }
.product-card h3 { font: 600 19px/1.15 var(--serif); margin: 0 0 8px; position: relative; z-index: 1; }
.product-card p { margin: 0; color: #a99b8c; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.product-action { width: 100%; margin-top: auto; padding: 11px 0 3px; border: 0; border-top: 1px solid rgba(255,255,255,.14); color: #e9dece; background: transparent; display: flex; align-items: center; justify-content: space-between; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; cursor: pointer; position: relative; z-index: 2; }
.product-action span { width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; display: grid; place-items: center; transition: background .2s, color .2s; }
.product-action:hover span { background: #f6efe3; color: var(--ink); }
.load-more { display: block; margin: 38px auto 0; padding: 13px 24px; border-radius: 100px; border: 1px solid rgba(255,255,255,.28); color: #fff; background: transparent; cursor: pointer; }
.load-more:hover { background: #fff; color: var(--ink); }
.empty-state { text-align: center; padding: 70px 20px; }
.empty-state span { font-size: 54px; color: #8e7d6c; }
.empty-state h3 { font: 600 28px var(--serif); margin: 12px 0 6px; }
.empty-state p { color: #a99b8c; }
.empty-state button { color: #fff; background: transparent; border: 0; border-bottom: 1px solid currentColor; cursor: pointer; }

.guide { background: #efe7da; }
.guide-grid { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(50px, 9vw, 140px); align-items: start; }
.guide ol { list-style: none; margin: 0; padding: 0; }
.guide li { display: grid; grid-template-columns: 60px 1fr; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.guide li:last-child { border-bottom: 1px solid var(--line); }
.guide li > span { color: var(--terracotta); font: 600 13px var(--serif); }
.guide h3 { margin: 0 0 6px; font: 600 22px var(--serif); }
.guide li p { margin: 0; color: #75665b; font-size: 13px; }
footer { min-height: 200px; padding: 45px clamp(24px, 7vw, 108px); display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 30px; background: #d9c8b2; }
footer p { max-width: 520px; font-size: 11px; color: #66584f; }
footer > a { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }

dialog { width: min(720px, calc(100vw - 30px)); max-height: calc(100svh - 30px); overflow: auto; border: 0; border-radius: 24px; padding: 36px; background: #f6efe4; color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.45); }
dialog::backdrop { background: rgba(25,17,13,.72); backdrop-filter: blur(7px); }
.dialog-close { position: absolute; right: 18px; top: 15px; border: 0; background: transparent; font-size: 30px; cursor: pointer; }
.dialog-swatch { height: 170px; border-radius: 15px; margin-bottom: 28px; display: grid; place-items: center; color: rgba(255,255,255,.76); background: radial-gradient(circle at 35% 25%, #e9ba84, var(--accent, #9f452d) 55%, #45231d); overflow: hidden; }
.dialog-pyramid { width: 100%; max-height: min(64vh, 650px); object-fit: contain; border-radius: 15px; margin-bottom: 28px; background: #fff; }
.dialog-pyramid[hidden], .dialog-swatch[hidden] { display: none; }
.dialog-swatch span { font: 700 70px var(--serif); letter-spacing: .06em; mix-blend-mode: overlay; }
dialog h2 { font-size: clamp(38px, 7vw, 58px); margin-bottom: 26px; }
.dialog-meta { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--line); margin-bottom: 22px; }
.dialog-meta div { padding: 16px 0; display: grid; }
.dialog-meta div + div { border-left: 1px solid var(--line); padding-left: 20px; }
.dialog-meta small { text-transform: uppercase; letter-spacing: .14em; font-size: 9px; color: #7f6e62; }
.dialog-meta strong { margin-top: 5px; font-size: 13px; }
.dialog-note { font-size: 12px; color: #75665b; margin: 0 0 24px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 540px; margin-top: 30px; }
  .hero-art::before { width: min(82vw, 560px); }
  .bottle { width: min(35vw, 230px); height: min(54vw, 350px); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .collection-card { grid-column: span 6; }
  .collection-card:nth-child(7) { grid-column: span 12; }
  .guide-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .site-header { height: 72px; }
  nav a:not(.nav-cta) { display: none; }
  .nav-cta { font-size: 10px; padding: 9px 12px; }
  .hero { padding-top: 64px; }
  h1 { font-size: clamp(54px, 16vw, 78px); }
  .hero-stats { gap: 24px; }
  .hero-stats dd { font-size: 8px; }
  .hero-art { min-height: 420px; }
  .bottle-cap { top: -45px; height: 54px; }
  .intro-track { animation-duration: 19s; }
  .section-heading, .catalog-heading { align-items: start; flex-direction: column; }
  .collection-card, .collection-card:nth-child(1), .collection-card:nth-child(4), .collection-card:nth-child(7) { grid-column: span 12; min-height: 250px; }
  .catalog-toolbar { grid-template-columns: 1fr; }
  .sort-button { min-height: 48px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card { min-height: 220px; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 200px; }
  .search-box kbd { display: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .intro-track { animation: none; }
  .intro-group[aria-hidden="true"] { display: none; }
}
