:root {
  --cream: #fdf6e3;
  --ink: #1a1a1a;
  --pink: #c7304a;
  --yellow: #f7e27a;
  --yellow-2: #f4c430;
  --green: #1d6b4a;
  --chalk: #2b2b2b;
  --muted: #5a544a;
  --bar-h: 64px;
  --slab: 'Alfa Slab One', 'Rockwell', Georgia, serif;
  --sans: 'Work Sans', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  padding-bottom: var(--bar-h);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--slab); font-weight: 400; line-height: 1.1; margin: 0; }
p { margin: 0 0 1em; }
figure { margin: 0; }
section[id] { scroll-margin-top: 72px; }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 16px; }

.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: #fff; padding: 8px 12px; }

.label {
  display: inline-block;
  font-family: var(--slab);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--green);
  color: var(--yellow);
  padding: 4px 10px;
  transform: rotate(-1.5deg);
  margin-bottom: 14px;
}

.section-title { font-size: clamp(30px, 7vw, 46px); margin-bottom: .5em; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 3px solid var(--ink);
  border-radius: 4px;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.btn-primary { background: var(--ink); color: var(--yellow); }
.btn-ghost { background: var(--yellow); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: var(--pink);
  border-bottom: 4px solid var(--yellow-2);
}
.brand { font-family: var(--slab); font-size: 24px; color: var(--yellow); text-decoration: none; letter-spacing: .04em; }
.nav-toggle {
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center;
}
.bars, .bars::before, .bars::after {
  display: block; width: 22px; height: 3px; background: var(--yellow); position: relative; content: ''; transition: transform .2s ease;
}
.bars::before { position: absolute; top: -7px; }
.bars::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }
.site-nav {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  flex-direction: column;
  padding: 8px 16px 16px;
  background: var(--pink);
  border-bottom: 4px solid var(--yellow-2);
}
.site-nav.is-open { display: flex; }
.site-nav a { padding: 12px 0; text-decoration: none; font-weight: 600; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.site-nav .nav-cta { color: var(--yellow); border-bottom: 0; }

/* Hero */
.hero { position: relative; }
.hero { padding-bottom: 28px; text-align: center; }
.hero-photo { height: 50vh; min-height: 260px; max-height: 520px; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 40%; }
.sign {
  position: relative;
  margin: -70px 16px 0;
  background: var(--pink);
  border: 5px solid var(--yellow-2);
  box-shadow: 0 6px 0 var(--ink);
  padding: 18px 14px 14px;
  text-align: center;
  transform: rotate(-1.5deg);
  z-index: 2;
}
.sign h1 { color: var(--yellow); font-size: clamp(44px, 14vw, 120px); letter-spacing: .03em; }
.sign-sub { margin: 4px 0 0; color: #fff3c4; font-style: italic; font-size: clamp(13px, 3.6vw, 20px); }

.arrow-band {
  background: var(--green);
  color: var(--yellow);
  font-family: var(--slab);
  text-align: center;
  padding: 12px 10px;
  font-size: clamp(13px, 3.8vw, 20px);
  letter-spacing: .06em;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}
.arrow-band span { color: var(--yellow-2); }

/* Intro */
.intro { padding: 32px 0 8px; text-align: center; }
.intro-lead { font-size: 19px; max-width: 28em; margin: 0 auto; }
.today-sign {
  display: inline-block;
  background: var(--green);
  color: var(--yellow);
  font-weight: 600;
  padding: 10px 16px;
  border: 3px solid var(--ink);
  transform: rotate(1deg);
  margin: 20px 16px 16px;
}
.today-sign:has([data-state="closed"]) { background: var(--ink); }
.hero .actions { justify-content: center; padding: 0 16px; }

/* Hours */
.hours { padding: 40px 0; }
.hours-grid { display: grid; gap: 28px; }
.week { list-style: none; padding: 0; margin: 0 0 16px; max-width: 520px; border: 3px solid var(--ink); background: #fff; }
.week li { display: flex; justify-content: space-between; padding: 10px 14px; border-bottom: 2px solid var(--cream); }
.week li:last-child { border-bottom: 0; }
.week li.is-today { background: var(--yellow); font-weight: 600; }
.week li.is-today span:first-child::after { content: ' · TODAY'; color: var(--ink); font-family: var(--slab); font-weight: 400; font-size: 13px; }
.note { color: var(--muted); font-size: 14px; }
.framed { border: 4px solid var(--pink); box-shadow: 8px 8px 0 var(--yellow-2); }
.framed img { width: 100%; height: 100%; object-fit: cover; }
.hours-photo { display: none; aspect-ratio: 4 / 3; }

/* About */
.about { padding: 40px 0; background: #fff; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.about-grid { display: grid; gap: 28px; align-items: center; }
.about p { font-size: 17px; }
.tilt { transform: rotate(1.5deg); aspect-ratio: 4 / 3; }
.facts { list-style: none; margin-top: 32px; display: grid; gap: 12px; }
.facts li { background: var(--yellow); border: 3px solid var(--ink); padding: 14px 16px; }
.facts strong { display: block; font-family: var(--slab); font-weight: 400; font-size: 19px; }
.facts span { font-size: 14px; }

/* Chalkboard menu */
.menu { padding: 48px 0; }
.chalkboard {
  background: var(--chalk);
  background-image: radial-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 6px 6px;
  color: #f4efe2;
  padding: 32px 20px;
  border: 10px solid #e9e4d6;
  outline: 3px solid var(--ink);
  box-shadow: 0 10px 0 var(--ink);
}
.board-title { text-align: center; color: var(--yellow); font-size: clamp(32px, 8vw, 52px); letter-spacing: .04em; }
.sardines { display: block; width: 96px; margin: 10px auto 18px; }
.board-grid { display: grid; gap: 8px 48px; }
.chalkboard h3 { color: var(--pink); font-size: 26px; margin: 22px 0 10px; padding-bottom: 6px; border-bottom: 2px dashed rgba(244, 239, 226, .4); }
.chalkboard h3 small { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #cfc9ba; margin-left: 6px; }
.items { list-style: none; padding: 0; margin: 0; }
.items li { padding: 8px 0; }
.item-head { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 17px; }
.price { color: var(--yellow); white-space: nowrap; }
.items p { margin: 2px 0 0; color: #cfc9ba; font-size: 14px; }
.also { color: #cfc9ba; font-size: 14px; margin-top: 6px; }
.board-note { text-align: center; font-size: 13px; color: #b5af9f; margin: 28px 0 0; font-style: italic; }

/* Gallery */
.gallery { padding: 16px 0 48px; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery-grid figure { overflow: hidden; aspect-ratio: 1; border: 3px solid var(--pink); }
.gallery-grid .g-wide, .gallery-grid .g-full { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-grid figure:hover img { transform: scale(1.04); }

/* Reviews */
.reviews { padding: 48px 0; text-align: center; background: var(--pink); color: #fff; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.reviews .label { background: var(--yellow); color: var(--ink); }
.reviews .section-title { color: var(--yellow); }
.stars { color: var(--yellow); letter-spacing: 2px; }
.themes { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; text-align: left; }
.themes li { background: var(--cream); color: var(--ink); padding: 20px; border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--ink); }
.themes h3 { font-size: 21px; margin-bottom: 6px; }
.themes p { margin: 0; color: var(--muted); }

/* Find us */
.find { padding: 48px 0 56px; }
.find-grid { display: grid; gap: 24px; }
address { font-style: normal; font-size: 17px; margin-bottom: 18px; }
.map { border: 4px solid var(--ink); box-shadow: 8px 8px 0 var(--green); min-height: 300px; }
.map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }

/* Footer */
.site-footer { background: var(--ink); color: #f4efe2; }
.site-footer .arrow-band { border-top: 0; }
.footer-grid { display: grid; gap: 24px; }
.site-footer .footer-grid { padding-top: 36px; padding-bottom: 24px; }
.footer-brand { font-family: var(--slab); font-size: 34px; color: var(--yellow); margin: 0; }
.footer-sub { font-style: italic; color: #cfc9ba; }
.site-footer h2 { font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--pink); margin-bottom: 8px; }
.site-footer a { color: #fff; }
.copyright { text-align: center; font-size: 13px; color: #a9a397; padding: 0 16px 24px; margin: 0; }

/* Sticky mobile bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  height: var(--bar-h);
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: var(--cream);
  border-top: 3px solid var(--ink);
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; text-decoration: none;
  border: 3px solid var(--ink);
  background: var(--yellow);
}
.mobile-bar .mobile-bar-wa { background: var(--ink); color: var(--yellow); }

@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .nav-toggle { display: none; }
  .site-header { padding: 12px 32px; }
  .site-nav {
    display: flex; position: static; flex-direction: row; align-items: center; gap: 24px;
    padding: 0; background: none; border: 0;
  }
  .site-nav a { padding: 0; border: 0; }
  .site-nav .nav-cta { background: var(--yellow); color: var(--ink); padding: 6px 16px; border: 3px solid var(--ink); }
  .container { padding: 0 32px; }
  .sign { max-width: 760px; margin: -110px auto 0; padding: 26px 24px 20px; }
  .hours-grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .hours-photo { display: block; }
  .about-grid { grid-template-columns: 1.2fr 1fr; gap: 48px; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .chalkboard { padding: 48px; }
  .board-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid .g-wide { grid-column: span 2; aspect-ratio: auto; }
  .gallery-grid .g-full { aspect-ratio: 21 / 8; }
  .themes { grid-template-columns: repeat(3, 1fr); }
  .find-grid { grid-template-columns: 1fr 1.2fr; align-items: stretch; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
