/* 2 Jefes Tex-Mex — site styles
   Brand tokens come from Brand-guidelines.md (October 2026). */

:root {
  --chile: #DB231C;
  --jalapeno: #359C4A;
  --gold: #F8A220;
  --black: #111111;
  --white: #FFFFFF;
  --stem: #1E672D;
  --cream: #F5ECDC;
  --salsa: #781616;

  --text-soft: #3B3530;

  --f-display: 'Smokum', Georgia, serif;
  --f-cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --f-body: 'Barlow', Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --radius: 4px;
  --rule: 3px solid var(--black);
}

/* Daypart themes: shared by the home poster, the day ribbon and page headers. */
[data-theme] { --bg: var(--salsa); --ink: var(--cream); --display: var(--cream); --accent: var(--gold); --tail: var(--display); --btn-bg: var(--gold); --btn-ink: var(--black); }
[data-theme="brunch"]  { --bg: var(--cream); --ink: var(--black); --display: var(--chile); --accent: var(--stem); --tail: var(--black); --btn-bg: var(--chile); --btn-ink: var(--white); }
[data-theme="lunch"]   { --bg: var(--stem); --ink: var(--white); --display: var(--cream); --accent: var(--gold); --tail: var(--cream); --btn-bg: var(--cream); --btn-ink: var(--stem); }
[data-theme="happy"]   { --bg: var(--gold); --ink: var(--black); --display: var(--black); --accent: var(--salsa); --tail: var(--salsa); --btn-bg: var(--black); --btn-ink: var(--gold); }
[data-theme="dinner"]  { --bg: var(--chile); --ink: var(--white); --display: var(--white); --accent: var(--cream); --tail: var(--black); --btn-bg: var(--white); --btn-ink: var(--chile); }
[data-theme="karaoke"] { --bg: var(--black); --ink: var(--cream); --display: var(--cream); --accent: var(--gold); --tail: var(--chile); --btn-bg: var(--gold); --btn-ink: var(--black); }
[data-theme="late"],
[data-theme="closed"]  { --bg: var(--salsa); --ink: var(--cream); --display: var(--cream); --accent: var(--gold); --tail: var(--gold); --btn-bg: var(--gold); --btn-ink: var(--black); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button { font: inherit; color: inherit; }

h1, h2, .display {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: 0.01em;
  margin: 0;
}
h1 { font-size: clamp(2.5rem, 4.4vw + 1rem, 4rem); }
h2 { font-size: clamp(1.875rem, 2vw + 1rem, 2.5rem); }
h3 {
  font-family: var(--f-cond);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(1.25rem, 0.6vw + 1.05rem, 1.5rem);
  line-height: 1.1;
  margin: 0;
}
.eyebrow {
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 14px;
}
.lede { font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.25rem); max-width: 40ch; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; box-shadow: 0 0 0 2px var(--black); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--black); color: var(--white); padding: 10px 16px; font-family: var(--f-cond); font-weight: 800; text-transform: uppercase; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.6em 1.35em;
  font-family: var(--f-cond); font-weight: 800; font-size: 1.125rem;
  text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.1;
  text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--red { background: var(--chile); color: var(--white); }
.btn--red:hover { background: var(--salsa); }
.btn--black { background: var(--black); color: var(--white); }
.btn--black:hover { background: var(--stem); }
.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--cream); }
.btn--white { background: var(--white); color: var(--stem); }
.btn--white:hover { background: var(--cream); }
.btn--line { background: transparent; border-color: currentColor; }
.btn--line:hover { background: var(--black); border-color: var(--black); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Draft banner ---------- */
.draft { background: var(--gold); color: var(--black); font-family: var(--f-cond); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em; text-align: center; padding: 8px var(--gutter); }
.draft strong { font-weight: 800; text-transform: uppercase; }

/* ---------- Top bar ---------- */
.topbar { background: var(--black); color: var(--cream); font-family: var(--f-cond); font-weight: 600; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.topbar a { text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--jalapeno); flex: none; }
.status.is-closed .status__dot { background: var(--chile); }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar .social a:hover { color: var(--black); }
.lang { display: inline-flex; border: 1px solid rgba(245, 236, 220, .45); border-radius: var(--radius); overflow: hidden; }
.lang button { background: transparent; border: 0; min-width: 40px; min-height: 34px; padding: 0 10px; cursor: pointer; font-family: var(--f-cond); font-weight: 800; letter-spacing: 0.06em; }
.lang button[aria-pressed="true"] { background: var(--cream); color: var(--black); }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: var(--rule); position: relative; z-index: 30; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 10px; padding-bottom: 10px; }
.logo { flex: none; display: block; }
.logo img { width: 190px; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav a {
  font-family: var(--f-cond); font-weight: 800; font-size: 1.125rem;
  text-transform: uppercase; letter-spacing: 0.03em; text-decoration: none;
  padding: 8px 0; border-bottom: 3px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--chile); }
.header__ctas { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border: 2px solid var(--black); border-radius: var(--radius); background: var(--white); cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; }

.mobile-nav { position: fixed; inset: 0; z-index: 120; background: var(--black); color: var(--cream); overflow-y: auto; }
.mobile-nav[hidden] { display: none; }
.mobile-nav__inner { min-height: 100%; display: flex; flex-direction: column; gap: 28px; padding: 20px var(--gutter) 40px; }
.mobile-nav__top { display: flex; justify-content: space-between; align-items: center; }
.mobile-nav__top img { width: 180px; }
.mobile-nav__close { width: 48px; height: 48px; border: 2px solid var(--cream); border-radius: var(--radius); background: transparent; color: var(--cream); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mobile-nav ul a { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(2.5rem, 12vw, 4rem); line-height: 1.05; text-decoration: none; }
.mobile-nav ul a[aria-current="page"] { color: var(--gold); }
.mobile-nav .btn-row .btn { flex: 1 1 200px; }

@media (max-width: 1023px) {
  .nav, .header__ctas .btn--line { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 599px) {
  .header__ctas .btn { display: none; }
  .logo img { width: 180px; }
  .topbar__phone, .topbar .social { display: none; }
}

/* ---------- Home: live poster ---------- */
.poster {
  position: relative;
  background: var(--bg);
  color: var(--ink);
  padding: clamp(10px, 1.6vw, 20px);
  transition: background-color .45s ease, color .45s ease;
  isolation: isolate;
}
.poster::before {
  /* letterpress paper grain */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .09;
  mix-blend-mode: multiply;
}
.poster[data-theme="karaoke"]::before { mix-blend-mode: screen; opacity: .07; filter: invert(1); }
.poster__frame {
  position: relative;
  max-width: 1320px; margin: 0 auto;
  border: 3px solid currentColor;
  padding: clamp(30px, 5vw, 64px) clamp(16px, 4vw, 56px);
  min-height: min(70vh, 640px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(14px, 2vw, 22px);
  text-align: center;
}
.poster__frame::before { content: ""; position: absolute; inset: 6px; border: 1px solid currentColor; opacity: .55; pointer-events: none; }
.poster__when {
  font-family: var(--f-cond); font-weight: 800; font-size: clamp(0.95rem, 0.5vw + 0.85rem, 1.15rem);
  text-transform: uppercase; letter-spacing: 0.16em; margin: 0;
  display: inline-flex; align-items: center; gap: 0.7em;
}
.poster__when .star { color: var(--accent); }
.poster__title { display: flex; flex-direction: column; align-items: center; gap: clamp(4px, 1vw, 12px); width: 100%; line-height: 0.9; }
.poster__kicker { display: block; color: var(--accent); font-size: clamp(1.5rem, 2.4vw + 0.8rem, 2.75rem); }
.poster__main { display: block; color: var(--display); font-size: clamp(3.5rem, 14vw, 11rem); line-height: 0.86; white-space: nowrap; }
.poster__tail { display: flex; align-items: center; justify-content: center; gap: 0.45em; width: 100%; color: var(--tail); font-size: clamp(1.75rem, 3.6vw + 0.8rem, 3.75rem); }
.poster__tail::before, .poster__tail::after { content: ""; flex: 0 1 140px; height: 3px; background: currentColor; }
.poster__copy { max-width: 46ch; margin: 4px auto 0; font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.25rem); }
.poster__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.poster__ctas .btn--primary { background: var(--btn-bg); color: var(--btn-ink); }
.poster__ctas .btn--primary:hover { filter: brightness(1.08); }
.poster__ctas .btn--line:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.poster__foot {
  margin: clamp(8px, 2vw, 18px) 0 0; padding-top: 14px; width: min(100%, 760px);
  border-top: 1px solid currentColor;
  font-family: var(--f-cond); font-weight: 600; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.poster__foot a { text-decoration: none; }
.poster__foot a:hover { text-decoration: underline; }
.poster__back { background: none; border: 0; padding: 4px; cursor: pointer; font-family: var(--f-cond); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; text-decoration: underline; color: inherit; }
.poster__back[hidden] { display: none; }

.poster.is-switching .poster__anim { animation: rise .55s cubic-bezier(.2, .7, .2, 1) both; }
.poster.is-switching .poster__main { animation-delay: .06s; }
.poster.is-switching .poster__tail { animation-delay: .12s; }
.poster.is-switching .poster__copy { animation-delay: .18s; }
.poster.is-switching .poster__ctas { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Home: the day ribbon ---------- */
.day { padding: clamp(32px, 4vw, 56px) 0 clamp(40px, 5vw, 72px); border-bottom: var(--rule); }
.day__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 24px; }
.day__top p { margin: 8px 0 0; max-width: 52ch; color: var(--text-soft); }
.day__tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.day__tab {
  position: relative; min-width: 48px; min-height: 44px; padding: 0 10px;
  font-family: var(--f-cond); font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1rem;
  background: var(--white); border: 2px solid var(--black); border-radius: var(--radius); cursor: pointer;
}
.day__tab:hover { background: var(--cream); }
.day__tab[aria-pressed="true"] { background: var(--black); color: var(--white); }
.day__tab.is-today::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--chile); }

.ribbon { margin-top: 34px; }
.ribbon__scale { position: relative; height: 24px; font-family: var(--f-cond); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-soft); }
.ribbon__tick { position: absolute; bottom: 4px; transform: translateX(-50%); white-space: nowrap; }
.ribbon__tick:first-child { transform: none; }
.ribbon__tick:last-child { transform: translateX(-100%); }
.ribbon__bar {
  position: relative; height: 76px;
  border: var(--rule); border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, var(--white) 0 7px, rgba(17, 17, 17, .14) 7px 8px);
}
.ribbon__seg {
  position: absolute; top: 0; bottom: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 0 6px; overflow: hidden; white-space: nowrap;
  background: var(--bg); color: var(--ink);
  border: 0; border-left: var(--rule);
  font-family: var(--f-cond); font-weight: 800; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.04em;
  cursor: pointer;
}
.ribbon__seg:first-child { border-left: 0; }
.ribbon__seg:hover .ribbon__label, .ribbon__seg[aria-pressed="true"] .ribbon__label { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ribbon__seg[aria-pressed="true"] { box-shadow: inset 0 -7px 0 var(--black); }
.ribbon__seg[data-theme="karaoke"][aria-pressed="true"] { box-shadow: inset 0 -7px 0 var(--gold); }
.ribbon__seg:focus-visible { z-index: 2; }
.ribbon__now { position: absolute; top: -3px; bottom: -10px; width: 3px; margin-left: -1.5px; background: var(--black); pointer-events: none; z-index: 3; }
.ribbon__now::before { content: ""; position: absolute; top: 0; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--black); }
.ribbon__now span { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 4px; background: var(--black); color: var(--white); font-family: var(--f-cond); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.06em; padding: 2px 7px; border-radius: 3px; white-space: nowrap; }
.ribbon__now[hidden] { display: none; }

.day__list { list-style: none; margin: 46px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.day__item button {
  width: 100%; display: block; text-align: left; background: none; border: 0; border-top: 2px solid var(--black);
  padding: 14px 0 18px; cursor: pointer;
}
.day__item button:hover .board-row__label, .day__item button[aria-pressed="true"] .board-row__label { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.day__item .chip { display: inline-block; width: 14px; height: 14px; border-radius: 3px; background: var(--bg); border: 2px solid var(--black); margin-right: 10px; transform: translateY(1px); flex: none; }
.day__item p { margin: 6px 0 0; color: var(--text-soft); font-size: 1rem; }

/* ---------- Photos ---------- */
.photo { position: relative; margin: 0; min-width: 0; }
.photo img { width: 100%; height: auto; object-fit: cover; border: var(--rule); border-radius: var(--radius); background: var(--cream); }
.photo figcaption { margin-top: 12px; font-family: var(--f-cond); font-weight: 800; font-size: 1.125rem; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.2; }
.photo figcaption small { display: block; margin-top: 2px; font-family: var(--f-body); font-weight: 400; font-size: 0.95rem; text-transform: none; letter-spacing: 0; opacity: .8; }
/* Draft only: flag stock images so the client knows which ones to replace */
.is-draft .photo[data-stock]::after {
  content: "Stock photo"; position: absolute; top: 10px; left: 10px;
  background: var(--gold); color: var(--black); border-radius: 3px; padding: 2px 7px;
  font-family: var(--f-cond); font-weight: 800; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em;
}
html:lang(es) .is-draft .photo[data-stock]::after { content: "Foto de muestra"; }
.is-draft .photo--thumb[data-stock]::after { content: "Stock"; top: 5px; left: 5px; padding: 1px 5px; font-size: 0.65rem; }
html:lang(es) .is-draft .photo--thumb[data-stock]::after { content: "Muestra"; }

/* A row of photos at one shared height: each grows in proportion to its aspect ratio (--ar). */
.photo-row { display: flex; gap: clamp(12px, 1.6vw, 22px); }
.photo-row .photo { flex: var(--ar, 1.333) 1 0; }
.photo-row .photo img { aspect-ratio: var(--ar, 1.333); }

.kitchen { background: var(--black); color: var(--cream); padding: clamp(56px, 7vw, 104px) 0; border-bottom: var(--rule); }
.kitchen__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: clamp(24px, 3vw, 40px); }
.kitchen .eyebrow { color: var(--gold); }
.kitchen__head p { max-width: 46ch; margin: 0; color: rgba(245, 236, 220, .82); }
.kitchen .photo img { border-color: var(--cream); }

.section--photos { padding: clamp(36px, 5vw, 64px) 0; }

/* ---------- Menu-board rows (label …… value) ---------- */
.board-row { display: flex; align-items: baseline; gap: 0.5em; }
.board-row__label { font-family: var(--f-cond); font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; font-size: 1.25rem; line-height: 1.15; }
.board-row__dots { flex: 1 1 auto; min-width: 1.25em; border-bottom: 2px dotted currentColor; opacity: .55; transform: translateY(-0.28em); }
.board-row__value { font-family: var(--f-cond); font-weight: 800; font-size: 1.25rem; white-space: nowrap; text-align: right; }
.board { list-style: none; margin: 0; padding: 0; }
.board li { padding: 12px 0; border-top: 1px solid currentColor; border-color: rgba(17, 17, 17, .18); }
.board--light li { border-color: rgba(245, 236, 220, .28); }
.board li:first-child { border-top: 0; }

/* ---------- Home: favorites ---------- */
.faves { background: var(--cream); padding: clamp(56px, 8vw, 120px) 0; border-bottom: var(--rule); }
.faves__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.faves__intro h2 { color: var(--chile); margin-bottom: 18px; }
.faves__intro .lede { color: var(--text-soft); }
.rating { margin-top: 32px; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: center; }
.rating__num { grid-row: span 2; font-family: var(--f-cond); font-weight: 800; font-size: 4rem; line-height: .9; }
.stars { position: relative; display: inline-block; font-size: 1.4rem; letter-spacing: 3px; line-height: 1; color: rgba(17, 17, 17, .2); }
.stars::before { content: "★★★★★"; }
.stars__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: var(--gold); -webkit-text-stroke: .5px #b36f00; }
.stars__fill::before { content: "★★★★★"; }
.rating__meta { font-family: var(--f-cond); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.95rem; }
.faves__list { list-style: none; margin: 0; padding: 0; }
.fave { padding: 22px 0 24px; border-top: var(--rule); display: grid; grid-template-columns: clamp(96px, 12vw, 168px) minmax(0, 1fr); gap: 0 clamp(16px, 2vw, 28px); align-items: start; }
.fave .photo img { aspect-ratio: 4 / 3; border-width: 2px; }
.fave:last-child { border-bottom: var(--rule); }
.fave .board-row__label { font-size: clamp(1.5rem, 1.2vw + 1.1rem, 2.125rem); }
.fave .board-row__value { font-size: clamp(1.25rem, 0.6vw + 1.05rem, 1.6rem); color: var(--stem); }
.fave p { margin: 8px 0 0; color: var(--text-soft); max-width: 52ch; }
.fave small { display: block; margin-top: 4px; font-family: var(--f-cond); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; color: var(--salsa); }
.faves__cta { margin-top: 32px; }

/* ---------- Home: events + catering duo ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; border-bottom: var(--rule); }
.duo__panel { padding: clamp(56px, 7vw, 104px) var(--gutter); }
.duo__panel--events { background: var(--salsa); color: var(--cream); }
.duo__panel--catering { background: var(--stem); color: var(--white); border-left: var(--rule); }
.duo__inner { max-width: 540px; }
.duo__panel--events .duo__inner { margin-left: auto; margin-right: clamp(0px, 3vw, 40px); }
.duo__panel--catering .duo__inner { margin-left: clamp(0px, 3vw, 40px); }
.duo h2 { margin-bottom: 18px; }
.duo .eyebrow { color: var(--gold); }
.duo__panel--catering .eyebrow { color: var(--cream); }
.duo .board { margin: 28px 0 32px; }
.duo__uses { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 10px; }
.duo__uses li { font-family: var(--f-cond); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; letter-spacing: 0.02em; padding-left: 26px; position: relative; }
.duo__uses li::before { content: "★"; position: absolute; left: 0; color: var(--gold); }

/* ---------- Visit ---------- */
.visit { padding: clamp(56px, 8vw, 112px) 0; }
.visit__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.visit h2 { color: var(--chile); margin-bottom: 18px; }
.address { font-style: normal; font-size: 1.25rem; margin-bottom: 8px; }
.address strong { font-family: var(--f-cond); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; letter-spacing: 0.02em; display: block; }
.visit__note { color: var(--text-soft); }
.hours-title { margin: 36px 0 8px; }
.hours .board-row__label, .hours .board-row__value { font-size: 1.125rem; }
.hours li.is-today { position: relative; }
.hours li.is-today .board-row__label::after {
  content: attr(data-today); margin-left: 10px; padding: 1px 7px; border-radius: 3px;
  background: var(--gold); color: var(--black); font-size: 0.8rem; letter-spacing: 0.06em; vertical-align: 2px;
}
.hours li.is-late .board-row__label { color: var(--salsa); }
.footer__hours li.is-late .board-row__label { color: var(--gold); }
.map-frame { border: var(--rule); border-radius: var(--radius); overflow: hidden; background: var(--cream); aspect-ratio: 4 / 3.4; }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.visit .btn-row { margin-top: 22px; }

/* ---------- La Lista sign-up ---------- */
.lista { background: var(--gold); color: var(--black); padding: clamp(48px, 6vw, 88px) 0; border-top: var(--rule); }
.lista__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.lista h2 { margin-bottom: 12px; }
.lista .eyebrow { color: var(--salsa); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--cream); }
.footer__grid { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); gap: 40px clamp(28px, 4vw, 64px); padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(40px, 5vw, 64px); }
.footer__logo img { width: 190px; }
.footer__aka { margin-top: 16px; font-size: 0.95rem; color: rgba(245, 236, 220, .75); max-width: 24ch; }
.site-footer h2 { font-family: var(--f-cond); font-weight: 800; font-size: 1rem; letter-spacing: 0.14em; color: var(--gold); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer__hours { font-size: 1rem; }
.footer__hours .board-row__label, .footer__hours .board-row__value { font-size: 1rem; font-weight: 600; }
.footer__hours li { padding: 4px 0; border: 0; }
.footer__legal { background: var(--stem); color: var(--white); font-size: 0.9rem; }
.footer__legal .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 14px; padding-bottom: 14px; }
/* ---------- Social icons ---------- */
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.social li:has(> [hidden]) { display: none; }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 2px solid currentColor; border-radius: 50%;
  color: inherit; text-decoration: none; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.social a[href]:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.social svg { width: 20px; height: 20px; }
.social a.is-pending { opacity: .45; cursor: default; }
.social--small { gap: 6px; }
.social--small a { width: 32px; height: 32px; border-width: 1px; }
.social--small svg { width: 16px; height: 16px; }
.site-footer .social { display: flex; gap: 10px; margin-top: 22px; }
.mobile-nav .social { display: flex; gap: 12px; }
.mobile-nav .social a { width: 48px; height: 48px; }

/* ---------- Mobile action bar ---------- */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--black); border-top: 2px solid var(--black); padding-bottom: env(safe-area-inset-bottom); }
.action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 60px; padding: 6px 4px; color: var(--cream); text-decoration: none; font-family: var(--f-cond); font-weight: 800; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.action-bar a + a { border-left: 1px solid rgba(245, 236, 220, .18); }
.action-bar svg { width: 22px; height: 22px; }
.action-bar a.is-primary { background: var(--chile); color: var(--white); }
@media (max-width: 899px) { body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); } }
@media (min-width: 900px) { .action-bar { display: none; } }

/* ---------- Inner page headers ---------- */
.page-hero { background: var(--bg); color: var(--ink); padding: clamp(44px, 7vw, 100px) 0 clamp(36px, 5vw, 72px); border-bottom: var(--rule); }
.page-hero h1 { color: var(--display); max-width: 12em; }
.page-hero .eyebrow { color: var(--accent); }
/* gold is too light for small text on Stem Green (3.9:1) */
.page-hero[data-theme="lunch"] .eyebrow, .page-hero[data-theme="lunch"] .spec dt { color: var(--cream); }
.page-hero .lede { margin-top: 18px; max-width: 48ch; }
.page-hero .btn-row { margin-top: 28px; }
.page-hero .btn--primary { background: var(--btn-bg); color: var(--btn-ink); }
.page-hero .btn--line:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.spec { margin-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 2px solid currentColor; }
.spec div { padding: 16px 16px 4px 0; }
.spec dt { font-family: var(--f-cond); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.9rem; color: var(--accent); }
.spec dd { margin: 4px 0 0; font-family: var(--f-cond); font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 1.5vw + 1rem, 2.25rem); line-height: 1.05; }

.section { padding: clamp(56px, 7vw, 104px) 0; }
.section--cream { background: var(--cream); }
.section + .section { border-top: var(--rule); }
.section__head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head h2 { color: var(--chile); margin-bottom: 14px; }
.section__head p { color: var(--text-soft); }

.uses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 clamp(28px, 4vw, 56px); }
.uses li { border-top: 2px solid var(--black); padding: 18px 0 26px; }
.uses p { margin: 8px 0 0; color: var(--text-soft); font-size: 1rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px clamp(28px, 4vw, 56px); counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; }
.steps li::before { content: counter(step); grid-row: span 2; font-family: var(--f-display); font-size: 3.25rem; line-height: .85; color: var(--chile); }
.steps p { margin: 0; color: var(--text-soft); font-size: 1rem; }

.form-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.form-wrap__aside h2 { color: var(--chile); margin-bottom: 14px; }
.form-wrap__aside p { color: var(--text-soft); }
.form-wrap__aside .call { margin-top: 24px; font-family: var(--f-cond); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; }
.form-wrap__aside .call a { color: var(--chile); }

.faq { max-width: 820px; }
.faq details { border-top: 2px solid var(--black); }
.faq details:last-child { border-bottom: 2px solid var(--black); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 0; font-family: var(--f-cond); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; letter-spacing: 0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-cond); font-size: 1.75rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; color: var(--text-soft); max-width: 64ch; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.field label, .field legend { display: block; margin-bottom: 6px; font-family: var(--f-cond); font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; font-size: 1rem; }
.field .opt { font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--text-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 10px 14px;
  font-family: var(--f-body); font-size: 1rem; color: var(--black);
  background: var(--white); border: 2px solid var(--black); border-radius: var(--radius);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 0; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--chile); box-shadow: 0 0 0 1px var(--chile); }
.field__hint { margin: 6px 0 0; font-size: 0.9rem; color: var(--text-soft); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; line-height: 1.45; }
.check input { width: 20px; height: 20px; flex: none; margin: 2px 0 0; accent-color: var(--chile); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 18px 20px; border-radius: var(--radius); border: 2px solid var(--black); background: var(--white); font-size: 1rem; }
.form-status[hidden] { display: none; }
.form-status strong { display: block; font-family: var(--f-cond); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; margin-bottom: 4px; }
.form-status.is-ok { border-color: var(--stem); }
.form-status.is-ok strong { color: var(--stem); }
.form-status.is-warn { border-color: var(--chile); }
.form-status.is-warn strong { color: var(--chile); }
.form-status a { font-weight: 600; }
.form .btn { justify-self: start; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.lista .form__row { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }

/* ---------- Menu page ---------- */
.menu-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.search { position: relative; flex: 1 1 280px; max-width: 420px; }
.search svg { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); pointer-events: none; }
.search input { width: 100%; min-height: 50px; padding: 10px 14px 10px 44px; font: inherit; font-size: 1rem; border: 2px solid var(--black); border-radius: var(--radius); background: var(--white); color: var(--black); }
.toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 16px; border: 2px solid var(--black); border-radius: var(--radius); background: var(--white); cursor: pointer; font-family: var(--f-cond); font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; font-size: 1rem; }
.toggle__box { width: 18px; height: 18px; border: 2px solid var(--black); border-radius: 3px; display: inline-flex; align-items: center; justify-content: center; }
.toggle[aria-pressed="true"] { background: var(--stem); border-color: var(--stem); color: var(--white); }
.toggle[aria-pressed="true"] .toggle__box { border-color: var(--white); background: var(--white); }
.toggle[aria-pressed="true"] .toggle__box::after { content: ""; width: 8px; height: 8px; background: var(--stem); border-radius: 1px; }

.menu-chips { position: sticky; top: 0; z-index: 25; background: var(--white); border-bottom: var(--rule); }
.menu-chips__scroll { display: flex; gap: 6px; overflow-x: auto; padding: 10px var(--gutter); scrollbar-width: none; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.menu-chips__scroll::-webkit-scrollbar { display: none; }
.menu-chips a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 2px solid var(--black); border-radius: var(--radius); text-decoration: none; font-family: var(--f-cond); font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.95rem; white-space: nowrap; background: var(--white); }
.menu-chips a:hover { background: var(--cream); }
.menu-chips a.is-active { background: var(--black); color: var(--white); }
.menu-chips a[hidden] { display: none; }

.menu-body { background: var(--cream); }
.menu-sec { padding: clamp(44px, 5vw, 72px) 0; border-top: var(--rule); }
.menu-sec:first-child { border-top: 0; }
.menu-sec[hidden] { display: none; }
.menu-sec > * { max-width: calc(var(--max) + 2 * var(--gutter)); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.menu-sec__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; }
.menu-sec__head h2 { color: var(--chile); }
.menu-sec__note { margin: 0; max-width: 62ch; color: var(--text-soft); font-size: 1rem; }
.menu-sec--gold { background: var(--gold); }
.menu-sec--gold .menu-sec__head h2 { color: var(--black); }
.menu-sec--gold .menu-sec__note, .menu-sec--gold .item__desc { color: var(--black); }
.menu-sec--gold .item__price { color: var(--black); }
.menu-list { list-style: none; margin-top: 30px; margin-bottom: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px clamp(32px, 5vw, 80px); }
.item[hidden] { display: none; }
.item--photo { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 0 16px; align-items: start; }
.item--photo .photo img { aspect-ratio: 1; border-width: 2px; }
.item__head { display: flex; align-items: baseline; gap: 0.5em; }
.item__name { font-size: 1.375rem; }
.item__dots { flex: 1 1 auto; min-width: 1.25em; border-bottom: 2px dotted currentColor; opacity: .5; transform: translateY(-0.28em); }
.item__price { font-family: var(--f-cond); font-weight: 800; font-size: 1.25rem; color: var(--stem); white-space: nowrap; }
.item__price--text { white-space: normal; text-align: right; font-size: 1.05rem; min-width: 0; }
.item__desc { margin: 4px 0 0; color: var(--text-soft); font-size: 1rem; max-width: 52ch; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.tag { font-family: var(--f-cond); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; padding: 2px 8px; border-radius: 3px; }
.tag--fav { background: var(--black); color: var(--gold); }
.tag--veg { background: var(--stem); color: var(--white); }
.tag--spicy { background: var(--chile); color: var(--white); }
/* Choices with their own price (Regular / Large, Chicken / Steak…) */
.item__opts { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 6px 0 0; padding: 0; list-style: none; max-width: 52ch; }
.item__opt { display: inline-flex; align-items: baseline; gap: 0.4em; }
.item__opt-name { font-size: 1rem; color: var(--text-soft); }
.item__opt .item__price { font-size: 1.125rem; }
.menu-sec--gold .item__opt-name { color: var(--black); }
/* Draft only: prices the owners still need to confirm (reason in data-confirm) */
.is-draft .item__price[data-confirm] { background: #FFF2A8; color: var(--black); outline: 2px dashed var(--chile); outline-offset: 1px; padding: 0 4px; border-radius: 2px; cursor: help; }
.menu-empty { padding: 64px 0; text-align: center; }
.menu-empty[hidden] { display: none; }
.menu-empty button { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; font-weight: 600; }
.menu-legal { background: var(--white); border-top: var(--rule); padding: 32px 0; font-size: 0.95rem; color: var(--text-soft); }

/* ---------- Plain text pages ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.5rem, 1vw + 1rem, 2rem); color: var(--chile); margin: 40px 0 12px; }
.prose ul { padding-left: 1.2em; }

/* ---------- Responsive ---------- */
@media (max-width: 899px) {
  .faves__grid, .visit__grid, .lista__grid, .form-wrap { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .duo__panel--catering { border-left: 0; border-top: var(--rule); }
  .duo__panel .duo__inner { margin: 0; max-width: 640px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .menu-list { grid-template-columns: 1fr; }
}
@media (max-width: 699px) {
  .ribbon__label { display: none; }
  .ribbon__bar { height: 52px; }
  .ribbon__tick.is-minor { display: none; }
  .day__tabs { width: 100%; flex-wrap: nowrap; }
  .day__tab { flex: 1 1 0; min-width: 0; padding: 0; font-size: 0.9rem; }
  .poster__foot .foot-sep { display: none; }
  .poster__foot .foot-line { display: block; }
  .poster__frame { min-height: 0; }
  .poster__tail::before, .poster__tail::after { flex-basis: 40px; }
  .poster__ctas .btn { flex: 1 1 100%; }
  .poster__foot { font-size: 0.85rem; letter-spacing: 0.06em; }
  .item__name { font-size: 1.25rem; }
  .item--photo { grid-template-columns: 76px minmax(0, 1fr); gap: 0 12px; }
  .photo-row { flex-direction: column; gap: 22px; }
  .photo-row .photo img { aspect-ratio: 4 / 3; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* Phones: one column for forms, full-width buttons that are easy to tap */
@media (max-width: 599px) {
  .lista .form__row { grid-template-columns: 1fr; }
  .faves__cta .btn, .duo .btn, .visit .btn-row .btn, .page-hero .btn-row .btn, .menu-tools .btn, .form .btn { width: 100%; }
  .form .btn { justify-self: stretch; }
  .search { max-width: none; }
  .toggle { flex: 1 1 auto; justify-content: center; }
}

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

@media print {
  .topbar, .site-header nav, .action-bar, .draft, .menu-chips, .menu-tools, .lista { display: none !important; }
  .menu-sec { break-inside: avoid; }
}
