/* Your restaurant: colours (generated by scripts/demos/build.mjs; edit there) */
:root { --bg: #fafaf6; --ink: #20231a; --acc: #66743a; --acc-text: #4e5a27; --on-acc: #fbf9f0; --soft: #ecebdd; --paper: #ffffff; --card: #6f7d41; --strip: #66743a; --strip-ink: #fbf9f0; --strip-btn: #fbf9f0; --strip-btn-ink: #20231a; --dir-cut: #66743a; --map-land: #ebeadc; }
/* BARQI demo sites: one shared stylesheet, one family with the home page's "Your café" mock.
   build.mjs writes it to each demo as site.css, after that demo's colour tokens.
   Type: Fraunces (display) and Inter (text); Arabic: Amiri (display) and Noto Sans Arabic (text). */

@font-face { font-family: Fraunces; src: url(../_fonts/fraunces.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Inter; src: url(../_fonts/inter.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Amiri; src: url(../_fonts/amiri.woff2) format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0020, U+00A0, U+0600, U+060C, U+061B, U+061F, U+0621-063A, U+0640-0655, U+0660-066D, U+0670, U+06F0, U+06F9, U+06FF, U+200C-200F; }
@font-face { font-family: 'Noto Sans Arabic'; src: url(../_fonts/noto-ar.woff2) format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0020, U+00A0, U+0600, U+060C, U+061B, U+061F, U+0621-063A, U+0640-0655, U+0660-066D, U+0670, U+06F0, U+06F9, U+06FF, U+200C-200F; }
@font-face { font-family: 'Noto Sans Arabic'; src: url(../_fonts/noto-ar-latin.woff2) format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0021-007E, U+00AB, U+00B7, U+00BB, U+2013-2014, U+2018-2019, U+201C-201D, U+2026; }

:root {
  --muted: color-mix(in srgb, var(--ink) 72%, transparent);
  --quiet: color-mix(in srgb, var(--ink) 58%, transparent);
  --line: color-mix(in srgb, var(--ink) 11%, transparent);
  --shade: color-mix(in srgb, var(--ink) 42%, transparent);
  --ok-bg: #e3ead6; --ok-ink: #35552a; --ok-dot: #4f8a3c;
  --serif: Fraunces, Georgia, serif;
  --sans: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --maxw: 1180px;
  --gut: clamp(20px, 4.4vw, 56px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
:root:lang(ar) { --serif: Amiri, 'Noto Sans Arabic', serif; --sans: 'Noto Sans Arabic', Inter, system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.motion { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
/* The fine film grain of the home page's mock (128 px tile at 5 %): texture, never moves. */
body::after { content: ''; position: fixed; inset: 0; z-index: 60; pointer-events: none; background: url(assets/grain.png) 0 0 / 128px 128px; opacity: .05; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
.ico { inline-size: 1.15em; block-size: 1.15em; flex: none; }
:focus-visible { outline: 3px solid var(--acc-text); outline-offset: 3px; border-radius: 10px; }
.sr { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { max-inline-size: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.num { unicode-bidi: isolate; direction: ltr; display: inline-block; }
section[id] { scroll-margin-block-start: 100px; }
/* Decorations may spill past the content edge (the floating ingredients); the page never scrolls sideways,
   in either direction (RTL overflows to the left). main spans the full viewport, so nothing on screen is cut. */
main { overflow-x: clip; }

/* ---------- Header ---------- */
.top-sentinel { position: absolute; inset-block-start: 0; block-size: 1px; inline-size: 1px; }
.nav { position: sticky; inset-block-start: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px); transition: box-shadow .4s var(--ease); }
.nav.is-stuck { box-shadow: 0 1px 0 var(--line), 0 10px 30px -24px var(--shade); }
.nav__in { display: flex; align-items: center; gap: 32px; block-size: 84px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 620; font-size: 25px; letter-spacing: -.01em; font-variation-settings: 'opsz' 48, 'SOFT' 60; white-space: nowrap; }
:lang(ar) .logo { font-weight: 400; font-size: 29px; letter-spacing: 0; }
.logo__mark { inline-size: 28px; aspect-ratio: 1; border-radius: 50%; background: var(--acc); box-shadow: inset 0 0 0 5.5px var(--paper), 0 0 0 1px var(--line); flex: none; }
.nav__links { display: flex; gap: 30px; margin-inline-start: auto; font-size: 15.5px; font-weight: 500; color: var(--muted); }
.nav__links a { position: relative; padding-block: 6px; transition: color .25s var(--ease); }
.nav__links a::after { content: ''; position: absolute; inset-inline: 0; inset-block-end: 0; block-size: 2px; border-radius: 2px; background: var(--acc); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.pill { display: inline-flex; align-items: center; gap: 9px; min-block-size: 46px; padding: 0 21px; border-radius: 99px; background: var(--ink); color: var(--bg); font-size: 15.5px; font-weight: 600; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.pill .ico { inline-size: 16px; block-size: 16px; }
.pill:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px var(--shade); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding-block: clamp(8px, 2vw, 28px) 0; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 11px; border-radius: 99px; background: var(--ok-bg); color: var(--ok-ink); font-size: 14px; font-weight: 600; }
.badge i { inline-size: 9px; aspect-ratio: 1; border-radius: 50%; background: var(--ok-dot); }
.h1 { margin-block: 20px 16px; font-family: var(--serif); font-weight: 560; font-size: clamp(44px, 6.15vw, 80px); line-height: .98; letter-spacing: -.025em; font-variation-settings: 'opsz' 144, 'SOFT' 80; }
:lang(ar) .h1 { font-weight: 400; font-size: clamp(46px, 6.3vw, 82px); line-height: 1.3; letter-spacing: 0; }
.h1 .ln { display: block; }
.h1 .w { display: inline-block; }
.sub { max-inline-size: 44ch; font-size: clamp(16.5px, 1.5vw, 19px); color: var(--muted); text-wrap: balance; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-block-size: 52px; padding: 0 25px; border-radius: 99px; border: 2px solid var(--ink); color: var(--ink); font-size: 16.5px; font-weight: 650; white-space: nowrap; transition: transform .28s var(--ease), box-shadow .28s var(--ease), background-color .28s var(--ease), color .28s var(--ease); }
.btn .ico { inline-size: 18px; block-size: 18px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -16px var(--shade); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--fill { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }
.btn--line:hover { background: var(--ink); color: var(--bg); }
.btn--light { background: var(--strip-btn); border-color: var(--strip-btn); color: var(--strip-btn-ink); }

.visual { position: relative; aspect-ratio: 1 / .82; border-radius: 28px; --tx: 0; --ty: 0; transition: transform .7s var(--ease); }
.visual.is-tilt { transform: perspective(1100px) rotateX(calc(var(--ty) * -5deg)) rotateY(calc(var(--tx) * 6deg)); }
.visual.is-tilt .art { translate: calc(-50% + var(--tx) * -14px) calc(-50% + var(--ty) * -10px); transition: translate .7s var(--ease); }
.visual.is-tilt .float { translate: calc(var(--tx) * 10px) calc(var(--ty) * 8px); }
.visual__card { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; background: var(--card); container-type: size; box-shadow: inset 0 0 0 1px color-mix(in srgb, #000 6%, transparent); }
.visual__card::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, color-mix(in srgb, #000 12%, transparent)); pointer-events: none; }
.art--mirror { scale: -1 1; }
.art { position: absolute; left: 50%; top: 50%; inline-size: min(86cqw, 86cqh); aspect-ratio: 1; translate: -50% -50%; overflow: visible; }
.float { position: absolute; inset-inline-start: -46px; inset-block-end: 30px; z-index: 2; display: flex; align-items: center; gap: 13px; padding: 9px 20px 9px 9px; border-radius: 17px; background: var(--paper); box-shadow: 0 18px 38px -18px var(--shade), 0 0 0 1px var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
[dir='rtl'] .float { padding: 9px 9px 9px 20px; }
.float:hover { transform: translateY(-3px); }
.float .mini { inline-size: 88px; block-size: 66px; border-radius: 11px; overflow: hidden; flex: none; }
.float__txt { display: grid; }
.float b { font-size: 16px; font-weight: 650; line-height: 1.25; color: var(--ink); }
.float__sub { font-size: 14px; color: var(--muted); }

/* Featured cards under the hero: a small label over four soft cards. */
.feat { padding-block-start: 44px; }
.label { display: block; margin-block-end: 14px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--acc-text); }
:lang(ar) .label { font-size: 15.5px; letter-spacing: 0; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { display: grid; align-content: start; gap: 4px; padding: 20px 20px 22px; border-radius: 20px; background: var(--soft); transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease); }
.card:hover { transform: translateY(-5px); background: color-mix(in srgb, var(--soft) 55%, var(--paper)); box-shadow: 0 22px 36px -24px var(--shade); }
.card .ico { inline-size: 34px; block-size: 34px; margin-block-end: 10px; color: var(--acc); transition: transform .45s var(--ease); }
.card:hover .ico { transform: translateY(-2px) rotate(-6deg); }
.card b { font-family: var(--serif); font-weight: 600; font-size: 21px; letter-spacing: -.01em; line-height: 1.2; font-variation-settings: 'opsz' 48, 'SOFT' 50; }
:lang(ar) .card b { font-weight: 400; font-size: 25px; letter-spacing: 0; line-height: 1.35; }
.card span { font-size: 14px; color: var(--muted); }

/* ---------- Why us: one quiet panel, four short notes ---------- */
.why { margin-block-start: clamp(64px, 8vw, 104px); }
.why__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 26px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.why__item { display: grid; align-content: start; gap: 6px; padding: 28px 28px 30px; }
.why__item + .why__item { border-inline-start: 1px solid var(--line); }
.why__ico { display: grid; place-items: center; inline-size: 48px; aspect-ratio: 1; margin-block-end: 12px; border-radius: 15px; background: var(--soft); color: var(--acc); transition: transform .45s var(--ease); }
.why__ico .ico { inline-size: 26px; block-size: 26px; }
.why__item:hover .why__ico { transform: translateY(-3px) rotate(-4deg); }
.why__item b { font-size: 17px; font-weight: 650; text-wrap: balance; }
.why__txt { font-size: 15px; color: var(--muted); text-wrap: pretty; }

/* ---------- The menu or services, in full ---------- */
.sec { margin-block-start: clamp(76px, 9vw, 124px); }
.sec__h { font-family: var(--serif); font-weight: 560; font-size: clamp(36px, 4.2vw, 54px); line-height: 1.02; letter-spacing: -.022em; font-variation-settings: 'opsz' 144, 'SOFT' 80; }
:lang(ar) .sec__h { font-weight: 400; line-height: 1.32; letter-spacing: 0; font-size: clamp(38px, 4.4vw, 56px); }
.sec__sub { margin-block-start: 12px; max-inline-size: 46ch; font-size: 17.5px; color: var(--muted); text-wrap: pretty; }
.menu { display: grid; grid-template-columns: 1.12fr 1fr; grid-template-rows: auto auto; gap: 18px; margin-block-start: 34px; }
.cat { padding: 28px 30px 16px; border-radius: 24px; background: var(--soft); }
.cat--lead { grid-row: span 2; display: flex; flex-direction: column; }
.cat--lead ul { flex: 1; display: flex; flex-direction: column; justify-content: space-around; }
.cat__h { display: flex; align-items: center; gap: 12px; margin-block-end: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--acc-text); }
:lang(ar) .cat__h { font-size: 16px; letter-spacing: 0; }
.cat__h .ico { inline-size: 30px; block-size: 30px; color: var(--acc); }
.item { display: grid; gap: 3px; padding-block: 13px 15px; }
.item b { font-family: var(--serif); font-weight: 600; font-size: 20px; letter-spacing: -.01em; line-height: 1.25; font-variation-settings: 'opsz' 48, 'SOFT' 50; }
:lang(ar) .item b { font-weight: 400; font-size: 23px; letter-spacing: 0; line-height: 1.4; }
.item span { font-size: 15px; color: var(--muted); }
.cat--lead .item { padding-block: 16px 18px; }
.cat--lead .item b { font-size: 23px; }
:lang(ar) .cat--lead .item b { font-size: 26px; }

/* ---------- Visit: hours, address, a small map ---------- */
.visit { display: grid; grid-template-columns: 1fr 1.1fr; overflow: hidden; border-radius: 30px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 40px 70px -50px var(--shade); }
.visit__info { padding: clamp(30px, 4vw, 52px); }
.visit__info .sec__h { font-size: clamp(34px, 3.6vw, 46px); }
.addr { display: flex; align-items: center; gap: 10px; margin-block-start: 14px; font-size: 16.5px; color: var(--muted); }
.addr .ico, .phone .ico { color: var(--acc); inline-size: 20px; block-size: 20px; }
.hours { display: grid; gap: 0; margin-block-start: 26px; border-radius: 18px; background: var(--soft); padding: 6px 20px; }
.hours li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding-block: 12px; font-size: 16px; }
.hours li span { white-space: nowrap; }
.hours li + li { border-block-start: 1px solid var(--line); }
.hours li span:first-child { font-weight: 600; }
.hours li span:last-child { color: var(--muted); }
.phone { display: flex; align-items: center; gap: 10px; margin-block-start: 18px; font-size: 16px; color: var(--muted); }
.phone b { color: var(--ink); font-weight: 600; }
.visit .btns { margin-block-start: 26px; }
.map { position: relative; min-block-size: 420px; background: var(--map-land); }
.map > svg { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; }
.pin { position: absolute; left: var(--px); top: var(--py); translate: -50% -100%; display: grid; justify-items: center; }
.pin__tag { margin-block-end: 8px; padding: 7px 13px; border-radius: 12px; background: var(--paper); box-shadow: 0 10px 24px -12px var(--shade), 0 0 0 1px var(--line); font-size: 14px; font-weight: 650; white-space: nowrap; }
.pin__drop { position: relative; inline-size: 34px; block-size: 44px; color: var(--acc); }
.pin__drop svg { inline-size: 100%; block-size: 100%; filter: drop-shadow(0 6px 6px color-mix(in srgb, #000 22%, transparent)); }
.map .route { stroke-dashoffset: 0; }
.pin__ring { position: absolute; left: 50%; bottom: -7px; inline-size: 44px; block-size: 16px; translate: -50% 0; border-radius: 50%; border: 2px solid var(--acc); opacity: 0; }

/* ---------- Order or booking strip ---------- */
.strip { display: flex; align-items: center; gap: 28px; padding: clamp(28px, 3.6vw, 44px) clamp(28px, 4vw, 52px); border-radius: 30px; background: var(--strip); color: var(--strip-ink); }
.strip__ico { display: grid; place-items: center; flex: none; inline-size: 66px; aspect-ratio: 1; border-radius: 22px; background: color-mix(in srgb, var(--strip-ink) 14%, transparent); }
.strip__ico .ico { inline-size: 32px; block-size: 32px; }
.strip__txt { flex: 1; }
.strip h2 { font-family: var(--serif); font-weight: 560; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; letter-spacing: -.018em; font-variation-settings: 'opsz' 96, 'SOFT' 80; }
:lang(ar) .strip h2 { font-weight: 400; line-height: 1.4; letter-spacing: 0; }
.strip p { margin-block-start: 6px; font-size: 16.5px; } /* full ink: at 92 % it read at 4.1:1 on the café's orange (AA, 2026-11-10) */

/* ---------- Footer ---------- */
.foot { margin-block-start: clamp(64px, 8vw, 96px); border-block-start: 1px solid var(--line); }
.foot__in { display: flex; align-items: center; gap: 28px; padding-block: 30px 38px; font-size: 14.5px; color: var(--muted); }
.foot .logo { font-size: 21px; color: var(--ink); }
:lang(ar) .foot .logo { font-size: 24px; }
.foot .logo__mark { inline-size: 22px; box-shadow: inset 0 0 0 4.5px var(--paper), 0 0 0 1px var(--line); }
.foot__links { display: flex; gap: 22px; margin-inline-start: auto; }
.foot__links a:hover, .foot__lang:hover { color: var(--ink); }
.foot__lang { font-weight: 600; color: var(--ink); }
.foot__by { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 99px; background: var(--soft); color: var(--ink); font-size: 13px; font-weight: 600; }
.foot__by i { inline-size: 7px; aspect-ratio: 1; border-radius: 50%; background: var(--acc); }
.foot__earth { inline-size: 20px; block-size: 20px; flex: none; }

/* ---------- Motion: hidden only while waiting to play (never without JS, never under reduced motion) ---------- */
html.motion:not(.played) [data-in] { opacity: 0; }
html.motion .rv:not(.shown) [data-r] { opacity: 0; }
.steam path, .art .clip { opacity: 0; }
html.still .steam path { opacity: .42; }
.art g, .art path, .art circle, .art rect, .art ellipse { transform-box: view-box; }

/* ---------- Phone ---------- */
@media (max-width: 880px) {
  .nav__in { block-size: 72px; gap: 16px; }
  section[id] { scroll-margin-block-start: 84px; }
  .nav__links { display: none; }
  .pill { margin-inline-start: auto; }
  .logo { font-size: 21px; gap: 10px; }
  .logo__mark { inline-size: 24px; box-shadow: inset 0 0 0 4.5px var(--paper), 0 0 0 1px var(--line); }
  .pill { padding: 0 17px; }
  :lang(ar) .logo { font-size: 27px; }
  .hero { grid-template-columns: 1fr; gap: 26px; padding-block-start: 4px; }
  .visual { order: -1; aspect-ratio: 1 / .64; border-radius: 24px; }
  .float { inset-inline-start: 14px; inset-block-end: 14px; padding: 7px 16px 7px 7px; border-radius: 15px; gap: 11px; }
  [dir='rtl'] .float { padding: 7px 7px 7px 16px; }
  .float .mini { inline-size: 70px; block-size: 52px; border-radius: 9px; }
  .float b { font-size: 15px; }
  .float__sub { font-size: 13.5px; }
  .h1 { margin-block: 16px 12px; font-size: clamp(42px, 11.6vw, 64px); }
  :lang(ar) .h1 { font-size: clamp(44px, 12vw, 66px); }
  .btns { margin-block-start: 24px; gap: 10px; }
  .btn { min-block-size: 50px; padding: 0 20px; font-size: 16px; }
  .btns .btn { flex: 1 1 auto; }
  .feat { padding-block-start: 36px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card { padding: 17px 16px 18px; border-radius: 18px; }
  .card .ico { inline-size: 30px; block-size: 30px; margin-block-end: 6px; }
  .card b { font-size: 19px; }
  :lang(ar) .card b { font-size: 22px; }
  .card span { font-size: 13.5px; }
  .why__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why__item { padding: 22px 18px 24px; }
  .why__item + .why__item { border-inline-start: 0; }
  .why__item:nth-child(even) { border-inline-start: 1px solid var(--line); }
  .why__item:nth-child(n+3) { border-block-start: 1px solid var(--line); }
  .why__ico { inline-size: 42px; border-radius: 13px; margin-block-end: 8px; }
  .why__ico .ico { inline-size: 22px; block-size: 22px; }
  .why__item b { font-size: 16px; }
  .why__txt { font-size: 14px; }
  .sec__sub { font-size: 16.5px; }
  .menu { grid-template-columns: 1fr; margin-block-start: 26px; gap: 14px; }
  .cat--lead { grid-row: auto; }
  .cat { padding: 22px 22px 10px; border-radius: 22px; }
  .item, .cat--lead .item { padding-block: 11px 13px; }
  .item b, .cat--lead .item b { font-size: 19.5px; }
  :lang(ar) .item b, :lang(ar) .cat--lead .item b { font-size: 22px; }
  .visit { grid-template-columns: 1fr; border-radius: 26px; }
  .map { min-block-size: 260px; order: -1; }
  .strip { flex-direction: column; align-items: flex-start; gap: 18px; border-radius: 26px; }
  .strip__ico { inline-size: 56px; border-radius: 18px; }
  .strip .btn { inline-size: 100%; }
  .foot__in { flex-direction: column; align-items: flex-start; gap: 10px; padding-block: 26px 32px; }
  .foot__links { margin-inline-start: 0; flex-wrap: wrap; gap: 0 22px; }
  .foot__links a { padding-block: 12px; }
  .foot__by { min-block-size: 40px; padding-inline: 15px; }
}
@media (max-width: 380px) {
  .btn { padding: 0 16px; font-size: 15px; }
}

/* ---------- Reel-style hero (café examples): calm, product first, lots of white ---------- */
.nav--reel { background: color-mix(in srgb, var(--bg) 90%, transparent); }
.nav--reel .nav__in { block-size: 78px; gap: 40px; }
.logo--reel { font-size: 22px; font-weight: 500; letter-spacing: -.005em; font-variation-settings: 'opsz' 36, 'SOFT' 20; }
:lang(ar) .logo--reel { font-size: 27px; font-weight: 400; }
.nav--reel .nav__links { margin-inline: auto; gap: 34px; font-size: 15px; }
.nav__icons { display: flex; gap: 6px; }
.nav__icons a { display: grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: 50%; color: var(--ink); transition: background-color .25s var(--ease); }
.nav__icons a:hover { background: var(--soft); }
.nav__icons .ico { inline-size: 21px; block-size: 21px; }
.reel { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; padding-block: clamp(12px, 2.4vw, 32px) clamp(28px, 4vw, 56px); }
.reel__visual { display: grid; justify-items: center; gap: 20px; }
.reel__frame { position: relative; inline-size: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 22px; background: #efe9e0; box-shadow: 0 30px 60px -44px var(--shade); }
.reel__video { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
.reel__art { display: none; position: absolute; inset: 0; background: var(--card); container-type: size; }
html.art-mode .reel__art { display: block; }
html.art-mode .reel__video { display: none; }
.reel__dots { display: flex; gap: 9px; }
.reel__dots i { inline-size: 8px; block-size: 8px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 18%, transparent); transition: inline-size .5s var(--ease), background-color .5s var(--ease); }
.reel__dots i.on { inline-size: 26px; background: var(--ink); }
.reel__copy { max-inline-size: 470px; }
.reel__label { font-size: 12.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--acc-text); }
:lang(ar) .reel__label { font-size: 16px; letter-spacing: 0; font-weight: 600; }
.reel__title { margin-block: 16px 20px; font-family: var(--serif); font-weight: 400; font-size: clamp(76px, 9.4vw, 136px); line-height: .92; letter-spacing: -.035em; font-variation-settings: 'opsz' 144, 'SOFT' 0, 'WONK' 0; }
:lang(ar) .reel__title { font-size: clamp(84px, 10vw, 146px); line-height: 1.2; letter-spacing: 0; margin-block: 6px 10px; }
.reel__title .w { display: inline-block; }
/* 64 % ink (the --quiet 58 % read at 4.0:1 on the café's paper): AA contrast for small text, 2026-11-10. */
.reel__line { display: flex; flex-wrap: wrap; gap: 26px; font-size: 12.5px; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; color: color-mix(in srgb, var(--ink) 64%, transparent); }
:lang(ar) .reel__line { font-size: 16px; letter-spacing: 0; gap: 22px; }
.reel__text { margin-block-start: 22px; max-inline-size: 34ch; font-size: 17px; line-height: 1.65; color: var(--muted); }
.pill--lg { margin-block-start: 32px; min-block-size: 54px; padding: 0 32px; font-size: 16px; }
.chat { position: fixed; inset-inline-end: 22px; inset-block-end: 22px; z-index: 50; display: grid; place-items: center; inline-size: 56px; block-size: 56px; border-radius: 50%; background: var(--ink); color: var(--bg); box-shadow: 0 16px 34px -16px var(--shade); transition: transform .3s var(--ease); }
.chat .ico { inline-size: 24px; block-size: 24px; }
.chat:hover { transform: translateY(-3px) scale(1.04); }
@media (max-width: 880px) {
  .nav--reel .nav__in { block-size: 66px; }
  .nav--reel .nav__links { display: none; }
  .nav__icons { margin-inline-start: auto; }
  .reel { grid-template-columns: 1fr; gap: 26px; padding-block-start: 4px; }
  .reel__frame { border-radius: 20px; }
  .reel__title { font-size: clamp(64px, 18vw, 96px); margin-block: 12px 16px; }
  :lang(ar) .reel__title { font-size: clamp(72px, 20vw, 104px); }
  .reel__line { gap: 18px; letter-spacing: .28em; }
  .reel__text { font-size: 16.5px; }
  .pill--lg { inline-size: 100%; justify-content: center; }
  .chat { inline-size: 52px; block-size: 52px; inset-inline-end: 16px; inset-block-end: 16px; }
}

/* ---------- The café's creative layer: tilt, floating ingredients, resting steam, magnetic pill ---------- */
.reel__visual { position: relative; }
.reel__tilt { position: relative; z-index: 2; inline-size: 100%; transform-style: preserve-3d; will-change: transform; }
.reel__glare { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; background: radial-gradient(60% 60% at var(--gx, 50%) var(--gy, 40%), rgb(255 255 255 / .22), transparent 62%); transition: opacity .6s var(--ease); mix-blend-mode: soft-light; }
.reel__visual.is-near .reel__glare { opacity: 1; }
.rest-steam { position: absolute; inset: 0; z-index: 1; inline-size: 100%; block-size: 100%; pointer-events: none; transform: translate(var(--stx, 0%), var(--sty, 0%)); }
.rest-sheen { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; background: linear-gradient(105deg, transparent 32%, rgb(255 255 255 / .2) 50%, transparent 68%); }
.rest-steam path { opacity: 0; }
html.art-mode .rest-steam { display: none; }
/* Floating ingredients: placed around the card, some behind it, the near ones in front. Crisp shapes; only the
   shadow is soft. Their transform is the physics (site.js); the entrance runs on .floater__in. */
.floaters { position: absolute; inset: 0; pointer-events: none; }
.floater { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); z-index: 1; inline-size: var(--s); translate: -50% -50%; will-change: transform; }
[dir='rtl'] .floater { left: auto; right: calc(var(--x) * 1%); translate: 50% -50%; }
.floater--front { z-index: 3; }
.floater__in { display: block; rotate: var(--r); }
.floater svg { display: block; inline-size: 100%; block-size: auto; overflow: visible; filter: drop-shadow(0 14px 14px rgb(43 24 12 / .2)) drop-shadow(0 3px 3px rgb(43 24 12 / .16)); }
/* The magnetic pill: it leans toward the pointer (translate set by site.js) and a soft sheen crosses it. */
.pill--magnet { position: relative; overflow: hidden; isolation: isolate; transition: box-shadow .3s var(--ease), transform .25s var(--ease); }
.pill--magnet .pill__label { display: inline-block; }
.pill--magnet::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .26) 48%, transparent 64%) 140% 0 / 260% 100% no-repeat; transition: background-position 0s; }
.pill--magnet:hover::after { background-position: -40% 0; transition: background-position 1s var(--ease); }
.pill--magnet:hover { transform: none; box-shadow: 0 18px 30px -16px var(--shade); }
@media (max-width: 880px) {
  .floater--wide { display: none; }
  .floater { inline-size: calc(var(--s) * .78); }
}

/* ---------- Signature scenes: the still stays until the WebGL scene is live (and always under reduced motion) ---------- */
[data-scene] { position: relative; isolation: isolate; }
[data-scene] > canvas { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; display: block; opacity: 0; transition: opacity .6s ease; touch-action: pan-y; }
[data-scene].is-live > canvas { opacity: 1; }
[data-scene] .scene__still { transition: opacity .6s ease; }
[data-scene].is-live .scene__still { opacity: 0; }

/* ---------- Café: "On the bar", clips on a concave arc (drag, tap to play once) ---------- */
.spot { overflow: hidden; }
.spot__kicker { font-size: 14px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--acc-text); margin-block-end: 10px; }
:lang(ar) .spot__kicker { letter-spacing: 0; font-size: 15px; }
.spot__arc { position: relative; display: grid; justify-items: center; gap: 18px; margin-block-start: clamp(20px, 3vw, 36px); outline: none; }
.spot__arc:focus-visible .spot__stage { outline: 2px solid var(--acc); outline-offset: 6px; border-radius: 24px; }
[data-carousel].flat [data-track]:focus-visible { outline: 2px solid var(--acc); outline-offset: 4px; border-radius: 16px; }
.spot__stage { position: relative; display: grid; place-items: center; inline-size: 100%; block-size: clamp(400px, 40vw, 540px); perspective: 1100px; }
.spot__track { position: relative; inline-size: clamp(220px, 24vw, 330px); aspect-ratio: 3 / 4; transform-style: preserve-3d; touch-action: pan-y; cursor: grab; user-select: none; }
.spot__track:active { cursor: grabbing; }
.spot__card { position: absolute; inset: 0; margin: 0; overflow: hidden; border-radius: 22px; background: var(--soft); box-shadow: 0 30px 60px -36px var(--shade), 0 0 0 1px var(--line); will-change: transform; cursor: pointer; }
.spot__card video { inline-size: 100%; block-size: 100%; object-fit: cover; pointer-events: none; filter: saturate(.85) brightness(.96); transition: filter .4s var(--ease); }
.spot__card.front video { filter: none; }
.spot__card figcaption { position: absolute; inset-inline: 0; inset-block-end: 0; display: grid; gap: 2px; padding: 40px 18px 16px; background: linear-gradient(transparent, rgb(30 20 14 / .62)); color: #fff; opacity: 0; transition: opacity .3s var(--ease); }
.spot__card.front figcaption { opacity: 1; }
.spot__card figcaption b { font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.15; }
.spot__card figcaption span { font-size: 14.5px; opacity: .9; }
.spot__play { position: absolute; inset-block-start: 14px; inset-inline-end: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 10px; border-radius: 99px; background: rgb(255 255 255 / .9); color: var(--ink); font-size: 13px; font-weight: 650; opacity: 0; transition: opacity .3s var(--ease); }
.spot__play::before { content: ''; inline-size: 0; block-size: 0; border-block: 5px solid transparent; border-left: 8px solid currentColor; } /* a play sign points right in every language */
.spot__card.front .spot__play { opacity: 1; }
.spot__card.playing .spot__play { opacity: 0; }
.spot__dots { display: flex; gap: 8px; }
.spot__dots i { inline-size: 8px; block-size: 8px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 18%, transparent); transition: inline-size .4s var(--ease), background-color .4s var(--ease); }
.spot__dots i.on { inline-size: 26px; background: var(--acc); }
/* Reduced motion: a flat row; the posters stay posters. */
.spot__arc.flat .spot__stage { block-size: auto; perspective: none; }
.spot__arc.flat .spot__track { display: flex; gap: 14px; inline-size: 100%; aspect-ratio: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--gut); cursor: auto; }
.spot__arc.flat .spot__card { position: relative; flex: 0 0 min(64vw, 280px); aspect-ratio: 3 / 4; transform: none !important; opacity: 1 !important; scroll-snap-align: center; cursor: auto; }
.spot__arc.flat .spot__card figcaption { opacity: 1; }
.spot__arc.flat .spot__play, .spot__arc.flat .spot__dots { display: none; }

/* ---------- restaurant theme (themes/restaurant.mjs) ---------- */

@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500 600; font-display: swap; src: url(../_fonts/cormorant-garamond-latin-500.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url(../_fonts/cormorant-garamond-latin-500i.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Markazi Text'; font-style: normal; font-weight: 500 600; font-display: swap; src: url(../_fonts/markazi-text-arabic-500.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EEFF; }

/* ================= Restaurant: charcoal, ember, cream ================= */
:root { --bg: #121110; --ink: #efe6d6; --acc: #c9924a; --acc-text: #d9a866; --on-acc: #15100b; --soft: #1a1816; --paper: #171513;
  --strip: #1a1816; --strip-ink: #efe6d6; --strip-btn: #c9924a; --strip-btn-ink: #15100b; --dir-cut: #15100b; --map-land: #1c1a17;
  --serif: 'Cormorant Garamond', Georgia, serif; --fd-ease: cubic-bezier(.2, .7, .1, 1); }
:root:lang(ar) { --serif: 'Markazi Text', 'Noto Sans Arabic', serif; }
body { background: var(--bg); color: var(--ink); }
body::after { opacity: .07; }
::selection { background: var(--acc); color: var(--on-acc); }
:focus-visible { outline-color: var(--acc); }

/* Nav: over the film; a dark bar once the page scrolls. Links either side of the name. */
.fd-nav { position: sticky; inset-block-start: 0; z-index: 40; block-size: 92px; margin-block-end: -92px; transition: background-color .6s var(--fd-ease), box-shadow .6s var(--fd-ease); }
.fd-nav.is-stuck { background: rgb(18 17 16 / .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.fd-nav__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; block-size: 100%; }
.fd-nav__side { display: flex; align-items: center; gap: 34px; font-size: 12.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
:lang(ar) .fd-nav__side { font-size: 15.5px; letter-spacing: 0; font-weight: 500; }
.fd-nav__side--end { justify-content: flex-end; }
.fd-nav__side a { position: relative; padding-block: 8px; transition: color .4s var(--fd-ease); }
.fd-nav__side a:hover { color: var(--ink); }
.fd-logo { font-family: var(--serif); font-size: 27px; font-weight: 500; letter-spacing: .06em; color: var(--ink); white-space: nowrap; }
:lang(ar) .fd-logo { font-size: 32px; letter-spacing: 0; font-weight: 600; }
.fd-logo i { font-style: normal; color: var(--acc); }
.fd-reserve { padding: 10px 18px !important; border: 1px solid color-mix(in srgb, var(--acc) 70%, transparent); border-radius: 2px; color: var(--ink); }
.fd-reserve:hover { background: var(--acc); color: var(--on-acc) !important; }

/* Hero: the film full-bleed, shaded toward the words. */
.fd-hero { position: relative; isolation: isolate; block-size: min(100svh, 880px); min-block-size: 640px; overflow: hidden; background: #0c0b0a; }
.fd-hero__media { position: absolute; inset: 0; z-index: -2; }
.fd-hero__video { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
html.art-mode .fd-hero .fd-hero__video { display: block; }
.fd-hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgb(12 11 10 / .9) 0%, rgb(12 11 10 / .62) 38%, rgb(12 11 10 / .12) 72%, rgb(12 11 10 / .3) 100%), linear-gradient(0deg, rgb(12 11 10 / .92) 0%, transparent 34%), linear-gradient(180deg, rgb(12 11 10 / .7) 0%, transparent 22%); }
[dir='rtl'] .fd-hero__shade { background: linear-gradient(270deg, rgb(12 11 10 / .9) 0%, rgb(12 11 10 / .62) 38%, rgb(12 11 10 / .12) 72%, rgb(12 11 10 / .3) 100%), linear-gradient(0deg, rgb(12 11 10 / .92) 0%, transparent 34%), linear-gradient(180deg, rgb(12 11 10 / .7) 0%, transparent 22%); }
.fd-hero__copy { position: absolute; inset-inline: 0; inset-block-end: clamp(56px, 11vh, 120px); }
.fd-hero__copy .wrap > * { max-inline-size: 640px; }
.fd-kicker { display: flex; align-items: center; gap: 16px; font-size: 12.5px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--acc-text); }
.fd-kicker::before { content: ''; inline-size: 42px; block-size: 1px; background: currentColor; opacity: .8; }
:lang(ar) .fd-kicker { font-size: 16px; letter-spacing: 0; }
.fd-title { margin-block: 22px 22px; font-family: var(--serif); font-weight: 500; font-size: clamp(58px, 7.6vw, 116px); line-height: .96; letter-spacing: -.012em; color: var(--ink); text-wrap: balance; }
.fd-title .fd-line { display: block; }
.fd-title em { font-style: italic; color: color-mix(in srgb, var(--ink) 88%, var(--acc)); }
:lang(ar) .fd-title { font-weight: 600; line-height: 1.18; letter-spacing: 0; font-size: clamp(60px, 7.8vw, 118px); }
:lang(ar) .fd-title em { font-style: normal; }
.fd-sub { max-inline-size: 40ch; font-size: 18px; line-height: 1.65; color: var(--muted); }
.fd-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-block-start: 34px; }
.fd-btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; min-block-size: 56px; padding: 0 34px; border: 1px solid var(--acc); border-radius: 2px; background: var(--acc); color: var(--on-acc); font-size: 12.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; transition: box-shadow .5s var(--fd-ease), background-color .5s var(--fd-ease); }
:lang(ar) .fd-btn { font-size: 16px; letter-spacing: 0; font-weight: 600; }
.fd-btn:hover { box-shadow: 0 18px 40px -18px rgb(201 146 74 / .55); }
.fd-btn .pill__label { display: inline-block; }
.fd-btn::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .35) 48%, transparent 64%) 140% 0 / 260% 100% no-repeat; }
.fd-btn:hover::after { background-position: -40% 0; transition: background-position 1.1s var(--fd-ease); }
.fd-btn--ghost { background: transparent; color: var(--ink); }
.fd-link { position: relative; display: inline-flex; align-items: center; gap: 10px; padding-block: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); }
:lang(ar) .fd-link { font-size: 16px; letter-spacing: 0; }
.fd-link::after { content: ''; position: absolute; inset-inline: 0; inset-block-end: 2px; block-size: 1px; background: var(--acc); transform: scaleX(.35); transform-origin: var(--from, left); transition: transform .6s var(--fd-ease); }
[dir='rtl'] .fd-link::after { --from: right; }
.fd-link:hover::after { transform: scaleX(1); }

/* Embers: crisp hot cores with a halo, drifting at different depths; the pointer pushes them away. */
.ember { inline-size: var(--s); }
.ember svg { filter: none; mix-blend-mode: screen; }

/* A line to set the tone. */
.fd-intro { padding-block: clamp(96px, 12vw, 150px) clamp(40px, 6vw, 80px); text-align: center; }
.fd-intro p { max-inline-size: 26ch; margin-inline: auto; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.25; color: var(--ink); text-wrap: balance; }
:lang(ar) .fd-intro p { font-style: normal; line-height: 1.6; }
.fd-rule { display: block; inline-size: 1px; block-size: 64px; margin: 0 auto 34px; background: linear-gradient(var(--acc), transparent); }

/* The menu, set like a printed card: name, a dotted leader, a quiet description. No prices. */
.fd-menu { padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 110px); }
.fd-head { text-align: center; margin-block-end: clamp(40px, 5vw, 64px); }
.fd-h2 { margin-block-start: 14px; font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 5vw, 72px); line-height: 1; color: var(--ink); }
:lang(ar) .fd-h2 { font-weight: 600; line-height: 1.3; }
.fd-head .fd-kicker { justify-content: center; }
.fd-head .fd-kicker::before { display: none; }
.fd-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.fd-cat h3 { padding-block-end: 14px; margin-block-end: 8px; border-block-end: 1px solid var(--line); font-size: 12.5px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--acc-text); }
:lang(ar) .fd-cat h3 { font-size: 16px; letter-spacing: 0; }
.fd-item { padding-block: 13px; }
.fd-item__row { display: flex; align-items: baseline; gap: 12px; }
.fd-item__name { font-family: var(--serif); font-size: 25px; font-weight: 500; line-height: 1.15; color: var(--ink); }
:lang(ar) .fd-item__name { font-size: 26px; font-weight: 600; line-height: 1.4; }
.fd-item__dots { flex: 1; min-inline-size: 24px; border-block-end: 1px dotted color-mix(in srgb, var(--ink) 30%, transparent); transform: translateY(-5px); }
.fd-item__desc { display: block; margin-block-start: 4px; font-family: var(--serif); font-style: italic; font-size: 17.5px; color: var(--muted); }
:lang(ar) .fd-item__desc { font-family: var(--sans); font-style: normal; font-size: 14.5px; }
.fd-item__tag { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--acc-text); white-space: nowrap; }
:lang(ar) .fd-item__tag { font-size: 13px; letter-spacing: 0; }

/* Gallery: a strip of stills that slides with the scroll (it never moves on its own). */
/* The tasting menu: a coverflow on the dark stage, a halo in the front dish's colour. */
@property --halo { syntax: '<color>'; inherits: true; initial-value: #c9924a; }
.fd-tasting { overflow: hidden; padding-block: clamp(40px, 6vw, 80px) clamp(72px, 9vw, 120px); }
.fd-flow { position: relative; display: grid; justify-items: center; gap: 22px; outline: none; transition: --halo .6s ease; }
.fd-flow:focus-visible .fd-flow__stage { outline: 1px solid var(--acc); outline-offset: 6px; }
.fd-flow__stage { position: relative; display: grid; place-items: center; inline-size: 100%; block-size: clamp(400px, 44vw, 560px); perspective: 1400px; }
.fd-flow__stage::before { content: ''; position: absolute; inset-block: -10%; inset-inline-start: 50%; inline-size: min(110vw, 900px); translate: -50% 0; background: radial-gradient(closest-side, color-mix(in srgb, var(--halo) 62%, transparent), color-mix(in srgb, var(--halo) 20%, transparent) 50%, transparent 78%); pointer-events: none; }
[dir='rtl'] .fd-flow__stage::before { translate: 50% 0; }
.fd-flow__track { position: relative; inline-size: clamp(230px, 25vw, 330px); aspect-ratio: 4 / 5; transform-style: preserve-3d; touch-action: pan-y; cursor: grab; user-select: none; }
.fd-flow__track:active { cursor: grabbing; }
.fd-course { position: absolute; inset: 0; margin: 0; overflow: hidden; border-radius: 4px; background: #1a1816; box-shadow: 0 40px 80px -40px rgb(0 0 0 / .85); will-change: transform; }
.fd-course img { inline-size: 100%; block-size: 100%; object-fit: cover; pointer-events: none; filter: saturate(.92) brightness(.88); transition: filter .5s ease; }
.fd-course.front img { filter: none; }
.fd-flow__meta { display: grid; justify-items: center; gap: 10px; text-align: center; }
.fd-flow__count { font-size: 12.5px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--acc-text); }
:lang(ar) .fd-flow__count { letter-spacing: 0; font-size: 15px; }
.fd-flow__captions { display: grid; }
.fd-flow__captions p { grid-area: 1 / 1; display: grid; gap: 4px; opacity: 0; transition: opacity .4s ease; }
.fd-flow__captions p.on { opacity: 1; }
.fd-flow__captions b { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); font-weight: 500; line-height: 1.1; color: var(--ink); }
:lang(ar) .fd-flow__captions b { font-weight: 600; line-height: 1.4; }
.fd-flow__captions span { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--muted); }
:lang(ar) .fd-flow__captions span { font-family: var(--sans); font-style: normal; font-size: 15px; }
.fd-flow__nav { display: flex; gap: 10px; }
.fd-flow__nav button { display: grid; place-items: center; inline-size: 46px; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--ink); font: inherit; font-size: 18px; cursor: pointer; transition: border-color .3s, color .3s; }
.fd-flow__nav button:hover { border-color: var(--acc); color: var(--acc-text); }
[dir='rtl'] .fd-flow__nav button { scale: -1 1; }
/* Reduced motion: a flat row of courses, each with its caption. */
.fd-flow.flat .fd-flow__stage { block-size: auto; perspective: none; }
.fd-flow.flat .fd-flow__track { display: flex; gap: 16px; inline-size: 100%; aspect-ratio: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: 6vw; cursor: auto; }
.fd-flow.flat .fd-course { position: relative; flex: 0 0 min(64vw, 300px); aspect-ratio: 4 / 5; transform: none !important; opacity: 1 !important; scroll-snap-align: center; }
.fd-flow.flat .fd-flow__captions p { opacity: 1; grid-area: auto; }
.fd-flow.flat .fd-flow__nav, .fd-flow.flat .fd-flow__count { display: none; }
.fd-track { display: flex; gap: 18px; inline-size: max-content; padding-inline: 6vw; will-change: translate; }
.fd-shot { position: relative; flex: none; inline-size: clamp(230px, 24vw, 360px); aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); }
.fd-shot:nth-child(even) { margin-block-start: 48px; }
.fd-shot img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform 1.6s var(--fd-ease), filter 1.2s var(--fd-ease); filter: saturate(.92) brightness(.9); }
.fd-shot:hover img { transform: scale(1.05); filter: saturate(1.02) brightness(1); }

/* Visit: a dark map, hours on dotted leaders. */
.fd-visit { padding-block-end: clamp(72px, 9vw, 120px); }
.fd-visit__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.fd-visit .map { min-block-size: 460px; border: 1px solid var(--line); }
.fd-visit .pin__tag { background: #0f0e0d; color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.fd-visit .pin__drop { color: var(--acc); }
.fd-addr { display: flex; align-items: center; gap: 10px; margin-block-start: 18px; color: var(--muted); }
.fd-addr .ico, .fd-phone .ico { color: var(--acc); inline-size: 18px; block-size: 18px; }
.fd-hours { margin-block-start: 26px; }
.fd-hours li { display: flex; align-items: baseline; gap: 12px; padding-block: 11px; font-size: 16px; }
.fd-hours li span:first-child { font-family: var(--serif); font-size: 21px; color: var(--ink); }
:lang(ar) .fd-hours li span:first-child { font-family: var(--sans); font-size: 16px; font-weight: 600; }
.fd-hours li span:last-child { color: var(--muted); white-space: nowrap; }
.fd-phone { display: flex; align-items: center; gap: 10px; margin-block-start: 20px; color: var(--muted); }
.fd-phone b { color: var(--ink); font-weight: 600; }
.fd-visit .fd-cta { margin-block-start: 30px; }

/* Booking: one line, one action. */
.fd-book { padding-block: clamp(80px, 10vw, 140px); text-align: center; border-block: 1px solid var(--line); background: radial-gradient(60% 120% at 50% 100%, rgb(201 146 74 / .12), transparent 70%); }
.fd-book h2 { font-family: var(--serif); font-weight: 500; font-style: italic; font-size: clamp(42px, 5vw, 76px); line-height: 1.04; color: var(--ink); }
:lang(ar) .fd-book h2 { font-style: normal; font-weight: 600; line-height: 1.3; }
.fd-book p { max-inline-size: 42ch; margin: 18px auto 0; color: var(--muted); font-size: 17px; }
.fd-book .fd-cta { justify-content: center; }

/* Footer */
.fd-foot { padding-block: 34px 44px; }
.fd-foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; font-size: 13px; color: var(--muted); }
.fd-foot .fd-logo { font-size: 22px; }
.fd-foot nav { display: flex; gap: 24px; margin-inline-start: auto; letter-spacing: .2em; text-transform: uppercase; font-size: 11.5px; }
:lang(ar) .fd-foot nav { letter-spacing: 0; font-size: 14px; }
.fd-foot nav a:hover { color: var(--ink); }
.fd-foot .foot__by { background: #1d1b18; color: var(--ink); }
.chat { background: var(--acc); color: var(--on-acc); }

@media (max-width: 880px) {
  .fd-nav { block-size: 72px; margin-block-end: -72px; }
  .fd-nav__in { grid-template-columns: auto 1fr; }
  .fd-nav__side:first-child { display: none; }
  .fd-nav__side--end a:not(.fd-reserve) { display: none; }
  .fd-logo { font-size: 22px; }
  :lang(ar) .fd-logo { font-size: 26px; }
  .fd-hero { block-size: 88svh; min-block-size: 600px; }
  .fd-hero__shade { background: linear-gradient(0deg, rgb(12 11 10 / .95) 0%, rgb(12 11 10 / .55) 45%, rgb(12 11 10 / .2) 70%, rgb(12 11 10 / .6) 100%); }
  [dir='rtl'] .fd-hero__shade { background: linear-gradient(0deg, rgb(12 11 10 / .95) 0%, rgb(12 11 10 / .55) 45%, rgb(12 11 10 / .2) 70%, rgb(12 11 10 / .6) 100%); }
  .fd-hero__copy { inset-block-end: 42px; }
  .fd-title { font-size: clamp(48px, 13vw, 70px); margin-block: 16px; }
  :lang(ar) .fd-title { font-size: clamp(50px, 13.5vw, 72px); }
  .fd-sub { font-size: 16.5px; }
  .fd-cta { gap: 18px; margin-block-start: 24px; }
  .fd-btn { inline-size: 100%; }
  .fd-cats { grid-template-columns: 1fr; }
  .fd-visit__grid { grid-template-columns: 1fr; }
  .fd-visit .map { min-block-size: 280px; }
  .fd-shot:nth-child(even) { margin-block-start: 28px; }
  .fd-foot nav { inline-size: 100%; margin-inline-start: 0; flex-wrap: wrap; gap: 14px 22px; }
}

/* ---------- per-element values (written as style attributes in the templates; moved here for the CSP) ---------- */
[data-css="x1"] { position:absolute }
[data-css="x2"] { stroke:var(--dir-cut) }
[data-css="x3"] { fill:var(--paper) }
[data-css="x4"] { --x:58;--y:30;--s:27px;--r:0deg }
[data-css="x5"] { --x:66;--y:58;--s:18px;--r:0deg }
[data-css="x6"] { --x:74;--y:22;--s:36px;--r:0deg }
[data-css="x7"] { --x:81;--y:70;--s:21px;--r:0deg }
[data-css="x8"] { --x:88;--y:40;--s:30px;--r:0deg }
[data-css="x9"] { --x:93;--y:76;--s:18px;--r:0deg }
[data-css="x10"] { --x:70;--y:82;--s:24px;--r:0deg }
[data-css="x11"] { --x:62;--y:46;--s:15px;--r:0deg }
[data-css="x12"] { --x:96;--y:18;--s:21px;--r:0deg }
[data-css="x13"] { transform-origin:120px 330px;transform-box:view-box }
[data-css="x14"] { --px:50%;--py:50% }
