/* Cervezas Cafe — v3 (2026-10-02)
   Restructure: the menu moved to its own page (/carta.html). Home is the brand site.
   Keeps the v2 warm-nica-cafe palette, the v2 accessibility work, and the v2 menu CSS
   verbatim so the 110 transcribed items render exactly as they did in v1/v2.

   Base: v2 site.css (Pablo "bad-ass" direction — dark ember hero, Fraunces display,
   terracotta featured-price pills, sharp hierarchy over decoration).
*/

:root {
  --cream:       #FDF6EA;
  --cream-2:     #F7EAD4;
  --paper:       #FFFAF2;
  --terracotta:  #D3653C;
  --terracotta-2:#B84E2B;
  --amber-2:     #C8853B;
  --gold:        #E8A33D;
  --ember:       #FF6A1A;
  --leaf:        #5A8A52;
  --leaf-2:      #3F6B3A;
  --ink:         #3A2C22;
  --muted:       #7A6555;
  --night:       #1A0F08;
  --smoke:       #2A1A10;
  --surface-dark: #221510;
  --surface-mid:  #3A2820;
  --nav-h:       64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; }

/* ─── Skip link (keyboard a11y) ──────────────────────────────────── */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--night); color: var(--cream);
  padding: 12px 20px; border-radius: 0 0 8px 0;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ─── Site nav (mark + wordmark, sticky) ─────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  min-height: 58px;
  padding: 7px clamp(14px, 3vw, 32px);
  background: rgba(253,246,234,0.94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--cream-2);
}
.site-nav-brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.site-nav-logo {
  display: block; height: auto;
  width: clamp(104px, 11vw, 132px);
  filter: drop-shadow(0 2px 5px rgba(58,44,34,0.10));
}
.site-nav-links {
  display: flex; gap: 4px; list-style: none; margin: 0; padding: 0;
  overflow-x: auto; overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.site-nav-links::-webkit-scrollbar { display: none; }
.site-nav-links a {
  display: inline-block; white-space: nowrap;
  padding: 7px 13px; border-radius: 999px;
  color: var(--ink); text-decoration: none;
  font-weight: 700; font-size: 0.84rem;
  transition: background 0.18s ease, color 0.18s ease;
}
.site-nav-links a:hover { background: var(--cream-2); }
.site-nav-links a[aria-current="page"] { background: var(--terracotta); color: var(--cream); }
@media (max-width: 520px) {
  .site-nav { justify-content: center; }
  .site-nav-links { width: 100%; justify-content: flex-start; }
}

/* ─── Hero (full-bleed dark) ──────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(255,106,26,0.32), transparent 68%),
    radial-gradient(ellipse 60% 45% at 50% 100%, rgba(211,101,60,0.22), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, var(--smoke) 62%, var(--surface-dark) 100%);
  color: var(--cream);
  padding: clamp(40px, 5.5vw, 66px) clamp(20px, 5vw, 40px) clamp(36px, 5vw, 58px);
  text-align: center;
  min-height: clamp(400px, 52vh, 520px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 18% 28%, rgba(232,163,61,0.09) 0, transparent 42%),
    radial-gradient(circle at 82% 72%, rgba(255,106,26,0.10) 0, transparent 42%);
}
.hero > *:not(.hero-glow):not(.hero-bg):not(.hero-scrim) { position: relative; z-index: 1; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
  opacity: 0.30; filter: saturate(1.05);
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 45%, rgba(26,15,8,0.30), transparent 72%),
    linear-gradient(180deg, rgba(26,15,8,0.72) 0%, rgba(26,15,8,0.45) 40%, rgba(34,21,16,0.86) 100%);
}
.hero-mark {
  width: clamp(210px, 30vw, 340px);
  height: auto;
  margin-bottom: 26px;
  filter: drop-shadow(0 10px 26px rgba(0,0,0,0.6));
}
.hero-eyebrow {
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold);
  margin: 0 0 18px;
}
.hero-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 800;
  font-size: clamp(2.3rem, 6.4vw, 4.4rem);
  line-height: 1.04; letter-spacing: -0.02em;
  margin: 0 0 20px;
  text-shadow: 0 4px 26px rgba(0,0,0,0.42);
}
.hero-title em { font-style: italic; color: var(--ember); }
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  max-width: 620px; margin: 0 auto 32px;
  color: rgba(253,246,234,0.86); font-weight: 500;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-cubetazo {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  margin: 30px 0 0; padding: 11px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--terracotta-2), var(--ember));
  box-shadow: 0 10px 28px rgba(184,78,43,0.42);
}
.hero-cubetazo-label {
  font-family: 'Fraunces', Georgia, serif; font-weight: 800;
  font-size: 1rem; letter-spacing: 0.03em; text-transform: uppercase;
}
.hero-cubetazo-note { font-size: 0.74rem; letter-spacing: 0.06em; opacity: 0.88; }

/* ─── Buttons ─────────────────────────────────────────────────────── */
.btn-primary, .btn-ghost, .btn-dark {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 800; font-size: 0.92rem; letter-spacing: 0.02em;
  text-decoration: none; text-transform: uppercase;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-lg { padding: 15px 30px; font-size: 0.98rem; }
.btn-primary { background: var(--ember); color: var(--night); box-shadow: 0 8px 24px rgba(255,106,26,0.34); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255,106,26,0.48); }
.btn-ghost { border: 1.5px solid rgba(253,246,234,0.36); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(253,246,234,0.07); }
.btn-dark { background: var(--night); color: var(--cream); }
.btn-dark:hover { background: var(--terracotta-2); transform: translateY(-2px); }

/* ─── Sections ────────────────────────────────────────────────────── */
.section {
  max-width: 1080px; margin: 0 auto;
  padding: clamp(40px, 5.2vw, 66px) clamp(20px, 4vw, 32px);
}
.section-alt { background: var(--paper); }
.section-title {
  font-family: 'Fraunces', Georgia, serif; font-weight: 800;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  letter-spacing: -0.015em; margin: 0 0 14px;
  color: var(--terracotta-2);
}
.section-lead {
  font-size: 1.02rem; line-height: 1.62; color: var(--ink);
  max-width: 680px; margin: 0 0 26px;
}
.section-lead strong { color: var(--terracotta-2); }
.section-cta-row { margin: 36px 0 0; text-align: center; }

/* ─── Category cards (the menu preview) ───────────────────────────── */
.cat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 16px;
}
.cat-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 24px 22px 20px;
  background: var(--cream);
  border: 1px solid var(--cream-2);
  border-radius: 18px;
  text-decoration: none; color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.cat-card:hover {
  transform: translateY(-3px);
  border-color: var(--terracotta);
  box-shadow: 0 14px 30px rgba(58,44,34,0.12);
}
.cat-card-featured { background: var(--night); border-color: var(--night); color: var(--cream); }
.cat-card-featured:hover { border-color: var(--ember); }
.cat-icon { font-size: 1.9rem; line-height: 1; }
.cat-name {
  font-family: 'Fraunces', Georgia, serif; font-weight: 700;
  font-size: 1.2rem; letter-spacing: -0.01em;
}
.cat-card-featured .cat-name { color: var(--cream); }
.cat-note { font-size: 0.9rem; line-height: 1.5; color: var(--muted); flex: 1; }
.cat-card-featured .cat-note { color: rgba(253,246,234,0.76); }
.cat-price {
  font-family: 'Fraunces', Georgia, serif; font-weight: 700;
  color: var(--terracotta-2); font-variant-numeric: tabular-nums;
  font-size: 0.95rem; margin-top: 4px;
}
.cat-card-featured .cat-price { color: var(--ember); }

/* ─── Split (Nosotros) ───────────────────────────────────────────── */
.section-split {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 780px) { .section-split { grid-template-columns: 1fr; } }
.split-copy p { font-size: 1.04rem; line-height: 1.74; margin: 0 0 16px; color: var(--ink); }
.split-copy strong { color: var(--terracotta-2); }
.pull-quote {
  font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 600;
  font-size: 1.24rem; line-height: 1.5;
  color: var(--terracotta-2);
  background: var(--cream-2);
  border-left: 4px solid var(--terracotta);
  border-radius: 0 14px 14px 0;
  padding: 22px 24px; margin: 0 0 22px;
}
.partner-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 18px; background: var(--cream);
  border: 1px solid var(--cream-2); border-radius: 14px;
}
.partner-label {
  display: block; font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--terracotta-2); font-weight: 800;
}
.partner-name {
  display: block; font-family: 'Fraunces', Georgia, serif; font-weight: 800;
  font-size: 1.06rem; color: var(--terracotta-2);
}

/* ─── TikTok ──────────────────────────────────────────────────────── */
.section-tiktok { background: var(--cream-2); }
.tiktok-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; max-width: 760px; margin: 0 auto;
}
@media (max-width: 860px) { .tiktok-grid { grid-template-columns: repeat(2, 1fr); max-width: 440px; } }
@media (max-width: 400px) { .tiktok-grid { max-width: 300px; gap: 10px; } }
.tiktok-card {
  position: relative; overflow: hidden;
  aspect-ratio: 9 / 13; border-radius: 12px;
  background: var(--surface-mid);
  box-shadow: 0 10px 26px rgba(26,15,8,0.28);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tiktok-thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.55;
}
.tiktok-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,15,8,0.30) 0%, rgba(26,15,8,0.72) 100%);
}
.tiktok-card::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 28%, rgba(255,106,26,0.26), transparent 62%),
    radial-gradient(circle at 50% 82%, rgba(232,163,61,0.18), transparent 62%);
}
.tiktok-card:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(26,15,8,0.44); }
.tiktok-play {
  position: relative; z-index: 2;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(253,246,234,0.95);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}
.tiktok-play::before {
  content: ""; display: block;
  border-style: solid; border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--night);
  margin: 15px 0 0 18px;
}
.tiktok-label {
  position: relative; z-index: 2;
  font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 0.9rem;
  color: var(--cream); text-align: center; padding: 0 10px;
}

/* ─── Info cards (Visítanos) ──────────────────────────────────────── */
.info-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 16px; margin: 0 0 34px;
}
.info-card {
  background: var(--cream);
  border: 1px solid var(--cream-2); border-radius: 16px;
  padding: 22px;
}
.info-title {
  font-size: 0.74rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--terracotta-2);
  margin: 0 0 10px;
}
.info-body { margin: 0 0 8px; font-size: 1rem; line-height: 1.55; }
.info-body a { color: var(--leaf-2); text-decoration: none; border-bottom: 1px solid var(--leaf); }
.info-body a:hover { color: var(--leaf); }
.info-pending {
  margin: 0; font-size: 0.82rem; color: var(--muted);
  font-style: italic; line-height: 1.45;
}

/* ─── Social pills ────────────────────────────────────────────────── */
.socials { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.social-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px;
  background: var(--night); color: var(--cream);
  text-decoration: none; font-weight: 700; font-size: 0.9rem;
  transition: background 0.18s ease;
}
.social-pill:hover { background: var(--terracotta-2); }
.social-pill-wa { background: #1FA855; }
.social-pill-wa:hover { background: #17904A; }
.social-pill svg { width: 18px; height: 18px; flex: none; }

/* ─── Carta page header ───────────────────────────────────────────── */
.carta-head {
  background:
    radial-gradient(ellipse 70% 70% at 50% 0%, rgba(255,106,26,0.26), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, var(--smoke) 100%);
  color: var(--cream); text-align: center;
  padding: clamp(40px, 6vw, 64px) 20px clamp(34px, 5vw, 52px);
}
.carta-head-mark { border-radius: 20px; margin-bottom: 18px; box-shadow: 0 12px 34px rgba(0,0,0,0.45); }
.carta-head-title {
  font-family: 'Fraunces', Georgia, serif; font-weight: 800;
  font-size: clamp(2.1rem, 5.4vw, 3.4rem);
  letter-spacing: -0.02em; margin: 0 0 10px;
}
.carta-head-sub { margin: 0; font-size: 1rem; color: rgba(253,246,234,0.82); }
.carta-head-sub strong { color: var(--gold); }
.carta-body { max-width: 1080px; margin: 0 auto; padding-bottom: 20px; }
.carta-back { text-align: center; margin: 48px 0 0; padding: 0 20px 56px; }
.page-carta .menu-section:first-of-type { border-top: 0; }

/* ─── Footer ──────────────────────────────────────────────────────── */
.site-foot {
  background: var(--night); color: rgba(253,246,234,0.72);
  padding: 46px 24px 30px; text-align: center;
  margin-top: 40px;
}
.foot-mark { width: 220px; height: auto; margin-bottom: 16px; }
.foot-tagline {
  font-family: 'Fraunces', Georgia, serif; font-weight: 700;
  font-size: 1.08rem; color: var(--cream); margin: 0 0 18px; letter-spacing: 0.02em;
}
.foot-links {
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center;
  list-style: none; margin: 0 0 20px; padding: 0;
}
.foot-links a { color: rgba(253,246,234,0.8); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.foot-links a:hover { color: var(--ember); }
.foot-legal { margin: 0; font-size: 0.78rem; opacity: 0.66; letter-spacing: 0.03em; }
.foot-legal a { color: var(--gold); }

/* ─── Focus-visible (keyboard a11y) ───────────────────────────────── */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(255,106,26,0.22);
}
.menu-nav a:focus-visible, .site-nav-links a:focus-visible { background: var(--terracotta); color: var(--cream); }
.carta-head :focus-visible, .hero :focus-visible, .site-foot :focus-visible { outline-color: var(--gold); }


/* ═══ MENU (verbatim from v2 — 110 items, unchanged) ═══════════════ */

/* ─── Sticky in-page menu nav ────────────────────────────────────── */ .menu-nav {
  position: sticky; top: 0; z-index: 50; /* iOS: contain the horizontal drag so the page never pans sideways from a pill swipe */ overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; background: rgba(253,246,234,0.92); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--cream-2); padding: 12px 16px; overflow-x: auto; white-space: nowrap; scrollbar-width: thin;
}

.menu-nav ul {
  display: inline-flex; gap: 8px; margin: 0; padding: 0; list-style: none; max-width: 1080px;
}

.menu-nav a {
  display: inline-block; padding: 12px 18px; /* 39px -> 47px, clears the 44px iOS/AND minimum */ border-radius: 999px; background: var(--cream-2); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.88rem; letter-spacing: 0.01em; transition: background 0.18s ease, color 0.18s ease;
}

.menu-nav a:hover, .menu-nav a:focus-visible {
  background: var(--terracotta-2); /* was --terracotta: cream text was 3.43:1, now 4.7:1 */ color: var(--cream); outline: none;
}

/* ─── Menu sections ──────────────────────────────────────────────── */ /* Without this, every nav pill scrolls the section's first heading UNDER the 64px sticky nav. Measured: #cervezas landed at y=52 with the nav covering 0-64. */ .menu-section, #fuertes, #nosotros, #contacto, #tiktok {
  scroll-margin-top: 78px;
}

.menu-section {
  padding-top: clamp(48px, 7vw, 72px); padding-bottom: clamp(48px, 7vw, 72px); border-top: 1px solid var(--cream-2);
}

.menu-section:first-of-type {
  border-top: 0;
}

.menu-section h3 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 8px; color: var(--terracotta-2); display: flex; align-items: baseline; gap: 12px;
}

.menu-section h3 .icon {
  font-size: 1.6rem;
}

.menu-section .note {
  font-size: 0.9rem; color: var(--muted); margin: 0 0 24px; font-style: italic;
}

.menu-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 34px;
}

.menu-item {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dotted rgba(58,44,34,0.18);
}

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

.menu-item .name {
  font-weight: 700; color: var(--ink); font-size: 1rem;
}

.menu-item .name em {
  color: var(--muted); font-weight: 500; font-style: normal; font-size: 0.88rem; margin-left: 6px;
}

.menu-item .price {
  font-family: 'Fraunces', Georgia, serif; font-weight: 700; color: var(--terracotta-2); font-variant-numeric: tabular-nums; white-space: nowrap;
}

.menu-item .price .cs {
  font-size: 0.78rem; color: var(--muted); margin-right: 2px;
}

/* Special price-badge row (for "from X" or single featured items) */ .menu-item.featured .price {
  background: var(--terracotta); color: var(--cream); padding: 2px 10px; border-radius: 999px; font-size: 0.95rem;
}

.menu-foot {
  margin-top: 18px; font-size: 0.85rem; color: var(--muted); line-height: 1.5;
}

/* ─── Focus-visible (keyboard a11y for sticky nav + CTAs) ───────── */ /* Two rings: dark ink on the light cream surfaces, ember on the dark cards. An ember ring on the cream nav was only 2.67:1 — effectively invisible. */ .menu-nav a:focus-visible, .hero .cta:focus-visible, .contact-card a:focus-visible {
  outline: 3px solid var(--focus-ring); outline-offset: 3px; box-shadow: 0 0 0 4px rgba(255,106,26,0.25);
}

.menu-nav a:focus-visible {
  background: var(--terracotta-2); color: var(--cream);
}

.tiktok-card, .hero .cta, .menu-nav a {
  transition: none !important;
}

/* ─── Menu sections ──────────────────────────────────────────────── */ /* Without this, every nav pill scrolls the section's first heading UNDER the 64px sticky nav. Measured: #cervezas landed at y=52 with the nav covering 0-64. */ .menu-section, #fuertes, #nosotros, #contacto, #tiktok {
  scroll-margin-top: 78px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .tiktok-card, .hero .cta, .menu-nav a { transition: none !important; }
  .hero .cta:hover, .tiktok-card:hover { transform: none !important; }
}

/* ═══ v4 (2026-10-02) — El Rooftop section + single-page menu ══════════ */

/* ─── Section kicker (small label above each title) ───────────────── */
.section-kicker {
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--terracotta-2);
  margin: 0 0 10px;
}

/* ─── El Rooftop ──────────────────────────────────────────────────── */
.section-rooftop {
  background:
    radial-gradient(ellipse 60% 50% at 78% 12%, rgba(255,106,26,0.10), transparent 62%),
    var(--cream);
}
.rooftop-grid {
  display: grid; grid-template-columns: 1.65fr 1fr; gap: clamp(28px, 4vw, 60px);
  align-items: start;
}
@media (max-width: 800px) { .rooftop-grid { grid-template-columns: 1fr; } }
.rooftop-lead {
  font-family: 'Fraunces', Georgia, serif; font-weight: 600;
  font-size: clamp(1.15rem, 2.1vw, 1.42rem); line-height: 1.45;
  color: var(--terracotta-2); margin: 0 0 20px;
}
.rooftop-copy p { font-size: 1.04rem; line-height: 1.74; margin: 0 0 16px; }
.rooftop-copy strong { color: var(--terracotta-2); }

.rooftop-facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; margin: 28px 0 0; padding: 0;
  background: var(--cream-2);
  border: 1px solid var(--cream-2); border-radius: 14px; overflow: hidden;
}
/* Historia spans the full row so the grid never leaves an empty 2/3 hole */
.rooftop-fact-wide { grid-column: 1 / -1; }
.rooftop-fact { background: var(--paper); padding: 16px 18px; }
.rooftop-fact-label {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--terracotta-2); margin: 0 0 5px;
}
.rooftop-fact-value {
  margin: 0; font-family: 'Fraunces', Georgia, serif; font-weight: 700;
  font-size: 1.02rem; line-height: 1.35; color: var(--ink);
}

/* ─── La carta: one section, four families ────────────────────────── */
.section-menu { background: var(--paper); }
.menu-hint {
  display: block; margin-top: 4px;
  font-size: 0.86rem; color: var(--muted); font-style: italic;
}
.menu-family { margin: 0 0 clamp(34px, 5vw, 52px); }
.menu-family:last-child { margin-bottom: 0; }
.menu-family-title {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Fraunces', Georgia, serif; font-weight: 800;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  color: var(--terracotta-2); margin: 0 0 6px;
  padding-bottom: 12px; border-bottom: 2px solid var(--cream-2);
}
.menu-family-icon { font-size: 1.4rem; line-height: 1; }

/* Collapsible group */
.menu-group {
  border-bottom: 1px solid var(--cream-2);
  padding: 0 0 4px;
}
.menu-group-head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 15px 4px; cursor: pointer; list-style: none;
  transition: background 0.16s ease, color 0.16s ease;
}
.menu-group-head::-webkit-details-marker { display: none; }
.menu-group-head:hover { background: var(--cream-2); }
.menu-group-label {
  flex: 1 1 auto; min-width: 0;
  font-family: 'Fraunces', Georgia, serif; font-weight: 700;
  font-size: 1.12rem; letter-spacing: -0.005em; color: var(--ink);
}
.menu-h-label {
  font-family: 'Nunito', sans-serif; font-weight: 600; font-style: italic;
  font-size: 0.86rem; color: var(--muted); margin-left: 8px;
}
.menu-group-count {
  flex: 0 0 auto;
  font-family: 'Fraunces', Georgia, serif; font-weight: 700;
  font-size: 0.8rem; color: var(--terracotta-2);
  background: var(--cream); border: 1px solid var(--cream-2);
  border-radius: 999px; padding: 3px 11px; min-width: 40px; text-align: center;
}
/* the disclosure chevron */
.menu-group-head::after {
  content: ""; flex: 0 0 9px;
  width: 9px; height: 9px; margin-left: 4px;
  border-right: 2px solid var(--terracotta-2);
  border-bottom: 2px solid var(--terracotta-2);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}
.menu-group[open] > .menu-group-head::after { transform: rotate(225deg) translateY(-2px); }
.menu-group[open] > .menu-group-head { background: var(--cream-2); }
.menu-group[open] .menu-group-label { color: var(--terracotta-2); }

.menu-group-note {
  margin: 0 0 14px; padding: 12px 16px;
  background: var(--cream); border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  font-size: 0.88rem; line-height: 1.55; color: var(--muted); font-style: italic;
}
.menu-group .menu-grid { padding: 4px 4px 18px; }

.split-copy { max-width: 720px; }
.split-copy p { font-size: 1.04rem; line-height: 1.74; margin: 0 0 16px; color: var(--ink); }
.split-copy strong { color: var(--terracotta-2); }

/* ─── Rooftop photo ──────────────────────────────────────────────── */
.rooftop-photo {
  margin: 0 0 20px;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 14px 34px rgba(58,44,34,0.2);
  background: var(--surface-mid);
}
.rooftop-photo img { display: block; width: 100%; height: auto; }
.rooftop-photo figcaption {
  font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cream); background: var(--night);
  padding: 9px 14px; text-align: center; font-weight: 700;
}

/* ─── v4 compaction: menu groups tighter ─────────────────────────── */
.menu-family { margin: 0 0 clamp(24px, 3.4vw, 36px); }
.menu-family-title {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem); margin-bottom: 4px; padding-bottom: 9px;
}
.menu-group-head { padding: 11px 4px; }
.menu-group-label { font-size: 1.02rem; }
.menu-group .menu-grid { padding: 4px 4px 12px; }
.menu-group-note { margin: 0 0 10px; padding: 10px 14px; font-size: 0.84rem; }
.rooftop-facts { margin-top: 20px; }
.rooftop-fact { padding: 13px 15px; }
.info-grid { margin-bottom: 24px; }
.site-foot { padding: 34px 24px 24px; margin-top: 28px; }

/* ─── v5 (2026-10-03) — real logo (vector .ai → SVG) ─────────────── */
@media (max-width: 560px) {
  .site-nav-logo { width: 132px; }
  .hero-mark { width: min(80vw, 320px); }
  .foot-mark { width: 180px; }
}

/* ═══ v6 (2026-10-03) — responsive pass ════════════════════════════ */

/* ── mobile nav ─────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .site-nav {
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 8px 14px 10px;
  }
  .site-nav-brand { justify-content: center; }
  .site-nav-logo { width: min(150px, 46vw); margin-inline: auto; }
  .site-nav-links {
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .site-nav-links::-webkit-scrollbar { display: none; }
  .site-nav-links a { padding: 8px 14px; font-size: 0.86rem; }
}

/* 320–400px: 5 links can't fit, so the row scrolls — but the PAGE must not */
@media (max-width: 430px) {
  .site-nav { padding: 6px 10px 8px; }
  .site-nav-links { max-width: 100%; }
  .site-nav-links a { padding: 7px 11px; font-size: 0.8rem; }
  .site-nav-links li { flex: 0 0 auto; }
  /* contain the drag so a pill swipe never pans the document sideways */
  .site-nav-links { touch-action: pan-x; }
}

/* ── hero ───────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .hero { min-height: auto; padding: 40px 18px 44px; }
  .hero-mark { width: min(78vw, 290px); margin-bottom: 20px; }
  .hero-eyebrow { font-size: 0.68rem; letter-spacing: 0.2em; }
  .hero-title { font-size: clamp(1.95rem, 9.5vw, 2.6rem); }
  .hero-sub { font-size: 0.98rem; margin-bottom: 24px; }
  .hero-ctas { gap: 10px; }
  .btn-primary, .btn-ghost, .btn-dark { padding: 12px 22px; font-size: 0.86rem; }
  .hero-cubetazo { padding: 9px 18px; }
  .hero-cubetazo-label { font-size: 0.86rem; }
  .hero-cubetazo-note { font-size: 0.66rem; }
}

/* ── section rhythm ─────────────────────────────────────────────── */
@media (max-width: 720px) {
  .section { padding: 40px 18px; }
  .section-title { font-size: clamp(1.55rem, 7.2vw, 2rem); }
  .section-lead { font-size: 0.98rem; margin-bottom: 22px; }
  .section-cta-row { margin-top: 26px; }
}

/* ── El Rooftop ─────────────────────────────────────────────────── */
@media (max-width: 800px) {
  .rooftop-grid { grid-template-columns: 1fr; gap: 26px; }
  .rooftop-lead { font-size: 1.08rem; }
  .rooftop-facts { grid-template-columns: 1fr 1fr; }
  .rooftop-fact { padding: 12px 13px; }
  .rooftop-fact-wide { grid-column: 1 / -1; }
  .rooftop-fact-value { font-size: 0.92rem; }
}

/* ── info cards + socials ───────────────────────────────────────── */
@media (max-width: 720px) {
  .info-grid { grid-template-columns: 1fr; gap: 12px; }
  .socials { justify-content: center; }
  .social-pill { padding: 10px 16px; font-size: 0.84rem; }
  .socials svg { width: 16px; height: 16px; }
}

/* ── menu: no horizontal scroll traps, tap targets stay >=44px ──── */
@media (max-width: 720px) {
  .menu-family-title { font-size: 1.2rem; padding-bottom: 8px; }
  .menu-group-head { padding: 14px 2px; min-height: 48px; }
  .menu-group-label { font-size: 1.04rem; }
  .menu-h-label { display: block; margin: 3px 0 0; font-size: 0.8rem; }
  .menu-group-count { min-width: 36px; padding: 3px 9px; }
  .menu-group .menu-grid { grid-template-columns: 1fr; padding: 2px 2px 14px; }
  .menu-item { padding: 11px 0; }
  .menu-item .price { font-size: 1.05rem; }
  .menu-item .name em { display: block; margin: 3px 0 0; font-size: 0.82rem; }
  .menu-group-note { padding: 10px 12px; }
}

/* ── tiktok ─────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .tiktok-grid { gap: 12px; max-width: 340px; }
  .tiktok-play { width: 42px; height: 42px; }
  .tiktok-play::before { border-width: 8px 0 8px 13px; margin: 13px 0 0 15px; }
  .tiktok-label { font-size: 0.82rem; }
}

/* ── footer ─────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .site-foot { padding: 30px 18px 22px; margin-top: 22px; }
  .foot-mark { width: min(62vw, 200px); }
  .foot-tagline { font-size: 0.92rem; margin-bottom: 14px; }
  .foot-links { gap: 6px 16px; }
  .foot-links a { font-size: 0.86rem; }
}

/* ── very small phones ──────────────────────────────────────────── */
@media (max-width: 380px) {
  .site-nav-logo { width: 118px; }
  .hero-mark { width: 74vw; }
  .hero-title { font-size: 1.8rem; }
  .rooftop-facts { grid-template-columns: 1fr; }
  .tiktok-grid { max-width: 260px; }
}

/* ── respect reduced motion + landscape ─────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  * { transition-duration: 0.01ms !important; }
}
@media (orientation: landscape) and (max-height: 520px) {
  .hero { min-height: auto; padding: 28px 18px 32px; }
  .hero-mark { width: min(30vw, 180px); }
}

/* ── tiktok "+" placeholder cards ───────────────────────────────── */
.tiktok-more {
  position: relative; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(253,246,234,0.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 300; line-height: 1;
  color: rgba(253,246,234,0.85);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.tiktok-card:hover .tiktok-more { border-color: var(--ember); transform: scale(1.08); }
.tiktok-card:nth-child(n+3) {
  background: linear-gradient(160deg, var(--surface-mid) 0%, var(--smoke) 100%);
}
.tiktok-card:nth-child(n+3)::after {
  background: linear-gradient(180deg, rgba(26,15,8,0.10) 0%, rgba(26,15,8,0.55) 100%);
}
.tiktok-card:nth-child(n+3) .tiktok-label { font-size: 0.8rem; }

/* ── short laptop screens: hero must not push the CTA below the fold ── */
@media (min-width: 721px) and (max-height: 820px) {
  .hero { min-height: 0; padding: 32px 24px 36px; }
  .hero-mark { width: min(24vw, 250px); margin-bottom: 16px; }
  .hero-title { font-size: clamp(1.9rem, 4.4vw, 3rem); margin-bottom: 12px; }
  .hero-sub { margin-bottom: 20px; font-size: 1rem; }
  .hero-cubetazo { margin-top: 18px; padding: 8px 18px; }
  .hero-cubetazo-label { font-size: 0.9rem; }
}
@media (min-width: 721px) and (max-height: 680px) {
  .hero-mark { width: min(19vw, 190px); margin-bottom: 12px; }
  .hero-eyebrow { margin-bottom: 10px; }
  .hero-title { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
  .hero-sub { margin-bottom: 16px; }
  .hero-cubetazo { margin-top: 12px; }
}

/* ── slimmer nav on desktop ── */
@media (min-width: 721px) {
  .site-nav { min-height: 56px; padding-block: 6px; }
  .site-nav-logo { width: 118px; }
}

/* ── the cubetazo badge should not out-shout the CTAs ── */
.hero-cubetazo { box-shadow: 0 6px 18px rgba(184,78,43,0.3); opacity: 0.94; }

/* ─── El Rooftop gallery ────────────────────────────────────────── */
.rooftop-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin: 0 0 22px;
}
.rooftop-gallery a { display: block; border-radius: 12px; overflow: hidden; background: var(--surface-mid); }
.rooftop-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.rooftop-gallery a:hover img { transform: scale(1.05); }
/* lead tile spans 2 cols so the set reads as a strip, not a grid of squares */
.rooftop-gallery a:first-child { grid-column: span 2; grid-row: span 2; }
.rooftop-gallery a:first-child img { aspect-ratio: 16 / 10; }
.rooftop-gallery a:not(:first-child) img { aspect-ratio: 1 / 1; }
@media (max-width: 720px) {
  .rooftop-gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .rooftop-gallery a:first-child { grid-column: span 2; grid-row: auto; }
  .rooftop-gallery a:first-child img { aspect-ratio: 16 / 9; }
}
/* thin edge so photos read on the cream page */
.rooftop-photo, .rooftop-gallery a { box-shadow: 0 8px 22px rgba(58,44,34,0.16); }

/* the food strip is 2 tiles, not 3 — don't let the first-child rule make it huge */
.food-strip { grid-template-columns: 1fr 1fr; margin-top: 22px; }
.food-strip a:first-child { grid-column: auto; grid-row: auto; }
.food-strip a img { aspect-ratio: 4 / 3 !important; object-fit: cover; }
@media (max-width: 720px) { .food-strip { grid-template-columns: 1fr 1fr; } }

html, body { max-width: 100%; overflow-x: hidden; }
img, video, svg { max-width: 100%; }

/* ═══ v7 (2026-10-03) — El Rooftop: gallery full-width, columns balanced ═══ */

/* the aside now only holds the quote + partner badge, so let the copy column breathe */
.rooftop-grid { align-items: start; }
.rooftop-aside { position: sticky; top: calc(var(--nav-h) + 20px); }
@media (max-width: 800px) { .rooftop-aside { position: static; } }

/* wide gallery: 4 across on desktop, lead tile still dominant */
.rooftop-gallery-wide {
  grid-template-columns: repeat(4, 1fr);
  gap: 10px; margin: 28px 0 14px;
}
.rooftop-gallery-wide a:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 900px) {
  .rooftop-gallery-wide { grid-template-columns: repeat(2, 1fr); }
  .rooftop-gallery-wide a:first-child { grid-column: span 2; grid-row: auto; }
  .rooftop-gallery-wide a:first-child img { aspect-ratio: 16 / 9; }
}
@media (max-width: 480px) { .rooftop-gallery-wide { gap: 8px; } }

.rooftop-photo-wide { margin: 0; }
.rooftop-photo-wide img { max-height: 420px; object-fit: cover; }
.rooftop-photo-wide figcaption {
  font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cream); background: var(--night);
  padding: 10px 16px; text-align: center; font-weight: 700;
}
@media (max-width: 720px) { .rooftop-photo-wide img { max-height: 280px; } }

/* pull quote + badge get more presence now that the photos moved out */
.rooftop-aside .pull-quote { font-size: 1.3rem; }

/* ─── v7b: the lead tile spans both rows, the dusk shot spans the two narrow ─── */
@media (min-width: 901px) {
  .rooftop-gallery-wide {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .rooftop-gallery-wide a:first-child { grid-column: 1; grid-row: 1 / 3; }
  .rooftop-gallery-wide a:nth-child(2) { grid-column: 2; grid-row: 1; }
  .rooftop-gallery-wide a:nth-child(3) { grid-column: 3; grid-row: 1; }
  .rooftop-gallery-wide a:nth-child(4) { grid-column: 2 / 4; grid-row: 2; }
}

/* ═══ v8 BUGFIX (2026-10-03) — gallery was 3871px tall ═══════════════
   `height: 100%` on grid items resolves against the grid ROW, and the
   rows were auto-sized from those same items — a circular sizing loop
   that browsers resolve by growing. That made .rooftop-gallery-wide
   3871px tall and opened a ~5000px hole under El Rooftop.
   Fix: size the rows explicitly, never with a percentage. */
.rooftop-gallery-wide {
  grid-template-rows: repeat(2, minmax(0, 1fr));
  height: clamp(360px, 46vw, 560px);   /* the gallery has a real height now */
}
.rooftop-gallery-wide a { height: 100%; min-height: 0; }
.rooftop-gallery-wide a img {
  height: 100%; width: 100%;
  aspect-ratio: auto;      /* rows decide the shape, not the image */
  object-fit: cover;
}
@media (max-width: 900px) {
  .rooftop-gallery-wide { grid-template-rows: none; height: auto; }
  .rooftop-gallery-wide a img { aspect-ratio: 4 / 3; height: auto; }
  .rooftop-gallery-wide a:first-child img { aspect-ratio: 16 / 9; }
}

/* ─── v8b: the food strip was left-aligned at 720px inside a 1080 section,
   reading as a missing third column. Centre it and let it breathe. ─── */
.food-strip {
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 780px;
  margin: 24px auto 0;
  gap: 12px;
}
.food-strip a img { aspect-ratio: 4 / 3 !important; object-fit: cover; }
@media (max-width: 720px) {
  .food-strip { max-width: 460px; gap: 10px; }
}

/* ═══ v9 (2026-10-03) — the menu was rendering as ONE column ═════════
   A duplicate `.menu-grid { grid-template-columns: 1fr }` (leftover
   from the v3 restructure) overrode the 2-col rule, so all 110 items
   stacked in a single 1,008px column and La carta ran 7,655px tall.
   The dup is removed. Below: the item grid is now data-driven so a
   25-item drink list uses the width as well as a 3-item wing list. */

/* ── long lists get 3 columns, short ones stay 2 ── */
.menu-grid[data-cols="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 28px; }
@media (max-width: 1080px) { .menu-grid[data-cols="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .menu-grid { grid-template-columns: 1fr !important; gap: 0; }
                            .menu-group .menu-grid { padding: 2px 2px 12px; } }

/* ── the price must never get squeezed or wrap ── */
.menu-item .price { white-space: nowrap; flex: none; }
.menu-item .name  { min-width: 0; }

/* ── tight up the row rhythm; 110 items is a lot of vertical ── */
.menu-item { padding: 7px 0; }

/* ── sticky jump nav so nobody scrolls 7,000px to find the beer ── */
.carta-jump {
  position: sticky; top: 0; z-index: 30;
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  padding: 10px 0 12px; margin: 0 0 6px;
  background: linear-gradient(180deg, var(--cream) 74%, rgba(0,0,0,0));
  -ms-overflow-style: none;
}
.carta-jump::-webkit-scrollbar { display: none; }
.carta-jump a {
  flex: 0 0 auto; white-space: nowrap;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.01em;
  color: var(--ink-2); text-decoration: none;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--cream-2); background: var(--cream-1);
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.carta-jump a:hover, .carta-jump a:focus-visible {
  background: var(--ember); border-color: var(--ember); color: var(--cream);
}

/* ── the two drink lists get a subtle tint so they read as a set ── */
.menu-group--drink .menu-item { border-bottom-color: rgba(58,44,34,0.10); }

/* the site nav is fixed, so jump targets need scroll-margin to clear it */
.menu-family-title, .menu-group[id] { scroll-margin-top: 84px; }
@media (max-width: 720px) { .menu-family-title, .menu-group[id] { scroll-margin-top: 108px; } }

/* ═══ v10 (2026-10-03) — language switcher ══════════════════════════ */
.site-nav-lang a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; padding: 7px 11px;
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em;
  color: var(--cream); background: var(--night);
  border: 1px solid var(--night);
  border-radius: 8px;
  transition: background 0.18s ease, color 0.18s ease;
}
.site-nav-lang a:hover, .site-nav-lang a:focus-visible {
  background: var(--ember); border-color: var(--ember); color: var(--cream);
}
/* on mobile the pill row scrolls, so keep it from being mistaken for a nav item */
@media (max-width: 430px) {
  .site-nav-lang a { min-width: 38px; padding: 6px 9px; font-size: 0.72rem; }
}
