:root {
  --ink: #211f1b;
  --muted: #6f6a61;
  --paper: #f4efe6;
  --paper-strong: #fffdf8;
  --forest: #244c3c;
  --forest-dark: #173329;
  --terracotta: #b94f32;
  --terracotta-dark: #843824;
  --saffron: #e7a63b;
  --line: rgba(33, 31, 27, 0.16);
  --line-inverse: rgba(255, 253, 248, 0.22);
  --shadow: 0 22px 64px rgba(33, 31, 27, 0.13);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.menu-page {
  background: #f7f4ed;
}

body.admin-page {
  background: #ece9e2;
}

body.error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background: var(--forest-dark);
  color: #fffdf8;
}

.error-shell {
  width: 100%;
  max-width: 720px;
  padding: 48px;
  border: 1px solid rgba(255, 253, 248, 0.24);
  background: rgba(255, 253, 248, 0.06);
}

.error-shell h1 {
  margin-bottom: 24px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 76px;
  line-height: 0.95;
}

.error-shell > p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 28px;
  color: rgba(255, 253, 248, 0.76);
  font-size: 18px;
  line-height: 1.6;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  border-radius: 0;
}

button,
input[type="search"] {
  -webkit-appearance: none;
  appearance: none;
}

a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--saffron);
  outline-offset: 3px;
}

@supports selector(:focus-visible) {
  a:focus:not(:focus-visible),
  button:focus:not(:focus-visible),
  input:focus:not(:focus-visible),
  textarea:focus:not(:focus-visible) {
    outline: none;
  }
}

button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 0.98;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 76px);
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.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;
}

.is-hidden {
  display: none !important;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 76px);
}

.topbar-home {
  color: #fffdf8;
  background: rgba(23, 35, 29, 0.74);
  border-bottom: 1px solid rgba(255, 253, 248, 0.2);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.topbar.compact {
  position: sticky;
  color: #fffdf8;
  background: var(--forest-dark);
  border-bottom: 1px solid rgba(255, 253, 248, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: auto;
  min-width: max-content;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  color: inherit;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 16px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
  color: rgba(255, 253, 248, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.nav-links a,
.footer a,
.admin-nav a,
.nav-logout {
  transition: color 0.18s ease;
}

.nav-links a:hover,
.footer a:hover,
.admin-nav a:hover,
.nav-logout:hover {
  color: var(--saffron);
}

.nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 253, 248, 0.54);
  color: #fffdf8;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-action:hover {
  background: #fffdf8;
  color: var(--forest-dark);
}

.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fffdf8;
  background: var(--forest-dark);
}

.hero-picture,
.hero-image,
.hero-shade {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-picture {
  display: block;
}

.hero-image {
  object-fit: cover;
  object-position: center 46%;
}

.hero-shade {
  background: rgba(13, 24, 19, 0.42);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: calc(100% - 40px);
  max-width: 720px;
  padding: 124px 0 132px;
  margin-left: clamp(20px, 6vw, 92px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 15px;
  color: var(--saffron);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 20px;
  font-size: clamp(76px, 11vw, 146px);
  line-height: 0.77;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.22);
}

.hero-copy {
  max-width: 580px;
  margin-bottom: 30px;
  color: rgba(255, 253, 248, 0.9);
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.5;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-actions,
.center-actions,
.form-actions,
.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.button-primary {
  background: var(--saffron);
  color: #17130d;
}

.button-primary:hover {
  background: #f1b34b;
}

.button-light {
  border-color: var(--line);
  background: var(--paper-strong);
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: inherit;
  font-size: 14px;
  font-weight: 700;
}

.text-link span {
  color: var(--saffron);
  font-size: 19px;
}

.hero-hours {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 5vw, 76px);
  bottom: 28px;
  display: grid;
  grid-template-columns: auto auto;
  gap: 7px 20px;
  min-width: 260px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 253, 248, 0.36);
  background: rgba(23, 51, 41, 0.84);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hero-hours span {
  color: rgba(255, 253, 248, 0.66);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-hours strong {
  font-size: 14px;
}

.story-section,
.featured-section,
.menu-guide-section,
.promotions-section,
.gallery-section,
.visit-section,
.location-section,
.reviews-section,
.menu-shell,
.admin-shell {
  padding: clamp(64px, 9vw, 124px) clamp(20px, 5vw, 76px);
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(380px, 1.14fr);
  gap: clamp(42px, 8vw, 120px);
  align-items: center;
  background: var(--paper);
}

.story-copy {
  max-width: 620px;
}

.story-copy > p:not(.section-kicker),
.kitchen-copy > p:not(.section-kicker) {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.story-notes {
  display: grid;
  border-top: 1px solid var(--line);
}

.story-notes span {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--forest);
  font-size: 13px;
  font-weight: 700;
}

.story-visual {
  position: relative;
  margin: 0;
}

.story-visual img {
  width: 100%;
  height: clamp(430px, 58vw, 760px);
  object-fit: cover;
}

.story-visual figcaption,
.gallery-item figcaption {
  font-size: 12px;
  font-weight: 700;
}

.story-visual figcaption {
  margin-top: 11px;
  color: var(--muted);
}

.kitchen-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(320px, 1.1fr) minmax(220px, 0.62fr);
  min-height: 720px;
  background: var(--forest);
  color: #fffdf8;
}

.kitchen-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 96px);
}

.kitchen-copy > p:not(.section-kicker) {
  color: rgba(255, 253, 248, 0.72);
}

.kitchen-copy .button {
  align-self: flex-start;
}

.kitchen-photo {
  min-width: 0;
}

.kitchen-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kitchen-photo-main img {
  object-position: center 64%;
}

.kitchen-photo-detail img {
  object-position: 58% center;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 40px;
}

.section-heading-row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.section-heading-row > div {
  max-width: 820px;
}

.featured-section {
  background: var(--paper-strong);
}

.menu-guide-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(42px, 8vw, 120px);
  align-items: start;
  background: var(--paper);
}

.menu-guide-section h2 {
  max-width: 720px;
}

.menu-guide-copy {
  max-width: 680px;
}

.menu-guide-copy p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.menu-guide-copy .button {
  margin-top: 8px;
}

.promotions-section {
  background: var(--paper-strong);
  color: var(--ink);
}

.promotions-heading {
  align-items: start;
  margin-bottom: 24px;
}

.promotions-heading > p {
  max-width: 430px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.promotions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 38px);
}

.promotion-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 36px);
  align-items: center;
  min-width: 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.promotion-media {
  display: grid;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  justify-items: center;
  overflow: hidden;
  background: #2b140c;
  color: inherit;
  cursor: zoom-in;
  font: inherit;
  text-align: left;
}

.promotion-media:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 3px;
}

.promotion-media picture {
  display: flex;
  width: 100%;
  justify-content: center;
}

.promotion-media img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 430px;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.promotion-media:hover img {
  transform: scale(1.01);
}

.promotion-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0;
}

.promotion-label {
  margin: 0 0 14px;
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.promotion-copy h3 {
  margin-bottom: 16px;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
}

.promotion-copy > p:not(.promotion-label):not(.promotion-note) {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.promotion-note {
  margin-top: 18px;
  padding-top: 0;
  color: #8b8178;
  font-size: 12px;
  line-height: 1.55;
}

.featured-menu {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.featured-item {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.featured-item:last-child {
  border-right: 0;
}

.featured-item .item-category {
  margin-bottom: 28px;
  color: var(--terracotta);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.featured-item-image {
  width: calc(100% + 56px);
  height: 220px;
  margin: -28px -28px 24px;
  object-fit: cover;
}

.featured-item h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 31px;
}

.featured-item p {
  flex: 1;
  color: var(--muted);
  line-height: 1.62;
}

.featured-price {
  color: var(--forest);
  font-size: 19px;
  font-weight: 700;
}

.featured-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.gallery-section {
  background: #e8d7ca;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 3 / 4;
  min-height: 230px;
  margin: 0;
  overflow: hidden;
  background: var(--terracotta-dark);
}

.gallery-item-wide {
  grid-column: span 2;
}

.gallery-item-tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.018);
}

.gallery-item::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  background: rgba(28, 20, 16, 0.14);
  pointer-events: none;
}

.gallery-item figcaption {
  position: absolute;
  z-index: 1;
  left: 16px;
  bottom: 16px;
  padding: 8px 10px;
  background: rgba(255, 253, 248, 0.88);
  color: var(--ink);
}

.visit-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: clamp(48px, 9vw, 130px);
  align-items: center;
  background: var(--terracotta);
  color: #fffdf8;
}

.visit-copy {
  max-width: 720px;
}

.hours-table {
  border-top: 1px solid rgba(255, 253, 248, 0.34);
}

.hours-table div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 62px;
  border-bottom: 1px solid rgba(255, 253, 248, 0.34);
}

.hours-table span {
  color: rgba(255, 253, 248, 0.76);
}

.visit-contacts {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.visit-contacts div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.visit-contacts span {
  color: rgba(255, 253, 248, 0.62);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visit-contacts a {
  color: #fffdf8;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: underline;
  text-decoration-color: rgba(255, 253, 248, 0.42);
  text-underline-offset: 4px;
}

.visit-menu {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 26px;
  border: 1px solid rgba(255, 253, 248, 0.32);
  background: rgba(112, 42, 25, 0.3);
}

.visit-menu strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.visit-menu p {
  margin-bottom: 18px;
  color: rgba(255, 253, 248, 0.72);
  line-height: 1.5;
}

.location-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(480px, 1.28fr);
  gap: clamp(38px, 7vw, 96px);
  align-items: center;
  background: var(--paper);
}

.location-copy {
  max-width: 580px;
}

.location-copy > p:not(.section-kicker) {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.location-actions {
  display: flex;
  align-items: center;
  gap: 14px 22px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.location-actions .text-link {
  color: var(--forest);
}

.map-frame {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ded8cd;
  box-shadow: var(--shadow);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: clamp(400px, 48vw, 560px);
  border: 0;
}

.reviews-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(500px, 1.42fr);
  gap: clamp(38px, 7vw, 96px);
  align-items: start;
  background: var(--paper-strong);
}

.reviews-copy {
  position: sticky;
  top: 110px;
  max-width: 520px;
}

.reviews-copy > p:not(.section-kicker) {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.reviews-copy .text-link {
  color: var(--forest);
}

.reviews-widget {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.reviews-widget iframe {
  display: block;
  width: 100%;
  height: 650px;
  border: 0;
}

.qr-box {
  display: grid;
  align-items: center;
  justify-items: center;
  place-items: center;
  width: 156px;
  height: 156px;
  padding: 6px;
  background: #fff;
}

.qr-box img,
.qr-box canvas {
  width: 100%;
  height: auto;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 30px;
  min-height: 108px;
  padding: 24px clamp(20px, 5vw, 76px);
  background: #151613;
  color: rgba(255, 253, 248, 0.76);
  font-size: 13px;
}

.footer-brand {
  color: #fffdf8;
}

.footer-hours {
  display: flex;
  gap: 18px;
  color: rgba(255, 253, 248, 0.58);
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.admin-link {
  color: rgba(255, 253, 248, 0.38);
}

/* Menu */
.menu-shell,
.admin-shell {
  min-height: calc(100vh - 76px);
}

.menu-shell {
  max-width: 1440px;
  margin: 0 auto;
}

.menu-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: clamp(36px, 7vw, 100px);
  align-items: flex-start;
  margin-bottom: 48px;
}

.menu-intro {
  max-width: 820px;
}

.menu-head .menu-label {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: none;
}

.menu-head h1,
.admin-heading h1,
.admin-gate h1 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(64px, 9vw, 118px);
}

.menu-head p,
.admin-heading p,
.admin-gate p {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.menu-hours {
  display: flex;
  gap: 10px 24px;
  flex-wrap: wrap;
  margin-top: 28px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 700;
}

.menu-hours a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(36, 76, 60, 0.3);
  text-underline-offset: 4px;
}

.qr-panel {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
  text-align: center;
}

.qr-panel strong {
  font-size: 14px;
}

.qr-panel span,
.form-note {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.menu-tools {
  position: sticky;
  z-index: 10;
  top: 76px;
  display: grid;
  gap: 13px;
  margin: 0 calc(clamp(20px, 5vw, 76px) * -1) 42px;
  padding: 18px clamp(20px, 5vw, 76px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 237, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.search-wrap {
  display: block;
  position: relative;
}

.filter-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-row button,
.item-meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--forest);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.filter-row button {
  cursor: pointer;
}

.filter-row button.is-active {
  border-color: var(--forest);
  background: var(--forest);
  color: #fffdf8;
}

.menu-count {
  min-width: auto;
  min-width: max-content;
  white-space: nowrap;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.menu-list {
  display: grid;
  gap: 54px;
}

.menu-disclaimer {
  max-width: 820px;
  margin: 54px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.category-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.category-title h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 58px);
}

.category-title span {
  color: var(--terracotta);
  font-weight: 700;
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.menu-item,
.admin-item {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper-strong);
}

.menu-item {
  min-height: 190px;
}

.menu-item.has-image {
  overflow: hidden;
  padding-top: 0;
}

.menu-item-media {
  position: relative;
  display: block;
  width: calc(100% + 44px);
  padding: 0;
  border: 0;
  margin: 0 -22px 22px;
  overflow: hidden;
  background: #e8e0d4;
  color: inherit;
  cursor: zoom-in;
  appearance: none;
  -webkit-appearance: none;
}

.menu-item-media::before {
  display: block;
  padding-top: 100%;
  content: "";
}

.menu-item-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  transition: transform 0.28s ease;
}

.menu-item-media:hover .menu-item-image {
  transform: scale(1.025);
}

.menu-item-media:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: -3px;
}

.is-image-viewer-open {
  overflow: hidden;
}

.image-viewer[hidden] {
  display: none;
}

.image-viewer {
  position: fixed;
  z-index: 1200;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
}

.image-viewer-backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(7, 15, 11, 0.92);
  cursor: zoom-out;
}

.image-viewer-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  max-width: 100%;
  max-height: 100%;
}

.image-viewer-image {
  display: block;
  max-width: min(92vw, 1600px);
  max-height: 84vh;
  object-fit: contain;
  background: #0d1813;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
}

.image-viewer-caption {
  margin: 12px 48px 0;
  color: #fffdf8;
  font-size: 14px;
  text-align: center;
}

.image-viewer-close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0 0 3px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  place-items: center;
  background: rgba(13, 24, 19, 0.78);
  color: #fff;
  cursor: pointer;
  font: 300 34px/1 Arial, sans-serif;
}

.image-viewer-close:hover,
.image-viewer-close:focus-visible {
  background: #fffdf8;
  color: var(--forest-dark);
}

.image-viewer-nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0 0 5px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  place-items: center;
  background: rgba(13, 24, 19, 0.78);
  color: #fff;
  cursor: pointer;
  font: 300 38px/1 Arial, sans-serif;
  transform: translateY(-50%);
}

.image-viewer-prev {
  left: 12px;
}

.image-viewer-next {
  right: 12px;
}

.image-viewer-nav:hover,
.image-viewer-nav:focus-visible {
  background: #fffdf8;
  color: var(--forest-dark);
}

.image-viewer-counter {
  margin: 5px 0 0;
  color: rgba(255, 253, 248, 0.62);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}

.item-top h3 {
  margin: 0;
  overflow-wrap: anywhere;
}

.price {
  min-width: auto;
  min-width: max-content;
  white-space: nowrap;
  color: var(--terracotta);
  font-size: 19px;
  font-weight: 700;
}

.item-values {
  display: grid;
  gap: 5px;
  justify-items: end;
  min-width: auto;
  min-width: max-content;
}

.item-weight {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.menu-item p,
.admin-item p {
  margin-bottom: 16px;
  color: var(--muted);
  line-height: 1.58;
}

.item-dietary {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.item-nutrition {
  padding: 14px;
  background: rgba(191, 91, 57, 0.08);
}

.item-nutrition > strong,
.item-details strong {
  display: block;
  margin-bottom: 6px;
  color: var(--forest-dark);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.item-nutrition p,
.item-details p,
.admin-item .item-nutrition p,
.admin-item .item-details p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.item-details {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.42);
}

.item-details summary {
  padding: 12px 14px;
  cursor: pointer;
  color: var(--forest-dark);
  font-size: 13px;
  font-weight: 700;
}

.item-details[open] summary {
  border-bottom: 1px solid var(--line);
}

.item-details > div {
  padding: 13px 14px;
}

.item-details > div + div {
  padding-top: 0;
}

.item-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.empty-state {
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--paper-strong);
  color: var(--muted);
}

.footer-menu {
  grid-template-columns: 1fr auto 1fr;
}

.footer-menu > a:last-child {
  justify-self: end;
}

/* Admin */
.admin-shell {
  max-width: 1500px;
  margin: 0 auto;
}

.admin-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 253, 248, 0.7);
  font-size: 13px;
  font-weight: 700;
}

.nav-logout,
.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.admin-gate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 48px;
  align-items: flex-start;
  max-width: 1080px;
  margin: 5vh auto 0;
}

.gate-copy {
  padding-top: 20px;
}

.pin-form,
.editor-form,
.admin-list-wrap {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.pin-form {
  display: grid;
  gap: 12px;
}

label {
  color: inherit;
  font-size: 12px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  outline: none;
  padding: 14px 15px;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(36, 76, 60, 0.12);
}

.admin-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.admin-heading h1 {
  font-size: clamp(58px, 7vw, 92px);
}

.admin-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--paper-strong);
}

.status-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #36a36c;
  box-shadow: 0 0 0 5px rgba(54, 163, 108, 0.12);
}

.admin-summary div {
  display: grid;
  gap: 4px;
}

.admin-summary strong {
  font-size: 13px;
}

.admin-summary span:last-child {
  color: var(--muted);
  font-size: 11px;
}

.admin-notice {
  margin-bottom: 16px;
  padding: 13px 15px;
  border: 1px solid rgba(36, 76, 60, 0.22);
  background: rgba(36, 76, 60, 0.08);
  color: var(--forest);
  font-size: 13px;
  font-weight: 700;
}

.admin-notice.is-error {
  border-color: rgba(159, 38, 51, 0.24);
  background: rgba(159, 38, 51, 0.08);
  color: #8f2731;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 20px;
  align-items: flex-start;
}

.editor-form {
  display: grid;
  gap: 10px;
  position: sticky;
  top: 96px;
}

.editor-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.editor-title h2 {
  margin: 0;
  font-family: Inter, sans-serif;
  font-size: 20px;
  line-height: 1.2;
}

.text-button {
  color: var(--muted);
  font-size: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 138px;
  gap: 12px;
}

.field-group {
  display: grid;
  gap: 10px;
}

.editor-form > .button {
  margin-top: 6px;
}

.field-hint {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.item-image-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.item-image-preview img {
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  object-fit: cover;
}

.item-image-preview > div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.item-image-preview span {
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.item-image-preview .text-button {
  justify-self: start;
  color: #9f2633;
}

.list-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-bottom: 14px;
}

.icon-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.icon-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.file-button input {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.admin-list {
  display: grid;
  gap: 10px;
  max-height: 850px;
  overflow: auto;
  padding-right: 4px;
}

.admin-item {
  padding: 18px;
  overflow: hidden;
}

.admin-item-image {
  width: calc(100% + 36px);
  max-width: none;
  height: 160px;
  margin: -18px -18px 18px;
  object-fit: cover;
}

.admin-item .item-top p {
  margin: 6px 0 0;
  font-size: 12px;
}

.admin-item-actions {
  display: flex;
  gap: 8px;
}

.admin-item-actions button {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.admin-item-actions button[data-action="delete"] {
  color: #9f2633;
}

@media (max-width: 1000px) {
  .kitchen-section {
    grid-template-columns: minmax(240px, 0.8fr) minmax(360px, 1.2fr);
  }

  .kitchen-photo-detail {
    display: none;
  }

  .featured-menu {
    grid-template-columns: 1fr;
  }

  .featured-item {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .visit-section {
    grid-template-columns: 1fr;
  }

  .location-section {
    grid-template-columns: 1fr;
  }

  .reviews-section {
    grid-template-columns: 1fr;
  }

  .reviews-copy {
    position: static;
  }

  .promotions-grid {
    grid-template-columns: 1fr;
  }

  .footer,
  .footer-menu {
    grid-template-columns: 1fr auto;
  }

  .footer-hours {
    grid-row: 2;
  }

  .footer-links,
  .footer-menu > a:last-child {
    justify-self: end;
  }
}

@media (max-width: 820px) {
  .topbar {
    min-height: 68px;
    padding: 12px 16px;
  }

  .nav-links {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .nav-action {
    min-height: 40px;
    padding: 9px 12px;
  }

  .hero {
    min-height: 90vh;
    min-height: 90svh;
    align-items: flex-end;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding: 118px 0 166px;
    margin-left: 16px;
  }

  .hero h1 {
    font-size: clamp(68px, 19vw, 108px);
  }

  .hero-hours {
    left: 16px;
    right: 16px;
    bottom: 18px;
    min-width: 0;
  }

  .story-section,
  .menu-guide-section,
  .menu-head,
  .admin-gate,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .story-section {
    gap: 40px;
  }

  .menu-guide-section {
    gap: 28px;
  }

  .story-visual img {
    height: min(124vw, 680px);
  }

  .kitchen-section {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .kitchen-photo-main {
    height: min(120vw, 620px);
  }

  .kitchen-copy {
    padding: 56px 20px 64px;
  }

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .promotions-grid {
    grid-template-columns: 1fr;
  }

  .promotion-media img {
    max-height: none;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-item-wide {
    grid-column: span 2;
  }

  .gallery-item-tall {
    grid-row: auto;
  }

  .visit-menu {
    grid-template-columns: 1fr;
    justify-items: flex-start;
  }

  .menu-shell,
  .admin-shell {
    min-height: calc(100vh - 68px);
  }

  .menu-head {
    gap: 30px;
  }

  .qr-panel {
    display: none;
  }

  .menu-tools {
    top: 68px;
  }

  .items-grid {
    grid-template-columns: 1fr;
  }

  .admin-gate {
    margin-top: 0;
  }

  .admin-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .editor-form {
    position: static;
  }
}

@media (max-width: 560px) {
  .error-shell {
    padding: 32px 24px;
  }

  .error-shell h1 {
    font-size: 56px;
  }

  .brand-name {
    display: none;
  }

  h2 {
    font-size: 43px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .location-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .map-frame iframe {
    height: 360px;
  }

  .reviews-widget iframe {
    height: 620px;
  }

  .promotion-card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 18px 0;
  }

  .promotion-label {
    margin-bottom: 8px;
    font-size: 10px;
  }

  .promotion-copy h3 {
    margin-bottom: 10px;
    font-size: 27px;
  }

  .promotion-copy > p:not(.promotion-label):not(.promotion-note) {
    font-size: 13px;
    line-height: 1.55;
  }

  .promotion-note {
    margin-top: 10px;
    font-size: 10px;
  }

  .image-viewer {
    padding: 10px;
  }

  .image-viewer-image {
    max-width: 96vw;
    max-height: 82vh;
  }

  .image-viewer-nav {
    width: 42px;
    height: 42px;
  }

  .image-viewer-prev {
    left: 6px;
  }

  .image-viewer-next {
    right: 6px;
  }

  .story-section,
  .featured-section,
  .menu-guide-section,
  .promotions-section,
  .gallery-section,
  .visit-section,
  .location-section,
  .reviews-section,
  .menu-shell,
  .admin-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .featured-item {
    padding: 24px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item-wide {
    grid-column: auto;
  }

  .hours-table div {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 14px 0;
  }

  .visit-menu {
    padding: 20px;
  }

  .footer,
  .footer-menu {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .footer-hours {
    grid-row: auto;
    flex-direction: column;
    gap: 7px;
  }

  .footer-links,
  .footer-menu > a:last-child {
    justify-self: start;
  }

  .menu-head h1,
  .admin-heading h1,
  .admin-gate h1 {
    font-size: 64px;
  }

  .menu-tools {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .filter-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .filter-row {
    flex-wrap: nowrap;
    width: calc(100vw - 32px);
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .filter-row::-webkit-scrollbar {
    display: none;
  }

  .filter-row button {
    min-width: auto;
    white-space: nowrap;
  }

  .item-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .item-values {
    justify-items: flex-start;
  }

  .featured-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .menu-item {
    min-height: 0;
    padding: 18px;
  }

  .menu-item-media {
    width: calc(100% + 36px);
    margin: 0 -18px 18px;
  }

  .admin-nav {
    gap: 12px;
  }

  .admin-nav a {
    font-size: 12px;
  }

  .form-row,
  .list-toolbar {
    grid-template-columns: 1fr;
  }

  .toolbar-actions {
    justify-content: flex-end;
  }

  .admin-summary {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
