/* =====================================================================
   The House of Ribs — design system
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink:        #17120F;
  --ink-2:      #3B2E27;
  --muted:      #7A6558;
  --muted-2:    #9C8879;
  --line:       rgba(23, 18, 15, .10);
  --line-2:     rgba(23, 18, 15, .06);

  --cream:      #FBF7F1;
  --cream-2:    #F4EDE3;
  --surface:    #FFFFFF;

  --brand:      #BC252D;
  --brand-dark: #8E1A21;
  --brand-soft: #FCEEEC;
  --flame:      #E8891F;
  --flame-soft: #FDF3E4;

  --dark:       #14100E;
  --dark-2:     #211A16;

  --radius:     16px;
  --radius-sm:  10px;
  --radius-lg:  24px;

  --shadow-sm:  0 1px 2px rgba(23, 18, 15, .05), 0 1px 3px rgba(23, 18, 15, .04);
  --shadow:     0 4px 12px rgba(23, 18, 15, .06), 0 12px 32px rgba(23, 18, 15, .07);
  --shadow-lg:  0 8px 24px rgba(23, 18, 15, .09), 0 24px 60px rgba(23, 18, 15, .10);

  --header-h:   68px;
  --wrap:       1180px;

  --ease:       cubic-bezier(.22, .8, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; padding: 0; }

a { color: inherit; text-decoration: none; }

/* Components below set display:flex/grid, which would otherwise beat the
   user-agent's [hidden] { display: none } on specificity. */
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 800;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
h4 { font-size: 1rem; }

p { text-wrap: pretty; }

.eyebrow {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
}

.lede {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--muted);
  max-width: 60ch;
}

.serif {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -.01em;
}

/* ---------- Layout ---------- */
.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--dark { background: var(--dark); color: rgba(255, 255, 255, .74); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lede { color: rgba(255, 255, 255, .68); }
.section--cream { background: var(--cream-2); }
.section--white { background: var(--surface); }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head .eyebrow { margin-bottom: .75rem; display: block; }
.section-head h2 + p { margin-top: .9rem; }

.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }

.stack > * + * { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .8rem 1.35rem;
  border-radius: 999px;
  font-size: .93rem;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
  border: 1.5px solid transparent;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 4px 14px rgba(188, 37, 45, .26); }
.btn--primary:hover { background: var(--brand-dark); box-shadow: 0 6px 20px rgba(188, 37, 45, .32); }

.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: var(--ink); }

.btn--light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(8px); }
.btn--light:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .5); }

.btn--solid-light { background: #fff; color: var(--ink); }
.btn--solid-light:hover { background: var(--cream-2); }

.btn--sm { padding: .55rem 1rem; font-size: .84rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  font-size: .92rem;
  color: var(--brand);
}
.link-arrow svg { transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 241, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand__logo { display: block; height: 38px; width: auto; }

.nav { display: flex; align-items: center; gap: .15rem; margin-left: auto; }
.nav a {
  padding: .5rem .78rem;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.nav a:hover { background: rgba(23, 18, 15, .05); color: var(--ink); }
.nav a[aria-current='page'] { color: var(--brand); background: var(--brand-soft); }

.header__actions { display: flex; align-items: center; gap: .6rem; margin-left: .4rem; }

/* Location switcher */
.locpick { position: relative; }
.locpick__btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .48rem .75rem .48rem .68rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: .84rem; font-weight: 700; color: var(--ink);
  transition: border-color .16s var(--ease);
}
.locpick__btn:hover { border-color: var(--ink); }
.locpick__btn svg:first-child { color: var(--brand); flex-shrink: 0; }
.locpick__chev { transition: transform .2s var(--ease); color: var(--muted-2); }
.locpick__btn[aria-expanded='true'] .locpick__chev { transform: rotate(180deg); }

.locpick__menu {
  position: absolute; top: calc(100% + .5rem); right: 0;
  min-width: 250px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .4rem;
  display: none;
  z-index: 50;
}
.locpick__menu[data-open='true'] { display: block; animation: pop .16s var(--ease); }

@keyframes pop {
  from { opacity: 0; transform: translateY(-6px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

.locpick__opt {
  display: flex; align-items: flex-start; gap: .7rem;
  width: 100%; text-align: left;
  padding: .6rem .7rem;
  border-radius: var(--radius-sm);
  transition: background-color .14s var(--ease);
}
.locpick__opt:hover { background: var(--cream); }
.locpick__opt strong { display: block; font-size: .9rem; color: var(--ink); font-weight: 700; }
.locpick__opt span { display: block; font-size: .78rem; color: var(--muted); line-height: 1.4; }
.locpick__tick { margin-left: auto; color: var(--brand); opacity: 0; flex-shrink: 0; margin-top: 3px; }
.locpick__opt[aria-selected='true'] .locpick__tick { opacity: 1; }

.locpick__opt--geo {
  color: var(--brand); font-weight: 700; font-size: .84rem;
  align-items: center; margin-bottom: .3rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--line-2);
}
.locpick__opt--geo svg { flex-shrink: 0; }
.locpick__opt--geo:disabled { opacity: .55; }

/* Mobile menu */
.burger {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  align-items: center; justify-content: center;
  border: 1.5px solid var(--line);
  background: var(--surface);
}
.burger span {
  display: block; width: 17px; height: 1.75px; background: var(--ink);
  border-radius: 2px; position: relative; transition: transform .22s var(--ease), opacity .18s var(--ease);
}
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 17px; height: 1.75px;
  background: var(--ink); border-radius: 2px; transition: transform .22s var(--ease);
}
.burger span::before { top: -5.5px; }
.burger span::after  { top:  5.5px; }
.burger[aria-expanded='true'] span { background: transparent; }
.burger[aria-expanded='true'] span::before { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded='true'] span::after  { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line-2);
  background: var(--cream);
  padding: .75rem 0 1.25rem;
}
.mobile-nav[data-open='true'] { display: block; }
.mobile-nav a {
  display: block;
  padding: .72rem .9rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--ink-2);
}
.mobile-nav a[aria-current='page'] { color: var(--brand); background: var(--brand-soft); }
.mobile-nav .btn { margin-top: .6rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to right, rgba(15, 11, 9, .93) 0%, rgba(15, 11, 9, .78) 42%, rgba(15, 11, 9, .35) 78%, rgba(15, 11, 9, .5) 100%),
    linear-gradient(to top, rgba(15, 11, 9, .8) 0%, transparent 45%);
}
.hero__inner {
  padding-block: clamp(4rem, 12vw, 8.5rem);
  max-width: 41rem;
}
.hero h1 { color: #fff; margin-block: 1rem .1rem; }
.hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255, 255, 255, .78);
  max-width: 46ch;
  margin-top: 1.1rem;
}
.hero .eyebrow { color: var(--flame); }
.hero .btn-row { margin-top: 2rem; }

.hero__strip {
  display: flex; flex-wrap: wrap; gap: 1.75rem;
  margin-top: 2.75rem; padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero__stat span {
  display: block; font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.hero__stat strong {
  display: block; font-size: 1.1rem; font-weight: 700; color: #fff; margin-top: .3rem;
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card--link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line);
}
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card--link:hover .card__media img { transform: scale(1.035); }
.card__body { padding: 1.35rem; }
.card__body h3 { margin-bottom: .45rem; }
.card__body p { font-size: .93rem; color: var(--muted); }

.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}
.badge--brand { background: var(--brand-soft); color: var(--brand-dark); }
.badge--flame { background: var(--flame-soft); color: #A55E0B; }
.badge--dark  { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- Feature rows ---------- */
.feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}
.feature__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.feature__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature--flip .feature__media { order: 2; }
@media (max-width: 720px) { .feature--flip .feature__media { order: 0; } }

.ticks { list-style: none; padding: 0; margin-top: 1.35rem; display: grid; gap: .55rem; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; font-size: .94rem; }
.ticks svg { flex-shrink: 0; margin-top: .3rem; color: var(--brand); }

/* ---------- Menu page ---------- */
.menu-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(251, 247, 241, .9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
  padding-block: .7rem;
}
.menu-nav__scroll {
  display: flex; gap: .4rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}
.menu-nav__scroll::-webkit-scrollbar { display: none; }
.menu-nav a {
  flex-shrink: 0;
  padding: .45rem .85rem;
  border-radius: 999px;
  font-size: .85rem; font-weight: 600;
  color: var(--muted);
  border: 1.5px solid transparent;
  transition: all .16s var(--ease);
}
.menu-nav a:hover { color: var(--ink); background: rgba(23, 18, 15, .05); }
.menu-nav a.is-active { color: #fff; background: var(--ink); border-color: var(--ink); }

.menu-section { padding-block: clamp(2.25rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line-2); }
.menu-section:last-of-type { border-bottom: none; }
.menu-section__head { margin-bottom: 1.75rem; }
.menu-section__head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.menu-section__head .note {
  font-size: .88rem; color: var(--muted); margin-top: .5rem; max-width: 62ch;
}

.menu-list { display: grid; gap: .2rem; }
@media (min-width: 880px) { .menu-list { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .35rem 1.25rem;
  padding: .85rem 0;
  border-bottom: 1px dashed var(--line-2);
  align-items: baseline;
}
.menu-item:last-child { border-bottom: none; }
.menu-item__name { font-weight: 700; color: var(--ink); font-size: .98rem; letter-spacing: -.01em; }
.menu-item__price {
  font-weight: 700; color: var(--brand); font-size: .98rem;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.menu-item__desc {
  grid-column: 1 / -1;
  font-size: .87rem; color: var(--muted); line-height: 1.5; max-width: 54ch;
}
.menu-item__sizes {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .15rem;
}
.size-pill {
  display: inline-flex; align-items: baseline; gap: .4rem;
  padding: .22rem .6rem;
  background: var(--cream-2);
  border-radius: 999px;
  font-size: .8rem;
}
.size-pill em { font-style: normal; color: var(--muted); }
.size-pill b { color: var(--brand); font-variant-numeric: tabular-nums; }

.addons {
  margin-top: 2rem; padding: 1.35rem;
  background: var(--cream-2);
  border-radius: var(--radius);
}
.addons h3 {
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .9rem;
}
.addons__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr)); gap: .5rem 1.5rem; }
.addons__row {
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: .89rem; padding: .2rem 0;
}
.addons__row b { color: var(--brand); font-weight: 700; font-variant-numeric: tabular-nums; }

.chip-group + .chip-group { margin-top: 1.5rem; }
.chip-group h3 {
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .75rem;
}
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips span {
  padding: .4rem .85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .87rem; font-weight: 500;
}

.menu-note {
  display: flex; gap: .7rem; align-items: flex-start;
  padding: 1rem 1.15rem;
  background: var(--flame-soft);
  border-radius: var(--radius-sm);
  font-size: .87rem; color: #7A4A0C;
  margin-top: 1.5rem;
}
.menu-note svg { flex-shrink: 0; margin-top: .18rem; }

/* ---------- Buffet ---------- */
.buffet-card {
  display: grid;
  grid-template-columns: minmax(0, 260px) 1fr;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 720px) { .buffet-card { grid-template-columns: 1fr; } }
.buffet-card__media { background: var(--cream-2); }
/* These are 4:5 posters with the title, price and times baked in — never crop
   them to a letterbox, or the artwork loses the very information it carries. */
.buffet-card__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
@media (max-width: 720px) {
  .buffet-card__media img { height: auto; object-fit: contain; }
}
.buffet-card__body { padding: clamp(1.35rem, 3vw, 2rem); display: flex; flex-direction: column; }
.buffet-card__when {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .84rem; font-weight: 600; color: var(--muted); margin-top: .5rem;
}
.price-row {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-top: 1.35rem; padding-top: 1.35rem;
  border-top: 1px solid var(--line-2);
}
.price-tile {
  flex: 1 1 110px;
  padding: .8rem .95rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
}
.price-tile span {
  display: block; font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.price-tile strong {
  display: block; font-size: 1.5rem; font-weight: 800;
  color: var(--ink); margin-top: .2rem; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}

.spread {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-top: 1.25rem;
}
.spread span {
  padding: .35rem .8rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  font-size: .86rem; color: rgba(255, 255, 255, .88);
}

.terms { list-style: none; padding: 0; display: grid; gap: .8rem; counter-reset: t; }
.terms li {
  display: flex; gap: .85rem; align-items: flex-start;
  font-size: .93rem;
}
.terms li::before {
  counter-increment: t;
  content: counter(t);
  flex-shrink: 0;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-dark);
  font-size: .74rem; font-weight: 800;
  margin-top: .1rem;
}

/* ---------- Locations ---------- */
.loc-card { display: flex; flex-direction: column; height: 100%; }
.loc-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--cream-2); position: relative; }
.loc-card__media img { width: 100%; height: 100%; object-fit: cover; }
.loc-card__badge { position: absolute; top: .9rem; left: .9rem; }
.loc-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.loc-card__body > .btn-row { margin-top: auto; padding-top: 1.35rem; }

.meta { display: grid; gap: .85rem; margin-top: 1.15rem; }
.meta__row { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; }
.meta__row svg { flex-shrink: 0; margin-top: .22rem; color: var(--muted-2); }
.meta__row a:hover { color: var(--brand); text-decoration: underline; }
.meta__row address { font-style: normal; }

.hours { display: grid; gap: .4rem; margin-top: .3rem; }
.hours__row {
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: .88rem; padding: .28rem 0;
  border-bottom: 1px dashed var(--line-2);
}
.hours__row:last-child { border-bottom: none; }
.hours__row span:first-child { color: var(--muted); }
.hours__row span:last-child { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }

.tag-row { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.15rem; }
.tag {
  padding: .28rem .7rem;
  background: var(--cream-2);
  border-radius: 999px;
  font-size: .78rem; font-weight: 600; color: var(--ink-2);
}

/* ---------- Locations map ---------- */
.map-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.map-card__head {
  display: flex; flex-wrap: wrap; gap: .9rem;
  align-items: center; justify-content: space-between;
  padding: 1.25rem 1.35rem;
  border-bottom: 1px solid var(--line-2);
}
.map-card__tabs { display: flex; flex-wrap: wrap; gap: .4rem; }
.map-card__tabs button {
  padding: .45rem .9rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--cream);
  font-size: .8rem; font-weight: 700; color: var(--ink-2);
  cursor: pointer;
  transition: background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease);
}
.map-card__tabs button:hover { border-color: var(--muted-2); }
.map-card__tabs button[aria-pressed='true'] { background: var(--brand); border-color: var(--brand); color: #fff; }
.map-card__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: .8rem;
  padding: 1rem 1.35rem 1.3rem;
}

.locations-map { height: 420px; width: 100%; background: var(--cream-2); }
.locations-map .leaflet-popup-content-wrapper { border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.locations-map .leaflet-popup-content { margin: .85rem 1rem; font-family: inherit; font-size: .86rem; line-height: 1.5; }
.locations-map .leaflet-popup-content h4 { margin: 0 0 .3rem; font-size: .95rem; color: var(--ink); }
.locations-map .leaflet-popup-content a { color: var(--brand); font-weight: 700; }

.hor-pin {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  background: var(--brand); color: #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border: 2px solid #fff;
  box-shadow: 0 3px 10px rgba(23, 18, 15, .35);
}
.hor-pin svg { transform: rotate(45deg); }

.geo-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  border: none; background: none; padding: 0;
  font-size: .82rem; font-weight: 700; color: var(--brand);
  cursor: pointer;
}
.geo-btn:hover { color: var(--brand-dark); text-decoration: underline; }
.geo-btn:disabled { opacity: .55; cursor: default; text-decoration: none; }

.geo-status { display: flex; gap: .5rem; align-items: flex-start; font-size: .84rem; color: var(--muted); }
.geo-status svg { flex-shrink: 0; margin-top: .18rem; }
.geo-status[data-state='ok'] { color: var(--brand-dark); }

.geo-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.2rem; margin-bottom: 1.35rem; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}

.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-size: .84rem; font-weight: 700; color: var(--ink); }
.field label .opt { font-weight: 500; color: var(--muted-2); }
.field__label-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.field .geo-status { margin-top: .1rem; }

.field input, .field select, .field textarea {
  width: 100%;
  padding: .7rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-size: .94rem;
  transition: border-color .16s var(--ease), background-color .16s var(--ease);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(188, 37, 45, .1);
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%237A6558' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .95rem center; padding-right: 2.4rem; }

.field-row { display: grid; gap: 0 1rem; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); }

.form-notice {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .95rem 1.1rem;
  background: var(--flame-soft);
  border: 1px solid rgba(232, 137, 31, .22);
  border-radius: var(--radius-sm);
  font-size: .86rem; color: #7A4A0C;
  margin-bottom: 1.5rem;
}
.form-notice svg { flex-shrink: 0; margin-top: .15rem; }
.form-notice strong { display: block; color: #5F3A08; }

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- Tabs ---------- */
.tabs {
  display: flex;
  gap: .4rem;
  padding: .35rem;
  background: var(--cream-2);
  border-radius: 999px;
  margin-bottom: 2rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  flex: 1 1 auto;
  white-space: nowrap;
  padding: .6rem 1.1rem;
  border-radius: 999px;
  font-size: .89rem;
  font-weight: 700;
  color: var(--muted);
  transition: background-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected='true'] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.tabpanel[hidden] { display: none; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
  gap: .85rem;
}
.gallery figure {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  background: var(--cream-2); aspect-ratio: 4 / 3;
}
.gallery figure.is-wide { grid-column: span 2; aspect-ratio: 16 / 9; }
@media (max-width: 560px) { .gallery figure.is-wide { grid-column: span 1; aspect-ratio: 4 / 3; } }
.gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease), filter .3s var(--ease);
}
.gallery figure:hover img { transform: scale(1.04); }

/* ---------- Drinks ---------- */
/* Two columns at most: these are dense printed menu pages and need the width. */
.drinks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 1.25rem;
}
.drink-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.drink-card__head {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid var(--line-2);
}
.drink-card__head h3 { font-size: 1.05rem; }
.drink-card__head p { font-size: .85rem; color: var(--muted); margin-top: .25rem; }
.drink-card__zoom {
  margin-left: auto; flex-shrink: 0;
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .35rem .7rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: .78rem; font-weight: 700; color: var(--ink);
  white-space: nowrap;
  transition: border-color .16s var(--ease), background-color .16s var(--ease);
}
.drink-card__zoom:hover { border-color: var(--ink); background: var(--cream); }
.drink-card__sheet { display: block; }
.drink-card__sheet img { width: 100%; height: auto; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .84); max-width: 52ch; margin: .9rem auto 0; }
.cta-band .btn-row { justify-content: center; margin-top: 1.75rem; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: rgba(255, 255, 255, .6); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer a { color: rgba(255, 255, 255, .72); }
.footer a:hover { color: #fff; }

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer__brand .brand__logo { height: 46px; }
.footer__brand p { font-size: .89rem; margin-top: 1rem; max-width: 34ch; }

.footer h2 {
  color: #fff; font-size: .74rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem;
}
.footer ul { list-style: none; padding: 0; display: grid; gap: .55rem; font-size: .89rem; }

.footer__loc { font-size: .87rem; line-height: 1.55; }
.footer__loc strong { display: block; color: #fff; font-size: .92rem; margin-bottom: .2rem; }

.socials { display: flex; gap: .5rem; margin-top: 1.25rem; }
.socials a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  transition: background-color .16s var(--ease), transform .16s var(--ease);
}
.socials a:hover { background: var(--brand); transform: translateY(-2px); }

.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  padding-top: 1.75rem;
  font-size: .8rem; color: rgba(255, 255, 255, .42);
}

/* ---------- Utilities ---------- */
.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;
}

.skip-link {
  position: absolute; top: -60px; left: 1rem; z-index: 200;
  padding: .7rem 1.1rem; background: var(--ink); color: #fff;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); font-weight: 700; font-size: .88rem;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 0; }

.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-head .eyebrow { display: block; margin-bottom: .75rem; }
.page-head p { margin-top: 1rem; }

.divider { height: 1px; background: var(--line-2); border: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header__actions { margin-left: auto; }
}

@media (max-width: 620px) {
  /* The booking CTA lives in the burger menu at this width — the location
     picker earns the space instead, since it drives the whole site. */
  .header__actions > .btn { display: none; }
  .header__inner { gap: .5rem; }
  .header__actions { gap: .4rem; }
  .hero__strip { gap: 1.25rem; }
  .hero__stat { flex: 1 1 40%; }
}

/* Phone widths: shrink the wordmark — the active restaurant label needs
   to stay readable, it drives the whole site. */
@media (max-width: 470px) {
  .brand__logo { height: 30px; }
  .locpick__btn { font-size: .8rem; padding: .45rem .6rem .45rem .55rem; }
  .locpick__menu { min-width: min(250px, calc(100vw - 2.5rem)); }
  .wrap { width: min(100% - 1.75rem, var(--wrap)); }
}

/* Only on the very narrowest handsets does the label finally give way. */
@media (max-width: 349px) {
  .locpick__btn span.locpick__label { display: none; }
}
