/* Layout concept: a hand-painted Mexican storefront. Tall sign-painter headlines,
   papel picado along the top of each major band, charcoal rooms and one warm cream room. */
:root {
  color-scheme: dark;
  --ink: #141619;      /* deep charcoal */
  --ink-2: #202328;    /* dark gray */
  --ink-3: #2c3037;
  --line: #3a3f47;
  --red: #ED1B2F;
  --red-deep: #c4111f; /* white text on this passes AA */
  --green: #149447;
  --green-lt: #4cc97c;
  --cream: #F6EFE2;
  --cream-2: #ECE2CF;
  --white: #ffffff;
  --mute: #B9BEC6;
  --mute-ink: #5a5448;
  --display: 'Big Shoulders Display', Impact, 'Arial Narrow', sans-serif;
  --body: 'Figtree', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --script: 'Yellowtail', 'Brush Script MT', cursive;
  --head-h: 76px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--white); font: 400 1.0625rem/1.6 var(--body); overflow-x: clip; }
body.nav-open { overflow: hidden; }
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; display: block; }
h1, h2, h3, p, dl, dd, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #ffd24a; outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--white); color: var(--ink); border: 0; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px; border-radius: 999px; border: 2px solid transparent; font: 700 .95rem/1.1 var(--body); text-decoration: none; text-align: center; transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-red { background: var(--red-deep); color: var(--white); box-shadow: 0 8px 22px -10px rgba(237,27,47,.8); }
.btn-red:hover { background: var(--red); color: #fff; box-shadow: 0 14px 28px -10px rgba(237,27,47,.9); background: #d91527; }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-3); }
.btn-line { border-color: var(--line); color: var(--white); background: transparent; }
.btn-line:hover { border-color: var(--white); }
.btn-lg { min-height: 56px; padding: 14px 30px; font-size: 1.0625rem; }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.txt-link, .txt-btn { color: inherit; font-weight: 600; text-underline-offset: 4px; }
.txt-btn { background: none; border: 0; padding: 8px 0; text-decoration: underline; min-height: 40px; }
.tel { font-weight: 700; text-decoration: underline; text-decoration-color: var(--green-lt); text-underline-offset: 4px; text-decoration-thickness: 2px; display: inline-block; padding-block: 2px; }

/* ---------- papel picado ---------- */
.picado { position: absolute; inset: 0 0 auto 0; display: flex; justify-content: center; gap: 3px; overflow: hidden; height: 58px; pointer-events: none; z-index: 2; opacity: .92; }
.picado::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(255,255,255,.35); z-index: 1; }
.picado-flip { opacity: .75; }
.flag { flex: 0 0 62px; height: 57px; transform-origin: 50% 0; animation: sway 6s ease-in-out infinite alternate; filter: drop-shadow(0 3px 4px rgba(0,0,0,.25)); }
@keyframes sway { from { transform: rotateX(0deg) skewX(-1.4deg); } to { transform: rotateX(14deg) skewX(1.4deg); } }

/* ---------- header ---------- */
.site-head { position: fixed; z-index: 40; inset: env(safe-area-inset-top, 0px) 0 auto 0; padding: 8px 0; background: var(--ink); box-shadow: 0 1px 0 var(--ink-3); transition: box-shadow .3s; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 50; background: var(--ink); }
.site-head.solid, body.nav-open .site-head { box-shadow: 0 10px 28px -14px rgba(0,0,0,.9); }
.head-in { display: flex; align-items: center; gap: 18px; width: 100%; max-width: 1400px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.logo-plate { display: block; flex: none; background: #fff; border-radius: 12px; padding: 5px 9px; box-shadow: 0 6px 18px -8px rgba(0,0,0,.7); transition: transform .25s var(--ease); }
.logo-plate:hover { transform: translateY(-1px); }
.logo-plate img { height: 46px; width: auto; }
.logo-lg { display: inline-block; border-radius: 16px; padding: 12px 18px; }
.logo-lg img { height: 76px; }
.nav-desk { display: none; gap: 2px; margin-inline: auto; }
.nav-desk a { position: relative; padding: 10px 12px; font: 800 1.06rem/1 var(--display); letter-spacing: .07em; text-transform: uppercase; text-decoration: none; }
.nav-desk a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 3px; border-radius: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease); }
.nav-desk a:hover::after, .nav-desk a[aria-current]::after { transform: scaleX(1); }
.head-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang { display: inline-flex; border-radius: 999px; background: rgba(20,22,25,.72); border: 1px solid var(--line); padding: 3px; }
.lang button { min-width: 38px; min-height: 36px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; font-size: .82rem; color: var(--mute); }
.lang button[aria-pressed="true"] { background: var(--cream); color: var(--ink); }
.head-order { display: none; }
.burger { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: rgba(20,22,25,.72); display: grid; place-content: center; gap: 5px; padding: 0; }
.burger span { display: block; width: 21px; height: 2.5px; border-radius: 2px; background: #fff; transition: transform .28s var(--ease), opacity .2s; }
.burger.on span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.on span:nth-child(2) { opacity: 0; }
.burger.on span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav-mob { position: fixed; inset: calc(env(safe-area-inset-top, 0px) + 62px) 0 0 0; background: var(--ink); padding: 18px max(20px, env(safe-area-inset-left, 0px)) 110px; display: flex; flex-direction: column; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .22s, transform .28s var(--ease), visibility .28s; overflow-y: auto; }
.nav-mob.on { visibility: visible; opacity: 1; transform: none; }
.nav-mob a { font: 800 2.5rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; padding: 12px 0; border-bottom: 1px solid var(--ink-3); text-decoration: none; opacity: 0; transform: translateX(-10px); transition: opacity .3s, transform .35s var(--ease); }
.nav-mob.on a { opacity: 1; transform: none; }
.nav-mob a[aria-current] { color: #ff5a68; }
@media (min-width: 640px) { .head-order { display: inline-flex; } }
@media (min-width: 1100px) { .nav-desk { display: flex; } .burger, .nav-mob { display: none; } }

/* ---------- page shell ---------- */
.page-enter { animation: pageIn .45s var(--ease); }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.reveal.in { animation: rise .7s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.sec { padding-block: clamp(64px, 9vw, 120px); }
.sec-tight { padding-block: clamp(28px, 4vw, 48px) clamp(56px, 8vw, 96px); }
.sec-locs { background: var(--ink-2); }
.sec-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 48px); }
.eyebrow { font: 400 1.65rem/1.1 var(--script); color: var(--green-lt); margin-bottom: 8px; }
.sec-title { font: 900 clamp(2.9rem, 7.5vw, 5.6rem)/.94 var(--display); text-transform: uppercase; letter-spacing: .005em; text-wrap: balance; }
.sec-lead { margin-top: 14px; color: var(--mute); max-width: 56ch; font-size: 1.125rem; }
.page-head { position: relative; background: var(--ink-2); padding-block: calc(var(--head-h) + 78px) 8px; }
.page-head .sec-head { margin-bottom: 26px; }
.page-pad { padding-top: calc(var(--head-h) + 8px); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(92svh, 860px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: var(--ink); }
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bg img { width: 100%; height: 112%; object-fit: cover; transform: scale(1.08); will-change: transform; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,22,25,.72) 0%, rgba(20,22,25,.38) 32%, rgba(20,22,25,.72) 66%, rgba(20,22,25,.97) 100%), linear-gradient(90deg, rgba(20,22,25,.72) 0%, rgba(20,22,25,.05) 75%); }
.hero .picado, .page-head .picado, .loc-hero .picado { top: calc(env(safe-area-inset-top, 0px) + 62px); }
.hero-in { padding-block: 150px clamp(36px, 6vw, 72px); }
.hero-kick { font: 400 clamp(1.4rem, 3vw, 2rem)/1.15 var(--script); color: #fff; margin-bottom: 10px; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.hero-title { font: 900 clamp(4rem, 13.4vw, 11.5rem)/.86 var(--display); text-transform: uppercase; max-width: 11ch; text-wrap: balance; text-shadow: 0 4px 30px rgba(0,0,0,.5); }
@keyframes titleIn { from { opacity: 0; transform: translateY(26px) skewY(1deg); } to { opacity: 1; transform: none; } }
.hero-sub { margin-block: 18px 26px; font-size: clamp(1.1rem, 2.2vw, 1.4rem); font-weight: 500; max-width: 40ch; }
.hero-hours { margin-top: 20px; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .98rem; color: #eceef1; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green-lt); box-shadow: 0 0 0 0 rgba(76,201,124,.6); animation: pulse 2.6s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 11px rgba(76,201,124,0); } 100% { box-shadow: 0 0 0 0 rgba(76,201,124,0); } }
.hero-tag { position: absolute; right: 12px; bottom: 12px; }

/* ---------- photos ---------- */
.loc-photo, .dish-photo, .about-photo, .loc-hero-photo { position: relative; overflow: hidden; }
.ph { position: absolute; inset: 0; overflow: hidden; background: var(--ink-3); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.ph-tag { position: absolute; left: 10px; bottom: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(20,22,25,.84); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .02em; }
.ph-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: var(--ink-3); color: var(--mute); font-size: .85rem; font-weight: 600; }

/* ---------- location cards ---------- */
.loc-grid { display: grid; gap: 22px; }
@media (min-width: 860px) { .loc-grid { grid-template-columns: repeat(3, 1fr); } }
.loc-card { display: flex; flex-direction: column; min-width: 0; background: var(--ink); border: 1px solid var(--ink-3); border-radius: 22px; overflow: hidden; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.loc-card:hover { transform: translateY(-6px); border-color: var(--red); box-shadow: 0 26px 50px -28px rgba(0,0,0,.9); }
.loc-card:hover .ph img { transform: scale(1.06); }
.loc-photo { display: block; aspect-ratio: 16 / 10; }
.loc-body { display: flex; flex-direction: column; gap: 16px; padding: 22px 22px 18px; flex: 1; }
.loc-name { font: 900 clamp(2.4rem, 4vw, 3.1rem)/.95 var(--display); text-transform: uppercase; }
.loc-name a { text-decoration: none; }
.loc-name a:hover { color: #ff5a68; }
.loc-facts { display: grid; gap: 10px; flex: 1; align-content: start; }
.loc-facts > div { display: grid; grid-template-columns: 76px 1fr; gap: 10px; }
.loc-facts dt { font-size: .78rem; font-weight: 700; color: var(--mute); text-transform: uppercase; letter-spacing: .07em; padding-top: 3px; }
.loc-facts dd { min-width: 0; }
.loc-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.loc-cta .btn { padding-inline: 10px; }
.loc-body > .txt-link { align-self: flex-start; padding-block: 8px; }

/* ---------- favorites (cream room) ---------- */
.sec-cream { background: var(--cream); color: var(--ink); position: relative; }
.sec-cream .eyebrow { color: #0e7436; }
.sec-cream .sec-lead { color: var(--mute-ink); }
.fav-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: clamp(28px, 4vw, 44px); }
.fav-head .sec-head { margin-bottom: 0; }
.fav-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.fav-grid > div { min-width: 0; display: flex; }
.sec-cream .dish { background: var(--white); border-color: var(--cream-2); color: var(--ink); }
.sec-cream .dish-desc { color: var(--mute-ink); }
.sec-cream .dish-cat { color: #0e7436; }
.sec-cream .price { color: var(--ink); }
.sec-cream .price-call { color: var(--ink); }

/* ---------- dish cards ---------- */
.dish { width: 100%; min-width: 0; display: flex; flex-direction: column; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 18px; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .25s; animation: dishIn .4s var(--ease) both; }
@keyframes dishIn { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
.dish:hover { transform: translateY(-5px); box-shadow: 0 20px 36px -22px rgba(0,0,0,.7); }
.dish:hover .ph img { transform: scale(1.07); }
.dish-photo { aspect-ratio: 4 / 3; flex: none; }
.dish-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 14px; flex: 1; }
.dish-cat { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-lt); }
.dish-name { font: 800 1.75rem/1 var(--display); text-transform: uppercase; letter-spacing: .01em; overflow-wrap: anywhere; }
.dish-desc { color: var(--mute); font-size: .95rem; line-height: 1.45; flex: 1; }
.dish-flag { font-size: .8rem; color: var(--mute); font-style: italic; }
.dish-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.price { font: 800 1.65rem/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.price-call { font-weight: 700; font-size: .9rem; text-underline-offset: 3px; padding-block: 10px; }
.dish-plain .dish-photo { aspect-ratio: 4 / 1.3; }

/* ---------- menu browser ---------- */
.loc-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.loc-tab { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 66px; padding: 10px 14px; border-radius: 16px; background: var(--ink-2); border: 2px solid var(--ink-3); cursor: pointer; transition: background-color .25s, border-color .25s, transform .25s var(--ease); min-width: 0; }
.loc-tab:hover { border-color: var(--mute); }
.loc-tab input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.loc-tab:has(input:focus-visible) { outline: 3px solid #ffd24a; outline-offset: 3px; }
.loc-tab.on { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.lt-city { font: 800 clamp(1.12rem, 3.3vw, 1.65rem)/1 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.lt-street { font-size: .8rem; color: var(--mute); display: none; }
.loc-tab.on .lt-street { color: var(--mute-ink); }
@media (min-width: 720px) { .lt-street { display: block; } }
.menu-tools { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 62px); z-index: 20; background: var(--ink); padding-block: 10px; display: grid; gap: 10px; margin-inline: -4px; padding-inline: 4px; border-bottom: 1px solid var(--ink-3); }
.search label { display: block; font-size: .8rem; font-weight: 700; color: var(--mute); margin-bottom: 4px; }
.search-in { position: relative; }
.search-in svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--mute); pointer-events: none; }
.search-in input { width: 100%; min-height: 48px; padding: 10px 14px 10px 42px; border-radius: 999px; border: 2px solid var(--line); background: var(--ink-2); color: #fff; font: 500 1rem var(--body); }
.search-in input::placeholder { color: #a3a9b2; }
.search-in input:focus-visible { outline: 3px solid #ffd24a; outline-offset: 1px; }
.chips-wrap { min-width: 0; overflow-x: auto; scrollbar-width: none; margin-inline: -4px; padding: 4px; }
.chips-wrap::-webkit-scrollbar { display: none; }
.chips { display: flex; gap: 7px; width: max-content; }
.chip { min-height: 42px; padding: 7px 15px; border-radius: 999px; background: var(--ink-2); border: 1px solid var(--line); color: #e6e8eb; font-weight: 600; font-size: .9rem; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: #fff; }
.chip[aria-pressed="true"] { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }
.menu-status { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; padding-block: 14px 4px; }
.count { font-weight: 700; }
.price-note { color: var(--mute); font-size: .875rem; max-width: 62ch; }
.no-res { padding: 40px 0; font-size: 1.1rem; color: var(--mute); }
.menu-group { margin-top: 30px; scroll-margin-top: 220px; }
.group-title { display: flex; align-items: baseline; gap: 10px; font: 900 clamp(2rem, 4.4vw, 3rem)/1 var(--display); text-transform: uppercase; margin-bottom: 16px; }
.group-title span { font: 600 .95rem var(--body); color: var(--mute); }
.dish-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 265px), 1fr)); }
.more-box { margin-top: 40px; padding: 22px; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.more-box > div { min-width: 0; flex: 1 1 280px; }
.more-title { font-weight: 700; }

/* ---------- about ---------- */
.about { padding-block: clamp(64px, 9vw, 120px); background: var(--ink); }
.about-grid { display: grid; gap: clamp(30px, 5vw, 70px); align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-copy { display: grid; gap: 16px; min-width: 0; }
.about-copy p:not(.eyebrow) { max-width: 58ch; color: #dfe2e6; }
.about-copy .eyebrow { margin-bottom: -8px; }
.owner-note { display: grid; gap: 4px; padding: 16px 18px; border: 1px dashed var(--line); border-radius: 14px; font-size: .95rem; color: var(--mute); max-width: 58ch; }
.owner-note strong { color: #fff; font: 800 1.15rem var(--display); letter-spacing: .05em; text-transform: uppercase; }
.about-side { min-width: 0; }
.about-photo { aspect-ratio: 5 / 4; border-radius: 22px; overflow: hidden; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.facts dt { font: 900 clamp(1.6rem, 3.2vw, 2.5rem)/1 var(--display); color: #fff; text-transform: uppercase; }
.facts dd { font-size: .85rem; color: var(--mute); line-height: 1.35; margin-top: 4px; }

/* ---------- gallery ---------- */
.sec-gal { background: var(--ink-2); }
.masonry { column-count: 2; column-gap: 12px; }
@media (min-width: 760px) { .masonry { column-count: 3; column-gap: 16px; } }
.m-item { position: relative; display: block; width: 100%; margin-bottom: 12px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--ink-3); break-inside: avoid; }
@media (min-width: 760px) { .m-item { margin-bottom: 16px; } }
.m-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.m-item:hover img { transform: scale(1.06); }
.m-cap { position: absolute; inset: auto 0 0 0; padding: 26px 12px 10px; text-align: left; font: 800 1.2rem/1 var(--display); text-transform: uppercase; letter-spacing: .03em; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.78)); }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12,13,15,.95); color: #fff; }
.lightbox[open] { display: grid; place-items: center; animation: fade .25s ease; }
.lightbox::backdrop { background: transparent; }
.lb-fig { display: grid; gap: 10px; justify-items: center; padding: 58px 16px 16px; max-width: 100%; animation: zoomIn .3s var(--ease); pointer-events: none; }
.lb-fig img { max-height: 76dvh; max-width: min(100%, 1200px); width: auto; height: auto; border-radius: 12px; object-fit: contain; }
.lb-fig figcaption { display: grid; text-align: center; gap: 2px; font-size: .85rem; color: var(--mute); }
.lb-fig strong { font: 800 1.5rem var(--display); color: #fff; text-transform: uppercase; }
@keyframes zoomIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lb-btn { position: fixed; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: var(--ink-2); font-size: 1.4rem; line-height: 1; display: grid; place-items: center; }
.lb-btn:hover { background: var(--ink-3); }
.lb-x { top: max(10px, env(safe-area-inset-top, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); }
.lb-prev { left: max(10px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); }
.lb-next { right: max(10px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }

/* ---------- band ---------- */
.band { background: var(--red-deep); padding-block: clamp(40px, 6vw, 64px); }
.band-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.band-in > div { min-width: 0; flex: 1 1 320px; }
.band-title { font: 900 clamp(2.8rem, 7vw, 5rem)/.95 var(--display); text-transform: uppercase; }
.band p { max-width: 50ch; margin-top: 6px; }

/* ---------- order dialog ---------- */
.order-dlg { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--line); border-radius: 24px; background: var(--ink-2); color: #fff; overflow: auto; }
.order-dlg[open] { animation: dlgIn .32s var(--ease); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.order-dlg::backdrop { background: rgba(10,11,13,.76); backdrop-filter: blur(3px); }
.dlg-in { position: relative; padding: 26px 22px 22px; }
.dlg-step { animation: stepIn .3s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.dlg-x { position: absolute; top: 12px; right: 12px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--ink); font-size: 1.5rem; line-height: 1; z-index: 1; }
.dlg-x:hover { background: var(--ink-3); }
.dlg-title { font: 900 clamp(2.1rem, 7vw, 2.9rem)/.98 var(--display); text-transform: uppercase; padding-right: 52px; text-wrap: balance; }
.dlg-lead { margin-top: 8px; color: var(--mute); }
.dlg-locs, .dlg-plats { display: grid; gap: 10px; margin-top: 18px; }
.dlg-loc { position: relative; display: grid; text-align: left; gap: 2px; padding: 14px 46px 14px 16px; border-radius: 16px; background: var(--ink); border: 2px solid var(--ink-3); transition: border-color .2s, transform .25s var(--ease); }
.dlg-loc:hover { border-color: var(--red); transform: translateX(3px); }
.dl-city { font: 800 1.7rem/1 var(--display); text-transform: uppercase; }
.dl-addr { font-size: .9rem; color: var(--mute); }
.dl-arrow { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; }
.plat { display: flex; align-items: center; justify-content: space-between; min-height: 62px; padding: 12px 20px; border-radius: 16px; background: var(--pf); color: var(--pf-ink); font-weight: 800; font-size: 1.2rem; text-decoration: none; transition: transform .25s var(--ease), filter .2s; }
.plat:hover { transform: translateY(-2px); filter: brightness(1.05); }
.dlg-call { margin-top: 16px; }
.dlg-fine { margin-top: 8px; font-size: .8rem; color: var(--mute); }

/* ---------- location page ---------- */
.loc-hero { position: relative; background: var(--ink-2); padding-block: calc(var(--head-h) + 78px) clamp(30px, 5vw, 56px); }
.loc-hero-in { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .loc-hero-in { grid-template-columns: 1.05fr 1fr; } }
.loc-hero-in > div { min-width: 0; }
.back { display: inline-block; margin-bottom: 14px; padding-block: 6px; }
.loc-h1 { font-size: clamp(3.6rem, 11vw, 8rem); margin-bottom: 20px; }
.loc-facts.big { margin-bottom: 22px; }
.loc-hero-photo { aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; }

/* ---------- contact ---------- */
.contact-list { display: grid; gap: 14px; }
.contact-row { display: grid; gap: 16px; padding: 22px; border-radius: 20px; background: var(--ink-2); border: 1px solid var(--ink-3); }
@media (min-width: 980px) { .contact-row { grid-template-columns: 1.1fr 1fr 1.2fr 1fr auto; align-items: center; } }
.contact-city { font: 900 clamp(2.2rem, 4vw, 3rem)/1 var(--display); text-transform: uppercase; }
.contact-city a { text-decoration: none; }
.contact-col { display: grid; justify-items: start; gap: 2px; min-width: 0; }
.lbl { font-size: .78rem; font-weight: 700; color: var(--mute); text-transform: uppercase; letter-spacing: .07em; }
.contact-tel { font-size: 1.2rem; }

/* ---------- credits ---------- */
.credit-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.credit-list li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; font-size: .9rem; align-items: start; }
.credit-list div { min-width: 0; overflow-wrap: anywhere; }
.credit-list img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; }
.not-found { padding-block: 180px 90px; display: grid; gap: 22px; justify-items: start; }

/* ---------- footer ---------- */
.foot { position: relative; background: #0d0e10; padding-top: 96px; padding-bottom: env(safe-area-inset-bottom, 0px); }
.foot-grid { display: grid; gap: 36px; padding-bottom: 36px; }
@media (min-width: 820px) { .foot-grid { grid-template-columns: 1.25fr 1.4fr .8fr; } }
.foot-grid > div { min-width: 0; }
.foot-brand { display: grid; gap: 14px; justify-items: start; color: var(--mute); }
.foot-brand img { max-width: 100%; }
.foot-hours { color: #e6e8eb; }
.foot-h { font: 800 1.15rem var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--green-lt); margin-bottom: 12px; }
.foot-h2 { margin-top: 22px; }
.foot-locs { display: grid; gap: 14px; }
.foot-locs li { display: grid; font-size: .95rem; color: var(--mute); justify-items: start; }
.foot-locs .tel { color: #fff; }
.foot-city { font: 800 1.45rem/1.15 var(--display); color: #fff; text-transform: uppercase; text-decoration: none; }
.foot-nav { display: grid; gap: 2px; }
.foot-nav a { display: inline-block; padding-block: 6px; color: #e6e8eb; text-underline-offset: 4px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 22px; padding-block: 18px 22px; border-top: 1px solid var(--ink-3); font-size: .85rem; color: var(--mute); }
.made { letter-spacing: .01em; }

/* ---------- sticky mobile order ---------- */
.sticky-order { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; padding: 10px max(14px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px)); background: rgba(20,22,25,.95); border-top: 1px solid var(--line); }
.sticky-order .btn { width: 100%; }
@media (max-width: 639px) { body { padding-bottom: 78px; } }
@media (min-width: 640px) { .sticky-order { display: none; } }

@media (max-width: 639px) {
  .search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .hero-shade { background: linear-gradient(180deg, rgba(20,22,25,.62) 0%, rgba(20,22,25,.58) 40%, rgba(20,22,25,.82) 70%, rgba(20,22,25,.98) 100%); }
  .hero-bg img { object-position: 66% 50%; }
}

@media (max-width: 480px) {
  .logo-plate img { height: 40px; }
  .logo-lg img { height: 62px; }
  .flag { flex-basis: 50px; height: 46px; }
  .picado { height: 47px; }
}

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

/* =====================================================================
   MOVING ENVIRONMENT: layered on top of the base styles
   ===================================================================== */
#env { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; }
:root { --mx: 0; --my: 0; --wind: 0; }

/* The rooms become translucent so the drifting background shows through. */
.sec-locs, .sec-gal { background: rgba(32,35,40,.55); }
.about { background: transparent; }
.page-head, .loc-hero { background: rgba(32,35,40,.55); }
.foot { background: rgba(13,14,16,.86); }
.loc-card { background: rgba(20,22,25,.86); }
.dish { background: rgba(32,35,40,.88); }
.more-box, .contact-row { background: rgba(32,35,40,.82); }

/* Papel picado catches the wind when you scroll. */
.picado { transform-origin: 50% 0; }
.flag { animation: flutter 3.4s ease-in-out infinite alternate; transform-origin: 50% 0; }
@keyframes flutter {
  from { transform: skewX(calc(-2.5deg + var(--wind) * 1deg)) scaleY(1); }
  to { transform: skewX(calc(2.5deg + var(--wind) * 1deg)) scaleY(.93); }
}

/* ---------- hero ---------- */
.hero-bg { inset: -4% 0 -14% 0; }
.hero-slides { position: absolute; inset: -3%; transform: translate3d(calc(var(--mx) * -26px), calc(var(--my) * -18px), 0); transition: transform .5s ease-out; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; overflow: hidden; }
.slide.on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: none; will-change: transform; animation: kenburns 16s ease-in-out infinite alternate; }
.slide:nth-child(even) img { animation-name: kenburns2; }
@keyframes kenburns { from { transform: scale(1.03) translate(-1%, 1%); } to { transform: scale(1.17) translate(2%, -2%); } }
@keyframes kenburns2 { from { transform: scale(1.17) translate(2%, 1%); } to { transform: scale(1.04) translate(-2%, -1%); } }
.hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-title { display: block; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-top: .12em; margin-top: -.12em; margin-right: .1em; }
.hero-title .w > span { display: inline-block; animation: wordUp .9s var(--ease) both; }
@keyframes wordUp { from { transform: translateY(105%) rotate(3deg); } to { transform: none; } }
.slide-dots { position: absolute; right: max(20px, env(safe-area-inset-right, 0px)); bottom: 52px; display: flex; gap: 6px; }
.slide-dots span { width: 26px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.35); transition: background-color .4s; }
.slide-dots span.on { background: #fff; }
.hero-tag { left: auto; }

/* ---------- moving text bands ---------- */
.marquee { overflow: hidden; background: var(--red-deep); padding-block: 12px; transform: rotate(-1.2deg) scale(1.03); position: relative; z-index: 3; box-shadow: 0 12px 30px -16px #000; }
.marquee.rev { background: var(--ink-2); transform: rotate(1deg) scale(1.03); border-block: 1px solid var(--line); }
.mq-track { display: flex; width: max-content; will-change: transform; }
.mq-set { display: flex; flex: none; }
.mq-item { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font: 900 clamp(1.9rem, 4.6vw, 3.6rem)/1.05 var(--display); text-transform: uppercase; white-space: nowrap; color: #fff; }
.marquee:not(.rev) .chili path:last-child { fill: #fff; }
.marquee.rev .mq-item { color: transparent; -webkit-text-stroke: 1.5px #e6e8eb; }

/* ---------- favorites: cream room with slowly drifting chiles ---------- */
.fav-room { overflow: hidden; }
.fav-room > .wrap { position: relative; }
/* ---------- cards tilt toward the pointer ---------- */
.loc-card, .dish { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(0); transition: transform .3s ease-out, border-color .25s, box-shadow .35s; will-change: auto; }
.loc-card:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); }
.dish:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-5px); }
.dish { animation: none; }

/* Photos in frames travel a little as the page scrolls. */
.about-photo img, .loc-hero-photo img, .loc-photo img { transform: scale(1.16); transition: none; }
.loc-card:hover .ph img { transform: scale(1.16); }

/* ---------- page change curtain ---------- */
.curtain { position: fixed; inset: 0; z-index: 35; pointer-events: none; display: grid; grid-template-columns: repeat(3, 1fr); }
.curtain span { background: var(--red-deep); transform-origin: top; animation: curtain .78s cubic-bezier(.7,0,.2,1) both; }
.curtain span:nth-child(2) { background: var(--ink); animation-delay: .06s; }
.curtain span:nth-child(3) { background: var(--green); animation-delay: .12s; }
@keyframes curtain { 0% { transform: scaleY(1); } 100% { transform: scaleY(0); } }

/* ---------- pause control (always reachable) ---------- */
.motion-btn { position: fixed; z-index: 31; right: max(14px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(20,22,25,.9); border: 1px solid var(--line); color: #fff; transition: transform .25s var(--ease), background-color .2s; }
.motion-btn:hover { transform: scale(1.08); background: var(--ink-3); }
@media (max-width: 639px) { .motion-btn { bottom: calc(90px + env(safe-area-inset-bottom, 0px)); } .slide-dots { bottom: 40px; } }

/* ---------- paused: everything rests ---------- */
html.still *, html.still *::before, html.still *::after { animation-play-state: paused !important; }
html.still .hero-title .w > span, html.still .curtain { animation: none !important; transform: none; }
html.still .curtain { display: none; }
html.still .hero-slides { transform: none; }
html.still .loc-card, html.still .dish { --rx: 0deg !important; --ry: 0deg !important; }
html.still .mq-track { transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .curtain { display: none; }
  .hero-title .w > span { animation: none; }
  .slide { transition: none; }
}

/* fine tuning */
html { overflow-x: clip; }
.hero-tag { left: max(20px, env(safe-area-inset-left, 0px)); right: auto; bottom: 12px; }
.slide-dots { right: max(76px, calc(env(safe-area-inset-right, 0px) + 76px)); bottom: 32px; }
@media (max-width: 639px) { .slide-dots { right: max(20px, env(safe-area-inset-right, 0px)); bottom: 18px; } }
/* ---------- logo intro ---------- */
#splash { display: none; position: fixed; inset: 0; z-index: 1000; overflow: hidden; }
html.splash { overflow: hidden; }
html.splash #splash { display: block; }
.sp-panel { position: absolute; top: 0; bottom: 0; width: 50.5%; background: #0F1012; } /* matches the dark of the logo banner */
.sp-left { left: 0; }
.sp-right { right: 0; }
.sp-logo { position: absolute; left: 50%; top: 50%; width: min(92vw, max(760px, 50vw)); transform: translate(-50%, -50%); }
.sp-logo img { display: block; width: 100%; height: auto; opacity: 0; transform-origin: 21.45% 49%; }
html.splash-run .sp-logo img { animation: spReveal 1s cubic-bezier(.3,.7,.2,1) both; }
@keyframes spReveal {
  0%   { opacity: 0; clip-path: inset(13% 66.5% 15.1% 9.4% round 999px); transform: translateX(28.55%) scale(.55); }
  20%  { opacity: 1; clip-path: inset(13% 66.5% 15.1% 9.4% round 999px); transform: translateX(28.55%) scale(1.14); }
  36%  { opacity: 1; clip-path: inset(13% 66.5% 15.1% 9.4% round 999px); transform: translateX(28.55%) scale(1); }
  72%  { opacity: 1; clip-path: inset(0 0 0 0 round 22px); transform: translateX(0) scale(1); }
  100% { opacity: 1; clip-path: inset(0 0 0 0 round 22px); transform: translateX(0) scale(1); }
}
html.splash-open .sp-logo { animation: spLogoOut .18s ease-in both; }
@keyframes spLogoOut { to { opacity: 0; transform: translate(-50%, -50%) scale(1.07); } }
html.splash-open .sp-left { animation: spOpenL .5s cubic-bezier(.75,0,.2,1) both; }
html.splash-open .sp-right { animation: spOpenR .5s cubic-bezier(.75,0,.2,1) both; }
@keyframes spOpenL { to { transform: translateX(-101%); } }
@keyframes spOpenR { to { transform: translateX(101%); } }
/* The headline waits, then rises as the intro opens. */
html.splash:not(.splash-open) .hero-title .w > span { animation-play-state: paused; }
html.splash-open .hero-title .w > span { animation-play-state: running; }
/* ---------- single-dish categories share a row ---------- */
.menu-singles { margin-top: 30px; display: grid; gap: 30px 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 265px), 1fr)); }
.menu-single { display: flex; flex-direction: column; min-width: 0; scroll-margin-top: 220px; }
.menu-single .dish { flex: 1; }
/* ---------- customer's logo: full dark banner, no plate needed ---------- */
.logo-plate { background: transparent; padding: 0; border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.logo-plate img { height: 50px; width: auto; }
.logo-lg { padding: 0; border-radius: 14px; max-width: 100%; }
.logo-lg img { width: min(100%, 340px); height: auto; }
@media (max-width: 480px) {
  .logo-plate img { height: 44px; }
  .logo-lg img { width: min(100%, 340px); height: auto; }
}.foot-brand { align-content: start; }

/* footer logo: frame fits the image exactly */
.logo-lg { display: block; width: min(100%, 340px); justify-self: start; box-shadow: none; }
.logo-lg img { width: 100%; height: auto; }
/* ---------- drifting chiles and papel picado across the whole site ---------- */
.drift { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.fav-room, .band { position: relative; overflow: hidden; }
.fav-room > .wrap, .band > .wrap { position: relative; z-index: 1; }
.hero-in { position: relative; z-index: 2; }
.hero-tag, .slide-dots { z-index: 2; }
.sec-locs, .sec-gal, .page-head, .loc-hero { background: rgba(32,35,40,.34); }
.foot { background: rgba(13,14,16,.62); }
/* ---------- final polish ---------- */
.curtain span { animation-duration: .62s; }
/* Phones: the pause button lives in the bottom bar, so it never sits on top of a card. */
@media (max-width: 639px) {
  .motion-btn { right: auto; left: max(12px, env(safe-area-inset-left, 0px)); bottom: calc(15px + env(safe-area-inset-bottom, 0px)); }
  .sticky-order { padding-left: max(70px, calc(env(safe-area-inset-left, 0px) + 70px)); }
}
/* Very small phones: keep logo, language and menu button on one line. */
@media (max-width: 360px) {
  .logo-plate img { height: 38px; }
  .logo-lg img { height: auto; }
  .head-in { gap: 8px; }
  .head-actions { gap: 6px; }
  .lang button { min-width: 34px; }
}
/* ---------- page-change curtain: logo at the bottom center ---------- */
.curtain span { animation: curtainHold .92s cubic-bezier(.7,0,.2,1) both; }
.curtain span:nth-child(2) { animation-delay: .05s; }
.curtain span:nth-child(3) { animation-delay: .1s; }
@keyframes curtainHold { 0%, 42% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
.curtain-logo { position: absolute; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); width: min(62vw, 300px); padding: 8px 12px; background: #fff; border-radius: 14px; box-shadow: 0 14px 34px -14px rgba(0,0,0,.8); transform: translateX(-50%); animation: curtainLogo .92s ease both; }
.curtain-logo img { display: block; width: 100%; height: auto; }
@keyframes curtainLogo { 0% { opacity: 0; transform: translate(-50%, 10px) scale(.96); } 12%, 42% { opacity: 1; transform: translate(-50%, 0) scale(1); } 58%, 100% { opacity: 0; transform: translate(-50%, -8px) scale(1); } }

/* ---------- audit fixes ---------- */
.loc-h1 { font-size: clamp(3.4rem, 7.2vw, 7rem); }
@media (max-width: 899px) { .loc-h1 { font-size: clamp(3.4rem, 13vw, 6.5rem); } }
@media (max-width: 360px) { .hero-title { font-size: 3.4rem; } }
/* ---------- no photo labels ---------- */
.ph-tag { display: none; }
/* curtain logo: the customer's banner, no plate, blends with the charcoal panel */
.curtain-logo { width: min(33.34vw, 420px); min-width: 0; padding: 0; background: transparent; box-shadow: none; border-radius: 10px; overflow: hidden; }
@media (max-width: 760px) { .curtain-logo { width: min(78vw, 340px); border-radius: 10px; } }
/* Phones: curtain without the logo. */
@media (max-width: 760px) { .curtain-logo { display: none; } }
/* ---------- curtain: GJ icon centered; middle panel uses the icon's exact background ---------- */
.curtain span:nth-child(2) { background: #181B22; }
.curtain-logo { display: block; left: 50%; top: 50%; bottom: auto; width: min(30vw, 300px); padding: 0; background: transparent; box-shadow: none; border-radius: 0; overflow: visible; transform: translate(-50%, -50%); animation: curtainIcon .92s ease both; }
@keyframes curtainIcon { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.9); } 14%, 42% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 58%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.04); } }
@media (max-width: 760px) { .curtain-logo { display: block; width: 30vw; border-radius: 0; } }
/* Headline waits behind the intro, then starts fresh as the intro opens. */
html.splash:not(.splash-open) .hero-title .w > span { animation: none; transform: translateY(105%); }
html.splash.still .hero-title .w > span { transform: none; }
/* Content must never depend on an animation finishing. */
.hero-title .w > span, html.splash:not(.splash-open) .hero-title .w > span { animation: none !important; transform: none !important; }
@keyframes rise { from { transform: translateY(22px); } to { transform: none; } }