/* ==========================================================
   Tibet Family Bistro – Stylesheet
   Farben: Mönchsroben-Bordeaux, Safran, Türkis, Gebetsfahnen
   ========================================================== */

@font-face { font-family: "Alegreya"; src: url("/assets/fonts/alegreya-var.woff2") format("woff2"); font-weight: 500 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya"; src: url("/assets/fonts/alegreya-italic-500.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("/assets/fonts/alegreya-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("/assets/fonts/alegreya-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("/assets/fonts/alegreya-sans-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
/* Tibetan: the full font is only a fallback for characters the small subset lacks
   (faces declared later win, so the small one is tried first). Regenerate: tools/subset-font.py */
@font-face { font-family: "Jomolhari"; src: url("/assets/fonts/jomolhari-tibetan.woff2") format("woff2"); font-weight: 400; font-display: swap; size-adjust: 122%; unicode-range: U+0F00-0FFF, U+200C-200D, U+25CC; }
@font-face { font-family: "Jomolhari"; src: url("/assets/fonts/jomolhari-sub.woff2") format("woff2"); font-weight: 400; font-display: swap; size-adjust: 122%; /* subset-range */ unicode-range: U+0F0B, U+0F0D, U+0F40, U+0F41, U+0F42, U+0F44, U+0F46, U+0F4F, U+0F50, U+0F51, U+0F53, U+0F56, U+0F58, U+0F5A, U+0F5F, U+0F60, U+0F62, U+0F63, U+0F64, U+0F66, U+0F72, U+0F74, U+0F7A, U+0F7C, U+0F90, U+0F92, U+0FB1, U+0FB2, U+200C, U+200D, U+25CC; }

:root {
  color-scheme: light;
  --maroon-950: #2b0b0f;
  --maroon-900: #3a0f14;
  --maroon-800: #4e161c;
  --maroon-700: #6b1f27;
  --saffron: #e39b2d;
  --saffron-700: #8f5409;
  --saffron-100: #fbeccf;
  --turq: #1f6f78;
  --paper: #fffdf9;
  --sand: #f5eee4;
  --line: #e6d8c5;
  --ink: #2a1a1b;
  --ink-2: #5f4b47;
  --veg: #2f6f3a;
  --veg-bg: #e4f0df;
  --chili: #b3261e;

  --f-blau: #2a5ca8;
  --f-weiss: #f7f3ea;
  --f-rot: #c0302a;
  --f-gruen: #23744a;
  --f-gelb: #e8b52f;

  --serif: "Alegreya", Georgia, "Times New Roman", serif;
  --sans: "Alegreya Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bo: "Jomolhari", "Noto Serif Tibetan";

  --hdr-h: 68px;
  --bar-h: 58px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + var(--bar-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button, input, summary { touch-action: manipulation; -webkit-tap-highlight-color: rgba(227,155,45,.18); }
:focus-visible { outline: 3px solid var(--turq); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--ink-2); }

/* Tibetan script everywhere it appears */
[lang="bo"] { font-family: var(--bo), var(--serif); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--saffron); color: var(--maroon-950); padding: .6rem 1rem; border-radius: 6px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.h2 {
  font: 800 clamp(2rem, 4.2vw, 3.1rem)/1.05 var(--serif);
  letter-spacing: -.012em;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}
.h3 { font: 700 1.35rem/1.2 var(--serif); margin: 0 0 1rem; }
.h3--sm { font-size: 1.1rem; margin-top: 2rem; }
.prose p { margin: 0 0 1em; max-width: 62ch; }
.link { color: var(--turq); font-weight: 700; text-underline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .7rem 1.25rem;
  border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 52px; padding: .85rem 1.6rem; font-size: 1.075rem; }
.btn--saffron { background: var(--saffron); color: var(--maroon-950); }
.btn--saffron:hover { background: #f0ad42; }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--outline { border-color: rgba(42,26,27,.28); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink); }
.btn--maroon { background: var(--maroon-800); color: #fff; }
.btn--maroon:hover { background: var(--maroon-700); }

/* ---------- Notice ---------- */
.notice { background: var(--saffron); color: var(--maroon-950); text-align: center; font-weight: 700; padding: .55rem var(--gutter); position: relative; z-index: 51; }
.notice p { margin: 0; }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr-h);
  color: #fff;
  transition: background-color .3s, box-shadow .3s;
}
.has-notice .hdr { position: absolute; top: auto; }
/* Background lives on a pseudo layer: a backdrop-filter or transform on .hdr itself
   would trap the fixed mobile menu inside the 60px header. */
.hdr::before { content: ""; position: absolute; inset: 0; z-index: -1; background: transparent; transition: background-color .3s, box-shadow .3s; }
.hdr.is-solid { position: fixed; top: 0; }
.hdr.is-solid::before { background: rgba(43, 11, 15, .94); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
@supports (backdrop-filter: blur(8px)) { .hdr.is-solid::before { background: rgba(43, 11, 15, .82); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2); } }
.hdr__in { height: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand__name { font: 700 1.3rem/1 var(--serif); letter-spacing: .005em; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-weight: 500; font-size: 1.02rem; padding: .4rem 0; background: linear-gradient(var(--saffron), var(--saffron)) 0 100% / 0 2px no-repeat; transition: background-size .25s var(--ease); }
.nav ul a:hover { background-size: 100% 2px; }
.nav__extra { display: none; }
.nav__call { min-height: 40px; padding: .5rem 1rem; font-size: .95rem; }


.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), top .25s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 940px);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--hdr-h) + 40px) 0 190px;
  background: var(--maroon-950); color: #fff; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 55%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(43,11,15,.95) 0%, rgba(43,11,15,.78) 34%, rgba(43,11,15,.15) 68%, rgba(43,11,15,0) 100%),
    linear-gradient(0deg, rgba(43,11,15,.9) 0%, rgba(43,11,15,0) 38%);
}
.hero__in { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.hero__in > * { max-width: 640px; }
.hero__greet {
  margin: 0; color: var(--saffron);
  font-size: clamp(2.1rem, 10.5vw, 5.4rem); line-height: 1.25;
}
.hero__note { margin: .1rem 0 1.4rem; font: italic 500 1.15rem/1.4 var(--serif); color: var(--saffron-100); }
.hero__title {
  margin: 0 0 1.1rem;
  font: 800 clamp(2.5rem, 5.6vw, 4.6rem)/1.02 var(--serif);
  letter-spacing: -.018em; text-wrap: balance;
}
.hero__text { margin: 0 0 1.6rem; font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.88); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }

.status { display: inline-flex; align-items: center; gap: .6rem; margin: 0; padding: .45rem .95rem .45rem .8rem; border-radius: 999px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18); font-weight: 500; }
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: #9a8a86; flex: none; }
.status.is-open .status__dot { background: #4cc46a; box-shadow: 0 0 0 0 rgba(76,196,106,.6); animation: ping 2.2s var(--ease) 1.2s 3; }
.status.is-closed .status__dot { background: #e0574d; }
.status strong { font-weight: 700; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(76,196,106,.55); } 100% { box-shadow: 0 0 0 10px rgba(76,196,106,0); } }
.status--light { background: #fff; border-color: var(--line); margin-top: 1.2rem; }

/* ---------- Prayer-flag string (signature element) ---------- */
.string { position: relative; }
.string--hero { position: absolute; left: 0; right: 0; bottom: 0; height: 150px; color: rgba(255, 236, 200, .55); }
.string__line { position: absolute; top: 0; left: 0; width: 100%; height: 60px; }
.flags { list-style: none; margin: 0; padding: 0; }
/* any number of flags; each hangs on the sagging string (parabola from --i / --n) */
.string--hero .flags { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); height: 100%; }
.string--hero .flag { justify-self: center; width: min(150px, calc(100% - 10px)); }
.string--hero .flag { --f: calc((var(--i) + .5) / var(--n)); margin-top: calc(6px + var(--f) * (1 - var(--f)) * 128px); }
.string--hero .flag a {
  hyphens: auto; -webkit-hyphens: auto;
  display: flex; align-items: flex-end; justify-content: center;
  height: 84px; padding: 0 .4rem .7rem;
  font: 700 1rem/1.15 var(--sans); text-align: center; text-decoration: none;
  border-top: 4px solid rgba(0,0,0,.18);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 75% 100%, 50% 93%, 25% 100%, 0 92%);
  box-shadow: inset 0 -30px 40px -30px rgba(0,0,0,.25);
  transform-origin: 50% 0;
  animation: sway 2.8s var(--ease) calc(var(--h0) + 1.15s + var(--i) * .12s) both;
  transition: transform .35s var(--ease), filter .2s;
}
.string--hero .flag a:hover { transform: rotate(-3deg) translateY(3px); filter: brightness(1.08); }
@keyframes sway {
  0% { transform: translateY(-130px) rotate(0); opacity: 0; }
  35% { transform: translateY(0) rotate(5deg); opacity: 1; }
  60% { transform: rotate(-3deg); }
  80% { transform: rotate(1.5deg); }
  100% { transform: rotate(0); }
}
.flag.flag--blau > a, .mgroup.flag--blau .mgroup__flag { background-color: var(--f-blau); color: #fff; }
.flag.flag--weiss > a, .mgroup.flag--weiss .mgroup__flag { background-color: var(--f-weiss); color: var(--ink); }
.flag.flag--rot > a, .mgroup.flag--rot .mgroup__flag { background-color: var(--f-rot); color: #fff; }
.flag.flag--gruen > a, .mgroup.flag--gruen .mgroup__flag { background-color: var(--f-gruen); color: #fff; }
.flag.flag--gelb > a, .mgroup.flag--gelb .mgroup__flag { background-color: var(--f-gelb); color: var(--maroon-950); }

/* ---------- Facts band ---------- */
.facts { background: var(--maroon-900); color: #fff; }
.facts__in { max-width: 1320px; margin-inline: auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { display: flex; flex-direction: column; gap: .15rem; padding: 1.4rem 1.2rem; text-decoration: none; border-left: 1px solid rgba(255,255,255,.1); }
.fact:first-child { border-left: 0; padding-left: 0; }
a.fact:hover .fact__v { color: var(--saffron); }
.fact__k { font-size: .92rem; color: rgba(251,236,207,.72); }
.fact__v { font: 700 1.2rem/1.3 var(--serif); transition: color .2s; }
.fact__small { font-weight: 500; font-size: .95rem; opacity: .75; }
.stars { position: relative; display: inline-block; color: rgba(227,155,45,.3); letter-spacing: .08em; white-space: nowrap; line-height: 1; }
.stars__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: var(--saffron); }

/* ---------- About ---------- */
.about { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.about__in { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.about__text .prose { font-size: 1.12rem; }
.points { margin: 2.2rem 0 0; display: grid; gap: 1.1rem; }
.point { padding-left: 1.1rem; border-left: 3px solid var(--saffron); }
.point dt { font: 700 1.15rem/1.3 var(--serif); }
.point dd { margin: .15rem 0 0; color: var(--ink-2); }
.about__media { position: relative; margin: 0 0 0 auto; max-width: 520px; }
.about__photo { border-radius: 6px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: 0 30px 60px -30px rgba(58,15,20,.45); }
.about__seal { position: absolute; left: -42px; bottom: -42px; width: 150px; height: 150px; border-radius: 50%; border: 7px solid var(--paper); background: var(--paper); }

/* ---------- Favourites ---------- */
.favs { background: var(--sand); padding: clamp(4rem, 8vw, 6.5rem) 0; }
.favs__list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.fav a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--paper); border-radius: 6px; overflow: hidden; box-shadow: 0 1px 0 var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.fav a:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -24px rgba(58,15,20,.4); }
.fav__img { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--maroon-900); }
.fav__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.fav a:hover .fav__img img { transform: scale(1.04); }
.fav__body { display: grid; grid-template-columns: 1fr auto; gap: .1rem 1rem; padding: 1rem 1.2rem 1.15rem; }
.fav__title { font: 700 1.35rem/1.2 var(--serif); }
.fav__text { grid-column: 1; color: var(--ink-2); font-size: .98rem; }
.fav__price { grid-column: 2; grid-row: 1; align-self: center; font: 700 1.05rem var(--serif); color: var(--saffron-700); white-space: nowrap; }

/* ---------- Menu ---------- */
.menu { padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem); }
.menu__head { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: .5rem 3rem; align-items: end; margin-bottom: 1.6rem; }
.menu__head .h2 { margin: 0; }
.menu__intro { margin: 0; color: var(--ink-2); font-size: .98rem; }
.menu__note { grid-column: 1 / -1; margin: .5rem 0 0; color: var(--ink-2); }
.menu__note:empty { display: none; }

.tools { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; margin-bottom: 1.2rem; }
.search { position: relative; flex: 1 1 260px; max-width: 420px; }
.search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ink-2); pointer-events: none; }
.search input { width: 100%; min-height: 46px; padding: .6rem 1rem .6rem 2.6rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font: 400 1rem var(--sans); color: var(--ink); }
.search input:focus { outline: none; border-color: var(--turq); box-shadow: 0 0 0 3px rgba(31,111,120,.18); }
.diet { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--sand); }
.diet button { border: 0; background: transparent; min-height: 40px; padding: 0 1rem; border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--ink-2); }
.diet button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(42,26,27,.15); }

.menubar { position: sticky; top: var(--hdr-h); z-index: 30; background: rgba(255,253,249,.94); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .menubar { background: rgba(255,253,249,.82); backdrop-filter: blur(12px) saturate(1.3); } }
.menubar__in { max-width: var(--wrap); margin-inline: auto; padding: 0 var(--gutter); height: var(--bar-h); display: flex; align-items: center; }
.string--bar { width: 100%; overflow-x: auto; scrollbar-width: none; }
.string--bar::-webkit-scrollbar { display: none; }
.string--bar .flags { display: flex; gap: .5rem; padding: 0; border-top: 2px solid rgba(42,26,27,.18); width: max-content; min-width: 100%; }
.string--bar .flag a {
  display: block; padding: .45rem .95rem .55rem; min-width: 74px; text-align: center;
  font: 700 .92rem/1.2 var(--sans); text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 50% 100%, 0 88%);
  transform-origin: 50% 0; transition: transform .25s var(--ease), padding .25s var(--ease), filter .2s;
}
.string--bar .flag a:hover { filter: brightness(1.08); }
.string--bar .flag a.is-active { padding-bottom: .85rem; box-shadow: inset 0 -3px 0 rgba(0,0,0,.25); }

.menu__body { margin-top: 2.5rem; }
.mgroup { margin-bottom: clamp(3rem, 6vw, 4.5rem); scroll-margin-top: calc(var(--hdr-h) + var(--bar-h) + 8px); }
.mgroup__title { display: flex; align-items: center; gap: .9rem; font: 800 clamp(1.8rem, 3.4vw, 2.5rem)/1.1 var(--serif); margin: 0 0 1.8rem; padding-bottom: .9rem; border-bottom: 2px solid var(--ink); }
.mgroup.flag--weiss .mgroup__flag { box-shadow: inset 0 0 0 1.5px rgba(42,26,27,.35); }
.mgroup__flag { width: 26px; height: 32px; flex: none; clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.mgroup__cats { columns: 2; column-gap: clamp(2.5rem, 6vw, 5rem); }
.cat { break-inside: avoid; margin-bottom: 2.6rem; scroll-margin-top: calc(var(--hdr-h) + var(--bar-h) + 16px); }
.cat__head { display: grid; grid-template-columns: 84px 1fr; gap: 1.1rem; align-items: center; margin-bottom: .7rem; }
.cat--noimg .cat__head { grid-template-columns: 1fr; }
.cat__img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--saffron); background: var(--sand); }
.cat__titles { min-width: 0; }
.cat__title { display: inline; font: 700 1.55rem/1.15 var(--serif); margin: 0; }
.cat__bo { margin-left: .55rem; font-size: 1.05rem; color: var(--saffron-700); white-space: nowrap; }
.cat__de { margin-left: .55rem; font: italic 500 1rem var(--serif); color: var(--ink-2); }
.cat__sub { margin: .25rem 0 0; font: italic 500 1rem/1.4 var(--serif); color: var(--ink-2); }
.cat__spicy { display: flex; align-items: center; gap: .35rem; margin: .35rem 0 0; color: var(--chili); font-weight: 700; font-size: .9rem; line-height: 1.35; }
.cat__spicy svg { width: 15px; height: 15px; flex: none; }

.items { list-style: none; margin: 0; padding: 0; }
.item { display: grid; grid-template-columns: 2.6rem 1fr; padding: .5rem 0; }
.item__nr { font: 500 .88rem/1.7 var(--sans); color: var(--saffron-700); font-variant-numeric: tabular-nums; }
.item__line { display: flex; align-items: baseline; gap: .5rem; }
.item__name { font-weight: 500; font-size: 1.06rem; line-height: 1.4; }
.item__amount { color: var(--ink-2); font-weight: 400; font-size: .95rem; white-space: nowrap; }
.item__dots { flex: 1; min-width: 1.2rem; border-bottom: 2px dotted rgba(42,26,27,.25); transform: translateY(-4px); }
.item__price { font: 700 1.06rem var(--serif); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .55rem; margin-top: .2rem; font-size: .93rem; color: var(--ink-2); line-height: 1.4; }
.item__desc { margin-right: .15rem; }
.item__alg { position: relative; top: -.45em; margin-left: .2rem; font: 500 .72rem/1 var(--sans); color: #75625d; text-decoration: none; letter-spacing: .02em; padding: .2em .1em; }
.item__alg:hover { color: var(--saffron-700); text-decoration: underline; }

/* Dish with its own photo: number | photo | text */
.item--img { grid-template-columns: 2.6rem 72px 1fr; column-gap: .9rem; align-items: start; padding: .7rem 0; }
.item__thumb { width: 72px; height: 72px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: var(--sand); cursor: zoom-in; box-shadow: 0 0 0 1px var(--line); }
.item__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.item__thumb:hover img { transform: scale(1.06); }

/* Photo lightbox */
/* "Was ist das?" – dish lexicon */
.cat__info {
  display: inline-flex; align-items: center; gap: .3rem; margin: .15rem 0 0 .6rem; vertical-align: .12em;
  min-height: 30px; padding: .15rem .65rem .15rem .4rem;
  border: 1.5px solid rgba(227,155,45,.55); border-radius: 999px; background: var(--saffron-100);
  color: var(--saffron-700); font: 700 .8rem/1.2 var(--sans); white-space: nowrap;
  transition: background-color .2s, border-color .2s;
}
.cat__info svg { width: 15px; height: 15px; flex: none; }
.cat__info:hover { background: #f8ddab; border-color: var(--saffron); }
.menu__hint { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: .55rem; margin: .8rem 0 0; padding: .75rem 1rem; border-radius: 8px; background: var(--saffron-100); font-size: .98rem; line-height: 1.45; }
.menu__hint svg { width: 20px; height: 20px; flex: none; margin-top: .05rem; color: var(--saffron-700); }

.lex {
  width: min(92vw, 560px); max-height: 90vh; overflow: auto; padding: 1.7rem 1.7rem 1.6rem;
  border: 0; border-radius: 14px; background: var(--paper); color: var(--ink);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.6); overscroll-behavior: contain;
}
.lex::backdrop { background: rgba(43,11,15,.78); }
.lex[open] { animation: zoom-in .28s var(--ease); }
.lex__head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.1rem; padding-right: 2.6rem; }
.lex__img { width: 96px; height: 96px; flex: none; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--saffron); }
.lex__kicker { margin: 0; font: italic 500 .98rem/1.3 var(--serif); color: var(--saffron-700); }
.lex__title { margin: .1rem 0 0; font: 800 clamp(1.6rem, 5vw, 2rem)/1.1 var(--serif); }
.lex__bo { margin: .25rem 0 0; color: var(--saffron-700); font-size: 1.3rem; line-height: 1.6; }
.lex__bo:empty { display: none; }
.lex__say { margin: 0 0 .25rem; }
.lex__say span { color: var(--ink-2); }
.lex__say strong { font: 700 1.12rem var(--serif); }
.lex__meaning { margin: 0 0 1rem; font: italic 500 1.05rem/1.4 var(--serif); color: var(--ink-2); }
.lex__text { margin: 0 0 1.4rem; font-size: 1.08rem; line-height: 1.65; max-width: 60ch; }
.lex .zoom__close { background: var(--sand); }
@media (max-width: 600px) {
  /* bottom sheet on phones */
  .lex { width: 100%; max-width: 100%; max-height: 88vh; margin: auto 0 0; border-radius: 18px 18px 0 0; padding: 1.9rem 1.25rem calc(1.4rem + env(safe-area-inset-bottom)); }
  .lex[open] { animation: sheet-up .38s var(--ease); }
  .lex__img { width: 76px; height: 76px; }
  .lex .btn { width: 100%; }
}
@keyframes sheet-up { from { transform: translateY(100%); } }

.zoom { width: min(92vw, 760px); max-height: 92vh; padding: 0; border: 0; border-radius: 10px; background: var(--paper); color: var(--ink); overflow: hidden; box-shadow: 0 40px 80px -20px rgba(0,0,0,.6); overscroll-behavior: contain; }
.zoom::backdrop { background: rgba(43,11,15,.82); }
.zoom[open] { animation: zoom-in .28s var(--ease); }
@keyframes zoom-in { from { opacity: 0; transform: scale(.96); } }
.zoom figure { margin: 0; }
.zoom img { width: 100%; height: auto; max-height: calc(92vh - 64px); object-fit: contain; background: var(--maroon-950); }
.zoom figcaption { padding: .9rem 3.5rem .9rem 1.2rem; font: 700 1.15rem/1.3 var(--serif); }
.zoom__close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,253,249,.92); display: grid; place-items: center; }
.zoom__close svg { width: 20px; height: 20px; }
.badge { display: inline-flex; align-items: center; gap: .25rem; padding: .1rem .5rem .12rem .4rem; border-radius: 999px; font-size: .8rem; font-weight: 700; line-height: 1.4; }
.badge svg { width: 12px; height: 12px; }
.badge--veg, .badge--vegan { background: var(--veg-bg); color: var(--veg); }
.badge--vegan { background: #d3ebd5; color: #1f5f2e; }
.badge--popular { background: var(--saffron-100); color: var(--saffron-700); }

.empty { text-align: center; padding: 3rem 1rem; color: var(--ink-2); }
.empty p { margin: 0 0 1rem; }
.drinks:empty { display: none; }
.drinks { margin: 0 0 1.5rem; padding: 1.1rem 1.3rem; border: 2px dashed var(--saffron); border-radius: 6px; font: italic 500 1.12rem/1.45 var(--serif); text-align: center; }
.allergens { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--hdr-h) + var(--bar-h) + 16px); }
.allergens summary { cursor: pointer; padding: 1rem 0; font: 700 1.1rem var(--serif); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.allergens summary::-webkit-details-marker { display: none; }
.allergens summary::after { content: "+"; font: 400 1.6rem/1 var(--sans); color: var(--saffron-700); transition: transform .25s var(--ease); }
.allergens[open] summary::after { transform: rotate(45deg); }
.allergens ul { list-style: none; margin: 0; padding: 0 0 1.2rem; columns: 2; column-gap: 3rem; font-size: .95rem; }
.allergens li { display: flex; gap: .7rem; padding: .25rem 0; break-inside: avoid; }
.alg-code { font-weight: 700; color: var(--saffron-700); min-width: 1rem; }

/* ---------- Catering ---------- */
.catering { background: var(--maroon-800); color: #fff; padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter); }
.catering__in { max-width: 860px; margin: 0 auto; text-align: center; padding: clamp(2rem, 5vw, 3.2rem) clamp(1.2rem, 4vw, 3rem); border: 2px dashed rgba(227,155,45,.75); border-radius: 6px; }
.catering p { font-size: 1.15rem; margin: 0 auto 1.8rem; max-width: 46ch; color: rgba(255,255,255,.88); }
.catering .btn { white-space: normal; text-align: center; flex-wrap: wrap; gap: .25rem .6rem; }
.btn__sub { font-weight: 500; opacity: .85; }

/* ---------- Voices ---------- */
.voices { padding: clamp(4.5rem, 9vw, 7rem) 0; }
.voices__in { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.score { display: flex; align-items: center; gap: 1rem; margin: 0; }
.score__num { font: 800 clamp(4.5rem, 10vw, 6.5rem)/1 var(--serif); color: var(--maroon-800); letter-spacing: -.03em; }
.stars--lg { font-size: 1.6rem; }
.score__line { margin: .6rem 0 1.2rem; color: var(--ink-2); }
.voices__list { display: grid; gap: 1.6rem; }
.review { margin: 0; padding: 0 0 1.6rem; border-bottom: 1px solid var(--line); }
.review:last-child { border-bottom: 0; padding-bottom: 0; }
.review blockquote { margin: 0; font: italic 500 clamp(1.3rem, 2.4vw, 1.65rem)/1.35 var(--serif); position: relative; padding-left: 2.1rem; }
.review blockquote::before { content: "\201C"; position: absolute; left: -.1rem; top: .05em; color: var(--saffron); font: 800 2.4em/1 var(--serif); }
.review figcaption { margin-top: .5rem; padding-left: 2.1rem; color: var(--ink-2); font-size: .92rem; }

/* ---------- Visit ---------- */
.visit { background: var(--sand); padding: clamp(4.5rem, 9vw, 7rem) 0; }
.visit__grid { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: clamp(2rem, 4vw, 3.5rem); margin-top: 1rem; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .62rem .75rem; margin: 0 -.75rem; border-bottom: 1px dashed var(--line); }
.hours li.is-today { background: #fff; border-radius: 6px; border-bottom-color: transparent; font-weight: 700; box-shadow: inset 3px 0 0 var(--saffron); }
.hours__time { font-variant-numeric: tabular-nums; }
.hours__time.is-closed { color: var(--ink-2); }
.addr { font-style: normal; font-size: 1.1rem; line-height: 1.55; margin-bottom: .9rem; }
.contact-lines { margin: 0 0 .8rem; font-size: 1.1rem; }
.contact-lines a { color: var(--turq); font-weight: 700; text-underline-offset: 3px; }
.route-btns { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.services { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.services li { display: flex; align-items: center; gap: .6rem; }
.services li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none; background: var(--veg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.2 2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 12px no-repeat; }
.services li.is-no { color: var(--ink-2); }
.services li.is-no::before { background: #b9aaa5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m5 5 6 6M11 5l-6 6' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 11px no-repeat; }
.map { position: relative; min-height: 380px; border-radius: 6px; overflow: hidden; background: #e8dfd1; }
.map::before { content: ""; position: absolute; inset: 0; opacity: .5; background:
  repeating-linear-gradient(28deg, transparent 0 46px, rgba(255,255,255,.75) 46px 52px),
  repeating-linear-gradient(-62deg, transparent 0 70px, rgba(255,255,255,.6) 70px 74px); }
.map__consent { position: relative; height: 100%; min-height: 380px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; gap: .2rem; }
.map__consent > svg { width: 40px; height: 40px; color: var(--chili); margin-bottom: .4rem; }
.map__consent p { margin: 0; max-width: 34ch; }
.map__hint { font-size: .9rem; color: var(--ink-2); margin: .4rem 0 1rem !important; }
.map__consent .btn { background: #fff; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.ftr { background: var(--maroon-950); color: rgba(255,255,255,.82); padding: 3.5rem 0 1.5rem; }
.ftr__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.ftr__brand { display: flex; gap: 1rem; align-items: flex-start; max-width: 420px; }
.ftr__brand img { border-radius: 50%; flex: none; }
.ftr__brand p { margin: 0; }
.ftr__name { font: 700 1.35rem var(--serif); color: #fff; }
.ftr__bo { color: var(--saffron); font-size: 1.1rem; margin: .1rem 0 .4rem !important; }
.ftr__cols { display: flex; gap: 3rem; flex-wrap: wrap; }
.ftr__cols p { margin: 0; line-height: 1.7; }
.ftr a { color: #fff; text-underline-offset: 3px; }
.ftr__links { list-style: none; margin: 0; padding: 0; line-height: 2; }
.ftr__copy { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .9rem; color: rgba(255,255,255,.55); }

/* ---------- Mobile dock ---------- */
.dock { display: none; }

/* ---------- Legal pages ---------- */
.legal-page .hdr { position: sticky; }
.legal-page .hdr::before { background: var(--maroon-950); }
.legal { padding: clamp(3rem, 7vw, 5rem) 0; }
.legal .wrap { max-width: 780px; }
.legal h1 { font: 800 clamp(2.2rem, 5vw, 3.2rem)/1.1 var(--serif); margin: 0 0 2rem; }
.legal h2 { font: 700 1.35rem var(--serif); margin: 2.2rem 0 .6rem; }
.legal p, .legal li { max-width: 68ch; }
.legal a { color: var(--turq); }
.legal .back { display: inline-block; margin-top: 2rem; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .visit__grid { grid-template-columns: 1fr 1fr; }
  .map { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --hdr-h: 60px; --bar-h: 54px; }
  .brand img { width: 38px; height: 38px; }
  .brand__name { font-size: 1.12rem; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--hdr-h) 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2rem;
    padding: 2rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    background: var(--maroon-950); overscroll-behavior: contain; overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.1); font: 700 1.7rem/1.2 var(--serif); background: none; }
  .nav__call { align-self: flex-start; min-height: 52px; font-size: 1.1rem; padding: .8rem 1.4rem; }
  body.nav-open { overflow: hidden; }
  .nav ul li, .nav__call, .nav__extra { opacity: 0; }
  .nav.is-open ul li, .nav.is-open .nav__call, .nav.is-open .nav__extra { animation: nav-in .5s var(--ease) both; }
  .nav.is-open ul li:nth-child(1) { animation-delay: .05s; }
  .nav.is-open ul li:nth-child(2) { animation-delay: .1s; }
  .nav.is-open ul li:nth-child(3) { animation-delay: .15s; }
  .nav.is-open .nav__call { animation-delay: .22s; }
  .nav.is-open .nav__extra { animation-delay: .3s; }
  @keyframes nav-in { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
  .nav__extra { display: grid; gap: .8rem; justify-items: start; margin-top: auto; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); }
  .nav__extra .status { margin: 0; }
  .nav__addr { margin: 0; color: rgba(255,255,255,.8); font-size: 1.05rem; }
  .nav__foot { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: .6rem; }
  .nav__flags { display: flex; gap: 6px; padding-top: 4px; border-top: 2px solid rgba(255,236,200,.4); }
  .nav__flags i { width: 22px; height: 26px; clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%); }
  .nav__flags i:nth-child(1) { background: var(--f-blau); }
  .nav__flags i:nth-child(2) { background: var(--f-weiss); }
  .nav__flags i:nth-child(3) { background: var(--f-rot); }
  .nav__flags i:nth-child(4) { background: var(--f-gruen); }
  .nav__flags i:nth-child(5) { background: var(--f-gelb); }
  .nav__bo { color: var(--saffron); font-size: 1.5rem; line-height: 1.6; }
  body.nav-open .hdr::before { background: var(--maroon-950); backdrop-filter: none; -webkit-backdrop-filter: none; }

  .hero { min-height: 0; padding: calc(var(--hdr-h) + 22vh) 0 150px; justify-content: flex-end; }
  .hero__bg img { object-position: 80% 50%; height: 64%; }
  .hero::before { background: linear-gradient(0deg, var(--maroon-950) 38%, rgba(43,11,15,.5) 56%, rgba(43,11,15,0) 76%), linear-gradient(180deg, rgba(43,11,15,.55) 0, rgba(43,11,15,0) 120px); }
  .hide-sm { display: none; }
  .string--hero { height: 130px; }
  .string--hero .flag { width: calc(100% - 4px); }
  .string--hero .flag a { height: 70px; font-size: .74rem; line-height: 1.1; padding: 0 .1rem .6rem; }

  .facts__in { grid-template-columns: 1fr 1fr; padding: 0; }
  .fact { padding: 1.1rem var(--gutter); border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .fact:first-child { padding-left: var(--gutter); }
  .fact:nth-child(even) { border-left: 1px solid rgba(255,255,255,.1); }
  .fact:nth-child(-n+2) { border-top: 0; }
  .fact__v { font-size: 1.08rem; }

  .about__in { grid-template-columns: 1fr; }
  .about__media { margin: 1rem 0 0 auto; max-width: 92%; }
  .about__seal { width: 110px; height: 110px; left: -24px; bottom: -30px; }

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

  .menu__head { grid-template-columns: 1fr; }
  .mgroup__cats { columns: 1; }
  .search { max-width: none; flex-basis: 100%; }
  .diet { width: 100%; }
  .diet button { flex: 1; padding: 0 .5rem; }
  .allergens ul { columns: 1; }

  .voices__in { grid-template-columns: 1fr; }
  .visit__grid { grid-template-columns: 1fr; }

  .dock {
    display: grid; grid-template-columns: 1.2fr 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--maroon-950); border-top: 1px solid rgba(255,255,255,.08);
    padding-bottom: env(safe-area-inset-bottom);
    transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .dock.is-visible { transform: none; }
  .dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; min-height: 60px; color: #fff; text-decoration: none; font-size: .82rem; font-weight: 700; }
  .dock a svg { width: 20px; height: 20px; }
  .dock a.dock__call { background: var(--saffron); color: var(--maroon-950); }
  .ftr { padding-bottom: calc(1.5rem + 64px + env(safe-area-inset-bottom)); }
}

@media (max-width: 420px) {
  .brand__name { font-size: 1rem; white-space: nowrap; }
  .brand { gap: .55rem; min-width: 0; }
  .item { grid-template-columns: 2.2rem 1fr; }
  .item--img { grid-template-columns: 2.2rem 60px 1fr; column-gap: .7rem; }
  .item__thumb { width: 60px; height: 60px; }
  .item__name { font-size: 1rem; }
  .cat__head { grid-template-columns: 68px 1fr; gap: .9rem; }
  .cat__img { width: 68px; height: 68px; }
  .cat__title { font-size: 1.35rem; }
  .hero__cta .btn { flex: 1 1 auto; }
}

/* ==========================================================
   Opening sequence
   intro (first visit) → photo emerges → greeting brushed in →
   headline word by word → details → prayer flags drop in
   ========================================================== */
@property --r { syntax: "<length>"; inherits: false; initial-value: 0px; }
:root { --h0: 1.45s; }
html.no-intro { --h0: .05s; }

.intro {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-content: center; justify-items: center; gap: .35rem;
  background: radial-gradient(circle at 50% 44%, #6b1f27 0, #3a0f14 38%, #1f070a 100%);
  color: #fff; text-align: center; cursor: pointer;
  -webkit-mask: radial-gradient(circle at 50% 44%, transparent var(--r), #000 calc(var(--r) + 1px));
  mask: radial-gradient(circle at 50% 44%, transparent var(--r), #000 calc(var(--r) + 1px));
  animation: intro-open 1.15s cubic-bezier(.75, 0, .2, 1) 1.3s forwards, intro-gone 0s linear 2.5s forwards;
}
html.no-intro .intro, .intro.is-skipped { display: none; }
@keyframes intro-open { to { --r: 160vmax; } }
@keyframes intro-gone { to { visibility: hidden; pointer-events: none; } }
.intro__mark { position: relative; width: 168px; height: 168px; display: grid; place-items: center; animation: intro-mark 1s var(--ease) both; }
.intro__mark img { width: 140px; height: 140px; border-radius: 50%; box-shadow: 0 0 60px rgba(227,155,45,.35); }
.intro__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.intro__ring circle { fill: none; stroke: var(--saffron); stroke-width: 2.5; stroke-dasharray: 604; stroke-dashoffset: 604; animation: intro-ring 1.1s cubic-bezier(.6, 0, .2, 1) .15s forwards; }
.intro__name { margin: 1rem 0 0; font: 700 clamp(1.5rem, 4vw, 2rem)/1.1 var(--serif); letter-spacing: .01em; animation: intro-up .7s var(--ease) .45s both; }
.intro__bo { margin: 0; color: var(--saffron); font-size: 1.35rem; animation: intro-up .7s var(--ease) .65s both; }
@keyframes intro-mark { from { transform: scale(.6); opacity: 0; } }
@keyframes intro-ring { to { stroke-dashoffset: 0; } }
@keyframes intro-up { from { transform: translateY(14px); opacity: 0; } }

/* Header slides in */
.hdr { animation: hdr-in .8s var(--ease) calc(var(--h0) + .2s) backwards; }
@keyframes hdr-in { from { transform: translateY(-100%); opacity: 0; } }
.legal-page .hdr { animation: none; }

/* Photo emerges from the dark */
.hero__bg { will-change: transform; }
.hero__bg img { animation: emerge 3s cubic-bezier(.2, .6, .2, 1) var(--h0) both; transform-origin: 70% 55%; }
@keyframes emerge { from { transform: scale(1.22); filter: brightness(.25) saturate(.7); } to { transform: scale(1.04); filter: none; } }

/* Tibetan greeting brushed in, then a golden glint */
.hero__greet {
  width: fit-content;
  /* Tibetan glyphs reach far above/below the line box; pad so the gold fill covers them */
  padding: .35em .1em .25em 0; margin-top: -.35em; margin-bottom: -.25em;
  background: linear-gradient(100deg, var(--saffron) 0 42%, #fff1cc 50%, var(--saffron) 58% 100%) 100% 0 / 260% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 22px rgba(0,0,0,.45));
  animation: brush 1.25s cubic-bezier(.6, 0, .25, 1) calc(var(--h0) + .25s) both, glint 1.6s ease-in-out calc(var(--h0) + 1.45s) both;
}
@keyframes brush { from { clip-path: inset(-20% 100% -20% 0); } to { clip-path: inset(-20% -2% -20% 0); } }
@keyframes glint { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* Headline word by word (words are wrapped by app.js) */
.js .hero__title:not(.is-split) { opacity: 0; animation: show 0s linear 3s forwards; }
@keyframes show { to { opacity: 1; } }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .w > span { display: inline-block; animation: word .95s cubic-bezier(.2, .8, .2, 1) calc(var(--h0) + .7s + var(--i) * .075s) both; }
@keyframes word { from { transform: translateY(108%) rotate(4deg); } }

.hero__note, .hero__text, .hero .status, .hero__cta { animation: rise .8s var(--ease) both; }
.hero__note { animation-delay: calc(var(--h0) + .55s); }
.hero__text { animation-delay: calc(var(--h0) + 1.05s); }
.hero .status { animation-delay: calc(var(--h0) + 1.2s); }
.hero__cta { animation-delay: calc(var(--h0) + 1.3s); }
@keyframes rise { from { transform: translateY(18px); opacity: 0; } }
.string--hero .string__line path { stroke-dasharray: 1100; stroke-dashoffset: 1100; animation: string 1.2s ease-out calc(var(--h0) + .9s) forwards; }
@keyframes string { to { stroke-dashoffset: 0; } }

/* Steam rising from the bowl */
.steam { position: absolute; z-index: -1; left: 54%; top: 4%; width: 32%; height: 52%; pointer-events: none; animation: rise 1.5s ease calc(var(--h0) + .8s) both; }
.steam i {
  position: absolute; bottom: 0; left: calc(18% + var(--x, 0%)); width: 34%; height: 70%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255,255,255,.26), rgba(255,255,255,0) 70%);
  filter: blur(18px); opacity: 0; will-change: transform, opacity;
  animation: steam 7s linear infinite;
}
.steam i:nth-child(2) { --x: 22%; animation-delay: 1.8s; animation-duration: 8s; }
.steam i:nth-child(3) { --x: 40%; animation-delay: 3.6s; }
.steam i:nth-child(4) { --x: 8%; animation-delay: 5.2s; animation-duration: 9s; }
@keyframes steam {
  0% { transform: translate3d(0, 40%, 0) scale(.7, .8); opacity: 0; }
  25% { opacity: .9; }
  60% { transform: translate3d(-12%, -40%, 0) scale(1.15, 1.2) rotate(-6deg); opacity: .55; }
  100% { transform: translate3d(10%, -95%, 0) scale(1.6, 1.4) rotate(5deg); opacity: 0; }
}

/* Rotating seal */
.seal { position: absolute; z-index: 1; right: max(var(--gutter), 4vw); top: calc(var(--hdr-h) + 5vh); width: 150px; height: 150px; display: grid; place-items: center; animation: seal-in .9s cubic-bezier(.3, 1.4, .5, 1) calc(var(--h0) + 1.6s) both; }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; overflow: visible; }
.seal text { fill: var(--saffron-100); font: italic 500 15px var(--serif); letter-spacing: .06em; }
.seal img { width: 84px; height: 84px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(227,155,45,.7), 0 10px 30px rgba(0,0,0,.4); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes seal-in { from { transform: scale(.4) rotate(-40deg); opacity: 0; } }

@media (max-width: 900px) {
  .steam { left: 40%; top: 6%; width: 55%; height: 40%; }
  .seal { width: 108px; height: 108px; top: calc(var(--hdr-h) + 14px); }
  .seal img { width: 58px; height: 58px; }
  .seal text { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  .hero *, .hero__bg img, .hdr, .seal svg { animation: none !important; }
  .hero__greet { clip-path: none; }
  .string--hero .string__line path { stroke-dashoffset: 0; }
}

@media (max-width: 359px) {
  .mgroup__title, .h2, .cat__title { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
  .mgroup__title { font-size: 1.6rem; }
  .string--hero .flag a { font-size: .64rem; padding: 0 .05rem .55rem; }
  .seal { width: 92px; height: 92px; }
  .seal img { width: 50px; height: 50px; }
  .brand__name { font-size: .9rem; }
  .hdr__in { gap: .5rem; }
}

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

@media print {
  .hdr, .dock, .hero, .facts, .favs, .catering, .voices, .map, .menubar, .tools { display: none !important; }
  .mgroup__cats { columns: 2; }
}
