/* ==========================================================================
   Uptown Lounge — Santa Barbara, CA
   ========================================================================== */

:root {
  --bg: #0d0c0b;
  --bg-2: #13110f;
  --surface: #1a1714;
  --surface-2: #221e1a;
  --line: rgba(243, 236, 226, 0.09);
  --line-strong: rgba(243, 236, 226, 0.2);
  --text: #f3ece2;
  --muted: #a79e91;
  --faint: #6f675d;
  --accent: #e5484d;
  --accent-hover: #f0656a;
  --brand: #bf2428;
  --brand-hover: #d42e33;
  --ember: #b5462f;
  --wine: #6e2433;

  --c-music: #e5484d;
  --c-comedy: #f2c14e;
  --c-karaoke: #9b7bea;
  --c-sports: #4fb3a9;
  --c-special: #e8e2d6;

  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 76px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  /* In-page jumps (Visit Us, menu categories) stop just under the fixed header */
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

/* Nothing may widen the page sideways (iOS Safari lets you drag the whole site left otherwise) */
html { overflow-x: hidden; overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip; /* clip (where supported) never turns body into a scroll container, which can make mobile scrolling jerky */
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
}

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

.container {
  width: min(1180px, 100% - 2.5rem);
  margin-inline: auto;
}

.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;
}

.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

.muted { color: var(--muted); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { background: var(--brand-hover); transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: rgba(243, 236, 226, 0.06); border-color: var(--text); }

.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--accent); font-weight: 600; font-size: 0.92rem;
}
.text-link:hover { color: var(--accent-hover); }
.text-link svg { width: 16px; height: 16px; transition: transform 0.2s; }
.text-link:hover svg { transform: translateX(3px); }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled,
.site-header.nav-open {
  background: rgba(13, 12, 11, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-mark { width: 30px; height: 30px; color: var(--accent); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; letter-spacing: -0.01em; }
.brand-sub { font-size: 0.6rem; letter-spacing: 0.42em; text-transform: uppercase; color: var(--muted); margin-top: 0.25rem; }

.site-nav { display: flex; align-items: center; gap: 0.35rem; }
.site-nav a:not(.btn) {
  position: relative;
  padding: 0.5rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.site-nav a:not(.btn):hover,
.site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.9rem; right: 0.9rem; bottom: 0.15rem;
  height: 2px; border-radius: 2px;
  background: var(--accent);
}
.site-nav .btn { margin-left: 0.75rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span:not(.sr-only) {
  position: absolute; left: 12px; right: 12px; height: 1.5px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.5rem;
    background: rgba(13, 12, 11, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
  }
  .nav-open .site-nav { opacity: 1; transform: none; pointer-events: auto; }
  .site-nav a:not(.btn) { padding: 0.95rem 0.25rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"]::after { display: none; }
  .site-nav a[aria-current="page"] { color: var(--accent); }
  .site-nav .btn { margin: 1.25rem 0 0; }
}

/* Hero (home) ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2.25rem) 0 3.5rem;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 78% 30%, rgba(191, 36, 40, 0.28), transparent 70%),
    radial-gradient(50% 60% at 15% 85%, rgba(110, 36, 51, 0.55), transparent 70%),
    radial-gradient(40% 40% at 55% 100%, rgba(181, 70, 47, 0.25), transparent 70%),
    linear-gradient(180deg, #120f0c 0%, var(--bg) 100%);
}
.hero::after {
  /* film grain */
  content: "";
  position: absolute; inset: 0; z-index: -1;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-content { max-width: 760px; }
.hero h1 {
  font-size: clamp(3.4rem, 10vw, 7.8rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.03em;
  margin: 1.25rem 0 1.75rem;
}
.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.hero-lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 560px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }

/* A fixed grid, not a wrapping row: the "Tonight" status and the happy hour line fill in after the page loads, and
   a row that re-wrapped then made the hero taller and the stage panel beside it jump */
.hero-meta {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 2.5rem; row-gap: 1.5rem;
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  max-width: 620px;
}
.hero-meta #open-status { min-width: 9rem; }   /* room for the longest status ("Opens at 12 PM"), so the columns don't move */
@media (max-width: 560px) { .hero-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; } }
.hero-meta div { display: flex; flex-direction: column; gap: 0.2rem; }
.hero-meta dt { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }
.hero-meta dd { margin: 0; font-weight: 500; }
.status-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-sports); margin-right: 0.45rem;
  box-shadow: 0 0 0 4px rgba(79, 179, 169, 0.18);
  vertical-align: 1px;
}
.status-dot.closed { background: var(--faint); box-shadow: none; }

/* Marquee ---------------------------------------------------------------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding: 1.15rem 0;
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee-track span {
  display: inline-flex; align-items: center; gap: 2.5rem;
  padding-right: 2.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
  font-style: italic; font-weight: 300;
  white-space: nowrap;
  color: var(--muted);
}
.marquee-track span::after { content: "✦"; font-style: normal; font-size: 0.8rem; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections --------------------------------------------------------------- */
.section { --section-pad: clamp(3.25rem, 6.5vw, 5.25rem); padding: var(--section-pad) 0; }
/* Jumping to a section (#visit, #reviews) skips its empty top padding, so its content starts near the top */
.section[id] { scroll-margin-top: calc(0.5rem - var(--section-pad)); }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  margin-bottom: 2.25rem;
}
.section-head h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  margin-top: 0.8rem;
}
.section-head p { color: var(--muted); max-width: 460px; }

/* About split */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.split h2 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); margin: 0.8rem 0 1.5rem; }
.split p + p { margin-top: 1rem; }
.split .prose p { color: var(--muted); font-size: 1.05rem; }

.stat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: var(--surface);
  padding: 2rem 1.75rem;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}
.stat span { display: block; margin-top: 0.6rem; color: var(--muted); font-size: 0.92rem; }

@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Entertainment cards */
.ent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.ent-card {
  --c: var(--accent);
  position: relative;
  display: flex; flex-direction: column;
  padding: 2rem 1.75rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.ent-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 0% 0%, color-mix(in srgb, var(--c) 18%, transparent), transparent 70%);
  opacity: 0.7; transition: opacity 0.3s;
  pointer-events: none;
}
.ent-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.ent-card:hover::before { opacity: 1; }
.ent-icon {
  position: relative;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: color-mix(in srgb, var(--c) 14%, transparent);
  color: var(--c);
  margin-bottom: 1.5rem;
}
.ent-icon svg { width: 26px; height: 26px; }
.ent-card h3 { position: relative; font-size: 1.55rem; margin-bottom: 0.6rem; }
.ent-card p { position: relative; color: var(--muted); font-size: 0.95rem; flex: 1; }
.ent-when {
  position: relative;
  margin-top: 1.5rem; padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c);
}
.ent-card[data-cat="music"] { --c: var(--c-music); }
.ent-card[data-cat="comedy"] { --c: var(--c-comedy); }
.ent-card[data-cat="karaoke"] { --c: var(--c-karaoke); }
.ent-card[data-cat="sports"] { --c: var(--c-sports); }

@media (max-width: 1020px) { .ent-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ent-grid { grid-template-columns: 1fr; } }

/* Event cards (home) */
.event-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.event-card {
  --c: var(--accent);
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s, transform 0.25s;
}
.event-card:hover { border-color: color-mix(in srgb, var(--c) 45%, transparent); transform: translateY(-2px); }
.date-block {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--c) 12%, var(--surface-2));
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  padding: 0.75rem 0.5rem;
  text-align: center;
  line-height: 1;
}
.date-block .dow { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.date-block .day { font-family: var(--font-display); font-size: 2.1rem; margin: 0.3rem 0 0.25rem; }
.date-block .mon { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c); }
.event-card h3 { font-size: 1.35rem; margin: 0.45rem 0 0.35rem; }
.event-card .event-time { font-size: 0.88rem; color: var(--muted); }
.event-card p.event-desc { margin-top: 0.6rem; font-size: 0.92rem; color: var(--muted); }

.cat-pill {
  --c: var(--accent);
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c);
}
.cat-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }

@media (max-width: 860px) { .event-list { grid-template-columns: 1fr; } }
@media (max-width: 420px) {
  .event-card { grid-template-columns: 64px 1fr; gap: 1rem; padding: 1.15rem; }
  .date-block .day { font-size: 1.7rem; }
}

/* Featured cocktails */
.cocktail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.cocktail-card {
  position: relative;
  padding: 2.25rem 1.9rem 1.9rem;
  background: linear-gradient(160deg, var(--surface-2), var(--surface) 60%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.cocktail-card::after {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(191, 36, 40, 0.22), transparent 70%);
}
.cocktail-num { font-family: var(--font-display); font-style: italic; color: var(--faint); font-size: 1rem; }
.cocktail-card h3 { font-size: 1.65rem; margin: 1rem 0 0.4rem; }
.cocktail-card .detail { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.cocktail-card p { margin-top: 0.9rem; color: var(--muted); font-size: 0.95rem; }
.cocktail-card .price { position: absolute; top: 2.1rem; right: 1.9rem; font-family: var(--font-display); font-size: 1.3rem; z-index: 1; }

@media (max-width: 960px) { .cocktail-grid { grid-template-columns: 1fr; } }

/* Visit */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.panel {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.panel h3 { font-size: 1.6rem; margin-bottom: 1.5rem; }
.hours-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list li span:first-child { color: var(--muted); }
.hours-list li.today span { color: var(--accent); font-weight: 600; }
.contact-list { display: grid; gap: 1.4rem; }
.contact-list dt { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin-bottom: 0.3rem; }
.contact-list dd { margin: 0; font-size: 1.05rem; }
.contact-list a:hover { color: var(--accent); }
/* Find Us: the address (a Google Maps link) with a round map-pin button beside it */
.contact-list .address-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.map-pin {
  flex: none; display: grid; place-items: center;
  width: 3rem; height: 3rem; border-radius: 50%;
  border: 1px solid rgba(191, 36, 40, 0.45);
  background: rgba(191, 36, 40, 0.12);
  color: var(--accent);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.map-pin svg { width: 1.45rem; height: 1.45rem; }
.contact-list .map-pin:hover, .map-pin:focus-visible { background: var(--accent); border-color: var(--accent); color: #fff; }
/* Hero "Find Us" address: a quiet link that shows itself on hover */
.hero-meta dd a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.25); text-underline-offset: 0.25em; transition: color 0.2s, text-decoration-color 0.2s; }
.hero-meta dd a:hover { color: var(--accent); text-decoration-color: currentColor; }
.panel .btn { margin-top: 2rem; }

/* Phones: the address panel comes first, so "Visit Us" shows where to go without scrolling further */
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } .visit-grid .panel-find { order: -1; } }

/* FAQ (/faq/) ------------------------------------------------------------ */
/* Each question is a <details>: closed by default, the whole answer still in the page for search engines */
.faq-list { max-width: 860px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0;
  cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 400; line-height: 1.3; transition: color 0.2s; }
.faq-item summary:hover .faq-q, .faq-item[open] .faq-q { color: var(--accent); }
/* a plus that turns into a close cross when open */
.faq-item summary::after {
  content: ""; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  color: var(--muted);
  transition: transform 0.25s, border-color 0.2s;
}
.faq-item summary:hover::after { border-color: var(--accent); }
.faq-item[open] summary::after { transform: rotate(45deg); border-color: var(--accent); }
.faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.faq-a { padding: 0 3.5rem 1.6rem 0; color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 70ch; }
.faq-a p + p { margin-top: 0.8rem; }
.faq-a a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(229, 72, 77, 0.6); text-underline-offset: 0.2em; }
.faq-a a:hover { color: var(--accent); }
@media (max-width: 560px) { .faq-a { padding-right: 0; } }

/* Page hero (sub pages) -------------------------------------------------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(2.5rem, 5.5vw, 4rem)) 0 clamp(2.25rem, 4.5vw, 3.25rem);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 90% at 85% 0%, rgba(191, 36, 40, 0.2), transparent 70%),
    radial-gradient(45% 80% at 0% 100%, rgba(110, 36, 51, 0.45), transparent 70%),
    var(--bg);
}
.page-hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin: 1rem 0 1.25rem;
}
.page-hero h1 em { font-style: italic; font-weight: 300; color: var(--accent); }
.page-hero p { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 620px; }

/* Menus (food + drink) --------------------------------------------------- */
.menu-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  /* Near-solid instead of a blur: a second backdrop-filter under the header is costly to scroll on phones. */
  background: rgba(13, 12, 11, 0.97);
  border-bottom: 1px solid var(--line);
}
.menu-nav ul {
  display: flex; gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.85rem 0;
}
.menu-nav ul::-webkit-scrollbar { display: none; }
.menu-nav a {
  display: block;
  white-space: nowrap;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.88rem; font-weight: 500;
  color: var(--muted);
  border: 1px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.menu-nav a:hover { color: var(--text); }
.menu-nav a.active { color: var(--text); background: var(--surface-2); border-color: var(--line-strong); }

.specials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 4.5rem;
}
.special-card {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(191, 36, 40, 0.12), rgba(110, 36, 51, 0.12));
  border: 1px solid rgba(191, 36, 40, 0.28);
}
.special-card .when { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.special-card h3 { font-size: 1.45rem; margin: 0.6rem 0 0.6rem; }
.special-card p { color: var(--muted); font-size: 0.95rem; }

.menu-section { padding-bottom: 3.25rem; scroll-margin-top: 56px; } /* room for the sticky category bar */
.menu-section + .menu-section { padding-top: 0.5rem; }
.menu-section-head {
  display: flex; align-items: baseline; gap: 1.25rem; flex-wrap: wrap;
  padding-bottom: 1.25rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--line-strong);
}
.menu-section-head h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
.menu-section-head p { color: var(--muted); font-size: 0.95rem; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));   /* minmax(0, …): long names wrap instead of widening the page */
  column-gap: clamp(2rem, 5vw, 4.5rem);
}
.menu-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.menu-item-head {
  display: flex; align-items: baseline; gap: 0.75rem;
}
.menu-item h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 500;
}
.menu-item .leader {
  flex: 1;
  min-width: 1.5rem;
  border-bottom: 1px dotted var(--line-strong);
  transform: translateY(-4px);
}
.menu-item .price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.menu-item .price small {
  font-family: var(--font-body);
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--faint); margin: 0 0.25rem 0 0.6rem;
}
.menu-item .price small:first-child { margin-left: 0; }
.menu-item .detail {
  margin-top: 0.3rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
}
.menu-item .desc { margin-top: 0.5rem; color: var(--muted); font-size: 0.95rem; max-width: 52ch; }
.menu-item .addon { margin-top: 0.45rem; font-size: 0.85rem; color: var(--faint); font-style: italic; }
.menu-item.featured h3::after {
  content: "House Favorite";
  display: inline-block;
  margin-left: 0.6rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(191, 36, 40, 0.14);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  vertical-align: 3px;
}

.tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.75rem; }
.tag {
  display: inline-flex; align-items: center;
  height: 22px; padding: 0 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.tag[data-tag="sp"] { color: #f08a6b; border-color: rgba(240, 138, 107, 0.4); }
.tag[data-tag="new"] { color: var(--accent); border-color: rgba(191, 36, 40, 0.45); }
.tag[data-tag="vg"], .tag[data-tag="v"] { color: #8fc68a; border-color: rgba(143, 198, 138, 0.35); }

.menu-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem;
  padding: 2rem 0 0;
  border-top: 1px solid var(--line);
}
.legend { display: flex; flex-wrap: wrap; gap: 0.6rem 1.25rem; }
.legend li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--muted); }
.menu-notes { display: grid; gap: 0.35rem; max-width: 520px; }
.menu-notes li { font-size: 0.82rem; color: var(--faint); }

@media (max-width: 860px) { .menu-grid { grid-template-columns: minmax(0, 1fr); } }
.menu-item h3 { min-width: 0; overflow-wrap: break-word; }
@media (max-width: 420px) {
  /* small phones: let the name and a multi-size price share the line, wrapping when they don't fit */
  .menu-item-head { flex-wrap: wrap; }
  .menu-item .price { white-space: normal; margin-left: auto; text-align: right; }
}

/* Calendar --------------------------------------------------------------- */
.cal-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.cal-title { font-size: clamp(1.9rem, 4vw, 2.6rem); min-width: 10ch; }
.cal-controls { display: flex; gap: 0.5rem; }
.icon-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.icon-btn:hover { background: var(--surface-2); border-color: var(--text); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:disabled { opacity: .35; cursor: default; pointer-events: none; }

.cal-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.chip {
  --c: var(--text);
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-size: 0.85rem; font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); opacity: 0.4; transition: opacity 0.2s; }
.chip[aria-pressed="true"] {
  color: var(--text);
  border-color: color-mix(in srgb, var(--c) 55%, transparent);
  background: color-mix(in srgb, var(--c) 12%, transparent);
}
.chip[aria-pressed="true"]::before { opacity: 1; }
.chip.chip-all::before { display: none; }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  gap: 1px;
}
.cal-dow {
  background: var(--bg-2);
  padding: 0.75rem 0.85rem;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--faint);
}
.cal-cell {
  position: relative;
  min-height: 128px;
  padding: 0.6rem 0.6rem 0.7rem;
  background: var(--surface);
  border: 0;
  text-align: left;
  display: flex; flex-direction: column; gap: 0.35rem;
  min-width: 0;
}
.cal-cell.empty { background: var(--bg-2); }
.cal-cell.past { background: #161411; }
.cal-cell.past > * { opacity: 0.5; }
button.cal-cell { cursor: pointer; transition: background 0.2s; }
button.cal-cell:hover { background: var(--surface-2); }
.cal-num {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  font-size: 0.85rem; font-weight: 500;
  color: var(--muted);
}
.cal-cell.today .cal-num { background: var(--brand); color: #fff; font-weight: 700; }
.cal-chip {
  --c: var(--accent);
  display: block;
  padding: 0.28rem 0.5rem;
  border-radius: 6px;
  border-left: 2px solid var(--c);
  background: color-mix(in srgb, var(--c) 12%, transparent);
  font-size: 0.74rem; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cal-chip time { color: var(--muted); margin-right: 0.3rem; }
.cal-more { font-size: 0.72rem; color: var(--muted); padding-left: 0.3rem; }
.cal-dots { display: none; gap: 3px; flex-wrap: wrap; }
.cal-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--c); }

@media (max-width: 760px) {
  .cal-cell { min-height: 64px; padding: 0.35rem; align-items: center; }
  .cal-dow { padding: 0.6rem 0; text-align: center; letter-spacing: 0.05em; }
  .cal-chip, .cal-more { display: none; }
  .cal-dots { display: flex; justify-content: center; }
  .cal-num { width: 26px; height: 26px; font-size: 0.8rem; }
}

.agenda { margin-top: 3rem; }
.agenda-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  padding-bottom: 1rem; margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--line-strong);
}
.agenda-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.agenda-head span { color: var(--muted); font-size: 0.9rem; }

.agenda-day {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: background 0.6s;
}
.agenda-day.flash { background: rgba(191, 36, 40, 0.08); }
.agenda-day.past { opacity: 0.5; }
.agenda-date .dow { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.agenda-date .md { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.1; margin-top: 0.15rem; }
.today-badge {
  display: inline-block; margin-top: 0.5rem;
  padding: 0.2rem 0.55rem; border-radius: 999px;
  background: var(--brand); color: #fff;
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.agenda-events { display: grid; gap: 1rem; }
.agenda-event {
  --c: var(--accent);
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 1.5rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--c);
}
.agenda-event .time { font-size: 0.9rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.agenda-event h3 { font-size: 1.3rem; margin: 0.35rem 0 0.4rem; }
.agenda-event p { color: var(--muted); font-size: 0.93rem; }
.agenda-event .host { margin-top: 0.4rem; font-size: 0.85rem; color: var(--faint); }
.agenda-event .cost {
  align-self: start;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.78rem; font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .agenda-day { grid-template-columns: 1fr; gap: 1rem; }
  .agenda-date { display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; }
  .agenda-date .md { font-size: 1.4rem; }
  .today-badge { margin-top: 0; }
  .agenda-event { grid-template-columns: 1fr; gap: 0.25rem; padding: 1.1rem 1.15rem; }
  .agenda-event .cost { justify-self: start; margin-top: 0.6rem; }
}

/* States ----------------------------------------------------------------- */
.loading {
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--muted); padding: 2rem 0;
}
.loading::before {
  content: ""; width: 18px; height: 18px;
  border: 2px solid var(--line-strong); border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.notice {
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(226, 102, 127, 0.4);
  background: rgba(226, 102, 127, 0.08);
  color: var(--text);
}
.notice strong { display: block; margin-bottom: 0.35rem; }
.notice p { color: var(--muted); font-size: 0.92rem; }
.notice code { font-size: 0.85rem; background: var(--surface-2); padding: 0.1rem 0.4rem; border-radius: 4px; }

.empty-state { padding: 3rem 0; text-align: center; color: var(--muted); }

/* CTA band ------------------------------------------------------------ */
.cta-band {
  position: relative;
  padding: clamp(2.5rem, 5vw, 3.75rem);
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(191, 36, 40, 0.25);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(191, 36, 40, 0.25), transparent 60%),
    radial-gradient(60% 120% at 0% 100%, rgba(110, 36, 51, 0.6), transparent 60%),
    var(--surface);
}
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 18ch; }
.cta-band p { color: var(--muted); margin-top: 0.75rem; max-width: 46ch; }

/* Footer ----------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 3.5rem 0 2rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-grid h2 {
  font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1rem;
}
.footer-grid li + li { margin-top: 0.5rem; }
.footer-grid a { color: var(--muted); transition: color 0.2s; }
.footer-grid a:hover { color: var(--text); }
.footer-about p { color: var(--muted); margin-top: 1.25rem; max-width: 34ch; }
.socials { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.socials a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line-strong);
  transition: border-color 0.2s, color 0.2s;
}
.socials a:hover { border-color: var(--accent); color: var(--accent); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  margin-top: 3.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--faint); font-size: 0.82rem;
}

@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* Reveal on scroll ------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

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

/* ==========================================================================
   Brand imagery (images/)
   ========================================================================== */

/* Header wordmark */
.brand-logo { height: 46px; width: auto; }
@media (max-width: 560px) { .brand-logo { height: 38px; } }

/* Hero: wordmark as the H1, cocktail emblem inside the orb */
.hero h1.hero-logo { margin: 1rem 0 0.75rem; line-height: 0; }
.hero h1.hero-logo img {
  width: min(560px, 100%);
  height: auto;
  filter: drop-shadow(0 0 28px rgba(191, 36, 40, 0.35));
}
/* Neon stage wall: see "Hero neon stage" at the end of this file */

/* Neon "COCKTAILS" sign strip */
.neon-strip {
  position: relative;
  background: #000;
  border-block: 1px solid rgba(191, 36, 40, 0.35);
  overflow: hidden;
  isolation: isolate;
}
.neon-strip::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(40% 120% at 50% 50%, rgba(229, 72, 77, 0.35), transparent 70%);
}
.neon-strip img {
  display: block;
  width: 100%;
  max-width: 1920px;
  height: clamp(90px, 13vw, 200px);
  margin-inline: auto;
  object-fit: cover;               /* crops the black sides on narrow screens */
  object-position: center;
}

/* Footer badge */
.footer-badge {
  width: 168px;
  height: auto;
  mix-blend-mode: screen;
  margin-left: -10px;
}

/* Content from data/site.xml: hide the built-in fallback text until it's swapped in (max 2.5s) */
.site-pending [data-text],
.site-pending [data-rich],
.site-pending [data-render] { visibility: hidden; }
.about-body p + p { margin-top: 1rem; }
[hidden] { display: none !important; }

/* ==========================================================================
   Reels page
   ========================================================================== */
.reels-profile {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.reels-id { display: flex; align-items: center; gap: 1rem; }
.reels-avatar {
  width: 64px; height: 64px; border-radius: 50%; padding: 3px; flex: none;
  background: conic-gradient(from 200deg, #e5484d, #f2c14e, #bf2428, #9b2c6e, #e5484d);
}
.reels-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg); background: #000; }
.reels-id strong { display: block; font-size: 1.15rem; font-weight: 600; }
.reels-id span { color: var(--muted); font-size: 0.9rem; }

.reel-grid {
  display: grid;
  grid-template-columns: repeat(var(--reel-cols, 3), minmax(0, 380px));
  gap: clamp(1rem, 2.5vw, 1.75rem);
}
.reel-card { display: flex; flex-direction: column; min-width: 0; }
.reel-media {
  position: relative; display: block; width: 100%;
  aspect-ratio: 4 / 5;   /* Instagram's feed shape; taller images are trimmed top and bottom */
  padding: 0; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: zoom-in; isolation: isolate;
  background: radial-gradient(80% 60% at 50% 30%, rgba(191, 36, 40, 0.25), transparent 70%), var(--surface);
  transition: transform 0.35s ease, border-color 0.35s, box-shadow 0.35s;
}
.reel-media:hover, .reel-media:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(229, 72, 77, 0.55);
  box-shadow: 0 30px 60px -30px rgba(191, 36, 40, 0.6);
}
.reel-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.reel-media:hover img { transform: scale(1.03); }
/* small "enlarge" icon, shown on hover/focus so it never covers a flyer */
.reel-play {
  position: absolute; top: 0.8rem; right: 0.8rem; z-index: 2;
  width: 40px; height: 40px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(13, 12, 11, 0.7); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  opacity: 0; transform: scale(0.9);
  transition: transform 0.25s, opacity 0.25s;
}
.reel-play svg { width: 18px; height: 18px; }
.reel-media:hover .reel-play, .reel-media:focus-visible .reel-play { opacity: 1; transform: none; }
.reel-body { padding: 1.1rem 0.25rem 0; display: grid; gap: 0.75rem; }
.reel-when { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-bottom: -0.35rem; }
.reel-caption {
  color: var(--muted); font-size: 0.93rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  white-space: pre-line;
}
.reel-caption a, .reel-dialog-caption a { color: var(--text); }
.reel-caption a:hover, .reel-dialog-caption a:hover { color: var(--accent); }

/* Loading skeletons */
.reel-skeleton { aspect-ratio: 4 / 5; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(110deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%); background-size: 250% 100%; animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }

/* Fallback / follow card */
.reel-grid.is-empty { display: block; }
.reel-empty {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem;
  padding: clamp(3rem, 7vw, 5rem) 1.5rem;
  border: 1px solid rgba(191, 36, 40, 0.3); border-radius: calc(var(--radius) + 8px);
  background: radial-gradient(60% 100% at 50% 0%, rgba(191, 36, 40, 0.18), transparent 70%), var(--surface);
}
.reel-empty-icon { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 22px; color: #fff; background: linear-gradient(135deg, #bf2428, #e5484d 50%, #f2c14e); }
.reel-empty-icon svg { width: 36px; height: 36px; }
.reel-empty h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.reel-empty p { color: var(--muted); max-width: 46ch; }

/* Player dialog */
.reel-dialog {
  width: min(960px, calc(100% - 2rem)); max-height: calc(100svh - 2rem);
  padding: 0; border: 1px solid var(--line-strong); border-radius: calc(var(--radius) + 4px);
  background: var(--surface); color: var(--text); overflow: hidden;
}
.reel-dialog::backdrop { background: rgba(0, 0, 0, 0.82); backdrop-filter: blur(6px); }
.reel-dialog-inner { display: grid; grid-template-columns: auto minmax(260px, 1fr); max-height: calc(100svh - 2rem); }
.reel-dialog-img { display: block; max-height: min(86svh, 900px); width: auto; max-width: min(62vw, 100%); background: #000; object-fit: contain; }
.reel-dialog-side { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; overflow-y: auto; }
.reel-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.reel-dialog-head .reels-id strong { font-size: 1rem; }
.reel-dialog-caption { color: var(--muted); white-space: pre-line; font-size: 0.95rem; flex: 1; }
.reel-dialog-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; font-size: 1rem; }
.reel-dialog-close:hover { border-color: var(--text); }
.reel-dialog .reels-avatar { width: 44px; height: 44px; padding: 2px; }
.reel-dialog .reels-avatar img { border-width: 2px; }

@media (max-width: 860px) {
  /* Swipeable row on phones */
  .reel-grid:not(.is-empty) {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: -1.25rem; padding: 0.25rem 1.25rem 1rem;
  }
  .reel-grid::-webkit-scrollbar { display: none; }
  .reel-card, .reel-skeleton { scroll-snap-align: center; }
  .reel-dialog-inner { grid-template-columns: 1fr; }
  .reel-dialog-img { width: 100%; max-width: 100%; max-height: 70svh; }
  .reel-dialog-side { padding: 1rem 1.15rem 1.25rem; }
}
.reels-stats { display: inline-flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.reels-id .ig-stat strong { display: inline; font-size: inherit; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.ig-sep { color: var(--faint); }


/* ==========================================================================
   Hero stage (home)
   A deep blue limewashed wall over full-width black glossy wainscoting swept by stage lights, and on the right a faded neon "COCKTAILS" sign (after images/cocktails_neon.png),
   the bar's cocktail-glass emblem in front, and a ticket for the next show (js/home.js).
   Kept deliberately quiet: one slow glow, no flashing.
   ========================================================================== */
.hero-content { position: relative; z-index: 2; }

/* ---------- The room: full-width wainscoting + stage lights ---------- */
.hero { --rail: 51.2%; }   /* height of the chair rail, from the top of the hero (just under the logo, above the intro; re-check if the hero spacing changes) */
.hero-room {
  position: absolute; inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
/* Black lacquered raised panels under a glossy chair rail, fading in from the left so the text side stays plain */
.wainscot {
  position: absolute; left: 0; right: 0; top: var(--rail); bottom: 0;
  background:
    /* glossy sheen across the lacquer */
    linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.035) 30%, transparent 38%, transparent 62%, rgba(255, 255, 255, 0.04) 72%, transparent 80%),
    /* chair rail */
    linear-gradient(180deg, #2c2625 0, #0e0c0b 5px, #000 8px, #171312 9px, #050404 14px, transparent 14px) top / 100% 14px no-repeat,
    /* panels: 300px wide each, with slim frames */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='1000'%3E%3Cdefs%3E%3ClinearGradient id='p' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%231e1a19'/%3E%3Cstop offset='.3' stop-color='%230c0a0a'/%3E%3Cstop offset='1' stop-color='%23050404'/%3E%3C/linearGradient%3E%3ClinearGradient id='f' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23171413'/%3E%3Cstop offset='.5' stop-color='%23070606'/%3E%3Cstop offset='1' stop-color='%230f0d0c'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='300' height='1000' fill='%23030303'/%3E%3Crect x='5' y='10' width='290' height='1000' rx='2' fill='url(%23p)'/%3E%3Cpath d='M5.5 1000V10.5H294.5' fill='none' stroke='%23fff' stroke-opacity='.17'/%3E%3Cpath d='M294.5 10.5V1000' fill='none' stroke='%23000'/%3E%3Crect x='14' y='19' width='272' height='981' rx='1' fill='url(%23f)'/%3E%3Cpath d='M14.5 1000V19.5H285.5' fill='none' stroke='%23000'/%3E%3Cpath d='M285.5 19.5V1000' fill='none' stroke='%23fff' stroke-opacity='.1'/%3E%3C/svg%3E") left 14px / 300px 1000px repeat-x,
    #030303;
  /* fade in from the left, and out into the section below */
  -webkit-mask-image: linear-gradient(90deg, transparent 26%, #000 62%), linear-gradient(180deg, #000 70%, transparent);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent 26%, #000 62%), linear-gradient(180deg, #000 70%, transparent);
          mask-composite: intersect;
}

/* The wall above the chair rail: deep blue limewash (soft, cloudy brush marks), fading in from the left like
   the wainscoting. It sits at z-index -2 and comes before .hero-stage in the page, so the neon sign is hung on it. */
.hero-wall {
  position: absolute; left: 0; right: 0; top: 0; height: var(--rail);
  z-index: -2;
  pointer-events: none;
  background:
    /* limewash: broad cloudy patches of lighter blue */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='640'%3E%3Cfilter id='l' x='0' y='0' width='100%25' height='100%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0045 .009' numOctaves='4' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .72 0 0 0 0 .84 0 0 0 0 1 0 0 0 .55 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23l)'/%3E%3C/svg%3E") 0 0 / 640px 640px,
    /* sweeping brush strokes in a darker blue, finer and fainter */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420'%3E%3Cfilter id='b' x='0' y='0' width='100%25' height='100%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.018 .0045' numOctaves='3' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .02 0 0 0 0 .05 0 0 0 0 .12 0 0 0 .7 -.28'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23b)'/%3E%3C/svg%3E") 0 0 / 420px 420px,
    /* the paint itself: deep blue, a touch darker up near the ceiling */
    linear-gradient(180deg, #0f1a2b 0%, #172a43 45%, #1b304c 100%);
  /* fade in from the left (as the wainscoting does) and softly into the ceiling */
  -webkit-mask-image: linear-gradient(90deg, transparent 26%, #000 62%), linear-gradient(180deg, transparent 0, #000 30%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent 26%, #000 62%), linear-gradient(180deg, transparent 0, #000 30%);
          mask-composite: intersect;
}

/* Stage lights: soft cones from the ceiling that sweep slowly and land on the panels.
   Each beam rotates from its top; its ::after is the pool of light where it hits the wall. */
.stage-beam {
  /* hung well above the top edge, so the narrow source of each beam is never on screen */
  position: absolute; top: -45%;
  width: 22vw; min-width: 220px; height: 140%;
  transform-origin: 50% 0;
  mix-blend-mode: screen;
  will-change: transform;
  --c: 255, 220, 190;   /* beam color (r, g, b) */
  --a: 0.13;            /* beam strength */
}
.stage-beam::before {
  content: ""; position: absolute; inset: 0;
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  background:
    linear-gradient(90deg, transparent 8%, rgba(var(--c), var(--a)) 50%, transparent 92%);
  /* invisible near the source, building to full strength low down, where it lands */
  -webkit-mask-image: linear-gradient(180deg, transparent 0, transparent 22%, rgba(0, 0, 0, 0.35) 40%, #000 62%, #000 86%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, transparent 22%, rgba(0, 0, 0, 0.35) 40%, #000 62%, #000 86%, transparent 100%);
}
.stage-beam::after {
  content: ""; position: absolute; left: 6%; right: 6%; bottom: 2%;
  height: 22%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--c), calc(var(--a) * 3.2)), rgba(var(--c), calc(var(--a) * 1.1)) 45%, transparent 100%);
}
/* One sweep on page load (--sweep), then everything holds still (nothing keeps animating, to spare the CPU):
     0–15%    the lights open on the UPTOWN logo, which glows as the focus
     15–100%  they sweep slowly right, past the microphone, and all three converge on the
              "Next on stage" ticket (the mic only catches a passing glint)
   The angles are tuned for side-by-side desktop layouts; smaller screens get a simpler single pass (below). */
.hero { --sweep: 1s; }   /* set by the owner: keep at 1s */
.beam-2 {
  /* hung right above the microphone */
  width: 15vw; min-width: 180px;
  left: calc(var(--mic-x) - max(7.5vw, 90px) + 8px);
  --c: 255, 196, 140; --a: 0.12;
  animation: beam-2-sweep var(--sweep) ease-in-out both;
}
.beam-3 { left: 64%; --c: 255, 228, 205; --a: 0.14; animation: beam-3-sweep var(--sweep) ease-in-out both; }
.beam-4 { left: 76%; --c: 150, 110, 255; --a: 0.11; animation: beam-4-sweep var(--sweep) ease-in-out both; }
/* positive angles swing a beam down-left (toward the logo); 0 points straight down */
/* End angles aim each beam's pool at the ticket (about 78% down the hero, three-quarters across);
   negative angles swing down-right. scaleY stretches a beam slightly so its pool reaches. */
@keyframes beam-2-sweep { 0%, 15% { transform: rotate(30deg); } 100% { transform: rotate(-15deg) scaleY(1.04); } }   /* past the mic → ticket */
@keyframes beam-3-sweep { 0%, 15% { transform: rotate(43deg); } 100% { transform: rotate(-2deg) scaleY(1.01); } }    /* → ticket */
@keyframes beam-4-sweep { 0%, 15% { transform: rotate(50deg) scaleY(1.15); } 100% { transform: rotate(7deg) scaleY(1.02); } }   /* → ticket */
/* the pools of light appear as the beams come down onto the stage */
.stage-beam::after { animation: pool-in var(--sweep) ease-in-out both; }
@keyframes pool-in { 0%, 30% { opacity: 0; } 85%, 100% { opacity: 1; } }

/* The logo as the focus at the start: a warm wash behind it, and a brighter glow on the wordmark */
.hero h1.hero-logo { position: relative; }
.hero h1.hero-logo::before {
  content: "";
  position: absolute; inset: -35% -12% -30% -10%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 226, 206, 0.34), rgba(229, 72, 77, 0.2) 50%, transparent 100%);
  opacity: 0;
  animation: logo-spot-sweep var(--sweep) ease-in-out both;
}
.hero h1.hero-logo img { animation: logo-lit-sweep var(--sweep) ease-in-out both; }
@keyframes logo-spot-sweep { 0%, 15% { opacity: 1; } 60%, 100% { opacity: 0; } }
@keyframes logo-lit-sweep {
  0%, 15% { filter: drop-shadow(0 0 44px rgba(255, 106, 96, 0.7)) brightness(1.2); }
  60%, 100% { filter: drop-shadow(0 0 28px rgba(191, 36, 40, 0.35)); }
}
/* the stage side starts dimmed and brightens as the light arrives */
.stage-emblem { animation: stage-dim-sweep var(--sweep) ease-in-out both; }
@keyframes stage-dim-sweep { 0%, 15% { opacity: 0.55; } 75%, 100% { opacity: 1; } }
/* the "Next on stage" ticket picks up a warm glow as the beams converge on it */
@keyframes ticket-lit {
  0%, 70% { border-color: rgba(255, 255, 255, 0.09); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4); }
  100% { border-color: rgba(255, 214, 180, 0.4); box-shadow: 0 0 0 1px rgba(255, 200, 160, 0.1), 0 0 54px rgba(255, 196, 150, 0.22), 0 18px 40px rgba(0, 0, 0, 0.4); }
}

/* ---------- 1950s chrome microphone on a stand: the divider between text and stage ---------- */
.hero { --mic-x: 57%; }
.stage-mic {
  position: absolute;
  /* runs past the bottom of the hero, so the marquee band below hides where the stand meets the floor */
  left: var(--mic-x); top: 17%;
  height: 92%; width: auto; aspect-ratio: 180 / 1000;
  transform: translateX(-50%);
  overflow: visible;
}
/* Solid chrome (never see-through); it sits back in the room through its dark colouring, and dims a
   little more during the logo moment by brightness, not opacity. */
.stage-mic .mic-body { opacity: 1; }
/* chrome highlights: a brief glint as the amber beam sweeps past the mic, which then stays dark */
.stage-mic .mic-shine {
  opacity: 0;
  filter: drop-shadow(0 0 6px rgba(255, 214, 170, 0.55));
  animation: mic-shine-sweep var(--sweep) ease-in-out both;
}
@keyframes mic-shine-sweep { 0%, 60%, 82%, 100% { opacity: 0; } 70% { opacity: 0.4; } }
.stage-mic .mic-body { animation: mic-dim-sweep var(--sweep) ease-in-out both; }
@keyframes mic-dim-sweep { 0%, 15% { filter: brightness(0.7); } 75%, 100% { filter: brightness(1); } }

.hero-stage {
  position: absolute;   /* no z-index: lets the emblem blend with the hero background */
  top: calc(var(--header-h) + 1rem); bottom: 3rem; right: 0;
  width: min(44vw, 640px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  pointer-events: none;
}
.hero-stage > a { pointer-events: auto; }

/* Glow from the sign onto the wall around it (the wainscoting itself is full width: .hero-room) */
.stage-wall {
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(46% 30% at 50% 26%, rgba(229, 72, 77, 0.16), transparent 75%);
}
/* soft, static pool of light where the emblem hangs */
.stage-light {
  position: absolute; left: 50%; top: 50%;
  width: 70%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 225, 215, 0.10), rgba(191, 36, 40, 0.10) 55%, transparent 100%);
}

/* Neon sign, after images/cocktails_neon.png: thin white-hot tubes in front of raised red letters,
   on a lit red acrylic panel in a dark box frame. */
.neon-panel {
  position: relative;
  /* Mounted on the wall: behind the stage lights (which sit at z-index -1 in .hero-room) but in front of
     the hero background. The wainscoting starts below it, at the chair rail, so they never overlap. */
  z-index: -2;
  padding: 0.38em 0.9em 0.32em;
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  border: 1px solid rgba(18, 6, 6, 0.55);   /* a light hint of the box around the panel */
  border-radius: 3px;
  background:
    /* glossy acrylic: a light top edge and a soft sheen */
    linear-gradient(180deg, rgba(255, 190, 180, 0.12) 0, rgba(255, 190, 180, 0.03) 4%, transparent 22%),
    /* the panel lit from behind by the tubes: brightest in the middle, deeper red at the ends */
    radial-gradient(75% 110% at 50% 52%, rgba(200, 34, 28, 0.42), rgba(150, 16, 16, 0.3) 55%, rgba(90, 8, 10, 0.18) 85%, rgba(90, 8, 10, 0.06));
  box-shadow:
    inset 0 1px 0 rgba(255, 170, 160, 0.16),
    inset 0 0 22px rgba(255, 70, 50, 0.22),
    0 10px 20px rgba(0, 0, 0, 0.35),     /* the box stands off the wall and casts a shadow */
    0 0 40px rgba(240, 50, 40, 0.22),
    0 0 120px rgba(200, 30, 30, 0.16);
  /* Breathes for 4 slow cycles (about 28s), then rests at its dimmer level: a fade that never ends kept the
     GPU redrawing the whole hero (with its blended beams and grain) 60 times a second. */
  animation: neon-breathe 7s ease-in-out 4 both;
  will-change: opacity;   /* own compositor layer: while breathing, the glow doesn't repaint the page */
}
.neon-tubes {
  position: relative;
  display: block;
  font-family: "Tilt Neon", "Inter", system-ui, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-right: -0.2em;
  line-height: 1;
  color: #ff9a8c;                  /* a deeper red core rather than white-hot */
  transform: scale(0.84, 1.18);   /* tall, narrow tube letters like the real sign */
  text-shadow: 0 0 1px #ffc4ba, 0 0 3px #ff6f5e, 0 0 7px #f23a28, 0 0 14px #e0261a, 0 0 28px rgba(230, 30, 20, 0.75), 0 0 48px rgba(220, 24, 16, 0.4);
}
/* One tube per letter, like a real sign */
.neon-tubes i {
  position: relative;
  font-style: normal;
}
/* Raised red letters behind the tubes (a fattened copy of the same letter, a touch lower-right) */
.neon-tubes i::before {
  content: attr(data-l);
  position: absolute; left: 0; top: 0;
  z-index: -1;
  letter-spacing: 0;
  color: rgba(130, 10, 10, 0.75);
  -webkit-text-stroke: 0.11em rgba(130, 10, 10, 0.75);
  text-shadow: 0.03em 0.05em 0.06em rgba(60, 0, 0, 0.6);
  transform: translate(0.05em, 0.05em);
  pointer-events: none;
}
/* Jumper tubes between letters: painted-out glass, so it barely shows — a dim red line dipping under the baseline */
.neon-tubes i:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(100% - 0.3em); bottom: 0.17em;   /* the letter box includes descender space; this is the baseline */
  width: 0.38em; height: 0.15em;
  border: 0.045em solid rgba(120, 18, 16, 0.85);
  border-top: 0;
  border-radius: 0 0 0.16em 0.12em;
  box-shadow: 0 0.02em 0.08em rgba(255, 60, 50, 0.2);
  text-shadow: none;
  pointer-events: none;
}
/* a couple of them climb to the top of the next letter, as the tube bender routed it */
.neon-tubes i:nth-child(2)::after,
.neon-tubes i:nth-child(6)::after {
  bottom: 0.19em; height: 0.7em;
  border-radius: 0 0 0.2em 0;
  border-color: rgba(120, 18, 16, 0.6);
  transform: skewX(-18deg);
}
/* electrode caps where the tube starts and ends behind the panel */
.neon-tubes::before,
.neon-tubes::after {
  content: "";
  position: absolute; bottom: 0.12em;
  width: 0.08em; height: 0.12em;
  border-radius: 0.03em;
  background: rgba(50, 14, 14, 0.9);
}
.neon-tubes::before { left: 0.08em; }
.neon-tubes::after  { right: 0.32em; }

/* Flicker, like an ageing sign: the "A" is failing and stutters every few seconds, the "K" and "L"
   flutter now and then, and the whole sign dips and buzzes on its own rhythm. Timings are deliberately
   uneven (and never line up) so it doesn't read as a loop. */
.neon-tubes i.tired   { animation: neon-tired 5.3s steps(1, end) infinite; }
.neon-tubes i.flutter { animation: neon-flutter 8.7s steps(1, end) -3s infinite; }
.neon-tubes i.buzz    { animation: neon-flutter 12.9s steps(1, end) -8s infinite; }
.neon-tubes { animation: neon-stutter 9.1s steps(1, end) -4s infinite; }
@keyframes neon-tired {
  0%, 38%, 38.6%, 39.4%, 40.4%, 41.6%, 82%, 82.5%, 100% { opacity: 1; }
  38.3% { opacity: 0.35; }
  39%   { opacity: 0.6; }
  39.9% { opacity: 0.3; }
  41%   { opacity: 0.7; }
  82.25% { opacity: 0.55; }
}
@keyframes neon-flutter {
  0%, 30%, 30.6%, 31.4%, 100% { opacity: 1; }
  30.3% { opacity: 0.5; }
  31%   { opacity: 0.72; }
}
@keyframes neon-stutter {
  0%, 22%, 22.4%, 61%, 61.4%, 62.2%, 63.4%, 100% { opacity: 1; }
  22.2% { opacity: 0.86; }
  61.2% { opacity: 0.68; }
  61.8% { opacity: 0.84; }
  62.8% { opacity: 0.74; }
}
@keyframes neon-breathe { 0%, 100% { opacity: 0.76; } 50% { opacity: 0.88; } }   /* a little faded, part of the wall */

/* The emblem: the focal point */
.stage-emblem {
  position: relative;
  width: min(66%, 400px); height: auto;
  margin: -0.5rem 0 -1.5rem;   /* the image has generous black margins */
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
}

/* "Next on stage" ticket */
.stage-ticket {
  position: relative;
  display: grid; gap: 0.15rem;
  min-width: min(300px, 86%);
  max-width: 100%;
  padding: 0.85rem 1.4rem 0.9rem 1.55rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: rgba(14, 11, 11, 0.72);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  transition: border-color 0.25s ease, transform 0.25s ease;
  animation: ticket-in 0.6s ease both, ticket-lit max(0.6s, calc(var(--sweep) - 1s)) ease-in-out both;
}
.stage-ticket::before {
  content: ""; position: absolute; left: 0.6rem; top: 14%; bottom: 14%;
  border-left: 1px dashed rgba(229, 72, 77, 0.55);
}
.stage-ticket:hover, .stage-ticket:focus-visible { border-color: rgba(229, 72, 77, 0.55); transform: translateY(-2px); }
.ticket-label {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
}
.on-air { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.ticket-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; line-height: 1.2; }
.ticket-when { color: var(--muted); font-size: 0.88rem; }
@keyframes ticket-in { from { opacity: 0; transform: translateY(8px); } }
/* Until the next event loads (or if there isn't one) the ticket keeps its space but isn't shown, so the
   sign and glass above it don't jump. Its fade-in animation starts when this class comes off. */
.stage-ticket.is-pending { visibility: hidden; animation: none; }

/* Tablets, small laptops and phones: the stage sits below the hero text */
@media (max-width: 1180px) {
  .hero { flex-direction: column; align-items: stretch; justify-content: center; }
  .hero-stage {
    position: relative; inset: auto;
    width: 100%; max-width: 560px;
    order: 2;   /* after the hero text */
    margin: 2.5rem auto 0;
    padding: 2rem 1rem 0.5rem;
  }
  .stage-emblem { width: min(68%, 360px); }
}

@media (max-width: 1180px) {
  /* the stage sits at the bottom here, so measure the rail up from the bottom to land just under the sign */
  .wainscot {
    /* --rail-bottom is measured by js/home.js (just under the COCKTAILS sign); the formula is the fallback */
    top: auto; height: var(--rail-bottom, min(540px, calc(200px + 60vw)));
    /* the stage is centered below the text here: full width, fade out at the bottom only */
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
            mask-image: linear-gradient(180deg, #000 70%, transparent);
  }
  /* the blue wall runs from the top of the hero down to the rail */
  .hero-wall {
    height: auto; bottom: var(--rail-bottom, min(540px, calc(200px + 60vw)));
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 35%);
            mask-image: linear-gradient(180deg, transparent 0, #000 35%);
  }
  .stage-beam { width: 40vw; min-width: 160px; top: auto; bottom: 0; height: min(760px, calc(320px + 80vw)); }
  /* one gentle left-to-right pass, then still */
  .beam-2 { left: 2%; width: 40vw; min-width: 160px; animation: beam-pass 8s ease-in-out both; }
  .beam-3 { left: 30%; animation: beam-pass 8s ease-in-out 0.4s both; }
  .beam-4 { left: 58%; animation: beam-pass 8s ease-in-out 0.8s both; }
  .stage-beam::after, .hero h1.hero-logo::before, .hero h1.hero-logo img, .stage-emblem { animation: none; }
  .stage-mic { display: none; }
}
@keyframes beam-pass { from { transform: rotate(14deg); } to { transform: rotate(-3deg); } }

@media (prefers-reduced-motion: reduce) {
  .neon-panel, .neon-tubes, .neon-tubes i.tired, .neon-tubes i.flutter, .neon-tubes i.buzz, .stage-ticket, .stage-beam, .stage-beam::after, .stage-mic .mic-shine, .stage-mic .mic-body,
  .hero h1.hero-logo::before, .hero h1.hero-logo img, .stage-emblem { animation: none; }
  .beam-2 { transform: rotate(-15deg) scaleY(1.04); } .beam-3 { transform: rotate(-2deg) scaleY(1.01); } .beam-4 { transform: rotate(7deg) scaleY(1.02); }
  .stage-mic .mic-shine { opacity: 0; }
}

/* ==========================================================================
   404 page (404.html): a neon "404" with its middle tube burning out, the
   usual page heading, and quick links back into the site.
   ========================================================================== */
.lost-hero { border-bottom: 0; }
.lost-wrap {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}
.lost-sign {
  justify-self: center;
  padding: 0.22em 0.5em 0.16em;
  font-size: clamp(4.5rem, 14vw, 10rem);
  line-height: 1;
  border: 1px solid rgba(18, 6, 6, 0.55);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(255, 190, 180, 0.1) 0, transparent 22%),
    radial-gradient(75% 110% at 50% 52%, rgba(200, 34, 28, 0.32), rgba(120, 12, 14, 0.18) 70%, rgba(90, 8, 10, 0.05));
  box-shadow:
    inset 0 0 22px rgba(255, 70, 50, 0.18),
    0 14px 30px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(240, 50, 40, 0.18);
}
.lost-tubes { display: flex; gap: 0.06em; font-family: "Tilt Neon", var(--font-body); }
.lost-tubes i {
  font-style: normal;
  color: #ffe9e4;
  text-shadow:
    0 0 2px #fff,
    0 0 6px rgba(255, 110, 96, 0.95),
    0 0 18px rgba(240, 52, 44, 0.85),
    0 0 42px rgba(220, 36, 32, 0.6);
}
/* the middle tube is on its way out: it stutters a few times on load, then stays dim (no endless animation) */
.lost-tubes .lost-out { animation: tube-dying 2.6s steps(1, end) 0.6s both; }
@keyframes tube-dying {
  0%   { opacity: 1; }
  12%  { opacity: 0.25; }
  16%  { opacity: 1; }
  40%  { opacity: 0.3; }
  44%  { opacity: 0.9; }
  48%  { opacity: 0.2; }
  60%  { opacity: 0.85; }
  100% { opacity: 0.35; text-shadow: 0 0 4px rgba(240, 52, 44, 0.4); color: #b8574f; }
}
.lost-copy h1 { margin-top: 0.75rem; }
.lost-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.lost-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.lost-links a {
  display: flex; flex-direction: column; gap: 0.4rem;
  padding: 1.4rem 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.lost-links a:hover { border-color: var(--line-strong); background: var(--surface-2); transform: translateY(-2px); }
.lost-links strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; color: var(--text); }
.lost-links .muted { font-size: 0.92rem; }

@media (max-width: 820px) {
  .lost-wrap { grid-template-columns: 1fr; }
  .lost-sign { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .lost-tubes .lost-out { animation: none; opacity: 0.35; color: #b8574f; text-shadow: 0 0 4px rgba(240, 52, 44, 0.4); }
}

/* ==========================================================================
   Home · Google reviews (data/reviews.xml)
   ========================================================================== */
.review-head-actions { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.review-summary { display: inline-flex; align-items: center; gap: 0.55rem; margin: 0; color: var(--muted); font-size: 0.92rem; }
.review-summary b { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; color: var(--text); }
.review-summary a { color: var(--muted); text-underline-offset: 3px; }
.review-summary a:hover { color: var(--text); }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; fill: #f2c14e; }
.stars svg.dim { fill: rgba(242, 193, 78, 0.25); }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.review-grid > .empty-state { grid-column: 1 / -1; }
.review-card {
  margin: 0; display: flex; flex-direction: column; gap: 0.9rem;
  padding: 1.5rem 1.6rem 1.3rem; border-radius: 16px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-top: 3px solid rgba(242, 193, 78, 0.7);
}
.review-card blockquote {
  margin: 0; flex: 1; font-family: var(--font-display); font-style: italic; font-size: 1.12rem; line-height: 1.5; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden;
}
.review-card blockquote::before { content: "“"; color: var(--accent); }
.review-card blockquote::after { content: "”"; color: var(--accent); }
.review-card figcaption { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.review-card figcaption img, .review-initial { width: 40px; height: 40px; border-radius: 50%; flex: none; object-fit: cover; }
.review-initial { display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 600; }
.review-card figcaption > span:not(.review-initial) { display: grid; min-width: 0; }
.review-card figcaption strong { font-weight: 600; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-card figcaption small { color: var(--faint); font-size: 0.8rem; }
.review-link { margin-left: auto; color: var(--muted); text-decoration: none; font-size: 1.1rem; }
.review-link:hover { color: var(--accent); }
@media (max-width: 900px) { .review-grid { grid-template-columns: minmax(0, 1fr); } }

/* Yelp: the button next to "Write a review", and reviews embedded with Yelp's widget (data/site.xml) */
.review-head-actions .btn-ghost svg { width: 16px; height: 16px; }
.yelp-reviews { margin-top: 2.5rem; }
.yelp-head { margin: 0 0 1rem; color: var(--muted); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.yelp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1.25rem; align-items: start; }
/* before Yelp's script swaps it for the review card (or if it can't load): a plain link */
.yelp-review { display: block; min-width: 0; }
.yelp-review > a { display: block; padding: 1.2rem 1.4rem; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); color: var(--muted); text-decoration: none; }
.yelp-review > a:hover { color: var(--text); border-color: var(--muted); }
.yelp-cell { min-width: 0; }
.yelp-cell iframe { display: block; max-width: 100%; border-radius: 12px; }
/* Yelp's script sizes its card with an inline height (0 until it loads): hide the link once it has one */
.yelp-cell iframe:not([style*="height: 0"]) + .yelp-review { display: none; }

/* Contact page (/contact/) and the homepage's "Send us a message" button ------- */
.panel-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.panel .panel-actions .btn { margin-top: 0; }
.contact-wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
@media (max-width: 860px) { .contact-wrap { grid-template-columns: minmax(0, 1fr); } }
.contact-form { display: grid; gap: 1.25rem; }
.cf-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.cf-row[hidden] { display: none; }
@media (max-width: 560px) { .cf-row { grid-template-columns: minmax(0, 1fr); } }
.cf-field { display: grid; gap: 0.45rem; min-width: 0; }
.cf-field > span { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.cf-field > span small { letter-spacing: 0.05em; text-transform: none; color: var(--faint); font-size: 0.8rem; }
.cf-field input, .cf-field select, .cf-field textarea {
  width: 100%; padding: 0.85rem 1rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--text);
  font: inherit; font-size: 1rem; line-height: 1.4;
}
.cf-field textarea { resize: vertical; min-height: 9rem; }
.cf-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.cf-field [aria-invalid="true"] { border-color: var(--accent); }

.cf-count { color: var(--faint); font-size: 0.8rem; min-height: 1em; }
.cf-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-error { margin: 0; padding: 0.85rem 1rem; border-radius: var(--radius-sm); border: 1px solid rgba(229, 72, 77, 0.5); background: rgba(229, 72, 77, 0.08); }
.cf-error[hidden] { display: none; }
.cf-error a { color: var(--accent); text-decoration: underline; }
.cf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.panel .cf-actions .btn { margin-top: 0; }
.cf-actions .btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.cf-note { margin: 0; color: var(--faint); font-size: 0.85rem; }
.contact-done { text-align: center; display: grid; justify-items: center; gap: 1rem; padding-block: 3rem; outline: none; }
.contact-done[hidden] { display: none; }
.contact-done img { width: 120px; height: auto; filter: drop-shadow(0 0 24px rgba(229, 72, 77, 0.35)); }
.contact-done h2 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 400; margin: 0; }
.contact-done h2 em { font-style: italic; color: var(--accent); }
.contact-done p { margin: 0; max-width: 34rem; color: var(--text); }
.contact-done p.muted { color: var(--muted); }
.contact-done a:not(.btn) { color: var(--accent); }
.contact-done .btn { margin-top: 1rem; }
.contact-side .panel h3 { font-size: 1.4rem; }
/* contact form date: month, day and year lists side by side */
.cf-date { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr) minmax(0, 1.15fr); gap: 0.5rem; }
.cf-date select { padding-left: 0.75rem; padding-right: 1.75rem; background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%; }
