@charset "UTF-8";
/* ==========================================================================
   کافه رومی | Cafe Rumi — Zanjan
   style.css  ·  Core design system + components + sections
   --------------------------------------------------------------------------
   00  Tokens
   01  Reset & base
   02  Typography
   03  Layout helpers
   04  Buttons & links
   05  Header / Navigation
   06  Hero
   07  Editorial sections
   08  Menu lists
   09  Gallery & lightbox
   10  Forms
   11  Footer
   12  Motion / reveal
   ========================================================================== */

/* ============================== 00 · TOKENS ============================== */
:root {
  /* — Brand palette ————————————————————————————— */
  --cream:        #F2E9DC;
  --cream-light:  #FBF7F1;
  --paper:        #FFFCF8;
  --sand:         #E6DACA;
  --brown:        #7A5C46;
  --brown-soft:   #856950;
  --dark-brown:   #3A2C24;
  --espresso:     #241B16;
  --black:        #15120F;
  --text:         #241F1B;
  --muted:        #776B61;

  /* — Semantic ——————————————————————————————— */
  --bg:           var(--paper);
  --line:         rgba(58, 44, 36, .16);
  --line-soft:    rgba(58, 44, 36, .09);
  --line-invert:  rgba(242, 233, 220, .20);
  --accent:       var(--brown);

  /* — Typography ————————————————————————————— */
  --font-fa: 'RumiSans', 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
  --font-en: 'RumiSerif', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;

  --fs-display: clamp(2.75rem, 7.6vw, 6.5rem);
  --fs-h1:      clamp(2rem, 4.6vw, 3.6rem);
  --fs-h2:      clamp(1.6rem, 3.1vw, 2.6rem);
  --fs-h3:      clamp(1.1rem, 1.6vw, 1.4rem);
  --fs-lead:    clamp(1.0625rem, 1.5vw, 1.3125rem);
  --fs-body:    clamp(0.9375rem, 1.05vw, 1.0625rem);
  --fs-small:   0.8125rem;
  --fs-eyebrow: 0.7rem;

  --lh-tight: 1.42;
  --lh-body:  2.05;
  --track-en: .24em;

  /* — Space ——————————————————————————————— */
  --gutter:      clamp(1.25rem, 4.5vw, 4rem);
  --maxw:        1360px;
  --maxw-narrow: 780px;
  --section-y:   clamp(4.5rem, 10vw, 9.5rem);
  --block-y:     clamp(2.5rem, 5vw, 4.5rem);

  /* — Misc ——————————————————————————————— */
  --radius:   10px;
  --radius-lg: 18px;
  --header-h: 82px;
  --ease:     cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur:      .6s;
}

/* ============================ 01 · RESET & BASE ========================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-fa);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  direction: rtl;
  text-align: start;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "kern";
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; text-decoration: none; }

button, input, textarea, select {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
}
button { cursor: pointer; }

::selection { background: var(--dark-brown); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  inset-block-start: -100%;
  inset-inline-start: var(--gutter);
  z-index: 200;
  padding: .75rem 1.25rem;
  background: var(--espresso);
  color: var(--cream);
  font-size: var(--fs-small);
  border-radius: var(--radius);
  transition: inset-block-start .25s var(--ease);
}
.skip-link:focus { inset-block-start: 1rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ============================ 02 · TYPOGRAPHY =========================== */
h1, h2, h3, h4 {
  font-weight: 500;
  line-height: var(--lh-tight);
  letter-spacing: 0;               /* Persian must never be tracked */
  text-wrap: balance;
}

.display   { font-size: var(--fs-display); font-weight: 400; line-height: 1.22; }
.h1        { font-size: var(--fs-h1); }
.h2        { font-size: var(--fs-h2); }
.h3        { font-size: var(--fs-h3); font-weight: 500; }

.lead {
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: 1.95;
  color: var(--text);
  color: color-mix(in srgb, var(--text) 88%, transparent);
}

.body-text  { max-width: 56ch; }
.body-text p + p { margin-block-start: 1.15em; }
.muted { color: var(--muted); }

/* Latin type — the only place letter-spacing is allowed */
.en {
  font-family: var(--font-en);
  direction: ltr;
  unicode-bidi: isolate;
  font-weight: 400;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-family: var(--font-en);
  direction: ltr;
  unicode-bidi: isolate;
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: var(--track-en);
  text-transform: uppercase;
  color: var(--brown-soft);
}
.eyebrow::before {
  content: "";
  inline-size: clamp(24px, 4vw, 52px);
  block-size: 1px;
  background: currentColor;
  opacity: .5;
}
.eyebrow--plain::before { content: none; }

/* Section number — "01 / 02 / 03" editorial device */
.section-no {
  font-family: var(--font-en);
  font-size: clamp(.75rem, 1vw, .8125rem);
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--brown-soft);
  direction: ltr;
  text-align: right;   /* keep the LTR run flush with the RTL column */
  unicode-bidi: isolate;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: clamp(.6rem, 1.4vw, 1rem);
  margin-block-end: var(--block-y);
}
.section-head__title { font-size: var(--fs-h2); }
.section-head--center { align-items: center; text-align: center; }

/* Oversized watermark wordmark */
.watermark {
  position: absolute;
  font-family: var(--font-en);
  font-weight: 300;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  direction: ltr;
  z-index: 0;
}

/* ========================== 03 · LAYOUT HELPERS ========================= */
.container {
  inline-size: 100%;
  max-inline-size: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-inline-size: calc(var(--maxw-narrow) + var(--gutter) * 2); }

.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 6rem); }
.section--flush-top { padding-block-start: 0; }

.section--cream  { background: var(--cream-light); }
.section--sand   { background: var(--cream); }
.section--dark   { background: var(--espresso); color: var(--cream); }
.section--black  { background: var(--black); color: var(--cream); }

.section--dark .muted,
.section--black .muted { color: rgba(242, 233, 220, .55); }
.section--dark .eyebrow,
.section--black .eyebrow,
.section--dark .section-no,
.section--black .section-no { color: rgba(242, 233, 220, .60); }
.section--dark .lead,
.section--black .lead { color: rgba(242, 233, 220, .78); }

.hr {
  block-size: 1px;
  background: var(--line-soft);
  border: 0;
  margin: 0;
}

/* Media frames — fixed ratios prevent layout shift */
.frame {
  position: relative;
  overflow: hidden;
  background: var(--sand);
  border-radius: var(--radius);
}
.frame > img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}
.frame--sq       { aspect-ratio: 1 / 1; }
.frame--portrait { aspect-ratio: 4 / 5; }
.frame--tall     { aspect-ratio: 3 / 4; }
.frame--land     { aspect-ratio: 3 / 2; }
.frame--wide     { aspect-ratio: 16 / 9; }
.frame--pano     { aspect-ratio: 21 / 9; }

.frame--zoom > img { transition: transform 1.1s var(--ease-out); }
.frame--zoom:hover > img { transform: scale(1.045); }

/* Food and lifestyle cards used on the homepage */
.moments-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.moment-card { min-inline-size: 0; }
.moment-card__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sand);
}
.moment-card__media img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.moment-card:hover .moment-card__media img { transform: scale(1.035); }
.moment-card__body { padding-block-start: 1.1rem; }
.moment-card__body h3 {
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  margin-block-end: .35rem;
}
.moment-card__body p {
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.9;
}
.moment-card__label {
  display: inline-block;
  margin-block-end: .55rem;
  color: var(--brown-soft);
  font-family: var(--font-en);
  direction: ltr;
  font-size: .6875rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.caption {
  margin-block-start: .9rem;
  font-size: var(--fs-small);
  color: var(--muted);
  line-height: 1.9;
}

/* =========================== 04 · BUTTONS & LINKS ======================= */
.btn {
  --btn-fg: var(--text);
  --btn-bd: var(--line);
  --btn-bg: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: .95em 2.1em;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-small);
  font-weight: 500;
  line-height: 1;
  overflow: hidden;
  isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--espresso);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .45s var(--ease-out);
}
.btn:hover::after,
.btn:focus-visible::after { transform: scaleY(1); }
.btn:hover, .btn:focus-visible { color: var(--cream); border-color: var(--espresso); }

.btn--solid {
  --btn-fg: var(--cream);
  --btn-bd: var(--espresso);
  --btn-bg: var(--espresso);
}
.btn--solid::after { background: var(--brown); }
.btn--solid:hover, .btn--solid:focus-visible { color: var(--cream); border-color: var(--brown); }

.btn--light { --btn-fg: var(--cream); --btn-bd: var(--line-invert); }
.btn--light::after { background: var(--cream); }
.btn--light:hover, .btn--light:focus-visible { color: var(--espresso); border-color: var(--cream); }

.btn--sm { padding: .78em 1.5em; font-size: .78125rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  align-items: center;
}

/* Text link with a drawing underline */
.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding-block-end: .28em;
  font-size: var(--fs-small);
  font-weight: 500;
  color: inherit;
}
.link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  block-size: 1px;
  background: currentColor;
  opacity: .35;
  transform-origin: right;
  transition: transform .5s var(--ease-out), opacity .3s var(--ease);
}
.link:hover::after,
.link:focus-visible::after { opacity: 1; transform: scaleX(1.02); }
.link .arw {
  display: inline-block;
  transition: transform .4s var(--ease-out);
}
.link:hover .arw { transform: translateX(-4px); }

/* ========================== 05 · HEADER / NAV =========================== */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  background: transparent;
  transition: background .5s var(--ease), backdrop-filter .5s var(--ease),
              box-shadow .5s var(--ease), color .5s var(--ease);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  block-size: var(--header-h);
}

/* On dark heroes the header starts light-on-dark */
.site-header[data-theme="light"] { color: var(--cream); }
.site-header.is-nav-open { color: var(--text); }

.site-header.is-stuck {
  background: rgba(251, 247, 241, .90);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  backdrop-filter: saturate(150%) blur(18px);
  box-shadow: 0 1px 0 rgba(58, 44, 36, .08);
  color: var(--text);
}

/* — Brand — */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-block-size: 44px;
}
.brand__mark {
  inline-size: 34px;
  block-size: 34px;
  flex: 0 0 auto;
  transition: opacity .4s var(--ease);
}
.site-header[data-theme="light"]:not(.is-stuck) .brand__mark { filter: invert(1) brightness(1.9); }
.brand__text { display: flex; flex-direction: column; gap: .1rem; }
.brand__fa {
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.3;
}
.brand__en {
  font-family: var(--font-en);
  direction: ltr;
  text-align: right;   /* keep the LTR run flush with the RTL column */
  font-size: .625rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  line-height: 1;
  opacity: .62;
}

/* — Desktop nav — */
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.3rem);
}
.nav__link {
  position: relative;
  display: inline-block;
  padding-block: .4rem;
  font-size: .875rem;
  font-weight: 400;
  opacity: .86;
  transition: opacity .3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  block-size: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after,
.nav__link:focus-visible::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { opacity: 1; font-weight: 500; }
.nav__link[aria-current="page"]::after { transform: scaleX(1); opacity: .45; }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.site-header[data-theme="light"]:not(.is-stuck) .btn { --btn-fg: var(--cream); --btn-bd: var(--line-invert); }
.site-header[data-theme="light"]:not(.is-stuck) .btn::after { background: var(--cream); }
.site-header[data-theme="light"]:not(.is-stuck) .btn:hover { color: var(--espresso); border-color: var(--cream); }

/* — Hamburger — */
.nav-toggle {
  display: none;
  position: relative;
  inline-size: 46px;
  block-size: 46px;
  margin-inline-end: -10px;
  border-radius: var(--radius);
}
.nav-toggle span {
  position: absolute;
  inset-inline: 12px;
  block-size: 1px;
  background: currentColor;
  transition: transform .45s var(--ease-out), opacity .25s var(--ease);
}
.nav-toggle span:nth-child(1) { inset-block-start: 18px; }
.nav-toggle span:nth-child(2) { inset-block-start: 27px; inline-size: 14px; inset-inline-end: 12px; inset-inline-start: auto; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(-45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(45deg); inline-size: 22px; }

/* — Fullscreen overlay menu — */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream-light);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-1.5%);
  transition: opacity .5s var(--ease), transform .6s var(--ease-out), visibility .5s;
}
.nav-overlay.is-open { opacity: 1; visibility: visible; transform: none; }

.nav-overlay__inner {
  inline-size: 100%;
  max-inline-size: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-block: calc(var(--header-h) + 2rem) 2.5rem;
}
.nav-overlay__list { display: flex; flex-direction: column; }
.nav-overlay__item {
  border-block-end: 1px solid var(--line-soft);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .6s var(--ease-out);
}
.nav-overlay.is-open .nav-overlay__item { opacity: 1; transform: none; }
.nav-overlay.is-open .nav-overlay__item:nth-child(1) { transition-delay: .10s; }
.nav-overlay.is-open .nav-overlay__item:nth-child(2) { transition-delay: .16s; }
.nav-overlay.is-open .nav-overlay__item:nth-child(3) { transition-delay: .22s; }
.nav-overlay.is-open .nav-overlay__item:nth-child(4) { transition-delay: .28s; }
.nav-overlay.is-open .nav-overlay__item:nth-child(5) { transition-delay: .34s; }

.nav-overlay__link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: clamp(.85rem, 2.6vw, 1.15rem);
  font-size: clamp(1.5rem, 6.5vw, 2.1rem);
  font-weight: 400;
  line-height: 1.3;
}
.nav-overlay__no {
  font-family: var(--font-en);
  direction: ltr;
  font-size: .6875rem;
  letter-spacing: .2em;
  color: var(--brown-soft);
}
.nav-overlay__foot {
  margin-block-start: clamp(2rem, 6vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: flex-end;
  font-size: var(--fs-small);
  color: var(--muted);
  opacity: 0;
  transition: opacity .5s var(--ease) .42s;
}
.nav-overlay.is-open .nav-overlay__foot { opacity: 1; }

/* ============================== 06 · HERO =============================== */
.hero {
  position: relative;
  min-block-size: 92vh;
  min-block-size: 92svh;   /* svh where supported */
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--espresso);
  color: var(--cream);
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(21, 18, 15, .84) 0%, rgba(21, 18, 15, .42) 42%, rgba(21, 18, 15, .30) 70%, rgba(21, 18, 15, .55) 100%);
}
.hero__inner {
  position: relative;
  inline-size: 100%;
  padding-block: clamp(3.5rem, 9vw, 7rem);
}
.hero__watermark {
  inset-inline-start: 50%;
  inset-block-end: 6%;
  transform: translateX(-50%);
  font-size: clamp(6rem, 26vw, 24rem);
  color: rgba(242, 233, 220, .05);
  z-index: -1;
}
.hero__eyebrow { color: rgba(242, 233, 220, .72); margin-block-end: 1.4rem; }
.hero__title {
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: 1.18;
  max-inline-size: 14ch;
}
.hero__sub {
  margin-block-start: 1.5rem;
  max-inline-size: 40ch;
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: 1.9;
  color: rgba(242, 233, 220, .8);
}
.hero__meta {
  margin-block-start: 1.8rem;
  font-family: var(--font-en);
  direction: ltr;
  text-align: right;   /* keep the LTR run flush with the RTL column */
  unicode-bidi: isolate;
  font-size: .75rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(242, 233, 220, .70);
}
.hero .btn-row { margin-block-start: clamp(2rem, 4vw, 2.75rem); }

.hero__scroll {
  position: absolute;
  inset-block-end: clamp(1.25rem, 3vw, 2.25rem);
  /* element is direction:ltr, so inline-start maps to the free physical left */
  inset-inline-start: var(--gutter);
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-en);
  direction: ltr;
  font-size: .625rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(242, 233, 220, .55);
}
.hero__scroll i {
  display: block;
  inline-size: 1px;
  block-size: 46px;
  background: linear-gradient(to bottom, rgba(242,233,220,.7), rgba(242,233,220,0));
  animation: scrollCue 2.6s var(--ease) infinite;
}
@keyframes scrollCue {
  0%   { transform: scaleY(.2); transform-origin: top; opacity: 0; }
  35%  { transform: scaleY(1);  transform-origin: top; opacity: 1; }
  70%  { transform: scaleY(1);  transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(.2); transform-origin: bottom; opacity: 0; }
}

/* — Page hero (inner pages) — */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-block-size: clamp(46vh, 58vh, 620px);
  min-block-size: clamp(46svh, 58svh, 620px);
  padding-block-start: var(--header-h);
  background: var(--espresso);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(21,18,15,.86), rgba(21,18,15,.42) 60%, rgba(21,18,15,.5));
}
.page-hero__inner { inline-size: 100%; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero__title { font-size: var(--fs-h1); font-weight: 400; margin-block-start: 1.1rem; }
.page-hero__sub {
  margin-block-start: .9rem;
  font-family: var(--font-en);
  direction: ltr;
  text-align: right;   /* keep the LTR run flush with the RTL column */
  unicode-bidi: isolate;
  font-size: .8125rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(242, 233, 220, .70);
}

/* Breadcrumb */
.crumbs {
  display: flex;
  gap: .5rem;
  align-items: center;
  font-size: var(--fs-small);
  color: rgba(242, 233, 220, .70);
}
.crumbs a:hover { color: var(--cream); }
.crumbs span { opacity: .5; }

/* ========================= 07 · EDITORIAL SECTIONS ====================== */
/* Asymmetric split — image and text offset, not a plain 2-column */
.split {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem) clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
.split__media { grid-column: 1 / span 6; }
.split__body  { grid-column: 8 / span 5; }
.split--flip .split__media { grid-column: 7 / span 6; }
.split--flip .split__body  { grid-column: 1 / span 5; }

/* Story block with a small overlapping secondary image */
.story__media { position: relative; }
.story__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(1rem, 2.5vw, 2.5rem);
  margin-block-start: clamp(2rem, 4vw, 3rem);
}
.story__media-sub {
  position: absolute;
  inset-inline-end: -12%;
  inset-block-end: -12%;
  inline-size: 44%;
  box-shadow: 0 18px 50px -30px rgba(36, 27, 22, .55);
}
.story__stat {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding-block: 1.1rem;
  border-block-start: 1px solid var(--line-soft);
}
.story__stat b {
  font-family: var(--font-en);
  direction: ltr;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
}
.story__stat span { font-size: var(--fs-small); color: var(--muted); }

/* Signature — dark, full-bleed feel */
.signature { position: relative; overflow: hidden; }
.signature__watermark {
  inset-inline-end: -2%;
  inset-block-start: 4%;
  font-size: clamp(5rem, 16vw, 14rem);
  color: rgba(242, 233, 220, .045);
}
.signature__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}
.signature__media { grid-column: 7 / span 6; }
.signature__body  { grid-column: 1 / span 5; }
.signature__price {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  margin-block-start: 2rem;
  padding-block-start: 1.4rem;
  border-block-start: 1px solid var(--line-invert);
}
.signature__price b {
  font-family: var(--font-en);
  direction: ltr;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1;
}
.signature__price span { font-size: var(--fs-small); color: rgba(242,233,220,.55); }

/* Space / mosaic */
.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(.9rem, 1.8vw, 1.6rem);
  align-items: end;
}
.mosaic__a { grid-column: 1 / span 7; }
.mosaic__b { grid-column: 8 / span 5; }
.mosaic__c { grid-column: 1 / span 4; }
.mosaic__d { grid-column: 5 / span 8; }

/* Quote */
.quote {
  position: relative;
  text-align: center;
  overflow: hidden;
}
.quote__watermark {
  inset-inline-start: 50%;
  inset-block-start: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(7rem, 30vw, 26rem);
  color: rgba(58, 44, 36, .038);
}
.quote blockquote {
  position: relative;
  max-inline-size: 26ch;
  margin-inline: auto;
  font-size: clamp(1.4rem, 3.4vw, 2.5rem);
  font-weight: 300;
  line-height: 1.75;
}
.quote figcaption {
  position: relative;
  margin-block-start: clamp(1.5rem, 3vw, 2.25rem);
  font-family: var(--font-en);
  direction: ltr;
  font-size: .6875rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--brown-soft);
}

/* Location */
.location__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 3vw, 3.5rem);
  align-items: center;
}
.location__body { grid-column: 1 / span 5; }
.location__media { grid-column: 7 / span 6; }

.info-list { display: grid; gap: 0; margin-block-start: clamp(1.5rem, 3vw, 2.25rem); }
.info-list__row {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding-block: 1.05rem;
  border-block-start: 1px solid var(--line-soft);
}
.info-list__row:last-child { border-block-end: 1px solid var(--line-soft); }
.info-list__k {
  font-size: var(--fs-small);
  color: var(--muted);
}
.info-list__v { font-size: var(--fs-body); line-height: 1.9; }
.info-list__v .en { font-size: 1.0625rem; letter-spacing: .04em; }
.section--dark .info-list__row,
.section--black .info-list__row { border-color: var(--line-invert); }
.section--dark .info-list__k,
.section--black .info-list__k { color: rgba(242,233,220,.55); }

/* Map placeholder */
.map {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(0deg,  transparent 0 34px, rgba(58,44,36,.055) 34px 35px),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(58,44,36,.055) 34px 35px),
    var(--cream);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.map::before {
  content: "";
  position: absolute;
  inset-block-start: 18%;
  inset-inline: -10%;
  block-size: 22px;
  background: rgba(122, 92, 70, .13);
  transform: rotate(-9deg);
}
.map::after {
  content: "";
  position: absolute;
  inset-block-end: 26%;
  inset-inline: -10%;
  block-size: 34px;
  background: rgba(122, 92, 70, .1);
  transform: rotate(6deg);
}
.map__pin {
  position: relative;
  display: grid;
  place-items: center;
  gap: .8rem;
  text-align: center;
  z-index: 1;
}
.map__dot {
  position: relative;
  inline-size: 14px;
  block-size: 14px;
  border-radius: 50%;
  background: var(--espresso);
}
.map__dot::after {
  content: "";
  position: absolute;
  inset: -13px;
  border: 1px solid rgba(36, 27, 22, .3);
  border-radius: 50%;
}
.map__label { font-size: var(--fs-small); color: var(--muted); }

/* Feature rows (about page) */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3.5rem);
}
.pillar { border-block-start: 1px solid var(--line-soft); padding-block-start: 1.5rem; }
.pillar h3 { margin-block: .75rem .6rem; }
.pillar p { color: var(--muted); font-size: .9375rem; line-height: 1.95; }
.section--dark .pillar { border-color: var(--line-invert); }
.section--dark .pillar p { color: rgba(242,233,220,.62); }

/* Big statement type */
.statement {
  text-align: center;
  font-family: var(--font-en);
  direction: ltr;
  font-size: clamp(2.25rem, 9vw, 7rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: .01em;
}
.statement em { font-style: italic; opacity: .72; }

/* ============================ 08 · MENU LISTS =========================== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4.5rem) clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.menu-group + .menu-group { margin-block-start: clamp(2rem, 4vw, 3rem); }
.menu-group { scroll-margin-block-start: calc(var(--header-h) + 5rem); }

.menu-group__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block-end: 1rem;
  margin-block-end: .5rem;
  border-block-end: 1px solid var(--line);
}
.menu-group__title h2,
.menu-group__title h3 { font-size: var(--fs-h3); font-weight: 500; }
.menu-group__title .en { font-size: .75rem; letter-spacing: var(--track-en); text-transform: uppercase; color: var(--brown-soft); }

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: .4rem .75rem;
  padding-block: 1.05rem;
  border-block-end: 1px solid var(--line-soft);
}
.menu-item:last-child { border-block-end: 0; }
.menu-item__head {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  min-inline-size: 0;
}
.menu-item__name { font-size: 1rem; font-weight: 500; white-space: nowrap; }
.menu-item__en {
  font-family: var(--font-en);
  direction: ltr;
  font-size: .8125rem;
  letter-spacing: .08em;
  color: var(--brown-soft);
  white-space: nowrap;
}
.menu-item__dots {
  flex: 1 1 auto;
  min-inline-size: 1.5rem;
  block-size: 1px;
  margin-block-end: .3em;
  background-image: linear-gradient(to right, var(--line) 33%, transparent 0%);
  background-size: 6px 1px;
  background-repeat: repeat-x;
}
.menu-item__price {
  font-family: var(--font-en);
  direction: ltr;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .04em;
  white-space: nowrap;
}
.menu-item__desc {
  grid-column: 1 / -1;
  font-size: .875rem;
  line-height: 1.85;
  color: var(--muted);
  max-inline-size: 46ch;
}
.section--dark .menu-item { border-color: var(--line-invert); }
.section--dark .menu-group + .menu-group { margin-block-start: clamp(2rem, 4vw, 3rem); }
.menu-group { scroll-margin-block-start: calc(var(--header-h) + 5rem); }

.menu-group__title { border-color: var(--line-invert); }
.section--dark .menu-item__dots {
  background-image: linear-gradient(to right, var(--line-invert) 33%, transparent 0%);
}
.section--dark .menu-item__desc { color: rgba(242,233,220,.58); }

.menu-note {
  margin-block-start: clamp(2rem, 4vw, 3rem);
  padding-block-start: 1.4rem;
  border-block-start: 1px solid var(--line-soft);
  font-size: var(--fs-small);
  color: var(--muted);
}

/* Sticky category rail on the menu page */
.menu-rail {
  position: sticky;
  inset-block-start: var(--header-h);
  z-index: 20;
  margin-block-end: clamp(2rem, 4vw, 3.5rem);
  padding-block: .85rem;
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 97%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-block-end: 1px solid var(--line-soft);
}
.menu-rail__list {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2rem);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.menu-rail__list::-webkit-scrollbar { display: none; }
.menu-rail__link {
  position: relative;
  white-space: nowrap;
  font-size: .8125rem;
  color: var(--muted);
  padding-block: .3rem;
  transition: color .3s var(--ease);
}
.menu-rail__link:hover,
.menu-rail__link.is-active { color: var(--text); }
.menu-rail__link.is-active::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  block-size: 1px;
  background: var(--brown);
}

/* Selected-menu block on the homepage */
.selected {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 3vw, 4rem);
  align-items: start;
}
.selected__list  { grid-column: 1 / span 7; }
.selected__media { grid-column: 9 / span 4; position: sticky; inset-block-start: calc(var(--header-h) + 2rem); }

/* ========================= 09 · GALLERY & LIGHTBOX ====================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(.9rem, 1.8vw, 1.5rem);
  align-items: start;
}

.gallery-grid .g-item { grid-column: span 4; }
.gallery-grid .g-item--wide { grid-column: span 6; }
.gallery-grid .g-item--full { grid-column: span 8; }
.gallery-grid .g-item--push { margin-block-start: clamp(1.5rem, 4vw, 4rem); }

/* Even three-column variant — always packs cleanly, so it survives filtering */
.gallery-grid--even { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-grid--even .g-item { grid-column: auto; }
.gallery-grid--even .g-item:nth-child(3n+2) { margin-block-start: clamp(1rem, 3vw, 3rem); }

.g-item { position: relative; }
.g-item .g-open {
  display: block;
  inline-size: 100%;
  padding: 0;
  text-align: start;
  cursor: zoom-in;
}
.g-item .g-open .frame { inline-size: 100%; }
.g-item[hidden] { display: none; }
.g-item figcaption {
  margin-block-start: .8rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .75rem;
  color: var(--muted);
}
.g-item figcaption .g-cat { font-size: .6875rem; }

/* Filter chips */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .35rem;
  margin-block-end: clamp(2rem, 4vw, 3rem);
}
.filters__btn {
  padding: .6em 1.35em;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .8125rem;
  color: var(--muted);
  transition: color .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.filters__btn:hover { color: var(--text); border-color: var(--brown-soft); }
.filters__btn[aria-pressed="true"] {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--cream);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(21, 18, 15, .94);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure {
  margin: 0;
  display: grid;
  justify-items: center;
  max-inline-size: 100%;
}
.lightbox__img {
  max-inline-size: min(100%, 1200px);
  max-block-size: 82vh;
  max-block-size: 82svh;
  object-fit: contain;
  border-radius: var(--radius);
  transform: scale(.985);
  transition: transform .5s var(--ease-out);
}
.lightbox.is-open .lightbox__img { transform: none; }
.lightbox__cap {
  margin-block-start: 1rem;
  text-align: center;
  font-size: var(--fs-small);
  color: rgba(242, 233, 220, .68);
}
.lightbox__btn {
  position: absolute;
  inline-size: 52px;
  block-size: 52px;
  display: grid;
  place-items: center;
  color: var(--cream);
  border: 1px solid var(--line-invert);
  border-radius: 50%;
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.lightbox__btn:hover { background: rgba(242, 233, 220, .12); border-color: rgba(242,233,220,.4); }
.lightbox__close { inset-block-start: clamp(1rem, 3vw, 2rem); inset-inline-end: clamp(1rem, 3vw, 2rem); }
.lightbox__prev  { inset-inline-start: clamp(1rem, 3vw, 2.5rem); inset-block-start: 50%; transform: translateY(-50%); }
.lightbox__next  { inset-inline-end: clamp(1rem, 3vw, 2.5rem); inset-block-start: 50%; transform: translateY(-50%); }
.lightbox__count {
  position: absolute;
  inset-block-end: clamp(1rem, 3vw, 2rem);
  inset-inline-start: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  direction: ltr;
  font-size: .75rem;
  letter-spacing: .2em;
  color: rgba(242, 233, 220, .70);
}

/* ============================== 10 · FORMS ============================== */
.form { display: grid; gap: clamp(1.1rem, 2vw, 1.5rem); max-inline-size: 34rem; }
.field { display: grid; gap: .5rem; }
.field label { font-size: var(--fs-small); color: var(--muted); }
.field input,
.field textarea {
  inline-size: 100%;
  padding: .85rem 0;
  border-block-end: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  font-size: 1rem;
  transition: border-color .35s var(--ease);
}
.field textarea { resize: vertical; min-block-size: 6.5rem; line-height: 1.9; }
/* phone numbers read left-to-right but must still hug the RTL edge */
.field input[type="tel"] { direction: ltr; text-align: right; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brown);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); opacity: .7; }
.form__note { font-size: var(--fs-small); color: var(--muted); }
.form__status {
  font-size: var(--fs-small);
  color: var(--brown);
  min-block-size: 1.4em;
}

/* ============================== 11 · FOOTER ============================= */
.site-footer {
  background: var(--black);
  color: var(--cream);
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(1.5rem, 3vw, 2.25rem);
  position: relative;
  overflow: hidden;
}
.site-footer__watermark {
  inset-inline-start: 50%;
  inset-block-end: -3%;
  transform: translateX(-50%);
  font-size: clamp(5rem, 22vw, 20rem);
  color: rgba(242, 233, 220, .035);
}
.site-footer__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding-block-end: clamp(2.5rem, 5vw, 4rem);
}
.site-footer__brand .brand__fa { font-size: 1.1rem; }
.site-footer__brand p {
  margin-block-start: 1.1rem;
  max-inline-size: 30ch;
  font-size: .9375rem;
  color: rgba(242, 233, 220, .6);
  line-height: 1.95;
}
.f-title {
  font-size: .6875rem;
  font-family: var(--font-en);
  direction: ltr;
  text-align: right;   /* keep the LTR run flush with the RTL column */
  letter-spacing: var(--track-en);
  text-transform: uppercase;
  color: rgba(242, 233, 220, .58);
  margin-block-end: 1.25rem;
}
.f-list { display: grid; gap: .7rem; }
.f-list a, .f-list li {
  font-size: .9375rem;
  color: rgba(242, 233, 220, .78);
  transition: color .3s var(--ease);
}
.f-list a:hover { color: var(--cream); }
.f-list .en { letter-spacing: .06em; }

.site-footer__bar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-block-start: clamp(1.25rem, 2.5vw, 1.75rem);
  border-block-start: 1px solid var(--line-invert);
  font-size: var(--fs-small);
  color: rgba(242, 233, 220, .58);
}
.site-footer__bar .en { letter-spacing: .14em; }
.site-credit {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: rgba(242, 233, 220, .72);
  transition: color .25s var(--ease);
}
.site-credit:hover,
.site-credit:focus-visible { color: var(--cream); }
.site-credit__heart { line-height: 1; filter: saturate(.9); }

.social { display: flex; gap: .6rem; }
.social a {
  inline-size: 42px;
  block-size: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-invert);
  border-radius: 50%;
  color: rgba(242, 233, 220, .8);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.social a:hover { background: var(--cream); color: var(--black); border-color: var(--cream); }
.social svg { inline-size: 17px; block-size: 17px; }

/* CTA strip above the footer */
.cta-strip {
  background: var(--dark-brown);
  color: var(--cream);
  padding-block: clamp(3rem, 6vw, 5rem);
}
.cta-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem 2.5rem;
}
.cta-strip h2 { font-size: var(--fs-h2); font-weight: 400; max-inline-size: 18ch; }

/* =========================== 12 · MOTION / REVEAL ======================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease-out), transform 1s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .09s; }
[data-reveal][data-delay="2"] { transition-delay: .18s; }
[data-reveal][data-delay="3"] { transition-delay: .27s; }
[data-reveal][data-delay="4"] { transition-delay: .36s; }

/* Image reveal — a soft curtain wipe */
[data-reveal-img] { position: relative; overflow: hidden; }
[data-reveal-img]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cream-light);
  transform-origin: top;
  transition: transform 1.15s var(--ease-out);
  z-index: 2;
}
[data-reveal-img].is-in::after { transform: scaleY(0); }
.section--dark [data-reveal-img]::after,
.section--black [data-reveal-img]::after,
.signature [data-reveal-img]::after { background: var(--espresso); }

[data-reveal-img] > img {
  transform: scale(1.06);
  transition: transform 1.5s var(--ease-out);
}
[data-reveal-img].is-in > img { transform: none; }

/* Text reveal — line by line */
.reveal-lines > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s var(--ease-out), transform .9s var(--ease-out);
}
.reveal-lines.is-in > *          { opacity: 1; transform: none; }
.reveal-lines.is-in > *:nth-child(2) { transition-delay: .08s; }
.reveal-lines.is-in > *:nth-child(3) { transition-delay: .16s; }
.reveal-lines.is-in > *:nth-child(4) { transition-delay: .24s; }
.reveal-lines.is-in > *:nth-child(5) { transition-delay: .32s; }
.reveal-lines.is-in > *:nth-child(6) { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal],
  .reveal-lines > * { opacity: 1 !important; transform: none !important; }
  [data-reveal-img]::after { display: none; }
  [data-reveal-img] > img { transform: none !important; }
  .hero__scroll i { animation: none; opacity: .6; }
}
