﻿/* =====================================================================================================
   Maroqand Osh — site styles
   Direction "Registan at golden hour": the colours of the hall itself (walnut wood, crimson carpets,
   turquoise Registan domes, saffron light, black ceiling) on cotton-paper white. Sharp corners; the only
   curve is the pointed Samarkand arch. Mobile first: the base rules are the phone, @media adds the desktop.
   ===================================================================================================== */

:root {
  --ink: #1b1714;          /* the black ceiling */
  --ink-2: #2a231e;
  --paper: #f6f0e4;        /* cotton paper */
  --paper-2: #eee4d0;
  --sand: #e3d2b2;
  --walnut: #6b4127;       /* the wooden walls */
  --clay: #b6633a;
  --saffron: #e2a42b;      /* golden-hour light, zira */
  --pomegranate: #a8222b;  /* the carpets */
  --turquoise: #1f8a8f;    /* Registan tiles */
  --lapis: #1d3a6e;
  --line: rgba(27, 23, 20, .16);
  --line-light: rgba(246, 240, 228, .22);

  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --f-serif: "Cormorant Garamond", Georgia, serif;

  --gutter: clamp(16px, 4.5vw, 64px);
  --max: 1440px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--f-body);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; }

/* ---------- Header ------------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px var(--gutter);
  color: var(--paper);
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-solid { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 46px; height: auto; max-height: 34px; object-fit: contain; }
.brand__mark--ink, .is-solid .brand__mark--paper { display: none; }
.is-solid .brand__mark--ink { display: block; }
.brand__name { font: 700 11px/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 359px) { .brand__name { display: none; } }
@media (min-width: 960px) { .brand__name { font-size: 13px; letter-spacing: .14em; } }

.site-nav {
  position: fixed; inset: 0; z-index: -1;
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 96px var(--gutter) 48px;
  background: var(--ink); color: var(--paper);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.site-nav a { font: 700 clamp(32px, 9vw, 56px)/1.15 var(--f-display); text-decoration: none; text-transform: uppercase; }
.menu-open .site-nav { opacity: 1; visibility: visible; }
.menu-open .site-header { color: var(--paper); background: transparent; box-shadow: none; }
.menu-open .brand__mark--paper { display: block; }
.menu-open .brand__mark--ink { display: none; }

.site-header__end { display: flex; align-items: center; gap: 14px; }
.langs { display: flex; font: 600 12px/1 var(--f-body); letter-spacing: .08em; }
.langs a { padding: 8px 7px; text-decoration: none; opacity: .62; }
.langs a[aria-current] { opacity: 1; box-shadow: inset 0 -2px 0 var(--saffron); }
.menu-button {
  width: 40px; height: 40px; padding: 0; border: 1px solid currentColor; background: none; color: inherit; cursor: pointer;
  display: grid; place-content: center; gap: 6px;
}
.menu-button span:not(.visually-hidden) { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.menu-open .menu-button span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-open .menu-button span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

@media (min-width: 960px) {
  .site-nav {
    position: static; z-index: auto; flex-direction: row; gap: 34px; padding: 0;
    background: none; color: inherit; opacity: 1; visibility: visible;
  }
  .site-nav a { font: 600 13px/1 var(--f-body); letter-spacing: .12em; position: relative; }
  .site-nav a::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--saffron);
    transition: right .35s var(--ease);
  }
  .site-nav a:hover::after { right: 0; }
  .menu-button { display: none; }
}

/* ---------- Buttons and tags ---------------------------------------------------------------------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  font: 700 13px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; transition: background-color .25s, color .25s, border-color .25s;
}
.button--saffron { background: var(--saffron); color: var(--ink); }
.button--saffron:hover { background: var(--paper); }
.button--ghost { border-color: var(--line-light); color: var(--paper); }
.button--ghost:hover { border-color: var(--paper); }

.tag {
  display: inline-block; padding: 6px 10px 5px;
  font: 700 11px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase;
}
.tag--soon { background: var(--saffron); color: var(--ink); }
.tag--delivery { background: var(--pomegranate); color: var(--paper); }

/* ---------- Ornaments ----------------------------------------------------------------------------- */
.ikat-band { display: block; height: 44px; line-height: 0; }
.ikat-band svg { display: block; }
.qalampir { flex: none; display: inline-block; vertical-align: middle; }
.girih-bg { position: absolute; inset: 0; color: var(--walnut); opacity: .08; pointer-events: none; }
.girih-bg svg { display: block; width: 100%; height: 100%; }
.arch-frame { clip-path: url(#arch); overflow: hidden; background: var(--sand); }

/* ---------- Hero ---------------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  height: 100svh; min-height: 600px; max-height: 1100px;
  background: var(--ink); color: var(--paper);
}
.hero__slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; animation: hero-slide 28s linear infinite;
}
.hero__slides img:nth-child(1) { animation-delay: -1s; }
.hero__slides img:nth-child(2) { animation-delay: 6s; }
.hero__slides img:nth-child(3) { animation-delay: 13s; }
.hero__slides img:nth-child(4) { animation-delay: 20s; }
/* each photo: fade in, slow zoom out for 7 s, fade out; four photos make one 28 s loop */
@keyframes hero-slide {
  0%   { opacity: 0; transform: scale(1.14); }
  5%   { opacity: 1; }
  25%  { opacity: 1; }
  31%  { opacity: 0; transform: scale(1.02); }
  100% { opacity: 0; transform: scale(1.02); }
}
.hero::after { /* only to keep the text readable on any photo */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(27,23,20,.6) 0, rgba(27,23,20,0) 22%),
    linear-gradient(0deg, rgba(27,23,20,.92) 0, rgba(27,23,20,.55) 34%, rgba(27,23,20,0) 62%);
}
.hero__content {
  position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: clamp(28px, 6vh, 64px);
  display: grid; gap: 18px;
}
.hero__eyebrow {
  margin: 0; display: flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--sand);
}
.hero__title {
  font: 800 clamp(40px, 11.2vw, 200px)/.84 var(--f-display);
  letter-spacing: -.035em; text-transform: uppercase; margin-left: -.04em;
}
.hero__line { display: block; overflow: hidden; padding-bottom: .04em; white-space: nowrap; }
.hero__line--accent { color: var(--saffron); }
.hero__line .char { display: inline-block; will-change: transform; }
.hero__bottom { display: grid; gap: 22px; }
.hero__lead { margin: 0; max-width: 34em; font: 500 italic clamp(19px, 2.1vw, 27px)/1.3 var(--f-serif); color: var(--paper); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__index { display: none; }
.hero__scroll {
  position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(28px, 6vh, 64px);
  width: 1px; height: 64px; background: var(--line-light); display: none;
}
.hero__scroll span { position: absolute; left: 0; top: 0; width: 1px; height: 22px; background: var(--saffron); animation: scroll-cue 2.2s var(--ease) infinite; }
@keyframes scroll-cue { from { transform: translateY(0); } to { transform: translateY(42px); opacity: 0; } }

@media (min-width: 960px) {
  .hero__bottom { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; }
  .hero__index {
    display: block; position: absolute; right: 0; bottom: calc(100% + 24px);
    list-style: none; margin: 0; padding: 6px 22px; min-width: 300px;
    background: rgba(27, 23, 20, .86);
    font: 500 13px/1 var(--f-body);
  }
  .hero__index li:first-child a { border-top: 0; }
  .hero__index a {
    display: flex; gap: 14px; align-items: baseline; padding: 13px 0; text-decoration: none;
    border-top: 1px solid var(--line-light); transition: color .25s;
  }
  .hero__index a:hover { color: var(--saffron); }
  .hero__index span { font: 700 11px/1 var(--f-display); color: var(--saffron); }
  .hero__index em { font: 600 10px/1 var(--f-body); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--saffron); margin-left: auto; }
  .hero__scroll { display: block; }
  .hero__content { right: calc(var(--gutter) + 40px); }
}

/* ---------- Sections ------------------------------------------------------------------------------ */
.section { position: relative; padding: clamp(64px, 10vw, 140px) var(--gutter); }
.section > * { position: relative; max-width: var(--max); margin-left: auto; margin-right: auto; }
.section > .girih-bg { position: absolute; max-width: none; margin: 0; }
.section-head { margin-bottom: clamp(36px, 6vw, 80px); }
.section-head__eyebrow {
  margin: 0 0 18px; display: flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--walnut);
}
.section-head__eyebrow span { font: 700 12px/1 var(--f-display); color: var(--pomegranate); }
.section-head__title {
  max-width: 14em;
  /* 7vw on a phone so the longest Russian word ("САМАРКАНДСКОГО") still fits in 360 px */
  font: 700 clamp(24px, 7vw, 96px)/.98 var(--f-display); letter-spacing: -.03em; text-transform: uppercase;
  overflow-wrap: break-word;
}

/* ---------- Branches ------------------------------------------------------------------------------ */
.branch-feature { display: grid; gap: 28px; margin-bottom: clamp(48px, 7vw, 96px); }
.branch-feature__photo { margin: 0; }
.branch-feature__photo .arch-frame { aspect-ratio: 4 / 4.6; }
.branch-feature__photo img { width: 100%; height: 116%; object-fit: cover; margin-top: -8%; }
.branch-feature__photo figcaption {
  margin-top: 12px; font: 500 12px/1.4 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--walnut);
}
.branch__top { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 12px; }
.branch__num { font: 800 clamp(52px, 8vw, 104px)/.8 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px var(--pomegranate); }
.branch__name { font: 700 clamp(26px, 3.4vw, 44px)/1.05 var(--f-display); letter-spacing: -.02em; text-transform: uppercase; }
.branch__lead { margin: 14px 0 26px; font: 500 italic clamp(21px, 2.2vw, 28px)/1.25 var(--f-serif); color: var(--walnut); max-width: 26em; }
.facts { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.facts li { display: grid; gap: 6px; align-content: start; padding: 18px 14px 18px 0; border-bottom: 1px solid var(--line); }
.facts li:nth-child(odd) { border-right: 1px solid var(--line); }
.facts li:nth-child(even) { padding-left: 16px; }
.facts b { font: 800 clamp(24px, 3vw, 38px)/1 var(--f-display); color: var(--turquoise); }
.facts span { font-size: 14px; line-height: 1.35; }

.details { margin: 0 0 22px; display: grid; gap: 12px; }
.details div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: baseline; }
.details dt { font: 600 11px/1.4 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--walnut); }
.details dd { margin: 0; font-size: 15px; line-height: 1.45; }
.details__phone { font: 700 19px/1.2 var(--f-display); text-decoration: none; color: var(--pomegranate); }
.details__phone:hover { color: var(--ink); }

.routes { display: grid; grid-template-columns: 1fr; gap: 8px; }
.route {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 48px; padding: 0 16px;
  font: 700 12px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--ink); transition: background-color .25s, color .25s;
}
.route:hover { background: var(--ink); color: var(--paper); }
.route--go { background: #fc3f1d; border-color: #fc3f1d; color: #fff; }   /* Yandex Go's own red, so people recognise it */
.route--go:hover { background: var(--ink); border-color: var(--ink); }
.route--off { background: transparent; color: var(--walnut); border-style: dashed; border-color: var(--walnut); cursor: help; }
.route--off small { font-size: 10px; letter-spacing: .08em; opacity: .8; }
.route--off:hover { background: transparent; color: var(--walnut); }

.branch-pair { display: grid; gap: 20px; }
.branch-card { display: grid; background: var(--paper); border: 1px solid var(--line); }
.branch-card__art { position: relative; height: 120px; overflow: hidden; background: var(--ink); }
.branch-card__art svg { position: absolute; inset: 0; opacity: .9; }
.branch-card__art span {
  position: absolute; left: 0; bottom: 0; padding: 14px 18px 8px;
  background: var(--ink); color: var(--saffron);
  font: 800 48px/1 var(--f-display);
}
.branch-card__body { padding: 24px 20px 22px; }

@media (min-width: 720px) {
  .routes { grid-template-columns: repeat(3, 1fr); }
  .branch-pair { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .branch-feature { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
  .branch-card__body { padding: 30px 30px 28px; }
  .branch-card__art { height: 150px; }
}

/* ---------- Branch page, skip link ---------------------------------------------------------------- */
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--saffron); color: var(--ink); padding: 12px 16px; font-weight: 700; }
.skip-link:focus { top: 8px; }
.branch-page { padding-top: clamp(96px, 14vw, 150px); }
.crumbs { margin-bottom: 28px; font: 600 12px/1.4 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--walnut); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--pomegranate); }
.branch-page h1.branch__name { font-size: clamp(30px, 4.6vw, 64px); }
.branch__more-wrap { margin: 0; }
.branch__more { font: 700 12px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--pomegranate); }
.branch__more:hover { color: var(--ink); }
.branch-card__art--tall { position: relative; height: auto; aspect-ratio: 4 / 4.6; }

/* ---------- Several pages: spacer under the fixed header, big branch cards in a list, news, contacts -------- */
.page-spacer { height: clamp(56px, 8vw, 84px); }
.empty-note { max-width: var(--max); margin: 0 auto; font: 500 italic 22px/1.4 var(--f-serif); color: var(--walnut); }
.branch-list { display: grid; gap: clamp(56px, 8vw, 110px); }
.branch-list .branch-feature { margin-bottom: 0; }
.branch__name a { text-decoration: none; }
.branch__name a:hover { color: var(--pomegranate); }
@media (min-width: 960px) { .branch-list .branch-feature:nth-child(even) .branch-feature__photo { order: 2; } }
.food-more { margin: clamp(32px, 5vw, 64px) 0 0; }
.button--ink { background: var(--ink); color: var(--paper); }
.button--ink:hover { background: var(--saffron); color: var(--ink); }

.contact-cards { display: grid; gap: 16px; margin-bottom: 28px; }
.contact-card { padding: 24px; border: 1px solid var(--line); background: var(--paper); }
.contact-card__name { font: 700 clamp(20px, 2.4vw, 28px)/1.1 var(--f-display); text-transform: uppercase; margin-bottom: 12px; }
.contact-card__name a { text-decoration: none; }
.contact-card p { margin: 0 0 8px; }
.contact-card .routes { margin-top: 14px; }
.contact-social { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
@media (min-width: 960px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }

.post-grid { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 28px; max-width: var(--max); margin-left: auto; margin-right: auto; }
.post-card a { display: grid; gap: 8px; text-decoration: none; }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 6px; }
.post-card time, .post time { font: 600 12px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--walnut); }
.post-card h2, .post-card h3 { font: 700 clamp(20px, 2.2vw, 28px)/1.15 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; }
.post-card a:hover h2, .post-card a:hover h3 { color: var(--pomegranate); }
.post-card p { margin: 0; color: var(--walnut); }
@media (min-width: 720px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.section--posts .section-head__eyebrow a[aria-current] { color: var(--pomegranate); }
.post { max-width: 860px; margin: 0 auto; }
.post__title { font: 700 clamp(30px, 5vw, 60px)/1.05 var(--f-display); text-transform: uppercase; letter-spacing: -.02em; margin: 10px 0 24px; }
.post__photo { width: 100%; height: auto; margin-bottom: 28px; }
.post__body p { font-size: 18px; line-height: 1.7; max-width: 38em; }

.post__lead { font: 500 italic clamp(20px, 2.2vw, 26px)/1.35 var(--f-serif); color: var(--walnut); max-width: 34em; }
.post__h2 { font: 700 13px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--walnut); margin: 34px 0 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.site-footer__copy a { color: var(--sand); }

/* ---------- News and blog: list and article --------------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips a { padding: 10px 16px; border: 1px solid var(--ink); text-decoration: none; font: 700 12px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; }
.chips a:hover { background: var(--ink); color: var(--paper); }
.chips a[aria-current] { background: var(--ink); color: var(--saffron); }
.post-grid--list { gap: 40px 28px; }
.post-card .tag { justify-self: start; }
.post-card__photo { display: block; overflow: hidden; background: var(--sand); }
.post-card__photo img { margin: 0; transition: transform .8s var(--ease); }
.post-card a:hover .post-card__photo img { transform: scale(1.04); }
.post-card__text { display: grid; gap: 8px; justify-items: start; }
.post-card__more { font: 700 12px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--pomegranate); }
@media (min-width: 960px) {
  .post-card--lead { grid-column: 1 / -1; }
  .post-card--lead > a { grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
  .post-card--lead .post-card__photo img { aspect-ratio: 16 / 10; }
  .post-card--lead h2 { font-size: clamp(28px, 3.4vw, 48px); }
}
.post-card__photo img { aspect-ratio: 4 / 3; }

.post-page { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(64px, 10vw, 140px); }
.post-head { display: grid; gap: 28px; margin: 18px 0 clamp(36px, 6vw, 72px); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0 0 16px; }
.post-head__photo { margin: 0; }
.post-head__photo .arch-frame { aspect-ratio: 4 / 5; max-width: 560px; }
.post-head__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) {
  .post-head { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
  .post-head__photo { justify-self: end; width: 100%; }
}
.post-page .post__title { font-size: clamp(30px, 4.6vw, 64px); margin: 0 0 20px; }
.post-page .post__body { max-width: 40em; }
.post-page .post__body p { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.75; margin: 0 0 1.2em; }
.post-gallery { margin: clamp(40px, 6vw, 80px) 0; }
.post-gallery ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.post-gallery li a { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink); cursor: zoom-in; }
.post-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.post-gallery li a:hover img { transform: scale(1.05); }
.post-gallery span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: var(--paper); font: 500 italic 17px/1.25 var(--f-serif);
  background: linear-gradient(0deg, rgba(27,23,20,.85), rgba(27,23,20,0)); }
@media (min-width: 720px) { .post-gallery ul { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.post-more { margin-top: clamp(40px, 6vw, 80px); }

.tag--branch { justify-self: start; background: transparent; color: var(--saffron); border: 1px solid var(--saffron); padding: 4px 8px 3px; }
.section--branch-menu { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }

/* ---------- Gallery ------------------------------------------------------------------------------- */
.section--gallery { padding-left: 0; padding-right: 0; background: var(--paper-2); overflow: hidden; }
.section--gallery .section-head { padding: 0 var(--gutter); }
.gallery { margin: 0 auto clamp(40px, 6vw, 90px); max-width: none; }
.gallery__head { display: flex; align-items: baseline; gap: 16px; padding: 0 var(--gutter) 18px; max-width: var(--max); margin: 0 auto; }
.gallery__title { font: 700 clamp(18px, 2vw, 26px)/1.1 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; }
.gallery__title span { color: var(--pomegranate); margin-right: 8px; }
.gallery__hint { margin: 0 0 0 auto; font: 600 11px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--walnut); }
.gallery__viewport { overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 0 var(--gutter); }
.gallery__viewport::-webkit-scrollbar { display: none; }
.gallery__track { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; width: max-content; }
.gallery__track li { flex: none; scroll-snap-align: start; }
.gallery__item { display: block; width: 78vw; max-width: 560px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
@media (min-width: 960px) {
  .gallery__item { width: 38vw; max-width: 720px; }
  .gallery__track { gap: 22px; }
  .gallery.is-pinned .gallery__viewport { overflow: hidden; }
}

.lightbox { border: 0; padding: 0; width: 100vw; max-width: none; height: 100vh; max-height: none; background: rgba(20, 16, 13, .96); color: var(--paper); }
.lightbox::backdrop { background: rgba(20, 16, 13, .96); }
.lightbox[open] { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; }
.lightbox__figure { margin: 0; display: grid; justify-items: center; gap: 12px; min-width: 0; }
.lightbox__figure img { max-width: 100%; max-height: 82vh; object-fit: contain; }
.lightbox__figure figcaption { font: 500 italic 20px/1.3 var(--f-serif); min-height: 1.3em; text-align: center; padding: 0 12px; }
.lightbox__close, .lightbox__nav { background: none; border: 0; color: inherit; cursor: pointer; font: 400 30px/1 var(--f-body); padding: 14px; }
.lightbox__close { position: absolute; top: 8px; right: 8px; font-size: 40px; }
.lightbox__nav:hover, .lightbox__close:hover { color: var(--saffron); }
@media (max-width: 600px) { .lightbox[open] { grid-template-columns: 36px 1fr 36px; } .lightbox__nav { padding: 6px; } }

/* ---------- Food ---------------------------------------------------------------------------------- */
.section--food { background: var(--lapis); color: var(--paper); overflow: hidden; }
.section-head--light .section-head__eyebrow { color: var(--sand); }
.section-head--light .section-head__eyebrow span { color: var(--saffron); }
.plovs { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: clamp(48px, 8vw, 96px); }
.plov { position: relative; display: grid; gap: 22px; align-items: center; }
.plov__num { position: absolute; top: -.2em; left: 0; font: 800 clamp(90px, 22vw, 260px)/.8 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px rgba(246, 240, 228, .28); pointer-events: none; }
.plov__plate { position: relative; width: min(72vw, 360px); aspect-ratio: 1; margin-left: auto; margin-right: auto; border-radius: 50%; overflow: hidden; will-change: transform; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .35)); }
.plov__plate img, .plov__plate svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.plov__name { font: 800 clamp(28px, 5vw, 64px)/1 var(--f-display); text-transform: uppercase; letter-spacing: -.02em; }
.plov--1 .plov__name { color: var(--saffron); }
.plov--2 .plov__name { color: #7fd0cf; }
.plov--3 .plov__name { color: #f08a8f; }
.plov__text p { margin: 14px 0 0; max-width: 28em; font: 500 italic clamp(19px, 2vw, 25px)/1.3 var(--f-serif); color: var(--sand); }
.plov__secret { letter-spacing: .02em; }
@media (min-width: 960px) {
  .plov { grid-template-columns: 1fr 1fr; gap: 64px; }
  .plov:nth-child(even) .plov__plate { order: 2; }
  .plov:nth-child(even) .plov__num { left: auto; right: 0; }
  .plov__plate { width: min(30vw, 440px); }
}
.more-food { margin-top: clamp(56px, 8vw, 110px); max-width: var(--max); }
.more-food__title { font: 700 13px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--saffron); margin-bottom: 18px; }
.more-food__list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line-light); }
.more-food__list li { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line-light); }
.more-food__name { font: 700 clamp(20px, 2.4vw, 30px)/1.1 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; }
.more-food__text { color: var(--sand); font-size: 15px; }
@media (min-width: 720px) { .more-food__list li { grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: baseline; } }

.kitchen { margin-top: clamp(56px, 8vw, 110px); max-width: var(--max); }
.kitchen__strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.kitchen__strip li { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink); }
.kitchen__strip li:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
.kitchen__strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kitchen__strip span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; color: var(--paper);
  font: 500 italic 18px/1.25 var(--f-serif); background: linear-gradient(0deg, rgba(27,23,20,.8), rgba(27,23,20,0)); }
@media (min-width: 720px) {
  .kitchen__strip { grid-template-columns: repeat(3, 1fr); }
  .kitchen__strip li:first-child { grid-column: auto; aspect-ratio: 4 / 5; }
}

/* dishes that have a photo: cards in a grid instead of a plain list */
.more-food__list--photos { border-top: 0; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.more-food__list--photos li { grid-template-columns: 1fr; gap: 8px; padding: 0 0 18px; border-bottom: 0; align-content: start; }
.more-food__list--photos li:not(.has-photo) { border-top: 1px solid var(--line-light); padding-top: 18px; }
.dish-blank { aspect-ratio: 4 / 3; background: var(--ink); display: grid; place-items: center; margin-bottom: 6px; }
.dish-blank svg { width: 34%; height: auto; max-height: 60%; opacity: .9; }
.drinks { margin-top: clamp(40px, 6vw, 80px); }
.more-food__list--photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; margin-bottom: 6px; }
.more-food__list--photos .more-food__name { font-size: clamp(16px, 1.8vw, 22px); }
@media (min-width: 960px) { .more-food__list--photos { grid-template-columns: repeat(4, 1fr); gap: 20px; } .more-food__list--photos li { grid-template-columns: 1fr; } }

/* ---------- Story --------------------------------------------------------------------------------- */
.timeline { position: relative; list-style: none; margin: 0 auto; padding: 0 0 0 32px; max-width: 880px; }
.timeline__line { position: absolute; left: 7px; top: 0; bottom: 0; width: 2px; background: var(--pomegranate); transform-origin: top; }
.timeline__item { position: relative; padding: 0 0 clamp(40px, 6vw, 72px); }
.timeline__dot { position: absolute; left: -32px; top: 6px; width: 16px; height: 16px; background: var(--paper); border: 3px solid var(--pomegranate); transform: rotate(45deg); }
.timeline__when { margin: 0 0 6px; font: 800 clamp(26px, 4vw, 48px)/1 var(--f-display); color: var(--turquoise); }
.timeline__title { font: 700 clamp(20px, 2.4vw, 30px)/1.15 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 10px; }
.timeline__item p { max-width: 36em; }
.timeline__item img { margin-top: 16px; width: 100%; max-width: 520px; }

/* ---------- People -------------------------------------------------------------------------------- */
.section--people { background: var(--paper-2); }
.people-group + .people-group { margin-top: clamp(40px, 6vw, 80px); }
.people-group__title { font: 700 13px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--walnut); padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
.person__photo { aspect-ratio: 4 / 5; background: var(--ink); display: grid; place-items: center; margin-bottom: 14px; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__photo svg { width: 46%; height: auto; }
.person__name { font: 700 clamp(16px, 1.8vw, 22px)/1.2 var(--f-display); text-transform: uppercase; }
.person__role { margin: 4px 0 0; font-size: 14px; color: var(--walnut); }
.person__quote { margin: 10px 0 0; font: 500 italic 19px/1.3 var(--f-serif); }
@media (min-width: 720px) { .people { grid-template-columns: repeat(4, 1fr); gap: 36px 24px; } }

/* ---------- Location ------------------------------------------------------------------------------ */
.map { position: relative; min-height: 440px; background: var(--ink); color: var(--paper); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__poster { position: relative; min-height: 440px; padding: clamp(24px, 4vw, 48px); display: grid; gap: 24px; align-content: space-between; }
.map__pattern { position: absolute; inset: 0; color: var(--saffron); opacity: .2; }
.map__list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.map__list a { display: grid; grid-template-columns: 44px 1fr; gap: 0 12px; padding: 14px 0; border-top: 1px solid var(--line-light); text-decoration: none; }
.map__list span { grid-row: span 2; font: 800 22px/1 var(--f-display); color: var(--saffron); }
.map__list b { font: 700 16px/1.2 var(--f-display); text-transform: uppercase; }
.map__list small { font-size: 13px; color: var(--sand); }
.map__list a:hover b { color: var(--saffron); }
.map__load { position: relative; justify-self: start; }
@media (min-width: 960px) { .map, .map__poster { min-height: 560px; } .map__list { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* ---------- Guests -------------------------------------------------------------------------------- */
.rating { display: flex; align-items: baseline; gap: 10px; margin: 0 0 32px; }
.rating b { font: 800 clamp(56px, 9vw, 120px)/.9 var(--f-display); color: var(--turquoise); }
.rating span { font: 700 clamp(20px, 3vw, 36px)/1 var(--f-display); color: var(--walnut); }
.rating small { font-size: 14px; color: var(--walnut); margin-left: 8px; }
.reviews { list-style: none; margin: 0 0 56px; padding: 0; display: grid; gap: 16px; }
.review { padding: 24px; border: 1px solid var(--line); background: var(--paper); }
.review__stars { margin: 0 0 10px; color: var(--saffron); letter-spacing: .1em; font-size: 18px; }
.review blockquote { margin: 0 0 14px; font: 500 italic clamp(20px, 2vw, 24px)/1.3 var(--f-serif); }
.review__by { margin: 0; font-size: 14px; color: var(--walnut); }
.review__by a { color: var(--pomegranate); }
@media (min-width: 720px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.reels { list-style: none; margin: 0 0 48px; padding: 0; display: grid; gap: 16px; }
.reel { min-height: 420px; background: var(--ink); display: grid; }
.reel iframe { width: 100%; height: 620px; border: 0; background: #fff; }
.reel__poster { display: grid; place-content: center; justify-items: center; gap: 16px; color: var(--paper); text-decoration: none; min-height: 420px; }
.reel__poster svg { width: 72px; height: 72px; }
.reel__poster span { font: 700 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
@media (min-width: 720px) { .reels { grid-template-columns: repeat(3, 1fr); } }
.guests__follow { margin: 0; }
.guest-branch { margin-bottom: clamp(40px, 6vw, 80px); }
.guest-branch__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
  font: 700 clamp(20px, 2.6vw, 32px)/1.1 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; }
.guest-branch__title span { color: var(--pomegranate); }
.guest-branch__title a { text-decoration: none; }
.guest-branch__title a:hover { color: var(--pomegranate); }
.reel-item { display: grid; gap: 8px; }
.reel__open { font: 700 12px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--pomegranate); }
.reel__open:hover { color: var(--ink); }

/* ---------- Footer -------------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--paper); }
.site-footer__inner { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--gutter) 32px; }
.site-footer__logo { width: min(320px, 70vw); height: auto; max-height: 200px; object-fit: contain; object-position: left; margin-bottom: 48px; }
.site-footer__cols { display: grid; gap: 28px; margin-bottom: 56px; }
.site-footer__cols p { margin: 0 0 6px; font-size: 14px; color: var(--sand); }
.site-footer__cols a { text-decoration: none; color: var(--paper); }
.site-footer__cols a:hover { color: var(--saffron); }
.site-footer__title { font: 700 12px/1.3 var(--f-display) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--saffron) !important; margin-bottom: 12px !important; }
.site-footer__names { margin: 0 0 8px; padding-top: 22px; border-top: 1px solid var(--line-light); font-size: 13px; color: var(--sand); }
.site-footer__copy { margin: 0; font-size: 12px; color: rgba(246, 240, 228, .5); }
@media (min-width: 720px) { .site-footer__cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .site-footer__cols { grid-template-columns: repeat(4, 1fr); } }

/* ---------- ✎ Edit pencils (only shown to a logged-in owner) --------------------------------------- */
.edit-pencil {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  font: 700 12px/1 var(--f-body); letter-spacing: .06em;
  background: var(--saffron); color: var(--ink); padding: 8px 10px; border: 1px solid var(--ink);
}
.edit-pencil:hover { background: var(--ink); color: var(--saffron); }
.edit-pencil--inline { padding: 5px 8px; font-size: 14px; }
.edit-pencil--light { position: absolute; z-index: 5; top: 84px; right: var(--gutter); }

/* ---------- Motion helpers (JS adds .js; without JS everything is simply visible) ----------------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal]:nth-child(2) { transition-delay: .12s; }
@media (prefers-reduced-motion: reduce) {
  .hero__slides img { animation: none; }
  .hero__slides img:first-child { opacity: 1; }
  .hero__scroll span { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Design-direction page (/design/) ------------------------------------------------------ */
.dd { padding: 120px var(--gutter) 80px; max-width: var(--max); margin: 0 auto; }
.dd h2 { font: 700 13px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--walnut); margin: 64px 0 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.dd__intro { font: 500 italic clamp(22px, 2.6vw, 34px)/1.25 var(--f-serif); max-width: 30em; margin: 0; }
.swatches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); }
.swatch { min-height: 150px; padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; font-size: 13px; line-height: 1.35; }
.swatch b { font: 700 14px/1.2 var(--f-display); text-transform: uppercase; }
@media (min-width: 720px) { .swatches { grid-template-columns: repeat(4, 1fr); } }
.type-specimen { display: grid; gap: 28px; }
.type-specimen .big { font: 800 clamp(40px, 7vw, 110px)/.9 var(--f-display); letter-spacing: -.03em; text-transform: uppercase; }
.type-specimen .serif { font: 500 italic clamp(24px, 3vw, 40px)/1.2 var(--f-serif); }
.type-specimen .body { max-width: 40em; }
.type-specimen small { display: block; font: 600 11px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--walnut); margin-bottom: 8px; }
.patterns { display: grid; gap: 20px; }
@media (min-width: 720px) { .patterns { grid-template-columns: 2fr 1fr 1fr; } }
.patterns figure { margin: 0; }
.patterns figcaption { font-size: 13px; margin-top: 10px; color: var(--walnut); }
.patterns .tile { height: 220px; border: 1px solid var(--line); }

/* ---------- Prices, "open now" badge, call bar on phones (2026-11-19) ------------------------------------ */
.price { font: 700 14px/1.2 var(--f-body); letter-spacing: .04em; color: var(--saffron); }
.price--big { font-size: clamp(18px, 2.2vw, 26px); margin: 6px 0 10px; }
.open-now { display: inline-block; margin-left: 10px; padding: 3px 8px 2px; font: 700 12px/1.3 var(--f-body); letter-spacing: .04em;
  border: 1px solid currentColor; color: var(--walnut); vertical-align: middle; }
.open-now--on { color: #1c6b46; background: rgba(28, 107, 70, .1); }
.open-now[hidden] { display: none; }

.quickbar { display: none; }
.callsheet { border: 0; padding: 20px 20px 16px; width: min(92vw, 420px); background: var(--paper); color: var(--ink); margin: auto auto 0; border-top: 4px solid var(--pomegranate); }
.callsheet::backdrop { background: rgba(27, 23, 20, .6); }
.callsheet__title { margin: 0 0 12px; font: 700 13px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--walnut); }
.callsheet ul { list-style: none; margin: 0; padding: 0; }
.callsheet li a { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.callsheet li a b { font-weight: 800; white-space: nowrap; }
.callsheet__close { width: 100%; margin-top: 8px; padding: 14px; border: 1px solid var(--ink); background: transparent; font: 700 14px/1 var(--f-body); cursor: pointer; }
@media (max-width: 760px) {
  .quickbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--line-light); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -6px 18px rgba(27, 23, 20, .25); }
  .quickbar__btn { display: grid; place-items: center; min-height: 52px; border: 0; background: var(--ink); color: var(--paper); text-decoration: none;
    font: 700 14px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
  .quickbar__btn--call { background: var(--pomegranate); }
  .site-footer { padding-bottom: 84px; }
}

/* ---------- Tablets and phones (2026-11-21) -------------------------------------------------------------- */
/* three contact cards side by side must be allowed to shrink (a long line of hours pushed the page wider on a 1024 px tablet) */
@media (min-width: 960px) { .contact-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.contact-card { min-width: 0; overflow-wrap: anywhere; }
.contact-card .nowrap { white-space: normal; }
/* a finger needs about 44 px: the hit area is made taller with padding and a matching negative margin, so nothing moves on the page */
@media (max-width: 1024px), (pointer: coarse) {
  .langs a { padding-block: 16px; }
  .brand { padding-block: 12px; margin-block: -12px; }
  .details__phone { display: inline-block; padding-block: 11px; margin-block: -11px; }
  .reel__open, .branch__more { display: inline-block; padding-block: 16px; margin-block: -16px; }
  .crumbs a, .guest-branch__title a { display: inline-block; padding-block: 14px; margin-block: -14px; }
  .site-footer a { display: inline-block; padding-block: 11px; margin-block: -11px; }
  .chips a { padding-block: 16px; }
}
