/* Caja de luz: the lit menu board above a kebab counter at night.
   Plum room, copper logo, saffron prices glowing on the board. */
@font-face { font-family: "Big Shoulders"; src: url(../fonts/big-shoulders-display-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Big Shoulders"; src: url(../fonts/big-shoulders-display-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(../fonts/figtree-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(../fonts/figtree-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --plum: #22141C;      /* the room */
  --board: #2E1B26;     /* the lit board */
  --copper: #D39A6E;    /* logo, lines */
  --saffron: #F5B843;   /* prices, main button */
  --mint: #A9DCC1;      /* vegetarian */
  --text: #F6EDE6;
  --soft: #C9B5AB;
  --line: rgba(211, 154, 110, .28);
  --display: "Big Shoulders", "Arial Narrow", Impact, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--plum); color: var(--text); font: 400 1.0625rem/1.6 var(--body); }
img, svg { display: block; max-width: 100%; }
a { color: var(--saffron); text-underline-offset: .2em; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: .95; margin: 0; text-wrap: balance; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--saffron); color: var(--plum); padding: 10px 14px; z-index: 50; }
.skip:focus { left: 12px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(34, 20, 28, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.mark { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 800 1.35rem/1 var(--display); letter-spacing: .02em; }
.mark img { border-radius: 10px; }
.top nav { display: none; gap: 26px; }
.top nav a { color: var(--soft); text-decoration: none; font-weight: 600; padding: 10px 0; }
.top nav a:hover { color: var(--text); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: transform .2s var(--ease), background-color .2s, color .2s; }
.btn-main { background: var(--saffron); color: var(--plum); }
.btn-main:hover { background: var(--text); color: var(--plum); transform: translateY(-2px); }
.btn-line { border: 2px solid var(--copper); color: var(--text); }
.btn-line:hover { background: var(--copper); color: var(--plum); }

/* hero */
.hero { position: relative; isolation: isolate; padding-block: 36px 56px; overflow: hidden; }
/* the spit behind the board: photo first, clip on top once it plays; plum wash keeps text readable */
.hero-media { position: absolute; inset: 0; z-index: -1; background: var(--plum); }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-media video.on { opacity: 1; }
.hero-media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(34, 20, 28, .62) 0%, rgba(34, 20, 28, .80) 38%, rgba(34, 20, 28, .93) 70%, var(--plum) 100%); }
.hero-in { display: grid; gap: 28px; }
.logo { width: min(64vw, 260px); color: var(--copper); justify-self: center; }
.logo text { fill: var(--copper); font-family: var(--display); font-weight: 600; }
.logo-k { font-size: 31px; letter-spacing: 4px; }
.logo-h { font-size: 44px; letter-spacing: 3px; }
.hero h1 { font-size: clamp(3.1rem, 14vw, 6.4rem); letter-spacing: -.01em; }
.lede { margin-top: 16px; color: var(--soft); font-size: 1.15rem; max-width: 34ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.actions .btn { flex: 1 1 200px; }
.facts { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 6px; color: var(--soft); font-size: .98rem; }
.facts strong { color: var(--saffron); font-weight: 600; }

/* menu board */
.menu { padding-block: 56px 64px; border-top: 1px solid var(--line); }
.sec-title { font-size: clamp(2.6rem, 11vw, 4.4rem); color: var(--text); }
.jump { display: flex; gap: 8px; overflow-x: auto; margin: 22px calc(-1 * max(20px, env(safe-area-inset-left))) 0; padding: 4px max(20px, env(safe-area-inset-left)) 10px; scrollbar-width: none; }
.jump::-webkit-scrollbar { display: none; }
.jump a { flex: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; transition: border-color .2s, background-color .2s; }
.jump a:hover { border-color: var(--copper); background: var(--board); }
.board { margin-top: 18px; background: var(--board); border: 1px solid var(--line); border-radius: 20px; padding: 26px 20px 8px; box-shadow: 0 0 0 6px rgba(211, 154, 110, .06), 0 0 60px rgba(245, 184, 67, .10), inset 0 0 40px rgba(245, 184, 67, .05); display: grid; gap: 8px; }
.group { padding-bottom: 22px; }
.group + .group { border-top: 1px dashed var(--line); padding-top: 22px; }
.group h3 { font-size: 2.1rem; color: var(--copper); letter-spacing: .01em; }
.note { color: var(--soft); font-size: .95rem; margin-top: 4px; }
.items { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; }
.items li { display: flex; align-items: baseline; gap: 10px; }
.items .n { flex: 1 1 auto; min-width: 0; font-weight: 600; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.items li::after { content: none; }
.items .n small { font-weight: 400; color: var(--soft); font-size: .9rem; }
.items .p { flex: none; font: 800 1.45rem/1 var(--display); color: var(--saffron); text-shadow: 0 0 14px rgba(245, 184, 67, .35); font-variant-numeric: tabular-nums; }
.veg { font-style: normal; font-weight: 400; font-size: .9rem; color: var(--mint); }
.star .n { color: var(--text); }
.fine { color: var(--soft); font-size: .92rem; margin-top: 18px; }

/* order */
.order { padding-block: 56px; border-top: 1px solid var(--line); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 26px 0 0; display: grid; gap: 22px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; }
.steps li::before { content: counter(s); grid-row: span 2; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--copper); color: var(--copper); display: grid; place-items: center; font: 800 1.6rem/1 var(--display); }
.steps h3 { font-size: 1.8rem; align-self: end; }
.steps p { color: var(--soft); }
.also { margin-top: 28px; color: var(--soft); }

/* place */
.place { padding-block: 56px 64px; border-top: 1px solid var(--line); }
.place-in { display: grid; gap: 34px; }
address { font-style: normal; margin-top: 18px; font-size: 1.15rem; }
.contact { margin: 14px 0 24px; line-height: 2; }
.hours h3 { font-size: 1.8rem; color: var(--copper); }
.hours p { margin-top: 10px; }
.ph { background: #FFF1B8; color: var(--plum); display: inline-block; padding: 2px 8px; border-radius: 4px; font-weight: 600; }

/* footer */
.foot { border-top: 1px solid var(--line); padding-block: 28px 40px; color: var(--soft); font-size: .95rem; }
.foot-in { display: grid; gap: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot a { color: var(--text); display: inline-block; padding: 6px 0; }

/* larger screens */
@media (min-width: 760px) {
  .top nav { display: flex; }
  .board { grid-template-columns: 1fr 1fr; column-gap: 48px; padding: 36px 40px 14px; }
  .group + .group { border-top: 0; padding-top: 0; }
  .group { padding-bottom: 28px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .place-in { grid-template-columns: 1.2fr 1fr; align-items: start; }
  .foot-in { grid-template-columns: auto 1fr auto; align-items: center; }
  .foot nav { justify-content: center; }
}
@media (min-width: 1000px) {
  .hero { padding-block: 72px 96px; }
  .hero-in { grid-template-columns: 360px 1fr; align-items: center; gap: 64px; }
  .logo { width: 340px; }
  .board { grid-template-columns: 1fr 1fr 1fr; }
  #menus, #kebabs { grid-row: span 3; }
  .group + .group { border-top: 0; }
}

/* motion */
@media (prefers-reduced-motion: no-preference) {
  .js .logo .draw, .js .logo .ring { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s var(--ease) forwards; }
  .js .logo .ring-2 { animation-delay: .25s; }
  .js .logo .draw { animation-delay: .5s; }
  .js .logo text { opacity: 0; animation: fade .8s var(--ease) 1.2s forwards; }
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .board { transition: box-shadow 1.2s var(--ease); }
  .js .board:not(.lit) { box-shadow: 0 0 0 6px rgba(211, 154, 110, .02); }
  .js .board.lit .p { animation: glow 1.1s steps(1) 1; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes glow { 0% { opacity: .35; } 12% { opacity: 1; } 20% { opacity: .5; } 30% { opacity: 1; } }

/* legal pages */
.legal { padding-block: 44px 64px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.6rem, 11vw, 4rem); margin-bottom: 18px; }
.legal h2 { font-size: 1.7rem; color: var(--copper); margin: 30px 0 10px; }
.legal p, .legal li { color: var(--text); max-width: 68ch; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; }

/* tap targets */
.mark { min-height: 44px; }
.contact { line-height: 1.4; }
.contact a { display: inline-block; padding: 12px 0; }
.foot a { padding: 12px 0; }

/* dish photos */
.dishes { padding-block: 0 48px; }
.strip { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.strip li { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--board); }
.strip img { width: 100%; height: 100%; object-fit: cover; }
.strip span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 10px 10px; font: 800 1.15rem/1 var(--display); color: var(--text); background: linear-gradient(transparent, rgba(34, 20, 28, .92)); }
.dishes .fine { margin-top: 10px; }
.thumb { width: 56px; height: 56px; flex: none; border-radius: 12px; object-fit: cover; align-self: center; background: var(--plum); }
.items li { align-items: center; }
.order .actions { margin-top: 30px; max-width: 420px; }
@media (min-width: 760px) {
  .hero-media::after { background:
    linear-gradient(90deg, rgba(34, 20, 28, .38) 0%, rgba(34, 20, 28, .55) 36%, rgba(34, 20, 28, .86) 52%, rgba(34, 20, 28, .90) 100%),
    linear-gradient(180deg, transparent 80%, var(--plum) 100%); }
}
@media (min-width: 760px) { .strip { grid-template-columns: repeat(3, 1fr); gap: 18px; } .strip span { font-size: 1.6rem; padding: 40px 18px 16px; } }

/* order window */
.order-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.order-modal[hidden] { display: none; }
.order-modal-backdrop { position: absolute; inset: 0; background: rgba(10, 5, 8, .7); }
.order-modal-inner { position: relative; width: 100%; height: 92vh; height: 92dvh; background: #fff; border-radius: 18px 18px 0 0; overflow: hidden; }
.order-modal-inner iframe { width: 100%; height: 100%; border: 0; display: block; }
.order-modal-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; background: var(--plum); color: var(--text); font-size: 24px; line-height: 1; }
body.modal-open { overflow: hidden; }
@media (min-width: 760px) { .order-modal { align-items: center; padding: 24px; } .order-modal-inner { max-width: 560px; height: min(88vh, 860px); border-radius: 18px; } }
@media (prefers-reduced-motion: no-preference) { .order-modal:not([hidden]) .order-modal-inner { animation: rise .35s var(--ease); } }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } }

/* hours + review */
.now { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 600; }
.now::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--soft); }
.now.open { color: var(--mint); }
.now.open::before { background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.times { margin: 14px 0 0; display: grid; gap: 10px; }
.times div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dashed var(--line); padding-bottom: 10px; }
.times dt { color: var(--soft); }
.times dd { margin: 0; font: 800 1.35rem/1 var(--display); color: var(--saffron); white-space: nowrap; font-variant-numeric: tabular-nums; }
.review { margin-top: 34px; background: var(--board); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.review p { color: var(--soft); margin: 8px 0 18px; }
.rating { color: inherit; text-decoration: none; }
.rating:hover { color: var(--text); text-decoration: underline; }
