/* LiquorStoreOS — site styles
   Brand: near-black ground, gold, burgundy. Playfair Display + Inter (existing brand system).
   Signature: dual-price shelf tags (the thing every liquor store hangs on its shelves). */

:root {
  color-scheme: dark;
  --ground: #21211F;
  --ground-2: #1A1A18;
  --panel: #2A2A27;
  --panel-2: #33363D;
  --line: rgba(245, 191, 90, 0.16);
  --line-soft: rgba(236, 230, 218, 0.10);
  --gold: #F5BF5A;
  --gold-deep: #E0A840;
  --wine: #672B2F;
  --wine-2: #7F3432;
  --text: #ECE6DA;
  --muted: #B3AC9D;
  --tag: #F7F1E3;
  --tag-ink: #22211E;
  --tag-muted: #6B6456;
  --ok: #9CC98A;
  --radius: 6px;
  --display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #FFD27A; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; text-wrap: balance; color: #FFF8EA; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.eyebrow {
  display: inline-block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); background: var(--wine); padding: 5px 12px; border-radius: 2px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%, 8px 50%);
  padding-inline: 18px; align-self: flex-start; width: max-content; max-width: 100%;
}
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section + .section { border-top: 1px solid var(--line-soft); }
.section.alt { background: var(--ground-2); }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.tnum { font-variant-numeric: tabular-nums; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 1rem/1 var(--body); padding: 15px 24px; border-radius: 4px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn-gold { background: var(--gold); color: #1c1b19; }
.btn-gold:hover { background: #FFD27A; color: #1c1b19; }
.btn-line { background: transparent; color: var(--text); border-color: rgba(236,230,218,.35); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(33,33,31,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); flex: 0 0 auto; }
.brand img { height: 52px; width: auto; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: #FFF8EA; white-space: nowrap; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--text); text-decoration: none; font-size: 0.94rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold); }
.nav .btn { padding: 11px 16px; font-size: 0.92rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid rgba(236,230,218,.3); color: var(--text); border-radius: 4px; padding: 8px 12px; font: 600 .9rem var(--body); cursor: pointer; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ground); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 18px; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-links .btn { margin-top: 12px; }
  .site-header.open .nav-links { display: flex; }
  .nav > .btn { display: none; }
}

/* Hero */
.hero { padding-block: clamp(48px, 7vw, 88px); background:
  radial-gradient(900px 420px at 85% 10%, rgba(103,43,47,.55), transparent 70%), var(--ground); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero .stack { gap: 22px; }
.hero-note { font-size: .86rem; color: var(--muted); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* Shelf tag (signature element) */
.tag {
  position: relative; background: var(--tag); color: var(--tag-ink); border-radius: 4px;
  box-shadow: 0 18px 40px rgba(0,0,0,.45); overflow: hidden;
}
.tag-head { background: var(--wine); color: var(--tag); display: flex; justify-content: space-between; align-items: center;
  padding: 10px 18px; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.tag-head b { color: var(--gold); font-weight: 700; }
.tag-body { padding: 20px 22px 18px; display: flex; flex-direction: column; gap: 14px; }
.tag-name { font-family: var(--display); font-size: 1.45rem; font-weight: 700; line-height: 1.2; color: var(--tag-ink); }
.tag-prices { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--tag-ink); border-bottom: 1px dashed #b8ae98; }
.tag-prices > div { padding: 12px 0 10px; display: flex; flex-direction: column; gap: 2px; }
.tag-prices > div + div { border-left: 1px dashed #b8ae98; padding-left: 16px; }
.tag-label { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tag-muted); }
.tag-price { font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3rem); line-height: 1; font-variant-numeric: tabular-nums lining-nums; color: var(--tag-ink); }
.tag-price small { font-family: var(--body); font-size: .85rem; font-weight: 600; color: var(--tag-muted); margin-left: 4px; }
.tag-foot { display: flex; justify-content: space-between; gap: 12px; font-size: .74rem; color: var(--tag-muted); font-variant-numeric: tabular-nums; }
.tag-bars { height: 26px; width: 110px; background: repeating-linear-gradient(90deg, var(--tag-ink) 0 2px, transparent 2px 4px, var(--tag-ink) 4px 5px, transparent 5px 8px, var(--tag-ink) 8px 11px, transparent 11px 12px); opacity: .8; }
.tag ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: .95rem; }
.tag li { padding-left: 22px; position: relative; }
.tag li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--wine); border-bottom: 2px solid var(--wine); transform: rotate(-45deg); }
.tag .btn { align-self: flex-start; }
.tag .btn-line { color: var(--tag-ink); border-color: var(--tag-ink); }
.tag .btn-line:hover { background: var(--tag-ink); color: var(--tag); }
.tag-fine { font-size: .78rem; color: var(--tag-muted); line-height: 1.45; }
.hero .tag { transform: rotate(-1.2deg); max-width: 440px; justify-self: center; width: 100%; }

.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
@media (max-width: 760px) { .offer-grid { grid-template-columns: 1fr; } }

/* Box contents grid */
.box-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.box-item { background: var(--ground); padding: 22px 20px; display: flex; flex-direction: column; gap: 10px; }
.section.alt .box-item { background: var(--ground-2); }
.box-item svg { width: 34px; height: 34px; stroke: var(--gold); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.box-item h3 { font-family: var(--body); font-size: 1rem; font-weight: 600; color: #FFF8EA; }
.box-item p { font-size: .92rem; color: var(--muted); }
@media (max-width: 960px) { .box-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .box-grid { grid-template-columns: 1fr; } }

/* Detailed item rows (What's included page) */
.item-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.item-row { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.item-row svg { width: 44px; height: 44px; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.item-row h3 { font-family: var(--body); font-size: 1.12rem; font-weight: 600; margin-bottom: 6px; }
.item-row p { color: var(--muted); max-width: 70ch; }
.item-row .why { margin-top: 8px; color: var(--text); font-size: .95rem; }
.item-row .why b { color: var(--gold); font-weight: 600; }

/* Feature columns */
.feature-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.feature-cols h3 { font-size: 1.2rem; padding-bottom: 12px; border-bottom: 2px solid var(--wine-2); margin-bottom: 14px; }
.feature-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.feature-cols li { display: flex; flex-direction: column; gap: 2px; }
.feature-cols li b { font-weight: 600; color: #FFF8EA; }
.feature-cols li span { color: var(--muted); font-size: .93rem; }
@media (max-width: 860px) { .feature-cols { grid-template-columns: 1fr; gap: 32px; } }

/* Steps (a real sequence) */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: flex; flex-direction: column; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: var(--ground);
  background: var(--gold); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; }
.steps h3 { font-family: var(--body); font-size: 1.08rem; font-weight: 600; margin-bottom: 4px; }
.steps p { color: var(--muted); }
.steps .who { display: inline-block; margin-top: 8px; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }

/* Calculator */
.calc { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.calc label { display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: .95rem; }
.calc input[type=range] { accent-color: var(--gold); width: 100%; }
.calc output { font-family: var(--display); font-size: 1.5rem; color: #FFF8EA; font-variant-numeric: tabular-nums; }
.calc .result { background: var(--tag); color: var(--tag-ink); border-radius: 4px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.calc .result .big { font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3rem); line-height: 1; font-variant-numeric: tabular-nums; }
.calc .result .sub { color: var(--tag-muted); font-size: .9rem; }
@media (max-width: 760px) { .calc { grid-template-columns: 1fr; } }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .95rem; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
thead th { background: var(--wine); color: var(--tag); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
tbody th { color: var(--muted); font-weight: 500; width: 28%; }
tbody tr:last-child > * { border-bottom: 0; }

/* Checklist */
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.checks li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--gold); margin-top: 2px;
  background: radial-gradient(circle, var(--gold) 0 4px, transparent 5px); }
.checks b { color: #FFF8EA; font-weight: 600; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); }

/* FAQ */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font-weight: 600; font-size: 1.05rem; color: #FFF8EA; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.5rem; color: var(--gold); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 0 22px; color: var(--muted); display: flex; flex-direction: column; gap: 10px; max-width: 70ch; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--wine) 0%, #4a1f22 100%); padding-block: clamp(48px, 7vw, 80px); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { max-width: 20ch; }
.cta-band p { color: #E9D9CF; max-width: 52ch; margin-top: 10px; }

/* Page header (inner pages) */
.page-head { padding-block: clamp(44px, 6vw, 72px) clamp(28px, 4vw, 40px); background: radial-gradient(700px 300px at 90% 0%, rgba(103,43,47,.45), transparent 70%), var(--ground); }
.page-head .stack { gap: 16px; max-width: 780px; }

/* Legal */
.legal h2 { font-size: 1.4rem; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

/* Footer */
.site-footer { background: var(--ground-2); border-top: 1px solid var(--line); padding-block: 48px 32px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot-grid h4 { font: 600 .76rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-grid a { color: var(--text); text-decoration: none; }
.foot-grid a:hover { color: var(--gold); }
.disclosure { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: .8rem; line-height: 1.55; display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* Quiz modal */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(10,10,9,.78); display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; width: min(560px, 100%); max-height: calc(100% - 16px); overflow-y: auto; padding: 26px clamp(18px, 4vw, 30px) 24px; position: relative; }
.modal-card.wide { width: min(900px, 100%); }
.modal-close { position: absolute; right: 12px; top: 10px; background: none; border: 0; color: var(--muted); font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 4px 8px; }
.progress { height: 4px; background: var(--line-soft); border-radius: 2px; margin: 4px 36px 22px 0; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--gold); width: 0; transition: width .3s; }
.q-step { display: flex; flex-direction: column; gap: 14px; }
.q-step[hidden] { display: none; }
.q-step h3 { font-size: 1.4rem; }
.q-opts { display: grid; gap: 10px; }
.q-opt { text-align: left; background: var(--ground); border: 1px solid var(--line-soft); color: var(--text); border-radius: 5px; padding: 14px 16px; font: 500 1rem var(--body); cursor: pointer; }
.q-opt:hover { border-color: var(--gold); }
.q-opt[aria-pressed="true"] { border-color: var(--gold); background: rgba(245,191,90,.10); }
.q-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; }
.q-back { background: none; border: 0; color: var(--muted); font: 500 .95rem var(--body); cursor: pointer; padding: 8px 0; }
.q-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.q-form .full { grid-column: 1 / -1; }
.q-form label { display: flex; flex-direction: column; gap: 5px; font-size: .86rem; font-weight: 600; color: var(--muted); }
.q-form input, .q-form select { background: var(--ground); border: 1px solid var(--line-soft); color: var(--text); border-radius: 4px; padding: 12px; font: 400 1rem var(--body); width: 100%; }
.q-form input:focus, .q-form select:focus { border-color: var(--gold); outline: none; }
.q-consent { display: grid !important; grid-template-columns: 22px 1fr; gap: 10px; font-weight: 400 !important; font-size: .8rem !important; line-height: 1.45; }
.q-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); }
.q-error { color: #F2A38F; font-size: .9rem; }
.q-fit { background: var(--tag); color: var(--tag-ink); border-radius: 4px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.q-fit b { font-family: var(--display); font-size: 1.2rem; }
.q-fit span { color: var(--tag-muted); font-size: .92rem; }
.modal-card.wide #calendly-embed { min-height: 640px; }
@media (max-width: 520px) { .q-form { grid-template-columns: 1fr; } }

/* ===== Features page ===== */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chipbar { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 68px); z-index: 40; background: rgba(26,26,24,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; background: transparent; color: var(--text); border: 1px solid rgba(236,230,218,.22); border-radius: 999px; padding: 8px 14px; font: 500 .88rem var(--body); cursor: pointer; white-space: nowrap; }
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip[aria-current="true"] { background: var(--gold); border-color: var(--gold); color: #1c1b19; }
.feature { scroll-margin-top: 130px; }
#f-day, #f-all { scroll-margin-top: 130px; }
.feat-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.feat-grid.flip > .stack { order: 2; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr; } .feat-grid.flip > .stack { order: 0; } }
.feat-points { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.feat-points li { display: flex; flex-direction: column; gap: 3px; padding-top: 12px; border-top: 2px solid var(--wine-2); }
.feat-points b { color: #FFF8EA; font-weight: 600; }
.feat-points span { color: var(--muted); font-size: .93rem; }
@media (max-width: 520px) { .feat-points { grid-template-columns: 1fr; } }

/* Illustrated screens */
.shot { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.shot figcaption { font-size: .76rem; color: var(--muted); text-align: right; }
.ui { --ui-bg: #FAF8F3; --ui-ink: #22211E; --ui-muted: #6E6758; --ui-line: #E4DDCD; --ui-ok: #2F7D4F; --ui-bad: #B3412F; --ui-warn: #8A5A00;
  background: var(--ui-bg); color: var(--ui-ink); border-radius: 10px; overflow: hidden; border: 8px solid #0F0F0E;
  box-shadow: 0 24px 50px rgba(0,0,0,.5); font: 400 .88rem/1.4 var(--body); }
.ui-bar { background: var(--wine); color: var(--tag); display: flex; justify-content: space-between; padding: 9px 14px; font-weight: 600; font-size: .8rem; letter-spacing: .02em; }
.ui-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.ui-row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; padding: 7px 0; border-bottom: 1px solid var(--ui-line); font-variant-numeric: tabular-nums; }
.ui-row > span:not(:first-child) { text-align: right; min-width: 3.5em; }
.ui-row.head { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ui-muted); padding-top: 0; }
.ui-row.soft { color: var(--ui-muted); font-size: .82rem; grid-template-columns: auto 1fr; }
.ui-row.total { font-weight: 700; border-bottom: 0; }
.ui-row .ok { color: var(--ui-ok); font-weight: 600; }
.ui-row .bad { color: var(--ui-bad); font-weight: 700; }
.ui-row .no { color: var(--ui-muted); }
.ui-split { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; }
@media (max-width: 480px) { .ui-split { grid-template-columns: 1fr; } }
.ui-total { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.ui-total div { background: #fff; border: 1px solid var(--ui-line); border-radius: 6px; padding: 8px 10px; display: flex; flex-direction: column; }
.ui-total small, .ui-stats small { color: var(--ui-muted); font-size: .72rem; }
.ui-total b { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.ui-total b.cash { color: var(--ui-ok); }
.ui-keys { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-content: start; }
.ui-keys span, .ui-btns span { background: #fff; border: 1px solid var(--ui-line); border-radius: 6px; padding: 10px 6px; text-align: center; font-weight: 600; font-size: .8rem; }
.ui-keys .pay, .ui-btns .pay { background: var(--wine); color: var(--tag); border-color: var(--wine); }
.ui-keys .pay.alt { background: var(--ui-ok); border-color: var(--ui-ok); }
.ui-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ui-modal { background: #fff; border: 1px solid var(--ui-line); border-radius: 8px; padding: 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 8px 20px rgba(34,33,30,.12); }
.ui-title { font-size: 1.05rem; }
.ui-modal p { margin: 0; color: var(--ui-muted); }
.ui-ok { display: flex; gap: 12px; align-items: center; background: #EAF4EC; border-radius: 6px; padding: 10px 12px; }
.ui-ok .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--ui-ok); flex: 0 0 auto; position: relative; }
.ui-ok .dot::after { content: ""; position: absolute; left: 7px; top: 5px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ui-ok div { display: flex; flex-direction: column; }
.ui-ok small { color: var(--ui-muted); }
.ui-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ui-chips span { background: #EFEBE1; border-radius: 999px; padding: 5px 10px; font-size: .76rem; font-weight: 500; }
.ui-chips .warn { background: #FBEFD5; color: var(--ui-warn); }
.ui-profile { display: flex; gap: 12px; align-items: center; }
.ui-profile .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--wine); color: var(--tag); display: grid; place-items: center; font-weight: 700; }
.ui-profile div { display: flex; flex-direction: column; }
.ui-profile small { color: var(--ui-muted); }
.ui-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ui-stats div { background: #fff; border: 1px solid var(--ui-line); border-radius: 6px; padding: 8px 10px; display: flex; flex-direction: column; }
.ui-stats b { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.ui-meter { display: flex; flex-direction: column; gap: 6px; }
.ui-meter small { color: var(--ui-muted); font-size: .76rem; }
.ui-meter i { display: block; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); }
.ui-bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; height: 110px; align-items: end; padding: 4px 0 0; border-bottom: 1px solid var(--ui-line); }
.ui-bars div { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 3px; }
.ui-bars i { display: block; width: 100%; background: var(--wine-2); border-radius: 3px 3px 0 0; }
.ui-bars div:nth-child(9) i { background: var(--gold-deep); }
.ui-bars small { font-size: .62rem; color: var(--ui-muted); height: 12px; }
.ui-labels { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 14px; padding: 16px; align-items: center; }
@media (max-width: 480px) { .ui-labels { grid-template-columns: 1fr; } }
.label { background: #fff; border: 1px solid var(--ui-line); border-top: 6px solid var(--wine); border-radius: 3px; padding: 12px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 6px 14px rgba(34,33,30,.1); transform: rotate(-1.5deg); }
.label-name { font-weight: 700; letter-spacing: .04em; font-size: .82rem; }
.label-prices { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ui-ink); }
.label-prices div { display: flex; flex-direction: column; padding-top: 6px; }
.label-prices div + div { border-left: 1px dashed #b8ae98; padding-left: 10px; }
.label-prices small { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ui-muted); }
.label-prices b { font-family: var(--display); font-size: 1.5rem; font-variant-numeric: tabular-nums lining-nums; }
.label-foot { display: flex; justify-content: space-between; align-items: center; font-size: .66rem; color: var(--ui-muted); }
.label .tag-bars { width: 70px; height: 18px; }
.ui-panel { background: #fff; border: 1px solid var(--ui-line); border-radius: 6px; padding: 10px 12px; }

/* A day in the store */
.day { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-left: 2px solid var(--wine-2); }
.day li { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 0 0 26px 22px; position: relative; }
.day li::before { content: ""; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--ground); }
.day-time { font-weight: 700; color: var(--gold); font-size: .9rem; font-variant-numeric: tabular-nums; padding-top: 2px; }
.day h3 { font-family: var(--body); font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; }
.day p { color: var(--muted); }
@media (max-width: 520px) { .day li { grid-template-columns: 1fr; gap: 4px; } }

/* All features */
.all-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 26px; }
.all-filter input { flex: 1 1 280px; max-width: 520px; background: var(--ground); border: 1px solid var(--line); color: var(--text); border-radius: 4px; padding: 13px 14px; font: 400 1rem var(--body); }
.all-filter input:focus { border-color: var(--gold); outline: none; }
.all-grid { columns: 3 260px; column-gap: 32px; }
.all-group { break-inside: avoid; margin-bottom: 26px; }
.all-group[hidden] { display: none; }
.all-group h3 { font-family: var(--body); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.all-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.all-group li { padding-left: 22px; position: relative; font-size: .95rem; }
.all-group li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 9px; height: 5px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.all-group li[hidden] { display: none; }

/* October special */
.promo { background: var(--gold); color: #1c1b19; font-size: .95rem; padding-block: 11px; }
.promo a { color: #1c1b19; font-weight: 600; margin-left: 6px; }
.tag-was { font-size: .8rem; color: var(--tag-muted); margin-top: 4px; }
.tag-was s { text-decoration-thickness: 2px; }

/* News / blog */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--text); }
.post-card:hover h3 { color: var(--gold); }
.post-thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.post-card h3 { font-size: 1.2rem; transition: color .2s; }
.post-card p { color: var(--muted); font-size: .93rem; }
.post-meta { font-size: .8rem; color: var(--muted); letter-spacing: .02em; }
.post-head .stack { gap: 14px; }
.post-head .eyebrow { text-decoration: none; }
.post-hero { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); margin-top: 8px; }
.post-body { padding-top: 40px; }
.prose { font-size: 1.06rem; line-height: 1.75; display: flex; flex-direction: column; gap: 18px; }
.prose > * { margin: 0; }
.prose h2 { font-size: clamp(1.45rem, 3vw, 1.85rem); margin-top: 22px; }
.prose h3 { font-size: 1.25rem; margin-top: 10px; }
.prose p, .prose li { color: #DDD6C8; }
.prose strong { color: #FFF8EA; }
.prose ul, .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose a { color: var(--gold); }
.prose blockquote { border-left: 3px solid var(--wine-2); padding: 4px 0 4px 18px; color: var(--muted); font-style: italic; }
.prose .table-wrap table { min-width: 520px; font-size: .92rem; }
.prose thead th, .prose tr:first-child th { background: var(--wine); color: var(--tag); }
.prose td, .prose th { border-bottom: 1px solid var(--line-soft); }
.prose details { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; background: var(--panel); }
.prose summary { cursor: pointer; font-weight: 600; color: #FFF8EA; }
.prose article { display: flex; flex-direction: column; gap: 14px; }
