@font-face {
  font-family: 'Alumni Sans';
  font-style: italic;
  font-weight: 600 800;
  font-display: swap;
  src: url(fonts2/AlumniSans-italic-600-800-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Alumni Sans';
  font-style: italic;
  font-weight: 600 800;
  font-display: swap;
  src: url(fonts2/AlumniSans-italic-600-800-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Alumni Sans';
  font-style: italic;
  font-weight: 600 800;
  font-display: swap;
  src: url(fonts2/AlumniSans-italic-600-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Alumni Sans';
  font-style: italic;
  font-weight: 600 800;
  font-display: swap;
  src: url(fonts2/AlumniSans-italic-600-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Alumni Sans';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url(fonts2/AlumniSans-normal-500-900-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Alumni Sans';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url(fonts2/AlumniSans-normal-500-900-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Alumni Sans';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url(fonts2/AlumniSans-normal-500-900-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Alumni Sans';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url(fonts2/AlumniSans-normal-500-900-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts2/Onest-normal-400-700-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts2/Onest-normal-400-700-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts2/Onest-normal-400-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts2/Onest-normal-400-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}/* Olim Polvon — "saroy" (palace) at night.
   VOICE: confident, warm, a little theatrical — a strongman's dastarkhan.
   COLOUR: warm black ground, ivory text, saffron-gold accent, ember red for heat, Rishtan cobalt only in ornaments.
   TYPE: Alumni Sans (poster, condensed, uppercase) + Onest (body). */
:root {
  --bg: #12100e;
  --bg-2: #1a1714;
  --bg-3: #231f1b;
  --ivory: #f3ead9;
  --ivory-2: #d8ccb7;
  --muted: #9a8e7c;
  --line: rgba(243, 234, 217, .12);
  --line-strong: rgba(243, 234, 217, .26);
  --gold: #e6a63c;
  --gold-2: #f2c06b;
  --gold-deep: #b97c1d;
  --ember: #d9542c;
  --cobalt: #3d6fd1;
  --paper: #f3ead9;
  --ink: #15120f;

  --font-display: "Alumni Sans", "Arial Narrow", Impact, sans-serif;
  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --spring: linear(0, 0.0199, 0.0718, 0.1457, 0.2332, 0.3275, 0.4233, 0.5166, 0.6045, 0.6851, 0.7571, 0.82, 0.8737, 0.9186, 0.9551, 0.9841, 1.0063, 1.0226, 1.0339, 1.0411, 1.0449, 1.046, 1.0451, 1.0427, 1.0393, 1.0353, 1.0309, 1.0265, 1.0222, 1.0182, 1.0145, 1.0112, 1.0083, 1.0058, 1.0038, 1.0021, 1.0007, 0.9997, 0.999, 0.9984, 1);
  --spring-soft: linear(0, 0.0195, 0.0692, 0.1382, 0.2183, 0.3031, 0.3881, 0.4702, 0.5471, 0.6177, 0.6812, 0.7374, 0.7864, 0.8286, 0.8644, 0.8945, 0.9195, 0.9399, 0.9564, 0.9696, 0.98, 0.988, 0.994, 0.9984, 1.0016, 1.0038, 1.0052, 1.0059, 1.0063, 1.0063, 1.006, 1.0056, 1.0052, 1.0046, 1.0041, 1.0036, 1.0031, 1.0026, 1.0022, 1.0018, 1);

  --wrap: 1240px;
  --gutter: clamp(18px, 4.5vw, 56px);
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 78px;
  --admin-h: 0px;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -12px rgba(0, 0, 0, .6);
  --shadow-2: 0 2px 6px rgba(0, 0, 0, .35), 0 30px 60px -24px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--admin-h) + 16px); background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--ivory);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* film grain over everything: keeps the dark from looking flat */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 400; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: #3a332c var(--bg); }

.skip { position: fixed; left: 16px; top: 12px; z-index: 600; padding: 10px 16px; background: var(--gold); color: var(--ink); border-radius: 8px; transform: translateY(-160%); transition: transform 200ms var(--ease-out); }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ---------- type ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: .005em; line-height: .9; margin: 0; text-wrap: balance;
}
h1 { font-size: clamp(64px, 11vw, 168px); }
h2 { font-size: clamp(48px, 7vw, 104px); }
h3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1; font-weight: 700; }
h2 em, h1 em, .gold { font-style: italic; color: var(--gold); font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ivory-2); max-width: 34em; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- buttons & links ---------- */
.btn {
  --bg: var(--gold); --fg: var(--ink); --bd: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; background: var(--bg); color: var(--fg);
  border: 1px solid var(--bd); border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn--ghost { --bg: transparent; --fg: var(--ivory); --bd: var(--line-strong); }
.btn--light { --bg: var(--ivory); --fg: var(--ink); --bd: var(--ivory); }
.btn--dark { --bg: var(--ink); --fg: var(--ivory); --bd: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { --bg: var(--gold-2); --bd: var(--gold-2); }
  .btn--ghost:hover { --bg: var(--ivory); --fg: var(--ink); --bd: var(--ivory); }
  .btn--light:hover { --bg: #fff; --bd: #fff; }
  .btn--dark:hover { --bg: #000; --bd: #000; }
  .btn:hover svg { transform: translateX(3px); }
}
.link { text-decoration: none; font-weight: 600; color: var(--gold); display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 2px; transition: background-size 260ms var(--ease-out); }
.link svg { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link:hover { background-size: 100% 1.5px; } .link:hover svg { transform: translateX(3px); } }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- header ---------- */
.site-header { position: sticky; top: var(--admin-h); z-index: 50; height: var(--header-h); background: transparent; border-bottom: 1px solid transparent; transition: background-color 240ms ease, border-color 240ms ease; }
.site-header.is-stuck { background: rgba(18, 16, 14, .86); border-color: var(--line); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 50px; height: 50px; transition: transform 700ms var(--ease-out); }
.brand-word { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: .02em; line-height: .85; text-transform: uppercase; }
.brand-word small { display: block; font-size: 12px; letter-spacing: .3em; color: var(--gold); font-weight: 700; margin-top: 4px; }
@media (hover: hover) and (pointer: fine) { .brand:hover img { transform: rotate(-12deg) scale(1.04); } }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ivory-2); position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 260ms var(--ease-out); }
.nav a[aria-current="page"] { color: var(--ivory); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav a:not(.btn):hover { color: var(--ivory); } .nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; } }
.nav .btn { min-height: 46px; padding: 0 20px; font-size: 15px; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; border-radius: 12px; position: relative; margin-right: -10px; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ivory); transition: transform 240ms var(--ease-out); }
.menu-toggle span:nth-child(1) { top: 19px; } .menu-toggle span:nth-child(2) { top: 28px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .brand img { width: 42px; height: 42px; }
  .brand-word { font-size: 26px; }
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: calc(var(--header-h) + var(--admin-h)) 0 0 0; z-index: 49; background: var(--bg); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 32px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 200ms var(--ease-out), transform 260ms var(--ease-out), visibility 0s linear 260ms; overflow-y: auto; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 200ms var(--ease-out), transform 260ms var(--ease-out); }
  .nav a:not(.btn) { font-family: var(--font-display); text-transform: uppercase; font-size: 54px; font-weight: 800; color: var(--ivory); padding: 10px 0 6px; border-bottom: 1px solid var(--line); line-height: 1; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 24px; min-height: 58px; font-size: 17px; }
  body.nav-open { overflow: hidden; }
}

/* language switch */
.lang-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line-strong); border-radius: 999px; gap: 2px; }
.nav .lang-switch a { min-width: 38px; height: 34px; padding: 0 8px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-decoration: none; color: var(--ivory-2); transition: background-color 160ms ease, color 160ms ease; font-family: var(--font-body); text-transform: none; border: 0; line-height: 1; }
.nav .lang-switch a::after { display: none; }
.nav .lang-switch a[aria-current="true"] { background: var(--ivory); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .nav .lang-switch a:not([aria-current="true"]):hover { background: var(--bg-3); color: var(--ivory); } }
@media (max-width: 960px) { .nav .lang-switch { align-self: flex-start; margin-top: 24px; padding: 4px; } .nav .lang-switch a { min-width: 58px; height: 46px; font-size: 15px; padding: 0 12px; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(84px, 11vw, 160px); position: relative; }
.section--alt { background: var(--bg-2); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p { max-width: 30em; color: var(--ivory-2); }
@media (max-width: 640px) { .section-head { flex-direction: column; align-items: flex-start; gap: 18px; } }

/* photos */
.ph { position: relative; overflow: hidden; background: var(--bg-3); border-radius: var(--radius); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease-out); }
a.ph, .ph-link { display: block; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { a.ph:hover img, .ph-link:hover .ph img { transform: scale(1.04); } }
.js .reveal { clip-path: inset(0 0 100% 0); }
.js .reveal.is-in { clip-path: inset(0 0 0 0); transition: clip-path 1000ms var(--ease-in-out); }
.js .reveal img { transform: scale(1.12); }
.js .reveal.is-in img { transform: scale(1); transition: transform 1400ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .js a.reveal.is-in:hover img, .js .ph-link:hover .reveal.is-in img { transform: scale(1.04); transition-duration: 800ms; } }

/* ---------- footer ---------- */
.site-footer { background: #0c0b09; color: var(--ivory-2); padding: clamp(72px, 9vw, 120px) 0 104px; border-top: 1px solid var(--line); }
.site-footer a { color: inherit; text-decoration: none; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.footer-brand { display: flex; gap: 20px; align-items: center; }
.footer-brand img { width: 96px; height: 96px; flex: none; }
.footer-top h2 { font-size: clamp(44px, 4.4vw, 64px); color: var(--ivory); }
.footer-top h3 { font-family: var(--font-body); text-transform: none; font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--gold); margin-bottom: 16px; line-height: 1.4; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-top li a { display: inline-block; padding: 2px 0; transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .footer-top li a:hover { color: var(--ivory); } }
.footer-lede { margin-top: 16px; color: var(--muted); max-width: 24em; }
.hours { display: grid; grid-template-columns: auto auto; gap: 6px 20px; justify-content: start; font-variant-numeric: tabular-nums; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; padding-top: 24px; font-size: 14px; color: var(--muted); }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(243, 234, 217, .25); }
.staff-login { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--ivory-2); font-size: 14px; transition: border-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out); }
.staff-login:active { transform: scale(0.97); }
.staff-login .icon { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { .staff-login:hover { border-color: var(--ivory); color: var(--ivory); } }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } .footer-brand img { width: 72px; height: 72px; } }

/* ---------- page heads ---------- */
.page-head { padding: clamp(40px, 6vw, 88px) 0 clamp(36px, 5vw, 56px); position: relative; }
.page-head h1 { font-size: clamp(72px, 12vw, 176px); }
.page-head .lede { margin-top: 22px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ivory); }

/* ---------- forms ---------- */
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 12px 16px; background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); transition: border-color 160ms ease, box-shadow 160ms ease; font-size: 16px; color: var(--ivory); }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23d8ccb7' stroke-width='1.6'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.85); }
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230, 166, 60, .2); }
.field .err { color: #ff8d6b; font-size: 14px; }
.field[data-invalid] input, .field[data-invalid] select { border-color: #ff8d6b; }
.hint { font-size: 14px; color: var(--muted); }

/* ---------- modal ---------- */
dialog.modal { border: 1px solid var(--line); padding: 0; border-radius: 22px; width: min(420px, calc(100% - 32px)); background: var(--bg-2); color: var(--ivory); box-shadow: var(--shadow-2); opacity: 0; transform: scale(0.96); transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), overlay 220ms allow-discrete, display 220ms allow-discrete; }
dialog.modal[open] { opacity: 1; transform: none; }
@starting-style { dialog.modal[open] { opacity: 0; transform: scale(0.96); } }
dialog.modal::backdrop { background: rgba(0, 0, 0, 0); transition: background-color 220ms ease, overlay 220ms allow-discrete, display 220ms allow-discrete; }
dialog.modal[open]::backdrop { background: rgba(0, 0, 0, .65); }
@starting-style { dialog.modal[open]::backdrop { background: rgba(0, 0, 0, 0); } }
.modal-body { padding: 32px; display: grid; gap: 20px; }
.modal-body h2 { font-size: 44px; }
.modal-actions { display: flex; gap: 12px; }
.modal-actions .btn { flex: 1; }
.shake { animation: shake 360ms var(--ease-out); }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }

/* ---------- admin bar ---------- */
.admin-bar { position: fixed; inset: 0 0 auto 0; height: 44px; z-index: 60; background: var(--gold); color: var(--ink); font-size: 14px; transform: translateY(-100%); transition: transform 300ms var(--ease-drawer); }
.is-admin .admin-bar { transform: none; }
.is-admin { --admin-h: 44px; }
.is-admin body { padding-top: 44px; }
.admin-bar .wrap { height: 100%; display: flex; align-items: center; gap: 20px; }
.admin-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.admin-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #1d7a45; box-shadow: 0 0 0 3px rgba(29, 122, 69, .25); }
.admin-bar nav { display: flex; gap: 4px; margin-left: auto; }
.admin-bar a, .admin-bar button { color: var(--ink); text-decoration: none; background: transparent; border: 0; padding: 0 12px; height: 32px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; transition: background-color 160ms ease; }
.admin-bar a:hover, .admin-bar button:hover { background: rgba(0, 0, 0, .1); }
@media (max-width: 1000px) { .admin-bar .hide-sm { display: none; } }
.show-xs { display: none; }
@media (max-width: 420px) { .hide-xs { display: none; } .show-xs { display: inline; } .admin-bar .wrap { gap: 10px; } .admin-bar a, .admin-bar button { padding: 0 8px; } }

/* ---------- toast ---------- */
.toast-host { position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translateX(-50%); display: grid; gap: 8px; pointer-events: none; }
.toast { background: var(--ivory); color: var(--ink); padding: 12px 18px; border-radius: 12px; font-size: 15px; font-weight: 500; box-shadow: var(--shadow-2); transition: opacity 400ms ease, transform 400ms ease; }
@starting-style { .toast { opacity: 0; transform: translateY(100%); } }
.toast.is-out { opacity: 0; transform: translateY(8px); transition-duration: 200ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .js .reveal { clip-path: none; } .js .reveal img { transform: none; }
}

html,body{overflow-x:clip}

.footer-credit { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid rgba(243, 234, 217, .12); font-size: 14px; color: var(--muted); text-align: center; }
.footer-credit .fc-w { color: var(--ivory, #f3ead9); font-weight: 600; }
.footer-credit .fc-l { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-top: 6px; }
.footer-credit a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
/* ================= HOME: hero poster + dastarkhan ================= */
.hero { position: relative; min-height: calc(100svh - var(--header-h) - var(--admin-h)); padding: clamp(8px, 2vw, 24px) 0 clamp(48px, 6vw, 80px); overflow: clip; isolation: isolate; }
.hero::before { /* fire glow behind the tray */
  content: ""; position: absolute; z-index: -1; width: 70vmax; height: 70vmax; right: -18vmax; top: 4vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 120, 40, .26) 0%, rgba(217, 84, 44, .1) 35%, transparent 65%);
  animation: glow 7s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: scale(1.06) translate(-2%, 1%); opacity: .85; } }
.hero-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); grid-template-rows: auto 1fr; column-gap: clamp(24px, 4vw, 64px); align-items: start; }
.hero h1 { grid-column: 1 / -1; grid-row: 1; position: relative; z-index: 1; font-size: clamp(104px, 18.5vw, 292px); line-height: .78; letter-spacing: -.005em; font-weight: 900; }
.hero h1 .line { display: block; overflow: hidden; padding-top: .04em; }
.hero h1 .line > span { display: inline-block; }
.hero h1 .line--2 { padding-left: 7vw; }
.hero h1 .line--2 > span { color: transparent; -webkit-text-stroke: 1.5px var(--ivory); }
.hero h1 .h1-sub { display: block; font-family: var(--font-body); text-transform: none; font-weight: 500; font-size: clamp(15px, 1.25vw, 18px); letter-spacing: .02em; line-height: 1.4; color: var(--gold); margin-top: 18px; padding-left: 4px; }
.hero-copy { grid-column: 1; grid-row: 2; position: relative; z-index: 3; padding-top: clamp(24px, 3vw, 40px); }
.hero-copy .tagline { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: clamp(30px, 3vw, 44px); line-height: 1; color: var(--ivory); text-transform: none; }
.hero .lede { margin-top: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ivory-2); max-width: 560px; }
.hero-facts span, .hero-facts a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.hero-facts .icon { width: 18px; height: 18px; color: var(--gold); }
.hero-facts .star { color: var(--gold); }

.table-stage { grid-column: 2; grid-row: 1 / span 2; position: relative; z-index: 2; aspect-ratio: 1; width: 100%; max-width: 640px; justify-self: end; margin-top: clamp(40px, 9vw, 150px); }
.table { position: absolute; inset: 0; will-change: transform; }
.table-disc { /* brass lagan */
  position: absolute; inset: 2%; border-radius: 50%;
  background:
    radial-gradient(circle closest-side, #2b2219 0 70%, #3b2d1d 70.4% 73%, #241c14 73.4% 100%);
  box-shadow: inset 0 0 0 1px rgba(242, 192, 107, .25), inset 0 0 60px rgba(0, 0, 0, .6), 0 50px 90px -30px rgba(0, 0, 0, .9), 0 0 0 10px rgba(230, 166, 60, .05);
}
.table-disc::before { content: ""; position: absolute; inset: 3%; border-radius: 50%; background: repeating-conic-gradient(from 0deg, var(--gold) 0 1.6deg, transparent 1.6deg 5deg); -webkit-mask: radial-gradient(circle closest-side, transparent 0 calc(100% - 6px), #000 calc(100% - 5px) calc(100% - 1px), transparent 100%); mask: radial-gradient(circle closest-side, transparent 0 calc(100% - 6px), #000 calc(100% - 5px) calc(100% - 1px), transparent 100%); opacity: .55; }
.table-disc::after { content: ""; position: absolute; inset: 8%; border-radius: 50%; border: 1px solid rgba(242, 192, 107, .22); }
.orbit { position: absolute; inset: 0; animation: spin 90s linear infinite; animation-play-state: var(--spin-state, running); }
.orbit .plate { animation: spin 90s linear infinite reverse; animation-play-state: var(--spin-state, running); }
.is-paused .orbit { --spin-state: paused; }
.is-paused .steam span, .is-paused .marquee-track { animation-play-state: paused; }
@keyframes spin { to { transform: rotate(360deg); } }
.plate { position: absolute; width: 28%; aspect-ratio: 1; border-radius: 50%; left: calc(50% + var(--x) - 14%); top: calc(50% + var(--y) - 14%); border: 0; padding: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.plate-inner { position: absolute; inset: 0; border-radius: 50%; background: #f7f1e6; box-shadow: 0 2px 3px rgba(0, 0, 0, .35), 0 22px 34px -14px rgba(0, 0, 0, .85); transition: transform 320ms var(--spring-soft), box-shadow 320ms var(--ease-out); }
.plate-inner::before { content: ""; position: absolute; inset: 3%; border-radius: 50%; background: repeating-conic-gradient(from 3deg, var(--cobalt) 0 5deg, transparent 5deg 15deg); -webkit-mask: radial-gradient(circle closest-side, transparent 0 calc(100% - 5px), #000 calc(100% - 4px) calc(100% - 1px), transparent 100%); mask: radial-gradient(circle closest-side, transparent 0 calc(100% - 5px), #000 calc(100% - 4px) calc(100% - 1px), transparent 100%); opacity: .8; }
.plate-inner img { position: absolute; inset: 9%; width: 82%; height: 82%; border-radius: 50%; object-fit: cover; }
.plate-inner::after { content: ""; position: absolute; inset: 9%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08), inset 0 8px 16px rgba(0, 0, 0, .18); }
.plate--center { width: 30%; left: 35%; top: 35%; }
@media (hover: hover) and (pointer: fine) { .plate:hover .plate-inner, .plate:focus-visible .plate-inner { transform: scale(1.08) translateY(-2%); box-shadow: 0 2px 4px rgba(0, 0, 0, .4), 0 36px 50px -18px rgba(0, 0, 0, .9); } }
.plate:focus-visible { outline: none; }
.plate:focus-visible .plate-inner { outline: 2px solid var(--gold); outline-offset: 4px; }
.steam { position: absolute; left: 50%; top: 31%; width: 18%; height: 16%; transform: translateX(-50%); pointer-events: none; z-index: 3; }
.steam span { position: absolute; bottom: 0; width: 22%; height: 100%; border-radius: 50%; background: radial-gradient(ellipse at 50% 70%, rgba(255, 245, 230, .55), rgba(255, 255, 255, 0) 65%); filter: blur(4px); opacity: 0; animation: steam 3.6s var(--ease-out) infinite; }
.steam span:nth-child(1) { left: 12%; animation-delay: .2s; } .steam span:nth-child(2) { left: 40%; animation-delay: 1.4s; } .steam span:nth-child(3) { left: 66%; animation-delay: 2.5s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(30%) scale(.7); } 30% { opacity: .9; } 100% { opacity: 0; transform: translateY(-70%) scale(1.25); } }
.dish-caption { position: absolute; right: 2%; bottom: 0; z-index: 4; display: flex; align-items: center; gap: 10px; background: rgba(26, 23, 20, .9); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 6px 6px 18px; box-shadow: var(--shadow-1); font-size: 15px; backdrop-filter: blur(8px); }
.dish-caption-text { min-width: 15ch; transition: filter 200ms ease, opacity 200ms ease; }
.dish-caption-text b { font-weight: 700; color: var(--ivory); }
.dish-caption-text.is-swapping { filter: blur(3px); opacity: 0; }
.spin-toggle { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg-3); color: var(--ivory); display: grid; place-items: center; transition: transform 160ms var(--ease-out), background-color 160ms ease; }
.spin-toggle:active { transform: scale(0.94); }
.spin-toggle .icon { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { .spin-toggle:hover { background: #332c25; } }
.js .hero [data-enter] { opacity: 0; }
.js .hero .line > span { transform: translateY(105%); }
.js .table-disc { opacity: 0; transform: scale(.94); }
.js .plate-inner { opacity: 0; }
.entered .hero [data-enter], .entered .hero .line > span, .entered .table-disc, .entered .plate-inner { opacity: 1; transform: none; }

/* marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; background: var(--bg); }
.marquee-track { display: flex; width: max-content; animation: marquee 52s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.marquee-group span { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: clamp(34px, 3.6vw, 52px); white-space: nowrap; color: var(--gold); text-transform: uppercase; }
.marquee-group svg { width: 22px; height: 22px; color: var(--ivory-2); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* category list with floating photo preview */
.cats { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.cat-row a { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 24px; padding: clamp(14px, 1.6vw, 22px) 0; border-bottom: 1px solid var(--line); text-decoration: none; position: relative; }
.cat-row .cat-name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(48px, 7.4vw, 112px); line-height: .9; transition: transform 400ms var(--ease-out), color 200ms ease; }
.cat-row .cat-count { font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cat-row .cat-arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background-color 200ms ease, border-color 200ms ease, transform 300ms var(--ease-out); }
.cat-row .cat-arrow .icon { width: 20px; height: 20px; }
.cat-thumb { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cats:hover .cat-row a .cat-name { color: var(--muted); }
  .cats .cat-row a:hover .cat-name { color: var(--gold); transform: translateX(14px); }
  .cat-row a:hover .cat-arrow { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: rotate(-45deg); }
}
.cat-preview { position: fixed; left: 0; top: 0; z-index: 30; width: 300px; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity 200ms ease, transform 300ms var(--ease-out); box-shadow: var(--shadow-2); }
.cat-preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cat-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 260ms ease; }
.cat-preview img.is-on { opacity: 1; }
@media (hover: none), (pointer: coarse) {
  .cat-preview { display: none; }
  .cat-row a { grid-template-columns: auto minmax(0, 1fr) auto; }
  .cat-thumb { display: block; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; grid-row: 1; grid-column: 1; }
  .cat-row .cat-name { grid-column: 2; font-size: clamp(40px, 11vw, 64px); }
  .cat-row .cat-count { display: none; }
  .cat-row .cat-arrow { grid-column: 3; width: 44px; height: 44px; }
}

/* signature dishes */
.sig-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.sig-main { grid-column: span 7; }
.sig-side { grid-column: span 5; display: grid; gap: 24px; align-content: start; }
.dish-card { display: block; text-decoration: none; }
.dish-card .ph { aspect-ratio: 4 / 3; }
.sig-main .ph { aspect-ratio: 1 / 1; }
.dish-card-body { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 16px; }
.dish-card h3 { font-size: clamp(30px, 2.8vw, 42px); transition: color 160ms ease; }
.dish-card p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--gold); }
@media (hover: hover) and (pointer: fine) { .dish-card:hover h3 { color: var(--gold); } .dish-card:hover .ph img { transform: scale(1.04); } }

/* story */
.story { background: radial-gradient(ellipse at 20% 0%, rgba(230, 120, 40, .14), transparent 60%), var(--bg-2); border-block: 1px solid var(--line); }
.story .wrap { display: grid; gap: 40px; }
.story-text { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(44px, 6.4vw, 100px); line-height: .92; max-width: 15em; }
.story-text .w { transition: opacity 300ms ease, color 300ms ease; opacity: .16; }
.story-text .w.on { opacity: 1; }
.no-js .story-text .w, .story-text.static .w { opacity: 1; }
.story-text .pill { display: inline-block; width: 1.4em; height: .78em; border-radius: 999px; vertical-align: -.02em; overflow: hidden; margin: 0 .06em; background: var(--bg-3); }
.story-text .pill img { width: 100%; height: 100%; object-fit: cover; }
.story-text .accent { color: var(--gold); font-style: italic; }
.story-foot { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; color: var(--ivory-2); font-size: 16px; }

/* gallery (the restaurant's own dark-marble shots) */
.gallery-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; margin-bottom: 48px; }
.gallery-head p { color: var(--ivory-2); }
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.strip--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.strip .ph { aspect-ratio: 3 / 4; }
.strip .ph:nth-child(2) { margin-top: 48px; }
.strip .ph:nth-child(4) { margin-top: 24px; }
.strip figcaption, .ph .ph-label { position: absolute; left: 14px; bottom: 12px; font-family: var(--font-display); font-weight: 700; font-size: 26px; text-transform: uppercase; text-shadow: 0 2px 12px rgba(0, 0, 0, .7); }

/* AI teaser */
.ai-teaser .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ai-teaser .lede { margin: 22px 0 32px; }
.chat-preview { background: var(--bg); border: 1px solid var(--line); border-radius: 26px; padding: 24px; box-shadow: var(--shadow-2); display: grid; gap: 12px; min-height: 440px; align-content: start; }
.chat-preview-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.chat-preview-head b { display: block; font-size: 16px; }
.chat-preview-head small { color: var(--muted); font-size: 13px; }

/* visit */
.visit-moment { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(64px, 10vw, 156px); line-height: .84; margin: 22px 0 48px; }
.visit-moment a { text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 92% / 0 4px no-repeat; transition: background-size 500ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .visit-moment a:hover { background-size: 100% 4px; } }
.visit-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.visit-panel { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); display: grid; gap: 32px; align-content: start; }
.visit-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.visit-cols h3 { font-family: var(--font-body); text-transform: none; font-size: 13px; letter-spacing: .1em; color: var(--gold); font-weight: 600; margin-bottom: 12px; }
.visit-addr { font-size: 19px; line-height: 1.5; }
.visit-addr a { text-decoration: none; }
.visit-rows { display: grid; border-top: 1px solid var(--line); }
.visit-rows div { display: flex; align-items: center; gap: 12px; min-height: 54px; border-bottom: 1px solid var(--line); font-size: 16px; }
.visit-rows .icon { color: var(--gold); }
.visit-rows a { text-decoration: none; }
.visit-photo { aspect-ratio: 1; }

/* close band */
.close-band { background: var(--gold); color: var(--ink); }
.close-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.close-band h2 { color: var(--ink); max-width: 13em; }
.close-band p { margin-top: 18px; color: #4a3712; max-width: 32em; font-size: 18px; }

@media (max-width: 1000px) {
  .hero-stage { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(92px, 25vw, 220px); }
  .hero h1 .line--2 { padding-left: 0; }
  .table-stage { grid-column: 1; grid-row: 2; justify-self: center; max-width: 560px; margin-top: 8px; }
  .hero-copy { grid-row: 3; }
  .sig-main, .sig-side { grid-column: 1 / -1; }
  .sig-side { grid-template-columns: 1fr 1fr; }
  .ai-teaser .wrap, .gallery-head, .visit-split, .close-band .wrap { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip .ph:nth-child(n) { margin-top: 0; }
}
@media (max-width: 600px) {
  .sig-side { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .visit-cols { grid-template-columns: 1fr; }
  .dish-caption { position: relative; right: auto; bottom: auto; margin: 14px auto 0; width: max-content; max-width: 100%; }
  .table-stage { display: flex; flex-direction: column; aspect-ratio: auto; }
  .table-stage .table { position: relative; aspect-ratio: 1; inset: auto; }
  .strip { gap: 12px; }
  .close-band .btn { width: 100%; }
}

/* ================= MENU PAGE ================= */
.menu-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: end; }
.menu-head .lede { margin-top: 18px; }
.menu-search { position: relative; width: min(380px, 100%); }
.menu-search input { width: 100%; height: 54px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg-2); padding: 0 20px 0 50px; font-size: 16px; color: var(--ivory); }
.menu-search input::placeholder { color: var(--muted); }
.menu-search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230, 166, 60, .2); }
.menu-search .icon { position: absolute; left: 18px; top: 17px; color: var(--muted); }
.menu-bar { position: sticky; top: calc(var(--header-h) + var(--admin-h)); z-index: 40; background: rgba(18, 16, 14, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.menu-bar .wrap { display: flex; gap: 20px; align-items: center; }
.cat-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; flex: 1; position: relative; }
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav a { flex: none; text-decoration: none; padding: 0 16px; height: 42px; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ivory-2); position: relative; z-index: 1; transition: color 200ms ease; }
.cat-nav a small { font-size: 12px; color: var(--muted); transition: color 200ms ease; }
.cat-nav a.is-active { color: var(--ink); }
.cat-nav a.is-active small { color: rgba(21, 18, 15, .6); }
.cat-pill { position: absolute; top: 10px; left: 0; height: 42px; border-radius: 999px; background: var(--gold); z-index: 0; transition: transform 300ms var(--ease-out), width 300ms var(--ease-out); pointer-events: none; }
.menu-cat { padding: clamp(56px, 7vw, 96px) 0 0; }
.menu-cat:last-of-type { padding-bottom: clamp(72px, 9vw, 120px); }
.menu-cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 20px; margin-bottom: 28px; border-bottom: 1px solid var(--line-strong); }
.menu-cat-head h2 { font-size: clamp(56px, 7vw, 104px); }
.menu-cat-head span { color: var(--muted); font-size: 15px; }
.menu-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.menu-item { display: flex; flex-direction: column; transition: opacity 220ms ease, transform 220ms var(--ease-out); position: relative; }
.menu-item .dish-ph { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--bg-3); position: relative; }
.menu-item .dish-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.menu-item .dish-ph--empty { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #2a241e, var(--bg-2)); }
.menu-item .dish-ph--empty img { width: 42%; height: auto; opacity: .35; object-fit: contain; }
@media (hover: hover) and (pointer: fine) { .menu-item:hover .dish-ph img { transform: scale(1.05); } .menu-item:hover .dish-ph--empty img { transform: none; } }
.menu-item-top { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-top: 14px; }
.menu-item h3 { font-size: 30px; font-weight: 700; }
.menu-item .price { font-size: 17px; }
.menu-item p { color: var(--muted); font-size: 15px; margin-top: 6px; line-height: 1.5; }
.menu-item .meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--ivory-2); margin-top: 10px; }
.menu-item .unit { display: inline-flex; height: 26px; align-items: center; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.tag--hit { background: rgba(230, 166, 60, .16); color: var(--gold-2); }
.tag--spicy { background: rgba(217, 84, 44, .18); color: #ff9a76; }
.tag--veg { background: rgba(120, 170, 90, .18); color: #a9d38e; }
.tag--stop { background: var(--ivory); color: var(--ink); }
.menu-item.is-stop .dish-ph, .menu-item.is-stop h3, .menu-item.is-stop .price, .menu-item.is-stop p { opacity: .4; }
.menu-item.is-hidden { display: none; }
.menu-item.is-entering { opacity: 0; transform: translateY(8px); }
.price--na { font-weight: 500; color: var(--muted) !important; font-size: 14px !important; }
.menu-cat.is-empty { display: none; }
.menu-empty { padding: 64px 0; text-align: center; color: var(--muted); font-size: 18px; }
.menu-note { font-size: 14px; color: var(--muted); margin-top: 32px; }
.edit-btn { display: none; }
.is-admin .edit-btn { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 8px; border: 1px dashed var(--gold); background: rgba(230, 166, 60, .12); color: var(--gold-2); font-size: 13px; font-weight: 600; }
.inline-edit { background: var(--bg-3) !important; }
.inline-edit input[type=number] { background: var(--bg) !important; color: var(--ivory); }
@media (max-width: 1000px) { .menu-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .menu-head { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .menu-list { grid-template-columns: 1fr; gap: 0; }
  .menu-item { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 4px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .menu-item .dish-ph { grid-row: 1 / span 3; aspect-ratio: 1; border-radius: 12px; }
  .menu-item-top { margin-top: 0; flex-direction: column; gap: 2px; }
  .menu-item h3 { font-size: 24px; }
  .menu-item p { margin-top: 0; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .menu-item .meta { margin-top: 4px; }
  .menu-bar .wrap { gap: 0; }
}

/* ================= ABOUT ================= */
.about-pair { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.about-pair .ph:nth-child(1) { grid-column: 1 / span 7; aspect-ratio: 4 / 3; }
.about-pair .ph:nth-child(2) { grid-column: 8 / span 5; aspect-ratio: 4 / 5; margin-top: 15%; }
.prose { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px; }
.prose-body { display: grid; gap: 20px; font-size: 19px; color: var(--ivory-2); max-width: 36em; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; border-top: 1px solid var(--line-strong); padding-top: 40px; margin-top: 64px; }
.principles h3 { margin-bottom: 12px; color: var(--gold); }
.principles p { color: var(--ivory-2); }
.hall { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hall .ph { aspect-ratio: 4 / 5; }
.hall-facts { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.hall-facts li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hall-facts li span:last-child { font-weight: 600; text-align: right; color: var(--ivory); }
.hall-facts li span:first-child { color: var(--muted); }
.credits { font-size: 14px; color: var(--muted); }
.credits ul { margin: 16px 0 0; padding-left: 18px; display: grid; gap: 6px; }
@media (max-width: 900px) { .prose, .principles, .hall { grid-template-columns: 1fr; } .about-pair .ph:nth-child(1), .about-pair .ph:nth-child(2) { grid-column: 1 / -1; margin-top: 0; } }

/* ================= CONTACT ================= */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.booking { background: var(--bg-2); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 48px); }
.booking h2 { font-size: clamp(44px, 4.4vw, 64px); margin-bottom: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.form-grid .full { grid-column: 1 / -1; }
.guests { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg); height: 54px; overflow: hidden; }
.guests button { width: 54px; height: 100%; border: 0; background: transparent; font-size: 22px; color: var(--ivory); transition: background-color 160ms ease; }
.guests button:hover { background: var(--bg-3); }
.guests output { flex: 1; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.form-success { display: none; text-align: center; padding: 40px 0 16px; }
.form-success.is-on { display: grid; gap: 16px; justify-items: center; }
.check-draw { width: 72px; height: 72px; }
.check-draw circle { stroke: var(--gold); stroke-width: 2; fill: none; stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 600ms var(--ease-out) forwards; }
.check-draw path { stroke: var(--gold); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 360ms var(--ease-out) 480ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.info-panel { display: grid; gap: 28px; }
.info-block h3 { font-family: var(--font-body); text-transform: none; font-size: 13px; letter-spacing: .1em; color: var(--gold); font-weight: 600; margin-bottom: 10px; }
.info-block p, .info-block a { font-size: 19px; text-decoration: none; }
.faq { margin-top: clamp(64px, 8vw, 112px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: clamp(28px, 2.6vw, 38px); line-height: 1; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform 220ms var(--ease-out); flex: none; color: var(--gold); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--ivory-2); max-width: 44em; }
@media (max-width: 900px) { .contact-grid, .form-grid { grid-template-columns: 1fr; } }

/* ================= AI ASSISTANT WIDGET ================= */
.ai-launch { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: inline-flex; align-items: center; gap: 8px; height: 58px; padding: 0 22px 0 6px; border-radius: 999px; border: 1px solid rgba(242, 192, 107, .4); background: var(--ivory); color: var(--ink); font-weight: 600; font-size: 15px; box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .8); transition: transform 160ms var(--ease-out), opacity 200ms var(--ease-out), background-color 200ms ease; }
.ai-launch:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .ai-launch:hover { background: #fff; } }
.ai-open .ai-launch { opacity: 0; transform: scale(0.9); pointer-events: none; }
.ai-mascot { width: 56px; height: 56px; margin-top: -16px; flex: none; }
.ai-ava { width: 38px; height: 38px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; color: var(--ink); flex: none; position: relative; }
.ai-ava svg { width: 60%; height: 60%; }
.ai-ava--mascot { background: #3a2f22; overflow: visible; }
.ai-ava--mascot .mascot { width: 118%; height: 118%; margin-top: -14%; }
.ai-panel { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: min(400px, calc(100vw - 24px)); height: min(640px, calc(100svh - 40px - var(--admin-h))); background: var(--bg-2); color: var(--ivory); border-radius: 26px; border: 1px solid var(--line-strong); box-shadow: 0 2px 6px rgba(0, 0, 0, .4), 0 40px 90px -24px rgba(0, 0, 0, .9); display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; overflow: hidden; transform-origin: calc(100% - 40px) calc(100% - 28px); opacity: 0; transform: scale(0.9) translateY(8px); visibility: hidden; pointer-events: none; transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s linear 180ms; }
.ai-open .ai-panel { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: opacity 240ms var(--ease-out), transform 360ms var(--spring-soft); }
.ai-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px 18px; border-bottom: 1px solid var(--line); }
.ai-head b { display: block; font-size: 16px; }
.ai-status { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.ai-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4cc27f; }
.ai-close { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--ivory); display: grid; place-items: center; transition: background-color 160ms ease, transform 160ms var(--ease-out); }
.ai-close:hover { background: var(--bg-3); }
.ai-close:active { transform: scale(0.94); }
.ai-msgs { overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 11px 15px; border-radius: 18px; font-size: 15px; line-height: 1.5; transform-origin: left bottom; }
.msg--bot { background: var(--bg-3); align-self: flex-start; border-bottom-left-radius: 6px; }
.msg--me { background: var(--gold); color: var(--ink); align-self: flex-end; border-bottom-right-radius: 6px; transform-origin: right bottom; }
.msg.pop { animation: pop 320ms var(--spring-soft) both; }
@keyframes pop { from { opacity: 0; transform: scale(.92) translateY(6px); } }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: dot 1.1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
.caret::after { content: ""; display: inline-block; width: 2px; height: 1em; background: currentColor; vertical-align: -.15em; margin-left: 2px; animation: blink 900ms steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ai-cards { display: grid; gap: 8px; align-self: stretch; }
.ai-card { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 8px 12px 8px 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; animation: pop 360ms var(--spring-soft) both; transition: transform 200ms var(--ease-out), border-color 160ms ease; }
.ai-card img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.ai-card b { display: block; font-size: 15px; }
.ai-card small { color: var(--muted); font-size: 13px; }
.ai-card .price { font-size: 14px; }
.ai-card-ph { width: 56px; height: 56px; border-radius: 10px; background: var(--bg-3); color: var(--gold); display: grid; place-items: center; }
.ai-card-ph svg { width: 26px; height: 26px; }
@media (hover: hover) and (pointer: fine) { .ai-card:hover { transform: translateY(-2px); border-color: var(--line-strong); } }
.ai-chips { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 12px; scrollbar-width: none; }
.ai-chips::-webkit-scrollbar { display: none; }
.ai-chips button { flex: none; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ivory); font-size: 14px; font-weight: 500; transition: background-color 160ms ease, transform 160ms var(--ease-out), border-color 160ms ease; animation: pop 320ms var(--spring-soft) both; }
.ai-chips button:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .ai-chips button:hover { border-color: var(--gold); color: var(--gold-2); } }
.ai-form { display: flex; gap: 8px; padding: 12px 12px 8px; border-top: 1px solid var(--line); }
.ai-form input { flex: 1; min-width: 0; height: 48px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg); padding: 0 18px; font-size: 15px; color: var(--ivory); }
@media (max-width: 520px) { .ai-form input { font-size: 16px; } } /* 16px: iPhone does not zoom the page on focus */
.ai-form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230, 166, 60, .2); }
.ai-send { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--gold); color: var(--ink); display: grid; place-items: center; transition: transform 160ms var(--ease-out); }
.ai-send:active { transform: scale(0.92); }
.ai-foot { font-size: 12px; color: var(--muted); text-align: center; padding: 0 16px 10px; }
.ai-hello { position: fixed; right: 20px; bottom: 90px; z-index: 81; max-width: 260px; background: var(--ivory); color: var(--ink); border-radius: 18px 18px 6px 18px; box-shadow: var(--shadow-2); transform-origin: calc(100% - 30px) 100%; animation: hello-in 520ms var(--spring) both; }
.ai-hello.is-out { animation: hello-out 200ms var(--ease-out) both; }
@keyframes hello-in { from { opacity: 0; transform: scale(.6) translateY(10px); } }
@keyframes hello-out { to { opacity: 0; transform: scale(.9) translateY(6px); } }
.ai-hello-text { border: 0; background: none; text-align: left; padding: 14px 40px 14px 16px; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.ai-hello-close { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; color: #6b5f50; }
.ai-hello-close .icon { width: 16px; height: 16px; }
.ai-open .ai-hello { display: none; }
@media (max-width: 520px) {
  .ai-launch { right: 12px; bottom: 12px; width: 62px; height: 62px; padding: 0; justify-content: center; }
  .ai-launch .ai-launch-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ai-mascot { width: 54px; height: 54px; margin: -6px 0 0; }
  .ai-panel { right: 0; bottom: 0; width: 100vw; height: calc(100svh - var(--admin-h)); border-radius: 22px 22px 0 0; transform-origin: 50% 100%; transform: translateY(24px); }
  .ai-open .ai-panel { transition: opacity 200ms var(--ease-out), transform 420ms var(--ease-drawer); }
  .ai-hello { right: 12px; bottom: 86px; max-width: calc(100vw - 96px); }
}

/* mascot */
.mascot { width: 100%; height: 100%; overflow: visible; display: block; }
.mascot .m-all { transform-box: fill-box; transform-origin: 50% 100%; animation: m-bob 3.2s ease-in-out infinite; }
.mascot .m-shadow { transform-box: fill-box; transform-origin: center; animation: m-shadow 3.2s ease-in-out infinite; }
.mascot .m-eye { transform-box: fill-box; transform-origin: center; animation: m-blink 4.8s infinite; }
.mascot .m-cap { transform-box: fill-box; transform-origin: 50% 100%; animation: m-cap 3.2s ease-in-out infinite; }
.mascot .m-mouth { opacity: 0; transform-box: fill-box; transform-origin: 50% 0; }
.mascot .m-eyes { transition: transform 300ms var(--ease-out); }
@keyframes m-bob { 50% { transform: translateY(-1.6px) scaleY(1.015); } }
@keyframes m-shadow { 50% { transform: scaleX(.86); opacity: .7; } }
@keyframes m-blink { 0%, 90%, 100% { transform: none; } 93% { transform: scaleY(.08); } 96% { transform: none; } }
@keyframes m-cap { 50% { transform: rotate(-4deg); } }
.is-thinking .mascot .m-eyes { animation: m-look 1.4s var(--ease-in-out) infinite; }
@keyframes m-look { 0%, 100% { transform: translateX(-1.6px) translateY(-.8px); } 50% { transform: translateX(1.6px) translateY(-.8px); } }
.is-talking .mascot .m-smile { opacity: 0; }
.is-talking .mascot .m-mouth { opacity: 1; animation: m-talk 220ms ease-in-out infinite alternate; }
@keyframes m-talk { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
.m-wave .mascot .m-all { animation: m-wave 900ms var(--spring) 1, m-bob 3.2s ease-in-out .9s infinite; }
@keyframes m-wave { 0% { transform: rotate(0); } 20% { transform: rotate(-12deg); } 45% { transform: rotate(10deg); } 70% { transform: rotate(-5deg); } 100% { transform: rotate(0); } }
@media (hover: hover) and (pointer: fine) { .ai-launch:hover .mascot .m-all { animation: m-wave 900ms var(--spring) 1, m-bob 3.2s ease-in-out .9s infinite; } }

/* intro */
.intro { position: fixed; inset: 0; z-index: 500; background: var(--bg); display: grid; place-items: center; cursor: pointer; }
.no-intro .intro, .no-js .intro { display: none; }
.intro-inner { display: grid; justify-items: center; gap: 14px; text-align: center; }
.intro-logo { width: 150px; height: 150px; opacity: 0; transform: scale(.7) rotate(-20deg); animation: logo-in 900ms var(--spring) 100ms forwards; }
@keyframes logo-in { to { opacity: 1; transform: none; } }
.intro-word { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(72px, 13vw, 168px); line-height: .85; display: flex; overflow: hidden; padding-top: .05em; }
.intro-word span { display: inline-block; transform: translateY(110%); animation: rise 700ms var(--ease-out) forwards; }
.intro-sub { font-size: 13px; letter-spacing: .4em; text-transform: uppercase; color: var(--gold); opacity: 0; animation: fade-in 500ms ease 900ms forwards; }
@keyframes rise { to { transform: none; } }
@keyframes fade-in { to { opacity: 1; } }
.intro.is-leaving { clip-path: inset(0 0 100% 0); transition: clip-path 800ms var(--ease-in-out); }
.intro.is-leaving .intro-inner { transform: translateY(-40px); opacity: 0; transition: transform 700ms var(--ease-in-out), opacity 400ms ease; }

/* ================= ADMIN PAGE ================= */
.admin-page { padding: 40px 0 96px; }
.admin-login { max-width: 440px; margin: 10vh auto; background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: 36px; display: grid; gap: 20px; }
.admin-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 40px; align-items: start; }
.admin-side { position: sticky; top: calc(var(--header-h) + var(--admin-h) + 24px); display: grid; gap: 4px; }
.admin-side button { text-align: left; height: 46px; padding: 0 14px; border-radius: 12px; border: 0; background: transparent; font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 10px; color: var(--ivory-2); transition: background-color 160ms ease, color 160ms ease; }
.admin-side button svg { width: 20px; height: 20px; }
.admin-side button[aria-selected="true"] { background: var(--gold); color: var(--ink); }
.admin-side button:not([aria-selected="true"]):hover { background: var(--bg-3); }
.admin-panel h2 { font-size: 64px; margin-bottom: 24px; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 32px; }
.kpi { background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.kpi span { color: var(--muted); font-size: 14px; }
.kpi b { display: block; font-family: var(--font-display); font-size: 64px; line-height: 1; margin-top: 6px; color: var(--gold); }
.table-wrap { overflow-x: auto; background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; }
table.data th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 600; padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data input[type="number"], table.data input[type="text"] { height: 40px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 0 10px; background: var(--bg); color: var(--ivory); width: 100%; min-width: 110px; }
table.data .cat-row td { background: var(--bg-3); font-weight: 700; font-size: 14px; color: var(--gold); }
.switch { position: relative; width: 44px; height: 26px; flex: none; display: inline-block; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: #4a4138; transition: background-color 200ms ease; pointer-events: none; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform 240ms var(--spring-soft); }
.switch input:checked + span { background: var(--gold); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.empty-state { padding: 40px; text-align: center; color: var(--muted); }
.empty-state a { color: var(--gold); }
.admin-form { display: grid; gap: 20px; max-width: 640px; }
.status-pill { display: inline-flex; height: 26px; padding: 0 10px; border-radius: 99px; align-items: center; font-size: 13px; font-weight: 600; background: rgba(230, 166, 60, .16); color: var(--gold-2); }
.status-pill--ok { background: rgba(76, 194, 127, .16); color: #7fdba6; }
.row-actions { display: flex; gap: 6px; }
.mini-btn { height: 34px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-strong); background: transparent; color: var(--ivory); font-size: 13px; font-weight: 600; transition: transform 160ms var(--ease-out), background-color 160ms ease; }
.mini-btn:active { transform: scale(0.96); }
.mini-btn:hover { background: var(--bg-3); }
@media (max-width: 860px) { .admin-layout { grid-template-columns: 1fr; } .admin-side { position: static; display: flex; overflow-x: auto; } .admin-side button { flex: none; } .kpis { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .mascot .m-all, .mascot .m-eye, .mascot .m-cap, .mascot .m-shadow, .hero::before { animation: none !important; }
  .intro { display: none; }
}
.booking-rules { margin: 4px 0 20px; padding: 14px 16px; border-left: 3px solid var(--gold-deep); background: color-mix(in srgb, currentColor 5%, transparent); border-radius: 8px; font-size: 15px; }
.booking-rules ul { margin: 6px 0 0; padding-left: 18px; }
.booking-rules li { margin: 2px 0; }

.rooms .room-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.room { display: flex; flex-direction: column; gap: 2px; padding: 0 0 10px; text-align: left; font: inherit; color: inherit; background: color-mix(in srgb, currentColor 5%, transparent); border: 2px solid transparent; border-radius: 14px; overflow: hidden; cursor: pointer; transition: border-color .15s, transform .15s; }
.room img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; margin-bottom: 8px; }
.room-n { font-weight: 700; padding: 0 12px; overflow-wrap: anywhere; }
.room-d { font-size: 13px; opacity: .7; padding: 0 12px; }
.room:hover { transform: translateY(-2px); }
.room[aria-checked="true"] { border-color: var(--gold-deep); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold-deep) 25%, transparent); }
.room--any { justify-content: center; min-height: 80px; padding: 14px 0; }

.closed-bar { position: sticky; top: 0; z-index: 60; padding: 10px 16px; text-align: center; font-weight: 600; background: #b4531f; color: #fff; }
.room[hidden] { display: none; }

.bank-card { position: relative; max-width: 360px; margin: 12px 0; padding: 18px 20px; border-radius: 18px; color: #fff; cursor: pointer; user-select: none; background: linear-gradient(135deg, #6b1f2a 0%, #a8323f 55%, #c9953a 130%); box-shadow: 0 10px 28px rgba(80, 20, 30, .35), inset 0 1px 0 rgba(255, 255, 255, .25); overflow: hidden; transition: transform .15s; }
.bank-card::after { content: ""; position: absolute; inset: auto -40px -60px auto; width: 180px; height: 180px; border-radius: 50%; background: rgba(255, 255, 255, .09); }
.bank-card:active { transform: scale(.98); }
.bc-top, .bc-bot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bc-bank { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; opacity: .95; }
.bc-chip { width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #f0d48a, #b8913f); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.bc-num { margin: 22px 0 16px; font: 700 clamp(17px, 5vw, 23px) / 1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .04em; white-space: nowrap; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.bc-owner { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.bc-copy { font-size: 11px; opacity: .85; white-space: nowrap; }

.room.is-busy,.room[disabled]{opacity:.45;filter:grayscale(1);cursor:not-allowed;position:relative}
.room.is-busy::after{content:'●';position:absolute;top:6px;right:8px;color:#c0392b;font-size:.7rem}
.co-promo-msg{display:block;min-height:1.1em;margin-top:.25rem;opacity:.8}

.trk-chk{display:flex;gap:10px;align-items:flex-start;margin:10px 0;font-size:14px;line-height:1.35;cursor:pointer}
.trk-chk input{width:22px;height:22px;flex:none;margin:0;accent-color:var(--accent,#b8741a)}
.trk-up.is-off{opacity:.45;pointer-events:none}
.co-done-actions .trk-cx-btn{margin:0;align-self:center}
.trk-dialog .co-done-actions{flex-wrap:nowrap;gap:8px}
.trk-dialog .co-done-actions .btn{padding-inline:10px;font-size:14px;min-width:0;flex:1 1 auto;white-space:nowrap;justify-content:center;text-align:center}
.trk-dialog .co-done-actions .trk-cx-btn{color:#c0392b;border-color:#c0392b;margin:0}
/* a photo that is still loading shows nothing (no frame); places with no photo show the logo */
.menu-item .dish-ph:not(.dish-ph--empty) { background: rgba(185,124,29,.08) url(ph-logo.webp) center / auto 50% no-repeat; }
.menu-item .dish-ph--empty { background: var(--bg-3) !important; }
.menu-item .dish-ph--empty img { opacity: .55; }
/* room cards are fixed places: the logo sits in the frame until the photo arrives */
.room img { background: rgba(185,124,29,.08) url(ph-logo.webp) center / auto 45% no-repeat; color: transparent; }
/* ================= ornament, plates, light theme ================= */

/* ---------- girih lattice behind everything (tone follows the theme) ---------- */
html { --orn: rgba(230, 166, 60, .085); --orn-strong: rgba(230, 166, 60, .5); --plate-rim: #182340; --plate-dash: rgba(242, 192, 107, .85); }
body { background: transparent; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-color: var(--orn);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96' fill='none' stroke='black' stroke-width='1.1'><path d='M48 18l8.6 21.4L78 48l-21.4 8.6L48 78l-8.6-21.4L18 48l21.4-8.6z'/><path d='M27 27h42v42H27z' transform='rotate(45 48 48)'/><path d='M27 27h42v42H27z'/><path d='M0 0l27 27M96 0L69 27M0 96l27-27M96 96L69 69M48 0v18M48 78v18M0 48h18M78 48h18'/><circle cx='48' cy='48' r='5'/></svg>") 0 0 / 96px 96px,
                linear-gradient(#000, #000);
  -webkit-mask-composite: source-in;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96' fill='none' stroke='black' stroke-width='1.1'><path d='M48 18l8.6 21.4L78 48l-21.4 8.6L48 78l-8.6-21.4L18 48l21.4-8.6z'/><path d='M27 27h42v42H27z' transform='rotate(45 48 48)'/><path d='M27 27h42v42H27z'/><path d='M0 0l27 27M96 0L69 27M0 96l27-27M96 96L69 69M48 0v18M48 78v18M0 48h18M78 48h18'/><circle cx='48' cy='48' r='5'/></svg>") 0 0 / 96px 96px,
        radial-gradient(ellipse 120% 90% at 50% 0%, #000 30%, rgba(0, 0, 0, .35) 100%);
  mask-composite: intersect;
}

/* ---------- medallion (emblem rosette) ---------- */
.medallion { position: relative; aspect-ratio: 1; color: var(--orn-strong); }
.medallion svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.1; overflow: visible; }
.medallion .m-dot { fill: currentColor; stroke: none; opacity: 0; transition: opacity 600ms ease 900ms; }
.m-draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2200ms var(--ease-in-out); }
.medallion.in .m-draw, .table-orn.in .m-draw { stroke-dashoffset: 0; }
.medallion.in .m-dot { opacity: 1; }
.medallion.in .m-draw:nth-child(4) { transition-delay: 200ms; }
.medallion.in .m-draw:nth-child(5) { transition-delay: 350ms; }
.medallion.in .m-draw:nth-child(n+6) { transition-delay: 500ms; }
.medallion svg { animation: rosette 120s linear infinite; }
@keyframes rosette { to { transform: rotate(360deg); } }
.medallion-logo { position: absolute; left: 50%; top: 50%; width: 38%; height: auto; transform: translate(-50%, -50%) scale(.8); opacity: 0; transition: opacity 700ms ease 700ms, transform 900ms var(--spring-soft) 700ms; }
.medallion.in .medallion-logo { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.story { position: relative; overflow: clip; }
.story-grid { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(220px, 380px); gap: clamp(32px, 5vw, 80px) !important; align-items: center; }
.story-grid > div:first-child { display: grid; gap: 36px; }
.medallion--story { width: 100%; }
.medallion--close { position: absolute; right: -6vw; top: 50%; width: min(560px, 60vw); transform: translateY(-50%); color: rgba(21, 18, 15, .16); pointer-events: none; }
.close-band { position: relative; overflow: clip; isolation: isolate; }
.close-band .wrap { position: relative; z-index: 1; }

/* ornamental rule: line — star — line, draws in */
.orn-rule { display: flex; align-items: center; gap: 14px; color: var(--gold); max-width: 360px; }
.orn-rule span { flex: 1; height: 1px; background: currentColor; transform: scaleX(0); transition: transform 1100ms var(--ease-out); }
.orn-rule span:first-child { transform-origin: right; } .orn-rule span:last-child { transform-origin: left; }
.orn-rule svg { width: 22px; height: 22px; fill: currentColor; transform: scale(0) rotate(-90deg); transition: transform 900ms var(--spring); }
.orn-rule.in span { transform: scaleX(1); }
.orn-rule.in svg { transform: none; }

/* ---------- tray + plates: one material, no white photo rims ---------- */
.table-orn { position: absolute; inset: 9%; width: 82%; height: 82%; fill: none; stroke: var(--gold); stroke-width: 1; opacity: .28; pointer-events: none; animation: rosette 160s linear infinite reverse; }
.table-orn .m-dot { fill: var(--gold); stroke: none; }
/* real dishes, cut out with their own tableware, resting on the tray */
.plate { width: 36%; left: calc(50% + var(--x) - 18%); top: calc(50% + var(--y) - 18%); }
.plate--center { width: 31%; left: 34.5%; top: 34.5%; }
.plate-inner { background: none !important; box-shadow: none !important; border-radius: 0 !important; display: grid; place-items: center; }
.plate-inner::before, .plate-inner::after { display: none !important; }
.plate-inner img { position: static !important; inset: auto !important; width: 100% !important; height: auto !important; border-radius: 0 !important; object-fit: contain;
  filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .35)) drop-shadow(0 18px 18px rgba(0, 0, 0, .45)); transition: filter 320ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .plate:hover .plate-inner, .plate:focus-visible .plate-inner { transform: scale(1.07) translateY(-3%) !important; box-shadow: none !important; }
  .plate:hover .plate-inner img { filter: drop-shadow(0 4px 3px rgba(0, 0, 0, .3)) drop-shadow(0 30px 26px rgba(0, 0, 0, .5)); }
}
.plate:focus-visible .plate-inner { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 50% !important; }
[data-theme="light"] .plate-inner img { filter: drop-shadow(0 3px 2px rgba(90, 55, 10, .25)) drop-shadow(0 16px 16px rgba(90, 55, 10, .3)); }

/* photo labels always sit on a photo: keep them light */
.ph .ph-label { color: #fff8ec; z-index: 2; }
.strip .ph::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); pointer-events: none; }

/* ---------- theme toggle ---------- */
.theme-toggle { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--ivory); display: grid; place-items: center; position: relative; overflow: hidden; transition: border-color 160ms ease, transform 160ms var(--ease-out); }
.theme-toggle:active { transform: scale(.94); }
.theme-toggle svg { position: absolute; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; transition: transform 420ms var(--spring-soft), opacity 220ms ease; }
.theme-toggle .i-moon { fill: currentColor; stroke: none; }
[data-theme="dark"] .theme-toggle .i-sun, html:not([data-theme]) .theme-toggle .i-sun { transform: translateY(120%) rotate(90deg); opacity: 0; }
[data-theme="light"] .theme-toggle .i-moon { transform: translateY(-120%) rotate(-90deg); opacity: 0; }
@media (hover: hover) and (pointer: fine) { .theme-toggle:hover { border-color: var(--gold); } }
@media (max-width: 900px) { .theme-toggle { margin-left: auto; } .site-header .wrap { gap: 10px; } }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ================= LIGHT ================= */
[data-theme="light"] {
  --bg: #f6efe2; --bg-2: #efe5d2; --bg-3: #e5d8c0;
  --ivory: #1d1712; --ivory-2: #4b4035; --muted: #7a6b59;
  --line: rgba(29, 23, 18, .12); --line-strong: rgba(29, 23, 18, .24);
  --gold: #b8741a; --gold-2: #d08f2c; --gold-deep: #8f5810;
  --cobalt: #2c58b8;
  --shadow-1: 0 1px 2px rgba(60, 40, 10, .08), 0 10px 30px -12px rgba(60, 40, 10, .25);
  --shadow-2: 0 2px 6px rgba(60, 40, 10, .1), 0 30px 60px -24px rgba(60, 40, 10, .35);
  --orn: rgba(44, 88, 184, .09); --orn-strong: rgba(44, 88, 184, .55);
  --plate-rim: #fbf7ef; --plate-dash: #2c58b8;
  color-scheme: light;
  scrollbar-color: #cbbb9f var(--bg);
}
[data-theme="light"] body::after { opacity: .035; mix-blend-mode: multiply; }
[data-theme="light"] .site-header.is-stuck, [data-theme="light"] .menu-bar { background: rgba(246, 239, 226, .88); }
[data-theme="light"] .dish-caption { background: rgba(251, 247, 239, .92); }
[data-theme="light"] .hero::before { background: radial-gradient(circle, rgba(230, 150, 60, .28) 0%, rgba(230, 166, 60, .1) 40%, transparent 66%); }
[data-theme="light"] .table-orn { stroke: #7a4a10; opacity: .35; }
[data-theme="light"] .table-orn .m-dot { fill: #7a4a10; }
[data-theme="light"] .story { background: radial-gradient(ellipse at 20% 0%, rgba(230, 150, 60, .16), transparent 60%), var(--bg-2); }
/* surfaces that were "ivory on dark" become ink chips in light */
[data-theme="light"] .nav .lang-switch a[aria-current="true"],
[data-theme="light"] .toast, [data-theme="light"] .tag--stop { background: #1d1712; color: #f6efe2; }
[data-theme="light"] .ai-hello { background: #1d1712; color: #f6efe2; }
[data-theme="light"] .ai-hello * { color: inherit; }
[data-theme="light"] .ai-launch { background: #1d1712; color: #f6efe2; }
[data-theme="light"] .ai-launch * { color: inherit; }
[data-theme="light"] .btn:not(.btn--ghost):not(.btn--light):not(.btn--dark) { --bg: #e3a23f; --bd: #e3a23f; --fg: #1d1712; }
[data-theme="light"] .btn--dark, [data-theme="light"] .btn--light { --fg: #f6efe2; }
@media (hover: hover) and (pointer: fine) {
  [data-theme="light"] .btn:not(.btn--ghost):not(.btn--light):not(.btn--dark):hover { --bg: #f0b65a; --bd: #f0b65a; }
  [data-theme="light"] .btn--ghost:hover { --fg: #f6efe2; }
}
/* polished brass lagan instead of the night tray */
[data-theme="light"] .table-disc {
  background: radial-gradient(circle at 38% 30%, #f6dfa8 0%, #e3b866 38%, #c8923c 70%, #b98232 70.4% 73%, #d6a552 73.4% 100%);
  box-shadow: inset 0 0 0 1px rgba(120, 70, 10, .25), inset 0 -20px 60px rgba(120, 70, 10, .25), 0 50px 90px -30px rgba(90, 55, 10, .45), 0 0 0 10px rgba(230, 166, 60, .08);
}
[data-theme="light"] .table-disc::before { background: repeating-conic-gradient(from 0deg, #7a4a10 0 1.6deg, transparent 1.6deg 5deg); opacity: .45; }
[data-theme="light"] .table-disc::after { border-color: rgba(120, 70, 10, .25); }
[data-theme="light"] .close-band { background: #e6a63c; }
[data-theme="light"] img[src$="logo-light.png"] { filter: brightness(.18) sepia(1) hue-rotate(5deg) saturate(2.2); }
[data-theme="light"] .intro img[src$="logo-light.png"], [data-theme="light"] .ph img[src$="logo-light.png"] { filter: none; }
[data-theme="light"] .hero h1 .line--2 > span { -webkit-text-stroke-color: #1d1712; }
[data-theme="light"] .cat-nav a.is-active small { color: rgba(29, 23, 18, .6); }

@media (prefers-reduced-motion: reduce) {
  .medallion svg, .table-orn { animation: none; }
  .m-draw { stroke-dashoffset: 0; transition: none; }
  .orn-rule span, .orn-rule svg { transform: none; transition: none; }
}
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .medallion--story { max-width: 260px; justify-self: center; order: -1; }
}

/* footer stays a dark anchor in light mode */
[data-theme="light"] .site-footer { background: #1d1712; --ivory: #f3ead9; --ivory-2: #d8ccb7; --muted: #a39682; --line: rgba(243, 234, 217, .12); --line-strong: rgba(243, 234, 217, .26); --gold: #e6a63c; color: var(--ivory-2); }
[data-theme="light"] .site-footer img[src$="logo-light.png"] { filter: none; }

/* ---------- assistant: add-to-order, basket bar, order sheet ---------- */
.ai-card { grid-template-columns: 56px minmax(0, 1fr) auto 34px !important; }
.ai-card > a { text-decoration: none; min-width: 0; }
.ai-card > a b { overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { .ai-card > a:hover b { color: var(--gold); } }
.ai-add { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--ivory); display: grid; place-items: center; transition: transform 160ms var(--ease-out), background-color 160ms ease, border-color 160ms ease; }
.ai-add svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform 300ms var(--spring); }
.ai-add:active { transform: scale(.9); }
.ai-add.is-added { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.ai-add.is-added svg { transform: rotate(90deg); }
@media (hover: hover) and (pointer: fine) { .ai-add:hover { border-color: var(--gold); } }
.ai-cart { display: flex; align-items: center; gap: 10px; width: calc(100% - 28px); margin: 0 14px 8px; min-height: 44px; padding: 0 14px; border-radius: 14px; border: 0; background: var(--gold); color: var(--ink); font-weight: 600; font-size: 14px; text-align: left; }
.ai-cart-ic svg, .ai-cart-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; vertical-align: -4px; }
.ai-cart-go { margin-left: auto; white-space: nowrap; }
.ai-cart.bump { animation: bump 420ms var(--spring); }
@keyframes bump { 30% { transform: scale(1.04); } }
.ai-order { align-self: stretch; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px 14px; display: grid; gap: 2px; font-size: 14px; }
.ai-order-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; min-height: 42px; border-bottom: 1px solid var(--line); }
.ai-order-row .price { min-width: 88px; text-align: right; font-size: 13px; }
.qty { display: inline-flex; align-items: center; gap: 6px; }
.qty button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--ivory); font-size: 16px; line-height: 1; }
.qty b { min-width: 16px; text-align: center; font-variant-numeric: tabular-nums; }
.ai-order-total { display: flex; justify-content: space-between; padding: 10px 0 6px; font-size: 16px; }
.ai-order-total b { color: var(--gold); font-variant-numeric: tabular-nums; }
.ai-order-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ai-order-actions .btn { min-height: 40px; padding: 0 14px; font-size: 13px; }
.ai-order-copy { border: 0; background: none; color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; padding: 6px 4px; }

/* ---------- hero title never runs under the tray ---------- */
.hero h1 .line--2 { padding-left: 0 !important; }
.hero h1 { z-index: 3; }

/* ---------- category list + fixed preview card (text is never covered) ---------- */
.cat-preview { display: none !important; }
.cats-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 400px); gap: clamp(28px, 4vw, 64px); align-items: start; }
.cats-layout .cat-row .cat-name { font-size: clamp(40px, 4.4vw, 74px); }
.cat-card { position: sticky; top: calc(var(--header-h) + var(--admin-h) + 24px); display: grid; gap: 14px; }
.cat-card-ph { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--bg-3); box-shadow: var(--shadow-2); }
.cat-card-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 420ms var(--ease-out), transform 900ms var(--ease-out); }
.cat-card-ph img.is-on { opacity: 1; transform: none; }
.cat-card-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cat-card-cap b { font-family: var(--font-display); text-transform: uppercase; font-size: 30px; font-weight: 800; line-height: 1; color: var(--gold); }
.cat-card-cap span { color: var(--muted); font-size: 14px; white-space: nowrap; }
.cats .cat-row.is-current a .cat-name { color: var(--gold); }
@media (max-width: 900px) { .cats-layout { grid-template-columns: 1fr; } .cat-card { display: none; } }

/* ---------- menu cards: photo, title+price, text, tags sit on shared rows ---------- */
@media (min-width: 561px) {
  .menu-list { grid-auto-rows: auto; }
  .menu-item { display: grid !important; grid-template-rows: subgrid; grid-row: span 4; row-gap: 0; align-content: start; }
  .menu-item > .menu-item-top { align-items: flex-start; }
  .menu-item > p { margin-top: 6px; }
  .menu-item > .meta { align-self: start; }
  .menu-item:not(:has(> p)) > .menu-item-top { grid-row: span 2; }
}
/* dishes still waiting for a photo */
.menu-item .dish-ph--empty { background: var(--bg-3) !important; display: grid; place-items: center; text-align: center; padding: 18px; gap: 4px; align-content: center; }
.dish-ph--empty .ph-orn { position: absolute; inset: 50% auto auto 50%; width: 70%; height: auto; transform: translate(-50%, -50%); fill: none; stroke: var(--gold); stroke-width: 1.2; opacity: .3; }
.dish-ph--empty .ph-orn .m-draw { stroke-dashoffset: 0; }
.dish-ph--empty .ph-orn .m-dot { fill: var(--gold); stroke: none; }
.dish-ph--empty .ph-name { position: relative; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 3vw, 42px); line-height: .95; color: var(--ivory); }
.dish-ph--empty small { position: relative; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
[data-theme="light"] .dish-ph--empty .ph-orn { stroke: var(--cobalt); }

/* ---------- floating assistant steps aside where the page already shows it ---------- */
.ai-launch, .ai-hello { transition: transform 520ms var(--spring-soft), opacity 300ms var(--ease-out); }
.teaser-in .ai-launch, .teaser-in .ai-hello { transform: translateY(160%); opacity: 0; pointer-events: none; }

/* ---------- assistant hints scroll sideways ---------- */
.ai-chips-wrap { position: relative; }
.ai-chips { scroll-behavior: smooth; cursor: grab; -webkit-mask: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 40px), transparent); mask: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 40px), transparent); }
.ai-chips.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.ai-chips.is-dragging button { pointer-events: none; }
.chip-arrow { position: absolute; top: 2px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--ivory); display: grid; place-items: center; z-index: 2; opacity: 0; pointer-events: none; transition: opacity 200ms ease, transform 160ms var(--ease-out); }
.chip-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.chip-arrow--l { left: 6px; } .chip-arrow--l svg { transform: rotate(180deg); }
.chip-arrow--r { right: 6px; }
.ai-chips-wrap.can-l .chip-arrow--l, .ai-chips-wrap.can-r .chip-arrow--r { opacity: 1; pointer-events: auto; }
.chip-arrow:active { transform: scale(.92); }

/* ---------- marquee: a dark ribbon in both themes, not selectable ---------- */
.marquee { user-select: none; -webkit-user-select: none; }
[data-theme="light"] .marquee { background: #1d1712; border-color: transparent; }
[data-theme="light"] .marquee-group span { color: #e6a63c; }
[data-theme="light"] .marquee-group svg { color: rgba(243, 234, 217, .6); }
.marquee-group svg { width: 16px !important; height: 16px !important; color: var(--gold) !important; opacity: .7; }

/* ---------- admin: add / delete / move dishes ---------- */
.admin-add { display: none; }
.is-admin .admin-add { display: inline-flex; }
.menu-item.is-deleted { display: none !important; }
.inline-edit select, .admin-dish-form input, .admin-dish-form select, .admin-dish-form textarea { height: 40px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 0 10px; background: var(--bg); color: var(--ivory); font: inherit; font-size: 14px; }
.admin-dish-form { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; padding: 16px; border: 1px dashed var(--gold); border-radius: 16px; margin-bottom: 24px; background: var(--bg-2); }
.admin-dish-form textarea { height: 64px; padding: 8px 10px; grid-column: 1 / -1; }
.admin-dish-form .row { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.mini-btn--danger { border-color: #d9542c !important; color: #ff8d6b !important; }
.tag--new { background: var(--gold); color: var(--ink); }
.medallion--close .medallion-logo { width: 46%; opacity: 0; }
.medallion--close.in .medallion-logo { opacity: .5; }
.menu-item.is-hidden { display: none !important; }
.close-band .wrap { grid-template-columns: minmax(0, 1fr) !important; justify-items: start; gap: 28px !important; }
.close-band .wrap > div { max-width: min(62%, 760px); }
@media (max-width: 900px) { .close-band .wrap > div { max-width: none; } .medallion--close { opacity: .5; } }

/* ---------- booking: tap-to-pick day and time ---------- */
.picker .lbl { display: block; font-size: 14px; font-weight: 600; margin-bottom: 10px; color: var(--ivory-2); }
.pick-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) 36px; gap: 8px; align-items: center; }
.pick-nav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--ivory); display: grid; place-items: center; transition: transform 160ms var(--ease-out), border-color 160ms ease; }
.pick-nav .icon { width: 16px; height: 16px; }
.pick-nav[data-dir="-1"] .icon { transform: rotate(180deg); }
.pick-nav:active { transform: scale(.92); }
@media (hover: hover) and (pointer: fine) { .pick-nav:hover { border-color: var(--gold); } }
.day-strip { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 2px; }
.day-strip::-webkit-scrollbar { display: none; }
.day { flex: none; width: 64px; height: 78px; border-radius: 16px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ivory); display: grid; place-items: center; align-content: center; gap: 1px; scroll-snap-align: center; transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 160ms var(--ease-out); }
.day small { font-size: 11px; color: var(--muted); line-height: 1.2; text-transform: none; }
.day b { font-family: var(--font-display); font-size: 30px; line-height: 1; font-weight: 800; }
.day.is-weekend small:first-child { color: var(--ember); }
.day:active, .slot:active { transform: scale(.95); }
.day.is-on { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.day.is-on small { color: rgba(21, 18, 15, .7); }
@media (hover: hover) and (pointer: fine) { .day:not(.is-on):hover, .slot:not(.is-on):not(:disabled):hover { border-color: var(--gold); } }
.time-grid { display: grid; gap: 14px; }
.time-group > span { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.time-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.slot { height: 42px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ivory); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 160ms var(--ease-out); }
.slot.is-on { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.slot:disabled { opacity: .3; cursor: not-allowed; text-decoration: line-through; }
.picker[data-invalid] .time-grid, .picker[data-invalid] .day-strip { outline: 1px solid var(--ember); outline-offset: 4px; border-radius: 14px; }
@media (max-width: 560px) { .pick-row { grid-template-columns: minmax(0, 1fr); } .pick-nav { display: none; } .day { width: 58px; height: 72px; } }
.day.is-on small, .day.is-on.is-weekend small:first-child { color: rgba(21, 18, 15, .72); }

/* ---------- maps ---------- */
.map-card { display: grid; gap: 14px; align-content: start; }
.map-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--line-strong); justify-self: start; background: var(--bg-2); }
.map-tabs button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; border: 0; background: transparent; color: var(--ivory-2); font-size: 14px; font-weight: 600; transition: background-color 200ms ease, color 200ms ease; }
.map-tabs button[aria-selected="true"] { background: var(--ivory); color: var(--bg); }
.map-dot { width: 8px; height: 8px; border-radius: 50%; }
.map-dot--y { background: #fc3f1d; } .map-dot--g { background: #34a853; }
.map-frame { position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--bg-3); box-shadow: var(--shadow-2); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 500ms var(--ease-out); }
.map-frame iframe.is-loaded { opacity: 1; }
.map-pin { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px; color: var(--muted); font-size: 14px; pointer-events: none; transition: opacity 400ms ease; }
.map-pin img { width: 64px; height: 64px; border-radius: 50%; animation: pinbob 1.6s var(--ease-in-out) infinite alternate; }
@keyframes pinbob { to { transform: translateY(-8px); } }
.map-pin.is-gone { opacity: 0; }
.map-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.map-actions .btn { min-height: 48px; font-size: 15px; padding: 0 20px; }
.map-actions .btn svg.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.visit-map .map-frame { aspect-ratio: auto; height: 100%; min-height: 360px; }
.visit-map { grid-template-rows: auto 1fr auto; }
.contact-map { margin-top: clamp(56px, 7vw, 96px); display: grid; gap: 22px; }
.contact-map .map-frame { aspect-ratio: 16 / 7; }
@media (max-width: 700px) { .contact-map .map-frame { aspect-ratio: 4 / 3; } .map-actions .btn { width: 100%; } }
[data-theme="light"] .map-tabs button[aria-selected="true"] { background: #1d1712; color: #f6efe2; }
@media (prefers-reduced-motion: reduce) { .map-pin img { animation: none; } }
/* chat panel: the hint row must never widen the panel */
.ai-panel { grid-template-columns: minmax(0, 1fr); }
.ai-chips-wrap { min-width: 0; overflow: hidden; }
.ai-msgs { min-width: 0; overflow-x: hidden; }
.ai-msgs .msg { overflow-wrap: anywhere; }
.ai-close { border: 1px solid var(--line-strong) !important; flex: none; }
@media (hover: hover) and (pointer: fine) { .ai-close:hover { background: var(--bg-3) !important; } }
.msg--sys { align-self: center; max-width: 92%; background: transparent; border: 1px dashed var(--line-strong); color: var(--muted); font-size: 13px; text-align: center; padding: 8px 14px; border-radius: 12px; }
/* the demo preview on the home page steps back while the real chat is open */
.chat-preview { transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out); }
.ai-open .chat-preview { opacity: 0; transform: scale(.97); pointer-events: none; }
/* basket row with a cancel button */
.ai-cart-row { display: flex; gap: 8px; margin: 0 14px 8px; }
.ai-cart-row .ai-cart { margin: 0; width: auto; flex: 1; }
.ai-cart-x { flex: none; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ivory); display: grid; place-items: center; transition: transform 160ms var(--ease-out), border-color 160ms ease, color 160ms ease; }
.ai-cart-x .icon { width: 16px; height: 16px; }
.ai-cart-x:active { transform: scale(.92); }
@media (hover: hover) and (pointer: fine) { .ai-cart-x:hover { border-color: #d9542c; color: #d9542c; } }
.ai-forget { margin-left: auto; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; transition: color 160ms ease, border-color 160ms ease; }
.ai-forget[data-sure] { color: #d9542c; border-color: #d9542c; }
@media (hover: hover) and (pointer: fine) { .ai-forget:hover { color: var(--ivory); border-color: var(--gold); } }
.ai-forget + .ai-close { margin-left: 8px !important; }
.ai-go { align-self: flex-start; min-height: 42px; font-size: 14px; padding: 0 16px; gap: 8px; text-decoration: none; }
.ai-go .icon { width: 16px; height: 16px; }
.menu-item.flash { animation: flash 2.2s var(--ease-out); }
@keyframes flash { 0%, 40% { box-shadow: 0 0 0 3px var(--gold); } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ---------- home: the real chat lives inside the "Не знаете, что выбрать?" block ---------- */
.ai-inline .chat-preview { display: none; }
.ai-panel.ai-panel--inline { position: relative; inset: auto; right: auto; bottom: auto; z-index: 1; width: 100%; height: 560px; opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: none; box-shadow: var(--shadow-2); }
.ai-panel--inline .ai-close { display: none; }
.ai-panel--inline .ai-forget { margin-left: auto; }
@media (max-width: 700px) { .ai-panel.ai-panel--inline { height: 520px; border-radius: 22px; } }
.msg a.tel { white-space: nowrap; color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); }
.admin-notes { padding: 24px; border: 1px solid var(--gold); border-radius: 20px; background: var(--bg-2); margin-bottom: 8px; }
.admin-notes h3 { margin: 0 0 6px; }
.admin-notes textarea { min-height: 150px; }

/* ---------------- shop: «+» on menu cards ---------------- */
.mi-add { position: absolute; right: 10px; bottom: 10px; z-index: 3; display: inline-flex; align-items: center; height: 44px; border-radius: 999px; background: #1d1712; color: #f6efe2; box-shadow: 0 8px 22px -8px rgba(0,0,0,.7); transition: transform 200ms var(--ease-out); }
.mi-add button { width: 44px; height: 44px; border: 0; background: none; color: inherit; font: 600 24px/1 var(--font-body); display: grid; place-items: center; border-radius: 50%; cursor: pointer; touch-action: manipulation; transition: transform 140ms var(--ease-out), background-color 160ms ease; }
.mi-add button:active { transform: scale(.88); }
.mi-add .mi-plus { background: var(--gold); color: #1d1712; font-size: 28px; }
.mi-add b { min-width: 18px; text-align: center; font-size: 16px; font-variant-numeric: tabular-nums; }
.mi-add.is-on { animation: mi-pop 360ms var(--spring-soft); }
@keyframes mi-pop { from { transform: scale(.7); } to { transform: scale(1); } }
@media (hover: hover) and (pointer: fine) { .mi-add .mi-plus:hover { background: var(--gold-2); } .mi-add:not(:has(.mi-plus)) button:hover { background: rgba(255,255,255,.12); } }
.is-admin .mi-add { display: none; }
@media (max-width: 640px) { .mi-add { right: 6px; bottom: 6px; height: 38px; } .mi-add button { width: 38px; height: 38px; font-size: 21px; } }

/* ---------------- order bar ---------------- */
.order-bar { position: fixed; left: 50%; bottom: 20px; z-index: 85; transform: translateX(-50%); transition: transform 420ms var(--spring-soft), opacity 220ms var(--ease-out); }
.order-bar[hidden] { display: block !important; opacity: 0; transform: translate(-50%, 140%); pointer-events: none; }
.order-bar.bump .order-bar-ic { animation: mi-pop 420ms var(--spring-soft); }
.order-bar-main { display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 8px 0 10px; border-radius: 999px; border: 1px solid rgba(242,192,107,.4); background: #1d1712; color: #f6efe2; box-shadow: 0 18px 40px -14px rgba(0,0,0,.75); cursor: pointer; font: inherit; }
.order-bar-ic { position: relative; width: 42px; height: 42px; border-radius: 50%; background: rgba(242,192,107,.16); color: var(--gold-2); display: grid; place-items: center; }
.order-bar-ic svg { width: 22px; height: 22px; }
.order-bar-ic i { position: absolute; top: -4px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: #1d1712; font: 700 12px/20px var(--font-body); font-style: normal; text-align: center; }
.order-bar-txt { display: grid; text-align: left; line-height: 1.15; }
.order-bar-txt small { font-size: 12px; opacity: .7; }
.order-bar-txt b { font-size: 16px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.order-bar-go { height: 44px; padding: 0 20px; border-radius: 999px; background: var(--gold); color: #1d1712; font-weight: 700; display: grid; place-items: center; }
.ai-open .order-bar, .co-open .order-bar { opacity: 0; pointer-events: none; }
@media (max-width: 640px) {
  .order-bar { left: 12px; right: 86px; bottom: 12px; transform: none; }
  .order-bar[hidden] { transform: translateY(140%); }
  .order-bar-main { width: 100%; height: 62px; gap: 10px; }
  .order-bar-go { margin-left: auto; padding: 0 16px; }
  .has-order .ai-hello { bottom: 86px; }
}
.has-order .toast-host { bottom: 96px; }
/* phones: the bottom edge is taken by the order bar and the assistant button, so the toast slides in at the top instead */
@media (max-width: 720px) {
  .toast-host, .has-order .toast-host { bottom: auto; top: calc(env(safe-area-inset-top, 0px) + 72px); width: max-content; max-width: calc(100vw - 32px); }
  @starting-style { .toast { transform: translateY(-100%); } }
  .toast.is-out { transform: translateY(-8px); }
}

/* ---------------- checkout ---------------- */
.checkout { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; color: var(--ivory); overflow: hidden; }
.checkout[open] { display: grid; place-items: center; }
.checkout::backdrop { background: rgba(10,8,6,.55); backdrop-filter: blur(3px); }
.co-card { position: relative; width: min(560px, calc(100vw - 24px)); max-height: calc(100svh - 32px); display: grid; grid-template-rows: auto minmax(0,1fr); background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 26px; box-shadow: var(--shadow-2); overflow: hidden; animation: co-in 260ms var(--ease-out); }
.checkout.is-closing .co-card { animation: co-out 180ms var(--ease-out) forwards; }
@keyframes co-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes co-out { to { opacity: 0; transform: translateY(10px) scale(.98); } }
.co-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 12px; }
.co-head h2 { margin: 0; font-size: 30px; }
.co-x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: none; color: inherit; display: grid; place-items: center; cursor: pointer; }
.co-body { overflow-y: auto; overscroll-behavior: contain; padding: 0 22px 22px; }
.co-lines { list-style: none; margin: 0; padding: 0; display: grid; }
.co-lines li { display: grid; grid-template-columns: minmax(0,1fr) auto 108px; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.co-name { font-weight: 600; }
.co-price { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.co-lines .qty { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line-strong); border-radius: 999px; }
.co-lines .qty button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: inherit; font-size: 18px; cursor: pointer; }
.co-lines .qty b { min-width: 16px; text-align: center; font-variant-numeric: tabular-nums; }
.co-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 18px; font-size: 17px; }
.co-total b { font-size: 22px; color: var(--gold); font-variant-numeric: tabular-nums; }
.co-seg { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 4px; padding: 4px; border-radius: 16px; background: var(--bg-3); margin-bottom: 16px; }
.co-seg button { min-height: 44px; padding: 6px 8px; border: 0; border-radius: 12px; background: none; color: inherit; font: 600 14px/1.2 var(--font-body); cursor: pointer; transition: background-color 180ms ease, color 180ms ease; }
.co-seg button[aria-selected="true"] { background: var(--gold); color: #1d1712; }
.co-form { display: grid; gap: 14px; }
.co-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; }
.co-form .field { display: grid; gap: 6px; }
.co-form .field > span { font-size: 14px; font-weight: 600; }
.co-form .field small { font-weight: 400; opacity: .6; }
.co-form input:not([type=radio]) { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--bg); color: inherit; font: 16px var(--font-body); }
.co-form .field.is-invalid input { border-color: var(--ember); box-shadow: 0 0 0 3px rgba(217,84,44,.18); }
.co-chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.co-chips legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.co-chips label { position: relative; }
.co-chips input[type=radio] { position: absolute; opacity: 0; inset: 0; }
.co-chips label span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease; }
.co-chips input:checked + span { background: rgba(230,166,60,.18); border-color: var(--gold); font-weight: 600; }
.co-chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.co-chips .co-time { width: 130px !important; }
.co-hint { margin: 0; font-size: 14px; color: var(--muted); }
.co-submit { width: 100%; min-height: 54px; justify-content: center; }
.co-empty { margin: 8px 0 16px; color: var(--muted); }
.co-done { padding: 34px 26px 26px; text-align: center; display: block; }
.co-done .co-x { position: absolute; top: 14px; right: 14px; }
.co-check { width: 64px; height: 64px; margin: 0 auto 12px; color: var(--gold); }
.co-check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: co-draw 500ms 150ms var(--ease-out) forwards; }
@keyframes co-draw { to { stroke-dashoffset: 0; } }
.co-done h2 { margin: 0 0 8px; font-size: 34px; }
.co-summary { margin: 14px 0 20px; padding: 14px; border-radius: 14px; background: var(--bg-3); font-size: 14px; text-align: left; }
.co-done-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
@media (max-width: 640px) {
  .checkout[open] { place-items: end stretch; }
  .co-card { width: 100vw; max-height: 92svh; border-radius: 22px 22px 0 0; animation: co-up 380ms var(--ease-drawer); }
  .checkout.is-closing .co-card { animation: co-down 200ms var(--ease-out) forwards; }
  .co-grid { grid-template-columns: minmax(0,1fr); }
  .co-lines li { grid-template-columns: minmax(0,1fr) auto; }
  .co-price { grid-column: 1 / -1; text-align: left; margin-top: -6px; opacity: .75; font-size: 14px; }
}
@keyframes co-up { from { transform: translateY(100%); } }
@keyframes co-down { to { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) { .co-card, .mi-add.is-on, .order-bar.bump .order-bar-ic { animation: none !important; } }
.kpis { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important; }
.type-pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(230,166,60,.18); }
.type-pill--pickup { background: rgba(61,111,209,.18); }
.co-body, .co-form, .co-grid, .co-form .field, .co-grid > * { min-width: 0; }
.co-form input:not([type=radio]) { max-width: 100%; box-sizing: border-box; }
.checkout { overflow-x: hidden; }
@media (max-width: 640px) { .co-card { width: 100%; } .co-body { padding: 0 16px 20px; } .co-head { padding: 18px 16px 10px; } }
.co-form input:not([type=radio]) { min-width: 0; }
.co-form { grid-template-columns: minmax(0, 1fr); }
.co-submit { white-space: normal; height: auto; padding-block: 12px; text-align: center; line-height: 1.25; }
.co-chips { min-inline-size: 0; }
[data-orders] a[href^="tel"] { white-space: nowrap; }
.co-seg { grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); }
.co-geo-btn { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 10px 16px; border-radius: 14px; border: 1.5px dashed var(--gold); background: rgba(230,166,60,.08); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background-color 160ms ease, transform 140ms var(--ease-out); }
.co-geo-btn:active { transform: scale(.98); }
.co-geo-btn svg { color: var(--gold); flex: none; }
.co-geo-btn span { display: grid; gap: 2px; }
.co-geo-btn small { font-size: 13px; color: var(--muted); }
.co-geo-btn.is-busy { opacity: .6; pointer-events: none; }
.co-geo-btn.is-busy svg { animation: geo-bob 900ms ease-in-out infinite; }
@keyframes geo-bob { 50% { transform: translateY(-3px); } }
.co-geo { display: grid; gap: 10px; }
.co-geo-map { width: 100%; height: 220px; border: 0; border-radius: 14px; background: var(--bg-3); }
.co-geo-q { margin: 0; font-weight: 600; }
.co-geo-q small { display: block; font-weight: 400; color: var(--ember); font-size: 13px; }
.co-geo-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.co-geo-row .btn { min-height: 44px; }
.co-geo.is-ok { padding: 12px 14px; border-radius: 14px; background: rgba(76,160,90,.12); border: 1px solid rgba(76,160,90,.4); }
.co-geo.is-ok .co-geo-row { justify-content: space-between; font-weight: 600; }
.co-live { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.co-live input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold-deep); flex: none; }
.co-live span { display: grid; gap: 2px; }
.co-live small { font-size: 13px; color: var(--muted); }
.co-table-badge { margin: 0; padding: 14px 16px; border-radius: 14px; background: rgba(230,166,60,.14); font-size: 16px; }
.co-table-badge b { font-size: 20px; color: var(--gold-deep); }
.co-live-box { display: flex; align-items: center; gap: 12px; margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: rgba(76,160,90,.12); text-align: left; }
.co-live-box div { display: grid; gap: 2px; flex: 1; }
.co-live-box small { font-size: 13px; color: var(--muted); }
.co-live-dot { width: 12px; height: 12px; border-radius: 50%; background: #3fa35a; flex: none; box-shadow: 0 0 0 0 rgba(63,163,90,.6); animation: live-pulse 1.6s ease-out infinite; }
@keyframes live-pulse { to { box-shadow: 0 0 0 12px rgba(63,163,90,0); } }
.live-pill { display: inline-block; padding: 1px 8px; border-radius: 999px; background: rgba(63,163,90,.18); color: #2f8a49; font-size: 12px; font-weight: 600; }
.type-pill--table { background: rgba(76,160,90,.18); }
@media (prefers-reduced-motion: reduce) { .co-live-dot, .co-geo-btn.is-busy svg { animation: none; } }

/* fast images: the restaurant logo fills the frame until the photo has loaded (logo is preloaded first) */
img.lz { background: none; color: transparent; } /* while a photo loads: nothing, no frame */
/* status of my order / booking (bottom-left chip) */
.trk { position: fixed; left: 16px; bottom: 20px; z-index: 84; display: grid; gap: 8px; justify-items: start; max-width: min(360px, calc(100vw - 110px)); }
.has-order .trk { bottom: 92px; }
.ai-open .trk, .co-open .trk { opacity: 0; pointer-events: none; }
.trk-chip { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--fg); font: 600 14px/1.25 var(--font-body); text-align: left; box-shadow: var(--shadow-1); cursor: pointer; transition: transform 160ms var(--ease-out); animation: trk-in 360ms var(--spring-soft); }
.trk-chip:active { transform: scale(.97); }
.trk-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex: none; }
.trk-chip.is-live .trk-dot { background: #3fa35a; animation: live-pulse 1.6s ease-out infinite; }
.trk-chip.is-wait .trk-dot { background: var(--muted); animation: trk-blink 1s ease-in-out infinite; }
.trk-chip.is-bad { border-color: var(--ember); } .trk-chip.is-bad .trk-dot { background: var(--ember); }
.trk-chip.is-pay { border-color: var(--gold); }
@keyframes trk-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes trk-blink { 50% { opacity: .3; } }
.trk-big { font-size: 20px; font-weight: 600; margin: 0 0 10px; }
.trk-steps { list-style: none; display: flex; gap: 6px; margin: 16px 0; padding: 0; }
.trk-steps li { flex: 1; padding-top: 10px; border-top: 4px solid var(--line-strong); font-size: 13px; color: var(--muted); transition: border-color 300ms var(--ease-out); }
.trk-steps li.is-on { border-color: var(--gold); color: var(--fg); font-weight: 600; }
.trk-pay { margin: 14px 0; padding: 14px; border-radius: 14px; background: rgba(230,166,60,.10); text-align: left; display: grid; gap: 8px; }
.trk-pay p { margin: 0; }
.trk-pay.is-ok { background: rgba(76,160,90,.12); } .trk-pay.is-wait { background: var(--bg-3); }
.trk-card code { font-size: 18px; letter-spacing: .04em; }
.trk-warn { color: var(--ember); font-weight: 600; }
.trk-up { justify-content: center; cursor: pointer; }
.co-sync { margin: 10px 0 0; font-weight: 600; color: var(--muted); }
.co-sync.is-ok { color: #2f8a49; } .co-sync.is-bad { color: var(--ember); }
@media (max-width: 640px) { .trk { left: 12px; bottom: 12px; } .has-order .trk { bottom: 80px; } }
@media (prefers-reduced-motion: reduce) { .trk-chip, .trk-chip .trk-dot { animation: none !important; } }

/* assistant: several admin buttons in one row */
.ai-go-row { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; max-width: 100%; }
.ai-go-row .ai-go { min-height: 40px; font-size: 14px; padding-inline: 14px; }

.ai-keep { display: flex; gap: 8px; align-items: center; margin: 4px 0 0; font-size: 12px; color: var(--muted); cursor: pointer; }
.ai-keep input { width: 16px; height: 16px; accent-color: var(--gold-deep); }
.is-admin .ai-keep { display: none; }
@media (max-width: 420px) { .ai-head .ai-status { display: none; } }

/* notifications: bell in the assistant, «notify me» offer */
.ai-bell { width: 34px; height: 34px; display: grid; place-items: center; margin-left: auto; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--muted); cursor: pointer; transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease; }
.ai-bell.is-on { color: var(--gold-deep); border-color: var(--gold); background: rgba(230,166,60,.14); }
.ai-bell + .ai-forget { margin-left: 8px; }
.push-offer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 12px 0; padding: 10px 14px; border-radius: 14px; border: 1px dashed var(--gold); background: rgba(230,166,60,.08); font-size: 14px; text-align: left; }
.push-offer[hidden] { display: none; }
@media (max-width: 420px) { .ai-forget { padding: 0 9px; } }
@media (max-width: 420px) {
  .ai-head { gap: 8px; }
  .ai-head .ai-bell { width: 32px; height: 32px; }
  .ai-head .ai-forget { height: 32px; padding: 0 8px; font-size: 11px; }
  .ai-head .ai-close { flex: none; }
}

/* Telegram Mini App (menu.html?tg=1): only the menu, cart and checkout */
.in-tg .admin-bar, .in-tg .site-header, .in-tg .site-footer, .in-tg .crumbs, .in-tg .trk, .in-tg .skip-link { display: none !important; }
.in-tg { --header-h: 0px; --admin-h: 0px; }
.in-tg .page-head { padding-block: 18px 10px; }
.in-tg .page-head h1 { font-size: clamp(26px, 8vw, 34px); }
.in-tg .page-head p { display: none; }
.in-tg .menu-bar { top: 0; }
.in-tg body { overscroll-behavior: none; }

/* checkout fixes: the generic .co-form input rule stretched the checkbox into a 48px box; the done screen clipped its bottom buttons */
.co-form .co-live input[type=checkbox] { width: 22px; height: 22px; min-height: 0; padding: 0; margin: 2px 0 0; border-radius: 6px; flex: none; accent-color: var(--gold-deep); }
.co-live > span { min-width: 0; }
.co-card.co-done { overflow-y: auto; overscroll-behavior: contain; }
.co-live-box.is-off { background: var(--bg-3); }
.co-live-box.is-off .co-live-dot { background: #9a9186; animation: none; box-shadow: none; }
.co-geo-alt { display: block; width: 100%; margin-top: 8px; padding: 10px 14px; border: 1px dashed var(--line-strong); border-radius: 12px; background: none; color: inherit; font: 600 14px/1.3 var(--font-body); text-align: left; cursor: pointer; }
.co-geo-link { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; margin-top: 8px; }
.co-geo-link .btn { min-height: 48px; }
.co-other { padding: 2px 0; }
.push-offer { flex-direction: column; justify-content: center; text-align: center; }

.trk-cx{display:grid;gap:10px;margin:12px 0}.trk-cx label{display:grid;gap:6px;font-size:.9rem}.trk-cx input{min-height:44px;padding:0 12px;border-radius:12px;border:1px solid var(--line,#d9cfbd);background:var(--bg,#fff);font:inherit}
.trk-cx-btn{margin:10px 0;color:var(--ember)}

/* Mini App tabs (menu / table booking) and the on-screen keyboard */
.tg-tabs { position: fixed; left: 0; right: 0; bottom: var(--kb, 0px); z-index: 80; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); }
.tg-tabs a { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 14px; font: 700 15px/1 var(--font-body); color: var(--ink); text-decoration: none; background: var(--bg-3); }
.tg-tabs a.is-on { background: var(--gold); color: #1a1208; }
.in-tg body { padding-bottom: calc(70px + var(--kb, 0px)); }
.in-tg .order-bar { bottom: calc(66px + var(--kb, 0px)); }
.in-tg .ai-launch { bottom: calc(84px + var(--kb, 0px)); }
.ai-panel { max-height: calc(var(--vvh, 100svh) - 24px); }
@media (max-width: 520px) { .ai-open .ai-panel { bottom: var(--kb, 0px); } .checkout .co-card { max-height: calc(var(--vvh, 100svh) - 12px); } }
