/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  /* Palette pulled from the Don Perico badge: night sky, cream banner, parrot */
  --bg: #16122b;
  --bg-deep: #0f0c1f;
  --surface: #201b3b;
  --surface-2: #2a2449;
  --line: #352e5a;
  --line-strong: #4d4578;
  --text: #f7eed8;
  --text-soft: #e2d8c3;
  --muted: #b9b0a0;
  --muted-2: #918a9e;
  --ink: #15111f;

  --cream: #f6e9c8;
  --gold: #f2b233;
  --gold-bright: #ffc94f;
  --red: #d42a2a;
  --green: #2f9a47;
  --blue: #2f56b0;

  --font-display: 'Rye', Georgia, serif;
  --font-serif: 'Alegreya', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 12px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 1200px;

  --stripe: 5px;
  --header-row: 4.25rem;
  --header-h: calc(var(--header-row) + var(--stripe));
}

@media (min-width: 900px) {
  :root {
    --header-row: 5rem;
    --header-h: calc(var(--header-row) + 2.25rem + var(--stripe)); /* + cream sub-nav */
  }
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

ul {
  list-style: none;
}

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

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4.25rem);
}

h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
}

h3 {
  font-size: 1.4rem;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-head {
  margin-bottom: 2rem;
}

.eyebrow {
  color: var(--gold-bright);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--gold);
  color: var(--ink);
  padding: 0.5rem 1rem;
  font-weight: 700;
  border-radius: 6px;
}

.skip-link:focus {
  top: 1rem;
}

/* Stripe in the parrot's colors */
.site-header::after,
.site-footer::before {
  content: "";
  display: block;
  height: var(--stripe);
  background: linear-gradient(90deg,
      var(--red) 0 25%, var(--gold) 25% 50%, var(--green) 50% 75%, var(--blue) 75% 100%);
  background-size: 240px 100%;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--gold);
  color: var(--ink);
}

.btn-primary:hover {
  background-color: var(--gold-bright);
}

.btn-outline {
  border: 2px solid var(--gold);
  color: var(--gold-bright);
}

.btn-outline:hover {
  background-color: var(--gold);
  color: var(--ink);
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-bright);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.long-arrow {
  position: relative;
  width: 22px;
  height: 2.5px;
  margin-left: 0.25rem;
  background: currentColor;
  transition: width 0.3s ease;
}

.long-arrow::after {
  content: "";
  position: absolute;
  right: -8px;
  top: -4.5px;
  border-left: 10px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.btn-arrow:hover .long-arrow {
  width: 44px;
}

/* ==========================================================================
   Header & navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 1.5rem;
  background-color: rgba(21, 18, 42, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header::after {
  grid-column: 1 / -1;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: var(--header-row);
  padding: 0.4rem 0 0.4rem var(--gutter);
  text-decoration: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4vw, 1.7rem);
}

.logo-tag {
  margin-top: 0.3rem;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: clamp(0.72rem, 2vw, 0.9rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.site-nav a {
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Mobile: hamburger + slide-down panel */
.nav-toggle {
  grid-column: 3;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-right: calc(var(--gutter) - 0.5rem);
  background: none;
  border: 0;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 26px;
  height: 2.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.nav-toggle-bar {
  position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before {
  top: -8px;
}

.nav-toggle-bar::after {
  top: 8px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  transform: translateY(-8px) rotate(-45deg);
}

.site-nav {
  grid-column: 1 / -1;
  grid-row: 3;
  display: none;
  padding: 1rem var(--gutter) 2rem;
  max-height: calc(100dvh - var(--header-row));
  overflow-y: auto;
}

.site-nav.is-open {
  display: block;
}

/* Without JS the toggle can't work, so show the links stacked */
html:not(.js) .site-nav {
  display: block;
}

html:not(.js) .nav-toggle {
  display: none;
}

.site-nav li {
  border-bottom: 1px solid var(--line);
}

.site-nav li a {
  display: block;
  padding: 1rem 0;
  font-size: 1.15rem;
}

.site-nav a:hover {
  color: var(--gold-bright);
}

.nav-phone {
  display: block;
  color: var(--gold-bright);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

/* Desktop: inline primary nav + cream sub-nav bar */
@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .site-nav,
  html:not(.js) .site-nav {
    display: contents;
  }

  .nav-primary {
    grid-column: 3;
    display: flex;
    gap: 2.25rem;
    padding-right: var(--gutter);
  }

  .nav-primary li,
  .nav-secondary li {
    border: 0;
  }

  .nav-primary a {
    padding: 0.5rem 0;
    font-size: 1.2rem;
  }

  .nav-secondary {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 2.4vw, 2.5rem);
    height: 2.25rem;
    align-items: center;
    background-color: var(--cream);
    border-top: 2px solid var(--ink);
  }

  .nav-secondary a {
    padding: 0.25rem 0;
    color: var(--ink);
    font-size: clamp(0.78rem, 1.1vw, 0.9rem);
    white-space: nowrap;
  }

  .nav-secondary a:hover {
    color: var(--red);
  }

  .nav-phone {
    display: inline;
    margin-left: 0.4rem;
    color: inherit;
    font-size: inherit;
    font-weight: 500;
  }

  /* papel picado sits under the cream bar */
  .site-header::after {
    grid-row: 3;
  }
}

/* Narrow desktops: drop the number from the takeout link so the bar fits on one line */
@media (min-width: 900px) and (max-width: 1199px) {
  .nav-secondary .nav-phone {
    display: none;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(78vh, 44rem);
  padding: 6rem var(--gutter) clamp(3rem, 8vw, 5.5rem);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg,
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(21, 18, 42, 1) 0%, rgba(21, 18, 42, 0.55) 45%, rgba(21, 18, 42, 0.2) 100%),
    linear-gradient(to right, rgba(21, 18, 42, 0.7) 0%, rgba(21, 18, 42, 0) 70%);
}

.hero-content {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

/* Header already carries the badge on small screens */
.hero-logo {
  display: none;
}

@media (min-width: 900px) {
  .hero-content {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 3rem;
  }

  .hero-logo {
    display: block;
    width: clamp(260px, 28vw, 380px);
  }

  .hero-logo img {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
  }
}

/* Live status + today's special (filled in by script.js) */
.hero-live {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.hero-status,
.hero-today {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background-color: rgba(15, 12, 31, 0.75);
  border: 1px solid var(--line-strong);
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-status::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background-color: var(--muted);
}

.hero-status.is-open::before {
  background-color: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.25);
}

.hero-today {
  color: var(--ink);
  background-color: var(--cream);
  border-color: var(--cream);
  text-decoration: none;
}

.hero-today:hover {
  background-color: var(--gold-bright);
}

.hero-today-label {
  padding: 0.05rem 0.5rem;
  border-radius: 999px;
  background-color: var(--red);
  color: var(--cream);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
  text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.hero-lede {
  max-width: 34rem;
  margin-bottom: 2rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-soft);
}

/* ==========================================================================
   Guest favorites
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 1.25rem;
}

/* Mobile: swipeable carousel; the next card peeks in to hint at scrolling */
@media (max-width: 699px) {
  .card-grid {
    display: flex;
    gap: 1rem;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0.5rem var(--gutter) 1rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .card-grid::-webkit-scrollbar {
    display: none;
  }

  .card-grid > li {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }
}

.dish-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.dish-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.dish-card picture {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.dish-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dish-card:hover img {
  transform: scale(1.05);
}

.dish-card-body {
  padding: 1.1rem 1.25rem 1.4rem;
}

.dish-card h3 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.dish-card .price {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-bright);
}

.dish-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   Menu CTA band
   ========================================================================== */
.menu-cta {
  padding: clamp(3rem, 7vw, 5rem) 0;
  background-color: var(--surface);
  border-block: 1px solid var(--line);
}

.menu-cta-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.menu-cta h2 {
  margin-bottom: 1.5rem;
}

.menu-cta-img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
}

@media (min-width: 800px) {
  .menu-cta-inner {
    grid-template-columns: 1.1fr 1fr;
    gap: 3.5rem;
  }
}

/* ==========================================================================
   Weekly specials: cream ribbons like the banner in the logo
   ========================================================================== */
.specials {
  padding: 0 0 clamp(3.5rem, 8vw, 6rem);
}

.specials-title {
  margin-bottom: 1rem;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.specials-list {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 900px) {
  .specials-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.special {
  --accent: var(--red);
  --notch: 0.9rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 0.85rem calc(var(--notch) + 1rem);
  background-color: var(--cream);
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--notch)) 50%, 100% 100%, 0 100%, var(--notch) 50%);
  box-shadow: inset 0 5px 0 var(--accent), inset 0 -5px 0 var(--accent);
  transition: transform 0.2s ease;
}

.special:hover {
  transform: translateY(-3px);
}

.special-green { --accent: var(--green); }
.special-red { --accent: var(--red); }
.special-blue { --accent: var(--blue); }

.special-day {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.6rem);
  line-height: 1.1;
}

.special-deal {
  margin-top: 0.2rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
}

.special-deal small {
  font-size: 0.8em;
  font-weight: 500;
}

/* Today's special gets a solid ribbon and a "Today" tag */
.special.is-today {
  background-color: var(--accent);
  color: var(--cream);
  box-shadow: none;
}

.special.is-today .special-day {
  color: var(--cream);
}

.special.is-today::before {
  content: attr(data-today-label);
  margin-bottom: 0.2rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ==========================================================================
   Sunday brunch: the night sky and fireworks from the badge
   ========================================================================== */
.brunch {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(242, 178, 51, 0.22), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(47, 86, 176, 0.35), transparent 30%),
    radial-gradient(circle at 70% 90%, rgba(212, 42, 42, 0.2), transparent 32%),
    linear-gradient(180deg, #2a1f55 0%, var(--surface) 100%);
  border-block: 1px solid var(--line);
}

.brunch-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.brunch-text h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
}

.brunch-text p:not(.eyebrow) {
  max-width: 34rem;
  margin-bottom: 1rem;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.brunch-text .brunch-lede {
  color: var(--text);
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
}

.brunch-text .btn-row {
  margin-top: 1.75rem;
}

/* Double ring echoes the badge outline */
.brunch-ticket {
  justify-self: center;
  width: min(100%, 22rem);
  padding: 2rem 1.5rem;
  background-color: var(--cream);
  color: var(--ink);
  text-align: center;
  border: 3px solid var(--ink);
  border-radius: 1.5rem;
  box-shadow: 0 0 0 7px var(--cream), 0 0 0 10px var(--ink), 0 24px 48px rgba(0, 0, 0, 0.45);
  transform: rotate(-2deg);
}

.brunch-ticket-label {
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brunch-price {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 4rem);
  line-height: 1;
}

.brunch-price-hours {
  font-size: clamp(2.2rem, 7vw, 2.75rem);
  white-space: nowrap;
}

.brunch-per {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
}

.brunch-hours {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 2px dashed rgba(21, 17, 31, 0.3);
  font-size: 1.05rem;
}

@media (min-width: 800px) {
  .brunch-inner {
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
  }

  /* ticket on the left, text on the right */
  .brunch-ticket {
    order: -1;
  }
}

/* ==========================================================================
   Our story
   ========================================================================== */
.story {
  background-color: var(--surface);
  border-top: 1px solid var(--line);
}

.story-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.story-text h2 {
  margin-bottom: 1.25rem;
}

.story-text p:not(.eyebrow) {
  max-width: 38rem;
  margin-bottom: 1rem;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.story-badge {
  justify-self: center;
  max-width: 380px;
}

.story-badge img {
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.55));
}

@media (min-width: 800px) {
  .story-inner {
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
  }

  /* badge on the left, text on the right */
  .story-badge {
    order: -1;
  }
}

/* ==========================================================================
   Catering
   ========================================================================== */
.catering {
  background-color: var(--bg);
}

.catering-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.catering-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.catering-text h2 {
  margin-bottom: 1.25rem;
}

.catering-text p:not(.eyebrow) {
  max-width: 36rem;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.catering-list {
  display: grid;
  gap: 0.6rem;
  margin: 1.5rem 0 2rem;
}

.catering-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
}

/* parrot-colored bullets */
.catering-list li::before {
  content: "";
  flex-shrink: 0;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background-color: var(--red);
}

.catering-list li:nth-child(2)::before { background-color: var(--gold); }
.catering-list li:nth-child(3)::before { background-color: var(--green); }
.catering-list li:nth-child(4)::before { background-color: var(--blue); }

@media (min-width: 600px) {
  .catering-list {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
  }
}

@media (min-width: 800px) {
  .catering-inner {
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
  }
}

/* ==========================================================================
   Parties & groups
   ========================================================================== */
.parties {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  background-color: var(--cream);
  color: var(--ink);
}

.parties-inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.parties .eyebrow {
  color: var(--red);
}

.parties h2 {
  margin-bottom: 0.75rem;
}

.parties p:not(.eyebrow) {
  max-width: 40rem;
  font-size: 1.05rem;
}

.parties .btn-primary {
  justify-self: start;
  background-color: var(--red);
  color: var(--cream);
}

.parties .btn-primary:hover {
  background-color: var(--ink);
}

@media (min-width: 800px) {
  .parties-inner {
    grid-template-columns: 1fr auto;
    gap: 3rem;
  }
}

/* ==========================================================================
   Visit
   ========================================================================== */
.visit {
  background-color: var(--bg);
  border-top: 1px solid var(--line);
}

.visit-grid {
  display: grid;
  gap: 1.5rem;
}

.visit-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}

.visit-photo figcaption {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.visit-photo strong {
  color: var(--gold);
}

.visit-info dl {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.visit-info dt {
  margin-bottom: 0.2rem;
  color: var(--gold-bright);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.visit-info dd {
  font-size: 1.1rem;
}

.visit-info dd a {
  text-decoration: none;
}

.visit-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
  border-radius: var(--radius);
  filter: grayscale(0.3) contrast(1.05);
}

@media (min-width: 800px) {
  .visit-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
  }

  .visit-map {
    grid-column: 1 / -1;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--ink);
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
  padding-top: 2.5rem;
  padding-bottom: 1.5rem;
}

.footer-logo {
  width: 84px;
  height: auto;
}

.footer-name {
  margin-bottom: 0.25rem;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-bright);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-weight: 600;
  color: var(--text);
}

.copyright {
  padding: 1rem var(--gutter) 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  text-align: center;
}

@media (min-width: 800px) {
  .footer-inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
  }
}

/* ==========================================================================
   Menu page
   ========================================================================== */
.menu-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem;
}

.menu-hero h1 {
  color: var(--gold);
  text-transform: uppercase;
}

.menu-hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.menu-hero p:not(.eyebrow) {
  max-width: 40rem;
  margin-top: 0.75rem;
  color: var(--muted);
}

.menu-legend {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.menu-hero p.menu-brunch-note,
.deal-note {
  max-width: 48rem;
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  background-color: var(--cream);
  color: var(--ink);
  font-size: 0.95rem;
}

.menu-hero .menu-brunch-note a {
  color: var(--red);
  font-weight: 700;
}

.deal-note {
  border-left-color: var(--red);
}

/* Sticky category chips */
.menu-chips {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background-color: rgba(21, 18, 42, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.menu-chips ul {
  display: flex;
  gap: 0.5rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.menu-chips ul::-webkit-scrollbar {
  display: none;
}

.menu-chips li {
  flex-shrink: 0;
  scroll-snap-align: start;
}

.menu-chips a {
  display: block;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: var(--surface);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.menu-chips a:hover {
  border-color: var(--gold);
}

.menu-chips a[aria-current="true"] {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

/* chips add to the sticky stack on the menu page */
html.menu-page {
  scroll-padding-top: calc(var(--header-h) + 3.6rem + 1rem);
}

/* Categories */
.menu-body {
  padding-bottom: 4rem;
}

.menu-category {
  padding: 3rem 0 1rem;
  border-bottom: 1px solid var(--line);
}

.menu-category:last-child {
  border-bottom: 0;
}

.menu-category > h2 {
  color: var(--gold);
  text-transform: uppercase;
}

.category-note {
  max-width: 48rem;
  margin-top: 0.6rem;
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--gold);
  background-color: var(--surface);
  border-radius: 0 8px 8px 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.category-banner {
  display: block;
  margin-top: 1.5rem;
}

.category-banner img {
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
  border-radius: var(--radius);
}

.menu-subhead {
  grid-column: 1 / -1;
  margin-top: 1rem;
  color: var(--gold-bright);
  font-size: 1.35rem;
}

.menu-items {
  display: grid;
  gap: 0.25rem 3.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 800px) {
  .menu-items {
    grid-template-columns: 1fr 1fr;
  }

  .category-banner img {
    aspect-ratio: 3 / 1;
  }
}

.item {
  padding: 0.9rem 0;
}

.item-head {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.item-head h3,
.item-head .item-name {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.item-head::after {
  content: "";
  order: 1;
  flex: 1 1 1.5rem;
  min-width: 1.5rem;
  border-bottom: 2px dotted var(--line-strong);
  transform: translateY(-0.3em);
}

.price {
  order: 2;
  flex-shrink: 0;
  color: var(--gold-bright);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.price small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.item-desc {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.item-opts {
  margin-top: 0.3rem;
  color: var(--muted-2);
  font-size: 0.85rem;
}

.item-opts em {
  color: var(--muted);
  font-style: normal;
}

.fav {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  background-color: var(--gold);
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 0.2em;
}

/* Little perico badge in front of favorite dishes (and the legend) */
.item-head h3:has(.fav)::before,
.menu-legend::before {
  content: "";
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: var(--cream) url("images/favicon.png") center / cover no-repeat;
  box-shadow: 0 0 0 2px var(--gold);
  vertical-align: middle;
}

.menu-legend::before {
  margin-right: 0.1rem;
}

/* Compact price lists (quesadillas, sides, a la carta) */
.price-list {
  display: grid;
  gap: 0.15rem 3.5rem;
  margin-top: 1.25rem;
}

.price-list li {
  padding: 0.5rem 0;
}

@media (min-width: 800px) {
  .price-list {
    grid-template-columns: 1fr 1fr;
  }
}

.menu-group {
  margin-top: 1.5rem;
}

.menu-group > h3 {
  color: var(--gold-bright);
  font-size: 1.35rem;
}

.menu-group .price-list,
.menu-group .menu-items {
  margin-top: 0.5rem;
}

.beer-list {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
