/* ==========================================================================
   THE KEG — Restaurant and Bar · Graytown, OH
   v2 "Family Table" — warm paper, checker ribbon, tomato & amber, real food
   ========================================================================== */

:root {
  /* Palette */
  --paper: #f7efe1;         /* page background — warm menu paper */
  --paper-2: #fffaf0;       /* raised cards */
  --paper-3: #efe3cd;       /* dips */
  --ink: #2a2018;           /* warm near-black text */
  --ink-soft: #6b5c4a;      /* secondary text */
  --smoke: #786652;         /* muted micro-labels — darkened to clear WCAG AA (4.5:1) on paper */
  --tomato: #c34a2b;        /* checker red / CTAs */
  --tomato-deep: #9d3a20;
  --amber: #d99a2b;         /* brand amber */
  --amber-deep: #b47b18;
  --basil: #5c7a4a;
  --line: rgba(42, 32, 24, 0.14);
  --line-soft: rgba(42, 32, 24, 0.08);

  /* Espresso Evolution — dark grounds + cream-on-dark text */
  --espresso: #34210f;      /* bourbon-barrel brown — warm charred oak, hero/bar/reviews */
  --espresso-deep: #241608; /* footer / deepest band */
  --barrel-glow: radial-gradient(120% 120% at 72% 18%, #4a2f14 0%, #34210f 42%, #26170a 100%);
  --cream: #f7efe1;         /* alias of --paper for the new world */
  --cream-raised: #fbf5ea;  /* alternating light band */
  --cream-text: #f4e9d9;    /* body text on espresso */

  /* Type — Cinzel (logo/Trajan) display + Jost geometric sans */
  --serif: "Cinzel", Georgia, serif;
  --sans: "Jost", "Avenir Next", "Segoe UI", sans-serif;
  --display: var(--serif);

  --radius: 14px;
  --r-sm: 8px;
  --r-lg: 18px;
  --r-pill: 100px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-pad: clamp(4.5rem, 9vw, 8rem);
  --shadow: 0 14px 40px rgba(42, 32, 24, 0.14);
  --shadow-soft: 0 10px 30px rgba(42, 32, 24, 0.10);
  --shadow-lift: 0 18px 44px rgba(42, 32, 24, 0.16);
  --ease-out: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h, 5rem) + 1.5rem); }
html:not(.lenis) { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--tomato-deep); text-decoration: none; }
a:hover { color: var(--tomato-deep); text-decoration: underline; text-underline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.06; margin: 0 0 0.55em; letter-spacing: 0.02em; }
p { margin: 0 0 1em; }
::selection { background: var(--amber); color: var(--ink); }
.wrap { max-width: 74rem; margin-inline: auto; padding-inline: var(--gutter); }

/* Paper grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 60;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

/* ---------- Utilities ---------- */
.kicker {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--tomato);
  display: flex; align-items: center; gap: 0.9rem;
  margin-bottom: 1.1rem;
}
.kicker::before { content: ""; width: 2.2rem; height: 2px; background: var(--amber); }
.kicker.center { justify-content: center; }
.kicker.center::after { content: ""; width: 2.2rem; height: 2px; background: var(--amber); }

.section-title { font-size: clamp(2.1rem, 4.8vw, 3.4rem); }
.lede { color: var(--ink-soft); max-width: 40em; font-size: 1.1rem; }

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--sans); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.13em; text-transform: uppercase;
  padding: 1rem 1.8rem;
  border-radius: 100px;
  border: 2px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(42,32,24,0.16); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-solid { background: var(--tomato); border-color: var(--tomato); color: #fff7ec; }
.btn-solid:hover { background: var(--tomato-deep); border-color: var(--tomato-deep); color: #fff7ec; }
.btn-amber { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn-amber:hover { background: #e8ab3f; border-color: #e8ab3f; color: var(--ink); }

/* Checker ribbon (their table paper!) */
.checker {
  --sq: 14px;
  background-image: conic-gradient(var(--tomato) 90deg, transparent 90deg 180deg, var(--tomato) 180deg 270deg, transparent 270deg);
  background-size: calc(var(--sq) * 2) calc(var(--sq) * 2);
  background-color: #fdf6e9;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: 0.8rem 1.4rem; font-weight: 700; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 40;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(42, 32, 24, 0.08);
}
/* Frosted background lives on a pseudo-element, NOT the header itself:
   backdrop-filter on the header would make it a containing block for the
   fixed mobile nav inside it, breaking the off-screen hide (pill overlaps logo). */
.site-header.scrolled::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: rgba(247, 239, 225, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-block: 0.85rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand .barrel { height: 2.7rem; width: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: "Cinzel", var(--serif); font-size: 1.3rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; line-height: 1; }
.brand-sub { font-size: 0.55rem; font-weight: 700; letter-spacing: 0.4em; text-transform: uppercase; color: var(--ink-soft); margin-top: 0.3rem; }
.site-nav { display: flex; align-items: center; gap: 1.9rem; }
.site-nav a {
  color: var(--ink);
  font-size: 0.83rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding-block: 0.4rem;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--amber); }
.nav-phone {
  border: 2px solid var(--ink); border-radius: 100px;
  padding: 0.5rem 1.1rem !important;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.nav-phone:hover { background: var(--ink); color: var(--paper) !important; border-bottom-color: transparent !important; }
.nav-phone svg { width: 0.9rem; height: 0.9rem; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem; color: var(--ink); }
.nav-toggle svg { width: 1.7rem; height: 1.7rem; display: block; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 0;
    background: var(--paper);
    flex-direction: column; justify-content: center;
    gap: 2rem;
    transform: translateY(-102%);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.7, 0, 0.2, 1), visibility 0.35s;
    z-index: -1;
  }
  .site-nav a { font-size: 1.2rem; }
  body.nav-open .site-nav { transform: translateY(0); visibility: visible; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle .icon-open { display: none; }
  body.nav-open .nav-toggle .icon-close { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  /* Full-bleed on normal screens, but capped: on very tall windows a plain
     100svh hero centers its content and leaves huge dead space above/below. */
  min-height: min(100svh, 52rem);
  display: flex; align-items: center;
  padding-top: calc(var(--header-h, 5.5rem) + 0.5rem);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  width: 100%;
}
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; padding-block: 2rem; } }
.hero h1 {
  font-size: clamp(2.9rem, 6.6vw, 5.6rem);
  margin-bottom: 0.4em;
}
.hero h1 .lineword { display: inline-block; }
.hero h1 em { font-style: italic; color: var(--tomato); }
.hero .lede { margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.2rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 1.8rem 2.6rem; border-top: 2px dashed var(--line); padding-top: 1.5rem; }
.fact dt { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--smoke); margin: 0 0 0.3rem; }
.fact dd { margin: 0; font-family: var(--serif); font-size: 1.15rem; }
.fact dd a { color: var(--ink); } .fact dd a:hover { color: var(--tomato); }
.open-badge { display: inline-flex; align-items: center; gap: 0.5rem; }
.open-badge .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--basil); box-shadow: 0 0 0 0 rgba(92,122,74,0.5); animation: pulse 2.2s infinite; }
.open-badge.closed .pulse { background: var(--tomato); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(92,122,74,0); } 100% { box-shadow: 0 0 0 0 rgba(92,122,74,0); } }

/* Hero visual: arch photo + spinning stamp */
.hero-visual { position: relative; }
.hero-arch {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 107 / 100;
  border: 5px solid var(--ink);
  box-shadow: 10px 12px 0 var(--amber), var(--shadow);
  background: var(--paper-3);
}
.hero-arch img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero-stamp {
  position: absolute; left: -3.2rem; bottom: 6%;
  width: 9.5rem; height: 9.5rem;
  color: var(--ink);
  filter: drop-shadow(0 6px 14px rgba(42,32,24,0.25));
}
.hero-stamp .stamp-inner { width: 100%; height: 100%; }
.hero-stamp svg { width: 100%; height: 100%; }
.hero-stamp .stamp-badge {
  position: absolute; inset: 22%;
  background: var(--tomato); border-radius: 50%;
  display: grid; place-items: center; color: #fff7ec;
}
.hero-stamp .stamp-badge svg { width: 58%; height: 58%; }
@media (max-width: 880px) {
  .hero-stamp { left: auto; right: -0.5rem; bottom: -1.5rem; width: 7.5rem; height: 7.5rem; }
}

/* Marquee ribbon */
.ribbon { border-block: 3px solid var(--ink); overflow: hidden; background: var(--paper-2); }
.ribbon-track { display: flex; width: max-content; padding-block: 0.9rem; animation: marquee 30s linear infinite; }
.ribbon span {
  font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink);
  white-space: nowrap; display: inline-flex; align-items: center; gap: 2.6rem; padding-right: 2.6rem;
}
.ribbon span::after { content: "★"; color: var(--tomato); font-style: normal; font-size: 0.75rem; }
.ribbon.checker-edge { border-bottom-width: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }
.checker-strip { height: 16px; border-block: 3px solid var(--ink); }

/* ---------- Sections ---------- */
section { padding-block: var(--section-pad); position: relative; }
.section-head { margin-bottom: clamp(2.2rem, 5vw, 3.8rem); }
.section-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.section-head.center { text-align: center; }
.section-head.center .lede { margin-inline: auto; }

/* ---------- Food gallery (native horizontal scroll) ---------- */
.gallery { padding-block: var(--section-pad); overflow: hidden; }
.gallery-viewport {
  overflow-x: auto; overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  cursor: grab;
}
.gallery-viewport::-webkit-scrollbar { display: none; }
.gallery-viewport.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.gallery-viewport.dragging .plate { pointer-events: none; }
.gallery-track {
  display: flex; gap: clamp(1.2rem, 2.5vw, 2.2rem);
  /* vertical padding gives hover-lift + flags + shadows room inside the clip */
  padding: 1.6rem var(--gutter) 2rem;
  width: max-content;
}
.plate { scroll-snap-align: center; }
.plate {
  position: relative;
  width: clamp(17rem, 26vw, 24rem);
  flex: none;
  background: var(--paper-2);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 7px 8px 0 rgba(42,32,24,0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.plate:hover { transform: translateY(-6px) rotate(-0.5deg); box-shadow: 9px 12px 0 var(--amber); }
.plate img { aspect-ratio: 1 / 1.02; width: 100%; object-fit: cover; }
.plate figcaption { padding: 1.1rem 1.2rem 1.2rem; }
.plate .name { font-family: var(--serif); font-size: 1.35rem; display: flex; justify-content: space-between; align-items: baseline; gap: 0.8rem; }
.plate .price { color: var(--tomato-deep); font-size: 1.1rem; white-space: nowrap; }
.plate .note { color: var(--ink-soft); font-size: 0.96rem; margin: 0.25rem 0 0; }
.plate .flag {
  position: absolute; top: 1rem; left: -0.4rem;
  background: var(--amber); color: var(--ink);
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  box-shadow: 2px 3px 0 rgba(42,32,24,0.3);
}
.gallery-hint { display: flex; align-items: center; gap: 0.6rem; color: var(--smoke); font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; }
.gallery-hint svg { width: 1.4rem; height: 1.4rem; }

/* ---------- Pizza chapter ---------- */
.pizza-chapter { background: var(--ink); color: var(--paper); overflow: clip; }
.pizza-chapter .kicker { color: var(--amber); }
.pizza-chapter .lede { color: #cbbfa8; }
.pizza-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 880px) { .pizza-grid { grid-template-columns: 1fr; } }
.pizza-photos { position: relative; min-height: 30rem; }
.pizza-photos .ph {
  position: absolute;
  border: 4px solid var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.pizza-photos .ph img { width: 100%; height: 100%; object-fit: cover; }
.pizza-photos .ph-a { width: 68%; aspect-ratio: 1; left: 0; top: 0; transform: rotate(-3deg); }
.pizza-photos .ph-b { width: 52%; aspect-ratio: 0.94; right: 0; bottom: 0; transform: rotate(2.5deg); }
@media (max-width: 880px) { .pizza-photos { min-height: 24rem; } }
.pizza-hours {
  margin-top: 2rem;
  border: 2px dashed rgba(247,239,225,0.35);
  border-radius: var(--radius);
  padding: 1.5rem 1.7rem;
  display: grid; gap: 0.7rem;
}
.pizza-hours .row { display: flex; justify-content: space-between; gap: 1rem; }
.pizza-hours dt { color: #cbbfa8; }
.pizza-hours dd { margin: 0; font-family: var(--serif); color: var(--amber); }
.pizza-topping-note { color: #cbbfa8; font-size: 0.98rem; font-style: italic; }

/* ---------- Reviews ---------- */
.reviews { text-align: center; }
.review-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1.1rem; max-width: 56rem; margin: 0 auto 2.6rem; }
.rstat { border: 3px solid var(--ink); border-radius: var(--radius); background: var(--paper-2); padding: 1.6rem 1rem 1.3rem; box-shadow: 5px 6px 0 rgba(42,32,24,0.12); }
.rstat .num { font-family: var(--serif); font-size: clamp(2.1rem, 4vw, 2.9rem); line-height: 1; color: var(--tomato); }
.rstat .num sup { font-size: 0.45em; }
.rstat .label { margin-top: 0.5rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.review-quote { max-width: 44rem; margin: 0 auto; }
.review-quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.45; }
.review-quote cite { font-style: normal; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--smoke); }

/* ---------- Menu CTA ---------- */
.menu-cta { padding: 0; }
.menu-cta-inner {
  position: relative;
  background: var(--amber);
  border-block: 3px solid var(--ink);
  padding-block: clamp(4rem, 8vw, 6.5rem);
  text-align: center;
  overflow: clip;
}
.menu-cta h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.menu-cta .lede { color: var(--ink-soft); margin: 0 auto 2.2rem; }
.menu-cta .float-food {
  position: absolute; border-radius: 50%;
  border: 4px solid var(--ink); overflow: hidden;
  width: clamp(6rem, 11vw, 10rem); aspect-ratio: 1;
  box-shadow: var(--shadow);
}
.menu-cta .float-food img { width: 100%; height: 100%; object-fit: cover; }
.menu-cta .ff-a { left: 4%; top: 12%; transform: rotate(-8deg); }
.menu-cta .ff-b { right: 5%; top: 8%; transform: rotate(6deg); }
.menu-cta .ff-c { right: 12%; bottom: 8%; transform: rotate(-5deg); }
.menu-cta .ff-d { left: 10%; bottom: 6%; transform: rotate(7deg); }
/* On phones the centered heading fills the width — hide the decorative food
   circles entirely so they never overlap the text. */
@media (max-width: 760px) { .menu-cta .float-food { display: none; } }

/* ---------- Visit ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 6vw, 4.5rem); align-items: start; }
@media (max-width: 880px) { .visit-grid { grid-template-columns: 1fr; } }
.visit-info dl { margin: 0 0 2rem; display: grid; gap: 1.5rem; }
.visit-info dt { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--tomato-deep); margin-bottom: 0.35rem; }
.visit-info dd { margin: 0; font-family: var(--serif); font-size: 1.4rem; }
.visit-info dd .sub { display: block; font-family: var(--sans); font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.25rem; }
.map-frame {
  border: 3px solid var(--ink); border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--paper-2);
  box-shadow: 8px 9px 0 var(--amber);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d9cdb8; padding-block: 3.5rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.6rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
/* Footer lockup — same parts as the header (barrel mark + Cinzel wordmark +
   amber sub), stacked to fit the footer column. One source of truth. */
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-brand .barrel { height: 3.2rem; width: auto; margin-bottom: 0.9rem; }
.footer-brand .brand-name { font-family: "Cinzel", var(--serif); font-size: 1.9rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; line-height: 1; color: var(--cream-text); margin: 0; }
.footer-brand .brand-sub { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.4em; text-transform: uppercase; color: var(--amber); margin: 0.5rem 0 0; }
.footer-col h4 { font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--amber); margin-bottom: 1rem; }
.footer-col p { font-size: 1rem; }
.footer-col a { color: #d9cdb8; }
.footer-col a:hover { color: var(--paper); }
.footer-social { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; color: #d9cdb8; }
.footer-social svg { width: 1.1rem; height: 1.1rem; }
.footer-legal { border-top: 1px solid rgba(247,239,225,0.15); padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: #9b8d78; font-size: 0.8rem; }
.footer-legal .advisory { max-width: 44rem; }

.to-top {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 30;
  width: 3.1rem; height: 3.1rem;
  display: grid; place-items: center;
  background: var(--paper-2); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 50%;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  cursor: pointer;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--amber); }
.to-top svg { width: 1.2rem; height: 1.2rem; }

/* ---------- Menu page ---------- */
.menu-hero {
  padding-block: 10rem 3.2rem;
  border-bottom: 3px solid var(--ink);
  background:
    radial-gradient(40rem 20rem at 85% -20%, rgba(217, 154, 43, 0.18), transparent 60%),
    var(--paper);
}
.menu-hero h1 { font-size: clamp(2.8rem, 6.5vw, 4.8rem); margin-bottom: 0.25em; }
.menu-hero .lede { margin-bottom: 1.6rem; }
.menu-hero .menu-meta { display: flex; flex-wrap: wrap; gap: 0.9rem 2rem; color: var(--ink-soft); font-size: 0.98rem; }
.menu-hero .menu-meta strong { color: var(--ink); }
.menu-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }

.menu-nav {
  position: sticky; top: var(--header-h, 4.4rem); z-index: 10;
  background: rgba(247, 239, 225, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--line);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.menu-nav::-webkit-scrollbar { display: none; }
.menu-nav .wrap { display: flex; gap: 1.7rem; }
.menu-nav a {
  flex: none;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft);
  padding-block: 0.95rem;
  border-bottom: 3px solid transparent;
}
.menu-nav a:hover, .menu-nav a.active { color: var(--ink); border-bottom-color: var(--tomato); }

.menu-section { padding-block: clamp(3rem, 6vw, 4.5rem); }
/* Anchor landing must clear BOTH the fixed header and the sticky sub-nav.
   (The JS Lenis path uses its own measured offset; this covers native scroll
   when smooth-scroll is off — reduced motion or CDN unavailable.) */
.menu-section[id] { scroll-margin-top: calc(var(--header-h, 6rem) + 4.5rem); }
.menu-section + .menu-section { border-top: 2px dashed var(--line); }
.menu-section-head { margin-bottom: 2rem; }
.menu-section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 0.2em; }
.menu-section-head .note { color: var(--ink-soft); font-size: 1.02rem; font-style: italic; max-width: 42em; }
.menu-cols { columns: 2; column-gap: 3.5rem; }
@media (max-width: 820px) { .menu-cols { columns: 1; } }
.menu-item { break-inside: avoid; margin-bottom: 1.8rem; }
.menu-item .line { display: flex; align-items: baseline; gap: 0.7rem; }
.menu-item .line::after { content: ""; order: 2; flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.menu-item h3 { order: 1; font-size: 1.2rem; margin: 0; }
.menu-item .price { order: 3; font-family: var(--serif); color: var(--tomato-deep); font-size: 1.08rem; white-space: nowrap; }
.menu-item .desc { color: var(--ink-soft); font-size: 1rem; margin: 0.35rem 0 0; }
.menu-item .addon { color: var(--smoke); font-size: 0.9rem; font-style: italic; margin: 0.3rem 0 0; }
.menu-callout {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.3rem 1.5rem;
  color: var(--ink-soft); font-size: 0.95rem;
  margin-bottom: 2rem;
}
.menu-callout strong { color: var(--ink); }
.menu-callout + .menu-callout { margin-top: 1rem; }
.menu-columns-list { columns: 2; column-gap: 3rem; margin: 0.8rem 0 0; padding: 0; list-style: none; }
.menu-columns-list li { padding: 0.26rem 0; color: var(--ink-soft); font-size: 0.95rem; break-inside: avoid; }
@media (max-width: 600px) { .menu-columns-list { columns: 1; } }

/* ---------- 404 ---------- */
.error-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: var(--gutter); }
.error-page .barrel { width: 7rem; color: var(--tomato); margin-inline: auto; margin-bottom: 2rem; }
.error-page h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.error-page p { color: var(--ink-soft); margin-bottom: 2rem; }

/* ---------- Motion primitives ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); }
.js [data-reveal].in, html.gsap [data-reveal] { transition: none; }
.js:not(.gsap) [data-reveal] { transition: opacity 0.7s ease, transform 0.7s ease; }
.js:not(.gsap) [data-reveal].in { opacity: 1; transform: none; }
/* Failsafe: if main.js never runs (script blocked/failed), reveal-live is never
   added, so hidden content force-reveals rather than vanishing. main.js adds
   .reveal-live the instant it executes, which disarms this before it can fire —
   so it never touches the normal scroll-reveal choreography. */
@keyframes reveal-failsafe { to { opacity: 1; transform: none; } }
.js:not(.reveal-live) [data-reveal] { animation: reveal-failsafe 0.01s linear 4s forwards; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ribbon-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Print — menu.html prints as a clean take-home menu
   ========================================================================== */
@media print {
  :root { --ink: #111; --ink-soft: #333; --smoke: #555; --tomato: #111; --amber: #888; }
  body { background: #fff; color: #111; font-size: 10.5pt; }
  body::before { display: none; }
  .site-header, .menu-nav, .site-footer, .to-top, .menu-actions, .nav-toggle { display: none !important; }
  .menu-hero { padding: 0 0 1rem; background: none; border-bottom: 2px solid #111; }
  .menu-section { padding-block: 1.2rem; }
  .menu-section + .menu-section { border-top: 1px solid #999; }
  .menu-cols { columns: 2; column-gap: 2.5rem; }
  .menu-item { margin-bottom: 0.9rem; }
  .menu-callout { background: none; border: 1px solid #999; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  a { color: #111; text-decoration: none; }
}

/* ==========================================================================
   Drinks page (Untappd-fed)
   ========================================================================== */
.tap-updated {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--smoke); margin-bottom: 1.6rem;
}
.tap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1rem;
}
.tap-card {
  background: var(--paper-2);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.2rem;
  box-shadow: 5px 6px 0 rgba(42,32,24,0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}
.tap-card:hover { transform: translateY(-4px); box-shadow: 7px 9px 0 var(--amber); }
.tap-card::before { content: none; }
.tap-card h3 { font-size: 1.22rem; margin: 0.3rem 0 0.35rem; }
.tap-card .tap-style { color: var(--tomato-deep); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em; margin: 0 0 0.4rem; }
.tap-card .tap-meta { color: var(--ink-soft); font-size: 0.9rem; margin: 0; }

.drink-block { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 2px dashed var(--line); }
.drink-list {
  list-style: none; margin: 0; padding: 0;
  columns: 3; column-gap: 3rem;
}
@media (max-width: 980px) { .drink-list { columns: 2; } }
@media (max-width: 620px) { .drink-list { columns: 1; } }
.drink-list li { break-inside: avoid; padding: 0.5rem 0; border-bottom: 1px dotted var(--line); }
.drink-list .d-name { display: block; font-family: var(--serif); font-size: 1.02rem; line-height: 1.3; }
.drink-list .d-meta { display: block; color: var(--smoke); font-size: 0.84rem; margin-top: 0.15rem; }

@media print {
  .tap-card { border: 1px solid #999; box-shadow: none; }
  .tap-card::before { display: none; }
}

/* ==========================================================================
   Fun layer — micro-interactions & playful details
   ========================================================================== */

/* Hand-drawn wavy underline under the hero's "everybody."
   A repeating SVG wave tile at a FIXED height → never distorts, never overlaps.
   padding-bottom reserves clear space below the descenders. */
.hero h1 em.underlined {
  display: inline-block;
  padding-bottom: 0.5em;
  line-height: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='10' viewBox='0 0 46 10'%3E%3Cpath d='M1 6 Q 12 1.5 23 6 T 45 6' fill='none' stroke='%23d99a2b' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: left bottom 0.05em;
  background-size: auto 0.42em;
}

/* Plates sit hand-placed, straighten on touch */
.plate:nth-child(odd) { transform: rotate(-1.3deg); }
.plate:nth-child(even) { transform: rotate(1.1deg); }
.plate:nth-child(3n) { transform: rotate(-0.6deg); }
.plate:hover { transform: translateY(-8px) rotate(0deg) scale(1.01); }
.plate img { transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.plate:hover img { transform: scale(1.05) rotate(0.5deg); }

/* Tap cards: same hand-placed feel */
.tap-card:nth-child(odd) { transform: rotate(-0.5deg); }
.tap-card:nth-child(even) { transform: rotate(0.45deg); }
.tap-card:hover { transform: translateY(-5px) rotate(0deg); }

/* Wiggles */
@keyframes wiggle {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2.5deg); }
}
@keyframes boing {
  0%, 100% { transform: translateY(0) scale(1); }
  35% { transform: translateY(-9px) scale(1.15) rotate(-6deg); }
  65% { transform: translateY(-4px) scale(1.08) rotate(5deg); }
}
.brand:hover .barrel { animation: wiggle 0.5s ease-in-out; transform-origin: 50% 85%; }
.comm-card:hover .emoji { animation: boing 0.6s ease-in-out; display: inline-block; }
.comm-card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.comm-card:hover { transform: translateY(-4px) rotate(-0.4deg); box-shadow: 8px 10px 0 var(--amber); }

.polaroid { transition: transform 0.35s var(--ease-out); }
.polaroid-a:hover { transform: rotate(-1deg) scale(1.03); z-index: 5; }
.polaroid-b:hover { transform: rotate(1deg) scale(1.03); z-index: 5; }

/* Papel picado zigzag on the fiesta band edges */
.fiesta { position: relative; }
.fiesta::before, .fiesta::after {
  content: "";
  position: absolute; left: 0; right: 0; height: 16px;
  background:
    linear-gradient(-45deg, var(--tomato) 11.3px, transparent 0),
    linear-gradient(45deg, var(--tomato) 11.3px, transparent 0);
  background-size: 32px 16px;
  background-repeat: repeat-x;
}
.fiesta::before { top: -15px; }
.fiesta::after { bottom: -15px; transform: scaleY(-1); z-index: 2; }

/* Stamp invites a click */
.hero-stamp { cursor: pointer; transition: transform 0.25s var(--ease-out); }
.hero-stamp:hover { transform: scale(1.08); }
.hero-stamp:active { transform: scale(0.94); }

/* Confetti particles (spawned by JS) */
.confetti-bit {
  position: fixed; z-index: 80;
  font-size: 1.6rem; line-height: 1;
  pointer-events: none;
  will-change: transform, opacity;
}

/* Gallery hint arrow nudges */
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
.gallery-hint svg { animation: nudge 1.6s ease-in-out infinite; }

/* Buttons: playful arrow lean on solid CTAs */
.btn-solid:hover { letter-spacing: 0.16em; }

@media (prefers-reduced-motion: reduce) {
  .plate, .tap-card, .polaroid, .comm-card, .hero-stamp { transition: none; }
  .plate:hover, .tap-card:hover, .comm-card:hover { transform: none; }
  .brand:hover .barrel, .comm-card:hover .emoji, .gallery-hint svg { animation: none; }
}

/* ==========================================================================
   Research-driven conversion layer (top restaurant site patterns)
   ========================================================================== */

/* Announcement bar — specials visibility (sits inside fixed header) */
.announce {
  background: var(--ink); color: var(--paper);
  font-size: 0.85rem; text-align: center;
  padding: 0.5rem 3rem;
  position: relative;
}
.announce strong { color: var(--amber); }
.announce a { color: var(--paper); text-decoration: underline; text-underline-offset: 2px; }
.announce a:hover { color: var(--amber); }
.announce-x {
  position: absolute; right: 0.6rem; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: var(--paper); cursor: pointer;
  font-size: 1rem; line-height: 1; padding: 0.4rem;
  opacity: 0.7;
}
.announce-x:hover { opacity: 1; }
body.announce-hidden .announce { display: none; }

/* Header owns a solid background once it carries the announce bar */
.site-header { background: transparent; }

/* Mobile sticky action bar — one-tap Call / Menu / Directions */
.action-bar { display: none; }
@media (max-width: 880px) {
  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: grid; grid-template-columns: 1fr 1.2fr 1fr;
    background: var(--ink);
    border-top: 3px solid var(--amber);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .action-bar a {
    display: flex; align-items: center; justify-content: center; gap: 0.45rem;
    padding: 0.95rem 0.4rem;
    color: var(--paper);
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  }
  .action-bar a svg { width: 1.05rem; height: 1.05rem; flex: none; }
  .action-bar .ab-primary { background: var(--tomato); color: #fff7ec; }
  body { padding-bottom: 3.4rem; }
  .to-top { bottom: 4.6rem; }
}
@media print { .action-bar, .announce { display: none !important; } }

/* Film strip — cinematic auto-scrolling photo reel */
.filmstrip {
  overflow: hidden;
  border-block: 3px solid var(--ink);
  background: var(--paper-3);
  padding-block: 1.4rem;
}
.filmstrip-track { display: flex; gap: 1rem; width: max-content; animation: marquee 46s linear infinite; }
.filmstrip img {
  height: clamp(9rem, 16vw, 13rem); width: auto;
  border: 3px solid var(--ink); border-radius: 8px;
  box-shadow: 4px 5px 0 rgba(42,32,24,0.14);
}
.filmstrip img:nth-child(odd) { transform: rotate(-1deg); }
.filmstrip img:nth-child(even) { transform: rotate(0.8deg); }
.filmstrip:hover .filmstrip-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .filmstrip-track { animation: none; } }

/* ==========================================================================
   Header fit fixes — no clipping around the call pill, safe pre-JS offsets
   ========================================================================== */

/* Roomier pre-JS fallback so nothing hides under the fixed header before
   --header-h is measured */
.hero { padding-top: calc(var(--header-h, 7.5rem) + 0.5rem); }
.menu-hero { padding-top: calc(var(--header-h, 7.5rem) + 3.5rem); }

/* Keep the header row on one line and let it breathe */
.header-inner { flex-wrap: nowrap; min-width: 0; }
.brand { flex: none; }
.site-nav { min-width: 0; }
.site-nav a { white-space: nowrap; }
.nav-phone { flex: none; }

/* Squeeze zone: nav gets tight between the mobile breakpoint and ~1120px */
@media (min-width: 881px) and (max-width: 1120px) {
  .site-nav { gap: 1.1rem; }
  .site-nav a { font-size: 0.74rem; letter-spacing: 0.1em; }
  .nav-phone { padding: 0.45rem 0.85rem !important; }
  .brand-name { font-size: 1.3rem; }
}

/* Announce bar: keep the dismiss button clear of wrapped text */
.announce .wrap { padding-inline: 0; }
.announce { line-height: 1.45; }

/* Phone pill: full border on all sides — exempt from the nav underline system
   (.site-nav a paints a 3px transparent border-bottom for hover underlines,
   which was erasing the pill's bottom edge) */
.site-nav a.nav-phone {
  border: 2px solid var(--ink);
  border-radius: 100px;
}
.site-nav a.nav-phone:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper) !important;
}

/* ==========================================================================
   Gallery controls — arrows + hint (native-scroll version)
   ========================================================================== */
.gallery-controls { display: flex; align-items: center; gap: 1.2rem; }
.gallery-arrows { display: flex; gap: 0.6rem; }
.g-arrow {
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 3px 4px 0 rgba(42,32,24,0.14);
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.15s ease, opacity 0.2s ease;
}
.g-arrow:hover { background: var(--amber); transform: translateY(-2px); box-shadow: 3px 6px 0 rgba(42,32,24,0.18); }
.g-arrow:active { transform: translateY(0); box-shadow: 2px 2px 0 rgba(42,32,24,0.16); }
.g-arrow svg { width: 1.3rem; height: 1.3rem; }
.g-arrow[disabled] { opacity: 0.3; pointer-events: none; box-shadow: none; }
@media (max-width: 620px) { .gallery-arrows { display: none; } }

/* Community card that links out (Whiskey Wall → drinks) */
a.comm-link { color: inherit; text-decoration: none; display: block; }
a.comm-link:hover { color: inherit; }
.comm-more { display: inline-block; margin-top: 0.2rem; color: var(--tomato-deep); font-weight: 700; white-space: nowrap; }
a.comm-link:hover .comm-more { color: var(--tomato-deep); }

/* Whiskey-wall banner (drinks page) — full-width B&W band, readable caption */
.bar-banner {
  position: relative; margin: 0;
  border-block: 3px solid var(--ink);
  background: #14100c;
  overflow: hidden;
}
.bar-banner img {
  width: 100%; height: clamp(11rem, 26vw, 20rem);
  object-fit: cover; object-position: center 42%;
  display: block;
}
.bar-banner figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.2rem clamp(1.25rem, 4vw, 3rem) 1.1rem;
  background: linear-gradient(transparent, rgba(10,8,6,0.82));
  color: var(--paper);
  font-family: var(--serif); font-size: clamp(1rem, 2vw, 1.35rem);
}
.bar-banner figcaption span { color: var(--amber); font-style: italic; font-weight: 600; }
@media print { .bar-banner { display: none; } }

/* ==========================================================================
   Video review feature (reviews section) — click-to-play facade
   ========================================================================== */
.review-feature {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center; text-align: left;
  max-width: 62rem; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
}
@media (max-width: 780px) { .review-feature { grid-template-columns: 1fr; text-align: center; } }

.video-facade {
  position: relative; display: block;
  aspect-ratio: 16 / 9;
  border: 3px solid var(--ink); border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
  box-shadow: 7px 8px 0 var(--ink);
  background: #14100c;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.video-facade:hover { transform: translateY(-3px); box-shadow: 8px 11px 0 var(--tomato); }
.video-facade img { width: 100%; height: 100%; object-fit: cover; }
.video-facade::after { content: ""; position: absolute; inset: 0; background: rgba(20,16,12,0.12); transition: background 0.2s ease; }
.video-facade:hover::after { background: rgba(20,16,12,0.02); }
.video-play {
  position: absolute; inset: 0; margin: auto;
  width: 4.6rem; height: 4.6rem; z-index: 2;
  display: grid; place-items: center;
  background: var(--tomato); color: #fff7ec;
  border: 3px solid #fff7ec; border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: transform 0.2s ease, background 0.2s ease;
}
.video-facade:hover .video-play { transform: scale(1.08); background: var(--tomato-deep); }
.video-play svg { width: 1.9rem; height: 1.9rem; margin-left: 3px; }
.video-tag {
  position: absolute; top: 0.8rem; left: 0.8rem; z-index: 2;
  background: var(--amber); color: var(--ink);
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.35rem 0.8rem; border-radius: 3px;
  box-shadow: 2px 3px 0 rgba(42,32,24,0.35);
}
.review-feature-copy h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0.2rem 0 0.5rem; }
.review-feature-copy p { color: var(--ink-soft); margin: 0 0 0.7rem; }
.review-feature-copy em { color: var(--tomato); font-style: italic; }
.video-src { font-size: 0.78rem !important; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--smoke) !important; }
/* live iframe swapped in on click */
.video-facade.playing { cursor: default; }
.video-facade .video-embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media print { .review-feature { display: none; } }

/* ==========================================================================
   HYBRID DARK ROOM — homepage redesign (scoped to body.v3)
   One continuous bourbon room that opens into full-bleed photo moments.
   Cinzel + Jost · food photos glow as warm windows on the dark ground.
   ========================================================================== */

/* The whole page is one continuous dark bourbon room */
body.v3 { background: var(--espresso); color: var(--cream-text); }
.v3 h1, .v3 h2, .v3 h3, .v3 .section-title { color: #fdf7ec; }
.v3 .eyebrow { display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.6rem; }

/* Header over the dark room */
.v3 .site-header .brand-name { color: var(--cream-text); }
.v3 .site-header .brand-sub { color: var(--amber); }
.v3 .site-header .site-nav a { color: var(--cream-text); border-bottom-color: transparent; }
.v3 .site-header .site-nav a:hover, .v3 .site-header .site-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--amber); }
.v3 .site-header .nav-phone { color: var(--cream-text); }
.v3 .nav-toggle { color: var(--cream-text); }
.v3 .site-header.scrolled::before { background: rgba(27,17,12,0.92); }
/* Mobile nav overlay — the full-screen panel must sit on the dark room,
   or the cream links land on the base cream (--paper) and vanish. */
@media (max-width: 880px) {
  .v3 .site-nav { background: var(--espresso-deep); }
  .v3 .site-header .site-nav a { color: var(--cream-text); }
  .v3 .site-header .site-nav a[aria-current="page"] { color: var(--amber); border-bottom-color: transparent; }
  /* Phone pill: the base ink border vanishes on the dark overlay — give it an
     amber bubble (tied to the crest) that fills solid on tap. */
  .v3 .site-nav a.nav-phone {
    border-color: rgba(217,154,43,0.55);
    background: rgba(217,154,43,0.08);
    color: var(--amber);
    padding: 0.7rem 1.4rem;
  }
  .v3 .site-nav a.nav-phone:hover, .v3 .site-nav a.nav-phone:active {
    border-color: var(--amber);
    background: var(--amber);
    color: var(--espresso-deep) !important;
  }
}
/* Decorative barrel crest atop the open mobile overlay — desktop hides it. */
.nav-crest { display: none; }
@media (max-width: 880px) {
  .nav-crest {
    display: block; width: 3.6rem; height: auto; margin-bottom: 0.6rem;
    opacity: 0; transform: translateY(-8px) scale(0.9);
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.45));
    transition: opacity 0.4s var(--ease-out) 0.12s, transform 0.4s var(--ease-out) 0.12s;
  }
  body.nav-open .nav-crest { opacity: 0.95; transform: none; }
}
/* Auto-hide header + mobile action bar while scrolling down; reveal on scroll up */
.v3 .site-header { transition: transform 0.35s var(--ease-out), background 0.25s ease, box-shadow 0.25s ease; }
@media (max-width: 820px) {
  body.v3.nav-hidden .site-header { transform: translateY(-100%); }
  .v3 .action-bar { transition: transform 0.35s var(--ease-out); }
  body.v3.nav-hidden .action-bar { transform: translateY(100%); }
}

/* Hero (room) — sits on the page's dark ground */
.v3 .hero { background: var(--barrel-glow); color: var(--cream-text); min-height: min(92vh, 800px); display: flex; align-items: center; padding-top: calc(var(--header-h, 6rem) + clamp(2rem, 6vh, 4rem)); padding-bottom: clamp(3rem, 7vh, 6rem); }
.v3 .hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; width: 100%; }
.v3 .hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.03; letter-spacing: 0.015em; color: #fdf7ec; margin: 0 0 1.3rem; }
.v3 .hero h1 em.underlined { font-style: normal; color: var(--amber); background: none; }
.v3 .hero .lede { font-family: var(--sans); font-weight: 300; font-size: clamp(1.02rem, 1.5vw, 1.22rem); line-height: 1.6; color: rgba(244,233,217,0.82); max-width: 34ch; margin: 0 0 2.2rem; }
.v3 .hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 0; }
.v3 .hero-visual { position: relative; }
.v3 .hero-arch { border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,0.5), 0 0 0 1px rgba(217,154,43,0.12); aspect-ratio: 4 / 4.6; -webkit-mask: none; mask: none; border: 0; }
.v3 .hero-arch::before, .v3 .hero-arch::after { content: none; }
.v3 .hero-arch img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* Buttons — soft pill, terracotta solid, ground-adaptive outline */
.v3 .btn { border-radius: var(--r-pill); font-family: var(--sans); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.13em; text-transform: uppercase; padding: 0.95rem 1.7rem; border: 1.5px solid rgba(244,233,217,0.4); color: var(--cream-text); gap: 0.5rem; transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s, color 0.2s, border-color 0.2s; }
.v3 .btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.v3 .btn:active { transform: translateY(0); box-shadow: none; }
.v3 .btn-solid { background: var(--tomato); border-color: var(--tomato); color: #fff7ec; }
.v3 .btn-solid:hover { background: var(--tomato-deep); border-color: var(--tomato-deep); color: #fff7ec; }
.v3 .btn-outline { background: transparent; border-color: rgba(244,233,217,0.5); color: var(--cream-text); }
.v3 .btn-outline:hover, .v3 .btn-outline.on-dark:hover { background: rgba(244,233,217,0.1); color: #fff; border-color: rgba(244,233,217,0.75); }

/* Food windows — photos glow on the dark ground */
.v3 .gallery { background: transparent; padding-block: clamp(3.5rem, 7vw, 6rem); }
.v3 .gallery .section-title { color: #fdf7ec; }
.v3 .gallery-hint { color: rgba(244,233,217,0.5); }
.v3 .g-arrow { border: 1.5px solid rgba(244,233,217,0.3); color: var(--cream-text); background: transparent; }
.v3 .g-arrow:hover { background: var(--cream-text); color: var(--espresso); border-color: var(--cream-text); }
.v3 .plate { background: rgba(255,245,230,0.045); border: 0; border-radius: 16px; box-shadow: 0 18px 40px rgba(0,0,0,0.4); transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out); }
.v3 .plate:hover { transform: translateY(-6px); box-shadow: 0 26px 56px rgba(0,0,0,0.5); }
.v3 .plate .name { font-family: var(--display); font-weight: 600; color: #fdf7ec; }
.v3 .plate .price { color: var(--amber); font-family: var(--sans); font-weight: 500; }
.v3 .plate .note { color: rgba(244,233,217,0.6); font-family: var(--sans); }
.v3 .plate .flag { background: var(--tomato); color: #fff7ec; border: 0; border-radius: var(--r-pill); box-shadow: none; font-family: var(--sans); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.58rem; padding: 0.35rem 0.8rem; }

/* Full-bleed moment — the room opens into a cinematic photo, then dissolves back */
.v3 .bleed { position: relative; min-height: min(90vh, 760px); display: flex; align-items: center; background-size: cover; background-position: center; }
.v3 .bleed::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(16,9,3,0.88) 0%, rgba(16,9,3,0.55) 40%, rgba(16,9,3,0.08) 70%, rgba(16,9,3,0) 100%),
  linear-gradient(180deg, #34210f 0%, rgba(52,33,15,0.10) 15%, rgba(20,11,4,0.28) 55%, #34210f 100%); }
.v3 .bleed > .wrap { position: relative; z-index: 1; width: 100%; }
.v3 .bleed .eyebrow { color: var(--amber); }
.v3 .bleed h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); color: #fff; margin: 0 0 0.7rem; max-width: 15ch; text-shadow: 0 2px 30px rgba(0,0,0,0.4); }
.v3 .bleed .lede { font-family: var(--sans); font-weight: 300; font-size: clamp(1rem, 1.5vw, 1.2rem); color: rgba(255,255,255,0.85); max-width: 42ch; }

/* Where Graytown gathers (room) — the north star */
.v3 .gather { padding-block: clamp(4rem, 8vw, 7rem); }
.v3 .gather-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.v3 .gather .section-title { font-size: clamp(2rem, 4vw, 3.2rem); }
.v3 .gather .lede { color: rgba(244,233,217,0.72); font-family: var(--sans); font-weight: 300; max-width: 42ch; margin: 0 0 2rem; }
.v3 .gather-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 2rem; margin: 0; }
.v3 .gather-facts dt { font-family: var(--sans); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); margin: 0 0 0.35rem; }
.v3 .gather-facts dd { margin: 0; font-family: var(--sans); font-size: 0.98rem; color: rgba(244,233,217,0.75); line-height: 1.45; }
.v3 .gather-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.v3 .gp { width: 100%; border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,0.4); object-fit: cover; display: block; }
.v3 .gp-a { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.v3 .gp-b, .v3 .gp-c { aspect-ratio: 1 / 1; }

/* Visit (room) */
.v3 #visit { padding-block: clamp(4rem, 8vw, 7rem); }
.v3 #visit .section-title { color: #fdf7ec; }
.v3 .visit-info dt { color: var(--amber); }
.v3 .visit-info dd { color: #fdf7ec; }
.v3 .visit-info dd .sub { color: rgba(244,233,217,0.6); }
.v3 .visit-info dd a { color: var(--cream-text); }
.v3 .map-frame { border-radius: 16px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,0.4); }

/* Footer already dark (espresso-deep); nudge accents for the room */
.v3 .site-footer { background: var(--espresso-deep); }

/* Reviews (room) */
.v3 .reviews { padding-block: clamp(4rem, 8vw, 7rem); }
.v3 .reviews .section-title { color: #fdf7ec; }
.v3 .video-facade { border-radius: 16px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,0.4); }
.v3 .review-feature-copy h3 { color: #fdf7ec; font-family: var(--display); font-weight: 600; }
.v3 .review-feature-copy p { color: rgba(244,233,217,0.72); font-family: var(--sans); }
.v3 .review-feature-copy em { color: var(--amber); font-style: italic; }
.v3 .review-feature-copy .video-src { color: rgba(244,233,217,0.5) !important; }
/* Two-video review row */
.v3 .review-videos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 3vw, 2rem); max-width: 62rem; margin: 0 auto 2.6rem; }
.v3 .review-vid { position: relative; display: block; border-radius: 16px; overflow: hidden; background: rgba(255,245,230,0.045); box-shadow: 0 18px 40px rgba(0,0,0,0.4); text-decoration: none; transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out); }
.v3 .review-vid:hover { transform: translateY(-4px); box-shadow: 0 26px 56px rgba(0,0,0,0.5); }
.v3 .rv-thumb { position: relative; display: block; aspect-ratio: 16 / 10; background: #241608; overflow: hidden; }
.v3 .rv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v3 .rv-thumb-logo img { object-fit: contain; padding: 0.8rem; }
.v3 .review-vid .video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--tomato); color: #fff7ec; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,0.4); transition: transform 0.2s var(--ease-out); }
.v3 .review-vid:hover .video-play { transform: translate(-50%,-50%) scale(1.08); }
.v3 .review-vid .video-play svg { width: 1.3rem; height: 1.3rem; margin-left: 2px; }
.v3 .review-vid .video-tag { position: absolute; top: 0.85rem; left: 0.85rem; background: var(--tomato); color: #fff7ec; font-family: var(--sans); font-weight: 600; font-size: 0.56rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 100px; }
.v3 .rv-cap { display: block; padding: 1rem 1.2rem 1.25rem; font-family: var(--sans); font-weight: 300; font-size: 0.92rem; line-height: 1.45; color: rgba(244,233,217,0.68); }
.v3 .rv-cap strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: #fdf7ec; margin-bottom: 0.25rem; }
@media (max-width: 700px) { .v3 .review-videos { grid-template-columns: 1fr; } }
.v3 .review-stats { border-color: rgba(244,233,217,0.14); }
.v3 .rstat { background: rgba(255,245,230,0.045); border: 0; border-radius: 16px; box-shadow: 0 14px 34px rgba(0,0,0,0.35); }
.v3 .rstat .num { color: var(--amber); font-family: var(--display); }
.v3 .rstat .label { color: rgba(244,233,217,0.72); }
.v3 .review-quote p { color: #fdf7ec; font-family: var(--display); }
.v3 .review-quote cite { color: rgba(244,233,217,0.55); }

/* Closing CTA (room) */
.v3 .menu-cta { padding-block: clamp(4rem, 9vw, 8rem); text-align: center; }
.v3 .menu-cta-inner { background: none; border: 0; padding-block: 0; overflow: visible; max-width: 46rem; margin-inline: auto; }
.v3 .menu-cta .lede { color: rgba(244,233,217,0.72); }

/* 404 in the dark room */
.v3 .error-page .err-logo { width: min(300px, 66vw); height: auto; margin: 0 auto 2rem; }
.v3 .error-page h1 { color: #fdf7ec; }
.v3 .error-page p { color: rgba(244,233,217,0.75); }
.v3 .menu-cta h2 { color: #fdf7ec; font-size: clamp(2.4rem, 6vw, 4.4rem); }
.v3 .menu-cta .lede { color: rgba(244,233,217,0.72); font-family: var(--sans); font-weight: 300; margin: 1rem auto 2rem; max-width: 44ch; }

/* Sections parked / dropped */
.v3 .welcome, .v3 .pizza-chapter, .v3 .fiesta, .v3 .filmstrip { display: none; }

@media (max-width: 820px) {
  .v3 .hero { min-height: auto; }
  .v3 .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .v3 .hero-visual { order: 2; }
  .v3 .hero-arch { aspect-ratio: 4 / 3.4; max-height: 60vh; }
  .v3 .bleed { min-height: 62vh; }
  .v3 .gather-grid { grid-template-columns: 1fr; }
  .v3 .gather-facts { gap: 1.2rem 1.5rem; }
}

/* ==========================================================================
   MENU + DRINKS pages in the dark room (Phase 2)
   ========================================================================== */
/* Hero */
.v3 .menu-hero { background: var(--barrel-glow); padding-top: calc(var(--header-h, 6rem) + clamp(2.5rem, 7vh, 5rem)); padding-bottom: clamp(2.5rem, 6vh, 4rem); }
.v3 .menu-hero h1 { color: #fdf7ec; font-family: var(--display); }
.v3 .menu-hero .lede { color: rgba(244,233,217,0.78); }
.v3 .menu-hero .menu-meta { color: rgba(244,233,217,0.62); }
.v3 .menu-hero .menu-meta strong { color: var(--amber); }
.v3 .menu-hero .menu-meta a { color: var(--cream-text); }

/* Sticky section nav */
.v3 .menu-nav { background: rgba(27,17,12,0.9); border-bottom: 1px solid rgba(244,233,217,0.12); }
.v3 .menu-nav a { color: rgba(244,233,217,0.75); }
.v3 .menu-nav a:hover, .v3 .menu-nav a.active { color: #fff; border-bottom-color: var(--amber); }

/* Sections + items */
.v3 .menu-section { background: transparent; }
.v3 .menu-section-head h2 { color: #fdf7ec; font-family: var(--display); }
.v3 .menu-section-head .note { color: rgba(244,233,217,0.62); }
.v3 .menu-item { border-bottom: 1px solid rgba(244,233,217,0.1); padding-bottom: 0.9rem; }
.v3 .menu-item h3 { color: #fdf7ec; }
.v3 .menu-item .price { color: var(--amber); }
.v3 .menu-item .desc { color: rgba(244,233,217,0.64); }
.v3 .menu-item .addon { color: rgba(244,233,217,0.46); }

/* Callouts — subtle dark card, no side stripe */
.v3 .menu-callout { background: rgba(255,245,230,0.04); border: 1px solid rgba(244,233,217,0.1); border-left-width: 1px; border-radius: 14px; color: rgba(244,233,217,0.75); }
.v3 .menu-callout strong { color: var(--amber); }
.v3 .menu-columns-list li { color: rgba(244,233,217,0.7); }

/* Drinks page */
.v3 .bar-banner { border-radius: 16px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,0.4); }
.v3 .tap-card { background: rgba(255,245,230,0.045); border: 0; border-radius: 14px; box-shadow: 0 12px 30px rgba(0,0,0,0.35); }
.v3 .tap-card::before { display: none; }
.v3 .tap-card:hover { transform: translateY(-4px); box-shadow: 0 22px 46px rgba(0,0,0,0.45); }
.v3 .tap-card h3 { color: #fdf7ec; }
.v3 .tap-card .tap-style { color: var(--amber); }
.v3 .tap-card .tap-meta { color: rgba(244,233,217,0.64); }
.v3 .tap-updated { color: rgba(244,233,217,0.5); }
.v3 .drink-block .menu-section-head h2 { color: #fdf7ec; }
.v3 .drink-list li { border-bottom: 1px solid rgba(244,233,217,0.08); }
.v3 .drink-list .d-name { color: rgba(244,233,217,0.9); }
.v3 .drink-list .d-meta { color: rgba(244,233,217,0.5); }
