/* Your barbershop: colours (generated by scripts/demos/build.mjs; edit there) */
:root { --bg: #f9f9f7; --ink: #181b1f; --acc: #3f5e78; --acc-text: #36526a; --on-acc: #f7f7f4; --soft: #e8ebeb; --paper: #ffffff; --card: #4a6a84; --strip: #3f5e78; --strip-ink: #f7f7f4; --strip-btn: #f7f7f4; --strip-btn-ink: #181b1f; --dir-cut: #3f5e78; --map-land: #e8e9e5; }
/* 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; }

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

@font-face { font-family: 'Anton'; font-weight: 400; font-display: swap; src: url(../_fonts/anton-latin-400.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: 'Archivo'; font-weight: 400 700; font-display: swap; src: url(../_fonts/archivo-latin.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: 'Noto Kufi Arabic'; font-weight: 600 800; font-display: swap; src: url(../_fonts/noto-kufi-arabic-arabic.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; }
@font-face { font-family: 'Noto Kufi Arabic'; font-weight: 600 800; font-display: swap; src: url(../_fonts/noto-kufi-arabic-latin.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; }

/* ================= Barber: paper, ink, one signal red ================= */
:root { --bg: #f3f2ee; --ink: #0e0e0e; --acc: #d7261e; --acc-text: #b81f18; --on-acc: #ffffff; --soft: #e7e6e1; --paper: #fbfaf7;
  --muted: #55534f; --line: rgb(14 14 14 / .16); --shade: rgb(14 14 14 / .35); --map-land: #e9e8e4; --dir-cut: var(--bg);
  --cond: 'Anton', 'Archivo', Impact, 'Arial Narrow', sans-serif; --body: 'Archivo', system-ui, sans-serif; --sans: var(--body); --bb-ease: cubic-bezier(.16, 1, .3, 1); }
:root:lang(ar) { --cond: 'Noto Kufi Arabic', 'Noto Sans Arabic', sans-serif; --body: 'Noto Sans Arabic', 'Archivo', system-ui, sans-serif; --sans: var(--body); }
body { background: var(--bg); color: var(--ink); font-family: var(--body); }
body::after { opacity: .1; }
::selection { background: var(--acc); color: #fff; }
:focus-visible { outline-color: var(--acc); border-radius: 0; }
.bb-bookband :focus-visible { outline-color: var(--ink); }
.bb-foot :focus-visible, .bb-btn--ink:focus-visible { outline-color: #fff; }
.bb-vh { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bb-up { text-transform: uppercase; }

/* Nav: a red square, the name in condensed caps, two links, and a black Book button. A hard rule once it sticks. */
.bb-nav { position: sticky; inset-block-start: 0; z-index: 40; background: var(--bg); box-shadow: 0 1px 0 transparent; transition: box-shadow .3s var(--bb-ease); }
.bb-nav.is-stuck { box-shadow: 0 2px 0 var(--ink); }
.bb-nav__in { display: flex; align-items: center; gap: 30px; block-size: 76px; }
.bb-logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--cond); font-size: 25px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
:lang(ar) .bb-logo { font-weight: 800; font-size: 22px; letter-spacing: 0; }
.bb-mark { flex: none; inline-size: 20px; aspect-ratio: 1; background: var(--acc); }
.bb-links { display: flex; gap: 32px; margin-inline-start: auto; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
:lang(ar) .bb-links { font-size: 16px; letter-spacing: 0; }
.bb-links a { position: relative; padding-block: 8px; }
.bb-links a::after { content: ''; position: absolute; inset-inline: 0; inset-block-end: 2px; block-size: 2px; background: var(--acc); transform: scaleX(0); transform-origin: var(--from, left); transition: transform .3s var(--bb-ease); }
[dir='rtl'] .bb-links a::after { --from: right; }
.bb-links a:hover::after { transform: scaleX(1); }
.bb-book { display: inline-flex; align-items: center; min-block-size: 44px; padding: 0 22px; background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; transition: background-color .25s var(--bb-ease); }
:lang(ar) .bb-book { font-size: 16px; letter-spacing: 0; }
.bb-book:hover { background: var(--acc); color: #fff; }

/* Hero: the words on one side, the clip on the other, a red bar on the seam. */
.bb-hero { padding-block: clamp(16px, 2.6vw, 34px) clamp(44px, 5vw, 72px); }
.bb-hero__grid { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); min-block-size: clamp(560px, calc(100svh - 76px - 72px), 740px); }
.bb-hero__copy { display: flex; flex-direction: column; justify-content: space-between; min-inline-size: 0; }
:lang(ar) .bb-hero__copy { justify-content: center; }
.bb-label { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
:lang(ar) .bb-label { font-size: 16px; letter-spacing: 0; }
.bb-label::before { content: ''; flex: none; inline-size: 36px; block-size: 3px; background: var(--acc); }
.bb-title { margin-block-start: clamp(22px, 3vw, 40px); font-family: var(--cond); font-weight: 400; font-size: clamp(48px, 9.2vw, 140px); line-height: .9; letter-spacing: -.004em; text-transform: uppercase; }
:lang(ar) .bb-title { font-weight: 800; font-size: clamp(44px, 6.6vw, 104px); line-height: 1.32; letter-spacing: 0; }
.bb-line { display: block; overflow: hidden; padding-block: .02em .05em; }
.bb-line > span { display: block; }
.bb-title em { font-style: normal; color: var(--acc); }
.bb-hero__foot { display: grid; gap: 26px; margin-block-start: 34px; }
.bb-sub { max-inline-size: 40ch; font-size: 18px; line-height: 1.55; color: var(--muted); }
.bb-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.bb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-block-size: 56px; padding: 0 26px; border: 2px solid var(--ink); color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; transition: background-color .25s var(--bb-ease), color .25s var(--bb-ease), border-color .25s var(--bb-ease); }
:lang(ar) .bb-btn { font-size: 16.5px; letter-spacing: 0; }
.bb-btn .ico { inline-size: 20px; block-size: 20px; flex: none; }
.bb-btn--red { background: var(--acc); border-color: var(--acc); color: #fff; --dir-cut: var(--acc); }
.bb-btn--red:hover { background: var(--ink); border-color: var(--ink); --dir-cut: var(--ink); }
.bb-btn--line:hover { background: var(--ink); color: var(--bg); --dir-cut: var(--ink); }
.bb-btn--ink { background: var(--ink); color: #fff; --dir-cut: var(--ink); }
.bb-btn--ink:hover { background: #fff; color: var(--ink); border-color: #fff; }
.bb-btn .pill__label { display: inline-block; }

.bb-media.reel__visual { display: block; position: relative; min-block-size: 0; }
.bb-frame { position: absolute; inset: 0; overflow: hidden; background: #151515; }
.bb-frame .reel__video { filter: contrast(1.03); }
html.art-mode .bb-frame .reel__video { display: block; }
.bb-bar { position: absolute; z-index: 2; inset-block: 0; inset-inline-start: 0; inline-size: 9px; background: var(--acc); transform-origin: 50% 0; }
.bb-caption { position: absolute; z-index: 2; inset-inline-end: 0; inset-block-end: 0; display: flex; gap: 12px; padding: 11px 16px; background: var(--bg); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
:lang(ar) .bb-caption { font-size: 14.5px; letter-spacing: 0; }
.bb-caption span { color: var(--acc-text); }
.bb-badge { position: absolute; z-index: 3; inset-inline-start: -66px; inset-block-end: 16%; display: grid; place-items: center; inline-size: 132px; aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: 0 0 0 6px var(--bg); transition: background-color .25s var(--bb-ease); }
.bb-badge:hover { background: var(--acc); }
.bb-badge:hover .ico { color: #fff; }
.bb-badge svg.bb-ring { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; overflow: visible; }
.bb-ring text { font-family: var(--body); font-size: 10px; font-weight: 700; letter-spacing: .2em; fill: currentColor; }
:lang(ar) .bb-ring text { direction: ltr; unicode-bidi: embed; font-size: 11.7px; letter-spacing: 0; }
.bb-badge .ico { inline-size: 34px; block-size: 34px; color: var(--acc); transition: color .25s; }

/* The marquee: two rows that slide with the scroll, in opposite directions. Never on its own. */
.bb-marquee { overflow: hidden; padding-block: clamp(20px, 2.6vw, 34px); background: var(--ink); color: var(--bg); }
.bb-row { display: flex; inline-size: max-content; gap: .42em; font-family: var(--cond); font-size: clamp(56px, 8.6vw, 136px); line-height: 1; text-transform: uppercase; white-space: nowrap; will-change: translate; }
:lang(ar) .bb-row { font-weight: 800; font-size: clamp(46px, 6.8vw, 108px); line-height: 1.3; }
.bb-row + .bb-row { margin-block-start: .06em; }
.bb-row i { align-self: center; font-style: normal; font-size: .5em; color: var(--acc); }
.bb-row--ghost { color: transparent; -webkit-text-stroke: 1.5px rgb(243 242 238 / .6); }
:lang(ar) .bb-row--ghost { color: #62615e; -webkit-text-stroke: 0; } /* 3.1:1 on the black: AA for its large type (was #575653, 2.6:1), 2026-11-10 */
.bb-row--ghost i { -webkit-text-stroke: 0; }

/* Section heads: one big condensed word, a quiet line beside it. */
.bb-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 40px; margin-block-end: clamp(30px, 4vw, 52px); }
.bb-h2 { font-family: var(--cond); font-weight: 400; font-size: clamp(54px, 7.4vw, 118px); line-height: .9; text-transform: uppercase; }
:lang(ar) .bb-h2 { font-weight: 800; font-size: clamp(42px, 5.4vw, 84px); line-height: 1.3; }
.bb-head__sub { max-inline-size: 34ch; font-size: 17px; color: var(--muted); text-wrap: pretty; }

/* Services: rows of big names. With a mouse, a row turns black and its photo follows the pointer. */
.bb-services { padding-block: clamp(72px, 9vw, 130px) clamp(56px, 7vw, 100px); }
.bb-list { position: relative; display: grid; gap: clamp(40px, 5vw, 64px); }
.bb-cat__h { display: flex; align-items: baseline; gap: 14px; padding-block-end: 12px; border-block-end: 3px solid var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
:lang(ar) .bb-cat__h { font-size: 16px; letter-spacing: 0; }
.bb-cat__h span { color: var(--acc-text); }
.bb-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 26px; align-items: center; gap: 24px; padding: 15px 14px; border-block-end: 1px solid var(--line); color: inherit; transition: background-color .28s var(--bb-ease), color .28s var(--bb-ease); }
.bb-item:focus-visible { outline-offset: -3px; }
.bb-svc { font-family: var(--cond); font-size: clamp(30px, 3.3vw, 48px); line-height: 1.02; text-transform: uppercase; transition: translate .45s var(--bb-ease); }
:lang(ar) .bb-svc { font-weight: 800; font-size: clamp(24px, 2.5vw, 36px); line-height: 1.45; }
.bb-desc { font-size: 16px; color: var(--muted); transition: color .28s var(--bb-ease); }
.bb-arrow { inline-size: 24px; block-size: 24px; transition: rotate .45s var(--bb-ease), color .28s var(--bb-ease); }
[dir='rtl'] .bb-arrow { scale: -1 1; }
/* With a mouse on a wide screen, a row turns black and its name slides. */
@media (hover: hover) and (pointer: fine) and (min-width: 881px) {
  .bb-item:hover { background: var(--ink); color: var(--bg); }
  .bb-item:hover .bb-svc { translate: 16px 0; }
  [dir='rtl'] .bb-item:hover .bb-svc { translate: -16px 0; }
  .bb-item:hover .bb-desc { color: rgb(243 242 238 / .8); }
  .bb-item:hover .bb-arrow { color: var(--acc); rotate: -45deg; }
  [dir='rtl'] .bb-item:hover .bb-arrow { rotate: 45deg; }
}

/* The Cuts: a fan of photo cards around a hidden circle, framed by huge type; red tape on the front card. */
.bb-cuts { padding-block: clamp(56px, 7vw, 100px) clamp(64px, 8vw, 110px); overflow: hidden; border-block-start: 3px solid var(--ink); }
.bb-cuts__title { display: flex; justify-content: space-between; font-family: var(--cond); font-weight: 400; font-size: clamp(88px, 19vw, 290px); line-height: .8; text-transform: uppercase; pointer-events: none; }
:lang(ar) .bb-cuts__title { font-weight: 800; font-size: clamp(64px, 13vw, 200px); line-height: 1.15; }
.bb-cuts__title span:last-child { color: var(--acc); }
.bb-fan { position: relative; display: grid; justify-items: center; margin-block-start: clamp(-150px, -11vw, -40px); outline: none; }
.bb-fan:focus-visible .bb-fan__track { outline: 3px solid var(--acc); outline-offset: 10px; }
.bb-fan__stage { position: relative; display: grid; justify-items: center; inline-size: 100%; block-size: clamp(360px, 36vw, 480px); }
.bb-fan__track { position: relative; inline-size: clamp(190px, 20vw, 270px); aspect-ratio: 4 / 5; touch-action: pan-y; cursor: grab; user-select: none; }
.bb-fan__track:active { cursor: grabbing; }
.bb-cut { position: absolute; inset: 0; display: block; transform-origin: 50% 230%; background: #151515; box-shadow: 0 30px 60px -30px rgb(14 14 14 / .6); will-change: transform; }
.bb-cut img { inline-size: 100%; block-size: 100%; object-fit: cover; pointer-events: none; }
.bb-tape { position: absolute; z-index: 2; inset-inline-start: -12px; inset-block-start: 20px; padding: 8px 14px 7px; background: var(--acc); color: #fff; font-family: var(--cond); font-size: 22px; line-height: 1; text-transform: uppercase; white-space: nowrap; rotate: -6deg; box-shadow: 0 8px 16px -8px rgb(0 0 0 / .55); opacity: 0; scale: .7; transition: opacity .18s ease, scale .25s cubic-bezier(.34, 1.56, .64, 1); }
:lang(ar) .bb-tape { font-weight: 800; font-size: 18px; rotate: 6deg; }
.bb-cut.front .bb-tape { opacity: 1; scale: 1; }
.bb-fan__nav { display: flex; align-items: center; gap: 18px; }
.bb-fan__nav button { display: grid; place-items: center; inline-size: 48px; aspect-ratio: 1; border: 2px solid var(--ink); background: none; color: var(--ink); font: inherit; font-size: 20px; cursor: pointer; transition: background-color .2s, color .2s; }
.bb-fan__nav button:hover { background: var(--ink); color: var(--bg); }
[dir='rtl'] .bb-fan__nav button { scale: -1 1; }
.bb-fan__nav p { min-inline-size: 70px; text-align: center; font-weight: 700; letter-spacing: .14em; }
/* Reduced motion: the cards in a row, every tape showing. */
.bb-fan.flat { margin-block-start: 24px; }
.bb-fan.flat .bb-fan__stage { block-size: auto; }
.bb-fan.flat .bb-fan__track { display: flex; gap: 16px; inline-size: 100%; aspect-ratio: auto; overflow-x: auto; scroll-snap-type: x mandatory; cursor: auto; }
.bb-fan.flat .bb-cut { position: relative; flex: 0 0 min(60vw, 240px); aspect-ratio: 4 / 5; transform: none !important; opacity: 1 !important; scroll-snap-align: center; }
.bb-fan.flat .bb-tape { opacity: 1; scale: 1; }
.bb-fan.flat .bb-fan__nav { display: none; }

/* Why: four short reasons under thick rules. */
.bb-why { padding-block: clamp(20px, 3vw, 40px) clamp(72px, 9vw, 120px); }
.bb-why__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.bb-why__item { padding-block-start: 18px; border-block-start: 3px solid var(--ink); }
.bb-num { display: block; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--acc-text); }
.bb-why__item h3 { margin-block: 14px 8px; font-family: var(--cond); font-weight: 400; font-size: clamp(28px, 2.6vw, 38px); line-height: 1; text-transform: uppercase; }
:lang(ar) .bb-why__item h3 { font-weight: 800; font-size: clamp(22px, 2vw, 28px); line-height: 1.45; }
.bb-why__item p { font-size: 16px; color: var(--muted); }

/* Visit: hours set large, a grey map with a red pin. */
.bb-visit { padding-block: clamp(64px, 8vw, 110px); border-block-start: 3px solid var(--ink); }
.bb-visit__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.bb-addr, .bb-phone { display: flex; align-items: center; gap: 10px; font-size: 17px; color: var(--muted); }
.bb-addr { margin-block-start: 24px; }
.bb-addr .ico, .bb-phone .ico { inline-size: 20px; block-size: 20px; color: var(--acc); }
.bb-hours { margin-block: 26px 22px; border-block-start: 1px solid var(--line); }
.bb-hours li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-block: 14px; border-block-end: 1px solid var(--line); }
.bb-hours li span:first-child { font-family: var(--cond); font-size: 30px; line-height: 1.05; text-transform: uppercase; }
:lang(ar) .bb-hours li span:first-child { font-weight: 800; font-size: 21px; line-height: 1.5; }
.bb-hours li span:last-child { align-self: center; font-size: 17px; font-weight: 600; }
.bb-phone b { color: var(--ink); font-weight: 700; }
.bb-visit .bb-cta { margin-block-start: 28px; }
.bb-map.map { min-block-size: 480px; border: 3px solid var(--ink); }
.bb-map .pin__tag { border-radius: 0; background: var(--ink); color: #fff; box-shadow: none; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
:lang(ar) .bb-map .pin__tag { letter-spacing: 0; }

/* Booking: a red band, the line in huge black caps. */
.bb-bookband { padding-block: clamp(64px, 8vw, 120px); background: var(--acc); color: var(--ink); }
.bb-bookband h2 { font-family: var(--cond); font-weight: 400; font-size: clamp(64px, 12.4vw, 200px); line-height: .88; text-transform: uppercase; }
:lang(ar) .bb-bookband h2 { font-weight: 800; font-size: clamp(52px, 9vw, 150px); line-height: 1.3; }
.bb-bookband__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-block-start: clamp(26px, 3vw, 40px); padding-block-start: 22px; border-block-start: 2px solid var(--ink); }
.bb-bookband p { max-inline-size: 40ch; font-size: 19px; font-weight: 600; color: #fff; }

/* Footer: black. */
.bb-foot { background: var(--ink); color: var(--bg); }
.bb-foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; padding-block: 34px 44px; font-size: 13px; }
.bb-foot nav { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-inline-start: auto; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgb(243 242 238 / .78); }
:lang(ar) .bb-foot nav { font-size: 15px; letter-spacing: 0; }
.bb-foot nav a:hover { color: #fff; }
.bb-foot .foot__by { background: #262626; color: #fff; }
.bb-foot .foot__lang { color: #fff; }
.chat { background: var(--ink); color: #fff; border-radius: 0; box-shadow: 0 0 0 2px var(--bg); transition: opacity .3s var(--bb-ease), translate .3s var(--bb-ease), background-color .25s var(--bb-ease); }
.chat:hover { background: var(--acc); }
html:not(.scrolled) .chat { visibility: hidden; } /* visibility, as the entrance animates its opacity */

@media (max-width: 880px) {
  .bb-nav__in { block-size: 64px; gap: 14px; }
  .bb-links { display: none; }
  .bb-book { margin-inline-start: auto; min-block-size: 40px; padding: 0 16px; }
  .bb-logo { font-size: 21px; gap: 10px; }
  :lang(ar) .bb-logo { font-size: 18px; }
  .bb-mark { inline-size: 16px; }
  .bb-hero { padding-block: 14px 48px; }
  .bb-label { font-size: 12px; letter-spacing: .12em; gap: 12px; }
  .bb-label::before { inline-size: 26px; }
  .bb-hero__grid { grid-template-columns: 1fr; min-block-size: 0; gap: 30px; }
  .bb-title { font-size: clamp(46px, 14.6vw, 92px); margin-block-start: 18px; }
  :lang(ar) .bb-title { font-size: clamp(40px, 11.8vw, 76px); }
  .bb-hero__foot { margin-block-start: 22px; gap: 20px; }
  .bb-sub { font-size: 16.5px; }
  .bb-cta .bb-btn { flex: 1 1 auto; padding: 0 18px; }
  .bb-media.reel__visual { aspect-ratio: 4 / 5; }
  .bb-badge { inline-size: 118px; inset-inline-start: auto; inset-inline-end: 16px; inset-block-start: 16px; inset-block-end: auto; box-shadow: 0 0 0 5px var(--bg); }
  .bb-ring text { font-size: 10.6px; }
  .bb-head { margin-block-end: 26px; }
  .bb-item { grid-template-columns: minmax(0, 1fr) 22px; gap: 4px 14px; padding: 14px 4px; }
  .bb-desc { grid-column: 1; grid-row: 2; font-size: 15px; }
  .bb-arrow { grid-column: 2; grid-row: 1 / 3; }
  .bb-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .bb-fan { margin-block-start: 6px; }
  .bb-fan__stage { block-size: 330px; }
  .bb-cut { transform-origin: 50% 260%; }
  .bb-visit__grid { grid-template-columns: 1fr; }
  .bb-map.map { min-block-size: 300px; order: -1; }
  .bb-hours li span:first-child { font-size: 26px; }
  .bb-bookband h2 { font-size: clamp(58px, 17vw, 120px); }
  :lang(ar) .bb-bookband h2 { font-size: clamp(46px, 12.6vw, 90px); }
  .bb-bookband .bb-btn { inline-size: 100%; }
  .bb-foot nav { inline-size: 100%; margin-inline-start: 0; }
  .chat { inline-size: 52px; block-size: 52px; }
}

/* ---------- 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"] { transform-origin:120px 330px;transform-box:view-box }
[data-css="x5"] { --px:50%;--py:50% }
