:root {
  --olive-dark: #161f14;
  --olive: #263420;
  --olive-line: rgba(246,241,230,0.14);
  --cream: #f6f1e6;
  --cream-soft: #efe6d2;
  --ink: #201d16;
  --ink-soft: rgba(32,29,22,0.66);
  --paper-soft: rgba(246,241,230,0.72);
  --gold: #f4cc3b;
  --gold-soft: #fbe38a;
  --gold-deep: #7a5c12; /* WCAG-AA-safe gold for text on light backgrounds (~5.5:1 on --cream) */
  --font-display: 'Bodoni Moda', serif;
  --font-accent: 'Bodoni Moda', serif;
  --font-body: 'Jost', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* Anchor scrolling is handled in JS with a controllable duration/easing —
   see script.js. Native `scroll-behavior: smooth` has a fixed, often too-fast
   speed that can't be tuned, and would otherwise fight the manual scroll loop. */

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  cursor: default;
  /* clip (not hidden/auto) — any overflow value on a `position: sticky`
     ancestor breaks sticky in Safari/iOS; clip is the one value that both
     still prevents horizontal overflow and doesn't trigger that bug. */
  overflow-x: clip;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
section[id] { scroll-margin-top: 100px; }
a { color: inherit; text-decoration: none; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 20px;
}
.eyebrow.light { color: var(--gold-soft); }
.center { text-align: center; }
.light { color: var(--cream); }

.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.005em;
  color: var(--ink);
  font-size: clamp(2.8rem, 5.2vw, 4.6rem);
  line-height: 1.1;
  margin-bottom: 24px;
}
.display em { font-family: var(--font-accent); font-style: italic; font-weight: 600; color: var(--gold); }
.display.light { color: var(--cream); }
h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; margin-bottom: 14px; color: var(--ink); }

.section { padding: 150px 0; position: relative; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding: 26px 0;
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.solid {
  background: rgba(20,28,18,0.97);
  padding: 16px 0;
  border-color: var(--olive-line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 32px; }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--cream); letter-spacing: 0.02em; }
.wordmark em { font-family: var(--font-accent); color: var(--gold); font-style: italic; font-weight: 600; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav a { position: relative; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.03em; color: var(--paper-soft); }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 1px;
  background: var(--gold); transition: width 0.25s ease;
}
.nav-cta {
  border: 1px solid var(--gold); color: var(--gold-soft) !important;
  padding: 10px 22px; border-radius: 2px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 1px; background: var(--cream); margin: 0 auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--olive-dark);
}
.hero-visual {
  /* Extra top overhang so the GSAP scroll-parallax (translateY up to 90px,
     see script.js) never outruns this layer and exposes the plain .hero
     background color as a hard-edged gap while scrolling through the hero. */
  position: absolute; inset: -100px 0 0 0; overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(244,204,59,0.14), transparent 55%),
    linear-gradient(155deg, #1c2818 0%, #101710 60%, #0c110b 100%);
  will-change: transform;
}
.hero-photo {
  position: absolute; inset: -4%;
  background-image:
    linear-gradient(155deg, rgba(16,23,14,0.35), rgba(12,17,11,0.55)),
    url('images/ambiente-01.webp');
  background-size: cover;
  background-position: center 30%;
}
.kenburns { animation: kenburns 24s ease-in-out infinite alternate; will-change: transform; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.1); } }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(12,17,11,0.75) 0%, rgba(12,17,11,0.25) 45%, rgba(12,17,11,0.55) 100%);
}
.hero-content { position: relative; max-width: 780px; padding: 0 28px; will-change: transform, opacity; }
.hero-title { font-family: var(--font-display); font-weight: 700; color: var(--cream); font-size: clamp(3.2rem, 7.6vw, 5.8rem); line-height: 1.08; margin: 18px 0 26px; }
.hero-title .line { display: block; }
.hero-title em { font-family: var(--font-accent); font-style: italic; font-weight: 600; color: var(--gold-soft); }
.hero-sub { font-size: 1.1rem; color: var(--paper-soft); max-width: 520px; margin: 0 auto 40px; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }

.btn {
  display: inline-block; padding: 16px 34px; font-weight: 600; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.08em; border-radius: 2px;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn-gold { background: var(--gold); color: var(--olive-dark); }
.btn-dark { background: var(--olive-dark); color: var(--cream); }
.btn-outline { border: 1px solid var(--ink); color: var(--ink); }
.btn-outline-light { border: 1px solid rgba(246,241,230,0.55); color: var(--cream); background: rgba(246,241,230,0.06); backdrop-filter: blur(6px); }

/* ---------- Holzofen Highlight ---------- */
.holzofen { position: relative; min-height: 62vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.holzofen-visual {
  position: absolute; inset: 0;
  background-image: linear-gradient(155deg, rgba(16,23,14,0.4), rgba(12,17,11,0.5)), url('images/forno.webp');
  background-size: cover; background-position: center 40%;
}
.holzofen-scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,17,11,0.8) 0%, rgba(12,17,11,0.25) 50%, rgba(12,17,11,0.55) 100%); }
.holzofen-content { position: relative; max-width: 640px; padding: 90px 28px; }
.holzofen-sub { color: var(--paper-soft); max-width: 480px; margin: 0 auto 36px; font-size: 1.02rem; }

/* ---------- Marquee ---------- */
.marquee { background: var(--olive-dark); border-top: 1px solid var(--olive-line); border-bottom: 1px solid var(--olive-line); overflow: hidden; white-space: nowrap; padding: 20px 0; }
.marquee-track {
  display: flex; width: max-content;
  font-family: var(--font-accent); font-style: italic; font-weight: 600; font-size: 1.15rem; color: var(--gold-soft);
  animation: scroll-left 120s linear infinite;
  will-change: transform; backface-visibility: hidden;
}
/* Track = two identical halves, animated by exactly -50% so the loop is
   seamless. Each half repeats the phrase list 4x (not just once) so the
   half is always wider than the viewport — otherwise, on wide screens, the
   short phrase list runs out before the loop point and a blank gap of the
   .marquee background flashes before the text reappears. */
.marquee-half { display: flex; flex-shrink: 0; }
.marquee-set { display: flex; align-items: center; flex-shrink: 0; }
.marquee .sep { color: var(--gold); margin: 0 26px; font-style: normal; }
.marquee .ticker-special { color: var(--gold-soft); font-weight: 700; }
@keyframes scroll-left { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }

/* ---------- Dishes ---------- */
.dishes { background: var(--cream); padding-bottom: 60px; }
.dishes .container { margin-bottom: 40px; }
.dishes-cta { margin-top: 56px; margin-bottom: 0; }
.dish-row { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 0; max-width: 1240px; margin: 0 auto 8px; padding: 0 32px; }
.dish-row.reverse { direction: rtl; }
.dish-row.reverse > * { direction: ltr; }
.dish-visual {
  position: relative; aspect-ratio: 5/4; background: linear-gradient(150deg, var(--cream-soft), #e2d5b3);
  border: 1px solid rgba(32,29,22,0.08); display: flex; align-items: flex-end; justify-content: flex-start; padding: 22px;
  overflow: hidden;
}
.dish-tag { font-family: var(--font-accent); font-style: italic; font-weight: 600; font-size: 1.1rem; color: var(--gold); position: relative; z-index: 1; }
.dish-visual.has-photo { background-size: cover; background-position: center; border: none; }
.dish-visual.has-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,20,12,0.55) 0%, transparent 45%);
}
.dish-visual.has-photo .dish-tag { color: var(--gold-soft); }
.dish-pizza { background-image: url('images/dish-pizza.webp'); background-position: center 45%; }
.dish-copy { padding: 56px 64px; }
.dish-copy p { color: var(--ink-soft); max-width: 420px; }
.dish-copy .dish-cta { margin-top: 24px; }

/* Featured signature dish (Holzofen-Pizza) — same pattern, more visual weight */
.dish-row.featured .dish-tag {
  display: inline-block; font-style: normal; font-weight: 700;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em;
  background: var(--gold); color: var(--olive-dark); padding: 7px 14px; border-radius: 2px;
}
.dish-row.featured .eyebrow { margin-bottom: 8px; }
@media (min-width: 901px) {
  .dish-row.featured { grid-template-columns: 1.3fr 0.7fr; }
  .dish-row.featured .dish-visual { aspect-ratio: 16/11; }
}

/* ---------- Speisekarte page ---------- */
.menu-page-hero { background: var(--olive-dark); padding: 168px 0 64px; }
.menu-page-intro { color: var(--paper-soft); max-width: 600px; margin: 0 auto; font-size: 1rem; }

.menu-quicknav {
  /* Sticks just below the fixed .site-header. --header-h is the header's
     live measured height (set in script.js) rather than a hardcoded guess —
     a fixed px value drifted out of sync with the real (.solid) header
     height and let the header clip the top of this bar while scrolling. */
  position: sticky; top: var(--header-h, 64px); z-index: 40;
  background: var(--cream); border-bottom: 1px solid rgba(32,29,22,0.1);
  padding: 14px 0;
}
.menu-quicknav-inner {
  display: flex; gap: 10px; overflow-x: auto; padding: 0 32px;
  scrollbar-width: none;
}
.menu-quicknav-inner::-webkit-scrollbar { display: none; }
.menu-quicknav a {
  flex-shrink: 0; font-size: 0.76rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--ink-soft); padding: 9px 18px; border: 1px solid rgba(32,29,22,0.16); border-radius: 100px;
  white-space: nowrap; transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  /* Without this, the inherited body line-height (1.7) adds far more leading
     than this small all-caps label needs, so the text sits visibly off-center
     inside the symmetric padding instead of dead center. */
  line-height: 1;
  display: inline-flex; align-items: center;
}
/* Special-but-not-selected marker for "Monatskarte" — outlined gold, distinct
   from .active so a static tag is never confused with the scroll-tracked state. */
.menu-quicknav a.quicknav-highlight { color: var(--gold-deep); border-color: var(--gold); font-weight: 700; }
/* Currently-in-view category, set by the scroll-spy in script.js */
.menu-quicknav a.active { background: var(--gold); color: var(--olive-dark); border-color: var(--gold); font-weight: 700; }

.menu-cat { padding: 72px 0; background: var(--cream); border-bottom: 1px solid rgba(32,29,22,0.08); scroll-margin-top: 140px; }
.menu-cat:nth-of-type(even) { background: var(--cream-soft); }
#monatskarte { background: var(--olive-dark); border-bottom-color: var(--olive-line); }
.menu-cat-monthly .eyebrow { color: var(--gold-soft); }
.menu-cat-monthly .menu-cat-title { color: var(--cream); }
.menu-cat-monthly .menu-cat-note { color: var(--paper-soft); }
.menu-cat-monthly .menu-row { border-bottom-color: var(--olive-line); }
.menu-cat-monthly .menu-row-name { color: var(--cream); }
.menu-cat-monthly .menu-row-dots { border-bottom-color: rgba(246,241,230,0.3); }
.menu-cat-monthly .menu-row-price { color: var(--gold-soft); }
.menu-cat-monthly .menu-row-desc { color: rgba(246,241,230,0.78); }
.menu-cat-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.menu-cat-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3.6vw, 2.7rem); color: var(--ink); }
.menu-cat-note { color: var(--ink-soft); font-size: 0.86rem; font-style: italic; margin-top: 10px; }

.menu-list { max-width: 760px; margin: 0 auto; }
.menu-subhead {
  font-family: var(--font-accent); font-style: italic; font-weight: 600; font-size: 1.1rem; color: var(--gold);
  margin: 32px 0 6px;
}
.menu-subhead:first-child { margin-top: 0; }

.menu-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 10px; padding: 16px 0; border-bottom: 1px dashed rgba(32,29,22,0.14); }
.menu-row:last-child { border-bottom: none; }
.menu-row-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.menu-row-dots { flex: 1 1 40px; min-width: 24px; align-self: flex-end; border-bottom: 1px dotted rgba(32,29,22,0.35); margin-bottom: 6px; }
.menu-row-price { font-weight: 600; color: var(--ink); white-space: nowrap; }
.menu-row-desc { flex-basis: 100%; color: var(--ink-soft); font-size: 0.88rem; margin-top: 2px; }

.menu-row-prices { display: flex; gap: 18px; white-space: nowrap; }
.menu-row-prices .size-price { display: flex; flex-direction: column; align-items: center; }
.menu-row-prices .size { font-size: 0.62rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; }
.menu-row-prices .price { font-weight: 600; color: var(--ink); }

.two-col { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: center; }

/* ---------- Story ---------- */
.story { background: var(--cream); }
.story-visual {
  position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: 2px;
  background: linear-gradient(150deg, var(--cream-soft), #e2d5b3);
  border: 1px solid rgba(32,29,22,0.08);
  display: flex; align-items: flex-end; justify-content: center; padding: 22px;
}
.story-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Gallery ---------- */
.gallery { background: var(--cream); }
.masonry { columns: 3 220px; column-gap: 18px; }
.masonry-item {
  break-inside: avoid; margin-bottom: 18px; border-radius: 2px; position: relative; overflow: hidden;
  aspect-ratio: 4/5; display: flex; align-items: flex-end; padding: 18px;
  transition: transform 0.4s ease;
}
.masonry-item span { font-family: var(--font-accent); font-style: italic; font-weight: 600; color: var(--cream); font-size: 1rem; position: relative; z-index: 1; }
.masonry-item::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, transparent 45%, rgba(15,20,12,0.55)); }
.m-tall { aspect-ratio: 4/6; }
/* Tinted fallback shown for the instant before the lazy-loaded photo paints */
.g1 { background: linear-gradient(150deg, #2f3d28, #17200f); }
.g2 { background: linear-gradient(150deg, #c8a24d, #7c611f); }
.g3 { background: linear-gradient(150deg, #4a2f1f, #201408); }
.g4 { background: linear-gradient(150deg, #263420, #0d130a); }
.g5 { background: linear-gradient(150deg, #7c611f, #3d3010); }
.g6 { background: linear-gradient(150deg, #3d3020, #17120a); }

.masonry-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.g1 .masonry-photo { object-position: center 25%; }
.g2 .masonry-photo { object-position: center 45%; }
.g3 .masonry-photo { object-position: center 30%; }
.g4 .masonry-photo { object-position: center 40%; }
.g5 .masonry-photo { object-position: center 15%; }
.g6 .masonry-photo { object-position: center 50%; }

/* ---------- Reviews ---------- */
.reviews { background: var(--olive-dark); }
.quote-mark { display: block; font-family: var(--font-display); font-size: 6rem; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.review-card {
  background: rgba(246,241,230,0.05); border: 1px solid var(--olive-line); border-radius: 2px;
  padding: 36px 30px; text-align: center;
}
.quote-mark.small { font-size: 2.6rem; margin-bottom: 4px; }
.review-card p { color: var(--paper-soft); font-size: 1rem; font-weight: 500; font-family: var(--font-accent); line-height: 1.5; margin: 0; }
.review-stars { color: var(--gold); letter-spacing: 3px; margin-top: 18px; font-size: 0.9rem; }
.review-author { margin-top: 10px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--paper-soft); opacity: 0.55; }
.review-summary {
  display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 24px;
  font-family: var(--font-body);
}
.review-summary-stars { color: var(--gold); letter-spacing: 3px; }
.review-summary-text { color: var(--paper-soft); font-size: 0.9rem; letter-spacing: 0.03em; }

/* ---------- Reservation ---------- */
.reservation { background: var(--cream-soft); }
.reservation p { color: var(--ink-soft); max-width: 480px; margin: 0 auto 34px; }
.hours-card { max-width: 440px; margin: 56px auto 0; background: var(--cream); border: 1px solid rgba(32,29,22,0.1); }
.hours-row { display: flex; justify-content: space-between; padding: 18px 28px; border-bottom: 1px solid rgba(32,29,22,0.08); font-size: 0.95rem; }
.hours-row:last-child { border-bottom: none; }
.hours-row span:first-child { font-weight: 600; }
.hours-row.closed span:last-child { color: var(--gold); font-weight: 700; }

/* ---------- WhatsApp reservation form ---------- */
.whatsapp-reserve { max-width: 440px; margin: 40px auto 0; text-align: left; }
.whatsapp-reserve-label {
  text-align: center; font-family: var(--font-accent); font-style: italic; font-weight: 600;
  color: var(--gold-deep); margin-bottom: 22px; font-size: 1.05rem;
}
.reserve-form-row { display: flex; gap: 18px; }
.reserve-form-row .reserve-field { flex: 1; }
.reserve-field { margin-bottom: 18px; }
.reserve-field label {
  display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink-soft); margin-bottom: 6px;
}
.reserve-field input, .reserve-field select {
  width: 100%; border: none; border-bottom: 1px solid rgba(32,29,22,0.25); border-radius: 0;
  background: transparent; padding: 8px 2px; font-family: var(--font-body); font-size: 0.95rem;
  color: var(--ink);
}
.reserve-field input:focus, .reserve-field select:focus { outline: none; border-bottom-color: var(--gold-deep); }
.reserve-field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23201d16' stroke-width='1.6'%3E%3Cpath d='M5 7.5 10 12.5 15 7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; background-size: 14px;
  padding-right: 22px;
}
.reserve-field select:invalid { color: var(--ink-soft); }
.reserve-field select:disabled { color: var(--ink-soft); cursor: not-allowed; opacity: 0.5; }
.reserve-date-group { display: flex; gap: 14px; }
.reserve-date-group select { flex: 1.3; }
.reserve-date-group select + select { flex: 1; }
.reserve-error {
  display: none; color: #9a3324; font-size: 0.82rem; font-weight: 600;
  margin: -6px 0 16px;
}
.reserve-error.visible { display: block; }
.btn-whatsapp {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 6px; cursor: pointer; border: none; font-family: var(--font-body);
}
.btn-whatsapp:disabled { opacity: 0.4; cursor: not-allowed; }
@media (max-width: 640px) { .reserve-form-row { flex-direction: column; gap: 0; } }

/* ---------- Contact ---------- */
.contact { background: var(--olive-dark); }
.contact-address { font-size: 1.15rem; color: var(--cream); margin: 20px 0; }
.contact-links a { color: var(--gold-soft); }
.contact-map {
  position: relative;
  background: var(--cream-soft);
  padding: 14px;
  box-shadow: 0 26px 60px rgba(0,0,0,0.4);
}
.contact-map iframe { display: block; width: 100%; border-radius: 1px; filter: grayscale(0.8) contrast(1.08) brightness(0.97); }

/* ---------- Floating reservation CTA ---------- */
.floating-cta {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  display: flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--olive-dark); padding: 15px 22px; border-radius: 2px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em;
  box-shadow: 0 16px 34px -12px rgba(0,0,0,0.55);
  opacity: 0; transform: translateY(16px) scale(0.94); pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.25s ease;
}
.floating-cta.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
@media (max-width: 900px) {
  .floating-cta span { display: none; }
  .floating-cta { padding: 14px; border-radius: 50%; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(246,241,230,0.6); padding: 48px 0; text-align: center; }
.site-footer .wordmark { color: var(--cream); justify-content: center; margin-bottom: 14px; font-size: 1.2rem; }
.site-footer .wordmark em { color: var(--gold); }
.site-footer p { font-size: 0.85rem; }

/* Visually hidden but screen-reader/SEO accessible — pairs with a real <img>
   inserted alongside CSS background-image photos so decorative background
   layers still carry proper alt text. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Keyboard focus ---------- */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 1px;
}

/* ---------- Hover effects (mouse/trackpad only) ----------
   Touch devices have no real ":hover" — iOS Safari instead applies it on tap
   and leaves it stuck until the next tap elsewhere, so e.g. a tapped
   quicknav pill stayed dark instead of showing its gold .active state.
   Gating all hover effects behind (hover: hover) makes them mouse-only. */
@media (hover: hover) {
  .nav a:not(.nav-cta):hover::after { width: 100%; }
  .nav a:hover { color: var(--cream); }
  .nav-cta:hover { background: var(--gold); color: var(--olive-dark) !important; }
  .btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); }
  .btn-dark:hover { background: var(--ink); transform: translateY(-2px); }
  .btn-outline:hover { background: var(--ink); color: var(--cream); }
  .btn-outline-light:hover { background: rgba(246,241,230,0.16); transform: translateY(-2px); }
  .menu-quicknav a:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
  .menu-quicknav a.quicknav-highlight:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
  .menu-quicknav a.active:hover { background: var(--olive-dark); color: var(--gold-soft); border-color: var(--olive-dark); }
  .masonry-item:hover { transform: translateY(-4px); }
  .contact-links a:hover { color: var(--gold); }
  .floating-cta:hover { background: var(--gold-soft); }
}

/* ---------- Reveal animation hooks ---------- */
.reveal, .reveal-word { opacity: 0; transform: translateY(30px); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-word { opacity: 1; transform: none; }
  .kenburns, .marquee-track, .scroll-cue span { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--olive-dark); flex-direction: column; align-items: flex-start;
    padding: 24px 32px; gap: 20px; border-bottom: 1px solid var(--olive-line);
    display: none;
  }
  .nav.nav-open { display: flex; }
  .nav-toggle { display: flex; }
  /* On short mobile viewports the vertically-centered hero content can land
     high enough to collide with the fixed header on top of it — reserve
     clearance so the eyebrow line never renders underneath the wordmark. */
  .hero { padding-top: 110px; }
  .two-col, .dish-row { grid-template-columns: 1fr; }
  .dish-row.reverse { direction: ltr; }
  .dish-copy { padding: 32px 0; }
  .review-grid { grid-template-columns: 1fr; }
  .masonry { columns: 2 180px; }
  .section { padding: 96px 0; }
  .menu-page-hero { padding: 140px 0 52px; }
  .menu-cat { padding: 52px 0; }
  .menu-row-name { font-size: 0.98rem; }
}

@media (max-width: 480px) {
  .menu-row { column-gap: 8px; }
  /* Keep .menu-row-dots as an invisible flex spacer (it still pushes the
     price to the right edge) — display:none here would collapse that
     spacer and leave the price stuck right next to the name. */
  .menu-row-dots { border-bottom-color: transparent; flex-basis: 8px; }
  .menu-row-prices { gap: 12px; }
}
