/* Design 3, "Bento". Intentionally light and bright. Shape rule: tiles, cards and
   boxes are 24px rounded, every button and tag is a full pill. Mobile-first. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f6f5f4;
  --tile: #ffffff;
  --ink: #1c1819;
  --muted: #625a5c;
  --line: #e7e2e3;
  --red: #c3283c;
  --red-dark: #a51f31;
  --red-soft: #fbe6e9;
  --radius: 24px;
  --gutter: 16px;
  --topbar-h: 64px;
  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + 16px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  /* Room for the phone action bar. */
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
}
@media (min-width: 768px) { body { padding-bottom: 0; } }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

.shell {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left));
}
@media (min-width: 768px) { :root { --gutter: 24px; } }

.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;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 40;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700;
}
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.icon { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }

h2 {
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

/* --- Pills -------------------------------------------------------------------- */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.2s;
}
.pill:active { transform: scale(0.97); }
.pill-red { background: var(--red); color: #fff; }
.pill-red:hover { background: var(--red-dark); }
.pill-white { background: #fff; color: var(--red-dark); }
.pill-ink { background: var(--ink); color: #fff; }

/* --- Top bar ------------------------------------------------------------------ */

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--topbar-h);
  background: rgb(246 245 244 / 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.topbar-inner { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { margin-right: auto; }
.brand img { height: 48px; width: auto; }
.topnav { display: none; gap: 24px; font-weight: 600; }
.topnav a { text-decoration: none; }
.topnav a:hover { color: var(--red); }
/* The phone bar at the bottom carries Call on small screens. */
.topbar-call { display: none; min-height: 42px; padding: 0 18px; }

@media (min-width: 768px) {
  .topnav { display: flex; }
  .topbar-call { display: inline-flex; }
}

/* --- Tiles -------------------------------------------------------------------- */

.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 8px;
}
.tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--tile);
  text-decoration: none;
  transition: transform 0.3s var(--ease);
}
a.tile:hover { transform: translateY(-3px); }
a.tile:active { transform: scale(0.985); }

.tile-hello {
  grid-column: 1 / -1;
  display: grid;
  align-content: end;
  gap: 16px;
  min-height: 360px;
  padding: 28px 24px;
  background: var(--red);
  color: #fff;
}
.tile-hello h1 {
  font-size: clamp(2.5rem, 11vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
  max-width: 11ch;
}
.tile-hello p { max-width: 34ch; font-size: 1.05rem; color: rgb(255 255 255 / 0.88); }
.tile-hello .pill { justify-self: start; margin-top: 4px; }

.tile-photo { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
/* Zoomed so the rectangle stays inside the round print photo (no paper at the corners). */
.tile-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); }

.tile-status,
.tile-deal {
  display: grid;
  align-content: space-between;
  gap: 12px;
  min-height: 168px;
  padding: 20px;
}
.tile-status { background: var(--ink); color: #fff; }
.tile-deal { background: var(--red-soft); color: var(--red-dark); font-weight: 700; }
.tile-big { font-size: clamp(2.25rem, 9vw, 3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }

.status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: rgb(255 255 255 / 0.8); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: rgb(255 255 255 / 0.5); }
.status[data-open="true"] { color: #fff; }
.status[data-open="true"] .status-dot { background: #4ade80; }
.today-hours span { display: none; font-weight: 600; }
.today-hours span.is-today { display: inline; }

.tile-platter {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px 12px 12px;
  background: var(--tile);
}
.tile-platter img { width: 88px; height: 88px; object-fit: cover; border-radius: 50%; flex: none; }
.tile-platter strong { display: block; font-size: 1.25rem; letter-spacing: -0.02em; }
.tile-platter .tile-go { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--red-dark); white-space: nowrap; }

@media (min-width: 768px) {
  .tiles { grid-template-columns: repeat(4, 1fr); grid-template-rows: auto auto; gap: 16px; padding-top: 16px; }
  .tile-hello { grid-column: 1 / span 2; grid-row: 1 / span 2; min-height: 520px; padding: 40px; }
  .tile-photo { grid-column: 3 / span 2; grid-row: 1; aspect-ratio: auto; min-height: 280px; }
  .tile-status { grid-column: 3; grid-row: 2; }
  .tile-deal { grid-column: 4; grid-row: 2; }
  .tile-platter { grid-column: 1 / -1; grid-row: 3; padding: 16px 32px 16px 16px; }
  .tile-platter img { width: 104px; height: 104px; }
}

@media (prefers-reduced-motion: no-preference) {
  .tile { animation: pop 0.6s var(--ease) both; }
  .tile:nth-child(2) { animation-delay: 0.05s; }
  .tile:nth-child(3) { animation-delay: 0.1s; }
  .tile:nth-child(4) { animation-delay: 0.15s; }
  .tile:nth-child(5) { animation-delay: 0.2s; }
}
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }

/* --- Favorites ---------------------------------------------------------------- */

.favorites { padding-block: 64px 16px; }
.fav-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 62%;
  gap: 16px;
  margin-top: 24px;
  margin-inline: calc(-1 * var(--gutter));
  padding: 8px var(--gutter) 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.fav-row::-webkit-scrollbar { display: none; }
.fav { scroll-snap-align: start; }
.fav a { display: grid; gap: 12px; text-decoration: none; }
.fav-photo { position: relative; display: block; }
.fav-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; transition: transform 0.4s var(--ease); }
.fav a:hover img { transform: rotate(-4deg) scale(1.03); }
/* Round price stickers, as on the printed menu. */
.sticker {
  position: absolute;
  right: 2%;
  bottom: 4%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.fav-name { font-size: 1.2rem; font-weight: 700; text-align: center; }

@media (min-width: 768px) {
  .fav-row { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-inline: 0; padding-inline: 0; overflow: visible; }
}

/* --- Menu --------------------------------------------------------------------- */

.menu { padding-block: 64px; }

.tabs {
  position: sticky;
  top: var(--topbar-h);
  z-index: 20;
  display: flex;
  gap: 8px;
  margin: 20px calc(-1 * var(--gutter)) 0;
  padding: 10px var(--gutter);
  overflow-x: auto;
  background: var(--bg);
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] {
  flex: none;
  min-height: 44px;
  padding: 0 18px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--tile);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.tabs [role="tab"]:hover { border-color: var(--muted); }
.tabs [role="tab"]:active { transform: scale(0.97); }
.tabs [role="tab"][aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (min-width: 1024px) { .tabs { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; } }

.panels { display: grid; gap: 48px; margin-top: 24px; }
.panel:focus-visible { outline-offset: 8px; border-radius: 8px; }
.panel-head { display: grid; gap: 4px; margin-bottom: 16px; }
.panel h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; }
.panel-deal { justify-self: start; padding: 6px 14px; border-radius: 999px; background: var(--red-soft); color: var(--red-dark); font-weight: 700; }
.panel-note { color: var(--muted); }
/* Tabs show the selected panel's own heading only to screen readers' benefit; the tab names it. */
.is-tabbed .panel h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.cards { display: grid; gap: 12px; }
.card {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--tile);
}
.card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.card h4 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.card-price { font-size: 1.1rem; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.card-variants { display: flex; gap: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.card-variants small { font-size: 0.8rem; font-weight: 500; color: var(--muted); }
.card-desc { color: var(--muted); font-size: 0.95rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px 3px 8px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}
.tag .icon { width: 14px; height: 14px; }
.tag-spicy { background: var(--red-soft); color: var(--red-dark); }

@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

.advisory { margin-top: 40px; max-width: 70ch; color: var(--muted); font-size: 0.85rem; }

/* --- Visit -------------------------------------------------------------------- */

.visit { padding-block: 32px 64px; }
.visit-grid { display: grid; gap: 12px; margin-top: 24px; }
.box { border-radius: var(--radius); background: var(--tile); padding: 24px; }
.box h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }

.hours { width: 100%; margin-top: 12px; border-collapse: collapse; }
.hours th, .hours td { padding: 9px 12px; text-align: left; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { background: var(--red-soft); color: var(--red-dark); font-weight: 700; }
.hours tr.is-today th { border-radius: 999px 0 0 999px; }
.hours tr.is-today td { border-radius: 0 999px 999px 0; }

.box-map { padding: 0; overflow: hidden; display: grid; }
.map { min-height: 260px; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 260px; border: 0; }
.box-map-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; }

.box-call { display: grid; gap: 8px; align-content: center; background: var(--ink); color: #fff; }
.box-call p { color: rgb(255 255 255 / 0.75); }
.call-big { font-size: clamp(1.9rem, 8vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; text-decoration: none; }
.call-big:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.insta { display: inline-flex; align-items: center; gap: 8px; justify-self: start; margin-top: 8px; color: rgb(255 255 255 / 0.85); text-decoration: none; font-weight: 600; }
.insta:hover { color: #fff; text-decoration: underline; }

@media (min-width: 900px) {
  .visit-grid { grid-template-columns: 1fr 1.5fr; grid-template-rows: auto auto; gap: 16px; }
  .box-hours { grid-row: 1 / span 2; padding: 32px; }
  .box-map .map, .box-map iframe { min-height: 300px; }
  .box-call { grid-column: 2; padding: 32px; }
}

/* --- Footer ------------------------------------------------------------------- */

.footer { padding-block: 32px 40px; }
.footer-inner { display: grid; justify-items: center; gap: 8px; text-align: center; color: var(--muted); font-size: 0.9rem; }
.footer img { width: 80px; margin-bottom: 4px; }

/* --- Phone action bar --------------------------------------------------------- */

.action-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 30;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 10px 30px rgb(28 24 25 / 0.25);
}
.action-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}
.action-bar a:first-child { background: var(--red); }
.action-bar a:active { transform: scale(0.97); }
@media (min-width: 768px) { .action-bar { display: none; } }
