:root {
  --cream: #e9dcce;
  --cream-light: #f0e6d8;
  --cream-card: #e9dcce;
  --sand: #cfbfae;
  --brown: #3b270a;
  --brown-soft: #5c4220;
  --gold: #b8954a;
  --gold-light: #d4b06a;
  --white: #ffffff;
  --shadow: 0 8px 32px rgba(59, 39, 10, 0.12);
  --radius: 16px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-cocktail: "Glacial Indifference", "Segoe UI", sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --text-base: clamp(1.05rem, 2.5vw, 1.2rem);
  --text-lg: clamp(1.25rem, 3vw, 1.5rem);
  --text-xl: clamp(1.6rem, 4vw, 2.2rem);
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 9rem;
  background: var(--cream);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--brown);
  background: transparent;
  min-height: 100dvh;
  overflow-x: hidden;
}

/* Canva leaf frame */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--cream);
  background-image:
    linear-gradient(rgba(248, 242, 230, 0.34), rgba(248, 242, 230, 0.34)),
    url("../assets/70d0265572ecdd529844bbe27352cc1c.png");
  background-size: cover, cover;
  background-position: center top, center top;
  background-repeat: no-repeat;
  background-attachment: scroll, scroll;
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0.65rem;
  border: 1px solid rgba(184, 149, 74, 0.45);
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

@media (min-width: 769px) {
  .page-bg {
    background-attachment: fixed, fixed;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Language switcher — triple segmented toggle */
.lang-switch {
  display: flex;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

.lang-switch__track {
  position: relative;
  display: flex;
  align-items: stretch;
  padding: 3px;
  background: rgba(255, 255, 255, 0.55);
  border: 1.5px solid var(--sand);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(59, 39, 10, 0.06);
}

.lang-switch__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  height: calc(100% - 6px);
  background: var(--brown);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(59, 39, 10, 0.2);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), width 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.lang-switch__btn {
  position: relative;
  z-index: 1;
  min-width: 2.35rem;
  padding: 0.3rem 0.55rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brown-soft);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lang-switch__btn.is-active {
  color: var(--cream-light);
}

.lang-switch__btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Compact header */
.site-header {
  position: relative;
  z-index: 1;
  padding: 0.85rem 1.25rem 0.75rem;
  text-align: center;
  border-bottom: 1px solid rgba(184, 149, 74, 0.25);
  background: transparent;
}

.site-header__inner {
  max-width: 820px;
  margin: 0 auto;
}

.site-header__location {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown-soft);
}

.site-header__title {
  margin: 0.1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--brown);
}

.site-header__tagline {
  margin: 0.2rem 0 0;
  font-family: var(--font-cocktail);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown-soft);
}

.header-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.header-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 36px;
  padding: 0.35rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brown);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.55);
  border: 1.5px solid var(--sand);
  border-radius: 999px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.header-action:hover {
  background: var(--brown);
  color: var(--cream-light);
  border-color: var(--brown);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--large {
  min-height: 56px;
  padding: 1rem 2.25rem;
  font-size: 1.15rem;
}

.btn--primary {
  background: var(--brown);
  color: var(--cream-light);
  box-shadow: 0 4px 16px rgba(59, 39, 10, 0.25);
}

.btn--primary:hover {
  background: var(--brown-soft);
}

.btn--outline {
  background: transparent;
  color: var(--brown);
  border-color: var(--gold);
}

.btn--outline:hover {
  background: rgba(184, 149, 74, 0.12);
}

/* Section navigation — all categories visible */
.section-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(233, 220, 206, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(184, 149, 74, 0.25);
  padding: 0.65rem 1rem 0.75rem;
  transform: translateY(0);
  transition: transform 0.28s ease, opacity 0.28s ease;
  will-change: transform;
}

.section-nav--hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.section-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: 820px;
  margin: 0 auto 0.5rem;
}

.section-nav__label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown-soft);
}

.search-toggle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--brown);
  background: rgba(255, 255, 255, 0.62);
  border: 1.5px solid var(--sand);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.search-toggle:hover,
.search-toggle.is-active {
  background: var(--brown);
  color: var(--cream-light);
  border-color: var(--brown);
}

.search-toggle.has-value::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  margin-top: -18px;
  margin-left: 14px;
  background: var(--gold);
  border-radius: 50%;
  border: 1.5px solid var(--cream-light);
}

.search-toggle {
  position: relative;
}

.search-panel {
  max-width: 820px;
  margin: 0 auto 0.55rem;
}

.search-panel[hidden] {
  display: none;
}

.search-panel:not([hidden]) {
  animation: search-in 0.2s ease;
}

@keyframes search-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-nav__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  max-width: 820px;
  margin: 0 auto 0.55rem;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 40px;
  padding: 0.4rem 0.35rem;
  font-family: var(--font-body);
  font-size: clamp(0.72rem, 2.8vw, 0.86rem);
  font-weight: 700;
  color: var(--brown);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.62);
  border: 1.5px solid var(--sand);
  border-radius: 999px;
  white-space: nowrap;
  min-width: 0;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.section-pill:hover,
.section-pill.is-active {
  background: var(--brown);
  color: var(--cream-light);
  border-color: var(--brown);
}

.category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  color: var(--gold);
}

.category-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-pill .category-icon {
  width: 1rem;
  height: 1rem;
}

.section-pill:hover .category-icon,
.section-pill.is-active .category-icon {
  color: var(--gold-light);
}

/* Main */
.main {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem 6rem;
}

.search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem 0.45rem 0.85rem;
  background: rgba(255, 255, 255, 0.62);
  border: 1.5px solid var(--sand);
  border-radius: 999px;
  color: var(--brown-soft);
}

.search input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--brown);
  outline: none;
}

.search input::placeholder {
  color: var(--sand);
}

.search-clear {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--brown-soft);
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.search-clear:hover {
  background: rgba(59, 39, 10, 0.08);
}

.filter-toggle {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  min-height: 42px;
  padding: 0.45rem 0.75rem 0.45rem 0.65rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brown-soft);
  text-align: left;
  background: rgba(255, 255, 255, 0.45);
  border: 1.5px dashed var(--sand);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, border-style 0.15s, box-shadow 0.15s;
}

.filter-toggle:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 10px rgba(59, 39, 10, 0.08);
}

.filter-toggle__lead {
  display: inline-flex;
  flex-shrink: 0;
}

.filter-toggle__lead .category-icon {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--gold);
}

.filter-toggle__text {
  flex: 1;
  line-height: 1.2;
}

.filter-toggle__switch {
  flex-shrink: 0;
  position: relative;
  width: 38px;
  height: 22px;
  background: rgba(255, 255, 255, 0.75);
  border: 1.5px solid var(--sand);
  border-radius: 999px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.filter-toggle__switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  background: var(--sand);
  border-radius: 50%;
  transition: transform 0.2s ease, background 0.2s ease;
}

.filter-toggle.is-active {
  color: var(--cream-light);
  background: var(--brown);
  border-style: solid;
  border-color: var(--brown);
}

.filter-toggle.is-active .filter-toggle__lead .category-icon {
  color: var(--gold-light);
}

.filter-toggle.is-active .filter-toggle__switch {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--gold-light);
}

.filter-toggle.is-active .filter-toggle__switch::after {
  transform: translateX(16px);
  background: var(--cream-light);
}

/* Menu sections */
.menu-section {
  margin-bottom: 2.75rem;
  scroll-margin-top: 9rem;
}

.menu-section__header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--gold-light);
}

.menu-section__header .category-icon {
  width: 1.55rem;
  height: 1.55rem;
  color: var(--brown);
}

.menu-section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown);
}

.menu-section__note {
  margin: -0.5rem 0 1rem;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--brown-soft);
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.menu-item {
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(184, 149, 74, 0.35);
  border-radius: var(--radius);
  box-shadow: none;
}

.menu-item--visual {
  padding: 0;
  overflow: hidden;
}

.menu-item__toggle {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 1.1rem 1.25rem;
  margin: 0;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.menu-item__toggle-body {
  flex: 1;
  min-width: 0;
}

.menu-item__toggle-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  gap: 0.2rem;
  padding-top: 0.15rem;
}

.menu-item__view-hint {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

.menu-item__chevron {
  color: var(--gold);
  transition: transform 0.28s ease;
}

.menu-item--visual.is-open .menu-item__chevron {
  transform: rotate(180deg);
}

.menu-item--visual.is-open {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.72);
}

.menu-item__photo-panel {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.32s ease;
}

.menu-item--visual.is-open .menu-item__photo-panel {
  grid-template-rows: 1fr;
}

.menu-item__photo-frame {
  overflow: hidden;
  min-height: 0;
  padding: 0 1rem;
}

.menu-item--visual.is-open .menu-item__photo-frame {
  padding-bottom: 1rem;
}

.menu-item__photo {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid rgba(184, 149, 74, 0.3);
  background: var(--cream);
}

.menu-item--visual:not(.is-open) .menu-item__photo {
  display: none;
}

.menu-item.is-highlight {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.65);
}

.menu-item--visual.is-highlight .menu-item__toggle {
  background: transparent;
}

.menu-item.is-hidden,
.menu-section.is-hidden {
  display: none;
}

.menu-empty.is-hidden {
  display: none;
}

.menu-item__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.menu-item__name {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--brown);
  line-height: 1.25;
}

.menu-item__price {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brown);
  white-space: nowrap;
}

.menu-item__desc {
  margin: 0.45rem 0 0;
  font-size: 0.98rem;
  color: var(--brown-soft);
  line-height: 1.45;
}

.menu-item__note {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--gold);
}

.menu-item__badge {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.2rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brown);
  background: rgba(184, 149, 74, 0.25);
  border-radius: 999px;
}

.menu-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--brown-soft);
  font-size: 1.1rem;
}

.disclaimer {
  margin: 2rem 0 0;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  text-align: center;
  color: var(--brown-soft);
  background: transparent;
  border-radius: var(--radius);
  border: 1px solid rgba(184, 149, 74, 0.3);
  border-left: 3px solid var(--gold);
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding: 0 1.25rem 2rem;
}

.footer__card {
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--brown);
  color: var(--cream-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.footer__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
}

.footer__address {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.92;
}

.footer__address:hover {
  opacity: 1;
}

.footer__hours {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  line-height: 1.5;
  opacity: 0.92;
}

.footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.footer .btn--primary {
  background: var(--cream-light);
  color: var(--brown);
}

.footer .btn--outline {
  color: var(--cream-light);
  border-color: var(--gold-light);
}

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

  .btn,
  .section-pill,
  .filter-toggle,
  .header-action,
  .section-nav,
  .lang-switch__thumb {
    transition: none;
  }
}
