/* A · Striped Door: the black-and-white striped sign, magenta line-drawn loaf and chalkboard on their door. */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --alt: #f7f0f3;
  --ink: #111111;
  --muted: #4b4549;
  --title: #111111;
  --accent: #a3195b;
  --accent-deep: #7c1145;
  --on-accent: #ffffff;
  --footer: #111111;
  --on-footer: #ffffff;
  --board: #222322;
  --chalk: #f3f0e8;
  --chalk-dim: #c9c4b8;
  --header: 64px;
  --bar-h: 60px;
  --caps: 'Josefin Sans', 'Futura', 'Century Gothic', system-ui, sans-serif;
  --script: 'Caveat', 'Bradley Hand', cursive;
  --sans: 'Karla', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  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, h4 { font-family: var(--caps); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: .04em; text-transform: uppercase; }
p { margin: 0 0 1em; }
figure { margin: 0; }
section[id], main { scroll-margin-top: calc(var(--header) + 8px); }

.container { width: 100%; max-width: 1120px; 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: var(--surface); padding: 8px 12px; }

.stripes {
  height: 22px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 14px, var(--surface) 14px 28px);
}

.label {
  display: inline-block;
  font-family: var(--caps);
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title { font-size: clamp(30px, 7vw, 48px); color: var(--title); margin-bottom: .5em; }

/* Buttons: square-cornered like the sign panel */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 10px 22px;
  border-radius: 0;
  font-family: var(--caps); font-weight: 700; font-size: 15px; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--ink);
  transition: background .15s ease, color .15s ease;
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-ghost { background: var(--surface); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--on-footer); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.frame { overflow: hidden; border: 2px solid var(--ink); }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 16px;
  background: var(--surface);
  border-bottom: 2px solid var(--ink);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 36px; height: 36px; }
.brand-text { display: flex; align-items: baseline; gap: 6px; }
.brand-script { font-family: var(--script); font-weight: 700; font-size: 24px; color: var(--ink); text-transform: none; letter-spacing: 0; }
.brand-caps { font-family: var(--caps); font-weight: 700; font-size: 19px; letter-spacing: .14em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 22px; font-family: var(--caps); font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.site-nav a { text-decoration: none; color: var(--ink); }
.site-nav a:hover { color: var(--accent); }
.site-nav .nav-cta { background: var(--accent); color: var(--on-accent); padding: 9px 16px; }
.site-nav .nav-cta:hover { background: var(--accent-deep); color: var(--on-accent); }
.nav-toggle { display: none; }

@media (max-width: 899px) {
  html:not(.js) .site-header { height: auto; flex-wrap: wrap; padding: 8px 16px; }
  html:not(.js) .site-nav { flex-wrap: wrap; gap: 6px 16px; width: 100%; }
  .js .nav-toggle {
    display: grid; place-items: center; width: 48px; height: 48px;
    background: none; border: 0; color: var(--ink); cursor: pointer;
  }
  .bars, .bars::before, .bars::after {
    display: block; width: 24px; height: 2px; background: currentColor; position: relative;
  }
  .bars::before, .bars::after { content: ''; position: absolute; left: 0; }
  .bars::before { top: -7px; }
  .bars::after { top: 7px; }

  .js .site-nav {
    position: absolute; top: var(--header); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 2px solid var(--ink);
    display: none;
  }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav a { padding: 14px 16px; border-top: 1px solid var(--alt); }
  .js .site-nav .nav-cta { margin: 12px 16px 16px; text-align: center; }
}

/* Hero: status line and the directions button sit above the fold at 390x844 */
.hero { background: var(--surface); padding-bottom: 36px; }
.hero-grid { display: grid; gap: 26px; padding-top: 22px; }
.eyebrow { font-family: var(--caps); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.hero h1 { display: flex; flex-direction: column; letter-spacing: .08em; margin-bottom: 12px; }
.h1-script { font-family: var(--script); font-weight: 700; text-transform: none; letter-spacing: 0; font-size: clamp(40px, 11vw, 68px); line-height: .9; margin-left: .1em; }
.h1-caps { font-size: clamp(46px, 13.4vw, 104px); line-height: 1; }
.hero-lead { font-size: clamp(18px, 4.6vw, 22px); max-width: 26em; margin-bottom: 16px; }
.status {
  display: inline-flex; align-items: center; gap: 10px;
  border: 2px solid var(--ink); padding: 7px 14px;
  font-weight: 700; margin-bottom: 18px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; }
.status:has([data-state='open']) .dot { background: #1f8a4c; }
.status:has([data-state='closed']) .dot { background: var(--accent); }

.hero-photo { position: relative; border: 2px solid var(--ink); aspect-ratio: 3 / 2; }
.hero-photo > img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; right: 14px; top: -22px;
  width: 112px; height: 112px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--accent);
  display: grid; place-items: center; align-content: center; gap: 2px;
  box-shadow: 0 0 0 5px var(--surface);
}
.badge img { width: 80px; }
.badge span { font-family: var(--caps); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1.05fr; align-items: center; padding-top: 56px; gap: 48px; }
  .hero { padding-bottom: 72px; }
  .badge { width: 136px; height: 136px; right: -24px; top: -36px; }
  .badge img { width: 96px; }
}

/* Split layouts */
.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
}

.about { padding: 56px 0; }
.about .frame { aspect-ratio: 3 / 2; }

/* The door chalkboard */
.board-strip { background: var(--board); color: var(--chalk); padding: 40px 0 34px; text-align: center; }
.chalk { font-family: var(--script); font-weight: 500; font-size: clamp(32px, 8vw, 54px); line-height: 1.15; margin: 0 0 8px; }
.chalk span { display: block; }
.chalk-src { font-family: var(--caps); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--chalk-dim); margin: 0; }

/* Menu: tabs only show once JS marks them ready; without JS every panel stays visible */
.menu { padding: 56px 0; background: var(--alt); }
.menu-card {
  background: var(--surface);
  border: 2px solid var(--ink);
  padding: 8px 18px 22px;
  margin-top: 20px;
}
.menu-tabs {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 12px 0 14px; margin-bottom: 8px;
  border-bottom: 2px solid var(--ink);
  scrollbar-width: thin;
}
.menu-tabs button {
  flex: none;
  font-family: var(--caps); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  padding: 10px 16px; border-radius: 0;
  border: 2px solid var(--ink); background: var(--surface); color: var(--ink);
  cursor: pointer;
}
.menu-tabs button[aria-selected='true'] { background: var(--ink); color: var(--on-footer); }
.menu-tabs:not(.is-ready) { display: none; }
.menu-panel { padding-top: 14px; }
.menu-panel + .menu-panel { border-top: 2px solid var(--ink); margin-top: 18px; }
.menu-tabs.is-ready ~ .menu-panel { border-top: 0; margin-top: 0; }
.menu-tabs.is-ready ~ .menu-panel .group-title { display: none; }

.group-title { font-size: 24px; color: var(--accent); margin: 4px 0 10px; }
.items { list-style: none; margin: 0; padding: 0; }
.items li { padding: 14px 0; border-bottom: 1px dashed #b9b2b6; }
.items li:last-child { border-bottom: 0; }
.item-head { display: flex; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 19px; }
.price { color: var(--accent); white-space: nowrap; font-family: var(--caps); letter-spacing: .06em; }
.items p { margin: 2px 0 0; color: var(--muted); }
.menu-note { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
@media (min-width: 800px) { .menu-card { padding: 8px 32px 28px; } }

/* Hours, written on the chalkboard */
.hours { padding: 56px 0; background: var(--surface); }
.hours-board { background: var(--board); color: var(--chalk); padding: 28px 20px; border: 8px solid var(--ink); }
.hours-board .label { color: var(--chalk-dim); }
.hours-board .section-title { color: var(--chalk); }
.week { list-style: none; margin: 0 0 14px; padding: 0; font-family: var(--script); font-size: 27px; line-height: 1.2; }
.week li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 10px; border-bottom: 1px solid rgba(243, 240, 232, .18); }
.week li.is-today { background: var(--chalk); color: var(--board); font-weight: 700; }
.hours-note { margin: 0; color: var(--chalk-dim); }
.frame.tall { aspect-ratio: 3 / 4; max-height: 640px; }

/* Gallery */
.gallery { padding: 56px 0; }
.gallery-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.gallery-grid figure { overflow: hidden; aspect-ratio: 3 / 4; border: 2px solid var(--ink); background: var(--alt); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

/* Reviews: one real review so far, quoted with its source */
.reviews { padding: 56px 0; background: var(--alt); }
.reviews-sub { color: var(--muted); margin: -8px 0 0; }
.stars { color: var(--accent); letter-spacing: .05em; }
.quote { background: var(--surface); border: 2px solid var(--ink); border-left: 10px solid var(--accent); padding: 20px; margin: 18px 0 24px; max-width: 760px; }
.quote blockquote { margin: 0; }
.quote p { font-family: var(--script); font-size: clamp(25px, 5vw, 32px); line-height: 1.25; margin: 0 0 10px; }
.quote figcaption { font-weight: 700; color: var(--muted); font-size: 15px; }

/* Find us */
.find { padding: 56px 0; background: var(--surface); }
.find-grid { display: grid; gap: 28px; }
address { font-style: normal; font-size: 19px; margin-bottom: 14px; }
.directions { color: var(--muted); max-width: 30em; }
.map { overflow: hidden; min-height: 320px; border: 2px solid var(--ink); }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
@media (min-width: 900px) { .find-grid { grid-template-columns: 1fr 1.2fr; align-items: stretch; } }

/* Footer */
.site-footer { background: var(--footer); color: var(--on-footer); padding-bottom: 24px; }
.site-footer .stripes { background: repeating-linear-gradient(90deg, var(--on-footer) 0 14px, var(--footer) 14px 28px); }
.footer-grid { display: grid; gap: 24px; padding-top: 32px; }
.footer-brand { margin: 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.footer-brand .brand-script { color: var(--on-footer); font-size: 34px; }
.footer-brand .brand-caps { font-size: 28px; }
.footer-sub { margin: 4px 0 0; }
.site-footer h2 { font-size: 14px; letter-spacing: .18em; margin-bottom: 8px; }
.site-footer a { color: var(--on-footer); }
.copyright { text-align: center; font-size: 13px; margin: 24px 16px 0; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

/* Mobile action bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  height: var(--bar-h);
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 2px solid var(--ink);
}
.mobile-bar a {
  display: grid; place-items: center;
  font-family: var(--caps); font-weight: 700; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  background: var(--accent); color: var(--on-accent);
}
.mobile-bar .mobile-bar-alt { background: var(--surface); color: var(--ink); }
@media (min-width: 900px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
