:root {
  --ink: #21171b;
  --soft-ink: #4f4147;
  --muted: #75676d;
  --paper: #fffdf9;
  --cream: #fff5e7;
  --rose: #f45f7f;
  --tomato: #ef5a4f;
  --leaf: #5f9f68;
  --citrus: #f5bd38;
  --sky: #7bb7cf;
  --cocoa: #6b4938;
  --line: rgba(33, 23, 27, .12);
  --shadow: 0 18px 45px rgba(33, 23, 27, .11);
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

address {
  color: var(--soft-ink);
  font-style: normal;
  font-weight: 800;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  font-weight: 900;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 249, .92);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 900;
}



.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: .95rem;
  font-weight: 850;
}

.nav-links a:not(.btn) {
  color: var(--soft-ink);
  padding: 8px 0;
}

.nav-links a:not(.btn):hover,
.nav-links a[aria-current="page"] {
  color: var(--rose);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-lines {
  position: relative;
}

.menu-lines::before,
.menu-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-lines::before {
  top: -7px;
}

.menu-lines::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .menu-lines {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .menu-lines::before {
  transform: translateY(7px) rotate(90deg);
}

.nav-toggle[aria-expanded="true"] .menu-lines::after {
  opacity: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 8px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  font-size: .94rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  box-shadow: 0 12px 24px rgba(33, 23, 27, .17);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 15px 30px rgba(33, 23, 27, .22);
}

.btn-light {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, .68);
  background: rgba(255, 255, 255, .18);
  color: #fff;
  box-shadow: none;
}

.btn-small {
  min-height: 40px;
  padding: 9px 13px;
  font-size: .86rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--rose);
  font-weight: 900;
}

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

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero {
  min-height: min(640px, calc(100vh - var(--header-height) - 52px));
  display: grid;
  align-items: end;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(33, 23, 27, .88), rgba(33, 23, 27, .48) 56%, rgba(33, 23, 27, .22));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 72px 0 58px;
  color: #fff;
}

.hero-content .eyebrow {
  color: #ffd86b;
}

.hero-copy {
  width: min(660px, 100%);
  color: rgba(255, 255, 255, .86);
  font-size: 1.12rem;
}

.home-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 18px;
  background: linear-gradient(90deg, var(--rose), var(--citrus), var(--leaf), var(--sky));
}

.page-hero {
  padding: 68px 0;
  background:
    linear-gradient(125deg, rgba(244, 95, 127, .12), rgba(245, 189, 56, .16) 44%, rgba(95, 159, 104, .12)),
    var(--cream);
}

.page-photo,
.photo-card,
.menu-highlight figure,
.gallery-item picture {
  overflow: hidden;
  border-radius: 8px;
  background: #f8ead9;
}

.page-photo {
  height: 520px;
  box-shadow: var(--shadow);
}

.page-photo img,
.photo-card img,
.menu-highlight img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--rose);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: 4.35rem;
}

h2 {
  margin-bottom: 14px;
  font-size: 2.85rem;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

p {
  margin: 0 0 18px;
  color: var(--muted);
}

.hero p,
.page-hero p {
  font-size: 1.06rem;
}

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

.category-band {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.sticky-categories {
  position: sticky;
  top: var(--header-height);
  z-index: 35;
}

.category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 18px 0;
}

.category-grid a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--soft-ink);
  padding: 10px 13px;
  font-size: .9rem;
  font-weight: 900;
}

.category-grid a:hover {
  border-color: rgba(244, 95, 127, .42);
  color: var(--rose);
}

.section {
  padding: 82px 0;
}

.tint {
  background: var(--cream);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  gap: 56px;
  align-items: center;
}

.split.compact {
  grid-template-columns: minmax(0, .95fr) minmax(320px, .72fr);
}

.form-layout {
  align-items: start;
}

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

.photo-stack {
  position: relative;
  min-height: 580px;
}

.photo-card {
  display: block;
  box-shadow: var(--shadow);
}

.photo-card.tall {
  width: 74%;
  height: 520px;
}

.photo-card.small {
  position: absolute;
  right: 0;
  bottom: 8px;
  width: 48%;
  height: 260px;
  border: 10px solid var(--paper);
}

.section-head {
  width: min(720px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

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

.menu-highlight,
.info-card,
.contact-card,
.lead-form,
.price-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(33, 23, 27, .08);
}

.menu-highlight {
  overflow: hidden;
}

.menu-highlight figure {
  height: 260px;
  margin: 0;
}

.menu-highlight div {
  padding: 22px;
}

.info-card {
  padding: 26px;
}

.info-card h2 {
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.35rem;
}

.mini-label {
  display: inline-flex;
  margin-bottom: 16px;
  border: 1px solid rgba(244, 95, 127, .25);
  border-radius: 8px;
  background: rgba(244, 95, 127, .08);
  color: var(--rose);
  padding: 6px 9px;
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-radius: 8px;
  background: #fff;
  padding: 34px;
  box-shadow: var(--shadow);
}

.cta-panel > div:first-child {
  max-width: 700px;
}

.location-strip {
  background: #f3fbf6;
}

.menu-wrap {
  background:
    linear-gradient(90deg, rgba(123, 183, 207, .11), rgba(95, 159, 104, .08)),
    var(--paper);
}

.price-note {
  margin-bottom: 28px;
  padding: 20px 22px;
}

.menu-section {
  display: grid;
  grid-template-columns: minmax(210px, .36fr) minmax(0, .64fr);
  gap: 32px;
  align-items: start;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 150px;
}

.menu-section:first-of-type {
  border-top: 0;
}

.menu-heading {
  position: sticky;
  top: calc(var(--header-height) + 72px);
}

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

.menu-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
}

.menu-list h3 {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.menu-list h3 span {
  flex: 0 0 auto;
  color: var(--rose);
  font-size: .84rem;
}

.contact-card,
.lead-form {
  padding: 28px;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 26px 0;
}

.contact-list div {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.contact-list dt {
  color: var(--rose);
  font-size: .8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 4px 0 0;
  color: var(--soft-ink);
  font-weight: 800;
}

.lead-form {
  display: grid;
  gap: 16px;
}

.form-intro,
.small-note {
  color: var(--soft-ink);
  font-size: .94rem;
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--rose);
  outline: 3px solid rgba(244, 95, 127, .2);
}

[aria-invalid="true"] {
  border-color: var(--tomato);
  outline: 3px solid rgba(239, 90, 79, .16);
}

fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px;
}

legend {
  padding: 0 8px;
  color: var(--ink);
  font-weight: 900;
}

fieldset label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--soft-ink);
  font-weight: 800;
}

fieldset input {
  width: auto;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--soft-ink);
  font-weight: 800;
}

.form-status.error {
  color: var(--tomato);
}

.form-status.success {
  color: var(--leaf);
}

.form-actions {
  margin-top: 4px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 240px;
  gap: 18px;
}

.gallery-item {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.gallery-item picture {
  display: block;
  width: 100%;
  height: 100%;
}

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

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

.gallery-item figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  padding: 8px 10px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(33, 23, 27, .13);
}

.footer {
  padding: 52px 0 72px;
  background: var(--ink);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr .8fr;
  gap: 40px;
}

.footer .brand {
  margin-bottom: 18px;
}

.footer .brand-name span,
.footer p,
.footer a {
  color: rgba(255, 255, 255, .72);
}

.footer h2 {
  margin-bottom: 14px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1rem;
}

.footer a {
  display: block;
  margin-bottom: 10px;
  font-weight: 750;
}

.footer a:hover {
  color: #fff;
}

.mobile-cta {
  display: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: #fff;
    padding: 14px 20px 22px;
    box-shadow: 0 18px 32px rgba(33, 23, 27, .14);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links a {
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
  }

  .nav-links .btn {
    margin-top: 16px;
  }

  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .split,
  .split.compact,
  .menu-section {
    grid-template-columns: 1fr;
  }

  .page-photo {
    height: 460px;
  }

  .photo-stack {
    min-height: 500px;
  }

  .highlight-grid,
  .card-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .menu-heading {
    position: static;
  }

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

  .gallery-item.tall,
  .gallery-item.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 68px;
  }

  .container {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    min-height: auto;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(33, 23, 27, .42), rgba(33, 23, 27, .9));
  }

  .hero-content {
    padding: 42px 0 46px;
  }

  .hero-copy,
  .page-hero p {
    font-size: 1rem;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2rem;
  }

  .section {
    padding: 60px 0;
  }

  .page-hero {
    padding: 44px 0;
  }

  .page-photo {
    height: 390px;
  }

  .actions,
  .form-row,
  fieldset {
    grid-template-columns: 1fr;
  }

  .actions {
    display: grid;
  }

  .btn,
  .text-link {
    width: 100%;
  }

  .category-grid {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 14px;
  }

  .category-grid a {
    flex: 0 0 auto;
  }

  .sticky-categories {
    top: var(--header-height);
  }

  .photo-stack {
    min-height: 430px;
  }

  .photo-card.tall {
    width: 82%;
    height: 390px;
  }

  .photo-card.small {
    width: 54%;
    height: 190px;
    border-width: 8px;
  }

  .menu-highlight figure {
    height: 220px;
  }

  .menu-list h3 {
    display: grid;
  }

  .contact-card,
  .lead-form,
  .cta-panel {
    padding: 22px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 360px;
  }

  .footer {
    padding-bottom: 104px;
  }

  .mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--line);
    background: #fff;
  }

  .mobile-cta a {
    display: grid;
    min-height: 58px;
    place-items: center;
    color: var(--ink);
    font-size: .92rem;
    font-weight: 900;
  }

  .mobile-cta a + a {
    border-left: 1px solid var(--line);
  }
}


/* Official logo */
.brand-logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  box-shadow: 0 10px 24px rgba(88, 55, 2, .18);
}
.footer .brand-logo {
  width: 76px;
  height: 76px;
}
.form-hidden {
  display: none !important;
}
.gallery-note {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
  color: var(--muted);
}
@media (max-width: 720px) {
  .brand-logo { width: 54px; height: 54px; }
  .footer .brand-logo { width: 62px; height: 62px; }
}


.menu-board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.menu-board-grid a,
.menu-board-grid button {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(33, 23, 27, .08);
}

.menu-board-grid img {
  width: 100%;
  height: auto;
  display: block;
}

.full-menu-images {
  border-top: 0;
}

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

/* Improved clickable gallery + slideshow */
.gallery-section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.gallery-section-head h2 {
  margin: 0 0 10px;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.gallery-section-head p:last-child {
  max-width: 660px;
  color: var(--soft-ink);
}

.gallery-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  padding: 12px 16px;
  border: 1px solid rgba(244, 95, 127, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 12px 30px rgba(33, 23, 27, .08);
}

.gallery-note::before {
  content: "↗";
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose), var(--citrus));
  color: #fff;
  font-weight: 900;
}

.gallery-grid {
  grid-auto-flow: dense;
  gap: 20px;
}

.gallery-item {
  border-radius: 28px;
  isolation: isolate;
  cursor: zoom-in;
  background: #fff;
  transform: translateZ(0);
  transition: transform .22s ease, box-shadow .22s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(33, 23, 27, 0) 48%, rgba(33, 23, 27, .58));
  opacity: .86;
  transition: opacity .2s ease;
}

.gallery-item:hover,
.gallery-item:focus-within {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 24px 60px rgba(33, 23, 27, .2);
}

.gallery-item:hover::after,
.gallery-item:focus-within::after {
  opacity: .96;
}

.gallery-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  text-align: inherit;
}

.gallery-open picture {
  border-radius: inherit;
}

.gallery-open img {
  transition: transform .55s ease, filter .3s ease;
}

.gallery-item:hover .gallery-open img,
.gallery-item:focus-within .gallery-open img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.03);
}

.gallery-zoom {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 900;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease;
}

.gallery-zoom::before {
  content: "🔍";
}

.gallery-item:hover .gallery-zoom,
.gallery-item:focus-within .gallery-zoom {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item figcaption {
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 18px;
  width: fit-content;
  max-width: calc(100% - 36px);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.gallery-lightbox.is-open {
  display: flex;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 10, 13, .86);
  backdrop-filter: blur(10px);
}

.gallery-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  min-height: calc(100dvh - 48px);
  height: auto;
  display: grid;
  place-items: center;
}

.gallery-lightbox-figure {
  width: 100%;
  height: auto;
  margin: 0;
  display: grid;
  grid-template-rows: auto auto;
  gap: 14px;
  justify-items: center;
  padding: 28px 0 90px;
}

.gallery-lightbox-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 24px;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .45);
}

.gallery-lightbox-caption,
.gallery-lightbox-count {
  justify-self: center;
  color: #fff;
  text-align: center;
  font-weight: 900;
}

.gallery-lightbox-caption {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
}

.gallery-lightbox-count {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .75);
  font-size: .9rem;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  position: absolute;
  z-index: 3;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover,
.gallery-lightbox-close:focus-visible,
.gallery-lightbox-nav:focus-visible {
  transform: scale(1.06);
  background: #fff;
}

.gallery-lightbox-close {
  top: 8px;
  right: 8px;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  line-height: 1;
}

.gallery-lightbox-nav {
  top: 50%;
  width: 54px;
  height: 54px;
  font-size: 3rem;
  line-height: .8;
}

.gallery-lightbox-prev {
  left: -10px;
}

.gallery-lightbox-next {
  right: -10px;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 780px) {
  .gallery-note {
    border-radius: 22px;
    align-items: flex-start;
  }

  .gallery-lightbox {
    padding: 16px;
  }

  .gallery-lightbox-panel {
    min-height: calc(100dvh - 32px);
    height: auto;
  }

  .gallery-lightbox-figure {
    padding: 54px 0 106px;
  }

  .gallery-lightbox-image {
    max-height: none;
    border-radius: 18px;
  }

  .gallery-lightbox-nav {
    top: auto;
    bottom: 20px;
    width: 48px;
    height: 48px;
    font-size: 2.4rem;
  }

  .gallery-lightbox-prev {
    left: 18px;
  }

  .gallery-lightbox-next {
    right: 18px;
  }

  .gallery-lightbox-close {
    top: 10px;
    right: 10px;
  }

  .gallery-lightbox-count {
    bottom: 26px;
  }

  .gallery-lightbox-caption {
    margin-bottom: 74px;
  }
}


@media (max-height: 520px) {
  .gallery-lightbox-figure {
    padding-top: 18px;
    padding-bottom: 76px;
  }

  .gallery-lightbox-image {
    max-height: none;
  }
}

/* Final mobile lightbox fixes and menu-board slideshow styling */
.menu-board-grid .menu-board-open {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 34px rgba(33, 23, 27, .08);
  cursor: zoom-in;
}

.menu-board-grid .menu-board-open img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .35s ease, filter .25s ease;
}

.menu-board-grid .menu-board-open:hover img,
.menu-board-grid .menu-board-open:focus-visible img {
  transform: scale(1.025);
  filter: saturate(1.04) contrast(1.02);
}

.menu-board-grid .menu-board-open .gallery-zoom {
  opacity: 1;
  transform: none;
}

.gallery-lightbox.is-open {
  display: block;
}

.gallery-lightbox-panel {
  margin: 0 auto;
}

.gallery-lightbox-image {
  max-height: none;
}

@media (max-width: 780px) {
  .gallery-lightbox {
    touch-action: pan-y;
  }

  .gallery-open,
  .menu-board-open {
    -webkit-tap-highlight-color: rgba(244, 95, 127, .18);
    touch-action: manipulation;
  }
}

/* Stable lightbox sizing fix: gallery photos fit the viewport; menu boards scroll cleanly. */
.gallery-lightbox,
.gallery-lightbox.is-open {
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.gallery-lightbox.is-open {
  display: flex;
}

.gallery-lightbox.is-document {
  align-items: flex-start;
}

.gallery-lightbox-backdrop {
  position: fixed;
}

.gallery-lightbox-panel {
  width: min(1120px, calc(100vw - 48px));
  min-height: min-content;
  margin: auto;
  padding: 0;
  display: grid;
  place-items: center;
}

.gallery-lightbox.is-document .gallery-lightbox-panel {
  width: min(1280px, calc(100vw - 32px));
  margin: 18px auto 96px;
  min-height: auto;
}

.gallery-lightbox-figure {
  width: 100%;
  margin: 0;
  padding: 74px 0 88px;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.gallery-lightbox-image {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100dvh - 190px);
  object-fit: contain;
}

.gallery-lightbox.is-document .gallery-lightbox-image {
  width: 100%;
  max-width: 100%;
  max-height: none;
  height: auto;
}

.gallery-lightbox-close,
.gallery-lightbox-nav,
.gallery-lightbox-count {
  position: fixed;
  z-index: 5;
}

.gallery-lightbox-close {
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
}

.gallery-lightbox-prev {
  left: max(14px, env(safe-area-inset-left));
}

.gallery-lightbox-next {
  right: max(14px, env(safe-area-inset-right));
}

.gallery-lightbox-count {
  left: 50%;
  bottom: max(22px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
}

@media (max-width: 780px) {
  .gallery-lightbox {
    padding: 0 12px;
  }

  .gallery-lightbox-panel,
  .gallery-lightbox.is-document .gallery-lightbox-panel {
    width: calc(100vw - 24px);
    margin: 0 auto 86px;
  }

  .gallery-lightbox-figure {
    padding: 64px 0 98px;
  }

  .gallery-lightbox-image {
    max-height: calc(100dvh - 190px);
  }

  .gallery-lightbox.is-document .gallery-lightbox-image {
    max-height: none;
  }

  .gallery-lightbox-nav {
    top: auto;
    bottom: max(18px, env(safe-area-inset-bottom));
  }

  .gallery-lightbox-prev {
    left: max(18px, env(safe-area-inset-left));
  }

  .gallery-lightbox-next {
    right: max(18px, env(safe-area-inset-right));
  }
}
