:root {
  color-scheme: light;
  --ink: #17120f;
  --ink-soft: #302821;
  --muted: #6f6257;
  --paper: #f7efe4;
  --paper-warm: #efe0cd;
  --surface: #fffdf8;
  --surface-strong: #fbf2e4;
  --line: #dccbb8;
  --saffron: #e7a927;
  --saffron-soft: #fff1c7;
  --tomato: #b7342a;
  --tomato-dark: #8f271f;
  --teal: #087c70;
  --teal-dark: #075f56;
  --olive: #5e7659;
  --cream: #fff8ec;
  --shadow-soft: 0 20px 58px rgba(23, 18, 15, 0.15);
  --shadow-tight: 0 10px 26px rgba(23, 18, 15, 0.08);
  --radius: 8px;
  --max: 1160px;
  --header: 76px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: calc(var(--header) + 1.1rem);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

body,
button,
input {
  font: inherit;
}

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

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

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

button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(15, 127, 115, 0.38);
  outline-offset: 3px;
}

code {
  padding: 0.08rem 0.24rem;
  border-radius: 5px;
  background: rgba(15, 127, 115, 0.08);
  color: var(--teal);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 120;
  transform: translateY(-140%);
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
}

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

.opening-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.45rem;
  background: var(--ink);
  color: var(--cream);
  pointer-events: none;
  animation: openingFade 520ms ease 420ms forwards;
}

.opening-screen strong {
  font-size: 1.55rem;
  line-height: 1;
}

.opening-screen small {
  color: rgba(255, 250, 241, 0.7);
  font-weight: 760;
}

.site-header {
  min-height: var(--header);
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem max(1rem, calc((100vw - var(--max)) / 2));
  background: rgba(247, 239, 228, 0.88);
  border-bottom: 1px solid rgba(220, 203, 184, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 850;
}

.brand span:last-child {
  min-width: 0;
}

.brand strong,
.brand small {
  display: block;
  overflow-wrap: normal;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--saffron);
  font-weight: 950;
  font-size: 1.22rem;
  box-shadow: inset 0 0 0 2px rgba(242, 187, 63, 0.35);
}

.opening-screen .brand-mark {
  width: 56px;
  height: 56px;
  flex-basis: 56px;
  background: #0f0e0d;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.top-nav a,
.header-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 0.82rem;
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-weight: 780;
  font-size: 0.94rem;
}

.top-nav a:hover,
.header-action:hover {
  background: rgba(255, 253, 248, 0.84);
}

.header-action {
  border: 1px solid rgba(21, 20, 18, 0.13);
  background: var(--surface);
}

.hero {
  position: relative;
  min-height: 600px;
  height: calc(100svh - 92px);
  max-height: 760px;
  display: grid;
  align-items: end;
  padding: 4rem max(1rem, calc((100vw - var(--max)) / 2)) 3.2rem;
  isolation: isolate;
  background-image: url("assets/hero-pide.jpg");
  background-size: cover;
  background-position: center 42%;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(13, 10, 8, 0.48), rgba(13, 10, 8, 0.72));
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: 34%;
  background: rgba(12, 11, 10, 0.38);
}

.hero-inner {
  width: min(var(--max), 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 2rem;
  align-items: end;
}

.hero-inner > *,
.split-section > *,
.about-grid > *,
.contact-section > *,
.menu-hero > * {
  min-width: 0;
}

.hero-copy {
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--tomato-dark);
  font-size: 0.8rem;
  font-weight: 920;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow,
.menu-hero .eyebrow {
  color: var(--saffron);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  font-size: 4.25rem;
}

h2 {
  font-size: 2.2rem;
}

h3 {
  font-size: 1.08rem;
}

p {
  margin: 0;
}

.hero-lead {
  margin-top: 1rem;
  max-width: 660px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.16rem;
}

.hero-actions,
.menu-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  align-items: center;
  margin-top: 1.4rem;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  align-items: center;
  margin-top: 1.65rem;
}

.button,
.mini-action,
.small-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  padding: 0.78rem 1.05rem;
  font-weight: 880;
  cursor: pointer;
  transition: transform 170ms ease, box-shadow 170ms ease, background 170ms ease, border-color 170ms ease;
}

.button:hover,
.mini-action:hover,
.small-button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--tomato-dark);
  color: #fff;
  box-shadow: 0 16px 34px rgba(143, 39, 31, 0.28);
}

.button.light {
  background: var(--saffron);
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(231, 169, 39, 0.24);
}

.button.whatsapp {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 14px 30px rgba(8, 124, 112, 0.22);
}

.button.secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}

.button.ghost-on-image {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero-preview {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(15, 14, 13, 0.5);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.preview-kicker,
.preview-link {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 850;
}

.preview-link {
  margin-top: 0.75rem;
  color: var(--saffron);
}

.preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.86rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.preview-row:last-child {
  border-bottom: 0;
}

.preview-row strong,
.preview-row span,
.preview-row b {
  display: block;
}

.preview-row span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
}

.preview-row b {
  color: #fff;
  white-space: nowrap;
}

.quick-dock {
  width: min(var(--max), calc(100% - 2rem));
  margin: -1.7rem auto 0;
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0.7rem;
  border: 1px solid rgba(220, 203, 184, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.quick-dock a {
  min-height: 64px;
  display: grid;
  align-content: center;
  gap: 0.12rem;
  padding: 0.74rem 0.85rem;
  border-radius: 6px;
  color: var(--ink-soft);
}

.quick-dock a:hover {
  background: var(--surface-strong);
}

.quick-dock span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 780;
}

.quick-dock strong {
  font-size: 0.96rem;
  line-height: 1.15;
}

.section,
.split-section {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 4.7rem 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.45rem;
}

.section-head.tight {
  display: block;
  margin-bottom: 1rem;
}

.section-head .text-link {
  color: var(--teal);
  font-weight: 880;
}

.home-highlight-grid,
.menu-grid,
.category-overview,
.gallery-grid,
.contact-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr));
  gap: 1rem;
}

.dish-card,
.category-card,
.contact-tile,
.map-panel,
.service-list div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: var(--shadow-tight);
}

.dish-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  min-height: 188px;
  padding: 1rem;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.dish-card::before {
  content: "";
  width: 4px;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(180deg, var(--saffron), var(--tomato));
}

.dish-card:hover {
  border-color: rgba(143, 39, 31, 0.28);
  box-shadow: 0 16px 34px rgba(23, 18, 15, 0.11);
  transform: translateY(-2px);
}

.dish-card.is-compact {
  min-height: 178px;
}

.dish-card.is-unavailable {
  opacity: 0.62;
}

.dish-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}

.dish-copy {
  min-width: 0;
}

.dish-card h3 {
  margin-bottom: 0.36rem;
}

.dish-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.dish-price {
  flex: 0 0 auto;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.5rem;
  border-radius: 999px;
  background: #fff0dc;
  color: var(--tomato-dark);
  font-size: 1.08rem;
  white-space: nowrap;
}

.item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #eff4ec;
  color: var(--olive);
  font-size: 0.78rem;
  font-weight: 850;
}

.pill.danger {
  color: var(--tomato);
  background: #fff0ed;
}

.mini-action {
  align-self: flex-start;
  min-height: 40px;
  padding: 0.58rem 0.78rem;
  background: var(--teal);
  color: #fff;
  font-size: 0.9rem;
  box-shadow: 0 10px 22px rgba(8, 124, 112, 0.2);
}

.mini-action:hover {
  background: var(--teal-dark);
}

.menu-craft {
  width: 100%;
  max-width: none;
  padding-inline: max(1rem, calc((100vw - var(--max)) / 2));
  background: var(--paper-warm);
}

.category-card {
  overflow: hidden;
}

.category-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink);
}

.category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.category-card:hover .category-media img {
  transform: scale(1.025);
}

.category-body {
  min-height: 156px;
  display: grid;
  align-content: start;
  gap: 0.65rem;
  padding: 1rem;
}

.category-body p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: 2rem;
  align-items: center;
}

.qr-flow p,
.story-section p,
.contact-section p,
.menu-hero p {
  color: var(--muted);
}

.qr-flow h2 + p,
.story-section h2 + p,
.contact-section h2 + p,
.menu-hero h1 + p {
  margin-top: 0.9rem;
}

.story-section p + p {
  margin-top: 0.7rem;
}

.contact-section > div:first-child p {
  max-width: 620px;
  line-height: 1.65;
}

.contact-section .inline-actions {
  margin-top: 1.75rem;
}

.qr-card {
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-tight);
}

.qr-card img {
  width: 100%;
  border-radius: 6px;
}

.qr-card figcaption,
.gallery-grid figcaption {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.about-grid,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(260px, 0.82fr);
  gap: 2rem;
  align-items: start;
}

.service-list,
.location-stack,
.map-panel {
  display: grid;
  gap: 0.7rem;
}

.location-stack {
  align-content: start;
}

.map-frame {
  position: relative;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(8, 124, 112, 0.16), rgba(231, 169, 39, 0.18)),
    repeating-linear-gradient(0deg, rgba(23, 18, 15, 0.06) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(23, 18, 15, 0.06) 0 1px, transparent 1px 44px),
    var(--surface);
  box-shadow: var(--shadow-tight);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: block;
  border: 0;
  filter: saturate(0.94) contrast(1.02);
}

.map-frame figcaption {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  display: grid;
  gap: 0.1rem;
  padding: 0.74rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: var(--radius);
  background: rgba(23, 18, 15, 0.78);
  color: #fff;
  box-shadow: 0 14px 28px rgba(23, 18, 15, 0.2);
  backdrop-filter: blur(14px);
}

.map-frame figcaption strong,
.map-frame figcaption span,
.map-frame figcaption a {
  display: block;
}

.map-frame figcaption span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
}

.map-frame figcaption a {
  width: fit-content;
  margin-top: 0.32rem;
  color: var(--saffron);
  font-weight: 900;
}

.service-list div,
.map-panel {
  padding: 1rem;
}

.service-list strong,
.service-list span,
.map-panel strong,
.map-panel span {
  display: block;
}

.service-list span,
.map-panel span {
  color: var(--muted);
}

.gallery-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.gallery-grid figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  min-height: 270px;
}

.gallery-grid figure:first-child {
  grid-row: span 2;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
}

.gallery-grid figcaption {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  margin: 0;
  padding: 0.46rem 0.62rem;
  border-radius: 999px;
  background: rgba(21, 20, 18, 0.68);
  color: #fff;
  backdrop-filter: blur(10px);
  font-weight: 820;
}

.contact-tile {
  min-height: 120px;
  display: grid;
  align-content: center;
  gap: 0.22rem;
  padding: 1rem;
}

.contact-tile strong {
  font-size: 1.14rem;
}

.contact-tile span {
  color: var(--muted);
}

.site-footer {
  width: min(var(--max), calc(100% - 2rem));
  margin: 2rem auto 5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--teal);
  font-weight: 850;
}

.menu-app-page .site-footer {
  margin-bottom: 7rem;
}

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1rem;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(8, 124, 112, 0.34);
}

.mobile-action-bar {
  display: none;
}

.menu-app-page .floating-whatsapp,
.menu-app-page .mobile-action-bar {
  display: none;
}

.order-bar {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 80;
  width: min(760px, calc(100% - 2rem));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem;
  border: 1px solid rgba(220, 203, 184, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.95);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.order-bar span,
.order-bar strong {
  display: block;
}

.order-bar span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 820;
}

.order-bar strong {
  line-height: 1.2;
}

.order-actions {
  display: flex;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.order-actions button,
.order-actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  padding: 0.62rem 0.8rem;
  font-weight: 880;
}

.order-actions button {
  background: var(--surface-strong);
  color: var(--ink);
  cursor: pointer;
}

.order-actions a {
  background: var(--teal);
  color: #fff;
}

.order-bar.is-empty .order-actions a {
  opacity: 0.44;
  pointer-events: none;
}

.menu-app-page {
  background: var(--paper);
}

.menu-shell {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.1rem 0 4.2rem;
}

.menu-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 440px);
  gap: 1.2rem;
  align-items: stretch;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.menu-hero-copy {
  align-self: end;
  padding: 1rem;
}

.menu-hero h1 {
  font-size: 3rem;
}

.menu-hero p {
  max-width: 680px;
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
}

.menu-hero-visual {
  margin: 0;
  min-height: 300px;
  border-radius: 6px;
  overflow: hidden;
  background: #080807;
}

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

.menu-tools {
  position: sticky;
  top: var(--header);
  z-index: 35;
  display: grid;
  gap: 0.8rem;
  padding: 0.78rem;
  margin: 1rem 0 1.6rem;
  border: 1px solid rgba(224, 214, 200, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-tight);
}

.search-box {
  display: grid;
  gap: 0.36rem;
  font-weight: 880;
}

.search-box input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0.72rem 0.82rem;
  color: var(--ink);
}

.category-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.16rem;
  scrollbar-width: thin;
}

.tab-button,
.popular-chip {
  flex: 0 0 auto;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  padding: 0.62rem 0.88rem;
  font-weight: 850;
  cursor: pointer;
}

.tab-button.is-active {
  border-color: var(--tomato-dark);
  background: var(--tomato-dark);
  color: #fff;
}

.menu-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.popular-strip {
  margin-bottom: 1.6rem;
}

.popular-grid {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.popular-chip {
  min-width: 168px;
  display: grid;
  gap: 0.08rem;
  align-content: center;
  text-align: left;
  border-radius: var(--radius);
}

.popular-chip strong {
  color: var(--tomato-dark);
}

.popular-chip small {
  color: var(--muted);
  font-weight: 740;
}

.menu-section {
  padding: 2.15rem 0;
  border-top: 1px solid var(--line);
}

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

.menu-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.menu-section-head p {
  margin-top: 0.45rem;
  color: var(--muted);
}

.section-count {
  flex: 0 0 auto;
  color: var(--muted);
  font-weight: 850;
}

.empty-state {
  padding: 2rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  text-align: center;
}

html[data-motion="ready"] .hero-copy,
html[data-motion="ready"] .hero-preview,
html[data-motion="ready"] .menu-hero {
  opacity: 0;
  transform: translateY(16px);
}

html[data-motion="ready"] .hero-copy,
html[data-motion="ready"] .hero-preview,
html[data-motion="ready"] .menu-hero {
  animation: contentRise 620ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

html[data-motion="ready"] .hero-preview {
  animation-delay: 120ms;
}

html[data-motion="ready"] [data-reveal].is-visible {
  animation: revealRise 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes openingFade {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes contentRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealRise {
  from {
    transform: translateY(12px);
  }

  to {
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  :root {
    --header: 68px;
  }

  .site-header {
    gap: 0.55rem;
    padding-block: 0.55rem;
  }

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

  .top-nav {
    justify-content: flex-end;
  }

  .top-nav a,
  .header-action {
    padding: 0.54rem 0.58rem;
    font-size: 0.88rem;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: 620px;
    height: auto;
    padding-top: 5rem;
    padding-bottom: 6rem;
    background-position: center top;
  }

  .hero-inner,
  .menu-hero,
  .split-section,
  .about-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-preview {
    display: none;
  }

  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 1.68rem;
  }

  .hero-lead {
    font-size: 1.03rem;
  }

  .quick-dock {
    display: none;
  }

  .section,
  .split-section {
    padding: 3.4rem 0;
  }

  .section-head,
  .menu-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .gallery-grid figure:first-child {
    grid-row: auto;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 260px;
  }

  .menu-shell {
    padding-top: 1rem;
  }

  .menu-hero {
    padding: 0.65rem;
  }

  .menu-hero h1 {
    font-size: 2.05rem;
  }

  .menu-hero-visual {
    min-height: 210px;
    order: -1;
  }

  .menu-tools {
    top: var(--header);
  }

  .floating-whatsapp {
    display: none;
  }

  .mobile-action-bar {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    padding: 0.45rem;
    border: 1px solid rgba(220, 203, 184, 0.9);
    border-radius: var(--radius);
    background: rgba(255, 253, 248, 0.92);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-soft);
  }

  .mobile-action-bar a {
    min-width: 0;
    min-height: 46px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: var(--ink);
    color: #fff;
    font-weight: 880;
    font-size: 0.94rem;
  }

  .mobile-action-bar a:first-child {
    background: var(--tomato-dark);
  }

  .mobile-action-bar a:nth-child(2) {
    background: var(--teal);
  }

  .site-footer {
    margin-bottom: 6rem;
  }

  .order-bar {
    bottom: 0.75rem;
    align-items: stretch;
    flex-direction: column;
    gap: 0.6rem;
  }

  .order-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
  }

  .order-actions button,
  .order-actions a {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .top-nav a[href="#galeri"] {
    display: none;
  }

  .brand strong {
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  body {
    font-size: 15px;
  }

  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .brand {
    width: 100%;
  }

  .top-nav {
    width: 100%;
    justify-content: flex-start;
  }

  h1 {
    font-size: 2.18rem;
  }

  .hero {
    min-height: 640px;
  }

  .menu-hero .menu-action-row {
    display: none;
  }

  .mobile-action-bar a {
    font-size: 0.86rem;
  }

  .hero-actions .button,
  .menu-action-row .button,
  .inline-actions .button {
    width: 100%;
  }

  .quick-dock {
    grid-template-columns: 1fr;
  }

  .dish-card-top {
    flex-direction: column;
  }

  .dish-price {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .opening-screen {
    display: none;
  }

  html[data-motion="ready"] .hero-copy,
  html[data-motion="ready"] .hero-preview,
  html[data-motion="ready"] .menu-hero {
    opacity: 1;
    transform: none;
  }
}
