/* =========================================================
   Il Gusto — Single-Page Prototype
   shared/styles.css
   Section 0: Shell (tokens, reset, nav, lang toggle)
   ========================================================= */

/* ---------- Design Tokens (from specs) ---------- */
:root {
  /* Colors */
  --bg:          #141210;
  --reveal:      #1a1612;
  --gold:        #c9a84c;
  --head:        #e8e0d0;
  --head-bright: #f0e8d8;
  --body:        #a89c88;
  --body-warm:   #c0b8a8;
  --muted:       #3a3530;
  --muted-dark:  #2a2520;
  --muted-ui:    #8a8076;
  --muted-strong:#928778;
  --line:        #1e1c18;
  --line-2:      #2e2c28;

  /* Type */
  --font-display: Georgia, 'Times New Roman', serif;
  --font-ui:      'Helvetica Neue', Arial, sans-serif;
  --font-script:  'Pinyon Script', 'Snell Roundhand', Georgia, 'Times New Roman', serif;  /* ornate accent — headline + logo only; serif fallback avoids Windows Comic Sans */

  /* Spacing scale */
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  32px;
  --space-xl:  40px;
  --space-2xl: 52px;
  --space-3xl: 64px;
  --space-4xl: 100px;

  /* Layout */
  --nav-h:        68px;
  --content-max:  900px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* JS drives anchor scrolling with a custom eased animation (see app.js initSmoothScroll).
   scroll-padding-top keeps native hash jumps (initial load, keyboard) clear of the fixed nav. */
html { scroll-behavior: auto; scroll-padding-top: var(--nav-h); }

/* Custom page scrollbar — gold thumb on warm-dark track */
html { scrollbar-width: thin; scrollbar-color: var(--gold) var(--reveal); }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--reveal); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--gold), #a8862f);
  border-radius: 6px;
  border: 2px solid var(--reveal);
}
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

body {
  background: var(--bg);
  color: var(--body-warm);
  font-family: var(--font-ui);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
img { display: block; max-width: 100%; }
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}

::selection { background: rgba(201,168,76,0.25); color: var(--head-bright); }

/* ---------- Section base ---------- */
section { position: relative; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--space-2xl);
  background: rgba(20, 18, 16, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.nav.is-scrolled {
  padding: 14px var(--space-2xl);
  background: rgba(20, 18, 16, 0.96);
  border-bottom-color: var(--line);
}

.nav-logo {
  font-family: var(--font-script);
  font-style: normal;
  font-size: 30px;
  line-height: 1;
  color: var(--gold);
  letter-spacing: 0;
}

.nav-right { display: flex; align-items: center; gap: var(--space-lg); }

.nav-links { display: flex; gap: var(--space-lg); }
.nav-links a {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted-ui);
  transition: color 0.3s var(--ease);
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--gold); }

.nav-lang { display: flex; align-items: center; gap: 8px; }
.lang-btn {
  font-size: 11px; letter-spacing: 2px; color: var(--muted-ui);
  transition: color 0.3s var(--ease);
}
.lang-btn.is-active { color: var(--gold); }
.lang-sep { color: var(--muted-ui); font-size: 11px; }

/* ---------- Hamburger (mobile) ---------- */
.nav-hamburger {
  display: none;
  width: 44px; height: 44px;
  position: relative;
  flex-shrink: 0;
}
.nav-hamburger span {
  position: absolute; left: 8px; right: 8px; height: 1.5px;
  background: var(--head); border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease), top 0.35s var(--ease);
}
.nav-hamburger span:nth-child(1) { top: 13px; }
.nav-hamburger span:nth-child(2) { top: 21px; }
.nav-hamburger span:nth-child(3) { top: 29px; }
.nav-hamburger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Reveal system (page-load + scroll) ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}
html.js [data-reveal].is-in,
html.js body.is-loaded .hero [data-reveal],
html.js body.is-loaded #nav[data-reveal] { opacity: 1; transform: none; }

/* Nav reveals from the top */
html.js #nav[data-reveal] { transform: translateY(-10px); }

/* Hero intro: plate first, then text drifts in slowly + overlapping = smooth cascade */
html.js .hero [data-reveal] {
  transform: translateY(26px);
  transition-duration: 1.35s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
html.js .hero .hero-plate-wrap[data-reveal] {
  transform: translateY(0) scale(0.88);
  transition-duration: 1.3s;
}
html.js body.is-loaded .hero .hero-plate-wrap[data-reveal] { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal] { transition-duration: 0.001s; transition-delay: 0s; transform: none; }
  .hero-scroll-line { animation: none; }
}

/* ---------- Chapter eyebrow (scroll narrative) ---------- */
.chapter { display: inline-flex; align-items: baseline; gap: 12px; }
.chapter-num {
  font-family: var(--font-display); font-style: italic; font-size: 1.6em;
  color: var(--gold); line-height: 1; letter-spacing: 0;
}

/* ---------- Chapter rail (fixed side indicator) ---------- */
.chapter-rail {
  position: fixed; right: 30px; top: 50%; transform: translateY(-50%);
  z-index: 90; display: flex; flex-direction: column; gap: 22px; align-items: flex-end;
}
.chapter-rail a {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-style: italic; color: var(--muted-ui);
  opacity: 0.55; transition: opacity 0.35s var(--ease), color 0.35s var(--ease);
}
.chapter-rail a:hover { opacity: 1; color: var(--body); }
.cr-num { font-size: 13px; width: 26px; text-align: right; }
.cr-name {
  font-family: var(--font-ui); font-style: normal;
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0;
  transition: max-width 0.4s var(--ease), opacity 0.35s var(--ease);
}
.chapter-rail a:hover .cr-name,
.chapter-rail a.is-active .cr-name { max-width: 120px; opacity: 1; }
.chapter-rail a.is-active { opacity: 1; color: var(--gold); }
.chapter-rail a.is-active .cr-num { color: var(--gold); }
@media (max-width: 1099px) { .chapter-rail { display: none; } }

/* ---------- Plate placeholder (gradient circle) ---------- */
.plate-ph {
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 32%, #efe0c6 0%, #d9bd8f 34%, #b58a55 64%, #8a6038 100%);
  box-shadow: 0 20px 80px rgba(0,0,0,0.6), inset 0 2px 24px rgba(255,255,255,0.12);
  position: relative;
}
/* Real plate photo: black-bg image blends into the dark page = floating plate */
.plate-img {
  background-size: cover; background-position: center;
}
.plate-img::after { content: none; }
.plate-img[data-plate] { cursor: pointer; }
.plate-img[data-plate]:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
.plate-ph::after {
  content: attr(data-dish);
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  font-family: var(--font-ui); font-size: 9px; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(20,18,16,0.45); text-align: center;
  width: 80%;
}

/* =========================================================
   Section 1 — Hero
   ========================================================= */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 60px) var(--space-2xl) 80px;
}
/* Center stage: plate and text share one grid cell, both centered, so the
   oversized italic headline reads in front of the plate disc (editorial overlay). */
.hero-inner {
  width: 100%; max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-areas: "stage"; place-items: center;
}
.hero-plate-wrap { grid-area: stage; z-index: 1; display: flex; justify-content: center; }
.hero-plate { width: clamp(400px, 52vw, 680px); height: clamp(400px, 52vw, 680px); }

.hero-text {
  grid-area: stage; z-index: 2; position: relative; justify-self: start;
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
}
/* Soft scrim sized to the type — keeps light headline legible over the plate's
   bright belly while a warm halo of plate still shows around it. */
.hero-text::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 150%; height: 124%;
  background: radial-gradient(ellipse at center,
    rgba(20,18,16,0.72) 0%, rgba(20,18,16,0.46) 40%, rgba(20,18,16,0) 72%);
}

.hero-eyebrow {
  font-size: 12px; letter-spacing: 6px; text-transform: uppercase;
  color: var(--gold); margin-bottom: var(--space-lg);
}
.hero-headline {
  font-family: var(--font-script); font-style: normal; font-weight: 400;
  font-size: clamp(66px, 11vw, 132px); line-height: 1.04; letter-spacing: 0;
  color: var(--head); margin-bottom: var(--space-lg);
  text-shadow: 0 2px 40px rgba(20,18,16,0.55);
}
.hero-rating {
  font-size: 13px; letter-spacing: 2px; color: var(--body-warm);
  margin-bottom: var(--space-xl);
}
.hero-rating .star { color: var(--gold); }

.hero-cta {
  font-family: var(--font-display); font-style: italic; font-size: 24px;
  color: var(--gold); display: inline-block;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition:
    border-color 0.3s var(--ease), filter 0.3s var(--ease),
    opacity 1.5s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s),
    transform 1.5s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s);
}
.hero-cta:hover { border-bottom-color: var(--gold); filter: brightness(1.15); }

/* Scroll indicator */
.hero-scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, var(--muted) 40%, var(--gold));
  animation: scrollPulse 2s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.8); }
  50%      { opacity: 1;    transform: scaleY(1); }
}

/* =========================================================
   Section 2 — Über uns
   ========================================================= */
.about {
  padding: var(--space-4xl) var(--space-2xl);
}
.about-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: var(--space-4xl);
}

/* Media: interior photo + small floating plate accent */
.about-media {
  flex: 0 0 44%; position: relative;
}
/* Integrated, NOT a hard rectangle: edges feather into the page background.
   Real photo will get the same mask + warm tint. See memory: ilgusto-photo-treatment */
.about-photo {
  width: 100%; aspect-ratio: 4 / 5;
  background:
    radial-gradient(120% 90% at 35% 30%, #322820 0%, #271f18 45%, #1a1612 80%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  /* feathered edges that melt into #141210 */
  -webkit-mask-image: radial-gradient(125% 115% at 45% 40%, #000 55%, transparent 100%);
          mask-image: radial-gradient(125% 115% at 45% 40%, #000 55%, transparent 100%);
}
.about-photo::before {
  content: attr(data-de);
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--muted-ui);
}
.about-photo.has-image::before { content: none; }
/* When a real photo is dropped in as <img>/background, apply warm tint for cohesion */
.about-photo.has-image {
  background-size: cover; background-position: center;
}
.about-photo.has-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(20,18,16,0.15) 0%, rgba(20,18,16,0.55) 100%);
  mix-blend-mode: multiply;
}
.about-plate-accent {
  position: absolute; right: -70px; bottom: -70px;
  width: 300px; height: 300px;
}

/* Text */
.about-text { flex: 1; }
.about-eyebrow {
  font-size: 12px; letter-spacing: 6px; text-transform: uppercase;
  color: var(--gold); margin-bottom: var(--space-md);
}
.about-headline {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -1px; color: var(--head);
  margin-bottom: var(--space-lg);
}
.about-story {
  font-size: 16px; line-height: 1.9; color: var(--body);
  max-width: 48ch; margin-bottom: var(--space-xl);
}

.about-stats {
  display: flex; flex-wrap: wrap; gap: var(--space-xl);
  padding-top: var(--space-lg); border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-val {
  font-family: var(--font-display); font-size: 26px; color: var(--gold);
  line-height: 1;
}
.stat-val .star { font-size: 18px; }
.stat-label {
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted-ui);
}

/* =========================================================
   Section 3 — Speisekarte
   ========================================================= */
.menu { padding: var(--space-4xl) var(--space-2xl); }
.menu-inner { max-width: var(--content-max); margin: 0 auto; position: relative; }

.menu-plate-accent {
  position: absolute; top: -86px; right: -96px;
  width: clamp(420px, 34vw, 500px); height: clamp(420px, 34vw, 500px); z-index: 0;
}

.menu-header { margin-bottom: var(--space-3xl); position: relative; z-index: 1; }
.menu-eyebrow {
  font-size: 12px; letter-spacing: 6px; text-transform: uppercase;
  color: var(--gold); margin-bottom: var(--space-sm);
}
.menu-title {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: clamp(40px, 6vw, 64px); color: var(--head); line-height: 1.04; letter-spacing: -1px;
}

/* Categories (accordion) */
.menu-cats {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.cat {
  position: relative;
  isolation: isolate;
}
.cat::before {
  content: '';
  position: absolute;
  inset: -1px -18px;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(90deg, rgba(20,18,16,0.08) 0%, rgba(20,18,16,0.28) 58%, rgba(20,18,16,0.54) 100%);
  transition: opacity 0.45s var(--ease);
}
.cat.is-open::before { opacity: 1; }

.cat-header {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-md); padding: 22px 28px; text-align: left;
  transition: background 0.3s var(--ease);
}
.cat-header:hover { background: transparent; }
.cat.is-open .cat-header { background: rgba(232,224,208,0.012); }

.cat-left { display: flex; align-items: baseline; gap: var(--space-md); flex-wrap: wrap; }
.cat-name {
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold);
}
.cat-range {
  font-size: 11px; color: var(--muted-ui); font-family: var(--font-display); font-style: italic;
}
.cat-right { display: flex; align-items: center; gap: var(--space-sm); flex-shrink: 0; }
.cat-count { font-size: 9px; letter-spacing: 1px; color: var(--muted-ui); }
.cat-toggle {
  width: 20px; height: 20px; display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--muted-ui); flex-shrink: 0;
  transition: transform 0.4s var(--ease), color 0.3s var(--ease);
}
.cat.is-open .cat-toggle { transform: rotate(45deg); color: var(--gold); }

/* Body */
.cat-body { max-height: none; overflow: visible; }
html.js .cat-body { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.dish-list { padding: 0 28px 24px; }

.dish {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-md);
  padding: 14px 0;
}
.dish-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.dish-name { font-size: 14px; color: var(--body-warm); font-weight: 500; }
.dish-desc { font-size: 11px; color: var(--muted-ui); font-style: italic; line-height: 1.6; }
.dish-price {
  font-size: 14px; color: var(--gold); font-family: var(--font-display);
  flex-shrink: 0; white-space: nowrap;
}
.dish.is-signature .dish-name { color: var(--head); }

.menu-tageskarte {
  margin-top: var(--space-xl); padding: 20px 28px; border: 1px solid var(--line);
  font-size: 11px; font-style: italic; color: var(--muted-ui); text-align: center;
}

/* =========================================================
   Section 4 — Galerie
   ========================================================= */
.gallery { padding: var(--space-4xl) var(--space-2xl); }
.g-label {
  max-width: var(--content-max); margin: 0 auto var(--space-3xl);
  font-size: 9px; letter-spacing: 5px; text-transform: uppercase; color: var(--muted-ui);
}
/* Curated rail — horizontal snap-scroll, uniform plates (no scatter) */
.g-plates {
  display: flex; gap: max(66px, 5.5vw); align-items: center;
  overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: clamp(24px, 8vw, 120px);
  scroll-behavior: smooth; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
  padding: 20px var(--space-2xl) 32px; margin: 0 calc(-1 * var(--space-2xl));
  scrollbar-width: thin; scrollbar-color: var(--muted-ui) transparent;
}
.g-plates::-webkit-scrollbar { height: 4px; }
.g-plates::-webkit-scrollbar-thumb { background: var(--muted-ui); border-radius: 2px; }
@media (pointer: fine) {
  .g-plates { cursor: grab; }
  .g-plates.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
  .g-plates.is-dragging .pw { cursor: grabbing; }
}
.g-plates.is-wheel-scrolling { scroll-snap-type: none; scroll-behavior: auto; }
.pw {
  position: relative; cursor: pointer; flex-shrink: 0;
  scroll-snap-align: center; margin: 0 !important;
}
.pw::before {
  content: ''; position: absolute; inset: -10px; border-radius: 50%;
  border: 1px solid transparent; transition: border-color 0.4s var(--ease), inset 0.4s var(--ease);
  pointer-events: none;
}
.pw:hover::before,
.pw:focus-visible::before { border-color: rgba(201,168,76,0.55); inset: -16px; }
.g-plate {
  display: block; width: max(330px, 28vw); height: max(330px, 28vw); border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 6px 36px rgba(0,0,0,0.5), 0 2px 10px rgba(0,0,0,0.35);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.g-plate img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; border-radius: inherit;
}
.pw:hover .g-plate,
.pw:focus-visible .g-plate { box-shadow: 0 14px 56px rgba(0,0,0,0.65); transform: translateY(-5px); }

.g-scrollhint {
  text-align: center; margin-top: var(--space-xl);
  font-size: 9px; letter-spacing: 4px; text-transform: uppercase; color: var(--muted-ui);
}
.g-cta {
  display: block; text-align: center; margin-top: var(--space-2xl);
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold);
  transition: filter 0.3s var(--ease);
}
.g-cta:hover { filter: brightness(1.2); }

/* Plate Reveal overlay */
.reveal-layer {
  position: fixed; inset: 0; z-index: 200; pointer-events: none;
  clip-path: circle(0px at 50% 50%);
  background: var(--reveal);
}
.reveal-layer.is-open { pointer-events: auto; }
.reveal-plate {
  position: absolute; border-radius: 50%;
  opacity: 0; transform: scale(0.88);
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
  transition: opacity 0.5s 0.3s var(--ease), transform 0.55s 0.28s var(--ease);
}
.reveal-layer.is-open .reveal-plate { opacity: 1; transform: scale(1); }
.reveal-text {
  position: fixed; top: 28px; right: 32px; opacity: 0; transform: translateY(14px);
  transition: opacity 0.4s 0.58s var(--ease), transform 0.4s 0.58s var(--ease);
}
.reveal-layer.is-open .reveal-text { opacity: 1; transform: none; }
.rv-cat { font-size: 9px; letter-spacing: 5px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.rv-name {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: 34px; color: var(--head-bright); line-height: 1.15; margin-bottom: 14px;
}
.rv-desc { font-size: 13px; color: var(--muted-strong); line-height: 1.9; margin-bottom: 22px; }
.rv-price { font-size: 18px; color: var(--gold); font-family: var(--font-display); margin-bottom: 32px; }
.rv-close {
  font-size: 9px; letter-spacing: 4px; text-transform: uppercase; color: var(--muted-ui);
  border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: color 0.3s var(--ease);
}
.rv-close:hover { color: var(--head); }

/* =========================================================
   Section 5 — Reservierung
   ========================================================= */
.reservation { padding: var(--space-4xl) var(--space-2xl); }
.res-inner {
  max-width: 640px; margin: 0 auto; position: relative; text-align: center;
}
.res-plate-accent {
  position: absolute; top: 96px; right: -240px;
  width: clamp(400px, 30vw, 460px); height: clamp(400px, 30vw, 460px); z-index: 0;
}

.res-header { margin-bottom: var(--space-2xl); position: relative; z-index: 1; }
.res-eyebrow {
  font-size: 12px; letter-spacing: 6px; text-transform: uppercase;
  color: var(--gold); margin-bottom: var(--space-sm);
}
.res-title {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: clamp(40px, 6vw, 60px); color: var(--head); line-height: 1.04; letter-spacing: -1px;
}

/* resmio widget (primary) */
.res-widget {
  border: 1px solid var(--line-2); padding: var(--space-2xl) var(--space-xl);
  display: flex; flex-direction: column; align-items: center; gap: var(--space-lg);
  position: relative; z-index: 1; background: rgba(26,22,18,0.4);
}
.res-widget-note {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #8a8076;
}
.res-book-btn {
  display: inline-block; padding: 16px 44px;
  border: 1px solid var(--gold); color: var(--gold);
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.res-book-btn:hover { background: var(--gold); color: var(--bg); }

/* phone alternative (secondary) */
.res-phone-alt {
  margin-top: var(--space-xl); display: flex; flex-direction: column; gap: var(--space-sm);
  align-items: center; position: relative; z-index: 1;
}
.res-or { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted-ui); }
.res-phone {
  font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--gold);
  transition: filter 0.3s var(--ease);
}
.res-phone:hover { filter: brightness(1.15); }

/* info block */
.res-info {
  margin-top: var(--space-3xl); padding-top: var(--space-xl);
  border-top: 1px solid var(--line);
  display: flex; justify-content: center; gap: var(--space-4xl);
  position: relative; z-index: 1;
}
.res-info-col { display: flex; flex-direction: column; gap: 8px; }
.res-info-label { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.res-info-text { font-size: 14px; color: var(--body); line-height: 1.6; }
.res-address { transition: color 0.3s var(--ease); }
.res-address:hover { color: var(--gold); }

/* groups */
.res-groups {
  margin-top: var(--space-2xl); padding: 18px 24px; border: 1px solid var(--line);
  font-size: 11px; font-style: italic; color: var(--muted-ui); line-height: 1.7;
  position: relative; z-index: 1;
}
.res-groups a { color: var(--gold); border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease); }
.res-groups a:hover { border-bottom-color: var(--gold); }

/* =========================================================
   Section 6 — Footer
   ========================================================= */
.footer {
  border-top: 1px solid var(--line);
  padding: var(--space-3xl) var(--space-2xl) var(--space-xl);
  background: #100e0c;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-2xl);
}
.footer-logo {
  font-family: var(--font-script); font-style: normal; font-size: 38px; line-height: 1; color: var(--gold);
}
.footer-tag {
  font-size: 9px; letter-spacing: 4px; text-transform: uppercase; color: var(--muted-ui);
  margin-top: 8px;
}
.footer-label {
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold);
  margin-bottom: var(--space-sm);
}
.footer-text { font-size: 13px; color: var(--muted-ui); line-height: 1.7; }
.footer-link {
  display: block; font-size: 13px; color: #8a8076; line-height: 1.9;
  transition: color 0.3s var(--ease);
}
.footer-link:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1100px; margin: var(--space-3xl) auto 0;
  padding-top: var(--space-lg); border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; letter-spacing: 1px; color: var(--muted-ui);
}
.footer-rating { color: var(--muted-ui); }
.footer-rating::first-letter { color: var(--gold); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 767px) {
  .nav { padding: 10px var(--space-md); }
  .nav.is-scrolled { padding: 8px var(--space-md); }

  .nav-hamburger { display: block; z-index: 110; }

  .nav-right {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; gap: var(--space-2xl);
    background: rgba(20, 18, 16, 0.98);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    opacity: 0; pointer-events: none; visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0s linear 0.4s;
  }
  .nav-right.is-open {
    opacity: 1; pointer-events: auto; visibility: visible; transform: translateY(0);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0s;
  }

  .nav-links { flex-direction: column; align-items: center; gap: var(--space-xl); }
  .nav-links a { font-size: 16px; letter-spacing: 4px; }

  /* Hero mobile: keep the booking action inside the first viewport. */
  .hero {
    min-height: 100svh;
    padding: calc(var(--nav-h) + 12px) var(--space-md) 54px;
    align-items: stretch;
  }
  .hero-inner {
    min-height: calc(100svh - var(--nav-h) - 66px);
    align-content: center;
    place-items: center;
  }
  .hero-plate-wrap {
    justify-self: center;
    transform: translate(34px, 8px);
  }
  html.js .hero .hero-plate-wrap[data-reveal] { transform: translate(34px, 8px) scale(0.92); }
  html.js body.is-loaded .hero .hero-plate-wrap[data-reveal] { transform: translate(34px, 8px); }
  .hero-plate { width: min(78vw, 330px); height: min(78vw, 330px); }
  .hero-text {
    justify-self: start;
    align-self: center;
    max-width: min(330px, 100%);
  }
  .hero-text::before { width: 174%; height: 136%; background: radial-gradient(ellipse at center, rgba(20,18,16,0.82) 0%, rgba(20,18,16,0.58) 44%, rgba(20,18,16,0) 76%); }
  .hero-eyebrow {
    max-width: 26ch;
    margin-bottom: 12px;
    font-size: 10px;
    line-height: 1.7;
    letter-spacing: 4px;
  }
  .hero-headline {
    font-size: clamp(43px, 14.5vw, 62px);
    line-height: 0.98;
    letter-spacing: 0;
    margin-bottom: 18px;
  }
  .hero-cta { font-size: 22px; }
  .hero-scroll { bottom: 16px; }
  .hero-scroll-line { height: 34px; }

  /* About mobile: stacked */
  .about { padding: 70px var(--space-md); }
  .about-inner { flex-direction: column; gap: var(--space-3xl); }
  .about-media { flex: 0 0 auto; width: 100%; max-width: 360px; align-self: center; }
  .about-photo { aspect-ratio: 4 / 3; }
  .about-plate-accent { right: -18px; bottom: -18px; width: 100px; height: 100px; }
  .about-stats { gap: var(--space-lg); }

  /* Menu mobile */
  .menu { padding: 70px var(--space-md); }
  .menu-plate-accent { width: 150px; height: 150px; top: -24px; right: -28px; opacity: 0.85; }
  .menu-header { margin-bottom: var(--space-2xl); }
  .cat-header { padding: 18px 18px; }
  .dish-list { padding: 0 18px 20px; }
  .cat-count { display: none; }

  /* Gallery mobile */
  .gallery { padding: 70px var(--space-md); }
  .g-plates { gap: 56px; padding: 16px var(--space-md) 28px; margin: 0 calc(-1 * var(--space-md)); }
  .pw .g-plate { width: min(78vw, 300px); height: min(78vw, 300px); }
  .rv-name { font-size: 26px; }
  /* ponytail: anchor detail text below nav + status bar so the top line isn't clipped */
  .reveal-text {
    top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 16px);
    left: var(--space-md); right: var(--space-md);
  }

  /* Reservation mobile */
  .reservation { padding: 70px var(--space-md); }
  .res-plate-accent { width: 145px; height: 145px; top: -30px; right: -30px; opacity: 0.85; }
  .res-info { flex-direction: column; gap: var(--space-xl); }
  .res-book-btn { padding: 15px 36px; }

  /* Footer mobile */
  .footer { padding: var(--space-2xl) var(--space-md) var(--space-xl); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-plate { width: clamp(380px, 52vw, 460px); height: clamp(380px, 52vw, 460px); }
}
