/* =========================================================
   Restaurant Molidul 360 — Bucovina traditional kitchen
   Palette: linen, embroidery red, hearth night, Bucovina blue
   ========================================================= */

:root {
  /* colour tokens */
  --linen: #F4EEE3;
  --paper: #FBF8F2;
  --linen-deep: #E8DECD;
  --ink: #1C1613;
  --ink-soft: #4A3F38;
  --muted: #6B5D53;
  --line: #D9CDBA;

  --red: #9B1C1C;
  --red-hover: #7F1616;
  --red-glow: #C0392B;
  --blue: #1F4E79;
  --gold: #C29A5B;

  --night: #17110E;
  --night-2: #221A16;
  --on-night: #F1E9DC;
  --on-night-muted: #BDAF9E;
  --night-line: #3A2E27;

  --success: #2F6B3A;

  /* type */
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
  --fs-h3: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
  --fs-h2: clamp(2.25rem, 1.6rem + 2.8vw, 4.25rem);
  --fs-h1: clamp(2.75rem, 1.6rem + 5vw, 6.25rem);

  /* spacing (spacious scale) */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --section-y: clamp(5rem, 3rem + 8vw, 10rem);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --container: 1240px;

  --radius: 4px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }

/* ---------- language switching ----------
   Both languages live in the markup; the inactive one is hidden. */
html[data-lang="ro"] body [lang="en"],
html[data-lang="en"] body [lang="ro"] { display: none !important; }

/* ---------- utilities ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: fixed; top: 0.75rem; left: 0.75rem; z-index: 200;
  padding: 0.75rem 1.25rem; background: var(--ink); color: var(--paper);
  border-radius: var(--radius); transform: translateY(-200%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

:focus-visible { outline: 2px solid var(--red-glow); outline-offset: 3px; border-radius: 2px; }
.section--night :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

.section { padding-block: var(--section-y); position: relative; }
.section--paper { background: var(--paper); }
.section--night { background: var(--night); color: var(--on-night); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--space-3);
  display: flex; align-items: center; gap: 0.75rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: currentColor; flex: none; }
.eyebrow--light { color: var(--gold); }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.section-title em, .hero-title em, .landscape-quote em { font-style: italic; color: var(--red); }
.section--night .section-title em { color: var(--gold); }

.section-head { max-width: 48rem; margin-bottom: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head--split { max-width: none; display: grid; gap: var(--space-4); align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.4fr 1fr; } }
.section-intro { color: var(--ink-soft); font-size: var(--fs-lg); max-width: 34rem; }
.head-star { margin: 0 auto var(--space-3); width: 40px; height: 40px; }

/* split-word reveal wrappers (created by JS) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.w > span { display: inline-block; will-change: transform; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--paper);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  min-height: 52px; padding: 0.875rem 1.75rem;
  border: 1px solid var(--btn-bg); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0.02em; text-decoration: none;
  transition: color .35s var(--ease-out), border-color .35s var(--ease-out), transform .2s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-hover, var(--red-hover));
  transform: translateY(101%); border-radius: inherit;
  transition: transform .5s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(0.98); }
.btn-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-red { --btn-bg: var(--red); --btn-fg: #fff; --btn-hover: var(--red-hover); }
.btn-ink { --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-hover: var(--red); }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: var(--on-night); --btn-hover: var(--on-night); border-color: rgba(241,233,220,.4); }
.btn-ghost-light:hover { color: var(--night); border-color: var(--on-night); }
.btn-small { min-height: 44px; padding: 0.5rem 1.25rem; font-size: var(--fs-xs); letter-spacing: 0.06em; }
.btn-block { width: 100%; }

.text-link {
  display: inline-block; margin-top: var(--space-1);
  color: var(--red); font-weight: 600; font-size: var(--fs-sm);
  text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .4s var(--ease-out);
  padding-block: 0.4rem;
}
.text-link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- embroidery bands ---------- */
.stitch-band {
  height: 18px; width: 100%;
  background-color: var(--red);
  -webkit-mask: url("../img/motif-border.svg") repeat-x left center / auto 100%;
          mask: url("../img/motif-border.svg") repeat-x left center / auto 100%;
  transform-origin: left center;
}
.stitch-band--light { background-color: var(--red-glow); position: absolute; left: 0; bottom: 0; opacity: .9; }
.stitch-band--top { position: absolute; top: 0; left: 0; background-color: var(--red-glow); }

/* ---------- intro curtain ---------- */
.intro-curtain { display: none; }
html.js.intro .intro-curtain {
  display: grid; place-items: center; align-content: center; gap: 1.25rem;
  position: fixed; inset: 0; z-index: 300;
  background: var(--linen);
}
.intro-star { width: 72px; height: 72px; }
.intro-word { font-family: var(--font-display); font-size: 1.75rem; letter-spacing: 0.04em; color: var(--ink); opacity: 0; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: var(--on-night);
  transition: background-color .4s, color .4s, transform .5s var(--ease-out), box-shadow .4s;
}
.site-header.is-scrolled { background: rgba(244, 238, 227, 0.92); color: var(--ink); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }

.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; min-height: 44px; }
.brand-mark { width: 28px; height: 28px; }
.site-header:not(.is-scrolled) .brand-mark { filter: brightness(0) invert(0.92) sepia(0.2); }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: 0.01em; display: flex; flex-direction: column; line-height: 1; }
.brand-kicker { font-family: var(--font-body); font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; opacity: 0.75; margin-bottom: 0.3rem; }

.main-nav { display: none; }
.main-nav ul { display: flex; gap: clamp(1.25rem, 2.5vw, 2.5rem); }
.main-nav a {
  position: relative; display: inline-block; padding-block: 0.75rem;
  font-size: var(--fs-sm); font-weight: 500; text-decoration: none;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.45rem; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.main-nav a:hover::after, .main-nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.lang-switch { display: flex; border: 1px solid currentColor; border-radius: 999px; padding: 2px; opacity: 0.9; }
.lang-switch button {
  min-width: 40px; min-height: 36px; padding: 0 0.6rem;
  border: 0; border-radius: 999px; background: transparent;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em;
  transition: background-color .3s, color .3s;
}
.lang-switch button[aria-pressed="true"] { background: currentColor; }
.lang-switch button[aria-pressed="true"] > * , .lang-switch button[aria-pressed="true"] { color: inherit; }
.site-header .lang-switch button[aria-pressed="true"] { background: var(--on-night); color: var(--night); }
.site-header.is-scrolled .lang-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.header-cta { display: none; }

.menu-toggle {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; background: transparent; position: relative; z-index: 120;
}
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after {
  display: block; width: 22px; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform .45s var(--ease-out), opacity .2s;
}
.menu-toggle-bars { position: relative; }
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -7px; }
.menu-toggle-bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }
body.nav-open .site-header { color: var(--on-night); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
body.nav-open .site-header .brand-mark { filter: brightness(0) invert(0.92) sepia(0.2); }
body.nav-open .site-header .lang-switch button[aria-pressed="true"] { background: var(--on-night); color: var(--night); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 90;
  background: var(--night); color: var(--on-night);
  padding: calc(var(--header-h) + 2rem) var(--gutter) max(2rem, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  overflow-y: auto;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a { text-decoration: none; }
.mobile-nav nav a {
  display: block; padding-block: 0.35rem;
  font-family: var(--font-display); font-size: clamp(2.5rem, 10vw, 3.5rem); line-height: 1.15;
}
.mobile-nav nav li { overflow: hidden; }
.mobile-nav-foot { display: flex; flex-direction: column; gap: 0.25rem; color: var(--on-night-muted); font-size: var(--fs-sm); padding-top: var(--space-4); border-top: 1px solid var(--night-line); }
.mobile-nav-foot a { color: var(--on-night); font-size: var(--fs-lg); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }

@media (min-width: 980px) {
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 75% 45%, rgba(192, 57, 43, 0.14), transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 100%, rgba(31, 78, 121, 0.18), transparent 70%),
    var(--night);
  color: var(--on-night);
  padding-top: calc(var(--header-h) + clamp(2rem, 6vw, 5rem));
  padding-bottom: clamp(4.5rem, 8vw, 7rem);
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-grid { display: grid; gap: clamp(3rem, 6vw, 5rem); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; } }

.hero-eyebrow { color: var(--gold); }
.hero-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: var(--fs-h1); line-height: 0.98; letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}
.hero-title .h-lines { display: block; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { color: var(--gold); }
.hero-lead { max-width: 34rem; color: var(--on-night-muted); font-size: var(--fs-lg); line-height: 1.7; margin-bottom: var(--space-5); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-5); }
.hero-meta { display: flex; flex-wrap: wrap; gap: var(--space-5); padding-top: var(--space-3); border-top: 1px solid var(--night-line); max-width: 30rem; }
.hero-meta dt { font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-night-muted); margin-bottom: 0.25rem; }
.hero-meta dd { font-family: var(--font-display); font-size: 1.5rem; }
.hero-meta a { text-decoration: none; }
.hero-meta a:hover { color: var(--gold); }

.hero-visual { position: relative; max-width: 520px; width: 100%; justify-self: center; }
/* Arched frame for the hero photo */
.arch {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 999px 999px var(--radius) var(--radius);
  background: var(--night-2);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.arch::after {
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  border: 1px solid rgba(194, 154, 91, 0.85);
  border-radius: 999px 999px 2px 2px;
}
.arch { outline: 1px solid rgba(194, 154, 91, 0.35); outline-offset: 8px; }
.arch img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.seal {
  position: absolute; width: clamp(110px, 22vw, 150px); height: auto;
  left: clamp(-1.5rem, -3vw, -0.5rem); bottom: 14%;
  background: var(--red); border-radius: 50%;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.5);
}
.seal-text { font-family: var(--font-body); font-size: 14px; font-weight: 600; text-transform: uppercase; fill: var(--on-night); }
.seal-star {
  position: absolute; width: 36px; height: 36px;
  left: calc(clamp(-1.5rem, -3vw, -0.5rem) + clamp(110px, 22vw, 150px) / 2 - 18px);
  bottom: calc(14% + clamp(110px, 22vw, 150px) / 2 - 18px);
  filter: brightness(0) invert(0.95);
}
.hero-caption { margin-top: var(--space-2); text-align: right; font-size: var(--fs-xs); letter-spacing: 0.08em; color: var(--on-night-muted); font-style: italic; font-family: var(--font-display); font-size: 1rem; }

.scroll-cue { position: absolute; left: 50%; bottom: 2rem; width: 44px; height: 64px; transform: translateX(-50%); display: none; justify-content: center; }
.scroll-cue-line { width: 1px; height: 100%; background: linear-gradient(var(--on-night-muted), transparent); position: relative; overflow: hidden; }
.scroll-cue-line::after { content: ""; position: absolute; inset: 0; background: var(--gold); animation: cue 2.4s var(--ease-out) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (min-width: 960px) and (min-height: 760px) { .scroll-cue { display: flex; } }

/* ---------- marquee ---------- */
.marquee { background: var(--linen); border-bottom: 1px solid var(--line); overflow: hidden; padding-block: 1.6rem; }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-group { display: flex; align-items: center; gap: 2.25rem; padding-right: 2.25rem; flex: none; }
.marquee-group span { font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); white-space: nowrap; color: var(--ink); }
.marquee-group img { width: 18px; height: 18px; flex: none; }
html:not(.js) .marquee-track, .no-gsap .marquee-track { animation: marquee 40s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none !important; } }

/* ---------- story ---------- */
.story-grid { display: grid; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
@media (min-width: 960px) {
  .story-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .story-media { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.story-media { position: relative; padding-bottom: 18%; padding-right: 12%; }
.story-img { overflow: hidden; border-radius: var(--radius); background: var(--linen-deep); }
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story-img--tall { aspect-ratio: 4 / 5; }
.story-img--small {
  position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1;
  border: 8px solid var(--linen); box-sizing: content-box;
}
.story-copy .section-title { margin-bottom: var(--space-4); }
.prose { display: grid; gap: var(--space-3); color: var(--ink-soft); font-size: var(--fs-lg); max-width: 36rem; }

.pillars { display: grid; gap: var(--space-3); margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--line); }
@media (min-width: 600px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar-num { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--red); }
.pillars h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; line-height: 1.2; margin: 0.25rem 0 0.4rem; }
.pillars p { font-size: var(--fs-sm); color: var(--muted); line-height: 1.6; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); margin-top: var(--space-5); }
.stats dt { font-family: var(--font-display); font-size: clamp(2.5rem, 1.8rem + 3vw, 4rem); line-height: 1; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.stats dd { font-size: var(--fs-xs); color: var(--muted); margin-top: 0.4rem; letter-spacing: 0.04em; }

/* ---------- signature dishes ---------- */
.dish-grid { display: grid; gap: clamp(3rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem); }
@media (min-width: 760px) {
  .dish-grid { grid-template-columns: repeat(12, 1fr); }
  .dish-card:nth-child(1) { grid-column: 1 / span 7; }
  .dish-card:nth-child(2) { grid-column: 9 / span 4; margin-top: 30%; }
  .dish-card:nth-child(3) { grid-column: 2 / span 4; }
  .dish-card:nth-child(4) { grid-column: 7 / span 6; margin-top: -12%; }
}
.dish-img { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--linen-deep); }
.dish-card:nth-child(2) .dish-img, .dish-card:nth-child(3) .dish-img { aspect-ratio: 4 / 5; }
.dish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.dish-card:hover .dish-img img { transform: scale(1.05); }
.dish-body { position: relative; padding-top: var(--space-3); padding-left: 3rem; }
.dish-num { position: absolute; left: 0; top: calc(var(--space-3) + 0.35rem); font-family: var(--font-display); font-style: italic; color: var(--red); font-size: 1.125rem; }
.dish-body h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); line-height: 1.15; margin-bottom: 0.5rem; }
.dish-body p { color: var(--ink-soft); max-width: 30rem; }
.dish-price { margin-top: 0.75rem; font-family: var(--font-display); font-size: 1.375rem; color: var(--red) !important; font-weight: 600; }

/* ---------- landscape band ---------- */
.landscape { position: relative; min-height: clamp(460px, 80vh, 760px); display: grid; align-items: center; overflow: hidden; color: #fff; isolation: isolate; }
.landscape-media { position: absolute; inset: -12% 0; z-index: -2; }
.landscape-media img { width: 100%; height: 100%; object-fit: cover; }
.landscape::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23,17,14,.35), rgba(23,17,14,.65)); }
.landscape-inner { text-align: center; }
.landscape-quote p { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.25rem, 1.4rem + 4.4vw, 5.5rem); line-height: 1.05; letter-spacing: -0.015em; text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,.3); }
.landscape-quote em { color: #F1D9A8; }
.landscape-caption { margin-top: var(--space-4); font-size: var(--fs-xs); letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,.85); }

/* ---------- menu ---------- */
.tabs {
  display: flex; gap: 0.25rem; justify-content: flex-start;
  margin: 0 auto var(--space-5); max-width: max-content;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding: 0.3rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  max-width: 100%;
  position: relative;
}
.tabs::-webkit-scrollbar { display: none; }
@media (max-width: 899px) {
  /* phones: one scrolling row, faded edge hints at more categories */
  .tabs { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .tabs.at-end { -webkit-mask-image: none; mask-image: none; }
}
@media (min-width: 900px) {
  .tabs { flex-wrap: wrap; justify-content: center; max-width: 52rem; border-radius: 28px; overflow: visible; }
}
.tabs [role="tab"] {
  flex: none; min-height: 44px; padding: 0.5rem 1.25rem;
  border: 0; border-radius: 999px; background: transparent;
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink-soft);
  transition: color .35s; position: relative; z-index: 1; white-space: nowrap;
}
.tabs [role="tab"][aria-selected="true"] { color: var(--paper); }
.tabs [role="tab"]:hover:not([aria-selected="true"]) { color: var(--red); }
.tab-pill { position: absolute; z-index: 0; top: 0; left: 0; border-radius: 999px; background: var(--ink); transition: transform .55s var(--ease-out), width .55s var(--ease-out), height .55s var(--ease-out); }
html:not(.js) .tabs [role="tab"][aria-selected="true"] { background: var(--ink); }

.menu-panels { max-width: 54rem; margin-inline: auto; }
.menu-panel:focus-visible { outline-offset: 12px; }
.menu-list { display: grid; }
.menu-item { padding-block: 1.4rem; border-bottom: 1px solid var(--line); }
.menu-item:first-child { border-top: 1px solid var(--line); }
.menu-line { display: flex; align-items: baseline; gap: 0.75rem; }
.menu-line h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); line-height: 1.2; display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.75rem; }
.menu-line .dots { flex: 1; min-width: 1.5rem; border-bottom: 1px dotted var(--muted); transform: translateY(-0.35em); opacity: 0.6; }
.menu-line .price { font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; color: var(--red); white-space: nowrap; }
.menu-item p { margin-top: 0.3rem; color: var(--ink-soft); font-size: var(--fs-sm); max-width: 40rem; }
.menu-incl { margin-top: 0.4rem !important; font-size: var(--fs-xs) !important; color: var(--muted) !important; letter-spacing: 0.02em; }
.menu-incl strong { font-weight: 700; color: var(--ink-soft); }
.qty { color: var(--muted); font-size: var(--fs-xs); letter-spacing: 0.04em; white-space: nowrap; margin-left: 0.25rem; }
.qty::before { content: "· "; }
.tag { font-family: var(--font-body); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); border: 1px solid currentColor; border-radius: 999px; padding: 0.15rem 0.6rem; line-height: 1.5; }
.tag--green { color: var(--success); }
.menu-note { margin: var(--space-5) auto 0; max-width: 40rem; text-align: center; color: var(--muted); font-size: var(--fs-sm); }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; gap: clamp(0.75rem, 1.5vw, 1.25rem); grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(140px, 22vw, 280px); grid-auto-flow: dense; }
@media (min-width: 900px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.g-item { overflow: hidden; border-radius: var(--radius); background: var(--linen-deep); }
.g-item--wide { grid-column: span 2; }
.g-item--tall { grid-row: span 2; }
.g-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; position: relative; cursor: zoom-in; }
.g-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), filter .6s; }
.g-btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(transparent 55%, rgba(23,17,14,.45));
  opacity: 0; transition: opacity .5s;
}
.g-btn:hover img, .g-btn:focus-visible img { transform: scale(1.06); }
.g-btn:hover::after, .g-btn:focus-visible::after { opacity: 1; }
.g-btn:focus-visible { outline-offset: -4px; }

.lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100dvh; background: rgba(15, 11, 9, 0.94); color: #fff; }
.lightbox::backdrop { background: rgba(15, 11, 9, 0.9); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox-img { max-width: min(92vw, 1600px); max-height: 82dvh; object-fit: contain; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.35); display: grid; place-items: center; transition: background-color .3s, border-color .3s; }
.lb-btn:hover { background: var(--red); border-color: var(--red); }
.lb-btn svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: max(1rem, env(safe-area-inset-top)); right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: max(1.25rem, env(safe-area-inset-bottom)); transform: none; } .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); } }

/* ---------- reviews ---------- */
.review-list { display: grid; gap: var(--space-3); }
@media (min-width: 900px) { .review-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 899px) {
  .review-list { grid-auto-flow: column; grid-auto-columns: min(86%, 26rem); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-2); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: thin; }
  .review { scroll-snap-align: start; }
}
.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.75rem, 3vw, 2.5rem); display: flex; flex-direction: column; gap: var(--space-3); position: relative; }
.review::before { content: "„"; position: absolute; right: 1.5rem; top: -0.5rem; font-family: var(--font-display); font-size: 6rem; line-height: 1; color: var(--linen-deep); }
.stars { color: var(--gold); width: 100px; }
.stars svg { width: 100px; height: 20px; }
.review blockquote p { font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); line-height: 1.4; }
.review-author { margin-top: auto; font-weight: 600; font-size: var(--fs-sm); }
.review-author span { color: var(--muted); font-weight: 400; }

/* ---------- reservations ---------- */
.reserve { overflow: hidden; }
.reserve-grid { display: grid; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
@media (min-width: 960px) { .reserve-grid { grid-template-columns: 0.9fr 1.1fr; } }
.reserve-intro .section-title { margin-bottom: var(--space-4); }
.reserve-lead { color: var(--on-night-muted); font-size: var(--fs-lg); max-width: 30rem; margin-bottom: var(--space-4); }
.reserve-phone { display: inline-flex; align-items: center; gap: 0.85rem; font-family: var(--font-display); font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); text-decoration: none; min-height: 44px; transition: color .3s; }
.reserve-phone:hover { color: var(--gold); }
.reserve-phone svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.5; }

.reserve-form { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 6px; padding: clamp(1.5rem, 4vw, 3rem); }
.form-grid { display: grid; gap: 1.25rem 1.25rem; margin-bottom: var(--space-4); }
@media (min-width: 560px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label { display: block; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-night); margin-bottom: 0.5rem; }
.optional { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--on-night-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0.8rem 1rem;
  background: var(--night); color: var(--on-night);
  border: 1px solid var(--night-line); border-radius: var(--radius);
  font-size: 1rem; /* ≥16px prevents iOS zoom */
  transition: border-color .25s, box-shadow .25s;
  color-scheme: dark;
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C29A5B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 18px; padding-right: 2.75rem; }
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #8C7F71; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #5A4A40; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(194,154,91,.25); }
.field [aria-invalid="true"] { border-color: #E5675A; }
.field-help { font-size: var(--fs-xs); color: var(--on-night-muted); margin-top: 0.4rem; }
.field-error { font-size: var(--fs-xs); color: #F08A7E; margin-top: 0.4rem; min-height: 0; }
.field-error:empty { display: none; }
.form-status { margin-top: var(--space-2); font-size: var(--fs-sm); color: var(--on-night-muted); text-align: center; }
.form-status:empty { display: none; }

.form-success { text-align: center; padding-block: var(--space-4); }
.form-success img { width: 56px; height: 56px; margin: 0 auto var(--space-3); }
.form-success h3 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 500; margin-bottom: var(--space-2); }
.form-success p { color: var(--on-night-muted); max-width: 26rem; margin-inline: auto; margin-bottom: var(--space-4); }

.btn[aria-busy="true"] { pointer-events: none; opacity: .8; }
.btn[aria-busy="true"] .btn-arrow { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: clamp(3rem, 5vw, 5rem); align-items: stretch; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info .section-title { margin-bottom: var(--space-5); }
.info-blocks { display: grid; gap: var(--space-4) var(--space-3); }
@media (min-width: 560px) { .info-blocks { grid-template-columns: 1fr 1fr; } }
.info-block h3 { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); margin-bottom: 0.6rem; }
.info-block address, .info-block p, .hours { color: var(--ink-soft); }
.info-block a:not(.text-link) { text-decoration: none; display: inline-block; padding-block: 0.15rem; overflow-wrap: anywhere; }
.info-block a:not(.text-link):hover { color: var(--red); }
.hours { display: grid; gap: 0.35rem; }
.hours div { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 1rem; max-width: 18rem; }
.hours dd { font-variant-numeric: tabular-nums; white-space: nowrap; }

.map { position: relative; min-height: 380px; border-radius: 6px; overflow: hidden; background: var(--linen-deep); border: 1px solid var(--line); }
.map-facade { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: var(--space-2); text-align: center; padding: var(--space-3); color: var(--blue);
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--linen-deep);
}
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin { position: relative; width: 56px; height: 56px; filter: drop-shadow(0 8px 16px rgba(155,28,28,.3)); animation: pin 3s ease-in-out infinite; }
@keyframes pin { 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .map-pin { animation: none; } }
.map-load { position: relative; }
.map-note { position: relative; font-size: var(--fs-xs); color: var(--muted); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--night); color: var(--on-night-muted); padding-top: calc(var(--space-7) + 18px); padding-bottom: max(var(--space-4), env(safe-area-inset-bottom)); }
.footer-grid { display: grid; gap: var(--space-5); padding-bottom: var(--space-5); border-bottom: 1px solid var(--night-line); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.5fr 1fr auto; align-items: start; } }
.brand--light { color: var(--on-night); margin-bottom: var(--space-2); }
.brand--light .brand-mark { width: 32px; height: 32px; }
.footer-brand p { max-width: 22rem; font-size: var(--fs-sm); }
.footer-nav ul { display: grid; gap: 0.25rem; }
.footer-nav a { color: var(--on-night); text-decoration: none; display: inline-block; padding-block: 0.5rem; font-size: var(--fs-sm); }
.footer-nav a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 0.75rem; }
.social { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--night-line); display: grid; place-items: center; transition: background-color .3s, border-color .3s; }
.social:hover { background: var(--red); border-color: var(--red); }
.social svg { width: 20px; height: 20px; fill: none; stroke: var(--on-night); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2); padding-top: var(--space-3); font-size: var(--fs-xs); }
.credits summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; color: var(--on-night); }
.credits ul { margin-top: var(--space-1); display: grid; gap: 0.35rem; max-width: 46rem; }
.credits a { color: var(--on-night); }

/* ---------- JS-driven initial states ----------
   Only applied once GSAP has loaded (html.anim), so content is never
   hidden if scripts fail or motion is reduced. */
html.anim [data-reveal] { opacity: 0; }
html.anim [data-reveal-img] { clip-path: inset(100% 0 0 0); }
html.anim .hero .line > span { transform: translateY(105%); }
html.anim .hero-eyebrow, html.anim .hero-lead, html.anim .hero-ctas, html.anim .hero-meta, html.anim .hero-caption { opacity: 0; }
html.anim .arch { clip-path: inset(100% 0 0 0 round 999px 999px 4px 4px); }
html.anim .seal, html.anim .seal-star { opacity: 0; }
