/* ==========================================================================
   Restoran Maroko — maroko.ba
   Colours come from palette "bundles" (.b-*). A theme = which bundle sits on
   the page and on each section (see THEMES in assets/js/main.js).
   Ornament masks live in ornaments.css.
   ========================================================================== */

@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel.woff") format("woff"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant.woff") format("woff"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-italic.woff") format("woff"); font-weight: 300 700; font-style: italic; font-display: swap; }

/* ---------- palette bundles ---------- */
:root, .b-noc {
  --bg: #070C24; --bg-2: #0A112F; --ink: #E4D9C3; --ink-strong: #F4E8D0; --muted: #B3A68F; --label: #D6A433;
  --accent: #EDCB78; --accent-a: #F6DB95; --accent-b: #B98625; --gold: #D6A433;
  --line: rgba(214, 164, 51, .28); --line-soft: rgba(214, 164, 51, .14);
  --pat-c: #D6A433; --pat-o: .16;
  --glow-a: rgba(35, 64, 165, .48); --glow-b: rgba(22, 44, 140, .42); --glow-c: rgba(19, 69, 86, .40); --gate-glow: rgba(233, 163, 66, .30);
  --btn-bg: linear-gradient(180deg, #EFC867 0%, #D6A433 55%, #BF8D25 100%); --btn-ink: #1A1206; --btn-glow: rgba(214, 164, 51, .7);
  --btn2-ink: #F4E8D0; --btn2-line: #D6A433;
  --card: rgba(5, 9, 30, .55); --card-2: linear-gradient(180deg, rgba(28, 48, 135, .6), rgba(8, 13, 40, .94));
  --scheme: dark; --map-filter: invert(.9) hue-rotate(185deg) saturate(.55) brightness(.92);
  --logo-gold: block; --logo-ink: none;
  --event-a: rgba(35, 64, 165, .62); --event-b: rgba(9, 15, 46, .95);
  --gate-fill: #0A1236; --gate-pat: #D6A433; --band-a: #D6A433; --band-b: #1C2E7A;
  --ribbon-bg: linear-gradient(90deg, #2A0F45, #4B1557 50%, #2A0F45); --ribbon-ink: #F4E8D0;
  --nav-bg: rgba(7, 12, 36, .86);
}
.b-ink { --bg: #141D45; --bg-2: #101738; --glow-a: rgba(35, 64, 165, .35); --glow-b: rgba(87, 21, 107, .3); --glow-c: rgba(19, 69, 86, .3); }
.b-maj, .b-maj-deep {
  --bg: #142383; --bg-2: #101D70; --ink: #EFE6D3; --ink-strong: #FBF4E6; --muted: #CBC3B0; --label: #E2B556;
  --accent: #EDC86C; --accent-a: #F8DE9C; --accent-b: #C98F2A; --gold: #DDAE45;
  --line: rgba(233, 190, 94, .36); --line-soft: rgba(233, 190, 94, .17);
  --pat-c: #E2B556; --pat-o: .17;
  --glow-a: rgba(52, 90, 220, .55); --glow-b: rgba(124, 29, 52, .35); --glow-c: rgba(36, 80, 63, .45); --gate-glow: rgba(233, 163, 66, .3);
  --btn-bg: linear-gradient(180deg, #F0CB6C 0%, #DDAE45 55%, #C2902C 100%); --btn-ink: #1A1206; --btn-glow: rgba(221, 174, 69, .7);
  --btn2-ink: #FBF4E6; --btn2-line: #DDAE45;
  --card: rgba(9, 17, 72, .5); --card-2: linear-gradient(180deg, rgba(35, 64, 165, .6), rgba(13, 24, 90, .94));
  --scheme: dark; --map-filter: invert(.9) hue-rotate(185deg) saturate(.7) brightness(.95);
  --logo-gold: block; --logo-ink: none;
  --event-a: rgba(124, 29, 52, .92); --event-b: rgba(62, 12, 27, .97);
  --gate-fill: #0E1A66; --gate-pat: #E2B556; --band-a: #E2B556; --band-b: #7C1D34;
  --ribbon-bg: linear-gradient(90deg, #5E1428, #7C1D34 50%, #5E1428); --ribbon-ink: #FBF4E6;
  --nav-bg: rgba(20, 35, 131, .88);
}
.b-maj-deep { --bg: #0E1A66; --bg-2: #0B1556; }
.b-palma {
  --bg: #1B3A2E; --bg-2: #15302A; --ink: #EDE5D2; --ink-strong: #FAF3E4; --muted: #C3BCA7; --label: #D9AE52;
  --accent: #E8C068; --accent-a: #F5D995; --accent-b: #C08A2B; --gold: #D4A645;
  --line: rgba(220, 175, 80, .32); --line-soft: rgba(220, 175, 80, .16);
  --pat-c: #D9AE52; --pat-o: .14;
  --glow-a: rgba(60, 125, 96, .5); --glow-b: rgba(184, 134, 46, .16); --glow-c: rgba(8, 26, 20, .6);
  --btn-bg: linear-gradient(180deg, #EFC867 0%, #D6A433 55%, #BF8D25 100%); --btn-ink: #1A1206;
  --btn2-ink: #FAF3E4; --btn2-line: #D4A645; --card: rgba(8, 24, 18, .5);
  --scheme: dark; --logo-gold: block; --logo-ink: none;
}
.b-kilim {
  --bg: #4E1022; --bg-2: #3E0C1B; --ink: #F2E6D6; --ink-strong: #FCF3E6; --muted: #D7C0AE; --label: #E5B45A;
  --accent: #F0C66E; --accent-a: #F8DD9E; --accent-b: #C98F2A; --gold: #DDAA4A;
  --line: rgba(233, 180, 90, .32); --line-soft: rgba(233, 180, 90, .16);
  --pat-c: #E0B055; --pat-o: .13;
  --glow-a: rgba(150, 40, 68, .6); --glow-b: rgba(226, 164, 59, .18); --glow-c: rgba(40, 10, 40, .5);
  --btn-bg: linear-gradient(180deg, #EFC867 0%, #D6A433 55%, #BF8D25 100%); --btn-ink: #1A1206;
  --btn2-ink: #FCF3E6; --btn2-line: #DDAA4A; --card: rgba(30, 6, 14, .5);
  --scheme: dark; --logo-gold: block; --logo-ink: none;
}
.b-tad, .b-sand, .b-menta {
  --bg: #F3E9D6; --bg-2: #EEE2CB; --ink: #2E2620; --ink-strong: #1F1A16; --muted: #6A5A4C; --label: #8A6420;
  --accent: #2340A5; --accent-a: #3556C9; --accent-b: #192E84; --gold: #B8862E;
  --line: rgba(166, 120, 40, .38); --line-soft: rgba(166, 120, 40, .2);
  --pat-c: #2340A5; --pat-o: .085;
  --glow-a: rgba(226, 164, 59, .24); --glow-b: rgba(35, 64, 165, .09); --glow-c: rgba(124, 29, 52, .07); --gate-glow: rgba(226, 164, 59, .35);
  --btn-bg: linear-gradient(180deg, #2D4CC0, #1E389A); --btn-ink: #FBF6EC; --btn-glow: rgba(35, 64, 165, .45);
  --btn2-ink: #1F1A16; --btn2-line: #2340A5;
  --card: rgba(255, 252, 245, .75); --card-2: linear-gradient(180deg, #FCF8F0, #F6EDDD);
  --scheme: light; --map-filter: saturate(.75) sepia(.12);
  --logo-gold: none; --logo-ink: block;
  --event-a: rgba(124, 29, 52, .97); --event-b: rgba(78, 16, 34, .99);
  --gate-fill: #2340A5; --gate-pat: #F3E9D6; --band-a: #F3E9D6; --band-b: #24503F;
  --ribbon-bg: #2340A5; --ribbon-ink: #FBF6EC;
  --nav-bg: rgba(243, 233, 214, .92);
}
.b-sand { --bg: #E9DCC2; --bg-2: #E3D4B8; --card: rgba(255, 251, 242, .6); }
.b-menta { --bg: #E4E8D8; --bg-2: #DCE3D0; --accent: #24503F; --accent-a: #2F6650; --accent-b: #1A3A2D; --label: #2E5A47; --pat-c: #24503F; --pat-o: .09; --glow-a: rgba(169, 203, 184, .6); --glow-b: rgba(36, 80, 63, .12); --glow-c: rgba(226, 164, 59, .15); }

:root {
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --serif: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(.22, .61, .21, 1);
  --nav-h: 84px;
  --tile: 190px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); color-scheme: var(--scheme);
  font-family: var(--serif); font-size: 20px; line-height: 1.6; font-weight: 500;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
  transition: background-color .5s;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--ink-strong); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: rgba(214, 164, 51, .35); }

html.l-bs [data-l="en"], html.l-en [data-l="bs"] { display: none !important; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.logo-gold { display: var(--logo-gold); }
.logo-ink { display: var(--logo-ink); }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--display); font-size: 12px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--label); font-weight: 500; line-height: 1.4;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.eyebrow::after { background: linear-gradient(90deg, var(--gold), transparent); }
.eyebrow.left::before { display: none; }
.h2 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(30px, 3.7vw, 52px); line-height: 1.12; letter-spacing: .035em;
  color: var(--ink-strong); margin: 18px 0 0;
}
.h2 em, .h1 em { font-family: var(--serif); font-style: italic; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--accent); font-size: 1.18em; line-height: .9; }
.lede { font-style: italic; font-size: clamp(21px, 1.7vw, 24px); line-height: 1.5; color: var(--ink-strong); }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.note { font-size: 17px; font-style: italic; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px; border-radius: 1px;
  font-family: var(--display); font-size: 12.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease), color .3s;
  cursor: pointer; border: 0; white-space: nowrap;
}
.btn-gold { color: var(--btn-ink); background: var(--btn-bg); box-shadow: inset 0 1px 0 rgba(255, 245, 220, .4), 0 14px 34px -14px var(--btn-glow); }
.btn-gold:hover { color: var(--btn-ink); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 245, 220, .5), 0 18px 44px -12px var(--btn-glow); }
.btn-line { color: var(--btn2-ink); background: transparent; box-shadow: inset 0 0 0 1px var(--btn2-line); }
.btn-line:hover { color: var(--btn2-ink); background: var(--line-soft); transform: translateY(-2px); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 11.5px; }
.link-arrow { font-family: var(--display); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; display: inline-flex; gap: 10px; align-items: center; color: var(--accent); }
.link-arrow::after { content: "→"; font-family: var(--serif); font-size: 18px; letter-spacing: 0; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- backgrounds ---------- */
.sky { position: relative; isolation: isolate; overflow: hidden; background-color: var(--bg); color: var(--ink); transition: background-color .5s; }
.sky > .bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.bg-glow {
  background:
    radial-gradient(ellipse 70% 55% at var(--g1x, 50%) var(--g1y, 0%), var(--glow-a), transparent 70%),
    radial-gradient(ellipse 55% 50% at var(--g2x, 100%) var(--g2y, 40%), var(--glow-b), transparent 70%),
    radial-gradient(ellipse 55% 50% at var(--g3x, 0%) var(--g3y, 75%), var(--glow-c), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
}
/* every section's glow melts into the base colour at its top and bottom edge, so sections meet without a seam */
.bg-glow, .bg-orbs {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 240px, #000 calc(100% - 240px), transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 240px, #000 calc(100% - 240px), transparent 100%);
}
.hero .bg-glow, .hero .bg-orbs {
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 240px), transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 240px), transparent 100%);
}
.footer .bg-glow {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 240px);
          mask-image: linear-gradient(to bottom, transparent 0, #000 240px);
}
.bg-pattern, .bg-lit {
  background-color: var(--pat-c);
  -webkit-mask-image: var(--m-pattern), radial-gradient(ellipse 75% 70% at 50% 50%, transparent 25%, #000 90%);
          mask-image: var(--m-pattern), radial-gradient(ellipse 75% 70% at 50% 50%, transparent 25%, #000 90%);
  -webkit-mask-size: var(--tile) var(--tile), 100% 100%; mask-size: var(--tile) var(--tile), 100% 100%;
  -webkit-mask-repeat: repeat, no-repeat; mask-repeat: repeat, no-repeat;
  -webkit-mask-composite: source-in; mask-composite: intersect;
  opacity: calc(var(--pat-o) * var(--pat-k, 1));
}
.bg-lit {
  background-color: var(--accent); opacity: 0; transition: opacity .8s var(--ease);
  -webkit-mask-image: var(--m-pattern), radial-gradient(circle 260px at var(--mx, 50%) var(--my, 50%), #000 0%, transparent 100%);
          mask-image: var(--m-pattern), radial-gradient(circle 260px at var(--mx, 50%) var(--my, 50%), #000 0%, transparent 100%);
}
/* hero: the lantern light stays off the photo on the right */
.hero .bg-lit {
  -webkit-mask-image: var(--m-pattern), radial-gradient(circle 260px at var(--mx, 50%) var(--my, 50%), #000 0%, transparent 100%), linear-gradient(to right, #000 0%, #000 36%, transparent 52%);
          mask-image: var(--m-pattern), radial-gradient(circle 260px at var(--mx, 50%) var(--my, 50%), #000 0%, transparent 100%), linear-gradient(to right, #000 0%, #000 36%, transparent 52%);
  -webkit-mask-size: var(--tile) var(--tile), 100% 100%, 100% 100%; mask-size: var(--tile) var(--tile), 100% 100%, 100% 100%;
  -webkit-mask-repeat: repeat, no-repeat, no-repeat; mask-repeat: repeat, no-repeat, no-repeat;
}
@media (max-width: 900px) { .hero .bg-lit { display: none; } }
.hero:hover .bg-lit { opacity: .8; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .9; animation: drift 26s ease-in-out infinite alternate; }
.orb-a { width: 42vw; height: 42vw; left: -12vw; top: 10%; background: radial-gradient(circle, var(--glow-a), transparent 70%); }
.orb-b { width: 36vw; height: 36vw; right: -8vw; bottom: -10%; background: radial-gradient(circle, var(--glow-b), transparent 70%); animation-duration: 32s; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(6%, -5%, 0) scale(1.12); } }

/* carved frieze */
.frieze-wrap { padding: 10px 0; background: var(--bg); position: relative; }
.frieze { height: 54px; position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.frieze::before {
  content: ""; position: absolute; inset: 4px 0; background: var(--gold); opacity: .6;
  -webkit-mask-image: var(--m-pattern-simple), linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
          mask-image: var(--m-pattern-simple), linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-size: 46px 46px, 100% 100%; mask-size: 46px 46px, 100% 100%;
  -webkit-mask-repeat: repeat-x, no-repeat; mask-repeat: repeat-x, no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.star, .ornament i { display: inline-block; background: var(--gold); -webkit-mask: var(--m-star) center / contain no-repeat; mask: var(--m-star) center / contain no-repeat; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 16px; }
.ornament::before, .ornament::after { content: ""; height: 1px; width: min(140px, 22vw); background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament::after { background: linear-gradient(90deg, var(--gold), transparent); }
.ornament i { width: 22px; height: 22px; }

/* ---------- arches ---------- */
.arch { overflow: hidden; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.arch-23 { aspect-ratio: 2 / 3; -webkit-mask-image: var(--m-arch-23); mask-image: var(--m-arch-23); }
.arch-34 { aspect-ratio: 3 / 4; -webkit-mask-image: var(--m-arch-34); mask-image: var(--m-arch-34); }
.arch-frame { position: relative; padding: 12px; }
.arch-frame::before { content: ""; position: absolute; inset: 0; background: var(--gold); opacity: .85; -webkit-mask: var(--m-line-34) center / 100% 100% no-repeat; mask: var(--m-line-34) center / 100% 100% no-repeat; }
.arch-frame.f23::before { -webkit-mask-image: var(--m-line-23); mask-image: var(--m-line-23); }

/* ---------- ribbon + nav ---------- */
.ribbon { position: relative; z-index: 60; background: var(--ribbon-bg); color: var(--ribbon-ink); text-align: center; font-size: 17px; line-height: 1.35; padding: 10px var(--gutter); border-bottom: 1px solid var(--line); }
.ribbon b { font-weight: 700; }
.ribbon a { margin-left: 10px; color: inherit; font-family: var(--display); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; border-bottom: 1px solid currentColor; }
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); margin-bottom: calc(-1 * var(--nav-h)); transition: background .5s var(--ease), box-shadow .5s var(--ease); }
.nav.scrolled { background: var(--nav-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-soft); }
.nav-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo img { width: 112px; height: auto; }
.nav-links { display: flex; gap: clamp(18px, 2.2vw, 34px); }
.nav-links a { font-family: var(--display); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-strong); padding: 10px 0; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 30px; padding: 3px; }
.lang button { font-family: var(--display); font-size: 11px; letter-spacing: .15em; color: var(--muted); background: none; border: 0; border-radius: 30px; padding: 7px 11px; cursor: pointer; min-width: 40px; min-height: 32px; }
.lang button[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-ink); }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: transparent; border-radius: 2px; cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 1.5px; background: var(--ink-strong); position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.mnav { position: fixed; inset: 0; z-index: 70; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: radial-gradient(ellipse at 50% 0%, var(--glow-a), transparent 70%), var(--bg); }
.mnav.open { display: flex; }
.mnav a { font-family: var(--display); font-size: 22px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-strong); padding: 10px 20px; }
.mnav .btn { margin-top: 18px; color: var(--btn-ink); }
.mnav-close { position: absolute; top: 18px; right: var(--gutter); width: 46px; height: 46px; background: none; border: 1px solid var(--line); color: var(--ink-strong); font-size: 26px; cursor: pointer; }
.mnav .lang { margin-top: 18px; }
@media (max-width: 1080px) { .nav-links { display: none; } .burger { display: inline-flex; } .nav-right .btn { display: none; } }
@media (max-width: 520px) { .nav-right .lang { display: none; } :root { --nav-h: 72px; } .nav-logo img { width: 92px; } }

/* ---------- hero ---------- */
.hero { min-height: max(680px, 100svh); padding: calc(var(--nav-h) + 28px) 0 64px; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 88px); align-items: center; }
.hero-text { position: relative; z-index: 2; }
.h1 { margin: 0 0 26px; font-weight: 400; line-height: 1; }
.h1-top { display: block; font-family: var(--display); font-size: clamp(22px, 2.5vw, 36px); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-strong); }
.h1-word {
  display: block; font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(92px, 12vw, 188px); line-height: .92; letter-spacing: -.01em; margin-left: -.04em; padding-bottom: .06em;
  background: linear-gradient(180deg, var(--accent-a) 0%, var(--accent) 45%, var(--accent-b) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede { max-width: 31em; margin-bottom: 14px; }
.hero p.small { max-width: 34em; color: var(--muted); font-size: 19px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.facts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 34px; font-family: var(--display); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-strong); }
.facts .star { width: 12px; height: 12px; }
.facts b { color: var(--accent); font-weight: 600; letter-spacing: .12em; }

.gate-wrap { position: relative; justify-self: center; width: min(470px, 100%); }
.gate-wrap::before { content: ""; position: absolute; inset: -18% -22%; z-index: -1; background: radial-gradient(ellipse 50% 45% at 50% 52%, var(--gate-glow), rgba(154, 62, 34, .1) 55%, transparent 75%); animation: breathe 7s ease-in-out infinite alternate; }
@keyframes breathe { from { opacity: .7; transform: scale(.96); } to { opacity: 1; transform: scale(1.03); } }
.gate { position: relative; aspect-ratio: 500 / 640; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .45)); }
.gate-photos { position: absolute; inset: 0; background: var(--bg-2); -webkit-mask: var(--m-gate) center / 100% 100% no-repeat; mask: var(--m-gate) center / 100% 100% no-repeat; }
.gate-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.1); transition: opacity 1.8s var(--ease), transform 9s linear; }
.gate-photos img.on { opacity: 1; transform: scale(1); }
.gate-photos::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 12, 36, 0) 55%, rgba(7, 12, 36, .55)); }
.gate-frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.g-fill { fill: var(--gate-fill); }
.g-pat { fill: var(--gate-pat); }
.g-patfill { opacity: .5; }
.g-line { stroke: var(--gold); }
.g-band-a { stroke: var(--band-a); opacity: .9; }
.g-band-b { stroke: var(--band-b); opacity: .9; }
.gate-cap { position: absolute; left: 0; right: 0; bottom: 26px; text-align: center; font-family: var(--display); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #F6EEDF; text-shadow: 0 1px 12px rgba(0, 0, 0, .8); }
.gate-dots { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.gate-dots button { width: 34px; height: 30px; background: none; border: 0; cursor: pointer; position: relative; padding: 0; }
.gate-dots button::after { content: ""; position: absolute; left: 4px; right: 4px; top: 14px; height: 1.5px; background: var(--line); transition: background .4s; }
.gate-dots button[aria-current="true"]::after { background: var(--gold); }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: hint 2.6s ease-in-out infinite; }
@keyframes hint { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@media (max-width: 900px) {
  .hero { padding-top: calc(var(--nav-h) + 10px); min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .gate-wrap { order: -1; width: min(340px, 78vw); }
  .hero .lede, .hero p.small { margin-inline: auto; }
  .hero-cta, .facts { justify-content: center; }
  .scroll-hint { display: none; }
  .eyebrow.left::before { display: block; }
}


/* fading side photos (hero: right, story: left) */
.side-photo { position: absolute; top: 0; bottom: 0; width: 60%; z-index: -1; pointer-events: none; }
.side-photo img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.88) saturate(.95); }
.side-photo.right { right: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .35) 22%, #000 62%), linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .35) 22%, #000 62%), linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.side-photo.left { left: 0;
  -webkit-mask-image: linear-gradient(to left, transparent 0%, rgba(0, 0, 0, .35) 22%, #000 62%), linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(to left, transparent 0%, rgba(0, 0, 0, .35) 22%, #000 62%), linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.hero .hero-grid { grid-template-columns: minmax(0, 660px); }
.hero .h1, .hero .lede, .hero p.small { text-shadow: 0 2px 24px rgba(7, 12, 36, .6); }
#prica .story-grid { grid-template-columns: 1fr 1fr; }
#prica .story-text { grid-column: 2; }
@media (max-width: 900px) {
  /* phones + tablets: the photo becomes a full-bleed band on top, at full strength; text sits below it */
  .side-photo, .side-photo.right, .side-photo.left { left: 0; right: 0; width: 100%; bottom: auto; z-index: 0; opacity: 1;
    -webkit-mask-composite: source-over; mask-composite: add; }
  .side-photo img { filter: none; }
  .hero > .wrap, #prica > .wrap { position: relative; z-index: 1; }

  .hero { min-height: 100svh; padding: 45svh 0 78px; align-items: flex-end; }
  .hero .side-photo { height: 72svh;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .45) 0, #000 130px, #000 55%, transparent 100%);
            mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .45) 0, #000 130px, #000 55%, transparent 100%); }
  .hero .side-photo img { object-position: 62% 35%; transform: translateY(-14%); }
  .hero .hero-grid { grid-template-columns: 1fr; }
  .hero p.small { display: none; }
  .hero .h1 { margin-bottom: 16px; }
  .hero .side-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 38%, rgba(7, 12, 36, .72) 66%, var(--bg) 92%); }
  .hero .h1-top, .hero .lede { text-shadow: 0 2px 16px rgba(7, 12, 36, .9), 0 0 3px rgba(7, 12, 36, .6); }
  .hero .h1-word { text-shadow: none; filter: drop-shadow(0 3px 14px rgba(7, 12, 36, .8)); }
  .hero-cta { gap: 10px; margin-top: 24px; }
  .hero-cta .btn { flex: 1 1 auto; padding-inline: 14px; font-size: 11.5px; letter-spacing: .16em; min-height: 50px; }
  .hero .facts { margin-top: 22px; }

  #prica { --ph: clamp(400px, 118vw, 640px); padding-top: 0; }
  #prica .side-photo { height: var(--ph);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 58%, transparent 100%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 58%, transparent 100%); }
  #prica .side-photo img { object-position: 30% 50%; }
  #prica .story-grid { grid-template-columns: 1fr; padding-top: calc(var(--ph) - 96px); }
  #prica .story-text { grid-column: auto; }
  #prica .h2 { text-shadow: 0 2px 16px rgba(7, 12, 36, .9); }
}

/* ---------- sections ---------- */
.sec { padding: clamp(90px, 11vw, 150px) 0; }
.sec-head { max-width: 760px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head p { margin-top: 22px; }

/* story */
.story-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.story-media { position: relative; padding: 0 12% 14% 0; }
.story-small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; border: 1px solid var(--gold); padding: 8px; background: var(--bg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); }
.story-small img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; left: -26px; top: 10%; width: 136px; height: 136px; z-index: 2; color: var(--gold); }
.badge svg { width: 100%; height: 100%; animation: spin 40s linear infinite; position: relative; }
.badge::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); }
.badge .star { position: absolute; inset: 44px; }
@keyframes spin { to { transform: rotate(360deg); } }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 38px; border-top: 1px solid var(--line); }
.stats div { padding: 22px 16px 0 0; }
.stats div + div { padding-left: 20px; border-left: 1px solid var(--line-soft); }
.stats b { display: block; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(44px, 4.4vw, 62px); line-height: 1; color: var(--accent); }
.stats span { display: block; margin-top: 8px; font-family: var(--display); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); line-height: 1.6; }
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-media { max-width: 520px; margin-inline: auto; width: 100%; }
  .badge { left: -8px; width: 112px; height: 112px; } .badge .star { inset: 36px; }
}

/* floors: three arches side by side, stepping down like the house */
.triptych { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); margin-top: 64px; align-items: start; }
.floor-card { text-align: center; }
.floor-card:nth-child(2) { margin-top: 44px; }
.floor-card:nth-child(3) { margin-top: 88px; }
.floor-card .arch-frame { transition: transform .8s var(--ease); }
.floor-card:hover .arch-frame { transform: translateY(-6px); }
.floor-card:hover .arch img { transform: scale(1.05); }
.floor-num { margin-top: 22px; font-family: var(--display); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--label); }
.floor-name { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(50px, 5vw, 76px); line-height: 1; color: var(--ink-strong); margin: 6px 0 12px; }
.floor-card p { max-width: 24em; margin: 0 auto 16px; color: var(--muted); font-size: 19px; }
@media (max-width: 900px) {
  .triptych { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78vw, 340px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 10px; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: none; }
  .triptych::-webkit-scrollbar { display: none; }
  .floor-card { scroll-snap-align: center; }
  .floor-card:nth-child(n) { margin-top: 0; }
  .swipe-hint { display: block; }
}
.swipe-hint { display: none; text-align: center; margin-top: 18px; font-family: var(--display); font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }

/* kitchen */
.dishes.four { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; }
.dishes.four .dish { aspect-ratio: 3 / 4; }
@media (max-width: 900px) { .dishes.four { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; } }
.kitchen-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: end; }
.dishes { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(130px, 13vw, 190px); gap: 18px; margin-top: 64px; }
.dish { position: relative; overflow: hidden; margin: 0; background: var(--bg-2); border-radius: 2px; }
.dish img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.dish:hover img { transform: scale(1.05); }
.dish figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 16px; background: linear-gradient(180deg, transparent, rgba(7, 12, 36, .88)); }
.dish figcaption b { display: block; font-weight: 600; font-size: 21px; line-height: 1.2; color: #F6EEDF; }
.dish figcaption span { display: block; font-style: italic; font-size: 16px; color: #D2C6B0; }
.dish figcaption b span { display: inline; font-style: normal; font-size: inherit; color: inherit; }
.dish::after { content: ""; position: absolute; inset: 8px; border: 1px solid transparent; transition: border-color .6s; pointer-events: none; }
.dish:hover::after { border-color: rgba(230, 190, 100, .6); }
.d1 { grid-column: 1 / span 5; grid-row: span 4; }
.d2 { grid-column: 6 / span 4; grid-row: span 2; }
.d3 { grid-column: 10 / span 3; grid-row: span 3; }
.d4 { grid-column: 6 / span 4; grid-row: span 2; }
.d5 { grid-column: 10 / span 3; grid-row: span 3; }
.d6 { grid-column: 1 / span 5; grid-row: span 2; }
.d7 { grid-column: 6 / span 4; grid-row: span 2; }
.kitchen-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; margin-top: 48px; padding-top: 30px; border-top: 1px solid var(--line-soft); }
.kitchen-foot p { margin: 0; color: var(--muted); font-style: italic; }
@media (max-width: 900px) {
  .kitchen-head { grid-template-columns: 1fr; }
  .dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 12px; }
  .d1 { grid-column: 1 / -1; grid-row: span 2; }
  .d2, .d3, .d4, .d5, .d6, .d7 { grid-column: auto; grid-row: span 1; }
  .dish figcaption { padding: 40px 14px 12px; } .dish figcaption b { font-size: 18px; } .dish figcaption span { font-size: 14px; }
}

/* tea */
.tea-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.tea-media { max-width: 460px; width: 100%; justify-self: center; position: relative; }
.pour { position: absolute; left: 50%; top: -60px; width: 1px; height: 0; background: linear-gradient(transparent, var(--gold)); transition: height 1.6s var(--ease) .3s; }
.in .pour { height: 110px; }
.drinks-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.drinks-list li { font-size: 17px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 30px; color: var(--ink-strong); background: var(--card); }
@media (max-width: 900px) { .tea-grid { grid-template-columns: 1fr; } .tea-text { text-align: center; } .drinks-list { justify-content: center; } }

/* al-maghrib (always dusk) */
.maghrib { position: relative; overflow: hidden; isolation: isolate; text-align: center; color: var(--ink); padding: clamp(110px, 13vw, 170px) 0 clamp(250px, 27vw, 340px); background: linear-gradient(180deg, #0B0A1F 0%, #150F3D 30%, #33124F 58%, #5E1B49 78%, #8A3328 100%); }
.maghrib .bg-pattern { --pat-o: .1; -webkit-mask-image: var(--m-pattern), linear-gradient(180deg, #000, transparent 70%); mask-image: var(--m-pattern), linear-gradient(180deg, #000, transparent 70%); }
.maghrib-word { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(76px, 11vw, 168px); line-height: 1; margin: 22px 0 6px; color: transparent; background: linear-gradient(180deg, #F8E2A6, #E0AE4A 60%, #C3812A); -webkit-background-clip: text; background-clip: text; }
.maghrib-sub { font-family: var(--display); letter-spacing: .32em; text-transform: uppercase; font-size: clamp(13px, 1.3vw, 16px); color: var(--ink-strong); }
.maghrib p.lede { max-width: 30em; margin: 30px auto 0; text-shadow: 0 2px 18px rgba(7, 12, 36, .9); }
.maghrib .time { font-style: normal; font-weight: 600; color: var(--accent); }
.sun { position: absolute; left: 50%; bottom: -2px; width: min(680px, 112vw); aspect-ratio: 2 / 1; transform: translate(-50%, var(--sun-y, 30%)); z-index: -1; }
.sun::before { content: ""; position: absolute; inset: 18% 22% 0; border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: radial-gradient(ellipse 50% 100% at 50% 100%, rgba(255, 196, 102, .55), rgba(232, 122, 58, .25) 55%, transparent 75%); filter: blur(10px); }
.sun img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.horizon { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }

/* events */
.events { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); margin-top: 64px; }
.event { position: relative; padding: 130px 34px 40px; text-align: center; overflow: hidden; isolation: isolate; color: #F2E8D6; }
.event::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, var(--event-a), var(--event-b) 70%); -webkit-mask: var(--m-arch-34) center / 100% 100% no-repeat; mask: var(--m-arch-34) center / 100% 100% no-repeat; }
.event::after { content: ""; position: absolute; inset: 7px; z-index: -1; background: #E2B556; opacity: .7; -webkit-mask: var(--m-line-34) center / 100% 100% no-repeat; mask: var(--m-line-34) center / 100% 100% no-repeat; }
.event .star { width: 44px; height: 44px; margin: 0 auto 22px; display: block; background: #E2B556; }
.event h3 { font-family: var(--display); font-weight: 400; font-size: 23px; letter-spacing: .12em; text-transform: uppercase; color: #FBF4E6; margin: 0 0 14px; }
.event p { color: rgba(242, 232, 214, .82); margin: 0; }
.event .when { display: inline-block; margin-top: 22px; font-family: var(--display); font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: #EDC86C; }
.events-note { text-align: center; margin-top: 40px; color: var(--muted); font-style: italic; }
@media (max-width: 900px) { .events { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* groups */
.groups-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: baseline; color: var(--ink-strong); }
.ticks .star { width: 14px; height: 14px; transform: translateY(2px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.framed { position: relative; padding: 14px; }
.framed::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--gold); }
.framed::after { content: ""; position: absolute; inset: -10px 22px 22px -10px; border: 1px solid var(--line-soft); z-index: -1; }
.framed img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; position: relative; }
@media (max-width: 900px) { .groups-grid { grid-template-columns: 1fr; } .groups-media { max-width: 460px; margin-inline: auto; } }

/* visit + reservation */
.visit-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 5vw, 80px); margin-top: 64px; align-items: stretch; }
.visit-grid .map { margin-top: 0; aspect-ratio: auto; min-height: 420px; }
.info div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.info dt { font-family: var(--display); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--label); padding-top: 5px; }
.info dd { margin: 0; color: var(--ink-strong); }
.info dd small { display: block; color: var(--muted); font-size: 17px; }
.map { margin-top: 30px; position: relative; aspect-ratio: 16 / 10; border: 1px solid var(--line); padding: 8px; background: var(--bg-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: var(--map-filter); }
.map a.btn { position: absolute; right: 18px; bottom: 18px; }
.res { position: relative; padding: clamp(28px, 4vw, 48px); background: var(--card-2); border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .35); }
.res::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--line-soft); pointer-events: none; }
.res h3 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: .08em; text-transform: uppercase; margin: 0; color: var(--ink-strong); }
.res h3 em { font-family: var(--serif); text-transform: none; color: var(--accent); letter-spacing: 0; font-size: 1.15em; }
.res > p { color: var(--muted); margin: 10px 0 26px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; position: relative; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--display); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--label); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 10px 14px; border-radius: 1px; background: var(--card); border: 1px solid var(--line); color: var(--ink-strong); font-family: var(--serif); font-size: 19px; font-weight: 500; color-scheme: var(--scheme); transition: border-color .3s; }
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.form-actions .btn { flex: 1 1 200px; }
.form-note { grid-column: 1 / -1; font-size: 16px; color: var(--muted); font-style: italic; margin: 4px 0 0; }
.form-err { grid-column: 1 / -1; color: #E0785A; font-size: 17px; margin: 0; }
@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; } .info div { grid-template-columns: 1fr; gap: 4px; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

/* footer */
.footer { position: relative; padding: 100px 0 40px; text-align: center; }
.footer-logo { width: 190px; margin: 0 auto 26px; }
.footer-tag { font-style: italic; font-size: 22px; color: var(--ink-strong); margin: 0 0 40px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; max-width: 900px; margin: 0 auto; padding: 36px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.footer-cols h4 { font-family: var(--display); font-weight: 400; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--label); margin: 0 0 10px; }
.footer-cols p { margin: 0; color: var(--ink-strong); font-size: 18px; line-height: 1.7; }
.footer-cols a { color: var(--ink-strong); }
.footer-cols a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 28px; font-family: var(--display); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.footer-bottom a { color: var(--muted); }
.footer .frieze-wrap { position: absolute; top: 0; left: 0; right: 0; background: none; }
@media (max-width: 700px) { .footer-cols { grid-template-columns: 1fr; } .footer-bottom { justify-content: center; } }

/* ---------- temporary palette switcher ---------- */
.theme-switch {
  position: fixed; left: 16px; bottom: 16px; z-index: 90; display: flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 10px; border-radius: 40px; cursor: pointer;
  background: rgba(14, 12, 34, .88); border: 1px solid rgba(214, 164, 51, .6); color: #F4E8D0;
  font-family: var(--display); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.theme-switch .sw { display: flex; }
.theme-switch .sw i { width: 16px; height: 16px; border-radius: 50%; margin-left: -4px; border: 1.5px solid rgba(14, 12, 34, .9); }
.theme-switch .sw i:first-child { margin-left: 0; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1x { transition-delay: .12s; } .rv.d2x { transition-delay: .24s; } .rv.d3x { transition-delay: .36s; }
.no-js .rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01s !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

/* ==========================================================================
   Menu page
   ========================================================================== */
.menu-hero { padding: calc(var(--nav-h) + 70px) 0 60px; text-align: center; }
.menu-hero .h1-word { font-size: clamp(80px, 10vw, 150px); }
.menu-hero .eyebrow { margin-bottom: clamp(22px, 2.6vw, 34px); }
.menu-hero p { max-width: 36em; margin: 18px auto 0; color: var(--muted); }
.menu-tabs { display: inline-flex; margin-top: 34px; border: 1px solid var(--line); padding: 4px; border-radius: 40px; }
.menu-tabs button { font-family: var(--display); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-strong); background: none; border: 0; border-radius: 40px; padding: 12px 26px; cursor: pointer; min-height: 44px; }
.menu-tabs button[aria-selected="true"] { background: var(--btn-bg); color: var(--btn-ink); }
.cats { position: sticky; top: var(--nav-h); z-index: 30; background: var(--nav-bg); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.cats-in { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.cats-in::-webkit-scrollbar { display: none; }
.cats a { flex: none; font-family: var(--display); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding: 10px 14px; border: 1px solid transparent; border-radius: 30px; white-space: nowrap; }
.cats a:hover, .cats a.on { color: var(--ink-strong); border-color: var(--line); }
.menu-body { padding: 40px 0 120px; }
.mcat { max-width: 920px; margin: 0 auto; padding-top: 70px; }
.mcat-head { text-align: center; margin-bottom: 26px; }
.mcat-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3vw, 38px); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-strong); margin: 14px 0 4px; }
.mcat-head p { font-style: italic; color: var(--muted); margin: 0; }
.mitem { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.mitem h3 { margin: 0; font-weight: 600; font-size: 23px; line-height: 1.25; color: var(--ink-strong); }
.mitem .alt { font-style: italic; color: var(--muted); font-size: 17px; }
.mitem .desc { grid-column: 1 / -1; color: var(--ink); font-size: 18px; line-height: 1.55; margin: 6px 0 0; max-width: 46em; opacity: .92; }
.mitem .price { text-align: right; font-family: var(--display); font-size: 17px; letter-spacing: .06em; color: var(--accent); white-space: nowrap; }
.mitem .price small { font-size: 11px; letter-spacing: .14em; color: var(--muted); margin-left: 4px; }
.mitem .qty { display: block; font-family: var(--serif); font-style: italic; font-size: 15px; letter-spacing: 0; color: var(--muted); }
.menu-note { max-width: 920px; margin: 60px auto 0; text-align: center; color: var(--muted); font-style: italic; }

/* ---------- first-visit language picker ---------- */
html.picking body { overflow: hidden; }
.lang-pick { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(ellipse 70% 60% at 50% 42%, rgba(35, 64, 165, .38), transparent 70%), rgba(5, 9, 28, .82);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: lpIn .6s var(--ease) both; transition: opacity .45s var(--ease); }
.lang-pick.out { opacity: 0; pointer-events: none; }
@keyframes lpIn { from { opacity: 0; } }
.lang-pick-card { position: relative; width: min(430px, 100%); text-align: center; padding: 42px 30px 34px; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .75); animation: lpCard .8s var(--ease) .05s both; }
.lang-pick-card::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--line-soft); pointer-events: none; }
@keyframes lpCard { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.lang-pick-card img { width: 150px; height: auto; margin: 0 auto 24px; }
.lang-pick-q { margin: 0 0 26px; font-family: var(--display); font-size: 12.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-strong); }
.lang-pick-q span { display: block; margin-top: 8px; font-family: var(--serif); font-style: italic; font-size: 19px; letter-spacing: 0; text-transform: none; color: var(--muted); }
.lang-pick-btns { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lang-pick-btns button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 10px 16px; background: transparent; border: 1px solid var(--btn2-line); border-radius: 1px; color: var(--ink-strong); cursor: pointer; transition: background .3s, border-color .3s, transform .35s var(--ease); }
.lang-pick-btns button:hover, .lang-pick-btns button:focus-visible { background: var(--line-soft); border-color: var(--gold); transform: translateY(-2px); outline: none; }
.lang-pick-btns b { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 26px; line-height: 1.1; color: var(--accent); }
.lang-pick-btns small { font-family: var(--display); font-size: 10.5px; letter-spacing: .24em; color: var(--muted); }

/* ---------- phones: tighter rhythm so the page never looks finished halfway ---------- */
@media (max-width: 700px) {
  .sec { padding: 46px 0; }
  .sec-head p { margin-top: 14px; }
  .triptych, .dishes, .visit-grid, .events { margin-top: 30px; }
  .footer { padding-top: 64px; }
}
/* floors → kitchen: keep them closer together */
#prostor { padding-bottom: calc(clamp(56px, 7vw, 100px) - 8px); }
#kuhinja { padding-top: calc(clamp(56px, 7vw, 100px) - 7px); }
@media (max-width: 700px) { #prostor { padding-bottom: 22px; } #kuhinja { padding-top: 29px; } }
