/* ==========================================================================
   Lakeside Café & Bakery — site styles
   Plain CSS: no preprocessor, no build step, no web fonts or CDNs.

   1. Design tokens (light, then dark via prefers-color-scheme)
   2. Base and typography
   3. Layout helpers
   4. Top bar, header, navigation, footer
   5. Components: buttons, cards, badges, avatars
   6. Page sections: home, menu, about, contact, 404
   7. Forms
   8. Utilities, reduced motion, print
   ========================================================================== */

/* 1. Design tokens -------------------------------------------------------- */

:root {
  color-scheme: light dark;

  --bg: #fbf7f2;
  --bg-alt: #f4ece2;
  --surface: #ffffff;
  --text: #2a1f1a;
  --text-muted: #6b5a50;
  --border: #e7dacb;
  --border-strong: #9c8574;
  --primary: #1f5f5b;
  --primary-hover: #174a47;
  --on-primary: #ffffff;
  --accent: #c8743a;
  --accent-text: #9a4f1e;
  --accent-soft: #f7e6d5;
  --teal-soft: #e0efec;
  --deep: #173f3c;
  --deep-text: #eaf3f1;
  --deep-muted: #a9c7c2;
  --danger: #b42318;
  --focus: #c8743a;
  --dot-open: #22a55b;
  --dot-closing: #e0a526;
  --dot-closed: #d64545;

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;

  --text-sm: clamp(0.875rem, 0.86rem + 0.08vw, 0.9375rem);
  --text-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.07rem + 0.3vw, 1.3125rem);
  --text-xl: clamp(1.375rem, 1.25rem + 0.6vw, 1.75rem);
  --text-2xl: clamp(1.75rem, 1.45rem + 1.4vw, 2.625rem);
  --text-3xl: clamp(2.25rem, 1.6rem + 2.8vw, 3.875rem);

  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --space-section: clamp(56px, 8vw, 104px);
  --header-h: 72px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgb(42 31 26 / 0.06), 0 2px 8px rgb(42 31 26 / 0.04);
  --shadow: 0 14px 34px -16px rgb(42 31 26 / 0.25);
  --shadow-lg: 0 34px 70px -32px rgb(42 31 26 / 0.45);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16110e;
    --bg-alt: #1e1814;
    --surface: #241d18;
    --text: #f3eae1;
    --text-muted: #bfaea1;
    --border: #3b3029;
    --border-strong: #7a6a5e;
    --primary: #6fc2b8;
    --primary-hover: #8ed3ca;
    --on-primary: #0f1f1d;
    --accent: #e3a06b;
    --accent-text: #e8ad7e;
    --accent-soft: #3a2a1e;
    --teal-soft: #173230;
    --deep: #0f2826;
    --deep-text: #e3efed;
    --deep-muted: #9fbdb8;
    --danger: #f28b82;
    --focus: #e3a06b;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4);
    --shadow: 0 14px 34px -16px rgb(0 0 0 / 0.7);
    --shadow-lg: 0 34px 70px -32px rgb(0 0 0 / 0.8);
  }
}

/* 2. Base and typography -------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: var(--text-3xl);
}

h2 {
  font-size: var(--text-2xl);
}

h3 {
  font-size: var(--text-lg);
}

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

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--primary-hover);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

main:focus {
  outline: none;
}

address {
  font-style: normal;
}

abbr[title] {
  text-decoration: none;
}

table {
  width: 100%;
  border-collapse: collapse;
}

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

::selection {
  background: var(--accent);
  color: #fff;
}

[hidden] {
  display: none !important;
}

/* 3. Layout helpers ------------------------------------------------------- */

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-section);
}

.section--alt {
  background: var(--bg-alt);
}

.section--tight {
  padding-block: 0 var(--space-section);
}

.section--snug {
  padding-top: clamp(28px, 4vw, 48px);
}

.section-head {
  max-width: 660px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head .lead {
  margin: 0;
}

.section-link {
  margin: clamp(24px, 3vw, 36px) 0 0;
  font-weight: 700;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  color: var(--accent-text);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead {
  color: var(--text-muted);
  font-size: var(--text-lg);
}

.grid {
  display: grid;
  gap: clamp(16px, 2.5vw, 28px);
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  color: var(--on-primary);
}

/* 4. Top bar, header, navigation, footer ---------------------------------- */

.topbar {
  background: var(--deep);
  color: var(--deep-muted);
  font-size: var(--text-sm);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
}

.topbar__info {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin: 0;
}

.topbar a {
  color: var(--deep-text);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
}

.brand__logo {
  width: 44px;
  height: 44px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand__tag {
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav__list {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__list a {
  display: block;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav__list a:hover {
  background: var(--bg-alt);
  color: var(--text);
}

.site-nav__list a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent-text);
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s ease, background-color 0.2s ease;
}

.nav-toggle__icon {
  position: relative;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__icon::before {
  top: -6px;
}

.nav-toggle__icon::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: grid;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px var(--gutter) 24px;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav__list {
    flex-direction: column;
  }

  .site-nav__list a {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
  }
}

@media (max-width: 640px) {
  .topbar__inner {
    justify-content: center;
  }

  .topbar__info {
    display: none;
  }
}

.site-footer {
  background: var(--deep);
  color: var(--deep-muted);
  font-size: var(--text-sm);
}

.site-footer a {
  color: var(--deep-text);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 36px 32px;
  padding-block: clamp(48px, 7vw, 72px);
}

.site-footer__brand {
  max-width: 300px;
}

.site-footer .brand {
  margin-bottom: 16px;
  color: var(--deep-text);
}

.site-footer .brand__tag {
  color: var(--deep-muted);
}

.site-footer__title {
  margin: 0 0 14px;
  color: var(--deep-text);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__hours li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 240px;
}

.site-footer__hours li span:last-child {
  color: var(--deep-text);
  font-variant-numeric: tabular-nums;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 22px;
  border-top: 1px solid rgb(255 255 255 / 0.12);
}

.site-footer__bottom p {
  margin: 0;
}

/* 5. Components ----------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.75em 1.5em;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 10px 22px -12px var(--primary);
}

.btn--primary:hover {
  background: var(--primary-hover);
  color: var(--on-primary);
}

.btn--secondary {
  border-color: color-mix(in srgb, var(--text) 22%, transparent);
  background: transparent;
  color: var(--text);
}

.btn--secondary:hover {
  border-color: var(--text);
  color: var(--text);
}

.btn--light {
  background: #fbf7f2;
  color: #2a1f1a;
}

.btn--light:hover {
  background: #fff;
  color: #2a1f1a;
}

.btn--outline-light {
  border-color: rgb(255 255 255 / 0.45);
  color: var(--deep-text);
}

.btn--outline-light:hover {
  border-color: #fff;
  color: #fff;
}

.btn--sm {
  min-height: 42px;
  padding: 0.5em 1.15em;
  font-size: 0.9375rem;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.card {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.card-title {
  margin-bottom: 0.4em;
  font-size: var(--text-xl);
}

.card-subtitle {
  margin: 24px 0 10px;
  font-family: var(--font-sans);
  font-size: var(--text-base);
}

.card-note {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 4px 12px;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  color: var(--deep-text);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
}

a.status-badge:hover {
  border-color: rgb(255 255 255 / 0.4);
  color: #fff;
}

.status-badge--surface {
  border-color: var(--border);
  background: var(--bg-alt);
  color: var(--text);
}

.status-badge__dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

.status-badge[data-state] .status-badge__dot {
  opacity: 1;
}

.status-badge[data-state="open"] .status-badge__dot {
  background: var(--dot-open);
  animation: pulse 2.4s ease-out infinite;
}

.status-badge[data-state="closing"] .status-badge__dot {
  background: var(--dot-closing);
}

.status-badge[data-state="closed"] .status-badge__dot {
  background: var(--dot-closed);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgb(34 165 91 / 0.55);
  }

  70%,
  100% {
    box-shadow: 0 0 0 7px rgb(34 165 91 / 0);
  }
}

.avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-weight: 700;
  font-size: 0.9375rem;
}

.avatar--teal {
  background: var(--teal-soft);
  color: var(--primary);
}

.avatar--lg {
  width: 88px;
  height: 88px;
  font-family: var(--font-serif);
  font-size: 1.625rem;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag--teal {
  background: var(--teal-soft);
  color: var(--primary);
}

.price {
  color: var(--primary);
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.tick-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tick-list li {
  position: relative;
  padding-left: 28px;
}

.tick-list li::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 2px;
  width: 12px;
  height: 7px;
  border-bottom: 2.5px solid var(--primary);
  border-left: 2.5px solid var(--primary);
  transform: rotate(-45deg);
}

/* 6. Page sections -------------------------------------------------------- */

/* Home: hero */

.hero {
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px);
  background:
    radial-gradient(56rem 28rem at 88% -12%, var(--accent-soft), transparent 62%),
    radial-gradient(40rem 26rem at -8% 108%, var(--teal-soft), transparent 62%),
    var(--bg);
}

.hero__inner {
  display: grid;
  align-items: center;
  gap: clamp(40px, 6vw, 72px);
}

.hero h1 {
  max-width: 13em;
  margin-bottom: 0.45em;
}

.hero__lead {
  max-width: 34em;
  margin-bottom: 1.75em;
  color: var(--text-muted);
  font-size: var(--text-lg);
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--text-muted);
  font-size: var(--text-sm);
  font-weight: 600;
  list-style: none;
}

.hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__facts li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero__art {
  position: relative;
  max-width: 560px;
  width: 100%;
  margin-inline: auto;
}

.hero__art > img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero__card {
  position: absolute;
  bottom: -28px;
  left: clamp(-28px, -2vw, 12px);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero__card img {
  width: 44px;
  height: 44px;
}

.hero__card p {
  margin: 0;
  line-height: 1.35;
}

.hero__card strong {
  display: block;
}

.hero__card span {
  color: var(--text-muted);
  font-size: var(--text-sm);
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1.05fr 1fr;
  }
}

/* On phones the card sits under the illustration instead of covering it. */
@media (max-width: 520px) {
  .hero__card {
    position: relative;
    inset: auto;
    max-width: none;
    margin: -20px 12px 0;
  }
}

/* Home: highlights, specials, testimonials, call to action */

.feature__icon {
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  padding: 10px;
  border-radius: 18px;
  background: var(--accent-soft);
}

.feature h3 {
  margin-bottom: 0.35em;
}

.feature p {
  margin: 0;
  color: var(--text-muted);
}

.special {
  display: flex;
  position: relative;
  flex-direction: column;
}

.special .tag {
  align-self: flex-start;
  margin-bottom: 16px;
}

.special__img {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 52px;
  height: 52px;
}

.special h3 {
  padding-right: 56px;
}

.special > p {
  flex: 1;
  color: var(--text-muted);
}

.special__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}

.special__note {
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.quote {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}

.quote__stars {
  margin: 0;
  color: var(--accent);
  font-size: 1.05rem;
  letter-spacing: 3px;
}

.quote blockquote {
  flex: 1;
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  line-height: 1.5;
}

.quote blockquote p {
  margin: 0;
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.quote figcaption small {
  display: block;
  color: var(--text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
}

.cta {
  display: grid;
  align-items: center;
  gap: 28px;
  padding: clamp(32px, 6vw, 64px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(34rem 18rem at 100% 0%, rgb(200 116 58 / 0.38), transparent 62%),
    radial-gradient(28rem 16rem at 0% 100%, rgb(111 194 184 / 0.18), transparent 62%),
    var(--deep);
  color: var(--deep-muted);
}

.cta h2 {
  margin-bottom: 0.35em;
  color: var(--deep-text);
}

.cta p {
  max-width: 38em;
  margin: 0;
  font-size: var(--text-lg);
}

@media (min-width: 860px) {
  .cta {
    grid-template-columns: 1.5fr auto;
  }
}

/* Inner pages: page hero and breadcrumb */

.page-hero {
  padding-block: clamp(36px, 6vw, 72px) clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(48rem 20rem at 92% 0%, var(--accent-soft), transparent 65%),
    var(--bg-alt);
}

.page-hero__inner {
  display: grid;
  align-items: center;
  gap: 32px;
}

.page-hero h1 {
  max-width: 15em;
  margin-bottom: 0.35em;
}

.page-hero .lead {
  max-width: 40em;
  margin: 0;
}

.page-hero__art {
  display: none;
}

@media (min-width: 900px) {
  .page-hero__inner--art {
    grid-template-columns: 1fr auto;
  }

  .page-hero__art {
    display: grid;
    grid-template-columns: repeat(2, 84px);
    gap: 14px;
  }

  .page-hero__art img {
    width: 84px;
    height: 84px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
  }

  .page-hero__art img:nth-child(even) {
    transform: translateY(18px);
  }
}

.breadcrumb {
  margin-bottom: 18px;
  font-size: var(--text-sm);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--text-muted);
  list-style: none;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.6;
}

/* Menu */

.menu-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.menu-nav ul {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 12px 0;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}

.menu-nav ul::-webkit-scrollbar {
  display: none;
}

.menu-nav a {
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.menu-nav a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.menu-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0 0 clamp(24px, 3vw, 36px);
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  align-items: start;
  gap: clamp(20px, 3vw, 32px);
}

.menu-section {
  scroll-margin-top: calc(var(--header-h) + 80px);
}

.menu-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--text);
}

.menu-section__head h2 {
  margin: 0;
  font-size: var(--text-xl);
}

.menu-section__note {
  margin: 0;
  color: var(--accent-text);
  font-size: var(--text-sm);
  font-weight: 600;
}

.menu-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.menu-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.menu-item__row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.menu-item__name {
  font-weight: 700;
}

.menu-item__leader {
  flex: 1;
  min-width: 16px;
  border-bottom: 2px dotted var(--border-strong);
  opacity: 0.45;
}

.menu-item__price {
  color: var(--primary);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.menu-item__desc {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.diet {
  display: inline-block;
  min-width: 24px;
  margin-left: 6px;
  padding: 1px 5px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-alt);
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-align: center;
  vertical-align: 2px;
}

.menu-legend .diet {
  margin: 0 6px 0 0;
}

.callout {
  display: grid;
  align-items: center;
  gap: 20px 28px;
  margin-top: clamp(28px, 4vw, 48px);
}

.callout img {
  width: 84px;
  height: 84px;
  padding: 12px;
  border-radius: 24px;
  background: var(--accent-soft);
}

.callout h2 {
  margin-bottom: 0.25em;
  font-size: var(--text-xl);
}

.callout p {
  margin: 0;
  color: var(--text-muted);
}

@media (min-width: 760px) {
  .callout {
    grid-template-columns: auto 1fr auto;
  }
}

.allergy-note {
  margin: clamp(24px, 3vw, 32px) 0 0;
  color: var(--text-muted);
  font-size: var(--text-sm);
  text-align: center;
}

/* About */

.story {
  display: grid;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.story__text p {
  color: var(--text-muted);
}

.story__text p:last-child {
  margin-bottom: 0;
}

.story__figure {
  margin: 0;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 20%, var(--accent-soft), transparent 70%),
    var(--bg-alt);
}

.story__figure img {
  width: min(100%, 300px);
  margin-inline: auto;
}

.story__figure figcaption {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: var(--text-sm);
  text-align: center;
}

@media (min-width: 900px) {
  .story {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
}

.stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
  padding: 28px 24px;
  background: var(--surface);
  text-align: center;
}

.stat dt {
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.stat dd {
  margin: 0;
  color: var(--primary);
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.1;
}

.value__number {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1;
}

.value p {
  margin: 0;
  color: var(--text-muted);
}

.team-card {
  text-align: center;
}

.team-card .avatar {
  margin: 0 auto 18px;
}

.team-card h3 {
  margin-bottom: 0.2em;
}

.team-card__role {
  margin-bottom: 12px;
  color: var(--accent-text);
  font-size: var(--text-sm);
  font-weight: 700;
}

.team-card p:last-child {
  margin: 0;
  color: var(--text-muted);
}

/* Contact */

.contact-layout {
  display: grid;
  align-items: start;
  gap: clamp(24px, 4vw, 40px);
}

@media (min-width: 980px) {
  .contact-layout {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.info-stack {
  display: grid;
  gap: clamp(24px, 3vw, 32px);
}

.contact-address {
  margin-bottom: 16px;
  font-size: var(--text-lg);
  line-height: 1.5;
}

.contact-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
}

.contact-list__label {
  min-width: 64px;
  color: var(--text-muted);
}

.hours-card,
.form-card {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.hours-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 12px;
}

.hours-card__head .card-title {
  margin: 0;
}

.hours {
  font-variant-numeric: tabular-nums;
}

.hours th,
.hours td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.hours th {
  font-weight: 600;
}

.hours td {
  color: var(--text-muted);
  text-align: right;
}

.hours tr:last-child th,
.hours tr:last-child td {
  border-bottom: 0;
}

.hours tr.is-today th,
.hours tr.is-today td {
  background: var(--accent-soft);
  color: var(--accent-text);
  font-weight: 700;
}

.hours tr.is-today th {
  border-radius: 10px 0 0 10px;
}

.hours tr.is-today td {
  border-radius: 0 10px 10px 0;
}

.hours tr.is-today th::after {
  content: "Today";
  margin-left: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-text);
  color: var(--surface);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 2px;
}

/* 404 */

.error-page {
  padding-block: clamp(56px, 10vw, 120px);
  background:
    radial-gradient(40rem 22rem at 50% 0%, var(--accent-soft), transparent 70%),
    var(--bg);
  text-align: center;
}

.error-page__inner {
  max-width: 640px;
}

.error-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.08em;
  margin: 0 0 12px;
  color: var(--primary);
  font-family: var(--font-serif);
  font-size: clamp(5rem, 16vw, 8.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.error-code img {
  width: 0.95em;
  height: 0.95em;
  transform: rotate(-12deg);
}

.error-page .lead {
  margin-bottom: 1.75em;
}

.error-page .button-row {
  justify-content: center;
}

.error-page__help {
  margin: 28px 0 0;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

/* 7. Forms ---------------------------------------------------------------- */

.form-card {
  padding: clamp(24px, 4vw, 40px);
}

.form-card .card-lead {
  color: var(--text-muted);
}

.form-grid {
  display: grid;
  gap: 18px 20px;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .field--full {
    grid-column: 1 / -1;
  }
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: var(--text-sm);
  font-weight: 700;
}

.field__optional {
  color: var(--text-muted);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field select {
  padding-right: 40px;
  -webkit-appearance: none;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--text-muted) 50%),
    linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 21px) 52%, calc(100% - 15px) 52%;
  background-repeat: no-repeat;
  background-size: 6px 6px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  outline: 2px solid transparent;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 22%, transparent);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--danger);
}

.field.has-error input:focus,
.field.has-error select:focus,
.field.has-error textarea:focus {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--danger) 20%, transparent);
}

.field__hint,
.field__error {
  margin: 6px 0 0;
  font-size: var(--text-sm);
}

.field__hint {
  color: var(--text-muted);
}

.field__error {
  display: flex;
  gap: 8px;
  color: var(--danger);
  font-weight: 600;
}

.field__error::before {
  content: "!";
  display: grid;
  flex: none;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--danger);
  color: var(--surface);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
}

.field__error:empty {
  display: none;
}

.form-alert {
  margin: 0 0 20px;
  padding: 12px 16px;
  border: 1px solid color-mix(in srgb, var(--danger) 35%, transparent);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--danger) 9%, var(--surface));
  color: var(--danger);
  font-weight: 600;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 26px;
}

.form-actions p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.noscript-note {
  margin: 20px 0 0;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: var(--text-sm);
  font-weight: 600;
}

.form-success {
  padding: clamp(16px, 4vw, 32px) 0;
  text-align: center;
}

.form-success:focus {
  outline: none;
}

.form-success img {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
}

.form-success h3 {
  font-size: var(--text-2xl);
}

.form-success p {
  max-width: 30em;
  margin-inline: auto;
  color: var(--text-muted);
}

.form-success .btn {
  margin-top: 8px;
}

.form-success__note {
  font-size: var(--text-sm);
}

/* 8. Utilities, reduced motion, print ------------------------------------- */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

@media (prefers-color-scheme: dark) {
  .hero__art > img,
  .story__figure img {
    filter: brightness(0.92) saturate(0.95);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .topbar,
  .site-header,
  .site-footer,
  .menu-nav,
  .cta,
  .skip-link {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .card {
    border-color: #ccc;
    box-shadow: none;
    break-inside: avoid;
  }
}
