/* YASSINE - the poster. Flat colour, no gradients, no cards, no radius. */
:root {
  --indigo: #2b1dff;
  --acid: #d7ff1f;
  --black: #000;
  --white: #fff;
  --latin: "Anton", "Lalezar", Impact, sans-serif;
  --arabic: "Lalezar", "Anton", sans-serif;
  --body: "Readex Pro", system-ui, sans-serif;
  --pad: clamp(16px, 4vw, 72px);
  --mdir: 1; /* marquee direction: 1 = runs toward the left (LTR reading), -1 = toward the right (RTL reading) */
  --field: var(--indigo);
  --row-main: var(--acid);
  --row-other: var(--white);
}
html.ar { --mdir: -1; --field: var(--acid); --row-main: var(--black); --row-other: var(--indigo); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--black); font: 400 1.0625rem/1.65 var(--body); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, blockquote, figure { margin: 0; padding: 0; }
ul { list-style: none; }
:focus-visible { outline: 4px solid var(--acid); outline-offset: 3px; box-shadow: 0 0 0 7px var(--black); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; top: 0; inset-inline-start: 0; z-index: 100; background: var(--black); color: var(--white); padding: 14px 20px; transform: translateY(-120%); }
.skip:focus { transform: none; }

/* display type */
.dl { font-family: var(--latin); font-weight: 400; text-transform: uppercase; line-height: .92; letter-spacing: 0; }
.da { font-family: var(--arabic); font-weight: 400; line-height: 1.4; letter-spacing: 0; }
:lang(ar) { letter-spacing: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 12px 26px; font: 600 1.05rem/1.2 var(--body); text-decoration: none; text-align: center; border: 3px solid var(--black); }
.btn-acid { background: var(--acid); color: var(--black); }
.btn-white { background: var(--white); color: var(--black); }
.btn-black { background: var(--black); color: var(--white); }
.btn-indigo { background: var(--indigo); color: var(--white); }
.btn:hover { background: var(--black); color: var(--acid); }
.btn-black:hover { background: var(--acid); color: var(--black); }

/* ---------- first screen ---------- */
.hero { height: 230svh; background: var(--field); position: relative; }
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; --p: 0; --fsl: min(36vw, 66svh); --fsa: min(31vw, 57svh); }
.rows { position: absolute; inset: 0; display: flex; flex-direction: column; direction: ltr; padding-top: 1.2svh; }
.row { white-space: nowrap; width: max-content; flex: none; will-change: transform; user-select: none; }
.row-l { font: 400 var(--fsl)/.84 var(--latin); text-transform: uppercase; align-self: flex-start; transform: translateX(calc(-2.5vw - var(--p) * 62vw)); }
.row-a { font: 400 var(--fsa)/1.4 var(--arabic); direction: rtl; align-self: flex-end; margin-block: -.3em -.2em; transform: translateX(calc(2.5vw + var(--p) * 62vw)); }
html.en .row-l { color: var(--row-main); }
html.en .row-a { color: var(--row-other); }
html.ar .row-a { color: var(--row-main); transform: translateX(1.5vw); }
html.ar .row-l { color: var(--row-other); }

.doc { position: absolute; bottom: 0; left: 53%; height: min(97svh, 86vw); width: auto; max-width: none; transform: translateX(-50%); }
html.ar .doc { left: 30%; }
html.ar .stage { --fsa: min(27vw, 50svh); }

.top { position: absolute; inset: 0 0 auto 0; z-index: 5; display: flex; justify-content: space-between; align-items: flex-start; padding: 18px var(--pad) 0; pointer-events: none; }
.top > * { pointer-events: auto; }
.top ul { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.plate { display: inline-flex; align-items: center; min-height: 46px; padding: 8px 16px; background: var(--black); color: var(--white); font: 500 1rem/1.2 var(--body); text-decoration: none; }
.plate:hover { background: var(--white); color: var(--black); }
.plate-alt { background: var(--white); color: var(--black); font-weight: 700; }
.plate-alt:hover { background: var(--black); color: var(--white); }

.seal { position: relative; display: block; width: clamp(92px, 9.5vw, 150px); aspect-ratio: 1; }
.seal svg { width: 100%; height: 100%; display: block; }
.seal circle { fill: var(--black); }
.seal text { direction: ltr; unicode-bidi: bidi-override; font: 400 21px var(--latin); fill: var(--acid); letter-spacing: 0; }
.seal .spin { transform-origin: 100px 100px; animation: spin 26s linear infinite; }
.seal img { position: absolute; inset: 21%; width: 58%; height: 58%; }
@keyframes spin { to { transform: rotate(360deg); } }

.bill { position: absolute; z-index: 4; inset-inline-start: 0; bottom: 0; width: min(470px, 34vw); background: var(--black); color: var(--white); padding: 26px var(--pad) 30px; }
.bill-name { display: block; font-size: clamp(2.6rem, 4.6vw, 5rem); color: var(--acid); }
.bill-name.da { line-height: 1.4; margin-block: -.2em -.1em; }
.bill-quote { font-size: 1.18rem; line-height: 1.45; font-weight: 500; margin-top: 10px; }
.bill-cred { font-size: .9rem; line-height: 1.5; margin-top: 12px; color: #d9d9d9; }
.bill-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.bill-cta .btn { border-color: transparent; flex: 1 1 auto; }
.bill-cta .btn:hover { background: var(--indigo); color: var(--white); }

/* ---------- blocks ---------- */
.blk { position: relative; padding: clamp(64px, 9vw, 150px) var(--pad); overflow: clip; }
.count { display: flex; align-items: flex-end; gap: clamp(12px, 2vw, 32px); flex-wrap: wrap; }
.num { font-family: var(--latin); font-size: clamp(11rem, 31vw, 36rem); line-height: .78; letter-spacing: -.01em; margin-inline-start: -.04em; }
.count h2 { font-size: clamp(2.3rem, 6.4vw, 7.5rem); padding-bottom: .06em; }
.count h2.da { line-height: 1.4; padding-bottom: 0; margin-bottom: -.22em; }
.count .alt { font-size: .46em; display: inline-block; }

/* actions: three full-width stripes */
.actions { padding: 0; background: var(--acid); }
html.ar .actions { background: var(--indigo); color: var(--white); }
.act { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px 32px; padding: clamp(22px, 3vw, 44px) var(--pad); text-decoration: none; border-top: 6px solid var(--black); }
.act:first-child { border-top: 0; }
.act-h { font-size: clamp(2.5rem, 9.4vw, 11rem); }
.act-h.da { line-height: 1.4; margin-block: -.2em; }
.act-p { font-size: clamp(1rem, 1.5vw, 1.4rem); font-weight: 500; max-width: 18ch; padding-bottom: .5em; text-align: end; }
.act:hover, .act:focus-visible { background: var(--black); color: var(--acid); }
@media (max-width: 700px) { .act { grid-template-columns: 1fr; } .act-p { max-width: none; text-align: start; padding-bottom: 0; } }

/* welcome */
.welcome { background: var(--white); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 90px); align-items: start; }
.coat { background: var(--acid); margin-block-start: calc(-1 * clamp(64px, 9vw, 150px)); margin-inline-start: calc(-1 * var(--pad)); aspect-ratio: 4 / 5; overflow: hidden; position: sticky; top: 0; }
.coat img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; transform: scale(1.22); transform-origin: 50% 18%; mix-blend-mode: multiply; }
.kicker { font-size: clamp(1.2rem, 1.9vw, 1.9rem); color: var(--indigo); margin-bottom: .5em; }
.welcome h2 { font-size: clamp(2.3rem, 5.6vw, 6.6rem); }
.welcome h2.da { font-size: clamp(2.1rem, 4.6vw, 5.2rem); line-height: 1.4; }
.cols { margin-top: clamp(24px, 3vw, 48px); max-width: 64ch; font-size: 1.1rem; }
.cols p + p { margin-top: 1em; font-weight: 600; }
@media (max-width: 860px) {
  .welcome { grid-template-columns: 1fr; }
  .coat { position: relative; margin-inline-end: calc(-1 * var(--pad)); aspect-ratio: 1; }
}

/* clinics */
.clinics { background: var(--indigo); color: var(--white); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 80px); align-items: start; }
.clinics .count { position: sticky; top: 24px; flex-direction: column; align-items: flex-start; gap: clamp(20px, 3vw, 56px); }
.clinics .num { color: var(--acid); font-size: clamp(14rem, 36vw, 44rem); }
.clinics .alt { color: var(--acid); }
.clinic { border-top: 6px solid var(--white); padding: 18px 0 clamp(28px, 3.4vw, 52px); }
.clinic h3 { font-size: clamp(2.1rem, 5vw, 5.6rem); }
.clinic h3.da { line-height: 1.4; }
.clinic h3 a { text-decoration: none; }
.clinic h3 a:hover { color: var(--acid); }
.clinic sup { font-family: var(--latin); font-size: .34em; color: var(--acid); vertical-align: top; position: relative; top: .5em; }
.clinic ul { margin-top: 10px; font-size: 1.08rem; line-height: 2.5; }
.clinic li { display: inline; }
.clinic li:not(:last-child)::after { content: "/"; color: var(--acid); margin-inline: .5em .3em; font-weight: 700; }
.clinic li a { text-decoration: none; padding-block: 13px; white-space: nowrap; }
.clinic li a:hover { background: var(--acid); color: var(--black); }
@media (max-width: 860px) {
  .clinics { grid-template-columns: 1fr; }
  .clinics .count { position: static; flex-direction: row; align-items: flex-end; gap: 14px; }
  .clinic li a { white-space: normal; }
}

/* before and after wall */
.ba { background: var(--black); color: var(--white); padding-inline: 0; padding-bottom: 0; }
.ba-quote { font-size: clamp(2.6rem, 10.4vw, 13.5rem); padding-inline: var(--pad); color: var(--white); }
.ba-quote.da { line-height: 1.4; font-size: clamp(2.4rem, 8.6vw, 11rem); }
.ba .count { padding: clamp(40px, 6vw, 100px) var(--pad) clamp(20px, 2vw, 32px); }
.ba .num { color: var(--acid); }
.wall { display: grid; grid-template-columns: repeat(7, 1fr); }
.wall figure { position: relative; aspect-ratio: 1; overflow: hidden; }
.wall img { width: 100%; height: 100%; object-fit: cover; }
.wall figcaption { position: absolute; inset-inline-start: 0; bottom: 0; background: var(--black); color: var(--white); font-size: .78rem; line-height: 1.3; padding: 5px 9px; max-width: 100%; }
.wall figure:hover figcaption { background: var(--acid); color: var(--black); }
.wall-link { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 110px; padding: 16px; background: var(--acid); color: var(--black); text-decoration: none; font-size: clamp(1.5rem, 3.4vw, 4rem); }
.wall-link:hover { background: var(--indigo); color: var(--white); }
@media (max-width: 1100px) { .wall { grid-template-columns: repeat(5, 1fr); } html.ar .wall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px) { .wall, html.ar .wall { grid-template-columns: repeat(3, 1fr); } .wall figcaption { display: none; } .wall-link { grid-column: auto; font-size: 1.25rem; min-height: 0; } html.ar .wall-link { grid-column: span 2; } }

/* reviews */
.reviews { background: var(--acid); padding-inline: 0; }
.reviews .count { padding-inline: var(--pad); }
.reviews .alt { color: var(--indigo); }
.mq { background: var(--black); color: var(--acid); overflow: hidden; margin-block: clamp(32px, 5vw, 72px); }
.mq-track { display: flex; width: max-content; animation: mq 70s linear infinite; }
.mq:hover .mq-track, .mq:focus-within .mq-track { animation-play-state: paused; }
.mq-set { display: flex; flex: none; }
.mq-item { flex: none; white-space: nowrap; font-size: clamp(3rem, 8.4vw, 10rem); padding: .16em .35em .12em; }
.mq-item.da { padding-block: 0; }
.mq-item b { font-weight: 400; color: var(--white); }
.mq-item .stars { font-family: var(--body); font-size: .5em; vertical-align: .22em; color: var(--white); }
@keyframes mq { to { transform: translateX(calc(var(--mdir) * -50%)); } }
.review-list { columns: 3 320px; column-gap: clamp(28px, 4vw, 64px); padding-inline: var(--pad); }
.review { break-inside: avoid; border-top: 6px solid var(--black); padding: 14px 0 38px; }
.review h3 { font-size: 1.9rem; }
.review .meta { font-size: .92rem; font-weight: 600; margin: 4px 0 10px; }
.stars { letter-spacing: .08em; }
.review .rt { font-size: 1.02rem; line-height: 1.62; }
.review .rt:lang(ar) { line-height: 1.9; font-size: 1.08rem; }

/* media */
.media { background: var(--white); padding-inline: 0; }
.media .count { padding-inline: var(--pad); }
.media .num { color: var(--indigo); }
.media .alt { color: var(--indigo); }
.reel { display: flex; gap: 14px; overflow-x: auto; padding: clamp(28px, 4vw, 56px) var(--pad) 22px; scroll-snap-type: x proximity; scroll-padding-inline: var(--pad); scrollbar-color: var(--black) var(--acid); }
.vid { flex: 0 0 clamp(250px, 30vw, 520px); scroll-snap-align: start; text-decoration: none; display: block; }
.reel-v .vid { flex-basis: clamp(190px, 17.5vw, 320px); }
.thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--indigo); }
.reel-v .thumb { aspect-ratio: 9 / 16; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.vid:hover .thumb img { mix-blend-mode: luminosity; }
.dur { position: absolute; inset-inline-start: 0; bottom: 0; background: var(--acid); color: var(--black); font: 400 1.25rem/1 var(--latin); padding: 7px 10px 5px; }
.vt { display: block; margin-top: 10px; font-weight: 600; font-size: 1rem; line-height: 1.4; text-align: start; }
.vt:lang(ar) { line-height: 1.75; }
.media-links { display: flex; flex-wrap: wrap; gap: 10px; padding-inline: var(--pad); margin-top: 18px; }

/* footer */
.foot { background: var(--black); color: var(--white); padding-bottom: 0; }
.phone { display: block; width: max-content; max-width: 100%; font-size: clamp(2.9rem, 14.2vw, 19rem); color: var(--acid); text-decoration: none; white-space: nowrap; line-height: .9; }
html.ar .phone { margin-inline-start: auto; margin-inline-end: 0; }
.phone:hover { color: var(--white); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 2fr); gap: 36px clamp(24px, 4vw, 72px); margin-top: clamp(32px, 4vw, 64px); }
.foot-cta { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.foot-cta .btn { border-color: transparent; }
.foot-cta .btn:hover { background: var(--indigo); color: var(--white); }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 500; font-size: 1.08rem; }
.foot-links a:hover { color: var(--acid); text-decoration: underline; text-decoration-thickness: 3px; }
.foot-brand { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.logo { width: min(300px, 70vw); background: var(--white); padding: 12px 16px; }
.foot-brand p { font-size: .9rem; color: #cfcfcf; }
.foot-word { color: var(--indigo); white-space: nowrap; font-size: 37vw; margin-top: clamp(24px, 4vw, 60px); margin-inline: calc(-1 * var(--pad)); text-align: center; }
.foot-word.dl { line-height: .74; margin-bottom: -.09em; }
.foot-word.da { font-size: 30vw; line-height: 1.4; margin-bottom: -.46em; margin-top: -.1em; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-cta { grid-column: 1 / -1; } .foot-cta .btn { flex: 1 1 100%; } }

/* dock: appears after the first screen */
.dock { position: fixed; z-index: 50; inset-inline-end: 0; bottom: 0; display: flex; transform: translateY(110%); transition: transform .25s ease-out; }
.past .dock { transform: none; }
.dock .btn { border: 0; min-height: 56px; }
.dock .btn-black { box-shadow: inset 0 0 0 3px var(--acid); }

/* ---------- phone ---------- */
@media (max-width: 700px) {
  .stage { --fsl: 47vw; --fsa: 40vw; }
  .rows { padding-top: 74px; }
  .top .wide { display: none; }
  .seal { width: 84px; }
  .top { padding-top: 10px; }
  .doc, html.ar .doc { left: 50%; height: auto; width: 112vw; bottom: 150px; }
  html.en .doc { left: 54%; }
  .bill { width: 100%; padding: 16px var(--pad) 18px; }
  .bill-name, .bill-cred { display: none; }
  .bill-quote { font-size: 1rem; margin-top: 0; }
  .bill-cta { margin-top: 12px; }
  .bill-cta .btn { min-height: 50px; padding-inline: 12px; font-size: .98rem; }
  .dock { inset-inline: 0; }
  .dock .btn { flex: 1 1 50%; padding-inline: 10px; }
  .foot-word { padding-bottom: 56px; }
  .foot-word.da { padding-bottom: 0; margin-bottom: calc(56px - .46em); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { height: 100svh; }
  .seal .spin, .mq-track { animation: none; }
  .mq { overflow-x: auto; }
  .mq-set[aria-hidden] { display: none; }
  .dock { transition: none; }
}
html.ar .seal circle { fill: var(--indigo); }
html.ar .seal text { fill: var(--white); }
