/* =========================================================
   ARU-BEAN COFFEEHOUSE — Site stylesheet
   One file for every page. Sections:
   1. Fonts & tokens   2. Base   3. Layout & utilities
   4. Buttons          5. Header & nav   6. Footer
   7. Home             8. Menu   9. Locations   10. Contact
   11. Motion & print
   ========================================================= */

/* ---------- 1. Fonts & tokens ---------- */
@font-face {
  font-family: "Glacial Indifference";
  src: url("../fonts/GlacialIndifference-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Glacial Indifference";
  src: url("../fonts/GlacialIndifference-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand palette (tuned so all text passes WCAG AA) */
  --paper: #faf6ef;
  --surface: #ffffff;
  --sand: #f1e6d4;
  --sand-deep: #e6d4b8;
  --line: #e7dccb;

  --ink: #2a211b;
  --text: #4a413a;
  --muted: #6f6259;

  --green: #475e36;
  --green-brand: #526c3f;
  --green-tint: #e8eddf;

  --brown: #7f5a3e;
  --brown-dark: #6b4a32;
  --terracotta: #cf8b77;
  --star: #eb3323;
  --star-text: #c8281a;

  --espresso: #2a1d14;
  --espresso-2: #3a2a1e;
  --on-dark: #f3e7d3;
  --on-dark-muted: #cbb9a3;

  --open: #2f7d4a;
  --closing: #a36410;
  --closed: #a33a2c;

  --font-display: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-body: "Glacial Indifference", "Century Gothic", "Avenir Next", Futura, system-ui, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(42, 29, 20, 0.06), 0 2px 8px rgba(42, 29, 20, 0.05);
  --shadow: 0 2px 6px rgba(42, 29, 20, 0.06), 0 18px 40px -12px rgba(42, 29, 20, 0.18);

  --max: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--brown); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--brown-dark); }

:focus-visible {
  outline: 3px solid var(--brown);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--green);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.25rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.75rem); }
h3 { font-size: 1.25rem; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--brown); }

p { text-wrap: pretty; }
p + p { margin-top: 1em; }

ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

button, input, select, textarea { font: inherit; color: inherit; }

.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: 1rem; top: -100px;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--espresso);
  color: var(--on-dark);
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.skip-link:focus { top: 1rem; color: var(--on-dark); }

/* ---------- 3. Layout & utilities ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 0.7em; height: 0.7em;
  background: var(--star);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  flex-shrink: 0;
}

.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 38em; }

.section-head { max-width: 640px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: 1rem; }

.on-dark { background: var(--espresso); color: var(--on-dark-muted); }
.on-dark h2, .on-dark h3 { color: var(--on-dark); }
.on-dark .eyebrow { color: var(--terracotta); }
.on-dark .lead { color: var(--on-dark-muted); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--brown); color: #fff; }
.btn-primary:hover { background: var(--brown-dark); color: #fff; box-shadow: 0 8px 20px -8px rgba(107, 74, 50, 0.6); }

.btn-outline { border-color: currentColor; color: var(--brown); background: transparent; }
.btn-outline:hover { background: var(--brown); border-color: var(--brown); color: #fff; }

.btn-light { background: var(--on-dark); color: var(--espresso); }
.btn-light:hover { background: #fff; color: var(--espresso); }

.btn-ghost-light { border-color: rgba(243, 231, 211, 0.45); color: var(--on-dark); }
.btn-ghost-light:hover { background: rgba(243, 231, 211, 0.12); border-color: var(--on-dark); color: #fff; }

.btn-sm { min-height: 40px; padding: 0.55rem 1.1rem; font-size: 0.875rem; }

.text-link {
  font-weight: 700;
  color: var(--brown);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.text-link::after { content: "→"; transition: transform 0.2s var(--ease); }
.text-link:hover::after { transform: translateX(4px); }

/* ---------- Status pill (open / closed) ---------- */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
}
.status::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.status:empty { display: none; }
.status.is-open { color: var(--open); }
.status.is-open::before { box-shadow: 0 0 0 4px rgba(47, 125, 74, 0.18); }
.status.is-closing { color: var(--closing); }
.status.is-closed { color: var(--closed); }
.on-dark .status.is-open, .site-footer .status.is-open { color: #7fd29a; }
.on-dark .status.is-closing, .site-footer .status.is-closing { color: #f0b860; }
.on-dark .status.is-closed, .site-footer .status.is-closed { color: #f09a8c; }

/* ---------- 5. Header & nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 246, 239, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(42, 29, 20, 0.5); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }

.primary-nav { margin-left: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
}
.nav-list a {
  display: block;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.nav-list a:hover { background: var(--sand); color: var(--ink); }
.nav-list a[aria-current="page"] { background: var(--green-tint); color: var(--green); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle:hover { background: var(--sand); }
.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  position: absolute;
  left: 50%;
  width: 22px; height: 2px;
  margin-left: -11px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle .bars { top: 50%; margin-top: -1px; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle .bars::before { transform: translateY(-7px); }
.nav-toggle .bars::after { transform: translateY(7px); }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: rotate(-45deg); }

@media (max-width: 860px) {
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(42, 29, 20, 0.45);
    padding: 0.75rem var(--gutter) 1.5rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
  }
  .primary-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0.25rem; }
  .nav-list a { font-family: var(--font-display); font-size: 1.5rem; padding: 0.75rem 1rem; border-radius: var(--radius-sm); }
  .nav-extra { display: flex; gap: 0.75rem; margin-top: 1rem; padding-inline: 0.25rem; }
  .nav-extra .btn { flex: 1; }
}
@media (min-width: 861px) { .nav-extra { display: none; } }

/* ---------- 6. Footer ---------- */
.site-footer {
  background: var(--espresso);
  color: var(--on-dark-muted);
  padding: clamp(3.5rem, 7vw, 5rem) 0 2rem;
  font-size: 0.975rem;
}
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-logo { height: 36px; width: auto; margin-bottom: 1rem; }
.footer-brand p { max-width: 28ch; }
.footer-col h2 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.footer-loc { display: grid; gap: 0.15rem; }
.footer-loc + .footer-loc { margin-top: 1rem; }
.footer-loc strong { color: var(--on-dark); font-weight: 700; }
.footer-loc .status { font-size: 0.85rem; }

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(243, 231, 211, 0.14);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.footer-social { display: flex; align-items: center; gap: 0.5rem 1.1rem; flex-wrap: wrap; width: 100%; }
.footer-social > span { color: var(--on-dark); font-weight: 700; }
.footer-social a { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; }
.footer-social svg { width: 20px; height: 20px; flex: none; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- 7. Home ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 8vw, 6rem); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 { margin-bottom: 1.5rem; color: var(--ink); }
.hero h1 em { color: var(--green); }
.hero .lead { margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero-status {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
}
.hero-status li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  min-width: 13rem;
  flex: 1;
}
.hero-status a { color: var(--ink); font-weight: 700; text-decoration: none; }
.hero-status a:hover { text-decoration: underline; }
.hero-status .status { font-size: 0.85rem; }

.hero-media { position: relative; }
.hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 4.4;
  box-shadow: var(--shadow);
  background: var(--sand);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-small {
  position: absolute;
  left: -12%;
  bottom: -8%;
  width: 42%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  border: 6px solid var(--paper);
  box-shadow: var(--shadow);
  background: var(--sand);
}
.hero-photo-small img { width: 100%; height: 100%; object-fit: cover; }
.hero-star {
  position: absolute;
  top: -6%;
  right: -5%;
  width: clamp(64px, 9vw, 110px);
  color: var(--star);
  animation: twinkle 6s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(45deg) scale(0.9); }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; margin: 1rem auto 0; width: 88%; }
  .hero-photo { aspect-ratio: 5 / 4; }
  .hero-photo-small { left: -8%; width: 36%; }
}

/* Ticker */
.ticker {
  background: var(--green);
  color: var(--on-dark);
  overflow: hidden;
  padding-block: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  white-space: nowrap;
}
.ticker-track { display: flex; width: max-content; animation: ticker 50s linear infinite; }
.ticker-track ul { display: flex; list-style: none; padding: 0; }
.ticker-track li { display: flex; align-items: center; }
.ticker-track li::after {
  content: "";
  width: 0.7em; height: 0.7em;
  margin-inline: 1.4em;
  background: var(--terracotta);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Story */
.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.story-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--sand);
  box-shadow: var(--shadow);
}
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.story-text h2 { margin-bottom: 1.25rem; }
.pillars {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.pillars li {
  padding: 1.1rem 1.1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.pillars strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 0.25rem; }
.pillars span { font-size: 0.925rem; color: var(--muted); line-height: 1.5; display: block; }

@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-photo { aspect-ratio: 16 / 11; }
}
@media (max-width: 600px) { .pillars { grid-template-columns: 1fr; } }

/* Favourites */
.favourites { background: var(--surface); border-block: 1px solid var(--line); }
.fav-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.fav-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 1.6rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.fav-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.fav-card:nth-child(3n + 2) { background: var(--green-tint); border-color: #d6dfca; }
.fav-card:nth-child(3n + 3) { background: var(--sand); border-color: var(--sand-deep); }
.fav-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown);
}
.fav-card h3 { margin-top: 2.25rem; margin-bottom: 0.35rem; color: var(--ink); }
.fav-card p { font-size: 0.95rem; color: var(--muted); line-height: 1.5; }
.fav-only {
  align-self: flex-start;
  margin-top: 0.85rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  background: #f7e0d8;
  color: #8a3a22;
  font-size: 0.78rem;
  font-weight: 700;
}
.fav-price {
  position: absolute;
  top: 1.35rem; right: 1.4rem;
  font-weight: 700;
  color: var(--green);
}
.fav-actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

@media (max-width: 900px) { .fav-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fav-grid { grid-template-columns: 1fr; } .fav-card { min-height: 0; } }

/* Location cards (home + footer use) */
.loc-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.loc-card {
  display: flex;
  flex-direction: column;
  background: var(--espresso-2);
  border: 1px solid rgba(243, 231, 211, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.loc-card-photo { aspect-ratio: 16 / 10; background: var(--espresso); overflow: hidden; }
.loc-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.loc-card:hover .loc-card-photo img { transform: scale(1.03); }
.loc-card-body { padding: 1.5rem 1.6rem 1.75rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.loc-card-body h3 { font-size: 1.5rem; }
.loc-card-body address { font-style: normal; }
.loc-card-body .today { font-size: 0.95rem; }
.loc-card-actions { margin-top: auto; padding-top: 0.9rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }

@media (max-width: 760px) { .loc-cards { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(207, 139, 119, 0.35), transparent 50%),
    var(--sand);
}
.cta-band h2 { margin-bottom: 0.5rem; }
.cta-band p { color: var(--muted); max-width: 40em; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Interior page hero ---------- */
.page-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 2.5rem); }
.page-hero h1 { color: var(--ink); margin-bottom: 0.75rem; }
.page-hero .lead { margin-bottom: 1.5rem; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* ---------- 8. Menu ---------- */
.menu-toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: rgba(250, 246, 239, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-block: 1px solid var(--line);
  padding-block: 0.75rem;
}
.menu-toolbar .container { display: flex; align-items: center; gap: 1rem; }

.menu-search {
  position: relative;
  flex: 0 0 300px;
}
.menu-search svg {
  position: absolute;
  left: 0.9rem; top: 50%;
  width: 18px; height: 18px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.menu-search input {
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 1rem 0.55rem 2.6rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 1rem;
}
.menu-search input:focus { outline: none; border-color: var(--brown); box-shadow: 0 0 0 3px rgba(127, 90, 62, 0.18); }

.menu-toolbar nav { flex: 1; min-width: 0; }
.menu-chips {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  list-style: none;
  padding: 0.15rem;
  margin: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
  mask-image: linear-gradient(90deg, #000 92%, transparent);
}
.menu-chips::-webkit-scrollbar { display: none; }
.menu-chips a {
  display: block;
  white-space: nowrap;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.menu-chips a:hover { border-color: var(--brown); }
.menu-chips a.is-active { background: var(--green); border-color: var(--green); color: #fff; }

@media (max-width: 760px) {
  .menu-toolbar .container { flex-direction: column; align-items: stretch; gap: 0.6rem; }
  .menu-search { flex-basis: auto; }
}

/* Location menu selection (top of menu page) */
.location-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 0.35rem;
  border-radius: 20px;
  background: var(--sand);
  border: 1px solid var(--sand-deep);
}
.location-switch button {
  display: grid;
  justify-items: start;
  gap: 0.1rem;
  min-width: 12.5rem;
  padding: 0.7rem 1.1rem;
  border: 0;
  border-radius: 15px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
}
.location-switch button:hover { background: rgba(255, 255, 255, 0.55); }
.location-switch button[aria-pressed="true"] { background: var(--surface); box-shadow: var(--shadow-sm); }
.location-switch-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.location-switch button[aria-pressed="true"] .location-switch-name { color: var(--green); }
.location-switch .status { font-size: 0.8rem; }
@media (max-width: 560px) {
  .location-switch { display: grid; }
  .location-switch button { min-width: 0; padding: 0.6rem 0.75rem; }
  .location-switch-name { font-size: 0.95rem; }
  .location-switch .status { font-size: 0.75rem; }
}

/* PDF downloads (bottom of menu page) */
.menu-downloads { margin-top: 2.5rem; }
.menu-downloads h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); margin-bottom: 1rem; }
.download-cards {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.4rem;
  border-radius: 20px;
  background: var(--sand);
  border: 1px solid var(--sand-deep);
}
.download-card {
  display: grid;
  justify-items: start;
  gap: 0.15rem;
  min-width: 13rem;
  padding: 0.8rem 1.1rem;
  border-radius: 15px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s var(--ease);
}
.download-card:hover { color: var(--ink); box-shadow: var(--shadow); transform: translateY(-2px); }
.download-card-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--green); }
.download-card .status { font-size: 0.8rem; }
.download-card-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brown);
}
.download-card-action svg { width: 1em; height: 1em; }
.download-card:hover .download-card-action { color: var(--brown-dark); text-decoration: underline; }
@media (max-width: 560px) {
  .download-cards { display: grid; }
  .download-card { min-width: 0; padding: 0.7rem 0.8rem; }
  .download-card-name { font-size: 1rem; white-space: nowrap; }
  .download-card .status { font-size: 0.75rem; }
}

/* Menu labels */
.menu-section-title { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.75rem; }
.menu-badges { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.45rem; }
.menu-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
  white-space: nowrap;
}
.menu-badge-only { background: #f7e0d8; color: #8a3a22; }
.menu-badge-only::before {
  content: "";
  width: 0.65em; height: 0.65em;
  background: var(--star);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}
.menu-section-title .menu-badge-only { font-size: 0.85rem; padding: 0.25rem 0.75rem; }
.menu-badge-gf { background: var(--green-tint); color: var(--green); }
.menu-badge-alcohol { background: #efe6f3; color: #5d3a6e; }
.menu-message .btn + .btn { margin-left: 0.5rem; }

.menu-body { padding-block: 2.5rem 5rem; }

.menu-section { padding-block: 2rem 1rem; }
.menu-section + .menu-section { border-top: 1px solid var(--line); }
.menu-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.5rem; }
.menu-section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.menu-count { font-size: 0.875rem; color: var(--muted); white-space: nowrap; }
.menu-note {
  display: inline-block;
  margin: 0.25rem 0 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--sand);
  font-size: 0.925rem;
  color: var(--text);
}

.menu-items {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(2rem, 5vw, 4rem);
}
.menu-item { padding: 0.95rem 0; border-bottom: 1px dashed var(--line); }
.menu-item-top { display: flex; align-items: baseline; gap: 0.6rem; }
.menu-item-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.menu-item-top::after { content: ""; flex: 1; order: 1; border-bottom: 2px dotted var(--sand-deep); transform: translateY(-0.3em); min-width: 1rem; }
.menu-item-price { order: 2; font-weight: 700; color: var(--green); white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu-item-desc { font-size: 0.95rem; color: var(--muted); line-height: 1.5; margin-top: 0.2rem; max-width: 46ch; }
.menu-item mark { background: rgba(207, 139, 119, 0.35); color: inherit; border-radius: 3px; padding: 0 0.1em; }

@media (max-width: 760px) { .menu-items { grid-template-columns: 1fr; } }

.menu-empty, .menu-message {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--surface);
  border: 1px dashed var(--sand-deep);
  border-radius: var(--radius);
  color: var(--muted);
}
.menu-message .btn { margin-top: 1rem; }

.menu-footnote {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--muted);
}

.skeleton { display: grid; gap: 0.9rem; padding-block: 2rem; }
.skeleton span {
  height: 1.1rem;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--sand) 25%, #f7efe2 50%, var(--sand) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
.skeleton span:nth-child(1) { width: 30%; height: 1.8rem; }
.skeleton span:nth-child(odd) { width: 70%; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- 9. Locations ---------- */
.location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  padding-block: clamp(2rem, 5vw, 3.5rem);
}
.location + .location { border-top: 1px solid var(--line); }
.location:nth-of-type(even) .location-photo { order: 2; }

.location-photo {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 4.2;
  background: var(--sand);
  box-shadow: var(--shadow);
}
.location-photo img { width: 100%; height: 100%; object-fit: cover; }

.location-info h2 { margin-bottom: 0.4rem; }
.location-info .area { color: var(--muted); font-size: 1.05rem; margin-bottom: 0.9rem; }
.location-info .status { font-size: 1rem; margin-bottom: 1.5rem; }

.detail-list { display: grid; gap: 1.25rem; margin-bottom: 1.75rem; }
.detail { display: grid; grid-template-columns: 40px 1fr; gap: 0.9rem; align-items: start; }
.detail-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green);
}
.detail-icon svg { width: 20px; height: 20px; }
.detail h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 0.2rem;
}
.detail address { font-style: normal; color: var(--ink); }

.hours { width: 100%; max-width: 380px; border-collapse: collapse; font-variant-numeric: tabular-nums; margin-left: -0.6rem; }
.hours th, .hours td { padding: 0.35rem 0.6rem; text-align: left; font-weight: 400; color: var(--text); white-space: nowrap; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; color: var(--ink); background: var(--green-tint); }
.hours tr.is-today th { border-radius: 8px 0 0 8px; }
.hours tr.is-today td { border-radius: 0 8px 8px 0; }

.location-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.75rem; }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--sand);
  aspect-ratio: 16 / 10;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

@media (max-width: 860px) {
  .location { grid-template-columns: 1fr; }
  .location:nth-of-type(even) .location-photo { order: 0; }
  .location-photo { position: static; aspect-ratio: 16 / 11; }
}

/* ---------- 10. Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding-bottom: clamp(4rem, 8vw, 6rem);
}
.contact-cards { display: grid; gap: 1rem; }
.contact-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.contact-card h2 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brown); margin-bottom: 0.3rem; }
.contact-card p { color: var(--ink); }
.contact-card .small { font-size: 0.9rem; color: var(--muted); }
.contact-card .visit-line { display: grid; margin-bottom: 0.6rem; }
.contact-card .visit-line .status { font-size: 0.85rem; }

.form-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.form-card > h2 { margin-bottom: 0.4rem; font-size: clamp(1.6rem, 3vw, 2rem); }
.form-card > p { color: var(--muted); margin-bottom: 1.75rem; }

.contact-form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.field .optional { font-weight: 400; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236f6259' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--brown); background: #fff; box-shadow: 0 0 0 3px rgba(127, 90, 62, 0.18); }
.field.has-error input,
.field.has-error textarea { border-color: var(--closed); }
.field-error { font-size: 0.875rem; color: var(--closed); min-height: 0; }
.field-error:empty { display: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); font-size: 0.975rem; }
.form-status:empty { display: none; }
.form-status.is-success { background: #e4f1e7; color: #1f5a33; border: 1px solid #b9dcc3; }
.form-status.is-error { background: #f8e6e2; color: #7d2a1f; border: 1px solid #ebc2b9; }

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } .contact-form .btn { width: 100%; } }

/* ---------- 404 ---------- */
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 5rem; }
.not-found h1 { margin-bottom: 1rem; }
.not-found .lead { margin: 0 auto 2rem; }

/* ---------- 11. Motion & print ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}

@media print {
  .site-header, .site-footer, .menu-toolbar, .page-hero-actions, .ticker { display: none !important; }
  body { background: #fff; }
  .menu-items { grid-template-columns: 1fr 1fr; }
  .menu-item { break-inside: avoid; }
}
