/* ---------- Self-hosted fonts ---------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/archivo-normal-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/archivo-normal-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/archivo-normal-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-normal-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-normal-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-normal-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-normal-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-normal-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Design tokens ---------- */
:root {
  --bg: #0c0403;
  --ink: #f5efe9;
  --ink-95: rgba(245, 239, 233, 0.95);
  --ink-92: rgba(245, 239, 233, 0.92);
  --ink-82: rgba(245, 239, 233, 0.82);
  --ink-72: rgba(245, 239, 233, 0.72);
  --ink-65: rgba(245, 239, 233, 0.65);
  --ink-62: rgba(245, 239, 233, 0.62);
  --ink-55: rgba(245, 239, 233, 0.55);
  --ink-50: rgba(245, 239, 233, 0.5);
  --ink-35: rgba(245, 239, 233, 0.35);
  --line-soft: rgba(245, 239, 233, 0.12);
  --line: rgba(245, 239, 233, 0.18);
  --line-strong: rgba(245, 239, 233, 0.22);
  --ember: #ff3b1f;
  --ember-link: #ff6a3c;
  --ember-soft: #ffb08c;
  --gold: #ffa03c;
  --cream: #fdeadf;

  --font-sans: Archivo, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-mono: ui-monospace, Menlo, Consolas, monospace;

  --page-max: 720px;
  --pad-x: max(18px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --pad-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  --tabs-h: 64px;
  --radius: 4px;

  /* Bottle grid density: overridden per breakpoint below. */
  --card-min: 132px;
  --grid-gap: 12px;
}

/* ---------- Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
* { -webkit-tap-highlight-color: transparent; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.45;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--ember-link); text-decoration: none; }
input::placeholder { color: var(--ink-35); }

:focus-visible {
  outline: 2px solid var(--ember-soft);
  outline-offset: 2px;
}

/* Hide the horizontal scrollbar on the category rail only; the page keeps a
   scroll affordance on desktop. */
.tabs-row { scrollbar-width: none; -ms-overflow-style: none; }
.tabs-row::-webkit-scrollbar { width: 0; height: 0; }

.glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
  background:
    radial-gradient(115% 52% at 50% 6%, #ff3b12 0%, #d4160c 24%, #8e0d0a 46%, rgba(58, 8, 7, 0.6) 64%, rgba(12, 4, 3, 0) 82%),
    radial-gradient(95% 42% at 50% 94%, rgba(216, 22, 12, 0.6) 0%, rgba(255, 110, 30, 0.18) 40%, rgba(12, 4, 3, 0) 74%);
}

.page {
  position: relative;
  z-index: 1;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  padding-bottom: var(--pad-bottom);
}

/* ---------- Header ---------- */
.site-header {
  padding: clamp(34px, 9vw, 54px) 0 clamp(22px, 5vw, 30px);
  text-align: center;
}
.kicker {
  font-size: clamp(9px, 2.6vw, 10px);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-62);
  font-weight: 500;
}
.logo-frame {
  width: clamp(104px, 30vw, 132px);
  aspect-ratio: 1;
  margin: clamp(16px, 4vw, 20px) auto 0;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 0 46px rgba(216, 22, 12, 0.7), 0 14px 40px rgba(0, 0, 0, 0.55);
}
.logo-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.venue-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 5vw, 21px);
  color: var(--ink-82);
  margin-top: 16px;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  margin-top: 22px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-55);
}
.social-links a {
  color: var(--ink-72);
  border-bottom: 1px solid rgba(245, 239, 233, 0.25);
  padding-bottom: 3px;
}

/* ---------- Search ---------- */
.search-wrap { position: relative; margin-bottom: 14px; }
#search {
  width: 100%;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(28, 6, 5, 0.55);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-family: inherit;
  /* 16px keeps iOS Safari from zooming in when the field takes focus. */
  font-size: 16px;
  padding: 0 46px 0 20px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
#search:focus {
  border-color: rgba(255, 59, 31, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 59, 31, 0.16);
}
#search::-webkit-search-cancel-button,
#search::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}
.search-clear {
  position: absolute;
  inset-inline-end: 7px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-55);
  font-family: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Tabs ---------- */
.tabs {
  position: sticky;
  top: 0;
  z-index: 20;
  margin-inline: calc(-1 * var(--pad-x));
  margin-bottom: 30px;
  padding: 12px var(--pad-x);
  background: linear-gradient(to bottom, rgba(12, 4, 3, 0.94), rgba(12, 4, 3, 0.6) 70%, rgba(12, 4, 3, 0));
  backdrop-filter: blur(6px);
}
.tabs-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  /* Vertical breathing room so focus rings are not clipped by the scroller. */
  padding-block: 3px;
}
.tab-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid rgba(245, 239, 233, 0.2);
  background: rgba(245, 239, 233, 0.05);
  color: rgba(245, 239, 233, 0.9);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0 16px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}
.tab-btn.is-active {
  border-color: var(--ember);
  background: rgba(255, 59, 31, 0.16);
  color: var(--ink);
}

/* ---------- No results ---------- */
.no-results {
  text-align: center;
  padding: clamp(48px, 14vw, 70px) 0;
  color: var(--ink-50);
  font-size: 14px;
}

/* ---------- Sections ---------- */
.menu-section {
  scroll-margin-top: calc(var(--tabs-h) + 14px);
  margin-bottom: clamp(44px, 10vw, 62px);
}
.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(25px, 8vw, 40px);
  text-align: center;
  margin: 0 0 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-wrap: balance;
}
.group { margin-top: clamp(24px, 6vw, 30px); }
.group-header {
  display: flex;
  align-items: center;
  gap: clamp(10px, 3vw, 14px);
  margin-bottom: 22px;
}
.divider { flex: 1; height: 1px; background: linear-gradient(to right, rgba(255, 59, 31, 0), rgba(255, 59, 31, 0.75)); }
.group-header .divider:last-child { background: linear-gradient(to left, rgba(255, 59, 31, 0), rgba(255, 59, 31, 0.75)); }
.group-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 5.4vw, 22px);
  color: var(--cream);
  text-align: center;
  text-wrap: balance;
}

/* list layout (soft drinks / mixers) */
.item-list { display: flex; flex-direction: column; gap: 11px; }
.item-row { display: flex; align-items: baseline; gap: 8px; font-size: clamp(13px, 3.6vw, 14px); }
.item-name { color: var(--ink-92); }
.item-dots {
  flex: 1 1 16px;
  min-width: 16px;
  border-bottom: 1px dotted rgba(245, 239, 233, 0.28);
  transform: translateY(-3px);
}
.item-price { font-weight: 600; font-size: 13px; letter-spacing: 0.04em; color: var(--ink); white-space: nowrap; }

/* grid layout (bottles) */
.bottle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--card-min)), 1fr));
  gap: var(--grid-gap);
}
.bottle-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 18px 10px 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(245, 239, 233, 0.06), rgba(245, 239, 233, 0.015));
}
.bottle-art {
  width: clamp(40px, 33%, 52px);
  aspect-ratio: 1 / 2;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background-image: repeating-linear-gradient(135deg, rgba(245, 239, 233, 0.14) 0 3px, rgba(245, 239, 233, 0) 3px 8px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 5px;
}
.bottle-art::after {
  content: 'bottle';
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  color: var(--ink-50);
}
/* Drop the placeholder frame once a real bottle photo is dropped in. */
.bottle-art:has(img) {
  width: auto;
  height: clamp(88px, 24vw, 116px);
  aspect-ratio: auto;
  border: 0;
  padding: 0;
  background-image: none;
}
.bottle-art:has(img)::after { content: none; }
.bottle-art img { width: 100%; height: 100%; object-fit: contain; }
.bottle-tag {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-62);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 2px;
  padding: 3px 6px;
}
.bottle-name { font-size: clamp(13px, 3.6vw, 14px); font-weight: 600; line-height: 1.25; text-wrap: pretty; }
.bottle-sizes { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
.bottle-size { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.size-label { font-size: 9px; font-weight: 700; letter-spacing: 0.1em; color: var(--gold); }
.size-price { font-size: 12px; font-weight: 500; letter-spacing: 0.03em; color: var(--ink-95); white-space: nowrap; }

/* note layout (on request) */
.note-list { display: flex; flex-direction: column; gap: 12px; }
.note-card { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 16px 18px; }
.note-title { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; }
.note-body { font-size: 12px; color: rgba(245, 239, 233, 0.6); margin-top: 5px; line-height: 1.5; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid rgba(245, 239, 233, 0.15); padding-top: 24px; text-align: center; }
.site-footer .legal {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-65);
  line-height: 1.9;
  margin: 0;
}
.site-footer .signoff {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-50);
  margin: 18px 0 0;
}

/* ---------- Utility ---------- */
.is-hidden { display: none !important; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Responsive ---------- */
/* Two bottle columns hold from 320px up; the card floor grows with the screen
   so cards keep similar proportions instead of stretching. */
@media (min-width: 380px) {
  :root { --card-min: 144px; --grid-gap: 14px; }
}
@media (min-width: 560px) {
  :root { --card-min: 152px; }
}

/* Landscape phones: reclaim vertical space taken by the header. */
@media (orientation: landscape) and (max-height: 540px) {
  .site-header { padding: 24px 0 18px; }
  .logo-frame { width: 84px; margin-top: 12px; }
  .venue-name { margin-top: 10px; }
  .social-links { margin-top: 14px; }
}

@media (hover: hover) and (pointer: fine) {
  a:hover { color: var(--ember-soft); }
  .tab-btn:hover { border-color: var(--ember); color: var(--ember-soft); }
  .tab-btn.is-active:hover { color: var(--ink); }
  .search-clear:hover { color: var(--ink); background: rgba(245, 239, 233, 0.08); }
  html { scrollbar-width: thin; scrollbar-color: rgba(245, 239, 233, 0.22) transparent; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .glow, .tabs, .search-wrap, .no-results, .social-links, .bottle-art { display: none !important; }
  body { background: #fff; color: #000; overflow: visible; }
  .page { max-width: none; padding: 0; }
  .section-title, .group-label, .site-footer .signoff { color: #000; }
  .bottle-card {
    break-inside: avoid;
    background: none;
    border-color: #c9c9c9;
  }
  .bottle-name, .size-price, .item-name, .item-price, .note-title { color: #000; }
  .size-label { color: #555; }
  .note-body, .site-footer .legal { color: #333; }
}
