:root {
  --bg: #111111;
  --surface: #1b1b1b;
  --text: #f4f1ea;
  --muted: #b5b0a4;
  --accent: #f2b542;
  --accent-text: #111111;
  --font-heading: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-accent: 'Lora', Georgia, 'Times New Roman', serif;
}

/* ==========================================================================
   Direction "night" — a dark room with one lit sign.
   Dark page, light text, one accent that "glows": prices, the lamp dot on the
   hours line and the primary button. Serif / display headline, sans body.
   Nothing is a card: blocks are separated by translucent hairlines. The hero
   is short so the menu sits inside the first screen on a phone; on desktop
   (type variant) the headline column stands beside the menu column.

   Tokens from new_site.py: --bg --surface --text --muted --accent --accent-text
                            --font-heading --font-body --font-accent
   Type scale (mobile → desktop), details in NOTES.md:
     h1     clamp(2.75rem, 1.6rem + 5.4vw, 5.75rem)   headline (44 → 92 px)
     h2     clamp(1.5rem, 1.2rem + 1.3vw, 2.25rem)    section titles (24 → 36 px)
     about  clamp(1.25rem, 1.1rem + .8vw, 1.75rem)    serif running text
     h3     1.0625rem → 1.125rem                       menu names, steps
     price  1.125rem → 1.25rem                         serif, accent, tabular
     body   1rem / 1.6;  small .9375rem;  label .72rem / .16em caps
   Spacing: 8px steps (--s1 … --s12) + fluid section padding (--section-pad).
   Grid: single column; from 900px 12-column splits (5/7 stage, 7/5 about,
   3/4/5 contacts). Container 1200px.
   ========================================================================== */

:root {
  --s1: .5rem;  --s2: 1rem;  --s3: 1.5rem;  --s4: 2rem;
  --s5: 2.5rem; --s6: 3rem;  --s8: 4rem;    --s12: 6rem;
  --section-pad: clamp(3rem, 7vw, 5.5rem);
  --page-pad: clamp(1.25rem, 4vw, 3rem);
  --container: 1200px;
  --measure: 32em;
  --radius: 4px;
  --bar-h: 4.75rem;
  /* Translucent light hairlines; the fallbacks assume a light text colour. */
  --hair: rgba(255, 255, 255, .12);
  --hair-strong: rgba(255, 255, 255, .3);
  --veil: var(--bg);
  --accent-dim: var(--surface);
  /* The one glow on the page (lamp dot). */
  --glow: 0 0 0 3px rgba(255, 255, 255, .14), 0 0 18px 2px rgba(255, 255, 255, .45);
}

@supports (color: color-mix(in srgb, red 50%, transparent)) {
  :root {
    --hair: color-mix(in srgb, var(--text) 12%, transparent);
    --hair-strong: color-mix(in srgb, var(--text) 30%, transparent);
    --veil: color-mix(in srgb, var(--bg) 84%, transparent);
    --accent-dim: color-mix(in srgb, var(--accent) 14%, var(--bg));
    --glow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent),
            0 0 18px 2px color-mix(in srgb, var(--accent) 60%, transparent);
  }
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  /* Room for the fixed sticky bar on phones. */
  padding-bottom: var(--bar-h);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 500; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(100% - 2 * var(--page-pad), var(--container)); margin-inline: auto; }

.section { padding-block: var(--section-pad); }
.section + .section { padding-top: 0; }

/* Letter-spaced small label: kickers, dt's, captions, nav. */
.label, .nav a, .contact dt, .kicker, .rule-note {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker { display: flex; align-items: center; gap: .75rem; }
.kicker::before { content: ""; width: 1.5rem; height: 1px; background: var(--accent); }

/* Inline SVG patterns; the parent is position:relative + overflow:hidden. */
.pattern { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }


/* ---------------------------------------------------------------- header */
.site-header {
  border-bottom: 1px solid var(--hair);
  background: var(--bg);
}

/* Phone: brand and nav share a row; a long nav (gallery present, long
   name) drops to its own row and scrolls sideways instead of wrapping. */
.head-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0 var(--s2);
  min-height: 3.5rem;
}

.brand {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
  padding-block: .5rem;
}

.brand { order: 1; }
.nav { order: 3; flex-basis: 100%; display: flex; gap: var(--s2); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--text); white-space: nowrap; }
.nav a:hover { color: var(--accent); }

/* The phone number joins the header from 900px (phones have the sticky bar). */
.head-phone { display: none; }

@media (min-width: 900px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--veil);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
  .head-grid { display: grid; grid-template-columns: auto 1fr auto auto; gap: var(--s4); min-height: 4rem; }
  .nav { grid-column: 2; justify-self: center; gap: var(--s4); overflow: visible; }
  .head-phone { grid-column: 3; }
  .head-phone {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-variant-numeric: tabular-nums;
    text-decoration: none;
    color: var(--accent);
  }
  .head-phone:hover { text-decoration: underline; }
}

/* ------------------------------------------------------------- hero: copy */
.hero-copy { display: flex; flex-direction: column; gap: var(--s3); }

.hero-title {
  font-size: clamp(2.75rem, 1.6rem + 5.4vw, 5.75rem);
  line-height: .98;
  letter-spacing: -.015em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

/* Hours line: the lamp (the one glow on the page) beside the first line,
   the other lines stacked under it in the heading face. */
.hours-line {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: .875rem;
  align-items: start;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}

.lamp {
  width: .625rem;
  height: .625rem;
  margin-top: .5em;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: var(--glow);
}

.hours-item { grid-column: 2; }

.tagline {
  max-width: 28em;
  font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem);
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s2); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.375rem;
  border: 1px solid var(--hair-strong);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--text);
  background: transparent;
  transition: border-color .2s, background-color .2s, color .2s;
}
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn-call { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn-call:hover { background: var(--text); border-color: var(--text); color: var(--bg); }

/* ------------------------------------------------------- hero: type stage */
.stage { padding-block: var(--s6) var(--s4); }
.menu-section--wide { padding-bottom: var(--s4); }
.hero--type { padding-bottom: var(--s6); border-bottom: 1px solid var(--hair); }
.hero--type + .menu-section { padding-top: var(--s5); }

@media (min-width: 900px) {
  .stage--type {
    display: grid;
    grid-template-columns: 5fr 7fr;
    column-gap: clamp(3rem, 6vw, 6rem);
    padding-top: var(--s8);
  }
  .hero--type {
    position: sticky;
    top: 6rem;
    align-self: start;
    padding-bottom: 0;
    padding-right: var(--s2);
    border-bottom: 0;
  }
  .hero--type + .menu-section {
    padding-top: 0;
    padding-left: clamp(2rem, 4vw, 4rem);
    border-left: 1px solid var(--hair);
  }
}

/* ---------------------------------------------------------- hero: pattern */
.hero--pattern { position: relative; overflow: hidden; padding-block: var(--s6) var(--s4); }
.hero--pattern + .container .menu-section--wide { padding-top: var(--s5); }

/* The ring halo is masked so it fades out well before the edges. */
.hero-halo {
  position: absolute;
  inset: 0;
  -webkit-mask-image: radial-gradient(circle at 50% 38%, #000 0, #000 18%, transparent 62%);
  mask-image: radial-gradient(circle at 50% 38%, #000 0, #000 18%, transparent 62%);
}

.hero-center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s3);
  padding-block: var(--s3) var(--s6);
  text-align: center;
}
/* Centred kicker gets a short accent dash on both sides. */
.hero-center .kicker::after { content: ""; width: 1.5rem; height: 1px; background: var(--accent); }
.hero-center .tagline { text-align: center; }

/* Info bar under the sign: hours | address | buttons, framed by hairlines. */
.hero-bar {
  position: relative;
  display: grid;
  gap: var(--s3);
  padding-block: var(--s3);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.hero-bar-cell--actions { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s2); }

.hero-address {
  font-size: .9375rem;
  line-height: 1.4;
  color: var(--muted);
  text-decoration: none;
}
.hero-address:hover { color: var(--accent); }

/* Phones: the sign, hours and the call button must fit the first screen. */
@media (max-width: 899px) {
  .hero--pattern { padding-block: var(--s4) var(--s2); }
  .hero-center { padding-block: var(--s2) var(--s4); }
  .hero-bar { padding-block: var(--s2); gap: var(--s2); }
  .hero-bar .hero-address { display: none; }
}

@media (min-width: 900px) {
  .hero--pattern { padding-top: var(--s12); }
  .hero-center { padding-bottom: var(--s12); }
  .hero-bar { grid-template-columns: 1fr 1fr auto; align-items: center; gap: var(--s4); }
  .hero-bar-cell + .hero-bar-cell { padding-left: var(--s4); border-left: 1px solid var(--hair); }
}

/* ------------------------------------------------------------ hero: photo */
.hero--photo {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 60vh;
  padding-block: var(--s12) var(--s6);
  overflow: hidden;
}
.hero--photo .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Dark veil: keeps the copy readable and fades the photo into the page. */
.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .55) 45%, var(--bg) 100%);
}
.hero--photo > .container { position: relative; }
.hero--photo + .container .menu-section--wide { padding-top: var(--s6); }

@media (min-width: 900px) {
  .hero--photo { min-height: min(62vh, 580px); padding-top: var(--s8); }
  .hero--photo .hero-copy { max-width: 40em; }
}

/* ------------------------------------------------------------ hero: split */
.hero--split { padding-block: var(--s5) 0; }
.hero-split { display: grid; gap: var(--s5); }
.hero-figure { margin: 0; border: 1px solid var(--hair); }
.hero-figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: brightness(.88) saturate(.9); }
.hero--split + .container .menu-section--wide { padding-top: var(--s6); }

@media (min-width: 900px) {
  .hero--split { padding-top: var(--s8); }
  .hero-split { grid-template-columns: 6fr 6fr; align-items: center; gap: clamp(3rem, 6vw, 6rem); }
  .hero-figure img { aspect-ratio: 3 / 2; }
}

/* ------------------------------------------------------------ rule heads */
.rule-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s2);
  margin-bottom: var(--s4);
}
.section-title {
  font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -.01em;
}
.rule { flex: 1 1 3rem; height: 1px; background: var(--hair); }
.rule-note { flex: none; text-decoration: none; }
a.rule-note { display: inline-flex; align-items: center; min-height: 44px; }
a.rule-note:hover { color: var(--accent); }

/* ------------------------------------------------------------------ menu */
.menu { border-top: 1px solid var(--hair); }
.menu-item { padding-block: var(--s2); border-bottom: 1px solid var(--hair); }

.menu-row {
  display: flex;
  align-items: baseline;
  gap: var(--s2);
}
.menu-name {
  flex: 1 1 auto;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
}
.menu-price {
  flex: none;
  margin-left: auto;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  line-height: 1.2;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
.menu-desc {
  margin-top: .25rem;
  max-width: var(--measure);
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--muted);
}

@media (min-width: 900px) {
  .menu-item { padding-block: var(--s3); }
  .menu-name { font-size: 1.125rem; }
  .menu-price { font-size: 1.25rem; }
  /* The wide menu (pattern / photo / split) runs in two columns. */
  .menu-section--wide .menu { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(3rem, 6vw, 6rem); }
}

/* ----------------------------------------------------------------- about */
.about-grid { display: grid; gap: var(--s5); }

.about-text {
  max-width: var(--measure);
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 1.1rem + .8vw, 1.75rem);
  line-height: 1.4;
  text-wrap: pretty;
}

.about-aside { display: grid; gap: var(--s4); align-content: start; }

.rating { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: var(--s2); }
.rating-value {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 2rem + 2vw, 3.75rem);
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.rating-label { font-size: .875rem; line-height: 1.4; color: var(--muted); }

.facts li {
  display: flex;
  gap: var(--s2);
  padding-block: .75rem;
  border-top: 1px solid var(--hair);
  font-size: .9375rem;
  line-height: 1.5;
}
.facts li:last-child { border-bottom: 1px solid var(--hair); }
.facts li::before { content: ""; flex: none; width: 1rem; height: 1px; margin-top: .75em; background: var(--accent); }

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 7fr 4fr; column-gap: clamp(3rem, 8vw, 8rem); }
  .about-aside { padding-top: .5rem; }
}

/* ----------------------------------------------------------------- steps */
.steps { display: grid; border-top: 1px solid var(--hair); }
.step { display: grid; grid-template-columns: auto 1fr; gap: .25rem var(--s2); padding-block: var(--s3); border-bottom: 1px solid var(--hair); }
.step-num {
  grid-row: 1 / 3;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.step-name { font-family: var(--font-body); font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }
.step-desc { max-width: 30em; font-size: .9375rem; line-height: 1.5; color: var(--muted); }

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); border-top: 0; }
  .step { grid-template-columns: 1fr; gap: var(--s2) 0; padding: 0 var(--s3) 0 var(--s3); border-bottom: 0; border-left: 1px solid var(--hair); }
  .step:first-child { padding-left: 0; border-left: 0; }
  .step-num { grid-row: auto; font-size: 2.5rem; }
}

/* --------------------------------------------------------------- gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.gallery-item { display: block; }
.gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: brightness(.85); transition: filter .25s; }
.gallery-item:hover img { filter: brightness(1); }

@media (min-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

/* Lightbox from script.js. */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--s4);
  background: var(--veil);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border: 1px solid var(--hair); }
.lightbox-close {
  position: absolute;
  top: var(--s2);
  right: var(--s2);
  width: 44px;
  height: 44px;
  border: 1px solid var(--hair-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { border-color: var(--accent); color: var(--accent); }

/* -------------------------------------------------------------- contacts */
.contacts-grid { display: grid; gap: var(--s5); }
.contacts-col .label { margin-bottom: var(--s2); }

.hours { display: grid; gap: .35rem; font-variant-numeric: tabular-nums; }
.contacts-hours .hours li { font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.3; }
.contacts-actions { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s2); margin-top: var(--s3); }

.contacts { margin: 0; border-top: 1px solid var(--hair); }
.contact { display: grid; grid-template-columns: 6.5rem 1fr; gap: var(--s2); padding-block: .75rem; border-bottom: 1px solid var(--hair); }
.contact dt { padding-top: .35em; }
.contact dd { margin: 0; font-size: 1rem; line-height: 1.5; }
/* Inline links get a 44px tap height without moving the text. */
.contact dd a { display: inline-block; padding-block: .6em; margin-block: -.6em; text-decoration: none; }
.contact dd a:hover { color: var(--accent); text-decoration: underline; }
.contact-phone dd a { font-family: var(--font-heading); font-size: 1.125rem; color: var(--accent); }

.map { aspect-ratio: 4 / 3; border: 1px solid var(--hair); background: var(--surface); }
/* The embed is pushed into the dark: inverted, desaturated, slightly dimmed. */
.map iframe { display: block; width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(180deg) saturate(.5) brightness(.95); }

.route-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: var(--s2);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.route-link::after { content: "→"; margin-left: .5em; }
.route-link:hover { text-decoration: underline; }

@media (min-width: 900px) {
  .contacts-grid { grid-template-columns: 3fr 4fr 5fr; column-gap: clamp(2rem, 4vw, 4rem); }
  .contacts-list { padding-left: clamp(2rem, 4vw, 4rem); border-left: 1px solid var(--hair); }
  .map { aspect-ratio: 5 / 4; }
}

/* ---------------------------------------------------------------- footer */
.site-footer { padding-block: var(--s6) var(--s4); border-top: 1px solid var(--hair); background: var(--surface); }
.footer-main { display: grid; gap: .35rem; }
.footer-name { font-family: var(--font-heading); font-size: 1.5rem; line-height: 1.2; }
.footer-address { color: var(--muted); }
.footer-phone a { display: inline-block; padding-block: .3em; font-family: var(--font-heading); font-size: 1.125rem; color: var(--accent); text-decoration: none; }
.footer-phone a:hover { text-decoration: underline; }
.footer-meta { display: flex; flex-wrap: wrap; gap: .35rem var(--s3); margin-top: var(--s4); padding-top: var(--s2); border-top: 1px solid var(--hair); font-size: .8125rem; color: var(--muted); }
.footer-meta a { display: inline-block; padding-block: .2em; }
.footer-credit { margin-left: auto; }

@media (min-width: 900px) {
  .footer-main { grid-template-columns: 1fr auto auto; align-items: baseline; column-gap: var(--s6); }
}

/* ----------------------------------------------------------- sticky bar */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s1);
  padding: .625rem var(--page-pad) calc(.625rem + env(safe-area-inset-bottom, 0px));
  background: var(--veil);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--hair);
  transform: translateY(100%);
  visibility: hidden;
  transition: transform .25s ease, visibility 0s linear .25s;
}
.sticky-bar.is-visible { transform: none; visibility: visible; transition-delay: 0s; }
.sticky-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--hair-strong);
  border-radius: var(--radius);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--text);
}
.sticky-call { border-color: var(--accent) !important; color: var(--accent) !important; }

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .sticky-bar { display: none; }
}

/* -------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Language switch (base/lang_switch.html.j2): a <details> dropdown — current
   language on the button, all three in a small menu under it. */
.lang-switch { position: relative; order: 2; margin-left: auto; }
.lang-switch summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .35em;
  min-height: 44px;
  padding: 0 .75rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text);
  -webkit-user-select: none;
  user-select: none;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary::marker { content: ""; }
.lang-caret { width: .65em; height: .65em; flex: none; transition: transform .15s ease; }
.lang-switch[open] .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + .3rem);
  z-index: 40;
  min-width: 10.5rem;
  margin: 0;
  padding: .3rem;
  list-style: none;
  background: var(--surface);
  color: var(--text);
  border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
  border-radius: 10px; box-shadow: 0 14px 40px rgba(0, 0, 0, .5);
}
.lang-menu a {
  display: flex;
  align-items: center;
  gap: .7em;
  min-height: 42px;
  padding: 0 .75rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: 7px;
}
.lang-menu a:hover { background: var(--bg); }
.lang-menu a[aria-current="page"] { color: var(--accent); pointer-events: none; }
.lang-menu .lang-name { color: var(--muted); font-weight: 400; font-size: .85em; letter-spacing: 0; }
/* Desktop: explicit grid cells (the phone layout uses flex order). This must
   come after the base .lang-switch rule above. */
@media (min-width: 900px) {
  .brand { order: 0; grid-column: 1; grid-row: 1; }
  .nav { order: 0; grid-column: 2; grid-row: 1; }
  .head-phone { grid-column: 3; grid-row: 1; }
  .lang-switch { order: 0; grid-column: 4; grid-row: 1; margin-left: 0; }
}

/* Optional logo (site.yml `logo`) in front of the brand name. */
.brand-logo { display: inline-block; width: 2em; height: 2em; margin-right: .5em; border-radius: 50%; object-fit: cover; vertical-align: middle; }
