/* =========================================================
   THE FLIPSIDE — prototype theme
   Dark speakeasy. Black damask wallpaper. Brass + garnet.
   ========================================================= */

:root {
  /* base */
  --ink:        #0c0a09;   /* near-black base */
  --ink-2:      #14100e;   /* raised panels */
  --ink-3:      #1d1815;   /* cards */
  --line:       #2a2320;   /* hairlines */

  /* accents */
  --gold:       #c9a45c;   /* brass */
  --gold-bright:#e2c583;
  --garnet:     #8e2433;   /* deep red */
  --garnet-lit: #b63347;
  --teal:       #2f6f6a;   /* cool pop for machine glow */

  /* text */
  --text:       #ece5da;
  --text-dim:   #a89c8c;
  --text-faint: #6f6459;

  --maxw: 1160px;
  --r: 14px;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* The wallpaper, tiled — no mask; the damask is the room. */
  background-color: var(--ink);
  background-image: url("../wallpaper.jpg");
  background-size: 520px;
  background-attachment: fixed;
}

/* ---------- accessibility ---------- */
/* users who ask their OS for more contrast: lift the dim text + strengthen hairlines */
@media (prefers-contrast: more) {
  :root { --text-dim: #d9cfc0; --text-faint: #b6ab9a; --line: #4c433b; }
}
/* Windows High Contrast / forced palette: let the system colors win, just drop
   decorative layers that would sit over text (video behind the hero, edge fades) */
@media (forced-colors: active) {
  .hero__video { display: none; }
  .reviews__viewport::before, .reviews__viewport::after { display: none; }
}
.skip-link {
  position: fixed; top: 0; left: 0; z-index: 300;
  background: var(--gold); color: #1a1409; padding: 0.7rem 1.1rem; border-radius: 0 0 8px 0;
  font-weight: 600; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  transform: translateY(-130%); transition: transform 0.15s ease;
}
.skip-link:focus { transform: translateY(0); }
/* clear, on-brand focus ring for the newly-focusable cards + the menu scroll region */
.gcard:focus-visible, .shot:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 3px; }
.menu-modal__body:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; border-radius: 4px; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- shared bits ---------- */
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.5rem, 4.5vw, 4rem) clamp(1.2rem, 5vw, 2.5rem);
  scroll-margin-top: 90px; /* keep anchor jumps clear of the fixed nav */
}
.visit__hours { scroll-margin-top: 90px; }

.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(2rem, 5vw, 3.5rem); }

.section__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.3rem, 6vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
}
.section__sub { color: var(--text-dim); margin-top: 0.6rem; font-size: 1.05rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 1.5rem;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: #1a1409; }
.btn--gold:hover { background: var(--gold-bright); }
.btn--ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-bright); }

/* ===================== NAV ===================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(10,8,7,0.82);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1rem clamp(1.2rem, 5vw, 2.5rem);
}
.nav__brand { display: flex; align-items: center; gap: 0.6rem; margin-right: auto; }
.nav__logo { width: 34px; height: 34px; display: block; object-fit: contain; }
.nav__brand .nav__logo { width: 51px; height: 51px; }
.nav__name { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: 0.02em; text-shadow: 0 1px 3px rgba(0,0,0,0.7); }
.nav__links { display: flex; gap: 1.9rem; }
.nav__links a {
  font-size: 0.9rem; letter-spacing: 0.06em; color: var(--text-dim);
  position: relative; padding: 0.3rem 0; transition: color 0.18s ease;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);   /* legible over the hero video before the nav goes solid */
}
.nav__links a:hover { color: var(--gold-bright); }
.nav__book { padding: 0.6rem 1.3rem; }
.nav__mobile-only { display: none; } /* Visit lives on the gold button on desktop; shown only in the mobile menu */
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); transition: 0.25s; }

/* ===================== HERO ===================== */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; overflow: visible;
  padding: 6rem 1.2rem 4rem;
}
/* background layers clip here, so the hours popover can overflow the hero freely */
.hero__bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
/* portrait/mobile: shift toward the left so the offset-vignette quadrants center better */
@media (orientation: portrait) { .hero__video { object-position: 15% center; } }
.hero__vignette {
  position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(6,4,3,0.75) 100%),
    linear-gradient(to bottom, rgba(6,4,3,0.5), transparent 30%, transparent 65%, var(--ink));
}
.hero__content {
  position: relative; z-index: 3; max-width: 820px;
  /* black stroke + soft shadow so text stays legible over the video */
  text-shadow:
    -1px -1px 0 rgba(0,0,0,0.5), 1px -1px 0 rgba(0,0,0,0.5),
    -1px 1px 0 rgba(0,0,0,0.5), 1px 1px 0 rgba(0,0,0,0.5),
    0 2px 6px rgba(0,0,0,0.55);
}
.hero__content .btn { text-shadow: none; }   /* buttons have solid fills, keep them clean */
.hero__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(3.6rem, 13vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-shadow:
    -1px -1px 0 rgba(0,0,0,0.55), 1px -1px 0 rgba(0,0,0,0.55),
    -1px 1px 0 rgba(0,0,0,0.55), 1px 1px 0 rgba(0,0,0,0.55),
    0 6px 40px rgba(0,0,0,0.6);
}
.hero__title .tm { font-size: 0.24em; vertical-align: super; font-weight: 500; letter-spacing: 0; margin-left: 0.06em; }
.hero__tag {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.3rem, 3.5vw, 1.9rem);
  color: var(--text); margin-top: 0.6rem;
}
.hero__hours { position: relative; display: inline-block; margin-top: 1.6rem; }
.hero__tonight {
  font-family: var(--sans); font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-bright); background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.3rem 0;
  border-bottom: 1px dotted rgba(226, 197, 131, 0.55);
  text-shadow:
    -1px -1px 0 rgba(0,0,0,0.5), 1px -1px 0 rgba(0,0,0,0.5),
    -1px 1px 0 rgba(0,0,0,0.5), 1px 1px 0 rgba(0,0,0,0.5), 0 2px 6px rgba(0,0,0,0.55);
  transition: color 0.18s ease, border-color 0.18s ease;
}
.hero__tonight:hover, .hero__tonight[aria-expanded="true"] { color: #fff; border-bottom-color: var(--gold-bright); }
.hero__tonight::after { content: "\25BC"; font-size: 0.85em; opacity: 0.9; transition: transform 0.2s ease; }
.hero__tonight[aria-expanded="true"]::after { transform: rotate(180deg); }
.hero__welcome { margin-top: 0.8rem; font-size: 0.92rem; color: var(--text-dim); font-style: italic; }
.hero__tonight .dot { color: var(--garnet-lit); }

.hours-pop {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 100; width: min(92vw, 380px); max-height: 85vh; overflow-y: auto;
  background: rgba(14, 11, 9, 0.98); backdrop-filter: blur(16px);
  border: 1px solid var(--gold); border-radius: var(--r);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  padding: 1.2rem 1.4rem; text-align: left;
  animation: popIn 0.16s ease;
}
.hours-pop[hidden] { display: none; }
@keyframes popIn { from { opacity: 0; transform: translate(-50%, -46%); } to { opacity: 1; transform: translate(-50%, -50%); } }
.hpop-row { display: grid; grid-template-columns: 5.3em 1fr auto; align-items: center; column-gap: 0.7rem; padding: 0.42rem 0; font-size: 0.84rem; letter-spacing: 0.02em; }
.hpop-row + .hpop-row { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.hpop-row .d { color: var(--text); }
.hpop-row .t { justify-self: end; color: var(--text-dim); }
.hpop-note { color: var(--gold); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; }
.hpop-row.today .d, .hpop-row.today .t { color: var(--gold-bright); font-weight: 600; }
.hpop-row.closed .t { font-style: italic; color: var(--text-faint); }
.hours-pop__exc { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--line); }
.hours-pop__exc[hidden] { display: none; }
.hours-pop__exc h4 { font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.hpop-exc { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.8rem; padding: 0.24rem 0; }
.hpop-exc .ed { color: var(--text); white-space: nowrap; }
.hpop-exc .en { color: var(--text-dim); text-align: right; }
.hero__cta { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; margin-top: 2.2rem; }
.hero__scroll {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  z-index: 3; color: var(--text-faint); font-size: 1.6rem; animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ===================== GAMES ===================== */
.games__filters {
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: 2.4rem;
}
.chip {
  font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-dim); background: var(--ink-2); border: 1px solid var(--line);
  padding: 0.55rem 1.1rem; border-radius: 100px; cursor: pointer; transition: 0.18s;
}
.chip:hover { color: var(--gold-bright); border-color: var(--gold); }
.chip.is-active { background: var(--gold); color: #1a1409; border-color: var(--gold); }

.games__grid {
  display: flex; flex-wrap: wrap; gap: 1.1rem; justify-content: center;
}
.gcard {
  position: relative; border-radius: var(--r); overflow: hidden;
  flex: 0 1 176px; /* fixed-ish width so wrapped rows (incl. the last) center */
  aspect-ratio: 3 / 4; background: var(--ink-3); border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.gcard:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 14px 40px rgba(0,0,0,0.5); }
.gcard:has(.gcard__art img) { cursor: zoom-in; } /* only cards with a real photo invite a click */

/* full-window photo viewer */
.lightbox {
  position: fixed; inset: 0; z-index: 200; cursor: zoom-out;
  display: flex; align-items: center; justify-content: center; padding: 4vh 4vw;
  background: rgba(5, 4, 3, 0.9); backdrop-filter: blur(6px);
  animation: fadeIn 0.15s ease;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 92vh; border-radius: var(--r); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7); }
.lightbox__close {
  position: absolute; top: 0.8rem; right: 1.1rem; z-index: 2;
  background: none; border: 0; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer;
  opacity: 0.85; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7); transition: opacity 0.15s ease;
}
.lightbox__close:hover { opacity: 1; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.gcard__art {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1rem;
}
.gcard__art::before { /* generated playfield glow when no photo */
  content: ""; position: absolute; inset: 0;
  background: var(--card-glow, radial-gradient(120% 90% at 30% 20%, rgba(201,164,92,0.3), transparent 60%));
  opacity: 0.9;
}
.gcard__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gcard__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,4,3,0.9) 8%, transparent 55%); }
.gcard__name {
  position: relative; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; line-height: 1.12;
}
.gcard__type { position: relative; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-top: 0.15rem; }
/* skeleton */
.gcard.skeleton { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 0.5; } 50% { opacity: 0.85; } }

.hours__note { text-align: center; color: var(--text-faint); font-size: 0.92rem; margin-top: 1rem; font-style: italic; }
.games__error { text-align: center; color: var(--text-dim); grid-column: 1 / -1; padding: 3rem 1rem; }

/* ===================== VENUE (photo gallery) ===================== */
.venue__gallery {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.shot {
  position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 3 / 2; background:
    linear-gradient(135deg, var(--ink-3), var(--ink-2));
  display: flex; align-items: center; justify-content: center;
}
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot:has(img) { cursor: zoom-in; }              /* a real photo invites a click */
.shot[data-slot="crowd"] img { object-position: 50% 28%; }   /* exterior: keep the lit sign, trim snow */
.shot[data-slot="lighting"] img { object-position: 35% 50%; } /* people: bias left so the faces stay in */
.shot:has(img) .shot__label { display: none; }   /* hide the placeholder label once a photo is in */
.shot__label {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint);
  border: 1px dashed var(--line); padding: 0.5rem 0.8rem; border-radius: 100px;
}

/* ===================== MENU ===================== */
.menu__buttons { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin: 0 auto; }
.menu__btn {
  font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--text);
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 100px;
  padding: 0.7rem 1.6rem; cursor: pointer; transition: 0.18s;
}
.menu__btn:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }

/* popup */
.menu-modal {
  position: fixed; inset: 0; z-index: 210; display: flex; align-items: center; justify-content: center;
  padding: 5vh 1.2rem; background: rgba(5, 4, 3, 0.43); backdrop-filter: blur(8px);
  animation: fadeIn 0.16s ease;
}
.menu-modal[hidden] { display: none; }
.menu-modal__panel {
  position: relative; width: min(560px, 100%); max-height: 88vh; overflow: hidden;
  display: flex; flex-direction: column;
  background: rgba(20, 16, 14, 0.99); border: 1px solid var(--gold); border-radius: var(--r);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7); animation: modalIn 0.18s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
.menu-modal__close {
  position: absolute; top: 0.6rem; right: 0.9rem; z-index: 2;
  background: none; border: 0; color: var(--text-dim); font-size: 2rem; line-height: 1; cursor: pointer;
  transition: color 0.15s ease;
}
.menu-modal__close:hover { color: var(--gold-bright); }
.menu-modal__title {
  font-family: var(--serif); font-size: 2rem; font-weight: 600; text-align: center;
  padding: 1.6rem 2.5rem 1.1rem; border-bottom: 1px solid var(--line); flex: 0 0 auto;
}
.menu-modal__scroll { position: relative; flex: 1 1 auto; min-height: 0; display: flex; }
.menu-modal__body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 1.6rem 1.8rem 1.8rem; }
/* scroll affordance: translucent chevrons at the edges when there's more to see */
.menu-cue {
  position: absolute; left: 0; right: 0; height: 46px; z-index: 3; pointer-events: none;
  display: flex; justify-content: center; color: var(--gold-bright);
  opacity: 0; transition: opacity 0.2s ease;
}
.menu-cue::before {   /* one border-chevron, rotated per direction -> identical size both ways */
  content: ""; width: 11px; height: 11px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
}
.menu-cue.is-visible { opacity: 0.85; }
.menu-cue--up   { top: 0;    align-items: flex-start; padding-top: 9px;
  background: linear-gradient(to bottom, rgba(20,16,14,0.96), transparent); }
.menu-cue--up::before   { transform: rotate(225deg); }
.menu-cue--down { bottom: 0; align-items: flex-end;   padding-bottom: 9px;
  background: linear-gradient(to top, rgba(20,16,14,0.96), transparent); }
.menu-cue--down::before { transform: rotate(45deg); }

.mitems { display: grid; }
.mitem { display: block; margin-bottom: 0.5rem; }        /* tight for name-only rows */
.mitem:has(.mitem__desc) { margin-bottom: 1.15rem; }     /* more room when there's a description */
/* labeled section divider inside a menu popup ("--Colorado" -> line ── Colorado ──) */
.mdivider { display: flex; align-items: center; gap: 1rem; margin: 0.85rem 0; }
.mdivider::before, .mdivider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.mdivider span {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.72rem; color: var(--gold); white-space: nowrap;
}
.mdivider--plain::before, .mdivider--plain::after { background: var(--gold); opacity: 0.35; }
.mitem__name { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }
.mitem__desc { color: var(--text-dim); font-size: 0.98rem; margin-top: 0.1rem; }

/* ===================== HOURS ===================== */
.hours__grid { max-width: 640px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: rgba(8, 6, 5, 0.55); }
.hrow { display: grid; grid-template-columns: 6.5em 1fr auto; align-items: center; column-gap: 1.2rem; padding: 0.5rem 1.3rem; border-bottom: 1px solid var(--line); }
.hrow:last-child { border-bottom: 0; }
.hrow.is-today { background: linear-gradient(90deg, rgba(201,164,92,0.12), transparent); }
.hrow__day { font-family: var(--serif); font-size: 1.15rem; }
.hrow.is-today .hrow__day { color: var(--gold-bright); }
.hrow__note { font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.hrow__time { justify-self: end; color: var(--text-dim); }
.hrow.closed .hrow__time { color: var(--text-faint); font-style: italic; }
/* upcoming closures under the static hours table */
.hours__exc { max-width: 640px; margin: 1.1rem auto 0; }
.hours__exc[hidden] { display: none; }
.hours__exc-head { font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); text-align: center; margin-bottom: 0.7rem; }
.hexc { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9rem; padding: 0.3rem 0.3rem; }
.hexc + .hexc { border-top: 1px solid rgba(255,255,255,0.05); }
.hexc .ed { color: var(--text); white-space: nowrap; }
.hexc .en { color: var(--text-dim); text-align: right; }

/* ===================== EVENTS ===================== */
.events__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.ecard { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 2rem 1.8rem; display: flex; flex-direction: column; }
.ecard h3 { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; margin-bottom: 0.7rem; }
.ecard p { color: var(--text-dim); flex: 1; margin-bottom: 1.4rem; }
.ecard .btn { align-self: flex-start; }

/* ===================== REVIEWS ===================== */
.reviews { max-width: none; padding-left: 0; padding-right: 0; overflow: hidden; }
.reviews .section__head { padding: 0 1.5rem; }
.reviews__viewport { position: relative; overflow: hidden; }
/* edge fades as overlays (not -webkit-mask): iOS doesn't mask the animated track's
   text layer, so masking left the text visible at the edges. Overlays fade everything. */
.reviews__viewport::before, .reviews__viewport::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 9%; z-index: 2; pointer-events: none;
}
.reviews__viewport::before { left: 0;  background: linear-gradient(to right, var(--ink), transparent); }
.reviews__viewport::after  { right: 0; background: linear-gradient(to left,  var(--ink), transparent); }
.reviews__track { display: flex; gap: 1.1rem; width: max-content; padding: 0.5rem 0; }
.reviews__track.is-animated { animation: marquee var(--marquee-dur, 60s) linear infinite; }
.reviews__viewport:hover .reviews__track.is-animated,
.reviews__viewport:focus-within .reviews__track.is-animated { animation-play-state: paused; }
.reviews__viewport:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.review {
  flex: 0 0 auto; width: 340px; height: 270px; box-sizing: border-box;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.6rem 1.7rem; display: flex; flex-direction: column;
}
.review__stars { color: var(--gold); letter-spacing: 0.15em; font-size: 0.9rem; margin-bottom: 0.8rem; flex: 0 0 auto; }
.review__quote {
  font-family: var(--serif); font-size: 1.3rem; line-height: 1.35; color: var(--text);
  /* line-clamp governs height so a "…" is added on overflow (do NOT flex:1 — that clips with no ellipsis) */
  overflow: hidden;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5;
}
.review__by { margin-top: auto; padding-top: 1.1rem; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); flex: 0 0 auto; }

/* hover popover: full, un-clamped review floating over the card */
.review-pop {
  position: fixed; z-index: 150; pointer-events: none; box-sizing: border-box;
  width: 360px; background: rgba(20, 16, 14, 0.98); backdrop-filter: blur(10px);
  border: 1px solid var(--gold); border-radius: var(--r);
  padding: 1.6rem 1.7rem; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.7);
  display: flex; flex-direction: column;
  opacity: 0; transition: opacity 0.14s ease;
}
.review-pop.is-open { opacity: 1; }
.review-pop[hidden] { display: none; }
.review-pop .review__quote { display: block; -webkit-line-clamp: unset; overflow: visible; }
.review-pop .review__by { margin-top: 1.1rem; }
.review:hover { border-color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  .reviews__viewport { overflow-x: auto; }
  .reviews__track.is-animated { animation: none; }
}

/* ===================== VISIT ===================== */
.visit__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: stretch; }
.visit__addr { font-family: var(--serif); font-size: 1.7rem; line-height: 1.4; margin: 0.5rem 0 1.2rem; }
.visit__contact { color: var(--text-dim); margin-bottom: 1.6rem; }
.visit__contact a:hover { color: var(--gold-bright); }
.visit .section__head { margin-bottom: clamp(1rem, 2.5vw, 1.6rem); }  /* pull Hours up under the Visit title */
.visit__hours { max-width: 640px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); }
.visit__subhead { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; text-align: center; margin-bottom: 0.7rem; }
.visit__walkin { color: var(--text); font-size: 1rem; margin-top: 1.4rem; }
.visit__map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); min-height: 340px; }
/* invert flips Google's white map to dark; hue-rotate puts colors back roughly right */
.visit__map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: invert(1) hue-rotate(180deg) brightness(0.92) contrast(0.9); }

/* ===================== FOOTER ===================== */
.footer { border-top: 1px solid var(--line); background: rgba(6,4,3,0.6); padding: 3rem clamp(1.2rem,5vw,2.5rem) 2rem; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.footer__brand { display: flex; align-items: center; gap: 0.5rem; font-family: var(--serif); font-size: 1.4rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer__links a, .footer__social a { color: var(--text-dim); font-size: 0.9rem; }
.footer__links a:hover, .footer__social a:hover { color: var(--gold-bright); }
.footer__social { display: flex; gap: 1.2rem; }
.footer__a11y { text-align: center; color: var(--text-faint); font-size: 0.78rem; margin-top: 1.6rem; }
.footer__a11y a { color: var(--gold); text-decoration: underline; }
.footer__a11y a:hover { color: var(--gold-bright); }
.footer__fine { text-align: center; color: var(--text-faint); font-size: 0.8rem; margin-top: 0.6rem; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 860px) {
  .nav__links, .nav__book { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10,8,7,0.97); backdrop-filter: blur(12px); padding: 1.2rem 2rem 1.8rem; gap: 1.2rem;
    border-bottom: 1px solid var(--line);
  }
  .nav__mobile-only { display: block; } /* reveal Visit inside the mobile dropdown */
  .visit__grid { grid-template-columns: 1fr; }
  .events__grid { grid-template-columns: 1fr; }
  .venue__gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  body {
    font-size: 16px;
    /* fixed attachment is janky / mis-scaled on mobile Safari — let it scroll */
    background-attachment: scroll;
    background-size: 340px;
  }
  .games__grid { gap: 0.8rem; }
  .gcard { flex-basis: 150px; }
  /* keep the wordmark on one line, on-screen (the nbsp prevents wrapping) */
  .hero__title { font-size: clamp(2.5rem, 12.5vw, 3rem); }
  .eyebrow { letter-spacing: 0.18em; }
  .hero__cta { gap: 0.7rem; }
  .hero__cta .btn { padding: 0.8rem 1.15rem; }
  /* reviews: bigger tap-friendly cards, native swipe instead of hover */
  .review { width: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll, .gcard.skeleton { animation: none; }
  html { scroll-behavior: auto; }
}
