/* Mi Casa Restaurante — "Rótulo": black and logo yellow like their sign, with chile red, cobalt Talavera
   blue and hand-painted drop shades. Fonts are self-hosted (SIL Open Font License). */

@font-face { font-family: 'Shrikhand'; src: url(../fonts/shrikhand-latin.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Londrina Solid'; src: url(../fonts/londrina-solid-latin.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Schibsted Grotesk'; src: url(../fonts/schibsted-grotesk-latin.woff2) format('woff2'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: 'Schibsted Grotesk'; src: url(../fonts/schibsted-grotesk-italic-latin.woff2) format('woff2'); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Azeret Mono'; src: url(../fonts/azeret-mono-latin.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --noche: #14110f;
  --noche-2: #1f1a16;
  --noche-3: #2c241e;
  --amarillo: #f9e64b;
  --chile: #c8321f;
  --chile-d: #9b2414;
  --cobalto: #2349a8;
  --cobalto-d: #183580;
  --cal: #f4ede1;
  --cal-2: #e8ddc8;
  --papel: #fffbf2;
  --agave: #3f7a4e;
  --masa: #e8c27a;
  --masa-d: #b8873f;
  --barro: #c2622f;
  --rosa: #e0407b;
  --morado: #5b3a8c;

  --f-sign: 'Shrikhand', Georgia, serif;
  --f-letter: 'Londrina Solid', 'Arial Narrow', sans-serif; /* hand-cut and upright, like the lettering in their logo */
  --f-text: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'Azeret Mono', ui-monospace, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --top-h: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 16px); }
body {
  margin: 0;
  background: var(--noche);
  color: var(--cal);
  font: 400 17px/1.55 var(--f-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
button { font: inherit; color: inherit; }
svg use { fill: inherit; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 3px; border-radius: 4px; }
.menu :focus-visible, .foot :focus-visible, .ticket :focus-visible, .hero__media :focus-visible { outline-color: var(--cobalto); }

.skip-link { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--amarillo); color: var(--noche); padding: 10px 14px; font-weight: 700; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.eyebrow {
  font: 500 13px/1 var(--f-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amarillo);
  margin-bottom: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: currentColor; --bd: currentColor; --sh: transparent;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 50px; padding: 0 22px;
  border: 2.5px solid var(--bd); border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 700 16px/1 var(--f-text); letter-spacing: .01em; text-decoration: none;
  box-shadow: 4px 4px 0 var(--sh);
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--sh); }
.btn, .opt, .fav { position: relative; }
.btn::after, .opt::after, .fav::after { content: ''; position: absolute; inset: -5px; } /* covers the hover nudge so edges don't flicker */
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--sh); }
.btn--sun { --bg: var(--amarillo); --fg: var(--noche); --bd: var(--noche); --sh: var(--chile); }
.btn--line { --sh: transparent; }
.btn--line:hover { --bg: rgba(249, 230, 75, .12); box-shadow: none; }
.btn--deal { --bg: var(--chile); --fg: var(--papel); --bd: var(--noche); --sh: var(--noche); }
.btn--text { border-color: transparent; padding: 0 10px; text-decoration: underline; text-underline-offset: 4px; }
.btn--text:hover { transform: none; box-shadow: none; }

/* ---------- Notice + header ---------- */
.notice {
  position: fixed; inset: 0 0 auto; z-index: 60;
  background: var(--chile); color: var(--papel);
  text-align: center; font: 600 15px/1.4 var(--f-text);
  padding: 10px var(--gutter);
}
/* Always solid, so the papel picado never slides in behind the logo before a backing shows up. */
.top {
  position: fixed; inset: var(--nh, 0px) 0 auto; z-index: 50;
  height: var(--top-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 var(--gutter);
  color: var(--cal);
  background: var(--noche);
  border-bottom: 1px solid rgba(249, 230, 75, .14);
}
.top__logo { display: block; width: 46px; color: var(--amarillo); flex: none; }
.top__logo svg { width: 100%; height: auto; fill: currentColor; display: block; }
.top__nav { display: flex; gap: 26px; margin-left: auto; }
.top__nav a {
  position: relative; text-decoration: none;
  font: 700 14px/1 var(--f-text); letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 0;
}
.top__nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--amarillo); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.top__nav a:hover::after, .top__nav a[aria-current='true']::after { transform: scaleX(1); }
.top__call {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--amarillo); color: var(--noche); text-decoration: none;
  font: 700 15px/1 var(--f-mono); padding: 12px 16px; border-radius: 999px;
}
.top__call svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  grid-template-rows: 1fr auto;
  column-gap: clamp(28px, 5vw, 80px);
  align-items: center;
  padding: calc(var(--top-h) + var(--nh, 0px) + 96px) max(var(--gutter), (100vw - var(--max)) / 2) 48px;
  overflow: hidden;
  isolation: isolate;
  /* still black, but warm: lamplight glows (chile behind the food, a little cobalt up top, marigold rising
     from the bottom) so it eases into the colour bands below instead of sitting flat */
  background:
    /* the Mexican flag, left to right: verde, blanco, rojo */
    radial-gradient(50% 75% at 0% 45%, rgba(0, 124, 78, .5), rgba(0, 124, 78, 0) 72%),
    radial-gradient(32% 55% at 50% 42%, rgba(255, 251, 242, .1), rgba(255, 251, 242, 0) 72%),
    radial-gradient(50% 75% at 100% 45%, rgba(206, 17, 38, .48), rgba(206, 17, 38, 0) 72%),
    linear-gradient(180deg, #181513 0%, #211a16 100%);
}
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero__eyebrow { font: 500 13px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--amarillo); }
.hero__logo { width: clamp(200px, 26vw, 350px); height: auto; fill: var(--amarillo); overflow: visible; margin: 4px 0 6px -6px; }
.hero__title {
  font: 400 clamp(3.1rem, 6.4vw, 6rem)/.94 var(--f-letter);
  color: var(--papel);
  text-shadow: .05em .05em 0 var(--chile);
  letter-spacing: .005em;
  max-width: 12ch;
}
.hero__title .char { display: inline-block; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero__ctas .btn--line { color: var(--papel); }
.hero__today {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 13px/1.3 var(--f-mono); color: var(--amarillo);
  border: 1.5px dashed rgba(249, 230, 75, .6); border-radius: 999px; padding: 8px 14px;
}
.hero__today::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--amarillo); }

.hero__media { position: relative; margin: 0 0 9%; justify-self: center; width: min(100%, 520px); }
.hero__frame {
  position: relative;
  transform: rotate(-3deg);
  border: 10px solid var(--amarillo);
  box-shadow: 16px 16px 0 var(--chile);
  background: var(--noche-2);
}
.hero__slides { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; }
.hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; visibility: hidden; }
.hero__slide.is-on { visibility: inherit; } /* inherit, so it stays hidden until the hero arrives */
.hero__caption {
  position: absolute; right: -10px; bottom: 18px; /* right corner: the soup plate sits on the left one */
  background: var(--noche); color: var(--amarillo);
  font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase;
  padding: 9px 12px;
}
.hero__plate { /* the soup sits on a Talavera tile disc so it isn't floating on the black */
  position: absolute; width: 54%; left: -20%; bottom: -8%;
  transform: rotate(-8deg);
  pointer-events: none;
}
.hero__plate-bg {
  position: absolute; left: 50%; top: 50%; width: 104%; height: auto; aspect-ratio: 1;
  transform: translate(-50%, -50%); overflow: visible;
  filter: drop-shadow(8px 8px 0 var(--chile));
}
.hero__soup { position: relative; display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .35)); }
.hero__plate-tag {
  position: absolute; left: 50%; bottom: -9%; transform: translateX(-50%) rotate(5deg);
  white-space: nowrap; background: var(--noche); color: var(--amarillo);
  font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 10px; border: 2px solid var(--amarillo); border-radius: 3px;
}
.hero__badge {
  position: absolute; top: -34px; right: -26px; width: 124px; height: 124px;
  display: grid; place-items: center; color: var(--noche); text-decoration: none;
}
.hero__badge > svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.hero__badge-bg { fill: var(--amarillo); stroke: var(--noche); stroke-width: 3; }
.hero__badge text { font: 700 11.5px var(--f-mono); letter-spacing: .14em; fill: var(--noche); }
.hero__badge-icon { position: relative; width: 34px; height: 34px; fill: none; stroke: var(--noche); stroke-width: 2.2; stroke-linejoin: round; }
.hero__badge:hover > svg:first-child { animation-duration: 4s; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__verse {
  grid-column: 1 / -1;
  margin: 40px 0 0; padding-top: 18px;
  border-top: 1px solid rgba(244, 237, 225, .16);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px;
  color: rgba(244, 237, 225, .7);
}
.hero__verse p { font: italic 500 15px/1.4 var(--f-text); }
.hero__verse cite { font: 500 12px/1 var(--f-mono); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--amarillo); }

/* Papel picado string along the top of the hero (flags built in main.js) */
.garland { position: absolute; left: 0; right: 0; top: calc(var(--top-h) + var(--nh, 0px) + 4px); height: 120px; pointer-events: none; z-index: 1; }
.garland__string { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.garland__string path { fill: none; stroke: rgba(244, 237, 225, .55); stroke-width: 1.5; }
.flag { position: absolute; top: 0; width: 52px; height: 66px; transform-origin: 50% 0; pointer-events: auto; }
.flag svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* Before the doors open, hero parts wait out of sight. If scripts never run, they show anyway. */
html.js [data-in], html.js .hero__logo .lg, html.js .garland { visibility: hidden; animation: show-anyway 0s 6s forwards; }
@keyframes show-anyway { to { visibility: visible; } }

/* ---------- Serape band + marquee ---------- */
.serape {
  position: relative; height: 38px;
  background: linear-gradient(to bottom,
    var(--chile) 0 5px, var(--amarillo) 5px 8px, var(--noche) 8px 10px, var(--cobalto) 10px 14px,
    var(--cal) 14px 15px, var(--rosa) 15px 19px, var(--cal) 19px 20px, var(--agave) 20px 24px,
    var(--noche) 24px 26px, var(--amarillo) 26px 30px, var(--chile) 30px 38px);
}
.serape span {
  position: absolute; left: 0; right: 0; top: 13px; height: 12px;
  --x: 0px;
  background:
    linear-gradient(135deg, var(--noche) 25%, transparent 25%) calc(var(--x) - 6px) 0 / 12px 12px,
    linear-gradient(225deg, var(--noche) 25%, transparent 25%) calc(var(--x) - 6px) 0 / 12px 12px,
    linear-gradient(315deg, var(--noche) 25%, transparent 25%) var(--x) 0 / 12px 12px,
    linear-gradient(45deg, var(--noche) 25%, transparent 25%) var(--x) 0 / 12px 12px,
    var(--amarillo);
}
.marquee {
  background: var(--amarillo); color: var(--noche);
  overflow: hidden; padding: 18px 0 22px;
  border-bottom: 3px solid var(--noche);
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 400 clamp(28px, 3.6vw, 46px)/1 var(--f-sign); white-space: nowrap; }
.marquee__item svg { width: .9em; height: .9em; }

/* ---------- Menu ---------- */
.menu {
  position: relative;
  background: var(--cal); color: var(--noche);
  padding: 96px var(--gutter) 88px;
  overflow-x: clip; /* the "¡Lotería!" stamp lands from 2.4x; on a phone it would push the page wider for a moment */
  color-scheme: dark;
}
.menu .eyebrow { color: var(--chile); }
.menu__head {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px 64px; align-items: end;
}
.menu__title, .favs h2, .order h2, .visit h2 {
  font: 400 clamp(2.7rem, 6vw, 5.4rem)/.95 var(--f-sign);
  text-shadow: .05em .05em 0 var(--chile);
}
.menu__title { color: var(--noche); }
.menu__lede { margin-top: 18px; max-width: 46ch; font-size: 18px; color: rgba(20, 17, 15, .78); }
.menu__tools { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.search { position: relative; width: 100%; }
.search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--noche); stroke-width: 2.2; stroke-linecap: round; }
.search input {
  width: 100%; height: 54px; padding: 0 18px 0 48px;
  border: 2.5px solid var(--noche); border-radius: 999px; background: var(--papel);
  font: 500 17px var(--f-text); color: var(--noche);
  box-shadow: 4px 4px 0 var(--noche);
}
.search input::placeholder { color: rgba(20, 17, 15, .45); }
.search input:focus { outline: none; box-shadow: 4px 4px 0 var(--cobalto); border-color: var(--cobalto); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 38px; padding: 0 14px;
  border: 2px solid var(--noche); border-radius: 999px; background: transparent;
  font: 600 14px/1 var(--f-text); cursor: pointer;
  transition: background-color .2s, color .2s, transform .2s var(--ease);
}
.chip svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.chip:hover { background: rgba(20, 17, 15, .07); }
.chip[aria-pressed='true'] { background: var(--noche); color: var(--amarillo); }

.deck-wrap {
  margin: 36px calc(var(--gutter) * -1) 0;
  padding: 52px var(--gutter) 64px;
  overflow-x: auto; overflow-y: visible;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.deck-wrap::-webkit-scrollbar { display: none; }
.deck-wrap.is-fit { overflow: visible; }
.deck-wrap.is-shuffling { overflow: visible; position: relative; z-index: 5; }
.deck-wrap.is-shuffling .slot { --rot: 0deg !important; --lift: 0px !important; } /* the fan straightens while the cards shuffle */
.deck { display: flex; flex-direction: column; align-items: center; row-gap: 24px; min-width: max-content; padding: 0 12px; }
.deck__row { display: flex; }
.slot {
  /* the fan: each card tilts and drops by how far it sits from the middle of its row (--off, set by menu.js) */
  --off: 0;
  --rot: calc(var(--off) * 2.2deg); --lift: calc(var(--off) * var(--off) * .32px);
  position: relative; flex: none;
  /* menu.js sizes the cards so every row fits across, overlapping only a sliver so each title stays readable */
  width: var(--card-w, 76px); margin-left: -6px;
  transform: translateY(var(--lift)) rotate(var(--rot));
  transform-origin: 50% 120%;
  transition: transform .35s var(--ease), opacity .3s;
  z-index: var(--z);
}
.slot:first-child { margin-left: 0; }
.deck[data-rows='2'] .slot { --rot: calc(var(--off) * 2.6deg); }
.deck[data-rows='3'] { row-gap: 18px; }
.deck[data-rows='3'] .slot { --rot: calc(var(--off) * 2deg); --lift: calc(var(--off) * var(--off) * .3px); }
/* The slot is the hover area and never moves; only the card inside lifts and straightens. Moving the slot
   pulled the card out from under the cursor at its edges, so it dropped, got hovered again and shook. */
.slot:hover, .slot:focus-within { z-index: 30; }
.slot.is-active { z-index: 40; }
.card__lift { position: absolute; inset: 0; display: block; transform-style: preserve-3d; transition: transform .35s var(--ease); }
.slot:hover .card__lift, .slot:focus-within .card__lift { transform: translateY(-20px) rotate(calc(-1 * var(--rot))); }
.slot.is-active .card__lift { transform: translateY(-30px) rotate(calc(-1 * var(--rot))) scale(1.04); }
.slot.is-dim { opacity: .32; }

.card {
  container-type: inline-size;
  position: relative; display: block; width: 100%; aspect-ratio: 5 / 7.6;
  padding: 0; border: 0; background: none; cursor: pointer;
  transform-style: preserve-3d;
}
.card__face, .card__back {
  position: absolute; inset: 0;
  border: 2.5px solid var(--noche); border-radius: 8px;
  box-shadow: 3px 4px 0 var(--noche);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  overflow: hidden;
}
.card__face {
  background: var(--papel);
  display: grid; grid-template-rows: auto 1fr auto;
  padding: 6px 6px 0;
}
.card__face::before { content: ''; position: absolute; inset: 4px; border: 1px solid var(--noche); border-radius: 4px; pointer-events: none; }
.card__back { transform: rotateY(180deg); background: var(--cal); }
.card__back svg { width: 100%; height: 100%; display: block; }
.card__no { position: relative; justify-self: start; font: 600 clamp(9px, 10cqi, 15px)/1 var(--f-mono); padding: 4cqi 3cqi 0; }
.card .art { width: 86%; height: auto; justify-self: center; align-self: center; }
.card__title {
  position: relative; display: block;
  margin: 0 -6px; padding: 5cqi 4cqi 6.5cqi;
  border-top: 2px solid var(--noche);
  font: 400 clamp(6px, calc(var(--fit, 14) * 1cqi), 24px)/1.05 var(--f-sign); text-align: center; white-space: nowrap; overflow: hidden;
}
.card__count {
  position: absolute; top: -10px; right: -10px; z-index: 2;
  min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px;
  display: none; place-items: center;
  background: var(--chile); color: var(--papel); font: 600 12px/26px var(--f-mono); text-align: center;
  border: 2px solid var(--noche);
}
.is-searching .card__count { display: block; }

/* Art colours */
.art .y { fill: var(--amarillo); } .art .r { fill: var(--chile); } .art .b { fill: var(--cobalto); }
.art .g { fill: var(--agave); } .art .c { fill: var(--papel); } .art .m { fill: var(--masa); }
.art .mk { fill: var(--masa-d); } .art .t { fill: var(--barro); } .art .p { fill: var(--rosa); }
.art .k { fill: var(--noche); } .art .kk { fill: #2b2420; } .art .v { fill: var(--morado); }
.art .ag { fill: #c9db8a; } .art .tq { fill: #2f7f76; } .art .tq2 { fill: #5fb8a6; } .art .fl { fill: #ffd166; } .art .ch { fill: #5a2e1a; } .art .gl { fill: #dfe7f7; }
.art .ol { stroke: var(--noche); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.art [class^='ol'] { fill: none; } /* outline-only shapes list "ol" first; filled ones list their colour first */
.art .ol.thin { stroke-width: 1.6; }
.art .sr, .art .sy, .art .sg, .art .sc, .art .sk, .art .sb, .art .grill { fill: none; stroke-width: 4.5; stroke-linecap: round; }
.art .sr { stroke: var(--chile); } .art .sy { stroke: var(--amarillo); stroke-width: 2.6; } .art .sg { stroke: var(--agave); }
.art .sc { stroke: var(--papel); stroke-width: 3; } .art .sk { stroke: #5a2e1a; stroke-width: 2.6; } .art .sb { stroke: var(--cobalto); }
.art .grill { stroke: var(--noche); stroke-width: 3.2; }
.art .sy.dash { stroke-dasharray: 3 4; stroke-width: 2; }
.art .straw { stroke-width: 6; stroke-dasharray: 5 4; }

/* Sticky bar of section names once the deck has scrolled away */
.menu__bar {
  position: fixed; left: 0; right: 0; top: var(--top-h); z-index: 40;
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  padding: 10px var(--gutter);
  background: var(--cal); border-bottom: 2px solid var(--noche);
  transform: translateY(-120%); visibility: hidden;
  transition: transform .35s var(--ease), visibility 0s .35s;
}
.menu__bar::-webkit-scrollbar { display: none; }
.menu__bar.is-shown { transform: none; visibility: visible; transition: transform .35s var(--ease); }
.menu__bar button {
  flex: none; border: 2px solid var(--noche); border-radius: 999px; background: var(--papel);
  padding: 7px 12px; font: 400 15px/1 var(--f-sign); color: var(--noche); cursor: pointer;
}
.menu__bar button[aria-current='true'] { background: var(--noche); color: var(--amarillo); }

.menu__body {
  max-width: var(--max); margin: 30px auto 0;
  display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 56px; align-items: start;
}
.menu__aside { position: sticky; top: calc(var(--top-h) + 76px); display: grid; gap: 22px; }
.deal { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: end; perspective: 900px; }
.deal .card { width: 150px; }
.deal__name { font: 400 30px/1 var(--f-sign); }
.deal__blurb { margin-top: 10px; font-size: 15px; color: rgba(20, 17, 15, .75); }
.deal__photo {
  margin: 4px 0 0; border: 8px solid var(--papel); box-shadow: 6px 6px 0 var(--noche);
  transform: rotate(2deg); background: var(--papel);
}
.deal__photo img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.deal__notes { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font: 500 12.5px/1.45 var(--f-mono); color: rgba(20, 17, 15, .72); }
.deal__notes li { padding-left: 14px; position: relative; }
.deal__notes li::before { content: '✶'; position: absolute; left: 0; color: var(--chile); }

.menu__list { min-height: 60vh; outline: none; }
.list__title { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; font: 400 clamp(30px, 3.4vw, 42px)/1 var(--f-sign); padding-bottom: 14px; border-bottom: 3px solid var(--noche); }
.list__title small { font: 500 13px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--chile); }
.subhead { margin: 34px 0 4px; display: flex; align-items: center; gap: 14px; font: 400 26px/1 var(--f-sign); color: var(--chile); }
.subhead::after { content: ''; flex: 1; height: 8px; background: repeating-linear-gradient(90deg, var(--chile) 0 10px, var(--amarillo) 10px 16px, var(--cobalto) 16px 26px, var(--cal) 26px 28px); border-radius: 2px; }
.subnote { font-size: 14.5px; color: rgba(20, 17, 15, .7); max-width: 62ch; margin-bottom: 6px; }

.dish {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px;
  padding: 20px 0 22px;
  border-bottom: 1.5px dashed rgba(20, 17, 15, .28);
}
.dish--photo { grid-template-columns: 76px minmax(0, 1fr) auto; }
.dish__thumb { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 3px solid var(--noche); box-shadow: 3px 3px 0 var(--amarillo); grid-row: span 2; }
.dish__main { min-width: 0; }
.dish__name { font: 800 19px/1.2 var(--f-text); letter-spacing: .01em; text-transform: uppercase; }
.dish__es { display: block; margin-top: 2px; font: italic 500 15px var(--f-text); text-transform: none; color: rgba(20, 17, 15, .7); }
.dish__fav { margin-top: 6px; font: 400 17px/1.2 var(--f-sign); color: var(--chile); }
.dish__desc { margin-top: 6px; font-size: 15.5px; color: rgba(20, 17, 15, .78); max-width: 62ch; }
.dish__extra { margin-top: 6px; font: 500 12.5px/1.4 var(--f-mono); color: var(--cobalto); }
.tags { display: inline-flex; flex-wrap: wrap; gap: 6px; vertical-align: 3px; margin-left: 8px; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px 4px; border-radius: 999px; font: 600 11px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.tag svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; }
.tag--star { background: var(--chile); color: var(--papel); }
.tag--new { background: var(--amarillo); color: var(--noche); border: 1.5px solid var(--noche); }
.tag--hot { background: transparent; color: var(--chile); border: 1.5px solid var(--chile); }
.tag--veg { background: transparent; color: var(--agave); border: 1.5px solid var(--agave); }
.tag--sea { background: transparent; color: var(--cobalto); border: 1.5px solid var(--cobalto); }

.dish__buy { display: flex; align-items: center; gap: 12px; align-self: start; }
.price { font: 600 18px/1 var(--f-mono); white-space: nowrap; }
.add {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  border-radius: 50%; border: 2.5px solid var(--noche); background: var(--noche); color: var(--amarillo);
  cursor: pointer; transition: transform .2s var(--ease), background-color .2s, color .2s;
}
.add svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.add:hover { background: var(--amarillo); color: var(--noche); transform: rotate(90deg); }
.opts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.dish--photo .opts { grid-column: 2 / -1; }
.opt {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 42px; padding: 0 6px 0 14px;
  border: 2px solid var(--noche); border-radius: 999px; background: var(--papel);
  font: 600 14px/1.15 var(--f-text); text-align: left; cursor: pointer;
  transition: background-color .2s, transform .2s var(--ease);
}
.opt b { font: 600 14px/1 var(--f-mono); }
.opt i { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--noche); color: var(--amarillo); font-style: normal; }
.opt i svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; }
.opt:hover { background: var(--amarillo); transform: translateY(-2px); }
.is-added { animation: added .5s var(--ease); }
@keyframes added { 40% { transform: scale(1.12); } }
.dish.is-hit::before {
  content: ''; position: absolute; inset: 6px -14px; z-index: -1; border-radius: 12px;
  background: var(--amarillo); animation: hit 2.4s ease-out forwards;
}
@keyframes hit { 0%, 55% { opacity: 1; } 100% { opacity: 0; } }
.stamp {
  position: absolute; right: 64px; top: 4px; z-index: 2;
  font: 400 26px/1 var(--f-sign); color: var(--chile);
  border: 3px solid var(--chile); border-radius: 8px; padding: 6px 10px 8px;
  transform: rotate(-12deg); pointer-events: none; background: rgba(255, 251, 242, .85);
}
.empty { padding: 40px 0; font-size: 18px; }
.empty strong { font-family: var(--f-sign); font-weight: 400; font-size: 26px; display: block; margin-bottom: 6px; }

.menu__notes {
  max-width: var(--max); margin: 56px auto 0; padding-top: 20px; border-top: 2px solid var(--noche);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 32px;
  font: 500 12.5px/1.5 var(--f-mono); color: rgba(20, 17, 15, .72);
}

/* ---------- Favoritos ---------- */
.favs { background: var(--chile); color: var(--papel); padding: 76px var(--gutter) 84px; position: relative; }
.favs .eyebrow { color: var(--amarillo); }
.favs__head {
  max-width: var(--max); margin: 0 auto 30px;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 16px 56px; align-items: end;
}
.favs h2 { font-size: clamp(2.1rem, 4vw, 3.6rem); text-shadow: .05em .05em 0 var(--noche); max-width: 18ch; }
.favs__lede { max-width: 44ch; font-size: 17px; color: rgba(255, 251, 242, .88); }
.favs__wall { max-width: var(--max); margin: 0 auto; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 9px 8px; }
.fav {
  --r: 0deg;
  display: inline-flex; align-items: baseline; gap: 8px; text-align: left;
  padding: 7px 12px 8px; border: 2px solid var(--noche); border-radius: 6px;
  background: var(--papel); color: var(--noche); box-shadow: 3px 3px 0 var(--noche);
  transform: rotate(var(--r)); cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s;
}
.favs__wall:not(.is-in) .fav { transition: none; } /* GSAP drops them in first */
.fav:hover, .fav:focus-visible { transform: rotate(0deg) translateY(-3px); background: var(--amarillo); }
.fav__who { font: 400 17px/1 var(--f-sign); white-space: nowrap; }
.fav__dish { font: 500 11px/1.2 var(--f-mono); color: rgba(20, 17, 15, .7); }
.favs__more { display: flex; margin: 22px auto 0; color: var(--papel); }
.favs__more:hover { --bg: rgba(255, 251, 242, .12); }

/* Painted band between sections that meet without one */
.tile-band { display: block; width: 100%; height: 48px; border-top: 3px solid var(--noche); border-bottom: 3px solid var(--noche); }

/* ---------- Order ---------- */
.order { background: var(--agave); color: var(--papel); padding: 0 var(--gutter) 104px; position: relative; }
.tiles { display: block; width: calc(100% + var(--gutter) * 2); height: 56px; margin: 0 calc(var(--gutter) * -1) 88px; border-bottom: 3px solid var(--noche); }
.order__head { max-width: var(--max); margin: 0 auto; }
.order h2 { text-shadow: .05em .05em 0 var(--noche); }
.order__head p:last-child { margin-top: 16px; max-width: 52ch; font-size: 18px; color: rgba(255, 251, 242, .88); }
.order__ctas { max-width: var(--max); margin: 36px auto 0; display: flex; flex-wrap: wrap; gap: 12px; }
.order__ctas .btn--line { color: var(--papel); }
.order__special { max-width: var(--max); margin: 48px auto 0; }
.specials { background: var(--noche); border-radius: 14px; padding: 24px 28px 20px; box-shadow: 6px 6px 0 var(--amarillo); }
.specials__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding-bottom: 14px; border-bottom: 2px dashed rgba(249, 230, 75, .3); }
.specials__head h3 { font: 400 34px/1 var(--f-sign); color: var(--amarillo); }
.specials__head p { font: 500 12px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(244, 237, 225, .55); }
.specials__list { list-style: none; margin: 0; padding: 0; }
.special { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(244, 237, 225, .12); }
.special:last-child { border-bottom: 0; padding-bottom: 6px; }
.special__day { justify-self: start; padding: 7px 12px; border-radius: 999px; background: var(--amarillo); color: var(--noche); font: 600 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.special.is-today .special__day { background: var(--chile); color: var(--papel); }
.special h4 { font: 700 21px/1.2 var(--f-text); color: var(--papel); }
.special p { margin-top: 4px; font-size: 16px; color: rgba(244, 237, 225, .78); }
.special__deal { font: 400 30px/1 var(--f-sign); color: var(--amarillo); white-space: nowrap; }
.specials small { display: block; margin-top: 12px; font: 500 12px/1.4 var(--f-mono); color: rgba(244, 237, 225, .55); }

/* ---------- Visit ---------- */
.visit {
  padding: 112px max(var(--gutter), (100vw - var(--max)) / 2) 120px;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px 64px; align-items: center;
}
.visit h2 { color: var(--papel); }
.visit__photo { position: relative; }
.visit__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 10px solid var(--amarillo); box-shadow: 14px 14px 0 var(--chile); transform: rotate(2deg); }
.visit__address { margin-top: 22px; font: 400 clamp(26px, 2.8vw, 36px)/1.15 var(--f-sign); font-style: normal; color: var(--amarillo); }
.visit__ctas { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.visit__ctas .btn--line { color: var(--papel); }
.visit__facts { margin: 34px 0 0; display: grid; gap: 16px; }
.visit__facts div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding-top: 14px; border-top: 1px solid rgba(244, 237, 225, .16); }
.visit__facts dt { font: 500 12px/1.6 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--amarillo); }
.visit__facts dd { margin: 0; }
.visit__facts table { border-collapse: collapse; font: 500 14px/1.7 var(--f-mono); }
.visit__facts td { padding: 0 18px 0 0; }
.visit__facts tr.is-today { color: var(--amarillo); }
.visit__inside { grid-column: 1 / -1; margin: 24px 0 0; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: end; }
.visit__inside img { grid-column: 2; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 6px; transform: rotate(-1.5deg); box-shadow: 10px 10px 0 var(--cobalto); }
.visit__inside figcaption { grid-column: 1; grid-row: 1; justify-self: end; text-align: right; font: 400 24px/1.2 var(--f-sign); color: var(--cal); max-width: 14ch; }

/* ---------- Footer ---------- */
.foot { background: var(--amarillo); color: var(--noche); padding: 44px var(--gutter) 26px; display: grid; justify-items: center; text-align: center; gap: 16px; color-scheme: light; }
.foot__logo { width: 104px; height: auto; fill: var(--noche); overflow: visible; }
.foot__verse { margin: 0; max-width: 60ch; }
.foot__verse p { font: 400 clamp(17px, 1.6vw, 21px)/1.25 var(--f-sign); }
.foot__verse cite { display: block; margin-top: 6px; font: 600 13px/1 var(--f-mono); font-style: normal; letter-spacing: .14em; text-transform: uppercase; }
.foot__cols { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 44px; font-size: 15px; font-weight: 600; }
.foot__cols a { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.foot__small { font: 500 12px/1.5 var(--f-mono); max-width: 60ch; opacity: .8; }

/* ---------- Ticket ---------- */
.ticket-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 14px; min-height: 56px;
  border: 2.5px solid var(--amarillo); border-radius: 999px;
  background: var(--noche); color: var(--amarillo);
  box-shadow: 5px 5px 0 var(--chile); cursor: pointer;
  font: 700 15px/1 var(--f-text);
}
.ticket-fab svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.ticket-fab__count { min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; background: var(--chile); color: var(--papel); font: 600 13px/26px var(--f-mono); text-align: center; }
.ticket-fab__total { font: 600 15px/1 var(--f-mono); color: var(--papel); }
.ticket-scrim { position: fixed; inset: 0; z-index: 80; background: rgba(20, 17, 15, .55); }
.ticket {
  position: fixed; z-index: 90; top: 16px; right: 16px; bottom: 16px;
  width: min(430px, calc(100% - 32px));
  display: flex; flex-direction: column;
  filter: drop-shadow(8px 10px 0 rgba(20, 17, 15, .9));
  color-scheme: dark;
}
.ticket__paper {
  flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  background: var(--papel); color: var(--noche);
  padding: 24px 24px 40px;
  font: 500 14px/1.45 var(--f-mono);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 14px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 22px 14px repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - 14px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 22px 14px repeat-x;
}
.ticket__head { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 2px dashed var(--noche); }
.ticket__logo { width: 52px; fill: var(--noche); }
.ticket h2 { font: 400 28px/1 var(--f-sign); }
.ticket__meta { margin-top: 4px; font-size: 12px; color: rgba(20, 17, 15, .65); }
.ticket__close { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--noche); background: transparent; cursor: pointer; display: grid; place-items: center; }
.ticket__close svg { width: 18px; height: 18px; fill: none; stroke: var(--noche); stroke-width: 2.4; stroke-linecap: round; }
.ticket__lines { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px dashed rgba(20, 17, 15, .3); }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--noche); border-radius: 999px; }
.qty button { width: 30px; height: 30px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: 50%; }
.qty button:hover { background: var(--amarillo); }
.qty svg { width: 14px; height: 14px; fill: none; stroke: var(--noche); stroke-width: 2.6; stroke-linecap: round; }
.qty output { min-width: 20px; text-align: center; font-weight: 700; }
.line__name { font: 700 14px/1.3 var(--f-text); text-transform: uppercase; }
.line__opt { display: block; font: 500 12px/1.3 var(--f-mono); color: rgba(20, 17, 15, .65); text-transform: none; }
.line__price { font-weight: 700; white-space: nowrap; }
.ticket__empty { padding: 26px 0 8px; font-family: var(--f-text); font-size: 15px; }
.ticket__notes { display: grid; gap: 6px; margin-top: 18px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.ticket__notes textarea { font: 500 14px/1.4 var(--f-text); text-transform: none; letter-spacing: 0; padding: 10px 12px; border: 2px solid var(--noche); border-radius: 8px; background: #fff; resize: vertical; color: var(--noche); }
.ticket__sums { margin: 18px 0 0; display: grid; gap: 6px; }
.ticket__sums div { display: flex; justify-content: space-between; gap: 12px; }
.ticket__sums dd { margin: 0; font-weight: 700; }
.ticket__total { padding-top: 10px; margin-top: 4px; border-top: 2px dashed var(--noche); font-size: 16px; }
.ticket__fine { margin-top: 10px; font-size: 11.5px; color: rgba(20, 17, 15, .62); }
.ticket__actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.ticket__actions .btn { min-height: 46px; font-size: 15px; }
.ticket__actions .btn--sun { --sh: var(--noche); flex: 1 1 100%; justify-content: center; }
.fly {
  position: fixed; z-index: 95; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border-radius: 50%; background: var(--amarillo); border: 2.5px solid var(--noche);
  display: grid; place-items: center; pointer-events: none;
}
.fly svg { width: 16px; height: 16px; fill: none; stroke: var(--noche); stroke-width: 3; stroke-linecap: round; }

/* ---------- How to-go works (pop-up above the ticket button) ---------- */
.howto {
  position: fixed; z-index: 75; right: 20px; bottom: 92px;
  width: min(390px, calc(100% - 32px));
  padding: 22px 22px 18px;
  background: var(--papel); color: var(--noche);
  border: 2.5px solid var(--noche); border-radius: 16px;
  box-shadow: 7px 7px 0 var(--chile);
  color-scheme: light;
}
.howto::after { /* little tail pointing at the ticket button */
  content: ''; position: absolute; right: 44px; bottom: -11px; width: 18px; height: 18px;
  background: var(--papel); border-right: 2.5px solid var(--noche); border-bottom: 2.5px solid var(--noche);
  transform: rotate(45deg);
}
.howto.no-tail::after { display: none; }
.howto__close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--noche); background: transparent; display: grid; place-items: center; cursor: pointer; }
.howto__close:hover { background: var(--amarillo); }
.howto__close svg { width: 16px; height: 16px; fill: none; stroke: var(--noche); stroke-width: 2.6; stroke-linecap: round; }
.howto__eyebrow { font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--chile); }
.howto__title { margin-top: 8px; font: 400 30px/1 var(--f-sign); outline: none; }
.howto__steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.howto__steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; }
.howto__no {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  background: var(--amarillo); border: 2.5px solid var(--noche); box-shadow: 2px 2px 0 var(--noche);
  font: 400 20px/1 var(--f-sign);
}
.howto__steps h3 { font: 800 15px/1.2 var(--f-text); text-transform: uppercase; letter-spacing: .03em; }
.howto__steps p { margin-top: 3px; font-size: 14.5px; line-height: 1.45; color: rgba(20, 17, 15, .78); }
.howto__steps a { color: var(--cobalto); font-weight: 700; }
.howto__fine { margin-top: 14px; padding-top: 12px; border-top: 1.5px dashed rgba(20, 17, 15, .3); font: 500 11.5px/1.45 var(--f-mono); color: rgba(20, 17, 15, .65); }
.howto__actions { margin-top: 14px; display: flex; align-items: center; gap: 8px; }
.howto__actions .btn--sun { --sh: var(--noche); min-height: 44px; font-size: 15px; }
.ticket__how { list-style: none; margin: 14px 0 2px; padding: 10px 12px; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 10px; border-radius: 8px; background: rgba(249, 230, 75, .35); font: 600 12px/1.25 var(--f-mono); }
.ticket__how li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.ticket__how b { flex: none; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--noche); color: var(--amarillo); font: 400 12px/1 var(--f-sign); }
@media (max-width: 600px) {
  .howto { left: 12px; right: 12px; width: auto; bottom: 84px; padding: 20px 18px 16px; }
  .howto::after { right: 50%; margin-right: -9px; }
}

/* ---------- Opening: saloon doors ---------- */
/* The Mi Casa wall with an arched doorway; two louvred batwing doors swing open and you walk in.
   intro.js draws the wall and doors to fit the screen. */
.intro { display: none; }
html.is-intro body { overflow: hidden; }
html.is-intro .intro {
  display: block; position: fixed; inset: 0; z-index: 200;
  background: #e9a99b; /* sunset pink until intro.js has drawn the scene */
  animation: intro-bail .4s 7s forwards;
  cursor: pointer;
}
@keyframes intro-bail { to { opacity: 0; visibility: hidden; } }
.intro__doors { position: absolute; inset: 0; z-index: 1; perspective: 1300px; }
.door { position: absolute; will-change: transform; }
.door svg { width: 100%; height: 100%; display: block; overflow: visible; }
.door--r svg { transform: scaleX(-1); }
.intro__wall { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; display: block; }
.intro__sign { fill: var(--amarillo); } /* beats the global `svg use { fill: inherit }` */
.intro__caption {
  position: absolute; z-index: 3; left: 0; right: 0; text-align: center;
  font: 400 clamp(24px, 3vw, 40px)/1 var(--f-sign); color: var(--chile);
  text-shadow: .06em .06em 0 var(--noche);
}
.intro__skip { position: absolute; z-index: 3; left: 0; right: 0; bottom: 18px; text-align: center; font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 251, 242, .85); text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }

/* ---------- Smaller screens ---------- */
@media (max-width: 1100px) {
  .menu__body { grid-template-columns: 280px minmax(0, 1fr); gap: 40px; }
  .deal { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --top-h: 64px; }
  .top__nav { gap: 18px; }
  .top__nav a:nth-child(n+3) { display: none; }
  .hero {
    grid-template-columns: minmax(0, 1fr); padding-top: calc(var(--top-h) + var(--nh, 0px) + 112px); row-gap: 72px;
  }
  .hero { row-gap: 56px; }
  .hero__media { width: min(82%, 440px); justify-self: center; margin: 0 auto 13%; }
  .hero__verse { margin-top: 24px; }
  .menu__head { grid-template-columns: minmax(0, 1fr); }
  .favs__head { grid-template-columns: minmax(0, 1fr); }
  .menu__body { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .menu__aside { position: static; }
  .deal { grid-template-columns: 112px 1fr; align-items: center; }
  .deal .card { width: 112px; }
  .deal__photo { display: none; }
  .specials { padding: 20px 18px 16px; }
  .special { grid-template-columns: minmax(0, 1fr) auto; }
  .special__day { grid-column: 1 / -1; }
  .visit { grid-template-columns: minmax(0, 1fr); }
  .visit__inside { grid-template-columns: minmax(0, 1fr); }
  .visit__inside img, .visit__inside figcaption { grid-column: 1; }
  .visit__inside figcaption { grid-row: 2; justify-self: start; text-align: left; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .top__call span { display: none; }
  .top__call { padding: 12px; }
  .top__nav { margin-left: auto; }
  .hero__eyebrow { font-size: 11.5px; letter-spacing: .1em; }
  .hero__logo { width: 200px; }
  .hero__badge { width: 88px; height: 88px; top: -26px; right: -18px; }
  .hero__caption { display: none; } /* too long for a phone-width frame; the plate tag labels the food */
  .hero__plate { left: -2%; width: 48%; bottom: -14%; }
  .hero__plate-tag { font-size: 10px; padding: 6px 8px; }
  .deck-wrap { padding-left: 8px; padding-right: 8px; } /* every bit of width goes to the cards */
  .deck { padding: 0 2px; }
  /* price and + stay beside the dish name instead of dropping under the description */
  .dish { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 18px 0 20px; }
  .dish--photo { grid-template-columns: 54px minmax(0, 1fr) auto; }
  .dish__thumb { width: 54px; height: 54px; grid-row: span 1; }
  .dish--photo .opts { grid-column: 1 / -1; }
  .dish__name { font-size: 17px; }
  .dish__desc { font-size: 15px; }
  .dish__buy { gap: 8px; }
  .price { font-size: 16px; }
  .add { width: 40px; height: 40px; }
  .visit { padding-top: 72px; padding-bottom: 80px; }
  .visit__photo img { border-width: 8px; box-shadow: 8px 8px 0 var(--chile); transform: rotate(1deg); }
  .visit__inside img { box-shadow: 8px 8px 0 var(--cobalto); }
  .stamp { right: 0; }
  .visit__facts div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .favs__wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fav { display: grid; gap: 4px; width: 100%; }
  .fav__dish { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ticket { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 88svh; filter: none; }
  .ticket__paper { padding: 20px 18px 36px; }
  .ticket-fab { right: 12px; bottom: 12px; left: 12px; justify-content: center; }
  body:has(.ticket-fab:not([hidden])) .foot { padding-bottom: 88px; } /* keep the small print clear of the ticket button */
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html.js [data-in], html.js .hero__logo .lg, html.js .garland { visibility: visible; animation: none; }
}
