/* Fonts (SIL OFL) subset to Hungarian + English: -latin has ASCII and á é í ó ö ú ü, -latin-ext only Ő ő Ű ű.
   shortcut: other accents fall back to Georgia/system; re-subset from @fontsource if more languages are added. */
@font-face { font-family: 'Cormorant Garamond'; font-weight: 600; font-display: swap; src: url('fonts/cormorant-600-latin.woff2') format('woff2'); unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201E, U+2022, U+2026, U+20AC; }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 600; font-display: swap; src: url('fonts/cormorant-600-latin-ext.woff2') format('woff2'); unicode-range: U+0150-0151, U+0170-0171; }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 600; font-style: italic; font-display: swap; src: url('fonts/cormorant-600i-latin.woff2') format('woff2'); unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201E, U+2022, U+2026, U+20AC; }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 600; font-style: italic; font-display: swap; src: url('fonts/cormorant-600i-latin-ext.woff2') format('woff2'); unicode-range: U+0150-0151, U+0170-0171; }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 700; font-display: swap; src: url('fonts/cormorant-700-latin.woff2') format('woff2'); unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201E, U+2022, U+2026, U+20AC; }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 700; font-display: swap; src: url('fonts/cormorant-700-latin-ext.woff2') format('woff2'); unicode-range: U+0150-0151, U+0170-0171; }
@font-face { font-family: 'DM Sans'; font-weight: 400; font-display: swap; src: url('fonts/dmsans-400-latin.woff2') format('woff2'); unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201E, U+2022, U+2026, U+20AC; }
@font-face { font-family: 'DM Sans'; font-weight: 400; font-display: swap; src: url('fonts/dmsans-400-latin-ext.woff2') format('woff2'); unicode-range: U+0150-0151, U+0170-0171; }
@font-face { font-family: 'DM Sans'; font-weight: 500; font-display: swap; src: url('fonts/dmsans-500-latin.woff2') format('woff2'); unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201E, U+2022, U+2026, U+20AC; }
@font-face { font-family: 'DM Sans'; font-weight: 500; font-display: swap; src: url('fonts/dmsans-500-latin-ext.woff2') format('woff2'); unicode-range: U+0150-0151, U+0170-0171; }

:root {
  /* Black + saffron, with deep wine as the supporting colour (about 10-15% of the surface).
     TODO-VERIFY: sample the exact yellow from the owner's vector logo; this is the brief's fallback. */
  --black: #0b0b0c;
  --warm: #14120d;
  --wine: #5a121b;
  --wine-dark: #240d11;
  --wine-tint: #170c0e;
  --saffron: #f2d21b;
  --text: #f4efe4;
  --muted: #b3ac9f;
  --line: rgb(242 210 27 / 0.26);
  /* Menu paper */
  --paper: #f1e7d0;
  --ink: #1a1410;
  --ink-muted: #4a3d31;
  --plaque: #6e1722;
  --gold: #8a6a12;
  --r-s: 14px;
  --r-m: 24px;
  --r-l: clamp(40px, 7vw, 96px);
  --r-pill: 999px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  /* One container (1200 px) and one section padding scale for the whole site */
  --gutter: clamp(16px, 4vw, 40px);
  --wrap: max(var(--gutter), calc((100% - 1200px) / 2));
  --space: clamp(64px, 9vw, 112px);
  --header-h: 64px;
  /* Overall carpet strength: 0.06 / 0.10 / 0.14 compared; 0.14 is the strongest where text still passes WCAG AA (worst 5.5:1) */
  --carpet: 0.14;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* Pointed arch drawn for a 3:4 box; every .arch keeps that ratio so the point never flattens */
  --arch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 75 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V34C0 15 20 6 37.5 0 55 6 75 15 75 34v66Z'/%3E%3C/svg%3E");
  /* A row of small pointed arches standing on a base line, for the footer's top edge */
  --arch-row: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='18' fill='none' stroke='%23f2d21b' stroke-width='1.2'%3E%3Cpath d='M0 17.4h28M1 17.4V11C1 6 8 3 14 1c6 2 13 5 13 10v6.4'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { background: var(--black); scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--black); color: var(--text); font: 400 1.0625rem/1.65 var(--sans); overflow-x: clip; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.05; }
/* Cormorant defaults to old-style figures; prices and "1. terem" need lining, even-width digits */
h1, h2, h3, .brand, .price, .plaque, .plaque-sub, .card-title, .footer-mark, .panel nav a, .room-story { font-variant-numeric: lining-nums tabular-nums; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--saffron); }
h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 20px; }
h3 { font-size: 1.5rem; }
p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
/* The inline background-image is a 24 px blurred copy of the photo: colour and shape show at 0 ms, the photo paints over it with no fade */
picture { display: block; background: var(--warm) center / cover no-repeat; }
section { padding: var(--space) var(--wrap); }
main { overflow-x: clip; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.section-lead { max-width: 40em; color: var(--muted); font-size: 1.15rem; }


/* Persian carpet, composed: a field of small motifs (kept near-plain inside the 1200 px text container), woven border bands down
   both page sides on wide screens, a medallion behind the hero photo, and thin band strips on phones. Never on the menu paper. */
.carpet { position: relative; isolation: isolate; }
.carpet::before, .carpet::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.carpet::before { --clear: linear-gradient(90deg, #000 calc(50% - 640px), rgb(0 0 0 / 0.3) calc(50% - 560px), rgb(0 0 0 / 0.3) calc(50% + 560px), #000 calc(50% + 640px));
  background: url('images/carpet-field.svg') center top / 72px; opacity: calc(var(--carpet) * 0.72); -webkit-mask: var(--clear); mask: var(--clear); }
.carpet::after { display: none; opacity: calc(var(--carpet) * 1.28); }
.medallion { position: absolute; left: 50%; top: 50%; z-index: -1; width: 560px; aspect-ratio: 400 / 640; translate: -50% -50%; background: url('images/carpet-medallion.svg') center / contain no-repeat; opacity: calc(var(--carpet) * 1.28); pointer-events: none; }
/* Buttons never sit on the pattern */
.carpet .btn-ghost:not(:hover), .carpet .badge { background-color: var(--black); }
@media (min-width: 1360px) {
  .carpet::after { display: block; background: url('images/carpet-band-v.svg') calc(50% - 660px) 0 / 40px repeat-y, url('images/carpet-band-v.svg') calc(50% + 660px) 0 / 40px repeat-y; }
}

.skip { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 12px 18px; border-radius: var(--r-pill); background: var(--saffron); color: var(--black); }
.skip:focus { top: 16px; }

/* Buttons and store badges */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px; border: 1px solid var(--saffron); border-radius: var(--r-pill); background: var(--saffron); color: var(--black); font: 500 1rem var(--sans); text-decoration: none; cursor: pointer; transition: transform 0.2s var(--ease), background 0.2s, color 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--saffron); }
.btn-ghost:hover { background: var(--saffron); color: var(--black); }
.btn-small { min-height: 44px; padding: 8px 18px; font-size: 0.9375rem; }
.badge { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 22px; border: 1px solid var(--line); border-radius: var(--r-pill); color: var(--text); text-decoration: none; transition: border-color 0.2s, transform 0.2s var(--ease); }
.badge:hover { border-color: var(--saffron); transform: translateY(-2px); }
.badge img { filter: brightness(0) saturate(100%) invert(84%) sepia(52%) saturate(860%) hue-rotate(3deg); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Shapes */
.arch { aspect-ratio: 3 / 4; -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat; overflow: hidden; }
.arch img, .plate img, .tile img, .hero-circle img { width: 100%; height: 100%; object-fit: cover; }
.stars { display: flex; justify-content: center; gap: 10px; margin-bottom: 24px; }
.star { width: 12px; height: 12px; fill: var(--saffron); stroke: none; }
.stars .star:nth-child(even) { fill: var(--wine); stroke: var(--saffron); stroke-width: 1.2; }
/* Round plate with a thin brass-tray ring; the ring turns on hover */
.plate { position: relative; aspect-ratio: 1; width: 100%; max-width: 220px; margin: 8px auto 24px; }
.plate picture { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }
.plate::after { content: ''; position: absolute; inset: -8px; border: 1.5px dashed var(--saffron); border-radius: 50%; opacity: 0.7; transition: transform 6s linear; }
.plate:hover::after, .dish:hover .plate::after { transform: rotate(180deg); }

/* Header: attached to the top, full width, one hairline */
.header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 20px; height: var(--header-h); padding: 0 var(--wrap); border-bottom: 1px solid var(--line); background: rgb(11 11 12 / 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 44px; min-height: 48px; margin-right: auto; font: 600 1.4rem var(--serif); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; color: var(--saffron); text-decoration: none; }
.brand img { width: 28px; }
.nav { display: flex; gap: 2px; }
.nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; font-weight: 500; text-decoration: none; text-underline-offset: 8px; }
.nav a:hover, .nav a[aria-current] { color: var(--saffron); text-decoration: underline; text-decoration-color: var(--wine); text-decoration-thickness: 2px; }
.nav .icon { color: var(--saffron); }
/* Language: one flag button; a small list drops down (current language on top) */
.lang { position: relative; }
.flag { width: 22px; height: 15px; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.3); }
.lang-btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 44px; min-height: 44px; padding: 0 8px 0 12px; border: 1px solid var(--line); border-radius: var(--r-pill); background: none; color: var(--saffron); cursor: pointer; transition: border-color 0.2s; }
.lang-btn:hover, .lang.is-open .lang-btn { border-color: var(--saffron); }
.chev { width: 16px; height: 16px; transition: rotate 0.18s var(--ease); }
.lang.is-open .chev { rotate: 180deg; }
.lang-menu { position: absolute; top: calc(100% + 6px); left: 50%; z-index: 60; min-width: 96px; padding: 4px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--wine-dark); box-shadow: 0 12px 30px rgb(0 0 0 / 0.5);
  translate: -50% -4px; opacity: 0; visibility: hidden; transition: opacity 0.16s var(--ease), translate 0.16s var(--ease), visibility 0s 0.16s; }
.lang.is-open .lang-menu { translate: -50% 0; opacity: 1; visibility: visible; transition-delay: 0s; }
.lang-opt { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 10px; font: 500 0.875rem var(--sans); text-decoration: none; }
.lang-opt[aria-current] { color: var(--saffron); }
a.lang-opt:hover, a.lang-opt:focus-visible { background: rgb(242 210 27 / 0.12); color: var(--saffron); }
/* Soft page change between the two languages: quick fade out, then fade in at the same scroll spot */
html.lang-out body { opacity: 0; transition: opacity 0.15s ease; }
html.lang-in body { opacity: 0; }
body { transition: opacity 0.22s ease; }
.header-phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; color: var(--saffron); font-weight: 500; text-decoration: none; white-space: nowrap; }
.header-phone:hover { text-decoration: underline; }
.menu-btn { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--text); cursor: pointer; place-items: center; }
.menu-btn .icon { width: 22px; height: 22px; }

/* Phone menu: an arch-shaped panel under the header */
.panel { position: fixed; z-index: 70; top: calc(var(--header-h) + 12px); left: 12px; right: 12px; display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 110px 24px 32px; border: 1px solid var(--line); border-radius: 50% 50% var(--r-m) var(--r-m) / 110px 110px var(--r-m) var(--r-m); background: var(--wine-dark); box-shadow: 0 30px 80px rgb(0 0 0 / 0.6); transform-origin: top center; animation: open 0.35s var(--ease) both; }
.panel[hidden] { display: none; }
.panel nav { display: flex; flex-direction: column; align-items: stretch; width: 100%; }
.panel nav a { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 60px; border-bottom: 1px solid var(--line); font: 600 1.8rem var(--serif); text-decoration: none; }
.panel nav a .icon { color: var(--saffron); width: 22px; height: 22px; }
.panel .btn { width: 100%; }

/* Hero: a soft wine glow in the top-right corner */
.hero { display: grid; grid-template-columns: 1fr auto; gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: 56px; padding-bottom: 72px; overflow: clip; background: radial-gradient(circle at 100% 0, rgb(90 18 27 / 0.55), transparent 48%), var(--black); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--saffron); font-weight: 500; }
.eyebrow::before { content: ''; width: 9px; height: 9px; border: 1px solid var(--saffron); border-radius: 50%; background: var(--wine); }
.hero h1 { font-size: clamp(3.2rem, 8vw, 6.4rem); line-height: 0.98; }
/* Padding stops the line mask clipping accents (Í, É) and the italic descenders */
.hero h1 .line { display: block; overflow: hidden; padding-block: 0.1em; margin-block: -0.1em; }
.hero h1 .line > * { display: inline-block; animation: up 0.9s var(--ease) both; }
.hero h1 .line + .line > * { animation-delay: 0.12s; }
.lead { margin-top: 24px; max-width: 26em; font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--muted); }
.hero-art { position: relative; width: min(382px, 74vw); margin: 0 auto; }
.hero-arch { width: 100%; }
.hero-circle { position: absolute; left: -22%; bottom: 6%; width: 42%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid var(--black); outline: 1px solid var(--saffron); outline-offset: 6px; }
.hero-circle picture { width: 100%; height: 100%; }

/* Quick info: three equal columns, label above value */
.info { padding-top: 28px; padding-bottom: 28px; border-block: 1px solid var(--line); background: var(--warm); }
.info dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.info dt, .find dt { display: inline-flex; align-items: center; gap: 8px; color: var(--saffron); font-size: 0.875rem; font-weight: 500; }
.info dt::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--wine); box-shadow: 0 0 0 1px var(--saffron); }
.info dd { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 44px; font-size: 1.05rem; }
.info dd a { display: inline-flex; align-items: center; min-height: 44px; }
.status { font-weight: 500; color: var(--muted); }
.status.is-open { color: var(--saffron); }

/* Four equal shortcut cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; padding: 12px 12px 20px; border: 1px solid transparent; border-radius: var(--r-m); color: var(--text); text-align: center; text-decoration: none; transition: background 0.3s, border-color 0.3s; }
/* 358 px wide keeps the 3:4 arch no taller than the 478 px koobideh photo */
.card picture { width: 100%; max-width: 358px; margin-bottom: 12px; }
.card:hover { border-color: rgb(90 18 27 / 0.9); background: var(--wine-tint); }
.card-title { display: inline-flex; align-items: center; gap: 10px; color: var(--saffron); font: 600 1.6rem/1.1 var(--serif); }
.card-line { color: var(--muted); font-size: 0.9375rem; }

/* Get the app: one slim, centred band */
.band { padding-top: 56px; padding-bottom: 56px; border-block: 1px solid rgb(90 18 27 / 0.8); background: var(--wine-tint); text-align: center; }
.band h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 10px; }
.band p { color: var(--muted); }
.band .actions { justify-content: center; margin-top: 24px; }
.more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 12px; color: var(--saffron); font-weight: 500; }

/* About: centred */
.about { text-align: center; }
.about p { max-width: 36em; margin: 0 auto; font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--muted); }

/* Two rounded tops on the home page, attached: each overlaps the previous section, whose colour shows behind the curve */
.sheet { position: relative; z-index: 1; margin-top: -48px; border-radius: var(--r-l) var(--r-l) 0 0; }

/* Signature dishes: four equal columns, centred */
.dishes { background: var(--warm); text-align: center; }
.dishes h2 { margin-bottom: 48px; }
.dish-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 32px; margin-bottom: 56px; }
/* Two-line title box, so every description starts at the same height */
.dish h3 { font-size: 1.4rem; line-height: 1.2; min-height: 2.4em; }
.dish p { color: var(--muted); max-width: 22em; margin: 6px auto 0; font-size: 0.9375rem; }

/* Rooms: three equal cards, centred */
.rooms { background: var(--wine-tint); text-align: center; }
.rooms .section-lead { margin: 0 auto; }
.room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.room-card picture { width: 100%; max-width: 382px; margin: 0 auto 20px; }
.room-vibe { max-width: 22em; margin: 8px auto 0; color: var(--text); }
.room-story { margin-top: 6px; color: var(--muted); font: italic 600 1.1rem var(--serif); }
.events { max-width: 40em; margin: 56px auto 0; padding-top: 40px; border-top: 1px solid var(--line); }
.events p { font-size: 1.15rem; }
.events .actions { justify-content: center; margin-top: 24px; }

/* Tea: a mihrab frame, two equal columns */
.tea { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.mihrab { position: relative; padding: clamp(110px, 14vw, 170px) clamp(28px, 5vw, 64px) clamp(32px, 4vw, 56px); text-align: center; }
.mihrab-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mihrab-line path { fill: none; stroke: var(--saffron); stroke-width: 1; vector-effect: non-scaling-stroke; }
.mihrab-line path + path { stroke: var(--wine); stroke-width: 2; }
.mihrab p { color: var(--muted); font-size: 1.15rem; }
.tea-icon { width: 56px; height: 66px; margin: 0 auto 16px; fill: none; stroke: var(--saffron); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.tea-icon .steam { animation: steam 5s ease-in-out infinite; }
.plate-big { max-width: 420px; }

/* Find us: details and map in two equal columns */
.find { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; background: var(--warm); }
.find h2 { grid-column: 1 / -1; margin-bottom: 0; }
.find dl div:first-child { padding-top: 0; }
.find dl div { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.find dd { overflow-wrap: anywhere; font-size: 1.05rem; }
.find dd a { display: inline-flex; align-items: center; min-height: 44px; }
.map { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--black); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.find-map .actions { margin-top: 16px; }

/* Footer: solid dark wine, attached, a saffron hairline and a row of whole arches on its top edge */
.footer { padding: 0 var(--wrap) calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--saffron); background: var(--wine-dark); color: var(--muted); font-size: 0.9375rem; }
/* round: the browser fits a whole number of 28 px arches into the container, so the last one is never cut */
.arch-row { height: 18px; margin-bottom: 40px; background: var(--arch-row) left top / 28px 18px; background-repeat: round no-repeat; opacity: 0.55; }
.footer-mark { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; font: 700 clamp(1.6rem, 3vw, 2.1rem)/1 var(--serif); letter-spacing: 0.06em; text-transform: uppercase; color: var(--saffron); }
.footer-mark img { width: 28px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-cols > div { padding-top: 16px; border-top: 1px solid var(--line); }
.footer h2 { margin-bottom: 8px; font-size: 1.3rem; color: var(--saffron); }
.footer h2.follow { margin-top: 20px; }
.footer-cols a, .with-icon { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); text-decoration: none; }
.footer-cols a:hover { color: var(--saffron); }
.footer-cols .icon { color: var(--saffron); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer .badge { min-height: 44px; padding: 8px 16px; font-size: 0.875rem; }
.social { display: flex; gap: 12px; }
.social a { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; color: var(--saffron); transition: background 0.2s, color 0.2s; }
.social a:hover { background: var(--saffron); color: var(--black); }
.social .icon { width: 20px; height: 20px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 24px; margin-top: 40px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 0.8125rem; }
.footer-bottom > p:first-child { padding-block: 12px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
/* SamBUD credit: the small glossy red S */
.footer-links .credit { justify-content: center; width: 44px; height: 44px; transition: transform 0.2s var(--ease); }
.credit svg { width: 22px; height: 22px; overflow: visible; }
.credit text { font: 700 24px var(--serif); fill: url(#credit-s); stroke: #000; stroke-width: 1px; paint-order: stroke; }
.credit:hover { transform: translateY(-2px); }
/* Demo labels: small, fixed, always on screen; never block clicks */
.demo { position: fixed; left: 50%; z-index: 95; translate: -50% 0; margin: 0; padding: 3px 12px; border-radius: var(--r-pill); background: #c8102e; color: #fff; font: 600 0.75rem/1.4 var(--sans); letter-spacing: 0.14em; pointer-events: none; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.4), 0 4px 14px rgb(0 0 0 / 0.5); }
.demo-top { top: calc(var(--header-h) + 8px); }
.demo-bottom { bottom: calc(12px + env(safe-area-inset-bottom)); }

/* Inner pages: centred heads */
.page-head { padding-bottom: 32px; text-align: center; }
.page-head h1 { font-size: clamp(3rem, 8vw, 5.4rem); line-height: 1; }
.page-head .section-lead { margin: 16px auto 0; }
.page-head .actions { justify-content: center; }

/* Menu: sticky category pills under the header on every screen size */
.cat-pills { position: sticky; top: var(--header-h); z-index: 40; padding: 8px var(--wrap); border-bottom: 1px solid var(--line); background: rgb(11 11 12 / 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.cat-pills div { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.cat-pills a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--r-pill); white-space: nowrap; font-weight: 500; font-size: 0.9375rem; text-decoration: none; transition: background 0.2s; }
.cat-pills a[aria-current], .filters button[aria-pressed='true'] { border-color: var(--saffron); background: var(--wine); color: var(--text); }

/* Menu: one paper card per category, like the pages of a printed menu */
.menu-book { display: grid; justify-items: center; gap: 88px; padding-top: 88px; }
.menu-card { position: relative; width: min(820px, 100%); padding: 72px clamp(20px, 5vw, 56px) 40px; border-radius: var(--r-s); background: var(--paper); color: var(--ink); scroll-margin-top: 110px; box-shadow: 0 24px 60px rgb(0 0 0 / 0.45); }
/* Double hairline frame inside the card */
.menu-card::before, .menu-card::after { content: ''; position: absolute; border: 1px solid var(--gold); border-radius: 8px; pointer-events: none; }
.menu-card::before { inset: 10px; }
.menu-card::after { inset: 14px; opacity: 0.6; }
/* Title plaque: wine, arched top, overlapping the card's top edge */
.plaque { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; width: fit-content; max-width: 100%; margin: -108px auto 36px; padding: 14px 40px 12px; border: 2px solid var(--gold); border-radius: 999px 999px 14px 14px / 56px 56px 14px 14px; background: var(--plaque); color: var(--saffron); font-size: clamp(1.6rem, 4vw, 2.1rem); text-align: center; }
.plaque-sub { margin-top: 2px; font: italic 600 1.05rem var(--serif); color: var(--paper); }
.menu-photos { display: grid; gap: 12px; margin-bottom: 28px; }
.menu-photos.n2 { grid-template-columns: repeat(2, 1fr); }
.menu-photos.n3 { grid-template-columns: repeat(3, 1fr); }
.tile { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; }
.mi { position: relative; z-index: 1; padding: 14px 0; border-bottom: 1px solid rgb(138 106 18 / 0.35); }
.mi:last-child { border-bottom: 0; }
.mi-line, .price-opts li { display: flex; align-items: baseline; gap: 10px; }
.mi h3 { flex: 0 1 auto; font-size: 1.3rem; line-height: 1.2; color: var(--ink); }
.leader { flex: 1 1 24px; min-width: 24px; border-bottom: 2px dotted rgb(26 20 16 / 0.35); translate: 0 -5px; }
.price { flex: none; font: 700 1.2rem var(--serif); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; color: var(--plaque); }
.mi .desc, .choice { margin-top: 2px; color: var(--ink-muted); font-size: 0.9375rem; }
.price-opts { margin-top: 6px; }
.price-opts li { color: var(--ink-muted); font-size: 0.9375rem; }
.price-opts .price { font-size: 1.05rem; }
.page-foot { padding-top: 0; text-align: center; }

/* Gallery: tabs with counts, one uniform 4:3 grid */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.filters button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--r-pill); background: none; color: var(--text); font: 500 0.9375rem var(--sans); cursor: pointer; }
.count { color: var(--muted); font-size: 0.8125rem; }
.filters button[aria-pressed='true'] .count { color: var(--saffron); }
.gallery-wrap { padding-top: 16px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery li[hidden] { display: none; }
.g-item { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r-s); background: none; cursor: zoom-in; overflow: hidden; }
.g-item picture { aspect-ratio: 4 / 3; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), opacity 0.45s var(--ease); }
.g-item:hover img { transform: scale(1.03); }
.gallery-wrap .actions { justify-content: center; margin-top: 40px; }
.lightbox { max-width: 94vw; max-height: 94vh; padding: 0; border: 0; background: none; color: var(--text); overflow: visible; }
.lightbox::backdrop { background: rgb(11 11 12 / 0.94); }
.lightbox[open] { animation: settle 0.3s var(--ease) both; }
.lightbox picture { background: none; }
/* Horizontal swipes belong to the lightbox, not the page or the browser's image drag */
.lightbox figure { touch-action: pan-y pinch-zoom; }
.lightbox img { -webkit-user-drag: none; user-select: none; max-height: 80vh; width: auto; margin: 0 auto; border-radius: var(--r-s); }
.lightbox figcaption { margin-top: 12px; text-align: center; color: var(--muted); }
.lb { position: fixed; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%; background: var(--black); color: var(--saffron); cursor: pointer; }
.lb .icon { width: 24px; height: 24px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; translate: 0 -50%; }
.lb-next { right: 16px; top: 50%; translate: 0 -50%; }

/* Order and download: one centred axis */
.app-page { display: flex; flex-direction: column; align-items: center; text-align: center; }
.app-page h1 { font-size: clamp(3rem, 8vw, 5.4rem); line-height: 1; }
.app-page .section-lead { margin: 16px auto 32px; }
.scan { margin: 48px 0 20px; color: var(--muted); }
.stores { display: grid; grid-template-columns: repeat(2, 190px); justify-content: center; gap: 40px; }
.store { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.qr { width: 150px; height: 150px; padding: 8px; border-radius: var(--r-s); background: var(--text); }
.store-label { font-weight: 500; }

/* Phone action bar */
.bar { display: none; }

/* Reveal once, text only */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@keyframes up { from { transform: translateY(110%); } }
@keyframes settle { from { opacity: 0; transform: scale(0.94); } }
@keyframes open { from { opacity: 0; transform: scale(0.96) translateY(-8px); } }
@keyframes steam { 50% { opacity: 0.25; transform: translateY(-5px); } }

@media (max-width: 1359px) {
  .header-phone span { display: none; }
}

@media (max-width: 1199px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .nav .icon { display: none; }
}

@media (max-width: 1023px) {
  .cards, .dish-grid, .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); max-width: 780px; margin-inline: auto; }
}

@media (max-width: 900px) {
  :root { --header-h: 60px; }
  .nav, .header .lang, .header-order { display: none; }
  .menu-btn { display: grid; }
  .header { gap: 12px; }
  .hero, .tea, .find { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .hero-art { width: min(300px, 70vw); margin-top: 8px; }
  .hero-circle { left: -12%; width: 40%; }
  .tea .plate-big { order: -1; max-width: 300px; }
  .find h2 { order: -2; }
  .find-map { order: -1; }
  .page-head h1, .app-page h1 { font-size: clamp(2.8rem, 12vw, 4rem); }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .bar { position: fixed; inset: auto 0 0; z-index: 60; display: flex; gap: 6px; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgb(11 11 12 / 0.96); backdrop-filter: blur(12px); }
  .bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--r-pill); font-weight: 500; text-decoration: none; color: var(--saffron); }
  .bar a:nth-child(2) { background: var(--saffron); color: var(--black); }
  .demo-bottom { bottom: calc(72px + env(safe-area-inset-bottom)); }
}

@media (max-width: 767px) {
  .carpet::before { display: none; }
  .carpet::after { display: block; background: url('images/carpet-band-h.svg') 0 0 / auto 24px repeat-x, url('images/carpet-band-h.svg') 0 100% / auto 24px repeat-x; }
  .medallion { width: 320px; }
  .info dl, .room-grid { grid-template-columns: 1fr; }
  .info dl { gap: 4px; }
  .cards { gap: 12px; }
  .card { padding: 8px 4px 12px; }
  .card-title { font-size: 1.3rem; gap: 6px; }
  .card-line { font-size: 0.875rem; }
  .dish-grid { gap: 36px 16px; }
  .dish h3 { font-size: 1.2rem; }
  .plate { max-width: 150px; }
  .gallery { gap: 12px; }
  /* Phones are already the device: no QR codes, two full-width store buttons */
  .qr, .scan, .store-label { display: none; }
  .stores { grid-template-columns: 1fr; width: 100%; gap: 12px; margin-top: 16px; }
  .stores .badge { width: 100%; }
  .menu-book { padding-left: 12px; padding-right: 12px; }
  .menu-photos.n3 { grid-template-columns: repeat(2, 1fr); }
  .menu-photos.n3 .tile:nth-child(3) { display: none; }
  .plaque { padding: 12px 24px 10px; }
}

@media (max-width: 560px) {
  .room-card .arch { aspect-ratio: 4 / 3; -webkit-mask: none; mask: none; border-radius: var(--r-m); }
  .brand span { display: none; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; gap: 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover, .badge:hover, .g-item:hover img, .plate:hover::after, .dish:hover .plate::after { transform: none; }
}

/* Print: the menu cards only, clean black on white */
@media print {
  html, body { background: #fff; color: #000; }
  .demo, .header, .panel, .cat-pills, .footer, .bar, .skip, .page-head .actions, .page-foot, .menu-photos, .stars { display: none !important; }
  .carpet::before, .carpet::after, .medallion { display: none; }
  section, .menu-book { padding: 0; }
  .page-head h1, .page-head h1 em, .page-head .section-lead { color: #000; }
  .menu-book { gap: 24px; }
  .menu-card { width: 100%; padding: 24px 0; background: #fff; color: #000; box-shadow: none; }
  .menu-card::before, .menu-card::after { display: none; }
  .plaque { margin: 0 0 12px; padding: 0; border: 0; background: none; color: #000; align-items: flex-start; }
  .plaque-sub, .mi h3, .price, .mi .desc, .choice, .price-opts li { color: #000; }
  .mi { break-inside: avoid; border-color: #999; }
  .leader { border-color: #999; }
}
