/* Gracias Tex-Mex Fusion. Colours from the badge logo; fonts from the brand kit. */
:root {
  --chilli: #b3261e;
  --chilli-deep: #7e1712;
  --marigold: #f2a31b;
  --sun: #f7c640;
  --agave: #1e6b3a;
  --agave-deep: #12462a;
  --cream: #fbf1de;
  --cream-raised: #fff8ec;
  --ink: #1d1714;
  --ink-muted: #5e4f45;
  --line: #e6d3b3;

  --f-display: "Bowlby One", "Arial Black", Impact, sans-serif;
  --f-script: Yellowtail, "Brush Script MT", cursive;
  --f-body: Rubik, "Segoe UI", system-ui, sans-serif;

  --radius: 14px;
  --sticker: 0 6px 0 rgba(29, 23, 20, .22);
  --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);

  /* Torn-paper edge, used as a mask so it can take any colour */
  --torn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V18l22-7 28 9 34-12 26 8 40-10 22 9 36-6 30 10 26-12 44 8 20-9 38 11 30-8 24 6 42-11 28 9 34-5 26 10 40-12 24 7 36-9 32 11 22-6 38 8 30-10 40 9 26-7 34 10 22-8 40 6 28-11 36 9 24-6 34 8 30-9 22 7 26-4L1200 14V40z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.05; margin: 0; text-wrap: balance; text-transform: uppercase; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
/* Header and top strip run nearly full width: logo hard left, links hard right */
.topbar .wrap, .nav .wrap { max-width: none; padding-left: max(40px, env(safe-area-inset-left)); padding-right: max(40px, env(safe-area-inset-right)); }
.eyebrow { font: 700 13px/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--chilli); margin-bottom: 12px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
/* Keyboard users: first Tab shows this; invisible otherwise */
.skip { position: fixed; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--cream); font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

/* Buttons: always pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent; font: 700 15px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease-pop), box-shadow .2s, background-color .2s, color .2s; box-shadow: 0 4px 0 rgba(0,0,0,.18); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 7px 0 rgba(0,0,0,.18); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0,0,0,.18); }
.btn--chilli { background: var(--chilli); color: var(--cream-raised); }
.btn--chilli:hover { background: var(--chilli-deep); }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--cream-raised); border-color: var(--cream-raised); box-shadow: none; }
.btn--ghost:hover { background: var(--cream-raised); color: var(--agave-deep); box-shadow: none; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn--outline:hover { background: var(--ink); color: var(--cream); box-shadow: none; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 13px; }
.btn--block { width: 100%; }

/* Top strip */
.topbar { background: var(--agave-deep); color: var(--cream); font-size: 14px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__links { display: flex; align-items: center; gap: 16px; }
.topbar__links a { text-decoration: none; opacity: .9; }
.topbar__links a:hover { opacity: 1; text-decoration: underline; }
.topbar__fb { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--cream); color: var(--agave-deep) !important; }
.status { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 500; }
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-muted); position: relative; flex: none; }
.status.is-open .status__dot { background: #6fdc8c; }
.status.is-open .status__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #6fdc8c; animation: ping 1.8s ease-out infinite; }
.status.is-closed .status__dot { background: var(--marigold); }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

/* Nav */
.nav { position: sticky; top: 0; z-index: 40; background: var(--cream); transition: box-shadow .3s, background-color .3s; }
.nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 16px; background: var(--cream); -webkit-mask: var(--torn) center / 100% 100%; mask: var(--torn) center / 100% 100%; transform: scaleY(-1); pointer-events: none; }
.nav.is-stuck { box-shadow: 0 8px 24px rgba(29,23,20,.12); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; transition: min-height .3s; }
.nav.is-stuck .nav__inner { min-height: 64px; }
.nav__brand { display: flex; flex-shrink: 0; align-items: center; gap: 12px; text-decoration: none; }
.nav__brand img { width: 56px; height: 56px; transition: transform .6s var(--ease-pop), width .3s, height .3s; }
.nav.is-stuck .nav__brand img { width: 46px; height: 46px; }
.nav__brand:hover img { transform: rotate(-14deg) scale(1.06); }
.nav__brand span { display: flex; flex-direction: column; line-height: 1; }
.nav__brand b { font: 400 26px/1 var(--f-display); color: var(--chilli); letter-spacing: .01em; }
.nav__brand i { font: 400 18px/1 var(--f-script); color: var(--agave); margin-top: 2px; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { white-space: nowrap; }
.nav__links a:not(.btn) { position: relative; text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 0; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--chilli); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.nav__links a:not(.btn):hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--chilli); cursor: pointer; padding: 0; place-items: center; }
.nav__burger span { display: block; width: 20px; height: 2px; background: var(--cream); margin: 4px auto; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--chilli); color: var(--cream-raised); padding: 72px 0 110px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(1200px 500px at 85% 15%, rgba(242,163,27,.55), transparent 60%),
  radial-gradient(800px 600px at 10% 90%, rgba(126,23,18,.9), transparent 70%); }
/* Signature stamped pattern: black-on-white tile multiplied over the colour, so it tints any background tone-on-tone */
.hero__grain { position: absolute; inset: 0; z-index: -1; opacity: .09; mix-blend-mode: multiply; background: url("assets/img/pattern-mono.webp") 0 0 / 560px; }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 24px; }
.hero__panel { position: relative; z-index: 2; padding: 56px 52px 52px; max-width: 660px; }
.hero__panel-bg { position: absolute; inset: 0; z-index: -1; background: var(--agave); filter: url(#rough); transform: rotate(-1.5deg); box-shadow: 0 0 0 0 transparent; animation: panel-in .9s var(--ease-out) both; }
.hero__panel-bg::after { content: ""; position: absolute; inset: 10px; border: 2px dashed rgba(255,248,236,.25); }
@keyframes panel-in { from { transform: rotate(-8deg) scale(.6); opacity: 0; } to { transform: rotate(-1.5deg) scale(1); opacity: 1; } }
.hero__eyebrow { font: 400 clamp(20px, 2.4vw, 30px)/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; margin-bottom: 6px; }
.hero__title { font-size: clamp(46px, 11.5vw, 94px); line-height: .9; color: var(--cream-raised); text-shadow: 0 6px 0 var(--agave-deep); margin-left: -4px; }
.stamp { display: inline-flex; }
/* With JS on, keep the plain text hidden until the letters are split and ready to drop in, so the word never shows twice */
.js .stamp:not(.is-split) { opacity: 0; }
.stamp .ch { display: inline-block; }
.js .stamp .ch { opacity: 0; transform: translateY(-80px) scale(1.6) rotate(var(--rot, 0deg)); animation: stamp .55s var(--ease-pop) forwards; animation-delay: calc(.35s + var(--i) * .07s); }
@keyframes stamp { 60% { opacity: 1; } to { opacity: 1; transform: none; } }
.hero__script { font: 400 clamp(40px, 5.6vw, 70px)/1 var(--f-script); color: var(--sun); margin: -4px 0 18px; transform: rotate(-4deg); transform-origin: left; text-shadow: 0 4px 0 var(--agave-deep); }
.hero__lede { max-width: 440px; font-size: 18px; color: rgba(255,248,236,.92); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero__plate { position: relative; justify-self: center; width: min(560px, 100%); will-change: transform; }
.hero__plate img:not(.sprite) { width: 100%; filter: drop-shadow(0 30px 30px rgba(60,10,6,.55)); animation: plate-in 1.2s var(--ease-out) .3s both, spin-slow 60s linear 1.5s infinite; }
@keyframes plate-in { from { transform: translateX(40%) rotate(70deg) scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.hero__sticker { position: absolute; right: 2%; top: 4%; width: 116px; height: 116px; border-radius: 50%; background: var(--sun); color: var(--chilli-deep); display: grid; place-content: center; text-align: center; font: 400 15px/1 var(--f-display); text-transform: uppercase; transform: rotate(14deg); box-shadow: var(--sticker); animation: sticker-in .6s var(--ease-pop) 1.4s both, wobble 4s ease-in-out 2s infinite; }
.hero__sticker b { display: block; font: 400 30px/1 var(--f-script); text-transform: none; color: var(--chilli); }
@keyframes sticker-in { from { transform: scale(0) rotate(-90deg); } to { transform: scale(1) rotate(14deg); } }
@keyframes wobble { 50% { transform: rotate(4deg) scale(1.05); } }
.sprite { position: absolute; z-index: 3; pointer-events: none; left: var(--x); top: var(--y); width: var(--s); height: auto; filter: drop-shadow(0 14px 14px rgba(60,10,6,.45)); will-change: transform; transform: translate3d(var(--px, 0), var(--py, 0), 0) rotate(var(--r)); }
.js .sprite { animation: toss .9s var(--ease-pop) var(--d) both; }
@keyframes toss { from { opacity: 0; transform: translate3d(0, -60vh, 0) rotate(calc(var(--r) - 180deg)) scale(.5); } }
.sprite.floaty { animation: bob 6s ease-in-out infinite; animation-delay: calc(var(--d) * -8); }
@keyframes bob { 50% { translate: 0 -12px; } }

/* Bunting seam + marquee */
.seam { position: relative; background: var(--cream); height: 0; z-index: 3; }
.seam::before { content: ""; position: absolute; left: 0; right: 0; top: -38px; height: 40px; background: var(--cream); -webkit-mask: var(--torn) center / 100% 100%; mask: var(--torn) center / 100% 100%; }
.bunting { position: absolute; left: 0; right: 0; top: -14px; display: flex; justify-content: space-around; padding: 0 2%; pointer-events: none; }
.bunting::before { content: ""; position: absolute; left: 0; right: 0; top: 2px; height: 2px; background: var(--ink-muted); opacity: .6; }
.flag { width: 52px; height: 48px; transform-origin: top center; animation: sway 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * -.37s); }
.flag svg { width: 100%; height: 100%; display: block; }
@keyframes sway { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
.marquee { background: var(--cream); padding: 70px 0 56px; overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee__track span { font: 400 clamp(32px, 5vw, 60px)/1 var(--f-display); text-transform: uppercase; color: transparent; -webkit-text-stroke: 2px var(--chilli); padding: 0 28px; white-space: nowrap; }
.marquee__track span:nth-child(even) { color: var(--marigold); -webkit-text-stroke: 0; }
.marquee__track span::after { content: ""; display: inline-block; width: .32em; height: .32em; margin-left: 56px; border-radius: 50%; background: var(--agave); vertical-align: middle; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Section heads */
.section-head { text-align: center; max-width: 960px; margin: 0 auto 44px; }
.section-head h2 { white-space: nowrap; }
.section-head__lede { max-width: 560px; margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(38px, 6vw, 66px); color: var(--chilli); display: flex; align-items: center; justify-content: center; gap: 24px; }
.section-head h2::before, .section-head h2::after { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle, var(--ink) 0 2.5px, var(--marigold) 3px 100%); box-shadow: 0 0 0 4px var(--cream), 0 0 0 6px var(--marigold); }
.section-head__lede { color: var(--ink-muted); margin-top: 14px; }
.section-head--light h2 { color: var(--cream-raised); }
.section-head--light .eyebrow { color: var(--sun); }
.section-head--light h2::before, .section-head--light h2::after { box-shadow: 0 0 0 4px var(--agave), 0 0 0 6px var(--marigold); }

/* Menu */
.menu { position: relative; background: transparent; color: var(--cream-raised); padding: 110px 0 120px; isolation: isolate; --section-colour: var(--agave); --pattern-cover: 92%; }
/* One continuous coloured pattern runs through the torn edge and the entire section.
   The masks overlap by one pixel to avoid a hairline at fractional zoom levels. */
.menu::before, .footer::before { content: ""; position: absolute; inset: -38px 0 0; z-index: -1; background-color: var(--section-colour); background-image: linear-gradient(color-mix(in srgb, var(--section-colour) var(--pattern-cover), transparent), color-mix(in srgb, var(--section-colour) var(--pattern-cover), transparent)), url("assets/img/pattern-mono.webp"); background-size: auto, 520px; background-position: 0 0; background-blend-mode: normal, multiply; -webkit-mask: var(--torn) top / 100% 40px no-repeat, linear-gradient(#000, #000) 0 39px / 100% calc(100% - 39px) no-repeat; mask: var(--torn) top / 100% 40px no-repeat, linear-gradient(#000, #000) 0 39px / 100% calc(100% - 39px) no-repeat; pointer-events: none; }
.menu__edge, .footer__edge { display: none; }
.tabs { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; padding: 6px; margin: 0 auto 14px; width: fit-content; max-width: 100%; background: var(--agave-deep); border-radius: 999px; }
.tab { position: relative; z-index: 1; border: 0; background: none; color: var(--cream-raised); font: 700 14px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; padding: 14px 22px; border-radius: 999px; cursor: pointer; transition: color .3s; }
.tab[aria-selected="true"] { color: var(--ink); }
.tabs__ink { position: absolute; z-index: 0; top: 0; height: 0; left: 0; width: 0; border-radius: 999px; background: var(--sun); transition: transform .5s var(--ease-pop), width .5s var(--ease-pop), height .5s var(--ease-pop); }
.menu__note { text-align: center; color: var(--sun); font: 400 26px/1.2 var(--f-script); min-height: 32px; margin-bottom: 22px; }
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip { border: 2px solid rgba(255,248,236,.5); background: transparent; color: var(--cream-raised); font: 500 14px/1 var(--f-body); padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease-pop); }
.chip:hover { border-color: var(--cream-raised); transform: translateY(-2px); }
.chip.is-on { background: var(--cream-raised); color: var(--agave-deep); border-color: var(--cream-raised); }
.menu__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.item { position: relative; background: var(--cream-raised); color: var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 0 rgba(0,0,0,.2); display: flex; flex-direction: column; cursor: pointer; transition: transform .4s var(--ease-pop), box-shadow .4s; text-align: left; border: 0; padding: 0; font: inherit; }
.item:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: 0 16px 0 rgba(0,0,0,.2); }
.item.is-entering { animation: card-in .6s var(--ease-pop) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(40px) rotate(3deg) scale(.94); } }
.item__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.item:hover .item__img img { transform: scale(1.08) rotate(2deg); }
.item__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.item__top { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.item h3 { font-size: 21px; color: var(--chilli); }
.item p { margin: 0; color: var(--ink-muted); font-size: 15.5px; line-height: 1.5; }
.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; }
.menu__more { text-align: center; margin-top: 18px; font-size: 15px; color: rgba(255,248,236,.9); }
.menu__more a { color: var(--sun); font-weight: 700; }
.book__submit { white-space: normal; line-height: 1.25; padding-top: 12px; padding-bottom: 12px; text-align: center; }
.book__submit:disabled { opacity: .6; cursor: progress; transform: none; }
.item__price { font: 700 16px/1 var(--f-body); color: var(--chilli); }
.item__more { margin-top: auto; padding-top: 8px; font: 700 13px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--agave); }
.item--text { background: var(--cream); border: 2px dashed var(--line); box-shadow: 0 8px 0 rgba(0,0,0,.14); cursor: default; }
.item--text:hover { transform: translateY(-4px); }
.item--text .item__body { padding: 26px 24px; }
.tags { display: flex; gap: 6px; flex: none; }
.tag { display: inline-grid; place-items: center; min-width: 30px; height: 24px; padding: 0 7px; border-radius: 999px; font: 700 11px/1 var(--f-body); letter-spacing: .04em; }
.tag--v { background: #d8ecdc; color: var(--agave-deep); }
.tag--gf { background: #fbe3b4; color: #6b4100; }
.tag--spicy { background: #f6d2cf; color: var(--chilli-deep); }
.tag--fav { background: var(--sun); color: var(--ink); }
.tag--share { background: #e6dccd; color: var(--ink); }
.menu__empty { text-align: center; color: var(--sun); font-weight: 500; }
.menu__legend { text-align: center; margin-top: 40px; font-size: 14px; color: rgba(255,248,236,.85); }
.menu__legend .tag { margin: 0 4px 0 12px; }

/* Visit */
.visit { padding: 130px 0 110px; }
.visit .wrap { max-width: 1560px; padding-left: max(40px, env(safe-area-inset-left)); }
.visit__inner { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.visit__photo { position: relative; }
.visit__photo img { border-radius: 8px; transform: rotate(-2deg); box-shadow: 0 0 0 10px var(--cream-raised), 0 20px 40px rgba(29,23,20,.25); width: 100%; height: auto; }
.visit__pin { position: absolute; left: -10px; bottom: 26px; background: var(--chilli); color: var(--cream-raised); font: 400 18px/1 var(--f-display); text-transform: uppercase; padding: 14px 20px; transform: rotate(-6deg); box-shadow: var(--sticker); }
.visit__info h2 { font-size: clamp(34px, 4.6vw, 52px); color: var(--chilli); margin-bottom: 18px; }
.visit__info > p { color: var(--ink-muted); }
.hours { margin: 26px 0; border-top: 2px solid var(--line); }
.hours__row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 12px 10px; border-bottom: 2px dashed var(--line); transition: background-color .3s; font-variant-numeric: tabular-nums; }
.hours__row b { font-weight: 700; }
.hours__row span { color: var(--ink-muted); }
.hours__row.is-today { background: var(--cream-raised); border-radius: 8px; border-bottom-color: transparent; box-shadow: inset 4px 0 0 var(--chilli); }
.hours__row.is-today b { color: var(--chilli); }
.hours__row.is-today b::after { content: "Today"; display: block; width: fit-content; margin-top: 5px; font: 700 10px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; background: var(--chilli); color: var(--cream-raised); padding: 3px 7px; border-radius: 999px; vertical-align: 2px; }
.visit__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Book */
.book { position: relative; background: var(--marigold); padding: 110px 0 130px; overflow: hidden; }
.book::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 40px; background: var(--cream); -webkit-mask: var(--torn) center / 100% 100%; mask: var(--torn) center / 100% 100%; transform: scaleY(-1); }
.book__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 64px; align-items: start; }
.book__copy h2 { font-size: clamp(38px, 5.4vw, 64px); color: var(--chilli-deep); margin-bottom: 18px; }
.book__copy .eyebrow { color: var(--chilli-deep); }
.book__copy a { font-weight: 700; }
.book__perks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.book__perks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.book__perks li::before { content: ""; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--agave) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff8ec' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.book__card { position: relative; background: var(--cream-raised); border-radius: 18px; padding: 34px 32px; box-shadow: 0 12px 0 var(--chilli-deep); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field .label { font-weight: 700; font-size: 14px; }
.field label i { font-weight: 400; color: var(--ink-muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input, select, textarea { width: 100%; min-width: 0; font: 400 16px/1.4 var(--f-body); color: var(--ink); background: var(--cream); border: 2px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
/* iPhone Safari gives date/time fields a large built-in minimum width; let them shrink to the box. */
input[type="date"], input[type="time"] { min-width: 0; -webkit-appearance: none; appearance: none; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--agave); box-shadow: 0 0 0 4px rgba(30,107,58,.18); }
.is-invalid { border-color: var(--chilli) !important; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--cream); border: 2px solid var(--line); border-radius: 999px; padding: 4px; width: fit-content; }
.stepper button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--agave); color: var(--cream-raised); font: 700 22px/1 var(--f-body); cursor: pointer; transition: transform .2s var(--ease-pop); }
.stepper button:hover { transform: scale(1.1); }
.stepper output { min-width: 48px; text-align: center; font: 400 22px/1 var(--f-display); }
.stepper output.bump { animation: bump .35s var(--ease-pop); }
@keyframes bump { 50% { transform: scale(1.4); color: var(--chilli); } }
.form-error { margin: 0; color: var(--chilli); font-weight: 500; }
.book__done { position: absolute; inset: 0; background: var(--cream-raised); border-radius: 18px; padding: 34px 32px; display: flex; flex-direction: column; justify-content: center; text-align: center; animation: done-in .5s var(--ease-pop); }
.book__done[hidden] { display: none; }
@keyframes done-in { from { opacity: 0; transform: scale(.9); } }
.book__done h3 { font-size: 30px; color: var(--chilli); margin: 14px 0 10px; }
.book__done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.book__fine { color: var(--ink-muted); }
.book__tick { width: 84px; height: 84px; margin: 0 auto; }
.book__tick svg { width: 100%; height: 100%; fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.book__tick circle { stroke: var(--agave); stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .6s ease-out forwards; }
.book__tick path { stroke: var(--chilli); stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .4s ease-out .5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Footer */
.footer { position: relative; background: transparent; color: var(--cream); padding: 80px 0 30px; isolation: isolate; --section-colour: var(--agave-deep); --pattern-cover: 88%; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h3 { font-size: 18px; color: var(--sun); margin-bottom: 14px; }
.footer p { color: rgba(251,241,222,.85); }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__brand img { width: 96px; height: 96px; margin-bottom: 16px; }
.footer__script { font: 400 26px/1.15 var(--f-script); color: var(--cream-raised) !important; }
.footer__tags { font-size: 14px; }
.footer__base { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(251,241,222,.15); font-size: 13px; color: rgba(251,241,222,.6); }

.to-top { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 30; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--chilli); color: var(--cream-raised); font: 700 22px/1 var(--f-body); cursor: pointer; box-shadow: var(--sticker); opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .3s, transform .3s var(--ease-pop); }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }

/* Booking pop-up (holds the same #book-form while open) */
.bookdlg { border: 0; padding: 0; width: min(540px, calc(100% - 32px)); max-height: calc(100dvh - 32px); border-radius: 22px; background: var(--marigold); color: var(--ink); box-shadow: 0 14px 0 var(--chilli-deep); overflow: auto; overscroll-behavior: contain; }
.bookdlg[open] { animation: dish-in .45s var(--ease-pop); }
.bookdlg::backdrop { background: rgba(29,23,20,.65); backdrop-filter: blur(4px); animation: fade .3s; }
.bookdlg__head { padding: 30px 32px 20px; padding-right: 70px; }
.bookdlg__head .eyebrow { color: var(--chilli-deep); }
.bookdlg__head h2 { font-size: clamp(30px, 6vw, 42px); color: var(--chilli-deep); margin: 0 0 8px; }
.bookdlg__head p { margin: 0; }
.bookdlg__head a { font-weight: 700; white-space: nowrap; }
.bookdlg #bookdlg-slot { padding: 0 20px 26px; }
.bookdlg .book__card { opacity: 1; transform: none; box-shadow: 0 8px 0 var(--chilli-deep); }
html.has-modal { overflow: hidden; }
@media (max-width: 560px) {
  .bookdlg { width: calc(100% - 16px); max-height: calc(100dvh - 16px); border-radius: 18px; }
  .bookdlg__head { padding: 22px 20px 16px; padding-right: 64px; }
  .bookdlg #bookdlg-slot { padding: 0 10px 16px; }
}

/* Dish dialog */
.dish { border: 0; padding: 0; width: min(860px, calc(100% - 32px)); max-height: calc(100% - 32px); border-radius: 20px; background: var(--cream-raised); color: var(--ink); box-shadow: 0 14px 0 var(--chilli-deep); overflow: auto; }
.dish[open] { display: grid; grid-template-columns: 1fr 1fr; animation: dish-in .45s var(--ease-pop); }
.dish::backdrop { background: rgba(29,23,20,.65); backdrop-filter: blur(4px); animation: fade .3s; }
@keyframes dish-in { from { opacity: 0; transform: translateY(40px) scale(.94) rotate(-2deg); } }
@keyframes fade { from { opacity: 0; } }
.dish__media { background: var(--line); min-height: 260px; }
.dish__media img { width: 100%; height: 100%; object-fit: cover; }
.dish__media.is-empty { background: var(--marigold) url("assets/logo-192.png") center / 45% no-repeat; }
.dish__body { padding: 40px 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.dish__body h3 { font-size: 34px; color: var(--chilli); }
.dish__body p { color: var(--ink-muted); }
.dish__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.dish__tags .tag { height: 28px; padding: 0 12px; font-size: 12px; }
.dish__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--cream-raised); color: var(--ink); font: 400 28px/1 var(--f-body); cursor: pointer; box-shadow: 0 3px 0 rgba(0,0,0,.2); transition: transform .3s var(--ease-pop); }
.dish__close:hover { transform: rotate(90deg); }

/* Scroll reveals: content is visible without JS; JS opts in */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-load { opacity: 0; animation: rise .8s var(--ease-out) var(--d) forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Responsive */
@media (max-width: 1000px) {
  .nav__links { gap: 18px; }
  .nav__brand i { display: none; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__panel { margin: 0 auto; }
  .hero__plate { width: min(440px, 90%); margin-top: -10px; }
  .menu__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visit__inner, .book__inner { grid-template-columns: 1fr; gap: 48px; }
  .topbar .wrap, .nav .wrap, .visit .wrap { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
/* Use the compact navigation before tablet widths crowd the brand and links. */
@media (max-width: 1100px) {
  .nav__burger { display: flex; flex-direction: column; justify-content: center; }
  .nav__links { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 22px; background: var(--chilli); clip-path: circle(0 at calc(100% - 44px) 60px); visibility: hidden; transition: clip-path .6s var(--ease-out), visibility 0s linear .6s; }
  .nav__links.is-open { clip-path: circle(150% at calc(100% - 44px) 60px); visibility: visible; transition: clip-path .6s var(--ease-out), visibility 0s; }
  .nav__links a:not(.btn) { color: var(--cream-raised); font: 400 clamp(22px, 7.5vw, 34px)/1.05 var(--f-display); text-transform: uppercase; text-align: center; padding: 0 20px; }
  .nav__burger[aria-expanded="true"] { background: var(--cream-raised); }
  .nav__burger[aria-expanded="true"] span { background: var(--chilli); }
  .nav:has(.nav__links.is-open) .nav__brand b { color: var(--cream-raised); }
  .nav:has(.nav__links.is-open)::after { opacity: 0; }
  .nav__links a:not(.btn)::after { background: var(--sun); }
  .nav__cta { background: var(--sun) !important; color: var(--ink) !important; }
  .nav__brand i { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .topbar__links a:first-child { display: none; }
  .hero { padding: 40px 0 90px; }
  .hero__panel { padding: 40px 26px 36px; }
  .sprite { width: calc(var(--s) * .55); left: clamp(-12px, var(--x), calc(100% - var(--s) * .55 + 12px)); top: max(-34px, var(--y)); }
  .hero__sticker { width: 92px; height: 92px; font-size: 12px; }
  .hero__sticker b { font-size: 24px; }
  .flag { width: 34px; height: 32px; }
  .flag:nth-child(n+9) { display: none; }
  .section-head h2::before, .section-head h2::after { display: none; }
  .section-head h2 { white-space: normal; }
  .menu__grid { grid-template-columns: 1fr; }
  .tab { padding: 12px 14px; font-size: 12px; }
  .dish[open] { grid-template-columns: 1fr; }
  .dish__media { min-height: 0; aspect-ratio: 4 / 3; }
  .dish__body { padding: 26px 22px 30px; }
  .field-row { grid-template-columns: 1fr; }
  .book__card { padding: 26px 20px; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .hours__row { grid-template-columns: 100px minmax(0, 1fr); }
}

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