/* Your home services: colours (generated by scripts/demos/build.mjs; edit there) */
:root { --bg: #fbf9f4; --ink: #1f1d19; --acc: #c98f35; --acc-text: #80561a; --on-acc: #1f1d19; --soft: #f1e9d8; --paper: #ffffff; --card: #d09a46; --strip: #c98f35; --strip-ink: #1f1d19; --strip-btn: #1f1d19; --strip-btn-ink: #f6f1e6; --dir-cut: #d09a46; --map-land: #eee9de; }
/* 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; }

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

@font-face { font-family: 'Rubik'; font-weight: 400 800; font-display: swap; src: url(../_fonts/rubik-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: 'Rubik'; font-weight: 400 800; font-display: swap; src: url(../_fonts/rubik-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; }

/* ================= Home services: near-black, blueprint grid, safety yellow ================= */
:root { --bg: #121211; --ink: #f4f1e8; --muted: #b9b5a8; --acc: #ffd23f; --acc-text: #ffd23f; --on-acc: #121211; --soft: #1c1c1a; --paper: #191918;
  --line: rgb(244 241 232 / .14); --shade: rgb(0 0 0 / .5); --map-land: #1d1d1b; --dir-cut: var(--acc); --grid: rgb(255 210 63 / .07);
  --body: 'Rubik', system-ui, sans-serif; --sans: var(--body); --tr-step: steps(5, end); }
body { background: var(--bg); color: var(--ink); font-family: var(--body); }
body::after { opacity: .05; }
::selection { background: var(--acc); color: var(--on-acc); }
:focus-visible { outline-color: var(--acc); border-radius: 4px; }
.tr-grid { background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 40px 40px; background-position: -1px -1px; }

/* Nav: the name on a yellow tag, two links, the big call button. */
.tr-nav { position: sticky; inset-block-start: 0; z-index: 40; background: rgb(18 18 17 / .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 transparent; transition: box-shadow .3s; }
.tr-nav.is-stuck { box-shadow: 0 1px 0 var(--line); }
.tr-nav__in { display: flex; align-items: center; gap: 28px; block-size: 76px; }
.tr-logo { display: inline-flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap; }
:lang(ar) .tr-logo { text-transform: none; font-size: 20px; }
.tr-mark { display: grid; place-items: center; inline-size: 34px; aspect-ratio: 1; border-radius: 8px; background: var(--acc); color: var(--on-acc); }
.tr-mark .ico { inline-size: 20px; block-size: 20px; }
.tr-links { display: flex; gap: 28px; margin-inline-start: auto; font-size: 15px; font-weight: 500; color: var(--muted); }
.tr-links a:hover { color: var(--ink); }
.tr-call { display: inline-flex; align-items: center; gap: 10px; min-block-size: 46px; padding: 0 18px; border-radius: 10px; background: var(--acc); color: var(--on-acc); font-weight: 800; font-size: 15px; white-space: nowrap; transition: transform .2s var(--tr-step), box-shadow .2s; }
.tr-call:hover { box-shadow: 0 0 0 3px rgb(255 210 63 / .35); }
.tr-call .ico { inline-size: 18px; block-size: 18px; }

/* Hero: the promise in chunky type, the call button big; the clip framed in hazard stripes. */
.tr-hero { padding-block: clamp(28px, 4vw, 56px) clamp(56px, 7vw, 96px); }
.tr-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.tr-tag { display: inline-flex; align-items: center; gap: 10px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 13.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
:lang(ar) .tr-tag { letter-spacing: 0; text-transform: none; font-size: 15px; }
.tr-tag i { inline-size: 8px; aspect-ratio: 1; border-radius: 2px; background: var(--acc); }
.tr-title { margin-block: 22px 18px; font-size: clamp(48px, 5.6vw, 88px); font-weight: 800; line-height: .98; letter-spacing: -.035em; text-wrap: balance; }
:lang(ar) .tr-title { line-height: 1.25; letter-spacing: 0; font-size: clamp(44px, 5.6vw, 84px); }
.tr-title mark { padding-inline: .08em; background: linear-gradient(transparent 58%, var(--acc) 58%, var(--acc) 92%, transparent 92%); color: inherit; }
.tr-sub { max-inline-size: 40ch; font-size: 19px; line-height: 1.55; color: var(--muted); }
.tr-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 30px; }
.tr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-block-size: 58px; padding: 0 24px; border-radius: 12px; font-size: 17px; font-weight: 800; white-space: nowrap; transition: transform .2s var(--tr-step), background-color .2s, color .2s, box-shadow .2s; }
.tr-btn .ico { inline-size: 22px; block-size: 22px; }
.tr-btn--call { background: var(--acc); color: var(--on-acc); }
.tr-btn--call:hover { box-shadow: 0 0 0 4px rgb(255 210 63 / .3); }
.tr-btn--call small { font-weight: 600; opacity: .8; }
.tr-btn--line { border: 2px solid var(--ink); color: var(--ink); }
.tr-btn--line:hover { background: var(--ink); color: var(--bg); }
.tr-btn .pill__label { display: inline-block; }

.tr-panel.reel__visual { display: block; position: relative; aspect-ratio: 4 / 5; padding: 12px; border-radius: 18px; background: repeating-linear-gradient(-45deg, var(--acc) 0 18px, #121211 18px 36px); }
.tr-panel__in { position: absolute; inset: 12px; overflow: hidden; border-radius: 9px; background: #222; }
html.art-mode .tr-panel .reel__video { display: block; }
.tr-panel__tag { position: absolute; z-index: 2; inset-inline-start: 24px; inset-block-end: 24px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; background: var(--bg); color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
:lang(ar) .tr-panel__tag { letter-spacing: 0; text-transform: none; font-size: 14.5px; }
.tr-panel__tag i { inline-size: 8px; aspect-ratio: 1; border-radius: 50%; background: var(--acc); }

/* The exploded house: blueprint blue with a fine grid; pinned while the layers come apart (only once it is live). */
.tr-house { position: relative; background-color: #0f2e66; background-image: linear-gradient(rgb(232 238 247 / .07) 1px, transparent 1px), linear-gradient(90deg, rgb(232 238 247 / .07) 1px, transparent 1px), linear-gradient(rgb(232 238 247 / .035) 1px, transparent 1px), linear-gradient(90deg, rgb(232 238 247 / .035) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; color: #e8eef7; }
.tr-house.live { block-size: 290vh; }
.tr-house__pin { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(24px, 4vw, 56px); padding-block: clamp(56px, 7vw, 96px); }
.tr-house.live .tr-house__pin { position: sticky; inset-block-start: 0; block-size: 100vh; padding-block: 76px 24px; }
.tr-house .tr-kicker { color: #ffc400; }
.tr-house .tr-h2 { color: #fff; }
.tr-house__hint { margin-block-start: 12px; font-size: 15px; color: rgb(232 238 247 / .7); }
.tr-house:not(.live) .tr-house__hint { display: none; }
.tr-house__list { display: grid; gap: 10px; margin-block-start: 26px; }
.tr-house__list li { display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; align-items: center; padding: 12px 14px; border: 1px solid rgb(232 238 247 / .16); border-radius: 12px; transition: background-color .25s steps(3, end), border-color .25s steps(3, end), opacity .25s; }
.tr-house__list li .tr-card__ico { inline-size: 40px; grid-row: span 2; }
.tr-house__list b { font-size: 18px; font-weight: 800; color: #fff; }
.tr-house__list span { font-size: 15px; color: rgb(232 238 247 / .75); }
.tr-house.picked .tr-house__list li { opacity: .38; }
.tr-house.picked .tr-house__list li.on { opacity: 1; border-color: #ffc400; background: rgb(255 196 0 / .1); }
.tr-house__stage { position: relative; aspect-ratio: 1 / 1; max-block-size: calc(100vh - 120px); justify-self: center; inline-size: 100%; }
.tr-house__stage .scene__still { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: contain; }

/* How a job works: three numbered steps on yellow. */
.tr-steps { padding-block: clamp(56px, 7vw, 100px); background: var(--acc); color: var(--on-acc); }
.tr-steps .tr-kicker { color: var(--on-acc); }
.tr-steps .tr-h2 { color: var(--on-acc); }
.tr-steps__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-block-start: clamp(28px, 4vw, 48px); counter-reset: s; }
.tr-step { position: relative; padding: 26px 24px 24px; border-radius: 16px; background: #121211; color: var(--ink); }
.tr-step__n { display: block; font-size: 64px; font-weight: 800; line-height: 1; color: var(--acc); }
.tr-step h3 { margin-block: 16px 6px; font-size: 22px; font-weight: 800; }
.tr-step p { color: var(--muted); font-size: 16px; }
.tr-step + .tr-step::before { content: ''; position: absolute; inset-block-start: 50%; inset-inline-start: -16px; inline-size: 16px; block-size: 4px; background: #121211; }

.tr-kicker { font-size: 13.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--acc-text); }
:lang(ar) .tr-kicker { letter-spacing: 0; text-transform: none; font-size: 15px; }
.tr-h2 { margin-block-start: 10px; font-size: clamp(36px, 4.4vw, 60px); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; }
:lang(ar) .tr-h2 { line-height: 1.3; letter-spacing: 0; }

/* Services: spec cards on the grid. */
.tr-services { padding-block: clamp(64px, 8vw, 110px); }
.tr-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-block-start: clamp(28px, 4vw, 48px); }
.tr-card { padding: 24px 22px 18px; border: 1px solid var(--line); border-radius: 16px; background: rgb(25 25 24 / .9); transition: border-color .2s var(--tr-step), transform .2s var(--tr-step); }
.tr-card:hover { border-color: var(--acc); transform: translateY(-4px); }
.tr-card__head { display: flex; align-items: center; gap: 12px; padding-block-end: 16px; border-block-end: 1px dashed var(--line); }
.tr-card__ico { display: grid; place-items: center; inline-size: 44px; aspect-ratio: 1; border-radius: 10px; background: var(--acc); color: var(--on-acc); }
.tr-card__ico .ico { inline-size: 24px; block-size: 24px; }
.tr-card h3 { font-size: 21px; font-weight: 800; }
.tr-card li { display: flex; justify-content: space-between; gap: 14px; padding-block: 12px; border-block-end: 1px solid var(--line); }
.tr-card li:last-child { border-block-end: 0; }
.tr-card li b { font-weight: 700; font-size: 16px; }
.tr-card li span { font-size: 14.5px; color: var(--muted); text-align: end; }

/* Where we work: a dark map with the area we cover. */
.tr-area { padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 110px); }
.tr-area__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.tr-area .map { min-block-size: 440px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.tr-area .map::after { content: ''; position: absolute; inset: 50% auto auto 50%; inline-size: 62%; aspect-ratio: 1; border: 3px dashed var(--acc); border-radius: 50%; translate: -50% -50%; pointer-events: none; }
.tr-area .pin__tag { background: var(--acc); color: var(--on-acc); box-shadow: none; font-weight: 800; }
.tr-area .pin__drop { color: var(--acc); }
.tr-addr, .tr-phone { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 17px; }
.tr-addr { margin-block-start: 18px; }
.tr-addr .ico, .tr-phone .ico { inline-size: 20px; block-size: 20px; color: var(--acc); }
.tr-hours { margin-block: 22px 18px; }
.tr-hours li { display: flex; justify-content: space-between; gap: 16px; padding-block: 12px; border-block-end: 1px solid var(--line); }
.tr-hours li span:first-child { font-weight: 700; }
.tr-hours li span:last-child { color: var(--muted); }
.tr-phone b { color: var(--ink); }
.tr-area .tr-cta { margin-block-start: 26px; }

/* Send a photo: the yellow band. */
.tr-band { padding-block: clamp(56px, 7vw, 100px); background: var(--acc); color: var(--on-acc); }
.tr-band__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.tr-band h2 { font-size: clamp(40px, 5.6vw, 80px); font-weight: 800; line-height: 1; letter-spacing: -.035em; }
:lang(ar) .tr-band h2 { line-height: 1.3; letter-spacing: 0; }
.tr-band p { max-inline-size: 40ch; margin-block-start: 12px; font-size: 18px; font-weight: 500; }
.tr-band .tr-btn { background: #121211; color: var(--ink); }
.tr-band .tr-btn:hover { box-shadow: 0 0 0 4px rgb(18 18 17 / .25); }
.tr-band :focus-visible { outline-color: #121211; }

.tr-foot { border-block-start: 1px solid var(--line); }
.tr-foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-block: 30px 40px; font-size: 14.5px; color: var(--muted); }
.tr-foot nav { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-inline-start: auto; font-weight: 600; }
.tr-foot nav a:hover { color: var(--ink); }
.tr-foot .foot__by { background: #262624; color: var(--ink); }
.tr-foot .foot__lang { color: var(--ink); }
.chat { background: var(--acc); color: var(--on-acc); border-radius: 14px; }

@media (max-width: 880px) {
  .tr-nav__in { block-size: 64px; gap: 12px; }
  .tr-links { display: none; }
  .tr-call { margin-inline-start: auto; min-block-size: 42px; padding: 0 14px; }
  .tr-call span { display: none; }
  .tr-logo { font-size: 16px; }
  .tr-hero__grid { grid-template-columns: 1fr; }
  .tr-title { font-size: clamp(42px, 12.4vw, 64px); }
  :lang(ar) .tr-title { font-size: clamp(38px, 10.6vw, 56px); }
  .tr-sub { font-size: 17px; }
  .tr-cta .tr-btn { flex: 1 1 100%; }
  .tr-steps__row, .tr-cards { grid-template-columns: 1fr; }
  /* minmax(0, …): the column never grows to the house's width, so the cards stay on the screen (390 px phones). */
  .tr-house__pin { grid-template-columns: minmax(0, 1fr); }
  .tr-house.live .tr-house__pin { padding-block: 70px 16px; gap: 6px; align-content: start; }
  .tr-house__stage { order: -1; max-block-size: 46vh; inline-size: min(46vh, 100%); aspect-ratio: 1 / 1; block-size: auto; }
  .tr-house.live .tr-house__list { gap: 6px; margin-block-start: 12px; }
  .tr-house.live .tr-house__list li { padding: 8px 10px; }
  .tr-house.live.picked .tr-house__list li:not(.on) { display: none; }
  .tr-house .tr-h2 { font-size: clamp(28px, 7.6vw, 40px); }
  .tr-step + .tr-step::before { inset-block-start: -16px; inset-inline-start: 50%; inline-size: 4px; block-size: 16px; }
  .tr-area__grid { grid-template-columns: 1fr; }
  .tr-area .map { min-block-size: 300px; order: -1; }
  .tr-band .tr-btn { inline-size: 100%; }
  .tr-foot nav { inline-size: 100%; margin-inline-start: 0; }
}

/* ---------- 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"] { fill:var(--soft) }
[data-css="x5"] { stroke:var(--soft) }
[data-css="x6"] { transform-origin:120px 330px;transform-box:view-box }
[data-css="x7"] { --px:50%;--py:50% }
