/* ==========================================================================
   The Sarnie Shack — street-food style
   See .claude/skills/sarnie-shack-design/SKILL.md for the rules behind this.
   ========================================================================== */

:root {
  --mustard: #ffd54a;
  --mustard-soft: #ffe58a;
  --ketchup: #d9381e;
  --ketchup-dark: #b52d12;
  --lettuce: #5fa64a;
  --lettuce-dark: #3f7d3a;
  --orange: #f28a1a;
  --cream: #fff6e5;
  --paper: #fffdf8;
  --crust: #2b1a0e;
  --crust-soft: #5a4632;

  --outline: 3px solid var(--crust);
  --shadow-hard: 5px 5px 0 var(--crust);
  --shadow-hard-lg: 8px 8px 0 var(--crust);

  --font-display: "Lilita One", "Arial Black", sans-serif;
  --font-script: "Lobster", "Brush Script MT", cursive;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --max: 1160px;
  --gutter: 16px;
  --pop: cubic-bezier(.34, 1.56, .64, 1);
}
@media (min-width: 768px) { :root { --gutter: 28px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
/* Always reserve scrollbar space so the header doesn't shift between short and long pages */
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--crust);
  background: var(--cream);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ketchup-dark); font-weight: 700; }
a:hover { color: var(--ketchup); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(2.8rem, 9vw, 5.5rem); }
h2 { font-size: clamp(2rem, 6vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3.5vw, 2rem); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: 4.5rem 0; overflow-x: clip; }
.script { font-family: var(--font-script); text-transform: none; font-weight: 400; letter-spacing: 0; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--crust); color: #fff; padding: .5rem 1rem; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--ketchup); outline-offset: 3px; }

/* ---------- Squiggle underline on a key word ---------- */
.hl { position: relative; display: inline-block; color: var(--ketchup); white-space: nowrap; }
.hl .squiggle {
  position: absolute;
  left: -2%;
  bottom: -0.32em;
  width: 104%;
  height: 0.38em;
  overflow: visible;
}
.squiggle path { stroke-dasharray: 1; stroke-dashoffset: 0; }

/* ---------- Buttons (stickers) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.5rem;
  border: var(--outline);
  border-radius: 999px;
  box-shadow: var(--shadow-hard);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.1;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--crust); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--crust); }
.btn--order { background: var(--ketchup); color: #fff; }
.btn--order:hover { background: var(--ketchup-dark); color: #fff; }
.btn--plain { background: var(--paper); color: var(--crust); }
.btn--plain:hover { color: var(--crust); background: #fff; }
.btn--mustard { background: var(--mustard); color: var(--crust); }
.btn--mustard:hover { color: var(--crust); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: var(--outline);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
/* Logo gets generous breathing room top and bottom so it never crowds the header edges */
.logo { display: block; padding: 12px 0; line-height: 0; transition: transform .3s var(--pop); }
.logo:hover { transform: rotate(-4deg) scale(1.05); }
.logo img { height: 54px; width: auto; }
.nav-toggle { background: var(--mustard); border: var(--outline); border-radius: 12px; box-shadow: 3px 3px 0 var(--crust); padding: .35rem; cursor: pointer; color: var(--crust); }
.nav-toggle svg { width: 26px; height: 26px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block;
  padding: .8rem var(--gutter);
  color: var(--crust);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ketchup); }
.site-nav .nav-book a {
  margin: .5rem var(--gutter) 1rem;
  text-align: center;
  background: var(--ketchup);
  color: #fff;
  border: var(--outline);
  border-radius: 999px;
  box-shadow: var(--shadow-hard);
}
.site-nav .nav-book a { display: flex; flex-direction: column; align-items: center; line-height: 1.05; }
.site-nav .nav-book .cta-sub { font-family: var(--font-body); font-weight: 800; font-size: .72rem; text-transform: none; letter-spacing: 0; opacity: .9; }
@media (max-width: 859px) {
  /* Mobile: logo centred, menu button on the right */
  .site-header .container { display: grid; grid-template-columns: 1fr auto 1fr; }
  .site-header .logo { grid-column: 2; }
  .site-header .nav-toggle { grid-column: 3; justify-self: end; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: var(--outline); }
  .site-nav.is-open { display: block; }
}
@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .logo { padding: 14px 0; }
  .logo img { height: 70px; }
  .site-nav ul { display: flex; align-items: center; gap: .25rem; }
  .site-nav a { padding: .4rem .8rem; }
  .site-nav a[aria-current="page"]:not(.nav-book a) { text-decoration: underline wavy var(--ketchup) 2px; text-underline-offset: 7px; }
  .site-nav .nav-book a { margin: 0 0 0 .75rem; padding: .55rem 1.3rem; transition: transform .15s ease, box-shadow .15s ease; }
  .site-nav .nav-book a:hover { color: #fff; transform: translate(-2px, -2px) rotate(-2deg); box-shadow: 7px 7px 0 var(--crust); }
}

/* ---------- Marquee strip ---------- */
.marquee {
  background: var(--ketchup);
  color: var(--mustard);
  border-bottom: var(--outline);
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1;
}
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 1.5rem; padding: 1rem .75rem; }
/* Centre on the capital letters themselves (all-caps text otherwise sits high on some
   systems, because space for descenders is reserved below). Older browsers fall back
   to line-height: 1 above. */
@supports (text-box: trim-both cap alphabetic) {
  .marquee__group { padding: 1.1rem .75rem; }
  .marquee__group span { text-box: trim-both cap alphabetic; }
}
.marquee__group span::after { content: "★"; margin-left: 1.5rem; color: #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Open/closed badge (sticker) ---------- */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .9rem;
  border: var(--outline);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--crust);
  background: var(--paper);
  font-weight: 800;
  font-size: .95rem;
  rotate: -2deg;
}
.status-badge::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--crust-soft); border: 2px solid var(--crust); }
.status-badge.is-open { background: #e2f3d6; }
.status-badge.is-open::before { background: var(--lettuce); animation: pulse 1.6s ease-in-out infinite; }
.status-badge.is-closed { background: #fde0d8; }
.status-badge.is-closed::before { background: var(--ketchup); }
@keyframes pulse { 50% { transform: scale(1.35); } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 78% 40%, var(--mustard-soft) 0 22%, transparent 48%),
    var(--mustard);
  padding: 3rem 0 4.5rem;
  overflow: clip;
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { margin: .6em 0 .45em; font-size: clamp(2.6rem, 7.6vw, 4.8rem); }
.hero h1 .line { display: block; }
.hero .lead { font-size: 1.2rem; font-weight: 600; max-width: 34ch; margin: 0 0 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-note { margin: 1.25rem 0 0; font-weight: 700; font-size: .95rem; color: var(--crust-soft); }

.hero-art { position: relative; width: min(100%, 480px); margin: 0 auto; aspect-ratio: 1; }
.blob {
  position: absolute;
  inset: 6%;
  border: var(--outline);
  box-shadow: var(--shadow-hard-lg);
  border-radius: 58% 42% 55% 45% / 48% 58% 42% 52%;
  animation: blob 12s ease-in-out infinite alternate;
}
.blob--orange { background: var(--orange); }
.blob--ketchup { background: var(--ketchup); }
.blob--lettuce { background: var(--lettuce); }
@keyframes blob {
  50% { border-radius: 45% 55% 42% 58% / 55% 45% 58% 42%; }
  100% { border-radius: 52% 48% 60% 40% / 42% 52% 48% 58%; }
}
.hero-food {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 16%;
  rotate: -6deg;
  filter: drop-shadow(0 14px 10px rgba(43, 26, 14, .25));
}
.hero-food img { width: 100%; height: auto; }

/* Starburst sticker */
.burst {
  position: absolute;
  top: -2%;
  right: -2%;
  width: clamp(120px, 30%, 150px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  rotate: 10deg;
  z-index: 2;
}
.burst .burst-shape { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
.burst-text { position: relative; text-align: center; font-family: var(--font-display); text-transform: uppercase; color: #fff; line-height: .95; }
.burst-text small { display: block; font-size: .85rem; color: var(--mustard); }
.burst-text strong { display: block; font-weight: 400; font-size: 1.35rem; }
.burst-text em { display: block; font-style: normal; font-size: 1.5rem; color: var(--mustard); }
@keyframes spin { to { transform: rotate(360deg); } }

.callout {
  position: absolute;
  left: -2%;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  gap: .25rem;
  z-index: 2;
  rotate: -8deg;
}
.callout .doodle { width: 64px; transform: scaleX(-1) rotate(10deg); }
.callout .script { font-size: 1.6rem; color: var(--ketchup-dark); line-height: 1; padding-bottom: .4rem; }

/* Floating doodles */
.float-doodle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s, 40px);
  z-index: 0;
  animation: float var(--t, 6s) ease-in-out var(--d, 0s) infinite alternate;
}
@media (max-width: 899px) { .hide-sm { display: none; } }
@keyframes float {
  from { transform: translateY(-8px) rotate(-8deg); }
  to { transform: translateY(10px) rotate(8deg); }
}

@media (min-width: 900px) {
  .hero { padding: 4.5rem 0 6rem; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; }
}

/* ---------- Section edges ---------- */
.edge { display: block; width: 100%; height: 40px; }
.edge--flip { transform: scaleY(-1); }
@media (min-width: 768px) { .edge { height: 56px; } }
.edge-wrap { line-height: 0; }

/* ---------- Section heads ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head .script { display: block; font-size: clamp(1.4rem, 3.5vw, 1.9rem); color: var(--ketchup); margin-bottom: .2rem; rotate: -3deg; }
.section-head p { font-weight: 600; color: var(--crust-soft); margin: 0; }

/* ---------- What we sell: tilted sticker cards ---------- */
.sell-grid { display: grid; gap: 2.5rem 1.75rem; }
@media (min-width: 700px) { .sell-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .sell-grid { grid-template-columns: repeat(3, 1fr); } }

.sell-card {
  --tilt: -2deg;
  position: relative;
  display: flex;
  flex-direction: column;
  border: var(--outline);
  border-radius: 28px;
  box-shadow: var(--shadow-hard-lg);
  padding: 0 1.6rem 1.75rem;
  margin-top: 5rem;
  rotate: var(--tilt);
  transition: rotate .35s var(--pop), translate .35s var(--pop), box-shadow .25s ease;
}
.sell-card:nth-child(2) { --tilt: 1.5deg; }
.sell-card:nth-child(3) { --tilt: -1deg; }
.sell-card:hover { rotate: 0deg; translate: 0 -6px; box-shadow: 11px 11px 0 var(--crust); }
.sell-card--ketchup { background: var(--ketchup); color: #fff; }
.sell-card--lettuce { background: var(--lettuce); }
.sell-card--orange { background: var(--orange); }

.sell-art { position: relative; width: 200px; height: 170px; margin: -5rem auto .75rem; }
.sell-art .blob { inset: 0 10%; border-radius: 50%; animation: none; box-shadow: 4px 4px 0 var(--crust); }
.sell-art .art { position: absolute; inset: 8% -4% 0; display: grid; place-items: center; transition: transform .4s var(--pop); }
.sell-card:hover .sell-art .art { transform: rotate(-6deg) scale(1.06); }
.sell-card h3 { text-align: center; margin-bottom: .5rem; }
.sell-card ul { list-style: none; padding: 0; margin: 0 0 1.4rem; text-align: center; font-weight: 700; flex: 1; }
.sell-card li { padding: .1rem 0; }
.sell-card .btn { align-self: center; }

.price-tag {
  position: absolute;
  top: .9rem;
  right: -.9rem;
  rotate: 8deg;
  background: var(--mustard);
  color: var(--crust);
  border: var(--outline);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--crust);
  padding: .3rem .6rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1;
  text-align: center;
  z-index: 2;
}
.price-tag small { display: block; font-size: .7rem; }
.price-tag strong { font-weight: 400; font-size: 1.3rem; }
.sell-card:hover .price-tag { animation: wiggle .45s ease; }
@keyframes wiggle { 25% { rotate: 2deg; } 50% { rotate: 13deg; } 75% { rotate: 5deg; } }

/* ---------- Taste of the menu ---------- */
.taste { background: var(--paper); border-top: var(--outline); border-bottom: var(--outline); }
.taste-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.taste-item {
  --tilt: 1deg;
  position: relative;
  background: var(--cream);
  border: var(--outline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  padding: 1.1rem 1.25rem 1.25rem;
  rotate: var(--tilt);
  transition: rotate .3s var(--pop), translate .3s var(--pop);
}
.taste-item:nth-child(even) { --tilt: -1.5deg; }
.taste-item:nth-child(3n) { --tilt: 2deg; }
.taste-item:hover { rotate: 0deg; translate: 0 -4px; }
.taste-item .cat { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ketchup-dark); }
.taste-item h3 { font-size: 1.45rem; margin: .2rem 0 .35rem; }
.taste-item p { margin: 0; font-size: .95rem; color: var(--crust-soft); font-weight: 600; }
.taste-item .price {
  position: absolute;
  top: -14px;
  right: 12px;
  background: var(--ketchup);
  color: #fff;
  border: var(--outline);
  border-radius: 999px;
  padding: .15rem .7rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  rotate: 6deg;
}
.taste-cta { text-align: center; margin-top: 2.5rem; }

.morocco {
  position: relative;
  margin: 3.5rem auto 0;
  max-width: 760px;
  background: var(--mustard);
  border: var(--outline);
  border-radius: 6px;
  box-shadow: var(--shadow-hard-lg);
  padding: 1.75rem 1.75rem 1.5rem;
  rotate: -1.5deg;
}
.morocco h3 { margin-bottom: .35rem; }
.morocco p { margin: 0 0 1.1rem; font-weight: 600; }
.morocco .btn { font-size: 1rem; }
.morocco .doodle { position: absolute; right: -18px; bottom: -22px; width: 70px; rotate: 15deg; }

/* ---------- Find us / Order panels ---------- */
.panels { display: grid; gap: 2rem; }
@media (min-width: 860px) { .panels { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.panel {
  position: relative;
  border: var(--outline);
  border-radius: 28px;
  box-shadow: var(--shadow-hard-lg);
  padding: 2rem 1.75rem;
}
.panel--find { background: var(--paper); rotate: -1deg; }
.panel--order { background: var(--ketchup); color: #fff; rotate: 1deg; }
.panel h2 { font-size: clamp(2rem, 5vw, 2.8rem); }
.panel--order h2 .script { display: block; font-size: .6em; color: var(--mustard); }
.panel p { font-weight: 600; }
.panel .doodle--corner { position: absolute; top: -26px; right: 22px; width: 54px; rotate: 12deg; }
.panel .btn { margin-top: .5rem; }
.panel--order .doodle--corner { width: 60px; }
.panel-hours { margin: 1rem 0; }

/* ---------- Footer ---------- */
.footer-edge { color: var(--mustard); margin-top: 3rem; }
.site-footer { background: var(--mustard); padding: 1rem 0 1.5rem; position: relative; overflow: clip; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.site-footer h2 { font-family: var(--font-script); text-transform: none; font-size: 1.8rem; color: var(--ketchup-dark); margin-bottom: .4em; }
.site-footer address { font-style: normal; font-weight: 600; }
.footer-logo { width: 210px; height: auto; margin-bottom: 1rem; rotate: -4deg; }
.hours-table { width: 100%; border-collapse: collapse; font-weight: 600; }
.hours-table th, .hours-table td { text-align: left; padding: .3rem 0; border-bottom: 2px dashed rgba(43, 26, 14, .25); font-weight: 600; }
.hours-table td { text-align: right; }
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--ketchup-dark); font-weight: 800; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1rem; border-top: 3px solid var(--crust); font-size: .9rem; font-weight: 600; }
.site-footer .float-doodle { opacity: .9; }

/* ---------- Page header for inner pages (menu, visit, contact, school) ---------- */
.page-hero { position: relative; background: var(--mustard); padding: 2.5rem 0 2rem; overflow: clip; }
.page-hero .kicker { display: block; font-size: 1.6rem; color: var(--ketchup-dark); rotate: -3deg; width: max-content; }
.page-hero h1 { font-size: clamp(2.4rem, 7vw, 4rem); margin: .2em 0 .4em; }
.page-hero .lead { font-size: 1.15rem; font-weight: 600; max-width: 46ch; margin: 0 0 1.5rem; }
.page-hero-edge { color: var(--mustard); transform: scaleY(-1); }
.steps { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.steps li {
  display: flex; align-items: center; gap: .6rem;
  background: var(--paper); border: var(--outline); border-radius: 999px; box-shadow: 3px 3px 0 var(--crust);
  padding: .4rem 1rem .4rem .45rem; font-weight: 800;
}
.steps li:nth-child(2) { rotate: 1deg; }
.steps li:nth-child(odd) { rotate: -1deg; }
.steps span {
  display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--ketchup); color: #fff; font-family: var(--font-display); border: 2px solid var(--crust);
}


.page-hero .hero-actions { margin-top: 1.25rem; }
.page-hero-art { display: none; }
@media (min-width: 900px) {
  .page-hero .container { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 2rem; }
  .page-hero-art { display: block; position: relative; width: 260px; height: 220px; justify-self: center; }
  .page-hero-art .blob { inset: 4% 8%; }
  .page-hero-art .art { position: absolute; inset: 10% 0 0; rotate: -8deg; filter: drop-shadow(0 10px 8px rgba(43,26,14,.2)); }
}

/* ---------- Menu page ---------- */
:root { --header-h: 81px; }
@media (min-width: 860px) { :root { --header-h: 101px; } }
.menu-jump {
  position: sticky; top: var(--header-h); z-index: 40;
  background: var(--cream); border-bottom: var(--outline);
}
.menu-jump ul { list-style: none; margin: 0; padding: .7rem 0; display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: thin; }
.menu-jump a {
  display: block; white-space: nowrap; padding: .35rem .9rem;
  background: var(--paper); color: var(--crust); text-decoration: none; font-weight: 800; font-size: .92rem;
  border: 2px solid var(--crust); border-radius: 999px;
}
.menu-jump a:hover { background: var(--mustard); }
.menu-jump a.is-active { background: var(--ketchup); color: #fff; box-shadow: 2px 2px 0 var(--crust); }

.menu-group { position: relative; padding: 3.5rem 0 1rem; scroll-margin-top: calc(var(--header-h) + 64px); }
.menu-group + .menu-group { border-top: 3px dashed rgba(43, 26, 14, .25); }
.group-head { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 2rem; text-align: center; }
.group-head .script { display: block; font-size: clamp(1.3rem, 3.5vw, 1.8rem); color: var(--ketchup); rotate: -3deg; }
.group-head h2 { margin: 0; }
.group-art { position: relative; width: 110px; height: 96px; flex: none; }
.group-art .blob { inset: 6% 10%; border-radius: 50%; animation: none; box-shadow: 3px 3px 0 var(--crust); }
.group-art .art { position: absolute; inset: 0 -6%; display: grid; place-items: center; rotate: -8deg; }
@media (max-width: 599px) { .group-art { width: 80px; height: 70px; } }

.menu-section { margin-bottom: 2.75rem; scroll-margin-top: calc(var(--header-h) + 64px); }
.menu-section > h3 { display: inline-block; font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: .25rem; }
.menu-section > h3::after {
  content: ""; display: block; height: 6px; margin-top: .2rem; border-radius: 999px;
  background: var(--mustard); border: 2px solid var(--crust);
}
.menu-intro { margin: .35rem 0 1.25rem; font-weight: 700; color: var(--crust-soft); }
.menu-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 600px) { .menu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .menu-grid { grid-template-columns: repeat(3, 1fr); } }

.menu-card {
  --tilt: -.6deg;
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; align-items: start;
  background: var(--paper); border: var(--outline); border-radius: var(--radius); box-shadow: var(--shadow-hard);
  padding: 1.1rem 1.2rem; rotate: var(--tilt);
  transition: rotate .3s var(--pop), translate .3s var(--pop), box-shadow .2s ease;
}
.menu-card:nth-child(even) { --tilt: .7deg; }
.menu-card:nth-child(3n) { --tilt: -.3deg; }
.menu-card:hover { rotate: 0deg; translate: 0 -3px; box-shadow: var(--shadow-hard-lg); }
.menu-card h4 { grid-column: 1; margin: 0; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.3rem; line-height: 1.05; }
.menu-card p { grid-column: 1; margin: 0; font-weight: 600; color: var(--crust-soft); font-size: .97rem; }
.menu-card .price {
  grid-column: 2; grid-row: 1 / span 2; align-self: center;
  display: grid; place-items: center; text-align: center; min-width: 4.4rem; min-height: 4.4rem; padding: .3rem;
  background: var(--orange); border: var(--outline); border-radius: 50%; box-shadow: 3px 3px 0 var(--crust);
  font-family: var(--font-display); font-size: 1.15rem; line-height: 1; rotate: 8deg;
}
.menu-card .price small { display: block; font-family: var(--font-body); font-weight: 800; font-size: .62rem; text-transform: uppercase; }
.menu-card:hover .price { animation: wiggle .45s ease; }
.menu-card.is-placeholder { grid-template-columns: 1fr; border-style: dashed; box-shadow: none; background: transparent; rotate: 0deg; }

.menu-list {
  list-style: none; margin: 0; padding: .4rem 1.4rem; display: grid; column-gap: 2.5rem;
  background: var(--paper); border: var(--outline); border-radius: var(--radius); box-shadow: var(--shadow-hard);
}
@media (min-width: 760px) { .menu-list { grid-template-columns: 1fr 1fr; } }
.menu-row { padding: .7rem 0; border-bottom: 2px dashed rgba(43, 26, 14, .2); }
.menu-row-head { display: flex; align-items: baseline; gap: .5rem; }
.menu-row h4 { margin: 0; font-family: var(--font-body); font-weight: 800; font-size: 1.02rem; text-transform: none; }
.menu-row .dots { flex: 1; border-bottom: 3px dotted rgba(43, 26, 14, .35); min-width: 1rem; translate: 0 -4px; }
.menu-row .row-price { font-family: var(--font-display); font-size: 1.15rem; color: var(--ketchup-dark); white-space: nowrap; }
.menu-row p { margin: .1rem 0 0; font-size: .9rem; font-weight: 600; color: var(--crust-soft); }

.allergy-note {
  position: relative; max-width: 760px; margin: 1rem auto 0; padding: 1.4rem 1.6rem;
  background: var(--mustard); border: var(--outline); border-radius: 6px; box-shadow: var(--shadow-hard-lg); rotate: -1deg;
}
.allergy-note h2 { font-size: 1.6rem; margin-bottom: .3rem; }
.allergy-note p { margin: 0; font-weight: 600; }

/* ---------- Visit page ---------- */
.visit-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.info-card {
  position: relative; background: var(--paper); border: var(--outline); border-radius: 24px;
  box-shadow: var(--shadow-hard-lg); padding: 1.75rem; rotate: -.8deg;
}
.info-card + .info-card { margin-top: 2rem; rotate: .8deg; }
.info-card h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
.info-card .doodle--corner { position: absolute; top: -24px; right: 20px; width: 52px; rotate: 12deg; }
.info-card address { font-style: normal; font-weight: 700; font-size: 1.1rem; margin-bottom: 1rem; }
.map-frame {
  border: var(--outline); border-radius: 24px; box-shadow: var(--shadow-hard-lg); overflow: hidden;
  background: var(--paper); rotate: 1deg;
}
.map-frame iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; }
.map-label { display: inline-block; margin: 1.25rem 0 0; font-family: var(--font-script); font-size: 1.5rem; color: var(--ketchup-dark); rotate: -3deg; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; gap: 2rem 1.75rem; }
@media (min-width: 700px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }
.contact-card {
  --tilt: -1.5deg;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  border: var(--outline); border-radius: 24px; box-shadow: var(--shadow-hard-lg);
  padding: 2.75rem 1.4rem 1.6rem; margin-top: 2rem; rotate: var(--tilt);
  transition: rotate .35s var(--pop), translate .35s var(--pop);
}
.contact-card:nth-child(2) { --tilt: 1.2deg; }
.contact-card:nth-child(3) { --tilt: -.8deg; }
.contact-card:nth-child(4) { --tilt: 1.6deg; }
.contact-card:hover { rotate: 0deg; translate: 0 -5px; }
.contact-card--ketchup { background: var(--ketchup); color: #fff; }
.contact-card--lettuce { background: var(--lettuce); }
.contact-card--paper { background: var(--paper); }
.contact-card--orange { background: var(--orange); }
.contact-card .icon {
  width: 72px; height: 72px; margin: -5.25rem 0 1rem; display: grid; place-items: center;
  background: var(--mustard); color: var(--crust); border: var(--outline); border-radius: 50%; box-shadow: 3px 3px 0 var(--crust);
}
.contact-card .icon svg { width: 32px; height: 32px; }
.contact-card h2 { font-size: 1.9rem; margin-bottom: .3rem; }
.contact-card p { font-weight: 600; margin: 0 0 1.2rem; flex: 1; }
.contact-card a:not(.btn) { color: inherit; }
.contact-card .links { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }

/* ---------- Visit us: getting here ---------- */
.getting-here { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .4rem; font-weight: 600; }

/* ---------- Live hours extras ---------- */
.hours-summary { font-weight: 800; }
.closures-box h3 { font-size: 1.2rem; margin: 1.25rem 0 .4rem; }
.closures { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; font-weight: 600; }
.closures li { padding: .4rem .7rem; background: #fff2c2; border: 2px solid var(--crust); border-radius: 10px; }

/* ---------- Legal pages (calm and readable) ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin: 2.25rem 0 .6rem; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal p, .legal li { font-size: 1.05rem; }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: .45rem; }
.legal-meta { font-weight: 800; color: var(--crust-soft); }
.legal-draft {
  background: var(--mustard); border: var(--outline); border-radius: var(--radius); box-shadow: var(--shadow-hard);
  padding: 1rem 1.25rem; font-weight: 700;
}
.legal-toc { background: var(--paper); border: var(--outline); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1.5rem 0; }
.legal-toc ol { margin: 0; padding-left: 1.25rem; columns: 2 220px; column-gap: 2rem; }
.legal-toc li { margin: .2rem 0; break-inside: avoid; }
.legal .table-wrap { overflow-x: auto; border: var(--outline); border-radius: var(--radius); background: #fff; margin: 1rem 0; }
.legal .data-table { width: 100%; border-collapse: collapse; }
.legal .data-table th, .legal .data-table td { padding: .6rem .8rem; text-align: left; vertical-align: top; border-bottom: 2px solid #f0e2c4; font-size: .98rem; }
.legal .data-table thead th { background: var(--mustard); border-bottom: var(--outline); }
.footer-legal { display: inline-block; margin-left: .5rem; }

/* ---------- Scroll reveals (only when JS is running) ---------- */
.js [data-reveal] { opacity: 0; transition: opacity .55s ease, transform .6s var(--pop); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal="up"] { transform: translateY(28px); }
.js [data-reveal="pop"] { transform: scale(.85); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* Cards: reveal uses transform, hover uses translate/rotate, so they don't fight */
.js .sell-card[data-reveal] { transition: opacity .55s ease, transform .6s var(--pop), rotate .35s var(--pop), translate .35s var(--pop), box-shadow .25s ease; transition-delay: calc(var(--i, 0) * 80ms), calc(var(--i, 0) * 80ms), 0s, 0s, 0s; }
.js .taste-item[data-reveal] { transition: opacity .55s ease, transform .6s var(--pop), rotate .3s var(--pop), translate .3s var(--pop); transition-delay: calc(var(--i, 0) * 80ms), calc(var(--i, 0) * 80ms), 0s, 0s; }
.js .squiggle path { stroke-dashoffset: 1; transition: stroke-dashoffset .9s ease .35s; }
.js .is-in .squiggle path, .js .squiggle.is-in path { stroke-dashoffset: 0; }

/* ---------- Reduced motion: everything still, everything visible ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .squiggle path { stroke-dashoffset: 0; }
}
