/* Velvet: the surname as a colonnade, the doctor standing in it, one light that the visitor holds.
   Quiet palette (graphite, steel, fog, one warm stone), loud scale. Motion is transform/opacity (plus three clip-path wipes). */
:root {
  --ink: #101317;
  --ink2: #171b21;
  --slate: #232931;
  --steel: #7f93a6;
  --steel-deep: #3a4653;
  --mist: #dde1e4;
  --dim: rgba(221, 225, 228, .64);
  --faint: rgba(221, 225, 228, .16);
  --stone: #cfbea6;
  --fog: #c5cbd0;
  --dir: 1;
  --pad: clamp(16px, 4vw, 76px);
  --out: cubic-bezier(.16, 1, .3, 1);
  --display: 'Six Caps', 'Beiruti', 'Arial Narrow', sans-serif;
  --head: 'Beiruti', 'Zain', system-ui, sans-serif;
  --body: 'Zain', 'Beiruti', system-ui, sans-serif;
  --vh: 1vh;
}
@supports (height: 1svh) { :root { --vh: 1svh; } }
[dir="rtl"] { --dir: -1; --display: 'Beiruti', 'Zain', sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ink); overflow-x: clip; font-size: clamp(16px, .36vw + 13.4px, 21px); }
body { margin: 0; background: var(--ink); color: var(--mist); font: 400 1.08rem/1.55 var(--body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
[dir="rtl"] body { line-height: 1.75; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul[role="list"] { list-style: none; }
:focus-visible { outline: 2px solid var(--stone); outline-offset: 4px; border-radius: 2px; }
::selection { background: var(--stone); color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; inset-inline-start: 12px; top: -80px; z-index: 100; background: var(--stone); color: var(--ink); padding: 12px 18px; font-weight: 700; }
.skip:focus { top: 12px; }

/* film grain: one small noise tile, rasterised once, jittered with transform */
.grain { position: fixed; inset: -120px; z-index: 60; pointer-events: none; opacity: .13;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .86 0 0 0 0 .88 0 0 0 0 .9 0 0 0 .9 -.12'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E"); }
html.motion .grain { animation: grain 1.1s steps(1) infinite; }
@keyframes grain { 0% { transform: translate3d(0, 0, 0); } 17% { transform: translate3d(-38px, 22px, 0); } 34% { transform: translate3d(26px, -44px, 0); } 51% { transform: translate3d(-64px, -18px, 0); } 68% { transform: translate3d(44px, 52px, 0); } 85% { transform: translate3d(-12px, 70px, 0); } }

/* ---------- buttons and links ---------- */
.arw { width: 28px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .5s var(--out); }
[dir="rtl"] .arw { transform: scaleX(-1); }
.btn { position: relative; display: inline-flex; align-items: center; gap: 14px; min-height: 54px; padding: 0 26px; background: var(--stone); color: var(--ink); font: 700 1.02rem/1 var(--head); overflow: hidden; isolation: isolate; border-radius: 2px; }
[dir="rtl"] .btn { font-size: 1.12rem; }
.btn::before { content: ''; position: absolute; inset: -20% auto -20% 0; width: 46%; z-index: -1; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent); transform: translate3d(-140%, 0, 0) skewX(-18deg); transition: transform .9s var(--out); }
.btn:hover::before, .btn:focus-visible::before { transform: translate3d(340%, 0, 0) skewX(-18deg); }
.btn:hover .arw, .ulink:hover .arw, .act:hover .arw, .float:hover .arw { transform: translate3d(6px, 0, 0); }
[dir="rtl"] .btn:hover .arw, [dir="rtl"] .ulink:hover .arw, [dir="rtl"] .act:hover .arw, [dir="rtl"] .float:hover .arw { transform: scaleX(-1) translate3d(6px, 0, 0); }
.btn-line { background: transparent; color: var(--mist); box-shadow: inset 0 0 0 1px rgba(221, 225, 228, .38); }
.btn-line::before { background: linear-gradient(100deg, transparent, rgba(221, 225, 228, .2), transparent); }
.ulink { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font: 700 1rem/1.2 var(--head); color: var(--stone); background: linear-gradient(currentColor, currentColor) 0 calc(100% - 9px) / 100% 1px no-repeat; }

/* ---------- top bar ---------- */
.top { position: absolute; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 22px var(--pad); }
.top-logo { flex: none; display: block; width: clamp(150px, 12vw, 210px); }
.top-nav { display: none; margin-inline-start: auto; gap: clamp(16px, 2vw, 34px); font: 400 1rem/1 var(--head); }
.top-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; color: var(--dim); transition: color .3s; }
.top-nav a::after { content: ''; position: absolute; inset: auto 0 8px 0; height: 1px; background: var(--stone); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--out); }
[dir="rtl"] .top-nav a::after { transform-origin: 100% 50%; }
.top-nav a:hover { color: var(--mist); }
.top-nav a:hover::after { transform: scaleX(1); }
.top-end { display: flex; gap: 10px; margin-inline-start: auto; }
.top-lang, .top-menu { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; font: 700 1rem/1 var(--head); box-shadow: inset 0 0 0 1px rgba(221, 225, 228, .34); border-radius: 2px; }
.top-lang:hover, .top-menu:hover { background: var(--mist); color: var(--ink); }
@media (min-width: 1080px) { .top-nav { display: flex; } .top-end { margin-inline-start: 0; } .top-menu { display: none; } }

/* ---------- the monument ---------- */
.mon { position: absolute; z-index: 1; left: 4vw; right: 4vw; bottom: var(--mon-b); display: flex; flex-direction: column; margin: 0; font: 400 var(--mon-fs)/1 'Six Caps', sans-serif; direction: ltr; pointer-events: none; user-select: none; }
.mon-row { display: flex; justify-content: space-between; }
.col { display: block; overflow: hidden; padding-bottom: .012em; }
.ch { display: block; line-height: .92; }
.mon-back .ch, .mon-front .ch { color: #39434f; background: linear-gradient(180deg, #66747f 0%, #46515d 50%, #2c333c 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.mon-front { z-index: 4; -webkit-mask-image: linear-gradient(180deg, transparent 80%, #000 90%); mask-image: linear-gradient(180deg, transparent 80%, #000 90%); }
/* the light only exists inside the letters: light, multiplied by white-on-black letters, screened onto the page */
.sheen { position: absolute; inset: 0; z-index: 2; background: #000; mix-blend-mode: screen; overflow: hidden; pointer-events: none; }
.cut { position: absolute; inset: 0; background: #000; mix-blend-mode: multiply; }
.mon-cut .ch { color: #fff; }
.light { position: absolute; left: 0; top: 0; width: 58vmax; height: 58vmax; margin: -29vmax 0 0 -29vmax; border-radius: 50%; will-change: transform;
  background: radial-gradient(closest-side, rgba(232, 220, 203, .92), rgba(190, 190, 188, .5) 30%, rgba(127, 147, 166, .16) 62%, transparent 100%);
  transform: translate3d(62vw, 26vh, 0); }

/* Arabic: the word is one joined piece of text */
[dir="rtl"] .mon { direction: rtl; font: 900 var(--mon-fs)/1.4 'Beiruti', sans-serif; display: block; text-align: center; white-space: nowrap; bottom: auto; top: var(--mon-t); }
[dir="rtl"] .mon-row { display: block; }
[dir="rtl"] .col { padding: 0; }
[dir="rtl"] .ch { line-height: 1.4; }
[dir="rtl"] .mon-back .ch, [dir="rtl"] .mon-front .ch { background-image: linear-gradient(180deg, #66747f 26%, #46515d 56%, #2c333c 86%); }
[dir="rtl"] .mon-front { -webkit-mask-image: linear-gradient(180deg, transparent 58%, #000 72%); mask-image: linear-gradient(180deg, transparent 58%, #000 72%); }
.mon-ghost { z-index: 0; }
.mon-ghost .ch { color: rgba(127, 147, 166, .06); }

/* ---------- hero ---------- */
.hero { position: relative; --p: 0; --mon-fs: min(31 * var(--vh), 60vw); --mon-b: calc(27 * var(--vh)); }
.hero-pin { position: relative; height: calc(100 * var(--vh)); min-height: 620px; overflow: hidden; background: radial-gradient(120% 90% at 60% 40%, #1b2027 0%, var(--ink) 62%, #0b0d10 100%); }
.hero-pin::after { content: ''; position: absolute; inset: 0; z-index: 8; background: var(--ink); opacity: calc(var(--p) * .72); pointer-events: none; }
.hero-glow { position: absolute; z-index: 0; left: 50%; top: 30%; width: 90vmin; height: 90vmin; margin: -45vmin 0 0 -45vmin; border-radius: 50%; background: radial-gradient(closest-side, rgba(127, 147, 166, .34), rgba(127, 147, 166, .1) 55%, transparent 72%); }
/* the doctor stands where the I of YASSINE is: his head is 43% across the picture */
.hero-fig { --fx: -43%; position: absolute; z-index: 3; bottom: 0; left: calc(34.67vw + var(--mon-fs) * .0234); height: calc(64 * var(--vh)); aspect-ratio: 1200 / 1588; transform: translate3d(var(--fx), 0, 0) scale(calc(1 + var(--p) * .1)); transform-origin: 43% 100%; }
[dir="rtl"] .hero-fig { --fx: -50%; transform-origin: 50% 100%; }
/* the photograph is cropped at the arms: fade its sides so no frame edge shows */
.hero-fig img { width: 100%; height: 100%; object-fit: contain; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 13%, #000 80%, transparent 99%); mask-image: linear-gradient(90deg, transparent 0, #000 13%, #000 80%, transparent 99%); }
.sweep { position: absolute; inset: 0; overflow: hidden; mix-blend-mode: screen; -webkit-mask: url(assets/doctor-mask.webp) center / 100% 100% no-repeat; mask: url(assets/doctor-mask.webp) center / 100% 100% no-repeat; }
.band { position: absolute; inset: -10% auto -10% 0; width: 34%; background: linear-gradient(90deg, transparent, rgba(232, 222, 208, .34), transparent); transform: translate3d(-160%, 0, 0) skewX(-14deg); }
.light-b { width: 70vmin; height: 70vmin; margin: -35vmin 0 0 -35vmin; opacity: .3; transform: translate3d(60%, 20%, 0); }
.hero-shade { position: absolute; inset: auto 0 0 0; height: 46%; z-index: 5; pointer-events: none; background: linear-gradient(0deg, var(--ink) 4%, rgba(16, 19, 23, .8) 38%, rgba(16, 19, 23, 0) 100%); }
.hero-copy { position: absolute; z-index: 6; inset: auto var(--pad) calc(4 * var(--vh)) var(--pad); max-width: 560px; opacity: calc(1 - var(--p) * 2.4); }
.hero-quote { font: 300 clamp(1.45rem, 2.1vw, 2.35rem)/1.22 var(--head); color: var(--mist); text-wrap: balance; }
.hero-quote::before { content: '“'; } .hero-quote::after { content: '”'; }
[dir="rtl"] .hero-quote { line-height: 1.5; font-size: clamp(1.6rem, 2.4vw, 2.7rem); }
.hero-cred { display: none; margin-top: 14px; max-width: 46ch; color: var(--dim); font-size: .98rem; line-height: 1.4; }
.hero-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero-side { display: none; position: absolute; z-index: 6; inset: auto var(--pad) calc(5 * var(--vh)) auto; text-align: end; color: var(--dim); font: 400 1rem/1.5 var(--head); opacity: calc(1 - var(--p) * 2.4); }
[dir="rtl"] .hero-side { inset: auto auto calc(5 * var(--vh)) var(--pad); }
.hero-side > * { display: block; }
.hero-side a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; color: var(--stone); font-weight: 700; }
.hero-cue { display: none; }

@media (min-width: 800px) {
  .hero { --mon-fs: min(90 * var(--vh), 64vw); --mon-b: calc(8 * var(--vh)); }
  .mon { flex-direction: row; justify-content: space-between; }
  .mon-row { display: contents; }
  .hero-fig { left: calc(65.33vw - var(--mon-fs) * .0234); height: calc(90 * var(--vh)); }
  .hero-glow { left: 66%; top: 34%; }
  .mon-front { -webkit-mask-image: linear-gradient(180deg, transparent 58%, #000 70%); mask-image: linear-gradient(180deg, transparent 58%, #000 70%); }
  .hero-shade { height: 34%; }
  .hero-cred, .hero-side { display: block; }
  .hero-copy { bottom: calc(5 * var(--vh)); max-width: min(33vw, 560px); }
  .hero-cue { display: flex; position: absolute; z-index: 6; left: 50%; bottom: calc(3 * var(--vh)); align-items: center; gap: 10px; flex-direction: column-reverse; font: 400 .8rem/1 var(--head); color: var(--dim); opacity: calc(1 - var(--p) * 4); transform: translate3d(-50%, 0, 0); }
  .hero-cue i { width: 1px; height: 44px; background: linear-gradient(var(--stone), transparent); transform-origin: 50% 0; }
  html.motion .hero-cue i { animation: cue 2.2s var(--out) infinite; }
}
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* Arabic hero: the word runs across the whole screen, the doctor stands in its left third */
[dir="rtl"] .hero { --mon-fs: 45vw; --mon-t: calc(15 * var(--vh) - .36em); }
[dir="rtl"] .mon-ghost { --mon-fs: 118vw; top: calc(50 * var(--vh) - .8em); left: -30vw; right: -30vw; }
[dir="rtl"] .hero-fig { left: 46%; height: calc(64 * var(--vh)); }
@media (min-width: 800px) {
  [dir="rtl"] .hero { --mon-fs: min(40vw, 80 * var(--vh)); --mon-t: calc(47 * var(--vh) - .78em); }
  [dir="rtl"] .mon { display: block; }
  [dir="rtl"] .mon-row { display: block; }
  [dir="rtl"] .mon-ghost { --mon-fs: min(64vw, 120 * var(--vh)); top: calc(40 * var(--vh) - .78em); left: -20vw; right: -20vw; }
  [dir="rtl"] .hero-fig { left: 31%; height: calc(90 * var(--vh)); }
  [dir="rtl"] .hero-glow { left: 31%; }
}

/* load entrance: pillars rise one by one, the doctor arrives, the light crosses, then the words */
html.motion .hero .ch, html.motion .hero-fig img, html.motion .hero-glow, html.motion .hero-copy > *, html.motion .top, html.motion .hero-side, html.motion .band, html.motion .sweep, html.motion .hero-cue { animation-play-state: paused; }
html.motion.in .hero .ch, html.motion.in .hero-fig img, html.motion.in .hero-glow, html.motion.in .hero-copy > *, html.motion.in .top, html.motion.in .hero-side, html.motion.in .band, html.motion.in .sweep, html.motion.in .hero-cue { animation-play-state: running; }
html.motion .hero .col .ch { animation: rise 1.25s var(--out) both; animation-delay: calc(var(--i) * 75ms + 120ms); }
html.motion .sweep { animation: fade 1.4s ease 1s both; }
html.motion .hero .mon-ghost .ch { animation: fade 2.4s ease .9s both; }
html.motion .hero-fig img { animation: figin 1.7s var(--out) .55s both; }
html.motion .hero-glow { animation: fade 2.2s ease .4s both; }
html.motion .band { animation: sweep 8s cubic-bezier(.4, 0, .2, 1) 1.15s infinite both; }
html.motion .top { animation: drop 1s var(--out) 1.05s both; }
html.motion .hero-copy > * { animation: up 1s var(--out) both; }
html.motion .hero-copy > :nth-child(1) { animation-delay: 1.15s; }
html.motion .hero-copy > :nth-child(2) { animation-delay: 1.27s; }
html.motion .hero-copy > :nth-child(3) { animation-delay: 1.39s; }
html.motion .hero-side { animation: fade 1.4s ease 1.5s both; }
html.motion .hero-cue { animation: fade 1.2s ease 1.7s both; }
@keyframes rise { from { transform: translate3d(0, 104%, 0); } }
@keyframes figin { from { opacity: 0; transform: translate3d(0, 5%, 0) scale(1.07); } }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { opacity: 0; transform: translate3d(0, 26px, 0); } }
@keyframes drop { from { opacity: 0; transform: translate3d(0, -22px, 0); } }
@keyframes sweep { 0% { transform: translate3d(-160%, 0, 0) skewX(-14deg); } 26%, 100% { transform: translate3d(420%, 0, 0) skewX(-14deg); } }

/* scroll: the hero holds while the pillars part like a shutter */
html.motion .hero { height: calc(185 * var(--vh)); }
html.motion .hero-pin { position: sticky; top: 0; }
html.motion .hero .mon:not(.mon-ghost) .col:nth-child(odd) { transform: translate3d(0, calc(var(--p) * -46%), 0); }
html.motion .hero .mon:not(.mon-ghost) .col:nth-child(even) { transform: translate3d(0, calc(var(--p) * 46%), 0); }
html.motion .hero .mon-row:nth-child(2) .col:nth-child(odd) { transform: translate3d(0, calc(var(--p) * 46%), 0); }
html.motion .hero .mon-row:nth-child(2) .col:nth-child(even) { transform: translate3d(0, calc(var(--p) * -46%), 0); }
html.motion[dir="rtl"] .hero .mon:not(.mon-ghost) .col { transform: translate3d(calc(var(--p) * 16vw), 0, 0); }
html.motion[dir="rtl"] .hero .mon-ghost { transform: translate3d(calc(var(--p) * -26vw), 0, 0); }

/* ---------- section furniture ---------- */
.title { font: 400 clamp(96px, 26vw, 460px)/.92 var(--display); text-transform: uppercase; color: var(--mist); margin: 0; }
.title-in { display: inline-block; }
html.live .title-in { white-space: nowrap; }
.title .clip { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .012em; }
.title .clip > span { display: inline-block; background: linear-gradient(180deg, #e3e7ea 0%, #b3bcc4 55%, #77858f 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
[dir="rtl"] .title { font: 900 clamp(64px, 15vw, 300px)/1.4 var(--display); margin-bottom: -.16em; }
[dir="rtl"] .title .clip { margin-block: -.2em -.12em; }
html.motion .title .clip > span, html.motion .reviews-n .clip > span { transform: translate3d(0, 104%, 0); transition: transform 1.3s var(--out); transition-delay: calc(var(--i, 0) * 110ms); }
html.motion .on.title .clip > span, html.motion .on.reviews-n .clip > span { transform: none; }
.sec-head { position: relative; padding-inline: var(--pad); }
.sec-line { max-width: 30ch; margin-top: 22px; color: var(--stone); font: 300 clamp(1.25rem, 1.7vw, 1.9rem)/1.3 var(--head); }
[dir="rtl"] .sec-line { line-height: 1.7; }
.sec-line .ulink { font-size: 1rem; }
.sec-line .ulink { margin-inline-start: 6px; }
html.motion [data-rv]:not(.title):not(.reviews-n):not(.pic) { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity 1s ease, transform 1.2s var(--out); transition-delay: calc(var(--i, 0) * 120ms); }
html.motion [data-rv].on:not(.title):not(.reviews-n):not(.pic) { opacity: 1; transform: none; }
html.motion .w { opacity: .16; }

/* ---------- welcome ---------- */
.welcome { position: relative; z-index: 2; --p: 0; background: var(--ink2); padding: clamp(70px, 11vw, 190px) var(--pad) clamp(70px, 9vw, 150px); box-shadow: 0 -40px 80px rgba(0, 0, 0, .5); }
.welcome-hi { font: 300 clamp(1.5rem, 3vw, 3.5rem)/1.2 var(--head); color: var(--stone); max-width: 22ch; }
[dir="rtl"] .welcome-hi { line-height: 1.6; }
.welcome-h { margin-top: clamp(18px, 2.4vw, 40px); font: 400 clamp(84px, 15.2vw, 300px)/.9 var(--display); text-transform: uppercase; color: var(--mist); text-wrap: balance; }
[dir="rtl"] .welcome-h { font: 800 clamp(44px, 7.6vw, 150px)/1.42 var(--display); }
.welcome-grid { display: grid; gap: 40px; margin-top: clamp(50px, 7vw, 120px); }
.welcome-pic { position: relative; max-width: 420px; overflow: hidden; }
.welcome-pic img { width: 100%; transform: scale(1.14) translate3d(0, calc((var(--p) - .5) * -9%), 0); }
/* picture wipes: the clip sits on an inner wrapper so the observed box keeps its size */
.pic-in { display: block; height: 100%; overflow: hidden; }
html.motion .pic .pic-in { clip-path: inset(0 0 100% 0); transition: clip-path 1.6s var(--out); }
html.motion .pic.on .pic-in { clip-path: inset(0 0 0 0); }
.welcome-text { max-width: 58ch; color: var(--dim); }
.welcome-text p + p { margin-top: 1em; }
.welcome-text p:first-child { color: var(--mist); font-size: 1.14em; }
.welcome-cred { color: var(--dim); font-size: .98em; }
.welcome-credlead { font: 700 1.2rem/1.35 var(--head); color: var(--mist); }
[dir="rtl"] .welcome-credlead { line-height: 1.7; }
.welcome-cred ul { margin: 16px 0 14px; }
.welcome-cred li { padding: 9px 0; box-shadow: 0 -1px 0 var(--faint); }
@media (min-width: 900px) {
  .welcome-grid { grid-template-columns: minmax(240px, 5fr) 7fr 5fr; gap: clamp(30px, 4vw, 80px); align-items: start; }
  .welcome-pic { margin-top: 6px; }
}

/* ---------- three actions ---------- */
.acts { position: relative; z-index: 2; display: grid; background: var(--ink2); padding: 0 var(--pad) clamp(70px, 9vw, 150px); gap: 12px; }
.act { position: relative; display: grid; align-content: end; gap: 6px; min-height: 150px; padding: 26px 28px; background: var(--slate); overflow: hidden; isolation: isolate; border-radius: 2px; }
.act::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(207, 190, 166, .2) 50%, transparent 70%); transform: translate3d(calc(var(--dir) * -100%), 0, 0); transition: transform 1.1s var(--out); }
.act:hover::before, .act:focus-visible::before { transform: translate3d(calc(var(--dir) * 100%), 0, 0); }
.act-h { font: 400 clamp(56px, 6.2vw, 120px)/.9 var(--display); text-transform: uppercase; color: var(--mist); transition: transform .7s var(--out); }
[dir="rtl"] .act-h { font: 800 clamp(34px, 3.4vw, 64px)/1.4 var(--display); }
.act:hover .act-h { transform: translate3d(calc(var(--dir) * 12px), 0, 0); }
.act-p { color: var(--dim); }
.act .arw { position: absolute; inset: 28px 28px auto auto; width: 44px; height: 18px; color: var(--stone); }
[dir="rtl"] .act .arw { inset: 28px auto auto 28px; }
.act-1 { background: var(--stone); min-height: 240px; }
.act-1 .act-h { color: var(--ink); font-size: clamp(76px, 12vw, 230px); }
[dir="rtl"] .act-1 .act-h { font-size: clamp(46px, 6.6vw, 124px); }
.act-1 .act-p { color: rgba(16, 19, 23, .78); }
.act-1 .arw { color: var(--ink); }
.act-1::before { background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%); }
@media (min-width: 900px) {
  .acts { grid-template-columns: 1.7fr 1fr; grid-template-rows: 1fr 1fr; }
  .act-1 { grid-row: 1 / 3; min-height: 420px; }
}

/* ---------- clinics ---------- */
.clinics { position: relative; z-index: 2; background: var(--ink); padding: clamp(70px, 9vw, 150px) 0 clamp(60px, 8vw, 130px); overflow: clip; }
.clinics-pic { --p: .5; position: relative; margin: clamp(30px, 5vw, 80px) var(--pad) 0; aspect-ratio: 16 / 10; overflow: hidden; }
.clinics-pic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 19, 23, .5), rgba(16, 19, 23, .28)); pointer-events: none; }
.clinics-pic img { width: 100%; height: 124%; object-fit: cover; object-position: 50% 20%; transform: translate3d(0, calc((var(--p) - .5) * -16%), 0); }
.clinic-list { margin: clamp(30px, 4vw, 70px) var(--pad) 0; }
.clinic { position: relative; display: grid; gap: 6px 40px; padding: clamp(18px, 2.2vw, 34px) 0; box-shadow: 0 -1px 0 var(--faint); }
.clinic-name { font: 400 clamp(64px, 9.4vw, 184px)/.9 var(--display); text-transform: uppercase; color: var(--mist); }
[dir="rtl"] .clinic-name { font: 800 clamp(38px, 5vw, 96px)/1.4 var(--display); }
.clinic-name a { display: inline-block; transition: transform .8s var(--out), color .4s; }
.clinic-n { color: var(--stone); font: 400 1.05rem/1.2 var(--head); }
.clinic-items { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 8px; color: var(--dim); }
.clinic-items a { display: inline-flex; align-items: center; min-height: 44px; background: linear-gradient(var(--stone), var(--stone)) 0 calc(100% - 9px) / 0 1px no-repeat; transition: color .3s, background-size .5s var(--out); }
[dir="rtl"] .clinic-items a { background-position: 100% calc(100% - 9px); }
.clinic-items a:hover, .clinic-items a:focus-visible { color: var(--mist); background-size: 100% 1px; }
@media (hover: hover) {
  .clinic { transition: opacity .5s; }
  .clinic-list:hover .clinic:not(:hover) { opacity: .34; }
  .clinic:hover .clinic-name a { transform: translate3d(calc(var(--dir) * 22px), 0, 0); color: var(--stone); }
}
@media (min-width: 1000px) {
  .clinics .sec-head { display: grid; grid-template-columns: 1fr; }
  .clinics-pic { position: absolute; z-index: 0; inset: clamp(120px, 16vw, 300px) var(--pad) auto auto; width: 25vw; aspect-ratio: 4 / 5; margin: 0; }
  [dir="rtl"] .clinics-pic { inset: clamp(120px, 16vw, 300px) auto auto var(--pad); }
  .clinics .title { position: relative; z-index: 1; }
  .clinics .sec-line { position: relative; z-index: 1; }
  .clinic-list { position: relative; z-index: 1; margin-top: clamp(60px, 9vw, 170px); }
  .clinic { grid-template-columns: minmax(0, 6.4fr) minmax(0, 5fr); align-items: end; }
  .clinic-name { grid-row: 1 / 3; }
  .clinic-items { display: block; columns: 2; column-gap: 30px; margin: 0; }
  .clinic-items li { break-inside: avoid; }
  .clinic-items a { min-height: 44px; }
}

/* ---------- marquee band ---------- */
.ribbon { position: relative; z-index: 2; background: var(--ink); padding: clamp(20px, 3vw, 50px) 0 clamp(40px, 6vw, 100px); overflow: hidden; }
.mq { overflow: hidden; direction: ltr; }
.mq-track { display: flex; width: max-content; }
[dir="rtl"] .mq { direction: rtl; }
.mq-half { display: flex; flex: none; }
.mq-unit { display: inline-flex; align-items: center; white-space: nowrap; padding-inline-end: .32em; }
.mq-dot { display: inline-block; width: .1em; height: .1em; margin-inline-start: .32em; border-radius: 50%; background: var(--stone); }
.mq-a { font: 400 clamp(110px, 21vw, 400px)/.95 var(--display); text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px rgba(160, 176, 190, .95); }
/* outlined Arabic shows a seam at every join, so the Arabic line is a quiet solid instead */
[dir="rtl"] .mq-a { font: 900 clamp(64px, 11.5vw, 220px)/1.5 var(--display); color: #37414c; -webkit-text-stroke: 0; }
.mq-b { margin-top: clamp(6px, 1vw, 18px); font: 300 clamp(1.5rem, 3.1vw, 3.4rem)/1.3 var(--head); color: var(--stone); }
[dir="rtl"] .mq-b { line-height: 1.7; }
.mq-b .mq-dot { width: .22em; height: .22em; background: var(--steel-deep); }
html.motion .mq-track { animation: mq 46s linear infinite; }
html.motion .mq-b .mq-track { animation-duration: 64s; animation-direction: reverse; }
@keyframes mq { to { transform: translate3d(calc(var(--dir) * -50%), 0, 0); } }
html:not(.motion) .mq { overflow-x: auto; }

/* ---------- before & after ---------- */
.ba { position: relative; z-index: 2; --p: 0; background: var(--slate); }
.ba-pin { position: relative; padding: clamp(50px, 6vw, 100px) 0 clamp(40px, 5vw, 80px); overflow: hidden; }
.ba .title .clip > span { background-image: linear-gradient(180deg, #56636f 0%, #3c4651 100%); }
.ba .sec-line { color: var(--mist); }
.ba-rows { position: relative; display: grid; gap: 14px; margin-top: clamp(24px, 3vw, 50px); }
.ba-row { display: flex; gap: 14px; padding-inline: var(--pad); overflow-x: auto; scrollbar-width: none; }
.ba-row::-webkit-scrollbar { display: none; }
.case { flex: none; width: var(--card, min(62vw, 340px)); }
.case figure { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--ink); }
.case img { width: 100%; height: 100%; object-fit: cover; transition: filter .6s ease, transform 1.2s var(--out); }
.case figcaption { position: absolute; inset: auto 0 0 0; padding: 34px 14px 11px; font: 400 .92rem/1.25 var(--head); color: var(--mist); background: linear-gradient(0deg, rgba(16, 19, 23, .9), transparent); }
.touch { display: none; }
@media (hover: hover) {
  .case img { filter: grayscale(.9) contrast(1.04) brightness(.92); }
  .case:hover img { filter: none; transform: scale(1.05); }
}
@media (hover: none) { .hov { display: none; } .touch { display: inline; } .case img { filter: grayscale(.72) contrast(1.03); } }
html.motion .ba { height: calc(330 * var(--vh)); }
html.motion .ba-pin { position: sticky; top: 0; height: calc(100 * var(--vh)); min-height: 560px; display: flex; flex-direction: column; padding: calc(9 * var(--vh)) 0 calc(4 * var(--vh)); }
html.motion .ba .sec-head { position: absolute; inset: calc(8 * var(--vh)) 0 auto 0; }
html.motion .ba-rows { margin-top: auto; --card: min(calc(27 * var(--vh)), 62vw); }
html.motion .ba-row { overflow: visible; width: max-content; will-change: transform; }
html.motion .ba-row-a { transform: translate3d(calc(var(--p) * var(--t, 0px) * var(--dir) * -1), 0, 0); }
html.motion .ba-row-b { transform: translate3d(calc((1 - var(--p)) * var(--t, 0px) * var(--dir) * -1), 0, 0); }
html.motion .ba .title { transform: translate3d(calc(var(--p) * var(--dir) * -9vw), 0, 0); }
@media (min-width: 800px) {
  html.motion .ba .sec-line { position: absolute; inset: calc(6 * var(--vh)) var(--pad) auto auto; max-width: 22ch; text-align: end; margin: 0; }
  html.motion[dir="rtl"] .ba .sec-line { inset: calc(6 * var(--vh)) auto auto var(--pad); }
  html.motion .ba-rows { --card: min(calc(26 * var(--vh)), 340px); }
}

/* ---------- reviews ---------- */
.reviews { position: relative; z-index: 2; background: var(--fog); color: var(--ink); padding: clamp(70px, 9vw, 150px) var(--pad); }
.reviews-head { display: grid; gap: 10px 5vw; align-items: end; }
.reviews-n { font: 400 clamp(260px, 44vw, 860px)/.92 'Six Caps', sans-serif; color: var(--ink); margin: -.04em 0 0; direction: ltr; }
.reviews-n .clip { display: inline-block; overflow: hidden; padding-bottom: .012em; }
.reviews-n .clip > span { display: block; }
.reviews-h { font: 800 clamp(2.6rem, 8.4vw, 10.5rem)/.94 var(--head); max-width: 8ch; }
[dir="rtl"] .reviews-h { max-width: 9ch; }
[dir="rtl"] .reviews-h { line-height: 1.4; }
.reviews-line { margin-top: 12px; font: 400 clamp(1.15rem, 1.6vw, 1.6rem)/1.4 var(--head); color: #333c46; max-width: 34ch; }
[dir="rtl"] .reviews-line { line-height: 1.7; }
.reviews-stars { display: block; color: #6f5c3f; letter-spacing: .12em; font-size: 1.1em; }
.rev-wall { margin-top: clamp(40px, 6vw, 100px); columns: 1; column-gap: clamp(26px, 3.4vw, 64px); }
.rev { break-inside: avoid; padding: 24px 0 26px; box-shadow: 0 -1px 0 rgba(16, 19, 23, .22); }
.rev-stars { color: #6f5c3f; font-size: .86rem; letter-spacing: .14em; }
.rev-text { margin-top: 10px; color: #20262d; }
.rev-text p + p { margin-top: .7em; }
.rev-big .rev-text { font: 300 clamp(1.5rem, 2.2vw, 2.3rem)/1.22 var(--head); color: var(--ink); }
.rev-big .rev-text[lang="ar"], .rev-text[lang="ar"] { line-height: 1.75; }
.rev-small .rev-text { font-size: 1.02rem; line-height: 1.5; }
.rev-mute .rev-text { color: #4a545e; font-size: .98rem; }
.rev details summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; font: 700 1rem/1 var(--head); color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.rev-by { display: flex; gap: 12px; align-items: baseline; justify-content: space-between; margin-top: 14px; font: 700 1rem/1.2 var(--head); }
[dir="rtl"] .rev-by { flex-direction: row-reverse; }
.rev-date { font-weight: 400; color: #4a545e; font-size: .9rem; }
@media (min-width: 720px) { .rev-wall { columns: 2; } .reviews-head { grid-template-columns: auto 1fr; } .reviews-head > div { padding-bottom: 3vw; } }
@media (min-width: 1200px) { .rev-wall { columns: 3; } }

/* ---------- media ---------- */
.media { position: relative; z-index: 2; --p: .5; background: var(--ink); padding: clamp(70px, 9vw, 150px) 0 clamp(60px, 7vw, 120px); overflow: clip; }
.media-feature { margin: clamp(30px, 4vw, 70px) var(--pad) 0; max-width: 1180px; }
.vid { display: block; }
.vid-frame { position: relative; display: block; overflow: hidden; background: var(--slate); }
.vid-frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.55) contrast(1.05) brightness(.86); transition: transform 1.4s var(--out), filter .6s; }
.vid:hover .vid-frame img, .vid:focus-visible .vid-frame img { transform: scale(1.05); filter: none; }
.vid-feature .vid-frame { aspect-ratio: 16 / 9; }
.vid-time { position: absolute; inset: auto auto 12px 12px; padding: 4px 9px; background: rgba(16, 19, 23, .82); color: var(--mist); font: 700 .86rem/1.2 var(--head); }
.vid-title { display: block; margin-top: 12px; font: 400 1rem/1.3 var(--head); color: var(--dim); max-width: 34ch; }
.vid-feature .vid-title { font: 300 clamp(1.6rem, 3vw, 3.2rem)/1.12 var(--head); color: var(--mist); max-width: 24ch; margin-top: 18px; }
.disc { position: absolute; left: 0; top: 0; width: clamp(84px, 9vw, 132px); aspect-ratio: 1; margin: calc(clamp(84px, 9vw, 132px) / -2) 0 0 calc(clamp(84px, 9vw, 132px) / -2); border-radius: 50%; background: var(--stone); color: var(--ink); display: grid; place-items: center; font: 700 1.05rem/1 var(--head); transform: translate3d(var(--dx, 50cqw), var(--dy, 50cqh), 0); will-change: transform; }
.vid-feature .vid-frame { container-type: size; }
.disc span { transition: transform .5s var(--out); }
.vid-feature:hover .disc span { transform: scale(1.12); }
.vid-play { position: absolute; inset: auto 12px 12px auto; width: 44px; height: 44px; border-radius: 50%; background: rgba(221, 225, 228, .92); transition: transform .5s var(--out), background .3s; }
.vid-play::after { content: ''; position: absolute; left: 18px; top: 14px; border: 8px solid transparent; border-left: 12px solid var(--ink); border-right: 0; }
.vid:hover .vid-play { transform: scale(1.14); background: var(--stone); }
.media-strip { margin-top: clamp(40px, 5vw, 90px); overflow-x: auto; scrollbar-width: none; }
.media-strip::-webkit-scrollbar { display: none; }
.media-run { display: flex; gap: 16px; width: max-content; padding-inline: var(--pad); }
.media-run .vid { flex: none; width: min(56vw, 250px); }
.media-run .vid-wide { width: min(74vw, 400px); }
.vid-tall .vid-frame { aspect-ratio: 9 / 16; }
.vid-wide .vid-frame { aspect-ratio: 16 / 9; }
html.motion .media-strip { overflow: visible; }
html.motion .media-run { transform: translate3d(calc((var(--p) - .32) * var(--t, 0px) * var(--dir) * -1.5), 0, 0); will-change: transform; }
.media-more { margin: 26px var(--pad) 0; }
@media (min-width: 1000px) {
  .media-feature { width: 62vw; margin-inline-start: auto; margin-top: -7vw; position: relative; z-index: 1; }
  .media .sec-line { max-width: 24ch; }
}

/* ---------- sign-off ---------- */
.signoff { position: relative; z-index: 2; background: var(--ink2); padding: clamp(70px, 9vw, 150px) 0 clamp(50px, 6vw, 100px); overflow: hidden; --mon-fs: min(46vw, 60 * var(--vh)); --mon-b: 0px; }
.signoff-pic { --p: .5; margin: 0 var(--pad); aspect-ratio: 21 / 9; overflow: hidden; max-width: 760px; }
.signoff-pic img { width: 100%; height: 130%; object-fit: cover; transform: translate3d(0, calc((var(--p) - .5) * -18%), 0); }
.signoff-quote { margin: clamp(30px, 4vw, 70px) var(--pad) 0; font: 300 clamp(1.9rem, 4.6vw, 5.4rem)/1.1 var(--head); max-width: 20ch; text-wrap: balance; }
[dir="rtl"] .signoff-quote { line-height: 1.5; max-width: 18ch; }
.signoff-name { position: relative; height: calc(var(--mon-fs) * .932); margin-top: clamp(30px, 4vw, 70px); }
.signoff-name .mon { flex-direction: row; justify-content: space-between; }
.signoff-name .mon-row { display: contents; }
.signoff-name .light { transform: translate3d(30vw, 20vh, 0); }
[dir="rtl"] .signoff { --mon-fs: 44vw; --mon-t: -.3em; }
[dir="rtl"] .signoff-name { height: calc(var(--mon-fs) * .92); }
[dir="rtl"] .signoff-name .mon, [dir="rtl"] .signoff-name .mon-row { display: block; }
.signoff-acts { display: flex; flex-wrap: wrap; gap: 10px; margin: clamp(30px, 4vw, 60px) var(--pad) 0; }
@media (min-width: 900px) {
  .signoff { --mon-fs: min(64vw, 74 * var(--vh)); }
  [dir="rtl"] .signoff { --mon-fs: min(40vw, 64 * var(--vh)); }
  .signoff-pic { position: absolute; inset: clamp(70px, 9vw, 150px) var(--pad) auto auto; width: 30vw; margin: 0; }
  [dir="rtl"] .signoff-pic { inset: clamp(70px, 9vw, 150px) auto auto var(--pad); }
  .signoff-quote { margin-top: 0; max-width: 17ch; }
}

/* ---------- footer ---------- */
.foot { position: relative; z-index: 2; background: var(--ink); padding: clamp(50px, 6vw, 100px) var(--pad) 28px; }
.foot-contact { display: grid; gap: 4px; }
.foot-big { display: grid; gap: 2px; padding: 16px 0; box-shadow: 0 -1px 0 var(--faint); }
.foot-k { color: var(--stone); font: 400 1rem/1.2 var(--head); }
.foot-v { font: 400 clamp(64px, 9vw, 170px)/.92 'Six Caps', sans-serif; text-transform: uppercase; color: var(--mist); transition: transform .8s var(--out), color .4s; transform-origin: 0 50%; text-align: start; unicode-bidi: plaintext; }
[dir="rtl"] .foot-v { text-align: right; }
.foot-big:hover .foot-v { color: var(--stone); transform: translate3d(calc(var(--dir) * 16px), 0, 0); }
.foot-mail .foot-v { font-size: clamp(44px, 6.4vw, 124px); overflow-wrap: anywhere; }
.foot-cols { display: grid; gap: 30px; margin-top: 50px; padding-top: 34px; box-shadow: 0 -1px 0 var(--faint); }
.foot-logo { width: 190px; }
.foot-nav, .foot-social { display: flex; flex-wrap: wrap; gap: 0 26px; font: 400 1rem/1 var(--head); }
.foot-nav a, .foot-social a { display: inline-flex; align-items: center; min-height: 44px; color: var(--dim); transition: color .3s; }
.foot-nav a:hover, .foot-social a:hover { color: var(--stone); }
.foot-lang { font-weight: 700; color: var(--mist) !important; }
.foot-copy { margin-top: 34px; color: var(--dim); font-size: .9rem; text-align: start; }
[dir="rtl"] .foot-copy { text-align: right; }
@media (min-width: 900px) {
  .foot-contact { grid-template-columns: 1fr 1fr; column-gap: 5vw; }
  .foot-mail { grid-column: 1 / 3; }
  .foot-cols { grid-template-columns: auto 1fr auto; align-items: center; gap: 50px; }
}

/* floating booking action, after the hero */
.float { position: fixed; z-index: 40; inset: auto 16px 16px auto; display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 22px; background: var(--stone); color: var(--ink); font: 700 1rem/1 var(--head); border-radius: 2px; box-shadow: 0 14px 40px rgba(0, 0, 0, .45); transition: transform .7s var(--out), opacity .4s; }
[dir="rtl"] .float { inset: auto auto 16px 16px; }
html.js .float { opacity: 0; transform: translate3d(0, 90px, 0); pointer-events: none; }
html.js.past .float { opacity: 1; transform: none; pointer-events: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
